mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-09 04:47:38 -08:00
aa080945f6
Some checks are pending
CodeQL Security Scan / CodeQL Security Scan (javascript) (push) Waiting to run
Codacy Security Scan / Codacy Security Scan (push) Waiting to run
Docker images (Alpine) / docker (push) Waiting to run
Docker images / docker (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.1) (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.2) (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.3) (push) Waiting to run
Tests in SQLite / PHP ${{ matrix.php-version }} (8.1.1) (push) Waiting to run
Signed-off-by: snipe <[email protected]> # Conflicts: # public/css/dist/all.css # public/css/dist/bootstrap-table.css # public/js/dist/bootstrap-table.js # public/mix-manifest.json
2 lines
1.2 MiB
2 lines
1.2 MiB
!function(t){t.widget("akottr.dragtable",{options:{revert:!1,dragHandle:".table-handle",maxMovingRows:40,excludeFooter:!1,onlyHeaderThreshold:100,dragaccept:null,persistState:null,restoreState:null,exact:!0,clickDelay:10,containment:null,cursor:"move",cursorAt:!1,distance:0,tolerance:"pointer",axis:"x",beforeStart:t.noop,beforeMoving:t.noop,beforeReorganize:t.noop,beforeStop:t.noop},originalTable:{el:null,selectedHandle:null,sortOrder:null,startIndex:0,endIndex:0},sortableTable:{el:t(),selectedHandle:t(),movingRow:t()},persistState:function(){var e=this;this.originalTable.el.find("th").each((function(t){""!==this.id&&(e.originalTable.sortOrder[this.id]=t)})),t.ajax({url:this.options.persistState,data:this.originalTable.sortOrder})},_restoreState:function(e){for(var r in e)this.originalTable.startIndex=t("#"+r).closest("th").prevAll().length+1,this.originalTable.endIndex=parseInt(e[r],10)+1,this._bubbleCols()},_bubbleCols:function(){var t,e,r,i,o=this.originalTable.startIndex,a=this.originalTable.endIndex,s=this.originalTable.el.children();if(this.options.excludeFooter&&(s=s.not("tfoot")),o<a)for(t=o;t<a;t++)for(r=s.find("> tr > td:nth-child("+t+")").add(s.find("> tr > th:nth-child("+t+")")),i=s.find("> tr > td:nth-child("+(t+1)+")").add(s.find("> tr > th:nth-child("+(t+1)+")")),e=0;e<r.length;e++)n(r[e],i[e]);else for(t=o;t>a;t--)for(r=s.find("> tr > td:nth-child("+t+")").add(s.find("> tr > th:nth-child("+t+")")),i=s.find("> tr > td:nth-child("+(t-1)+")").add(s.find("> tr > th:nth-child("+(t-1)+")")),e=0;e<r.length;e++)n(r[e],i[e])},_rearrangeTableBackroundProcessing:function(){var n=this;return function(){n._bubbleCols(),n.options.beforeStop(n.originalTable),n.sortableTable.el.remove(),function(){t("#__dragtable_disable_text_selection__").remove(),e?t(document.body).attr("onselectstart",e):t(document.body).removeAttr("onselectstart");r?t(document.body).attr("unselectable",r):t(document.body).removeAttr("unselectable")}(),null!==n.options.persistState&&(t.isFunction(n.options.persistState)?n.options.persistState(n.originalTable):n.persistState())}},_rearrangeTable:function(){var t=this;return function(){t.originalTable.selectedHandle.removeClass("dragtable-handle-selected"),t.sortableTable.el.sortable("disable"),t.sortableTable.el.addClass("dragtable-disabled"),t.options.beforeReorganize(t.originalTable,t.sortableTable),t.originalTable.endIndex=t.sortableTable.movingRow.prevAll().length+1,setTimeout(t._rearrangeTableBackroundProcessing(),50)}},_generateSortable:function(e){!e.cancelBubble&&(e.cancelBubble=!0);for(var r=this,n=this.originalTable.el[0].attributes,i="",o=0;o<n.length;o++)n[o].nodeValue&&"id"!=n[o].nodeName&&"width"!=n[o].nodeName&&(i+=n[o].nodeName+'="'+n[o].nodeValue+'" ');var a=[],s=[];this.originalTable.el.find("tr").slice(0,this.options.maxMovingRows).each((function(e,r){for(var n=this.attributes,i="",o=0;o<n.length;o++)n[o].nodeValue&&"id"!=n[o].nodeName&&(i+=" "+n[o].nodeName+'="'+n[o].nodeValue+'"');a.push(i),s.push(t(this).height())}));var c=[],l=0,u=r.originalTable.el.children();if(this.options.excludeFooter&&(u=u.not("tfoot")),u.find("> tr > th").each((function(e,r){var n=t(this).is(":visible")?t(this).outerWidth():0;c.push(n),l+=n})),r.options.exact){var f=l-r.originalTable.el.outerWidth();c[0]-=f}var h='<ul class="dragtable-sortable" style="position:absolute; width:'+(l+=2)+'px;">';u.find("> tr > th").each((function(e,n){var o=t(this).is(":visible")?t(this).outerWidth():0;h+='<li style="width:'+o+'px;">',h+="<table "+i+">";var c=u.find("> tr > th:nth-child("+(e+1)+")");r.options.maxMovingRows>1&&(c=c.add(u.find("> tr > td:nth-child("+(e+1)+")").slice(0,r.options.maxMovingRows-1))),c.each((function(e){var r=t(this).clone().wrap("<div></div>").parent().html();0===r.toLowerCase().indexOf("<th")&&(h+="<thead>"),h+="<tr "+a[e]+'" style="height:'+s[e]+'px;">',h+=r,0===r.toLowerCase().indexOf("<th")&&(h+="</thead>"),h+="</tr>"})),h+="</table>",h+="</li>"})),h+="</ul>",this.sortableTable.el=this.originalTable.el.before(h).prev(),this.sortableTable.el.find("> li > table").each((function(e,r){t(this).css("width",c[e]+"px")})),this.sortableTable.selectedHandle=this.sortableTable.el.find("th .dragtable-handle-selected");var d,p=this.options.dragaccept?"li:has("+this.options.dragaccept+")":"li";this.sortableTable.el.sortable({items:p,stop:this._rearrangeTable(),revert:this.options.revert,tolerance:this.options.tolerance,containment:this.options.containment,cursor:this.options.cursor,cursorAt:this.options.cursorAt,distance:this.options.distance,axis:this.options.axis}),this.originalTable.startIndex=t(e.target).closest("th").prevAll().length+1,this.options.beforeMoving(this.originalTable,this.sortableTable),this.sortableTable.movingRow=this.sortableTable.el.find("> li:nth-child("+this.originalTable.startIndex+")"),d=t('<style id="__dragtable_disable_text_selection__" type="text/css">body { -ms-user-select:none;-moz-user-select:-moz-none;-khtml-user-select:none;-webkit-user-select:none;user-select:none; }</style>'),t(document.head).append(d),t(document.body).attr("onselectstart","return false;").attr("unselectable","on"),window.getSelection?window.getSelection().removeAllRanges():document.selection.empty(),this.sortableTable.movingRow.trigger(t.extend(t.Event(e.type),{which:1,clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY,screenX:e.screenX,screenY:e.screenY}));var v=this.sortableTable.el.find(".ui-sortable-placeholder");!v.height()<=0&&v.css("height",this.sortableTable.el.find(".ui-sortable-helper").height()),v.html('<div class="outer" style="height:100%;"><div class="inner" style="height:100%;"></div></div>')},bindTo:{},_create:function(){this.originalTable={el:this.element,selectedHandle:t(),sortOrder:{},startIndex:0,endIndex:0},this.bindTo=this.originalTable.el.find("th"),this.options.dragaccept&&(this.bindTo=this.bindTo.filter(this.options.dragaccept)),this.bindTo.find(this.options.dragHandle).length>0&&(this.bindTo=this.bindTo.find(this.options.dragHandle)),null!==this.options.restoreState&&(t.isFunction(this.options.restoreState)?this.options.restoreState(this.originalTable):this._restoreState(this.options.restoreState));var e=this;this.bindTo.mousedown((function(r){1===r.which&&!1!==e.options.beforeStart(e.originalTable)&&(clearTimeout(this.downTimer),this.downTimer=setTimeout((function(){e.originalTable.selectedHandle=t(this),e.originalTable.selectedHandle.addClass("dragtable-handle-selected"),e._generateSortable(r)}),e.options.clickDelay))})).mouseup((function(t){clearTimeout(this.downTimer)}))},redraw:function(){this.destroy(),this._create()},destroy:function(){this.bindTo.unbind("mousedown"),t.Widget.prototype.destroy.apply(this,arguments)}});var e=t(document.body).attr("onselectstart"),r=t(document.body).attr("unselectable");function n(t,e){var r=t.parentNode,n=t.nextSibling===e?t:t.nextSibling;e.parentNode.insertBefore(t,e),r.insertBefore(e,n)}}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):(t="undefined"!=typeof globalThis?globalThis:t||self).BootstrapTable=e(t.jQuery)}(this,(function(t){"use strict";function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,u(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function i(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=h(t))||e){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function o(t,e,r){return(e=u(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],c=!0,l=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(c=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(t,e)||h(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||h(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof e?e:e+""}function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(t,r){if(t){if("string"==typeof t)return e(t,r);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}var d,p,v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},g={};function m(){if(p)return d;p=1;var t=function(t){return t&&t.Math===Math&&t};return d=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof v&&v)||t("object"==typeof d&&d)||function(){return this}()||Function("return this")()}var b,y,w,S,x,k,T,A,E={};function _(){return y?b:(y=1,b=function(t){try{return!!t()}catch(t){return!0}})}function O(){if(S)return w;S=1;var t=_();return w=!t((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function N(){if(k)return x;k=1;var t=_();return x=!t((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function C(){if(A)return T;A=1;var t=N(),e=Function.prototype.call;return T=t?e.bind(e):function(){return e.apply(e,arguments)},T}var R,P,L,I,F,j,D,M,B,W,U,H,z,V,q,$,G,X,Y,K,J,Z,Q,tt,et,rt,nt,it,ot,at,st,ct,lt,ut,ft,ht,dt,pt,vt,gt,mt,bt={};function yt(){if(R)return bt;R=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return bt.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,bt}function wt(){return L?P:(L=1,P=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function St(){if(F)return I;F=1;var t=N(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return I=t?n:function(t){return function(){return r.apply(t,arguments)}},I}function xt(){if(D)return j;D=1;var t=St(),e=t({}.toString),r=t("".slice);return j=function(t){return r(e(t),8,-1)}}function kt(){if(B)return M;B=1;var t=St(),e=_(),r=xt(),n=Object,i=t("".split);return M=e((function(){return!n("z").propertyIsEnumerable(0)}))?function(t){return"String"===r(t)?i(t,""):n(t)}:n}function Tt(){return U?W:(U=1,W=function(t){return null==t})}function At(){if(z)return H;z=1;var t=Tt(),e=TypeError;return H=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function Et(){if(q)return V;q=1;var t=kt(),e=At();return V=function(r){return t(e(r))}}function _t(){if(G)return $;G=1;var t="object"==typeof document&&document.all;return $=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function Ot(){if(Y)return X;Y=1;var t=_t();return X=function(e){return"object"==typeof e?null!==e:t(e)}}function Nt(){if(J)return K;J=1;var t=m(),e=_t();return K=function(r,n){return arguments.length<2?(i=t[r],e(i)?i:void 0):t[r]&&t[r][n];var i},K}function Ct(){if(Q)return Z;Q=1;var t=St();return Z=t({}.isPrototypeOf)}function Rt(){if(et)return tt;et=1;var t=m().navigator,e=t&&t.userAgent;return tt=e?String(e):""}function Pt(){if(nt)return rt;nt=1;var t,e,r=m(),n=Rt(),i=r.process,o=r.Deno,a=i&&i.versions||o&&o.version,s=a&&a.v8;return s&&(e=(t=s.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),rt=e}function Lt(){if(ot)return it;ot=1;var t=Pt(),e=_(),r=m().String;return it=!!Object.getOwnPropertySymbols&&!e((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function It(){if(st)return at;st=1;var t=Lt();return at=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Ft(){if(lt)return ct;lt=1;var t=Nt(),e=_t(),r=Ct(),n=It(),i=Object;return ct=n?function(t){return"symbol"==typeof t}:function(n){var o=t("Symbol");return e(o)&&r(o.prototype,i(n))}}function jt(){if(ft)return ut;ft=1;var t=String;return ut=function(e){try{return t(e)}catch(t){return"Object"}}}function Dt(){if(dt)return ht;dt=1;var t=_t(),e=jt(),r=TypeError;return ht=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function Mt(){if(vt)return pt;vt=1;var t=Dt(),e=Tt();return pt=function(r,n){var i=r[n];return e(i)?void 0:t(i)}}function Bt(){if(mt)return gt;mt=1;var t=C(),e=_t(),r=Ot(),n=TypeError;return gt=function(i,o){var a,s;if("string"===o&&e(a=i.toString)&&!r(s=t(a,i)))return s;if(e(a=i.valueOf)&&!r(s=t(a,i)))return s;if("string"!==o&&e(a=i.toString)&&!r(s=t(a,i)))return s;throw new n("Can't convert object to primitive value")}}var Wt,Ut,Ht,zt,Vt,qt,$t,Gt,Xt,Yt,Kt,Jt,Zt,Qt,te,ee,re,ne,ie,oe,ae,se,ce,le,ue={exports:{}};function fe(){return Ut?Wt:(Ut=1,Wt=!1)}function he(){if(zt)return Ht;zt=1;var t=m(),e=Object.defineProperty;return Ht=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function de(){if(Vt)return ue.exports;Vt=1;var t=fe(),e=m(),r=he(),n="__core-js_shared__",i=ue.exports=e[n]||r(n,{});return(i.versions||(i.versions=[])).push({version:"3.38.1",mode:t?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"}),ue.exports}function pe(){if($t)return qt;$t=1;var t=de();return qt=function(e,r){return t[e]||(t[e]=r||{})}}function ve(){if(Xt)return Gt;Xt=1;var t=At(),e=Object;return Gt=function(r){return e(t(r))}}function ge(){if(Kt)return Yt;Kt=1;var t=St(),e=ve(),r=t({}.hasOwnProperty);return Yt=Object.hasOwn||function(t,n){return r(e(t),n)}}function me(){if(Zt)return Jt;Zt=1;var t=St(),e=0,r=Math.random(),n=t(1..toString);return Jt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function be(){if(te)return Qt;te=1;var t=m(),e=pe(),r=ge(),n=me(),i=Lt(),o=It(),a=t.Symbol,s=e("wks"),c=o?a.for||a:a&&a.withoutSetter||n;return Qt=function(t){return r(s,t)||(s[t]=i&&r(a,t)?a[t]:c("Symbol."+t)),s[t]}}function ye(){if(re)return ee;re=1;var t=C(),e=Ot(),r=Ft(),n=Mt(),i=Bt(),o=be(),a=TypeError,s=o("toPrimitive");return ee=function(o,c){if(!e(o)||r(o))return o;var l,u=n(o,s);if(u){if(void 0===c&&(c="default"),l=t(u,o,c),!e(l)||r(l))return l;throw new a("Can't convert object to primitive value")}return void 0===c&&(c="number"),i(o,c)}}function we(){if(ie)return ne;ie=1;var t=ye(),e=Ft();return ne=function(r){var n=t(r,"string");return e(n)?n:n+""}}function Se(){if(ae)return oe;ae=1;var t=m(),e=Ot(),r=t.document,n=e(r)&&e(r.createElement);return oe=function(t){return n?r.createElement(t):{}}}function xe(){if(ce)return se;ce=1;var t=O(),e=_(),r=Se();return se=!t&&!e((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))}function ke(){if(le)return E;le=1;var t=O(),e=C(),r=yt(),n=wt(),i=Et(),o=we(),a=ge(),s=xe(),c=Object.getOwnPropertyDescriptor;return E.f=t?c:function(t,l){if(t=i(t),l=o(l),s)try{return c(t,l)}catch(t){}if(a(t,l))return n(!e(r.f,t,l),t[l])},E}var Te,Ae,Ee,_e,Oe,Ne,Ce,Re={};function Pe(){if(Ae)return Te;Ae=1;var t=O(),e=_();return Te=t&&e((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}function Le(){if(_e)return Ee;_e=1;var t=Ot(),e=String,r=TypeError;return Ee=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function Ie(){if(Oe)return Re;Oe=1;var t=O(),e=xe(),r=Pe(),n=Le(),i=we(),o=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c="enumerable",l="configurable",u="writable";return Re.f=t?r?function(t,e,r){if(n(t),e=i(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&u in r&&!r[u]){var o=s(t,e);o&&o[u]&&(t[e]=r.value,r={configurable:l in r?r[l]:o[l],enumerable:c in r?r[c]:o[c],writable:!1})}return a(t,e,r)}:a:function(t,r,s){if(n(t),r=i(r),n(s),e)try{return a(t,r,s)}catch(t){}if("get"in s||"set"in s)throw new o("Accessors not supported");return"value"in s&&(t[r]=s.value),t},Re}function Fe(){if(Ce)return Ne;Ce=1;var t=O(),e=Ie(),r=wt();return Ne=t?function(t,n,i){return e.f(t,n,r(1,i))}:function(t,e,r){return t[e]=r,t}}var je,De,Me,Be,We,Ue,He,ze,Ve,qe,$e,Ge,Xe,Ye,Ke,Je={exports:{}};function Ze(){if(De)return je;De=1;var t=O(),e=ge(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,i=e(r,"name"),o=i&&"something"===function(){}.name,a=i&&(!t||t&&n(r,"name").configurable);return je={EXISTS:i,PROPER:o,CONFIGURABLE:a}}function Qe(){if(Be)return Me;Be=1;var t=St(),e=_t(),r=de(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),Me=r.inspectSource}function tr(){if(ze)return He;ze=1;var t=pe(),e=me(),r=t("keys");return He=function(t){return r[t]||(r[t]=e(t))}}function er(){return qe?Ve:(qe=1,Ve={})}function rr(){if(Ge)return $e;Ge=1;var t,e,r,n=function(){if(Ue)return We;Ue=1;var t=m(),e=_t(),r=t.WeakMap;return We=e(r)&&/native code/.test(String(r))}(),i=m(),o=Ot(),a=Fe(),s=ge(),c=de(),l=tr(),u=er(),f="Object already initialized",h=i.TypeError,d=i.WeakMap;if(n||c.state){var p=c.state||(c.state=new d);p.get=p.get,p.has=p.has,p.set=p.set,t=function(t,e){if(p.has(t))throw new h(f);return e.facade=t,p.set(t,e),e},e=function(t){return p.get(t)||{}},r=function(t){return p.has(t)}}else{var v=l("state");u[v]=!0,t=function(t,e){if(s(t,v))throw new h(f);return e.facade=t,a(t,v,e),e},e=function(t){return s(t,v)?t[v]:{}},r=function(t){return s(t,v)}}return $e={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!o(r)||(n=e(r)).type!==t)throw new h("Incompatible receiver, "+t+" required");return n}}}}function nr(){if(Xe)return Je.exports;Xe=1;var t=St(),e=_(),r=_t(),n=ge(),i=O(),o=Ze().CONFIGURABLE,a=Qe(),s=rr(),c=s.enforce,l=s.get,u=String,f=Object.defineProperty,h=t("".slice),d=t("".replace),p=t([].join),v=i&&!e((function(){return 8!==f((function(){}),"length",{value:8}).length})),g=String(String).split("String"),m=Je.exports=function(t,e,r){"Symbol("===h(u(e),0,7)&&(e="["+d(u(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||o&&t.name!==e)&&(i?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?i&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=c(t);return n(a,"source")||(a.source=p(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=m((function(){return r(this)&&l(this).source||a(this)}),"toString"),Je.exports}function ir(){if(Ke)return Ye;Ke=1;var t=_t(),e=Ie(),r=nr(),n=he();return Ye=function(i,o,a,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:o;if(t(a)&&r(a,l,s),s.global)c?i[o]=a:n(o,a);else{try{s.unsafe?i[o]&&(c=!0):delete i[o]}catch(t){}c?i[o]=a:e.f(i,o,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return i}}var or,ar,sr,cr,lr,ur,fr,hr,dr,pr,vr,gr,mr,br,yr,wr,Sr,xr={};function kr(){if(cr)return sr;cr=1;var t=function(){if(ar)return or;ar=1;var t=Math.ceil,e=Math.floor;return or=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return sr=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function Tr(){if(ur)return lr;ur=1;var t=kr(),e=Math.max,r=Math.min;return lr=function(n,i){var o=t(n);return o<0?e(o+i,0):r(o,i)}}function Ar(){if(hr)return fr;hr=1;var t=kr(),e=Math.min;return fr=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function Er(){if(pr)return dr;pr=1;var t=Ar();return dr=function(e){return t(e.length)}}function _r(){if(gr)return vr;gr=1;var t=Et(),e=Tr(),r=Er(),n=function(n){return function(i,o,a){var s=t(i),c=r(s);if(0===c)return!n&&-1;var l,u=e(a,c);if(n&&o!=o){for(;c>u;)if((l=s[u++])!=l)return!0}else for(;c>u;u++)if((n||u in s)&&s[u]===o)return n||u||0;return!n&&-1}};return vr={includes:n(!0),indexOf:n(!1)}}function Or(){if(br)return mr;br=1;var t=St(),e=ge(),r=Et(),n=_r().indexOf,i=er(),o=t([].push);return mr=function(t,a){var s,c=r(t),l=0,u=[];for(s in c)!e(i,s)&&e(c,s)&&o(u,s);for(;a.length>l;)e(c,s=a[l++])&&(~n(u,s)||o(u,s));return u}}function Nr(){return wr?yr:(wr=1,yr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function Cr(){if(Sr)return xr;Sr=1;var t=Or(),e=Nr().concat("length","prototype");return xr.f=Object.getOwnPropertyNames||function(r){return t(r,e)},xr}var Rr,Pr,Lr,Ir,Fr,jr,Dr,Mr,Br,Wr,Ur,Hr,zr,Vr,qr,$r,Gr,Xr,Yr,Kr,Jr,Zr,Qr,tn,en,rn,nn,on,an={};function sn(){return Rr||(Rr=1,an.f=Object.getOwnPropertySymbols),an}function cn(){if(Lr)return Pr;Lr=1;var t=Nt(),e=St(),r=Cr(),n=sn(),i=Le(),o=e([].concat);return Pr=t("Reflect","ownKeys")||function(t){var e=r.f(i(t)),a=n.f;return a?o(e,a(t)):e}}function ln(){if(Fr)return Ir;Fr=1;var t=ge(),e=cn(),r=ke(),n=Ie();return Ir=function(i,o,a){for(var s=e(o),c=n.f,l=r.f,u=0;u<s.length;u++){var f=s[u];t(i,f)||a&&t(a,f)||c(i,f,l(o,f))}}}function un(){if(Dr)return jr;Dr=1;var t=_(),e=_t(),r=/#|\.prototype\./,n=function(r,n){var c=o[i(r)];return c===s||c!==a&&(e(n)?t(n):!!n)},i=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},o=n.data={},a=n.NATIVE="N",s=n.POLYFILL="P";return jr=n}function fn(){if(Br)return Mr;Br=1;var t=m(),e=ke().f,r=Fe(),n=ir(),i=he(),o=ln(),a=un();return Mr=function(s,c){var l,u,f,h,d,p=s.target,v=s.global,g=s.stat;if(l=v?t:g?t[p]||i(p,{}):t[p]&&t[p].prototype)for(u in c){if(h=c[u],f=s.dontCallGetSet?(d=e(l,u))&&d.value:l[u],!a(v?u:p+(g?".":"#")+u,s.forced)&&void 0!==f){if(typeof h==typeof f)continue;o(h,f)}(s.sham||f&&f.sham)&&r(h,"sham",!0),n(l,u,h,s)}}}function hn(){if(Ur)return Wr;Ur=1;var t=xt();return Wr=Array.isArray||function(e){return"Array"===t(e)}}function dn(){if(zr)return Hr;zr=1;var t=TypeError;return Hr=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}function pn(){if(qr)return Vr;qr=1;var t=O(),e=Ie(),r=wt();return Vr=function(n,i,o){t?e.f(n,i,r(0,o)):n[i]=o}}function vn(){if(Gr)return $r;Gr=1;var t={};return t[be()("toStringTag")]="z",$r="[object z]"===String(t)}function gn(){if(Yr)return Xr;Yr=1;var t=vn(),e=_t(),r=xt(),n=be()("toStringTag"),i=Object,o="Arguments"===r(function(){return arguments}());return Xr=t?r:function(t){var a,s,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(s=function(t,e){try{return t[e]}catch(t){}}(a=i(t),n))?s:o?r(a):"Object"===(c=r(a))&&e(a.callee)?"Arguments":c}}function mn(){if(Jr)return Kr;Jr=1;var t=St(),e=_(),r=_t(),n=gn(),i=Nt(),o=Qe(),a=function(){},s=i("Reflect","construct"),c=/^\s*(?:class|function)\b/,l=t(c.exec),u=!c.test(a),f=function(t){if(!r(t))return!1;try{return s(a,[],t),!0}catch(t){return!1}},h=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return u||!!l(c,o(t))}catch(t){return!0}};return h.sham=!0,Kr=!s||e((function(){var t;return f(f.call)||!f(Object)||!f((function(){t=!0}))||t}))?h:f}function bn(){if(Qr)return Zr;Qr=1;var t=hn(),e=mn(),r=Ot(),n=be()("species"),i=Array;return Zr=function(o){var a;return t(o)&&(a=o.constructor,(e(a)&&(a===i||t(a.prototype))||r(a)&&null===(a=a[n]))&&(a=void 0)),void 0===a?i:a}}function yn(){if(en)return tn;en=1;var t=bn();return tn=function(e,r){return new(t(e))(0===r?0:r)}}function wn(){if(nn)return rn;nn=1;var t=_(),e=be(),r=Pt(),n=e("species");return rn=function(e){return r>=51||!t((function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}}!function(){if(on)return g;on=1;var t=fn(),e=_(),r=hn(),n=Ot(),i=ve(),o=Er(),a=dn(),s=pn(),c=yn(),l=wn(),u=be(),f=Pt(),h=u("isConcatSpreadable"),d=f>=51||!e((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),p=function(t){if(!n(t))return!1;var e=t[h];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!d||!l("concat")},{concat:function(t){var e,r,n,l,u,f=i(this),h=c(f,0),d=0;for(e=-1,n=arguments.length;e<n;e++)if(p(u=-1===e?f:arguments[e]))for(l=o(u),a(d+l),r=0;r<l;r++,d++)r in u&&s(h,d,u[r]);else a(d+1),s(h,d++,u);return h.length=d,h}})}();var Sn,xn,kn,Tn,An,En,_n,On={};function Nn(){if(xn)return Sn;xn=1;var t=xt(),e=St();return Sn=function(r){if("Function"===t(r))return e(r)}}function Cn(){if(Tn)return kn;Tn=1;var t=Nn(),e=Dt(),r=N(),n=t(t.bind);return kn=function(t,i){return e(t),void 0===i?t:r?n(t,i):function(){return t.apply(i,arguments)}},kn}function Rn(){if(En)return An;En=1;var t=Cn(),e=St(),r=kt(),n=ve(),i=Er(),o=yn(),a=e([].push),s=function(e){var s=1===e,c=2===e,l=3===e,u=4===e,f=6===e,h=7===e,d=5===e||f;return function(p,v,g,m){for(var b,y,w=n(p),S=r(w),x=i(S),k=t(v,g),T=0,A=m||o,E=s?A(p,x):c||h?A(p,0):void 0;x>T;T++)if((d||T in S)&&(y=k(b=S[T],T,w),e))if(s)E[T]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return T;case 2:a(E,b)}else switch(e){case 4:return!1;case 7:a(E,b)}return f?-1:l||u?u:E}};return An={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}}!function(){if(_n)return On;_n=1;var t=fn(),e=Rn().filter;t({target:"Array",proto:!0,forced:!wn()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var Pn,Ln,In,Fn,jn,Dn,Mn,Bn,Wn,Un,Hn={},zn={};function Vn(){if(Ln)return Pn;Ln=1;var t=Or(),e=Nr();return Pn=Object.keys||function(r){return t(r,e)}}function qn(){if(jn)return Fn;jn=1;var t=Nt();return Fn=t("document","documentElement")}function $n(){if(Mn)return Dn;Mn=1;var t,e=Le(),r=function(){if(In)return zn;In=1;var t=O(),e=Pe(),r=Ie(),n=Le(),i=Et(),o=Vn();return zn.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var a,s=i(e),c=o(e),l=c.length,u=0;l>u;)r.f(t,a=c[u++],s[a]);return t},zn}(),n=Nr(),i=er(),o=qn(),a=Se(),s=tr(),c="prototype",l="script",u=s("IE_PROTO"),f=function(){},h=function(t){return"<"+l+">"+t+"</"+l+">"},d=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,i;p="undefined"!=typeof document?document.domain&&t?d(t):(r=a("iframe"),i="java"+l+":",r.style.display="none",o.appendChild(r),r.src=String(i),(e=r.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):d(t);for(var s=n.length;s--;)delete p[c][n[s]];return p()};return i[u]=!0,Dn=Object.create||function(t,n){var i;return null!==t?(f[c]=e(t),i=new f,f[c]=null,i[u]=t):i=p(),void 0===n?i:r.f(i,n)}}function Gn(){if(Wn)return Bn;Wn=1;var t=be(),e=$n(),r=Ie().f,n=t("unscopables"),i=Array.prototype;return void 0===i[n]&&r(i,n,{configurable:!0,value:e(null)}),Bn=function(t){i[n][t]=!0}}!function(){if(Un)return Hn;Un=1;var t=fn(),e=Rn().find,r=Gn(),n="find",i=!0;n in[]&&Array(1)[n]((function(){i=!1})),t({target:"Array",proto:!0,forced:i},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)}();var Xn,Yn={};!function(){if(Xn)return Yn;Xn=1;var t=fn(),e=Rn().findIndex,r=Gn(),n="findIndex",i=!0;n in[]&&Array(1)[n]((function(){i=!1})),t({target:"Array",proto:!0,forced:i},{findIndex:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)}();var Kn,Jn={};!function(){if(Kn)return Jn;Kn=1;var t=fn(),e=_r().includes,r=_(),n=Gn();t({target:"Array",proto:!0,forced:r((function(){return!Array(1).includes()}))},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")}();var Zn,Qn,ti,ei,ri,ni,ii,oi,ai,si,ci,li,ui,fi,hi,di,pi,vi,gi,mi,bi,yi,wi,Si,xi,ki,Ti,Ai,Ei,_i={};function Oi(){if(Qn)return Zn;Qn=1;var t=_();return Zn=function(e,r){var n=[][e];return!!n&&t((function(){n.call(null,r||function(){return 1},1)}))}}function Ni(){return ri?ei:(ri=1,ei={})}function Ci(){if(ii)return ni;ii=1;var t=_();return ni=!t((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))}function Ri(){if(ai)return oi;ai=1;var t=ge(),e=_t(),r=ve(),n=tr(),i=Ci(),o=n("IE_PROTO"),a=Object,s=a.prototype;return oi=i?a.getPrototypeOf:function(n){var i=r(n);if(t(i,o))return i[o];var c=i.constructor;return e(c)&&i instanceof c?c.prototype:i instanceof a?s:null}}function Pi(){if(ci)return si;ci=1;var t,e,r,n=_(),i=_t(),o=Ot(),a=$n(),s=Ri(),c=ir(),l=be(),u=fe(),f=l("iterator"),h=!1;return[].keys&&("next"in(r=[].keys())?(e=s(s(r)))!==Object.prototype&&(t=e):h=!0),!o(t)||n((function(){var e={};return t[f].call(e)!==e}))?t={}:u&&(t=a(t)),i(t[f])||c(t,f,(function(){return this})),si={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:h}}function Li(){if(ui)return li;ui=1;var t=Ie().f,e=ge(),r=be()("toStringTag");return li=function(n,i,o){n&&!o&&(n=n.prototype),n&&!e(n,r)&&t(n,r,{configurable:!0,value:i})}}function Ii(){if(hi)return fi;hi=1;var t=Pi().IteratorPrototype,e=$n(),r=wt(),n=Li(),i=Ni(),o=function(){return this};return fi=function(a,s,c,l){var u=s+" Iterator";return a.prototype=e(t,{next:r(+!l,c)}),n(a,u,!1,!0),i[u]=o,a}}function Fi(){if(gi)return vi;gi=1;var t=Ot();return vi=function(e){return t(e)||null===e}}function ji(){if(bi)return mi;bi=1;var t=Fi(),e=String,r=TypeError;return mi=function(n){if(t(n))return n;throw new r("Can't set "+e(n)+" as a prototype")}}function Di(){if(wi)return yi;wi=1;var t=function(){if(pi)return di;pi=1;var t=St(),e=Dt();return di=function(r,n,i){try{return t(e(Object.getOwnPropertyDescriptor(r,n)[i]))}catch(t){}}}(),e=Ot(),r=At(),n=ji();return yi=Object.setPrototypeOf||("__proto__"in{}?function(){var i,o=!1,a={};try{(i=t(Object.prototype,"__proto__","set"))(a,[]),o=a instanceof Array}catch(t){}return function(t,a){return r(t),n(a),e(t)?(o?i(t,a):t.__proto__=a,t):t}}():void 0)}function Mi(){if(xi)return Si;xi=1;var t=fn(),e=C(),r=fe(),n=Ze(),i=_t(),o=Ii(),a=Ri(),s=Di(),c=Li(),l=Fe(),u=ir(),f=be(),h=Ni(),d=Pi(),p=n.PROPER,v=n.CONFIGURABLE,g=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,b=f("iterator"),y="keys",w="values",S="entries",x=function(){return this};return Si=function(n,f,d,k,T,A,E){o(d,f,k);var _,O,N,C=function(t){if(t===T&&F)return F;if(!m&&t&&t in L)return L[t];switch(t){case y:case w:case S:return function(){return new d(this,t)}}return function(){return new d(this)}},R=f+" Iterator",P=!1,L=n.prototype,I=L[b]||L["@@iterator"]||T&&L[T],F=!m&&I||C(T),j="Array"===f&&L.entries||I;if(j&&(_=a(j.call(new n)))!==Object.prototype&&_.next&&(r||a(_)===g||(s?s(_,g):i(_[b])||u(_,b,x)),c(_,R,!0,!0),r&&(h[R]=x)),p&&T===w&&I&&I.name!==w&&(!r&&v?l(L,"name",w):(P=!0,F=function(){return e(I,this)})),T)if(O={values:C(w),keys:A?F:C(y),entries:C(S)},E)for(N in O)(m||P||!(N in L))&&u(L,N,O[N]);else t({target:f,proto:!0,forced:m||P},O);return r&&!E||L[b]===F||u(L,b,F,{name:T}),h[f]=F,O}}function Bi(){return Ti?ki:(Ti=1,ki=function(t,e){return{value:t,done:e}})}function Wi(){if(Ei)return Ai;Ei=1;var t=Et(),e=Gn(),r=Ni(),n=rr(),i=Ie().f,o=Mi(),a=Bi(),s=fe(),c=O(),l="Array Iterator",u=n.set,f=n.getterFor(l);Ai=o(Array,"Array",(function(e,r){u(this,{type:l,target:t(e),index:0,kind:r})}),(function(){var t=f(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,a(void 0,!0);switch(t.kind){case"keys":return a(r,!1);case"values":return a(e[r],!1)}return a([r,e[r]],!1)}),"values");var h=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!s&&c&&"values"!==h.name)try{i(h,"name",{value:"values"})}catch(t){}return Ai}!function(){if(ti)return _i;ti=1;var t=fn(),e=Nn(),r=_r().indexOf,n=Oi(),i=e([].indexOf),o=!!i&&1/i([1],1,-0)<0;t({target:"Array",proto:!0,forced:o||!n("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return o?i(this,t,e)||0:r(this,t,e)}})}(),Wi();var Ui,Hi={};!function(){if(Ui)return Hi;Ui=1;var t=fn(),e=St(),r=kt(),n=Et(),i=Oi(),o=e([].join);t({target:"Array",proto:!0,forced:r!==Object||!i("join",",")},{join:function(t){return o(n(this),void 0===t?",":t)}})}();var zi,Vi={};!function(){if(zi)return Vi;zi=1;var t=fn(),e=Rn().map;t({target:"Array",proto:!0,forced:!wn()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var qi,$i={};!function(){if(qi)return $i;qi=1;var t=fn(),e=St(),r=hn(),n=e([].reverse),i=[1,2];t({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return r(this)&&(this.length=this.length),n(this)}})}();var Gi,Xi,Yi,Ki={};function Ji(){if(Xi)return Gi;Xi=1;var t=St();return Gi=t([].slice)}!function(){if(Yi)return Ki;Yi=1;var t=fn(),e=hn(),r=mn(),n=Ot(),i=Tr(),o=Er(),a=Et(),s=pn(),c=be(),l=wn(),u=Ji(),f=l("slice"),h=c("species"),d=Array,p=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,c){var l,f,v,g=a(this),m=o(g),b=i(t,m),y=i(void 0===c?m:c,m);if(e(g)&&(l=g.constructor,(r(l)&&(l===d||e(l.prototype))||n(l)&&null===(l=l[h]))&&(l=void 0),l===d||void 0===l))return u(g,b,y);for(f=new(void 0===l?d:l)(p(y-b,0)),v=0;b<y;b++,v++)b in g&&s(f,v,g[b]);return f.length=v,f}})}();var Zi,Qi,to,eo,ro,no,io,oo,ao,so,co,lo,uo,fo={};function ho(){if(Qi)return Zi;Qi=1;var t=jt(),e=TypeError;return Zi=function(r,n){if(!delete r[n])throw new e("Cannot delete property "+t(n)+" of "+t(r))}}function po(){if(eo)return to;eo=1;var t=gn(),e=String;return to=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}function vo(){if(no)return ro;no=1;var t=Ji(),e=Math.floor,r=function(n,i){var o=n.length;if(o<8)for(var a,s,c=1;c<o;){for(s=c,a=n[c];s&&i(n[s-1],a)>0;)n[s]=n[--s];s!==c++&&(n[s]=a)}else for(var l=e(o/2),u=r(t(n,0,l),i),f=r(t(n,l),i),h=u.length,d=f.length,p=0,v=0;p<h||v<d;)n[p+v]=p<h&&v<d?i(u[p],f[v])<=0?u[p++]:f[v++]:p<h?u[p++]:f[v++];return n};return ro=r}!function(){if(uo)return fo;uo=1;var t=fn(),e=St(),r=Dt(),n=ve(),i=Er(),o=ho(),a=po(),s=_(),c=vo(),l=Oi(),u=function(){if(oo)return io;oo=1;var t=Rt().match(/firefox\/(\d+)/i);return io=!!t&&+t[1]}(),f=function(){if(so)return ao;so=1;var t=Rt();return ao=/MSIE|Trident/.test(t)}(),h=Pt(),d=function(){if(lo)return co;lo=1;var t=Rt().match(/AppleWebKit\/(\d+)\./);return co=!!t&&+t[1]}(),p=[],v=e(p.sort),g=e(p.push),m=s((function(){p.sort(void 0)})),b=s((function(){p.sort(null)})),y=l("sort"),w=!s((function(){if(h)return h<70;if(!(u&&u>3)){if(f)return!0;if(d)return d<603;var t,e,r,n,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)p.push({k:e+n,v:r})}for(p.sort((function(t,e){return e.v-t.v})),n=0;n<p.length;n++)e=p[n].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}));t({target:"Array",proto:!0,forced:m||!b||!y||!w},{sort:function(t){void 0!==t&&r(t);var e=n(this);if(w)return void 0===t?v(e):v(e,t);var s,l,u=[],f=i(e);for(l=0;l<f;l++)l in e&&g(u,e[l]);for(c(u,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:a(e)>a(r)?1:-1}}(t)),s=i(u),l=0;l<s;)e[l]=u[l++];for(;l<f;)o(e,l++);return e}})}();var go,mo,bo,yo={};!function(){if(bo)return yo;bo=1;var t=fn(),e=ve(),r=Tr(),n=kr(),i=Er(),o=function(){if(mo)return go;mo=1;var t=O(),e=hn(),r=TypeError,n=Object.getOwnPropertyDescriptor,i=t&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();return go=i?function(t,i){if(e(t)&&!n(t,"length").writable)throw new r("Cannot set read only .length");return t.length=i}:function(t,e){return t.length=e}}(),a=dn(),s=yn(),c=pn(),l=ho(),u=wn()("splice"),f=Math.max,h=Math.min;t({target:"Array",proto:!0,forced:!u},{splice:function(t,u){var d,p,v,g,m,b,y=e(this),w=i(y),S=r(t,w),x=arguments.length;for(0===x?d=p=0:1===x?(d=0,p=w-S):(d=x-2,p=h(f(n(u),0),w-S)),a(w+d-p),v=s(y,p),g=0;g<p;g++)(m=S+g)in y&&c(v,g,y[m]);if(v.length=p,d<p){for(g=S;g<w-p;g++)b=g+d,(m=g+p)in y?y[b]=y[m]:l(y,b);for(g=w;g>w-p+d;g--)l(y,g-1)}else if(d>p)for(g=w-p;g>S;g--)b=g+d-1,(m=g+p-1)in y?y[b]=y[m]:l(y,b);for(g=0;g<d;g++)y[g+S]=arguments[g+2];return o(y,w-p+d),v}})}();var wo,So={};!function(){if(wo)return So;wo=1;var t=fn(),e=_(),r=ve(),n=ye();t({target:"Date",proto:!0,arity:1,forced:e((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=r(this),i=n(e,"number");return"number"!=typeof i||isFinite(i)?e.toISOString():null}})}();var xo,ko,To,Ao,Eo,_o,Oo,No,Co,Ro,Po,Lo={};function Io(){if(ko)return xo;ko=1;var t=m();return xo=t}function Fo(){if(Ao)return To;Ao=1;var t=_t(),e=Ot(),r=Di();return To=function(n,i,o){var a,s;return r&&t(a=i.constructor)&&a!==o&&e(s=a.prototype)&&s!==o.prototype&&r(n,s),n}}function jo(){if(_o)return Eo;_o=1;var t=St();return Eo=t(1..valueOf)}function Do(){return No?Oo:(No=1,Oo="\t\n\v\f\r \u2028\u2029\ufeff")}function Mo(){if(Ro)return Co;Ro=1;var t=St(),e=At(),r=po(),n=Do(),i=t("".replace),o=RegExp("^["+n+"]+"),a=RegExp("(^|[^"+n+"])["+n+"]+$"),s=function(t){return function(n){var s=r(e(n));return 1&t&&(s=i(s,o,"")),2&t&&(s=i(s,a,"$1")),s}};return Co={start:s(1),end:s(2),trim:s(3)}}!function(){if(Po)return Lo;Po=1;var t=fn(),e=fe(),r=O(),n=m(),i=Io(),o=St(),a=un(),s=ge(),c=Fo(),l=Ct(),u=Ft(),f=ye(),h=_(),d=Cr().f,p=ke().f,v=Ie().f,g=jo(),b=Mo().trim,y="Number",w=n[y],S=i[y],x=w.prototype,k=n.TypeError,T=o("".slice),A=o("".charCodeAt),E=function(t){var e,r,n,i,o,a,s,c,l=f(t,"number");if(u(l))throw new k("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=b(l),43===(e=A(l,0))||45===e){if(88===(r=A(l,2))||120===r)return NaN}else if(48===e){switch(A(l,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+l}for(a=(o=T(l,2)).length,s=0;s<a;s++)if((c=A(o,s))<48||c>i)return NaN;return parseInt(o,n)}return+l},N=a(y,!w(" 0o1")||!w("0b1")||w("+0x1")),C=function(t){var e,r=arguments.length<1?0:w(function(t){var e=f(t,"number");return"bigint"==typeof e?e:E(e)}(t));return l(x,e=this)&&h((function(){g(e)}))?c(Object(r),this,C):r};C.prototype=x,N&&!e&&(x.constructor=C),t({global:!0,constructor:!0,wrap:!0,forced:N},{Number:C});var R=function(t,e){for(var n,i=r?d(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;i.length>o;o++)s(e,n=i[o])&&!s(t,n)&&v(t,n,p(e,n))};e&&S&&R(i[y],S),(N||e)&&R(i[y],w)}();var Bo,Wo,Uo,Ho={};!function(){if(Uo)return Ho;Uo=1;var t=fn(),e=function(){if(Wo)return Bo;Wo=1;var t=O(),e=St(),r=C(),n=_(),i=Vn(),o=sn(),a=yt(),s=ve(),c=kt(),l=Object.assign,u=Object.defineProperty,f=e([].concat);return Bo=!l||n((function(){if(t&&1!==l({b:1},l(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(t){r[t]=t})),7!==l({},e)[n]||i(l({},r)).join("")!==o}))?function(e,n){for(var l=s(e),u=arguments.length,h=1,d=o.f,p=a.f;u>h;)for(var v,g=c(arguments[h++]),m=d?f(i(g),d(g)):i(g),b=m.length,y=0;b>y;)v=m[y++],t&&!r(p,g,v)||(l[v]=g[v]);return l}:l,Bo}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var zo,Vo,qo,$o={};!function(){if(qo)return $o;qo=1;var t=fn(),e=function(){if(Vo)return zo;Vo=1;var t=O(),e=_(),r=St(),n=Ri(),i=Vn(),o=Et(),a=r(yt().f),s=r([].push),c=t&&e((function(){var t=Object.create(null);return t[2]=2,!a(t,2)})),l=function(e){return function(r){for(var l,u=o(r),f=i(u),h=c&&null===n(u),d=f.length,p=0,v=[];d>p;)l=f[p++],t&&!(h?l in u:a(u,l))||s(v,e?[l,u[l]]:u[l]);return v}};return zo={entries:l(!0),values:l(!1)}}().entries;t({target:"Object",stat:!0},{entries:function(t){return e(t)}})}();var Go,Xo={};!function(){if(Go)return Xo;Go=1;var t=fn(),e=ve(),r=Vn();t({target:"Object",stat:!0,forced:_()((function(){r(1)}))},{keys:function(t){return r(e(t))}})}();var Yo,Ko,Jo,Zo={};!function(){if(Jo)return Zo;Jo=1;var t=vn(),e=ir(),r=function(){if(Ko)return Yo;Ko=1;var t=vn(),e=gn();return Yo=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var Qo,ta,ea,ra={};!function(){if(ea)return ra;ea=1;var t=fn(),e=function(){if(ta)return Qo;ta=1;var t=m(),e=_(),r=St(),n=po(),i=Mo().trim,o=Do(),a=r("".charAt),s=t.parseFloat,c=t.Symbol,l=c&&c.iterator,u=1/s(o+"-0")!=-1/0||l&&!e((function(){s(Object(l))}));return Qo=u?function(t){var e=i(n(t)),r=s(e);return 0===r&&"-"===a(e,0)?-0:r}:s}();t({global:!0,forced:parseFloat!==e},{parseFloat:e})}();var na,ia,oa,aa={};!function(){if(oa)return aa;oa=1;var t=fn(),e=function(){if(ia)return na;ia=1;var t=m(),e=_(),r=St(),n=po(),i=Mo().trim,o=Do(),a=t.parseInt,s=t.Symbol,c=s&&s.iterator,l=/^[+-]?0x/i,u=r(l.exec),f=8!==a(o+"08")||22!==a(o+"0x16")||c&&!e((function(){a(Object(c))}));return na=f?function(t,e){var r=i(n(t));return a(r,e>>>0||(u(l,r)?16:10))}:a}();t({global:!0,forced:parseInt!==e},{parseInt:e})}();var sa,ca,la,ua,fa,ha,da,pa,va,ga,ma,ba,ya,wa,Sa,xa,ka,Ta,Aa,Ea={};function _a(){if(ca)return sa;ca=1;var t=Ot(),e=xt(),r=be()("match");return sa=function(n){var i;return t(n)&&(void 0!==(i=n[r])?!!i:"RegExp"===e(n))}}function Oa(){if(ua)return la;ua=1;var t=Le();return la=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}function Na(){if(ha)return fa;ha=1;var t=C(),e=ge(),r=Ct(),n=Oa(),i=RegExp.prototype;return fa=function(o){var a=o.flags;return void 0!==a||"flags"in i||e(o,"flags")||!r(i,o)?a:t(n,o)}}function Ca(){if(pa)return da;pa=1;var t=_(),e=m().RegExp,r=t((function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),n=r||t((function(){return!e("a","y").sticky})),i=r||t((function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));return da={BROKEN_CARET:i,MISSED_STICKY:n,UNSUPPORTED_Y:r}}function Ra(){if(ga)return va;ga=1;var t=Ie().f;return va=function(e,r,n){n in e||t(e,n,{configurable:!0,get:function(){return r[n]},set:function(t){r[n]=t}})}}function Pa(){if(ba)return ma;ba=1;var t=nr(),e=Ie();return ma=function(r,n,i){return i.get&&t(i.get,n,{getter:!0}),i.set&&t(i.set,n,{setter:!0}),e.f(r,n,i)}}function La(){if(wa)return ya;wa=1;var t=Nt(),e=Pa(),r=be(),n=O(),i=r("species");return ya=function(r){var o=t(r);n&&o&&!o[i]&&e(o,i,{configurable:!0,get:function(){return this}})}}function Ia(){if(xa)return Sa;xa=1;var t=_(),e=m().RegExp;return Sa=t((function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))}function Fa(){if(Ta)return ka;Ta=1;var t=_(),e=m().RegExp;return ka=t((function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))}!function(){if(Aa)return Ea;Aa=1;var t=O(),e=m(),r=St(),n=un(),i=Fo(),o=Fe(),a=$n(),s=Cr().f,c=Ct(),l=_a(),u=po(),f=Na(),h=Ca(),d=Ra(),p=ir(),v=_(),g=ge(),b=rr().enforce,y=La(),w=be(),S=Ia(),x=Fa(),k=w("match"),T=e.RegExp,A=T.prototype,E=e.SyntaxError,N=r(A.exec),C=r("".charAt),R=r("".replace),P=r("".indexOf),L=r("".slice),I=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,F=/a/g,j=/a/g,D=new T(F)!==F,M=h.MISSED_STICKY,B=h.UNSUPPORTED_Y,W=t&&(!D||M||S||x||v((function(){return j[k]=!1,T(F)!==F||T(j)===j||"/a/i"!==String(T(F,"i"))})));if(n("RegExp",W)){for(var U=function(t,e){var r,n,s,h,d,p,v=c(A,this),m=l(t),y=void 0===e,w=[],k=t;if(!v&&m&&y&&t.constructor===U)return t;if((m||c(A,t))&&(t=t.source,y&&(e=f(k))),t=void 0===t?"":u(t),e=void 0===e?"":u(e),k=t,S&&"dotAll"in F&&(n=!!e&&P(e,"s")>-1)&&(e=R(e,/s/g,"")),r=e,M&&"sticky"in F&&(s=!!e&&P(e,"y")>-1)&&B&&(e=R(e,/y/g,"")),x&&(h=function(t){for(var e,r=t.length,n=0,i="",o=[],s=a(null),c=!1,l=!1,u=0,f="";n<=r;n++){if("\\"===(e=C(t,n)))e+=C(t,++n);else if("]"===e)c=!1;else if(!c)switch(!0){case"["===e:c=!0;break;case"("===e:if(i+=e,"?:"===L(t,n+1,n+3))continue;N(I,L(t,n+1))&&(n+=2,l=!0),u++;continue;case">"===e&&l:if(""===f||g(s,f))throw new E("Invalid capture group name");s[f]=!0,o[o.length]=[f,u],l=!1,f="";continue}l?f+=e:i+=e}return[i,o]}(t),t=h[0],w=h[1]),d=i(T(t,e),v?this:A,U),(n||s||w.length)&&(p=b(d),n&&(p.dotAll=!0,p.raw=U(function(t){for(var e,r=t.length,n=0,i="",o=!1;n<=r;n++)"\\"!==(e=C(t,n))?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]":i+=e+C(t,++n);return i}(t),r)),s&&(p.sticky=!0),w.length&&(p.groups=w)),t!==k)try{o(d,"source",""===k?"(?:)":k)}catch(t){}return d},H=s(T),z=0;H.length>z;)d(U,T,H[z++]);A.constructor=U,U.prototype=A,p(e,"RegExp",U,{constructor:!0})}y("RegExp")}();var ja,Da,Ma,Ba={};function Wa(){if(Da)return ja;Da=1;var t,e,r=C(),n=St(),i=po(),o=Oa(),a=Ca(),s=pe(),c=$n(),l=rr().get,u=Ia(),f=Fa(),h=s("native-string-replace",String.prototype.replace),d=RegExp.prototype.exec,p=d,v=n("".charAt),g=n("".indexOf),m=n("".replace),b=n("".slice),y=(e=/b*/g,r(d,t=/a/,"a"),r(d,e,"a"),0!==t.lastIndex||0!==e.lastIndex),w=a.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];return(y||S||w||u||f)&&(p=function(t){var e,n,a,s,u,f,x,k=this,T=l(k),A=i(t),E=T.raw;if(E)return E.lastIndex=k.lastIndex,e=r(p,E,A),k.lastIndex=E.lastIndex,e;var _=T.groups,O=w&&k.sticky,N=r(o,k),C=k.source,R=0,P=A;if(O&&(N=m(N,"y",""),-1===g(N,"g")&&(N+="g"),P=b(A,k.lastIndex),k.lastIndex>0&&(!k.multiline||k.multiline&&"\n"!==v(A,k.lastIndex-1))&&(C="(?: "+C+")",P=" "+P,R++),n=new RegExp("^(?:"+C+")",N)),S&&(n=new RegExp("^"+C+"$(?!\\s)",N)),y&&(a=k.lastIndex),s=r(d,O?n:k,P),O?s?(s.input=b(s.input,R),s[0]=b(s[0],R),s.index=k.lastIndex,k.lastIndex+=s[0].length):k.lastIndex=0:y&&s&&(k.lastIndex=k.global?s.index+s[0].length:a),S&&s&&s.length>1&&r(h,s[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(s[u]=void 0)})),s&&_)for(s.groups=f=c(null),u=0;u<_.length;u++)f[(x=_[u])[0]]=s[x[1]];return s}),ja=p}function Ua(){if(Ma)return Ba;Ma=1;var t=fn(),e=Wa();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),Ba}Ua();var Ha,za={};!function(){if(Ha)return za;Ha=1;var t=Ze().PROPER,e=ir(),r=Le(),n=po(),i=_(),o=Na(),a="toString",s=RegExp.prototype,c=s[a],l=i((function(){return"/a/b"!==c.call({source:"a",flags:"b"})})),u=t&&c.name!==a;(l||u)&&e(s,a,(function(){var t=r(this);return"/"+n(t.source)+"/"+n(o(t))}),{unsafe:!0})}();var Va,qa,$a,Ga,Xa,Ya={};function Ka(){if(qa)return Va;qa=1;var t=_a(),e=TypeError;return Va=function(r){if(t(r))throw new e("The method doesn't accept regular expressions");return r}}function Ja(){if(Ga)return $a;Ga=1;var t=be()("match");return $a=function(e){var r=/./;try{"/./"[e](r)}catch(n){try{return r[t]=!1,"/./"[e](r)}catch(t){}}return!1}}!function(){if(Xa)return Ya;Xa=1;var t=fn(),e=St(),r=Ka(),n=At(),i=po(),o=Ja(),a=e("".indexOf);t({target:"String",proto:!0,forced:!o("includes")},{includes:function(t){return!!~a(i(n(this)),i(r(t)),arguments.length>1?arguments[1]:void 0)}})}();var Za,Qa,ts,es,rs,ns,is,os,as,ss,cs,ls,us,fs={};function hs(){if(es)return ts;es=1,Ua();var t=C(),e=ir(),r=Wa(),n=_(),i=be(),o=Fe(),a=i("species"),s=RegExp.prototype;return ts=function(c,l,u,f){var h=i(c),d=!n((function(){var t={};return t[h]=function(){return 7},7!==""[c](t)})),p=d&&!n((function(){var t=!1,e=/a/;return"split"===c&&((e={}).constructor={},e.constructor[a]=function(){return e},e.flags="",e[h]=/./[h]),e.exec=function(){return t=!0,null},e[h](""),!t}));if(!d||!p||u){var v=/./[h],g=l(h,""[c],(function(e,n,i,o,a){var c=n.exec;return c===r||c===s.exec?d&&!a?{done:!0,value:t(v,n,i,o)}:{done:!0,value:t(e,i,n,o)}:{done:!1}}));e(String.prototype,c,g[0]),e(s,h,g[1])}f&&o(s[h],"sham",!0)}}function ds(){if(ns)return rs;ns=1;var t=St(),e=kr(),r=po(),n=At(),i=t("".charAt),o=t("".charCodeAt),a=t("".slice),s=function(t){return function(s,c){var l,u,f=r(n(s)),h=e(c),d=f.length;return h<0||h>=d?t?"":void 0:(l=o(f,h))<55296||l>56319||h+1===d||(u=o(f,h+1))<56320||u>57343?t?i(f,h):l:t?a(f,h,h+2):u-56320+(l-55296<<10)+65536}};return rs={codeAt:s(!1),charAt:s(!0)}}function ps(){if(os)return is;os=1;var t=ds().charAt;return is=function(e,r,n){return r+(n?t(e,r).length:1)}}function vs(){if(ss)return as;ss=1;var t=St(),e=ve(),r=Math.floor,n=t("".charAt),i=t("".replace),o=t("".slice),a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;return as=function(t,c,l,u,f,h){var d=l+t.length,p=u.length,v=s;return void 0!==f&&(f=e(f),v=a),i(h,v,(function(e,i){var a;switch(n(i,0)){case"$":return"$";case"&":return t;case"`":return o(c,0,l);case"'":return o(c,d);case"<":a=f[o(i,1,-1)];break;default:var s=+i;if(0===s)return e;if(s>p){var h=r(s/10);return 0===h?e:h<=p?void 0===u[h-1]?n(i,1):u[h-1]+n(i,1):e}a=u[s-1]}return void 0===a?"":a}))}}function gs(){if(ls)return cs;ls=1;var t=C(),e=Le(),r=_t(),n=xt(),i=Wa(),o=TypeError;return cs=function(a,s){var c=a.exec;if(r(c)){var l=t(c,a,s);return null!==l&&e(l),l}if("RegExp"===n(a))return t(i,a,s);throw new o("RegExp#exec called on incompatible receiver")}}!function(){if(us)return fs;us=1;var t=function(){if(Qa)return Za;Qa=1;var t=N(),e=Function.prototype,r=e.apply,n=e.call;return Za="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),Za}(),e=C(),r=St(),n=hs(),i=_(),o=Le(),a=_t(),s=Tt(),c=kr(),l=Ar(),u=po(),f=At(),h=ps(),d=Mt(),p=vs(),v=gs(),g=be()("replace"),m=Math.max,b=Math.min,y=r([].concat),w=r([].push),S=r("".indexOf),x=r("".slice),k="$0"==="a".replace(/./,"$0"),T=!!/./[g]&&""===/./[g]("a","$0");n("replace",(function(r,n,i){var k=T?"$":"$0";return[function(t,r){var i=f(this),o=s(t)?void 0:d(t,g);return o?e(o,t,i,r):e(n,u(i),t,r)},function(e,r){var s=o(this),f=u(e);if("string"==typeof r&&-1===S(r,k)&&-1===S(r,"$<")){var d=i(n,s,f,r);if(d.done)return d.value}var g=a(r);g||(r=u(r));var T,A=s.global;A&&(T=s.unicode,s.lastIndex=0);for(var E,_=[];null!==(E=v(s,f))&&(w(_,E),A);){""===u(E[0])&&(s.lastIndex=h(f,l(s.lastIndex),T))}for(var O,N="",C=0,R=0;R<_.length;R++){for(var P,L=u((E=_[R])[0]),I=m(b(c(E.index),f.length),0),F=[],j=1;j<E.length;j++)w(F,void 0===(O=E[j])?O:String(O));var D=E.groups;if(g){var M=y([L],F,I,f);void 0!==D&&w(M,D),P=u(t(r,void 0,M))}else P=p(L,f,I,F,D,r);I>=C&&(N+=x(f,C,I)+P,C=I+L.length)}return N+x(f,C)}]}),!!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!k||T)}();var ms,bs,ys,ws={};function Ss(){return bs?ms:(bs=1,ms=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e})}!function(){if(ys)return ws;ys=1;var t=C(),e=hs(),r=Le(),n=Tt(),i=At(),o=Ss(),a=po(),s=Mt(),c=gs();e("search",(function(e,l,u){return[function(r){var o=i(this),c=n(r)?void 0:s(r,e);return c?t(c,r,o):new RegExp(r)[e](a(o))},function(t){var e=r(this),n=a(t),i=u(l,e,n);if(i.done)return i.value;var s=e.lastIndex;o(s,0)||(e.lastIndex=0);var f=c(e,n);return o(e.lastIndex,s)||(e.lastIndex=s),null===f?-1:f.index}]}))}();var xs,ks,Ts,As,Es,_s={};function Os(){if(ks)return xs;ks=1;var t=mn(),e=jt(),r=TypeError;return xs=function(n){if(t(n))return n;throw new r(e(n)+" is not a constructor")}}function Ns(){if(As)return Ts;As=1;var t=Le(),e=Os(),r=Tt(),n=be()("species");return Ts=function(i,o){var a,s=t(i).constructor;return void 0===s||r(a=t(s)[n])?o:e(a)}}!function(){if(Es)return _s;Es=1;var t=C(),e=St(),r=hs(),n=Le(),i=Tt(),o=At(),a=Ns(),s=ps(),c=Ar(),l=po(),u=Mt(),f=gs(),h=Ca(),d=_(),p=h.UNSUPPORTED_Y,v=Math.min,g=e([].push),m=e("".slice),b=!d((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),y="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;r("split",(function(e,r,h){var d="0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t(r,this,e,n)}:r;return[function(r,n){var a=o(this),s=i(r)?void 0:u(r,e);return s?t(s,r,a,n):t(d,l(a),r,n)},function(t,e){var i=n(this),o=l(t);if(!y){var u=h(d,i,o,e,d!==r);if(u.done)return u.value}var b=a(i,RegExp),w=i.unicode,S=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(p?"g":"y"),x=new b(p?"^(?:"+i.source+")":i,S),k=void 0===e?4294967295:e>>>0;if(0===k)return[];if(0===o.length)return null===f(x,o)?[o]:[];for(var T=0,A=0,E=[];A<o.length;){x.lastIndex=p?0:A;var _,O=f(x,p?m(o,A):o);if(null===O||(_=v(c(x.lastIndex+(p?A:0)),o.length))===T)A=s(o,A,w);else{if(g(E,m(o,T,A)),E.length===k)return E;for(var N=1;N<=O.length-1;N++)if(g(E,O[N]),E.length===k)return E;A=T=_}}return g(E,m(o,T)),E}]}),y||!b,p)}();var Cs,Rs,Ps,Ls={};!function(){if(Ps)return Ls;Ps=1;var t=fn(),e=Mo().trim,r=function(){if(Rs)return Cs;Rs=1;var t=Ze().PROPER,e=_(),r=Do();return Cs=function(n){return e((function(){return!!r[n]()||"
"!=="
"[n]()||t&&r[n].name!==n}))}}();t({target:"String",proto:!0,forced:r("trim")},{trim:function(){return e(this)}})}();var Is,Fs,js,Ds,Ms,Bs,Ws,Us={};function Hs(){return Fs?Is:(Fs=1,Is={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0})}function zs(){if(Ds)return js;Ds=1;var t=Se()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return js=e===Object.prototype?void 0:e}!function(){if(Ws)return Us;Ws=1;var t=m(),e=Hs(),r=zs(),n=function(){if(Bs)return Ms;Bs=1;var t=Rn().forEach,e=Oi()("forEach");return Ms=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},Ms}(),i=Fe(),o=function(t){if(t&&t.forEach!==n)try{i(t,"forEach",n)}catch(e){t.forEach=n}};for(var a in e)e[a]&&o(t[a]&&t[a].prototype);o(r)}();var Vs,qs={};!function(){if(Vs)return qs;Vs=1;var t=m(),e=Hs(),r=zs(),n=Wi(),i=Fe(),o=Li(),a=be()("iterator"),s=n.values,c=function(t,r){if(t){if(t[a]!==s)try{i(t,a,s)}catch(e){t[a]=s}if(o(t,r,!0),e[r])for(var c in n)if(t[c]!==n[c])try{i(t,c,n[c])}catch(e){t[c]=n[c]}}};for(var l in e)c(t[l]&&t[l].prototype,l);c(r,"DOMTokenList")}();var $s,Gs={};!function(){if($s)return Gs;$s=1;var t=fn(),e=_(),r=ve(),n=Ri(),i=Ci();t({target:"Object",stat:!0,forced:e((function(){n(1)})),sham:!i},{getPrototypeOf:function(t){return n(r(t))}})}();var Xs,Ys={};!function(){if(Xs)return Ys;Xs=1;var t,e=fn(),r=Nn(),n=ke().f,i=Ar(),o=po(),a=Ka(),s=At(),c=Ja(),l=fe(),u=r("".slice),f=Math.min,h=c("endsWith");e({target:"String",proto:!0,forced:!!(l||h||(t=n(String.prototype,"endsWith"),!t||t.writable))&&!h},{endsWith:function(t){var e=o(s(this));a(t);var r=arguments.length>1?arguments[1]:void 0,n=e.length,c=void 0===r?n:f(i(r),n),l=o(t);return u(e,c-l.length,c)===l}})}();var Ks,Js={};!function(){if(Ks)return Js;Ks=1;var t=ds().charAt,e=po(),r=rr(),n=Mi(),i=Bi(),o="String Iterator",a=r.set,s=r.getterFor(o);n(String,"String",(function(t){a(this,{type:o,string:e(t),index:0})}),(function(){var e,r=s(this),n=r.string,o=r.index;return o>=n.length?i(void 0,!0):(e=t(n,o),r.index+=e.length,i(e,!1))}))}();var Zs,Qs={};!function(){if(Zs)return Qs;Zs=1;var t=C(),e=hs(),r=Le(),n=Tt(),i=Ar(),o=po(),a=At(),s=Mt(),c=ps(),l=gs();e("match",(function(e,u,f){return[function(r){var i=a(this),c=n(r)?void 0:s(r,e);return c?t(c,r,i):new RegExp(r)[e](o(i))},function(t){var e=r(this),n=o(t),a=f(u,e,n);if(a.done)return a.value;if(!e.global)return l(e,n);var s=e.unicode;e.lastIndex=0;for(var h,d=[],p=0;null!==(h=l(e,n));){var v=o(h[0]);d[p]=v,""===v&&(e.lastIndex=c(n,i(e.lastIndex),s)),p++}return 0===p?null:d}]}))}();var tc,ec={};!function(){if(tc)return ec;tc=1;var t,e=fn(),r=Nn(),n=ke().f,i=Ar(),o=po(),a=Ka(),s=At(),c=Ja(),l=fe(),u=r("".slice),f=Math.min,h=c("startsWith");e({target:"String",proto:!0,forced:!!(l||h||(t=n(String.prototype,"startsWith"),!t||t.writable))&&!h},{startsWith:function(t){var e=o(s(this));a(t);var r=i(f(arguments.length>1?arguments[1]:void 0,e.length)),n=o(t);return u(e,r,r+n.length)===n}})}();var rc,nc,ic,oc,ac,sc,cc,lc,uc,fc,hc,dc,pc,vc,gc,mc,bc,yc,wc={};function Sc(){if(ic)return nc;ic=1;var t=m(),e=O(),r=Object.getOwnPropertyDescriptor;return nc=function(n){if(!e)return t[n];var i=r(t,n);return i&&i.value}}function xc(){if(cc)return sc;cc=1;var t=ir();return sc=function(e,r,n){for(var i in r)t(e,i,r[i],n);return e}}function kc(){if(uc)return lc;uc=1;var t=Ct(),e=TypeError;return lc=function(r,n){if(t(n,r))return r;throw new e("Incorrect invocation")}}function Tc(){if(hc)return fc;hc=1;var t=gn(),e=Mt(),r=Tt(),n=Ni(),i=be()("iterator");return fc=function(o){if(!r(o))return e(o,i)||e(o,"@@iterator")||n[t(o)]}}function Ac(){if(pc)return dc;pc=1;var t=C(),e=Dt(),r=Le(),n=jt(),i=Tc(),o=TypeError;return dc=function(a,s){var c=arguments.length<2?i(a):s;if(e(c))return r(t(c,a));throw new o(n(a)+" is not iterable")},dc}function Ec(){if(gc)return vc;gc=1;var t=TypeError;return vc=function(e,r){if(e<r)throw new t("Not enough arguments");return e}}function _c(){if(bc)return mc;bc=1,Wi(),function(){if(rc)return wc;rc=1;var t=fn(),e=St(),r=Tr(),n=RangeError,i=String.fromCharCode,o=String.fromCodePoint,a=e([].join);t({target:"String",stat:!0,arity:1,forced:!!o&&1!==o.length},{fromCodePoint:function(t){for(var e,o=[],s=arguments.length,c=0;s>c;){if(e=+arguments[c++],r(e,1114111)!==e)throw new n(e+" is not a valid code point");o[c]=e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320)}return a(o,"")}})}();var t=fn(),e=m(),r=Sc(),n=Nt(),i=C(),o=St(),a=O(),s=function(){if(ac)return oc;ac=1;var t=_(),e=be(),r=O(),n=fe(),i=e("iterator");return oc=!t((function(){var t=new URL("b?a=1&b=2&c=3","https://a"),e=t.searchParams,o=new URLSearchParams("a=1&a=2&b=3"),a="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),a+=r+t})),o.delete("a",2),o.delete("b",void 0),n&&(!t.toJSON||!o.has("a",1)||o.has("a",2)||!o.has("a",void 0)||o.has("b"))||!e.size&&(n||!r)||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==a||"x"!==new URL("https://x",void 0).host}))}(),c=ir(),l=Pa(),u=xc(),f=Li(),h=Ii(),d=rr(),p=kc(),v=_t(),g=ge(),b=Cn(),y=gn(),w=Le(),S=Ot(),x=po(),k=$n(),T=wt(),A=Ac(),E=Tc(),N=Bi(),R=Ec(),P=be(),L=vo(),I=P("iterator"),F="URLSearchParams",j=F+"Iterator",D=d.set,M=d.getterFor(F),B=d.getterFor(j),W=r("fetch"),U=r("Request"),H=r("Headers"),z=U&&U.prototype,V=H&&H.prototype,q=e.TypeError,$=e.encodeURIComponent,G=String.fromCharCode,X=n("String","fromCodePoint"),Y=parseInt,K=o("".charAt),J=o([].join),Z=o([].push),Q=o("".replace),tt=o([].shift),et=o([].splice),rt=o("".split),nt=o("".slice),it=o(/./.exec),ot=/\+/g,at=/^[0-9a-f]+$/i,st=function(t,e){var r=nt(t,e,e+2);return it(at,r)?Y(r,16):NaN},ct=function(t){for(var e=0,r=128;r>0&&t&r;r>>=1)e++;return e},lt=function(t){var e=null;switch(t.length){case 1:e=t[0];break;case 2:e=(31&t[0])<<6|63&t[1];break;case 3:e=(15&t[0])<<12|(63&t[1])<<6|63&t[2];break;case 4:e=(7&t[0])<<18|(63&t[1])<<12|(63&t[2])<<6|63&t[3]}return e>1114111?null:e},ut=function(t){for(var e=(t=Q(t,ot," ")).length,r="",n=0;n<e;){var i=K(t,n);if("%"===i){if("%"===K(t,n+1)||n+3>e){r+="%",n++;continue}var o=st(t,n+1);if(o!=o){r+=i,n++;continue}n+=2;var a=ct(o);if(0===a)i=G(o);else{if(1===a||a>4){r+="<22>",n++;continue}for(var s=[o],c=1;c<a&&!(++n+3>e||"%"!==K(t,n));){var l=st(t,n+1);if(l!=l){n+=3;break}if(l>191||l<128)break;Z(s,l),n+=2,c++}if(s.length!==a){r+="<22>";continue}var u=lt(s);null===u?r+="<22>":i=X(u)}}r+=i,n++}return r},ft=/[!'()~]|%20/g,ht={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},dt=function(t){return ht[t]},pt=function(t){return Q($(t),ft,dt)},vt=h((function(t,e){D(this,{type:j,target:M(t).entries,index:0,kind:e})}),F,(function(){var t=B(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,N(void 0,!0);var n=e[r];switch(t.kind){case"keys":return N(n.key,!1);case"values":return N(n.value,!1)}return N([n.key,n.value],!1)}),!0),gt=function(t){this.entries=[],this.url=null,void 0!==t&&(S(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===K(t,0)?nt(t,1):t:x(t)))};gt.prototype={type:F,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,a,s,c,l=this.entries,u=E(t);if(u)for(r=(e=A(t,u)).next;!(n=i(r,e)).done;){if(a=(o=A(w(n.value))).next,(s=i(a,o)).done||(c=i(a,o)).done||!i(a,o).done)throw new q("Expected sequence with length 2");Z(l,{key:x(s.value),value:x(c.value)})}else for(var f in t)g(t,f)&&Z(l,{key:f,value:x(t[f])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,i=rt(t,"&"),o=0;o<i.length;)(e=i[o++]).length&&(r=rt(e,"="),Z(n,{key:ut(tt(r)),value:ut(J(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],Z(r,pt(t.key)+"="+pt(t.value));return J(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var mt=function(){p(this,bt);var t=D(this,new gt(arguments.length>0?arguments[0]:void 0));a||(this.size=t.entries.length)},bt=mt.prototype;if(u(bt,{append:function(t,e){var r=M(this);R(arguments.length,2),Z(r.entries,{key:x(t),value:x(e)}),a||this.length++,r.updateURL()},delete:function(t){for(var e=M(this),r=R(arguments.length,1),n=e.entries,i=x(t),o=r<2?void 0:arguments[1],s=void 0===o?o:x(o),c=0;c<n.length;){var l=n[c];if(l.key!==i||void 0!==s&&l.value!==s)c++;else if(et(n,c,1),void 0!==s)break}a||(this.size=n.length),e.updateURL()},get:function(t){var e=M(this).entries;R(arguments.length,1);for(var r=x(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){var e=M(this).entries;R(arguments.length,1);for(var r=x(t),n=[],i=0;i<e.length;i++)e[i].key===r&&Z(n,e[i].value);return n},has:function(t){for(var e=M(this).entries,r=R(arguments.length,1),n=x(t),i=r<2?void 0:arguments[1],o=void 0===i?i:x(i),a=0;a<e.length;){var s=e[a++];if(s.key===n&&(void 0===o||s.value===o))return!0}return!1},set:function(t,e){var r=M(this);R(arguments.length,1);for(var n,i=r.entries,o=!1,s=x(t),c=x(e),l=0;l<i.length;l++)(n=i[l]).key===s&&(o?et(i,l--,1):(o=!0,n.value=c));o||Z(i,{key:s,value:c}),a||(this.size=i.length),r.updateURL()},sort:function(){var t=M(this);L(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=M(this).entries,n=b(t,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((e=r[i++]).value,e.key,this)},keys:function(){return new vt(this,"keys")},values:function(){return new vt(this,"values")},entries:function(){return new vt(this,"entries")}},{enumerable:!0}),c(bt,I,bt.entries,{name:"entries"}),c(bt,"toString",(function(){return M(this).serialize()}),{enumerable:!0}),a&&l(bt,"size",{get:function(){return M(this).entries.length},configurable:!0,enumerable:!0}),f(mt,F),t({global:!0,constructor:!0,forced:!s},{URLSearchParams:mt}),!s&&v(H)){var yt=o(V.has),xt=o(V.set),kt=function(t){if(S(t)){var e,r=t.body;if(y(r)===F)return e=t.headers?new H(t.headers):new H,yt(e,"content-type")||xt(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),k(t,{body:T(0,x(r)),headers:T(0,e)})}return t};if(v(W)&&t({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return W(t,arguments.length>1?kt(arguments[1]):{})}}),v(U)){var Tt=function(t){return p(this,z),new U(t,arguments.length>1?kt(arguments[1]):{})};z.constructor=Tt,Tt.prototype=z,t({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Tt})}}return mc={URLSearchParams:mt,getState:M}}yc||(yc=1,_c());var Oc={getBootstrapVersion:function(){var e=5;try{var r=t.fn.dropdown.Constructor.VERSION;void 0!==r&&(e=parseInt(r,10))}catch(t){}try{var n=bootstrap.Tooltip.VERSION;void 0!==n&&(e=parseInt(n,10))}catch(t){}return e},getIconsPrefix:function(t){return{bootstrap3:"glyphicon",bootstrap4:"fa",bootstrap5:"bi","bootstrap-table":"icon",bulma:"fa",foundation:"fa",materialize:"material-icons",semantic:"fa"}[t]||"fa"},getIcons:function(t){return{glyphicon:{clearSearch:"glyphicon-trash",columns:"glyphicon-th icon-th",detailClose:"glyphicon-minus icon-minus",detailOpen:"glyphicon-plus icon-plus",fullscreen:"glyphicon-fullscreen",paginationSwitchDown:"glyphicon-collapse-down icon-chevron-down",paginationSwitchUp:"glyphicon-collapse-up icon-chevron-up",refresh:"glyphicon-refresh icon-refresh",search:"glyphicon-search",toggleOff:"glyphicon-list-alt icon-list-alt",toggleOn:"glyphicon-list-alt icon-list-alt"},fa:{clearSearch:"fa-trash",columns:"fa-th-list",detailClose:"fa-minus",detailOpen:"fa-plus",fullscreen:"fa-arrows-alt",paginationSwitchDown:"fa-caret-square-down",paginationSwitchUp:"fa-caret-square-up",refresh:"fa-sync",search:"fa-search",toggleOff:"fa-toggle-off",toggleOn:"fa-toggle-on"},bi:{clearSearch:"bi-trash",columns:"bi-list-ul",detailClose:"bi-dash",detailOpen:"bi-plus",fullscreen:"bi-arrows-move",paginationSwitchDown:"bi-caret-down-square",paginationSwitchUp:"bi-caret-up-square",refresh:"bi-arrow-clockwise",search:"bi-search",toggleOff:"bi-toggle-off",toggleOn:"bi-toggle-on"},icon:{clearSearch:"icon-trash-2",columns:"icon-list",detailClose:"icon-minus",detailOpen:"icon-plus",fullscreen:"icon-maximize",paginationSwitchDown:"icon-arrow-up-circle",paginationSwitchUp:"icon-arrow-down-circle",refresh:"icon-refresh-cw",search:"icon-search",toggleOff:"icon-toggle-right",toggleOn:"icon-toggle-right"},"material-icons":{clearSearch:"delete",columns:"view_list",detailClose:"remove",detailOpen:"add",fullscreen:"fullscreen",paginationSwitchDown:"grid_on",paginationSwitchUp:"grid_off",refresh:"refresh",search:"search",sort:"sort",toggleOff:"tablet",toggleOn:"tablet_android"}}[t]||{}},getSearchInput:function(e){return"string"==typeof e.options.searchSelector?t(e.options.searchSelector):e.$toolbar.find(".search input")},extend:function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i,o=r[0]||{},a=1,s=!1;for("boolean"==typeof o&&(s=o,o=r[a]||{},a++),"object"!==f(o)&&"function"!=typeof o&&(o={});a<r.length;a++){var c=r[a];if(null!=c)for(var l in c){var u=c[l];if("__proto__"!==l&&o!==u){var h=Array.isArray(u);if(s&&u&&(this.isObject(u)||h)){var d=o[l];if(h&&Array.isArray(d)&&d.every((function(e){return!t.isObject(e)&&!Array.isArray(e)}))){o[l]=u;continue}i=h&&!Array.isArray(d)?[]:h||this.isObject(d)?d:{},o[l]=this.extend(s,i,u)}else void 0!==u&&(o[l]=u)}}}return o},sprintf:function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var i=!0,o=0,a=t.replace(/%s/g,(function(){var t=r[o++];return void 0===t?(i=!1,""):t}));return i?a:""},isObject:function(t){if("object"!==f(t)||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e},isEmptyObject:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 0===Object.entries(t).length&&t.constructor===Object},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},getFieldTitle:function(t,e){var r,n=i(t);try{for(n.s();!(r=n.n()).done;){var o=r.value;if(o.field===e)return o.title}}catch(t){n.e(t)}finally{n.f()}return""},setFieldIndex:function(t){var e,r=0,n=[],o=i(t[0]);try{for(o.s();!(e=o.n()).done;){r+=+e.value.colspan||1}}catch(t){o.e(t)}finally{o.f()}for(var a=0;a<t.length;a++){n[a]=[];for(var s=0;s<r;s++)n[a][s]=!1}for(var c=0;c<t.length;c++){var l,u=i(t[c]);try{for(u.s();!(l=u.n()).done;){var f=l.value,h=+f.rowspan||1,d=+f.colspan||1,p=n[c].indexOf(!1);f.colspanIndex=p,1===d?(f.fieldIndex=p,void 0===f.field&&(f.field=p)):f.colspanGroup=+f.colspan;for(var v=0;v<h;v++)for(var g=0;g<d;g++)n[c+v][p+g]=!0}}catch(t){u.e(t)}finally{u.f()}}},normalizeAccent:function(t){return"string"!=typeof t?t:t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")},updateFieldGroup:function(t,e){var r,n,o=(r=[]).concat.apply(r,l(t)),a=i(t);try{for(a.s();!(n=a.n()).done;){var s,c=i(n.value);try{for(c.s();!(s=c.n()).done;){var u=s.value;if(u.colspanGroup>1){for(var f=0,h=function(t){var e=o.filter((function(e){return e.fieldIndex===t})),r=e[e.length-1];if(e.length>1)for(var n=0;n<e.length-1;n++)e[n].visible=r.visible;r.visible&&f++},d=u.colspanIndex;d<u.colspanIndex+u.colspanGroup;d++)h(d);u.colspan=f,u.visible=f>0}}}catch(t){c.e(t)}finally{c.f()}}}catch(t){a.e(t)}finally{a.f()}if(!(t.length<2)){var p,v=i(e);try{var g=function(){var t=p.value,e=o.filter((function(e){return e.fieldIndex===t.fieldIndex}));if(e.length>1){var r,n=i(e);try{for(n.s();!(r=n.n()).done;){r.value.visible=t.visible}}catch(t){n.e(t)}finally{n.f()}}};for(v.s();!(p=v.n()).done;)g()}catch(t){v.e(t)}finally{v.f()}}},getScrollBarWidth:function(){if(void 0===this.cachedWidth){var e=t("<div/>").addClass("fixed-table-scroll-inner"),r=t("<div/>").addClass("fixed-table-scroll-outer");r.append(e),t("body").append(r);var n=e[0].offsetWidth;r.css("overflow","scroll");var i=e[0].offsetWidth;n===i&&(i=r[0].clientWidth),r.remove(),this.cachedWidth=n-i}return this.cachedWidth},calculateObjectValue:function(t,e,r,n){var o=e;if("string"==typeof e){var a=e.split(".");if(a.length>1){o=window;var s,c=i(a);try{for(c.s();!(s=c.n()).done;){o=o[s.value]}}catch(t){c.e(t)}finally{c.f()}}else o=window[e]}return null!==o&&"object"===f(o)?o:"function"==typeof o?o.apply(t,r||[]):!o&&"string"==typeof e&&r&&this.sprintf.apply(this,[e].concat(l(r)))?this.sprintf.apply(this,[e].concat(l(r))):n},compareObjects:function(t,e,r){var n=Object.keys(t),i=Object.keys(e);if(r&&n.length!==i.length)return!1;for(var o=0,a=n;o<a.length;o++){var s=a[o];if(i.includes(s)&&t[s]!==e[s])return!1}return!0},regexCompare:function(t,e){try{var r=e.match(/^\/(.*?)\/([gim]*)$/);if(-1!==t.toString().search(r?new RegExp(r[1],r[2]):new RegExp(e,"gim")))return!0}catch(t){return!1}return!1},escapeApostrophe:function(t){return t.toString().replace(/'/g,"'")},escapeHTML:function(t){return t?t.toString().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"):t},unescapeHTML:function(t){return"string"==typeof t&&t?t.toString().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'"):t},removeHTML:function(t){return t?t.toString().replace(/(<([^>]+)>)/gi,"").replace(/&[#A-Za-z0-9]+;/gi,"").trim():t},getRealDataAttr:function(t){for(var e=0,r=Object.entries(t);e<r.length;e++){var n=c(r[e],2),i=n[0],o=n[1],a=i.split(/(?=[A-Z])/).join("-").toLowerCase();a!==i&&(t[a]=o,delete t[i])}return t},getItemField:function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,o=t;if(void 0!==n&&(r=n),"string"!=typeof e||t.hasOwnProperty(e))return r?this.escapeHTML(t[e]):t[e];var a,s=i(e.split("."));try{for(s.s();!(a=s.n()).done;){var c=a.value;o=o&&o[c]}}catch(t){s.e(t)}finally{s.f()}return r?this.escapeHTML(o):o},isIEBrowser:function(){return navigator.userAgent.includes("MSIE ")||/Trident.*rv:11\./.test(navigator.userAgent)},findIndex:function(t,e){var r,n=i(t);try{for(n.s();!(r=n.n()).done;){var o=r.value;if(JSON.stringify(o)===JSON.stringify(e))return t.indexOf(o)}}catch(t){n.e(t)}finally{n.f()}return-1},trToData:function(e,r){var n=this,i=[],o=[];return r.each((function(r,a){var s=t(a),c={};c._id=s.attr("id"),c._class=s.attr("class"),c._data=n.getRealDataAttr(s.data()),c._style=s.attr("style"),s.find(">td,>th").each((function(i,a){for(var s=t(a),l=+s.attr("colspan")||1,u=+s.attr("rowspan")||1,f=i;o[r]&&o[r][f];f++);for(var h=f;h<f+l;h++)for(var d=r;d<r+u;d++)o[d]||(o[d]=[]),o[d][h]=!0;var p=e[f].field;c[p]=n.escapeApostrophe(s.html().trim()),c["_".concat(p,"_id")]=s.attr("id"),c["_".concat(p,"_class")]=s.attr("class"),c["_".concat(p,"_rowspan")]=s.attr("rowspan"),c["_".concat(p,"_colspan")]=s.attr("colspan"),c["_".concat(p,"_title")]=s.attr("title"),c["_".concat(p,"_data")]=n.getRealDataAttr(s.data()),c["_".concat(p,"_style")]=s.attr("style")})),i.push(c)})),i},sort:function(t,e,r,n,i,o){if(null==t&&(t=""),null==e&&(e=""),n.sortStable&&t===e&&(t=i,e=o),this.isNumeric(t)&&this.isNumeric(e))return(t=parseFloat(t))<(e=parseFloat(e))?-1*r:t>e?r:0;if(n.sortEmptyLast){if(""===t)return 1;if(""===e)return-1}return t===e?0:("string"!=typeof t&&(t=t.toString()),-1===t.localeCompare(e)?-1*r:r)},getEventName:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e=e||"".concat(+new Date).concat(~~(1e6*Math.random())),"".concat(t,"-").concat(e)},hasDetailViewIcon:function(t){return t.detailView&&t.detailViewIcon&&!t.cardView},getDetailViewIndexOffset:function(t){return this.hasDetailViewIcon(t)&&"right"!==t.detailViewAlign?1:0},checkAutoMergeCells:function(t){var e,r=i(t);try{for(r.s();!(e=r.n()).done;)for(var n=e.value,o=0,a=Object.keys(n);o<a.length;o++){var s=a[o];if(s.startsWith("_")&&(s.endsWith("_rowspan")||s.endsWith("_colspan")))return!0}}catch(t){r.e(t)}finally{r.f()}return!1},deepCopy:function(t){return void 0===t?t:this.extend(!0,Array.isArray(t)?[]:{},t)},debounce:function(t,e,r){var n;return function(){var i=this,o=arguments,a=r&&!n;clearTimeout(n),n=setTimeout((function(){n=null,r||t.apply(i,o)}),e),a&&t.apply(i,o)}},replaceSearchMark:function(t,e){var r=t instanceof Element,n=r?t:document.createElement("div"),o=new RegExp(e,"gim"),a=function(t,e){for(var r,n=[],i=0;null!==(r=e.exec(t));){i!==r.index&&n.push(document.createTextNode(t.substring(i,r.index)));var o=document.createElement("mark");o.innerText=r[0],n.push(o),i=r.index+r[0].length}if(n.length)return i!==t.length&&n.push(document.createTextNode(t.substring(i))),n},s=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];if(r.nodeType===document.TEXT_NODE){var n=a(r.data,o);if(n){var c,l=i(n);try{for(l.s();!(c=l.n()).done;){var u=c.value;t.insertBefore(u,r)}}catch(t){l.e(t)}finally{l.f()}t.removeChild(r),e+=n.length-1}}r.nodeType===document.ELEMENT_NODE&&s(r)}};return r||(n.innerHTML=t),s(n),r?n:n.innerHTML},classToString:function(t){var e=this;return"string"==typeof t?t:Array.isArray(t)?t.map((function(t){return e.classToString(t)})).filter((function(t){return t})).join(" "):t&&"object"===f(t)?Object.entries(t).map((function(t){var e=c(t,2),r=e[0];return e[1]?r:""})).filter((function(t){return t})).join(" "):""},parseStyle:function(t,e){if(!e)return t;if("string"==typeof e)e.split(";").forEach((function(e){var r=e.indexOf(":");if(r>0){var n=e.substring(0,r).trim(),i=e.substring(r+1).trim();t.style.setProperty(n,i)}}));else if(Array.isArray(e)){var r,n=i(e);try{for(n.s();!(r=n.n()).done;){var o=r.value;this.parseStyle(t,o)}}catch(t){n.e(t)}finally{n.f()}}else if("object"===f(e))for(var a=0,s=Object.entries(e);a<s.length;a++){var l=c(s[a],2),u=l[0],h=l[1];t.style.setProperty(u,h)}return t},h:function(t,e,r){var n=t instanceof HTMLElement?t:document.createElement(t),i=e||{},o=r||[];"A"===n.tagName&&(n.href="javascript:");for(var a=0,s=Object.entries(i);a<s.length;a++){var u=c(s[a],2),f=u[0],h=u[1];if(void 0!==h)if(["text","innerText"].includes(f))n.innerText=h;else if(["html","innerHTML"].includes(f))n.innerHTML=h;else if("children"===f)o.push.apply(o,l(h));else if("class"===f)n.setAttribute("class",this.classToString(h));else if("style"===f)"string"==typeof h?n.setAttribute("style",h):this.parseStyle(n,h);else if(f.startsWith("@")||f.startsWith("on")){var d=f.startsWith("@")?f.substring(1):f.substring(2).toLowerCase(),p=Array.isArray(h)?h:[h];n.addEventListener.apply(n,[d].concat(l(p)))}else f.startsWith(".")?n[f.substring(1)]=h:n.setAttribute(f,h)}return o.length&&n.append.apply(n,l(o)),n},htmlToNodes:function(e){if(e instanceof t)return e.get();if(e instanceof Node)return[e];"string"!=typeof e&&(e=new String(e).toString());var r=document.createElement("div");return r.innerHTML=e,r.childNodes},addQueryToUrl:function(t,e){for(var r=t.split("#"),n=c(r[0].split("?"),2),i=n[0],o=n[1],a=new URLSearchParams(o),s=0,l=Object.entries(e);s<l.length;s++){var u=c(l[s],2),f=u[0],h=u[1];a.set(f,h)}return"".concat(i,"?").concat(a.toString(),"#").concat(r.slice(1).join("#"))}},Nc=Oc.getBootstrapVersion(),Cc={3:{classes:{buttonActive:"active",buttons:"default",buttonsDropdown:"btn-group",buttonsGroup:"btn-group",buttonsPrefix:"btn",dropdownActive:"active",dropup:"dropup",input:"form-control",inputGroup:"input-group",inputPrefix:"input-",paginationActive:"active",paginationDropdown:"btn-group dropdown",pull:"pull",select:"form-control"},html:{dropdownCaret:'<span class="caret"></span>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s<span class="input-group-btn">%s</span></div>',pageDropdown:['<ul class="dropdown-menu" role="menu">',"</ul>"],pageDropdownItem:'<li role="menuitem" class="%s"><a href="#">%s</a></li>',pagination:['<ul class="pagination%s">',"</ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s</button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',toolbarDropdown:['<ul class="dropdown-menu" role="menu">',"</ul>"],toolbarDropdownItem:'<li class="dropdown-item-marker" role="menuitem"><label>%s</label></li>',toolbarDropdownSeparator:'<li class="divider"></li>'}},4:{classes:{buttonActive:"active",buttons:"secondary",buttonsDropdown:"btn-group",buttonsGroup:"btn-group",buttonsPrefix:"btn",dropdownActive:"active",dropup:"dropup",input:"form-control",inputGroup:"btn-group",inputPrefix:"form-control-",paginationActive:"active",paginationDropdown:"btn-group dropdown",pull:"float",select:"form-control"},html:{dropdownCaret:'<span class="caret"></span>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s<div class="input-group-append">%s</div></div>',pageDropdown:['<div class="dropdown-menu">',"</div>"],pageDropdownItem:'<a class="dropdown-item %s" href="#">%s</a>',pagination:['<ul class="pagination%s">',"</ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s</button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',toolbarDropdown:['<div class="dropdown-menu dropdown-menu-right">',"</div>"],toolbarDropdownItem:'<label class="dropdown-item dropdown-item-marker">%s</label>',toolbarDropdownSeparator:'<div class="dropdown-divider"></div>'}},5:{classes:{buttonActive:"active",buttons:"secondary",buttonsDropdown:"btn-group",buttonsGroup:"btn-group",buttonsPrefix:"btn",dropdownActive:"active",dropup:"dropup",input:"form-control",inputGroup:"btn-group",inputPrefix:"form-control-",paginationActive:"active",paginationDropdown:"btn-group dropdown",pull:"float",select:"form-select"},html:{dataToggle:"data-bs-toggle",dropdownCaret:'<span class="caret"></span>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s%s</div>',pageDropdown:['<div class="dropdown-menu">',"</div>"],pageDropdownItem:'<a class="dropdown-item %s" href="#">%s</a>',pagination:['<ul class="pagination%s">',"</ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s</button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',toolbarDropdown:['<div class="dropdown-menu dropdown-menu-end">',"</div>"],toolbarDropdownItem:'<label class="dropdown-item dropdown-item-marker">%s</label>',toolbarDropdownSeparator:'<div class="dropdown-divider"></div>'}}}[Nc],Rc={ajax:void 0,ajaxOptions:{},buttons:{},buttonsAlign:"right",buttonsAttributeTitle:"title",buttonsClass:Cc.classes.buttons,buttonsOrder:["paginationSwitch","refresh","toggle","fullscreen","columns"],buttonsPrefix:Cc.classes.buttonsPrefix,buttonsToolbar:void 0,cache:!0,cardView:!1,checkboxHeader:!0,classes:"table table-bordered table-hover",clickToSelect:!1,columns:[[]],contentType:"application/json",customSearch:void 0,customSort:void 0,data:[],dataField:"rows",dataType:"json",detailFilter:function(t,e){return!0},detailFormatter:function(t,e){return""},detailView:!1,detailViewAlign:"left",detailViewByClick:!1,detailViewIcon:!0,escape:!1,escapeTitle:!0,filterOptions:{filterAlgorithm:"and"},fixedScroll:!1,footerField:"footer",footerStyle:function(t){return{}},headerStyle:function(t){return{}},height:void 0,icons:{},iconSize:void 0,iconsPrefix:void 0,idField:void 0,ignoreClickToSelectOn:function(t){var e=t.tagName;return["A","BUTTON"].includes(e)},loadingFontSize:"auto",loadingTemplate:function(t){return'<span class="loading-wrap">\n <span class="loading-text">'.concat(t,'</span>\n <span class="animation-wrap"><span class="animation-dot"></span></span>\n </span>\n ')},locale:void 0,maintainMetaData:!1,method:"get",minimumCountColumns:1,multipleSelectRow:!1,pageList:[10,25,50,100],pageNumber:1,pageSize:10,pagination:!1,paginationDetailHAlign:"left",paginationHAlign:"right",paginationLoadMore:!1,paginationLoop:!0,paginationNextText:"›",paginationPagesBySide:1,paginationParts:["pageInfo","pageSize","pageList"],paginationPreText:"‹",paginationSuccessivelySize:5,paginationUseIntermediate:!1,paginationVAlign:"bottom",queryParams:function(t){return t},queryParamsType:"limit",regexSearch:!1,rememberOrder:!1,responseHandler:function(t){return t},rowAttributes:function(t,e){return{}},rowStyle:function(t,e){return{}},search:!1,searchable:!1,searchAccentNeutralise:!1,searchAlign:"right",searchHighlight:!1,searchOnEnterKey:!1,searchSelector:!1,searchText:"",searchTimeOut:500,selectItemName:"btSelectItem",serverSort:!0,showButtonIcons:!0,showButtonText:!1,showColumns:!1,showColumnsSearch:!1,showColumnsToggleAll:!1,showExtendedPagination:!1,showFooter:!1,showFullscreen:!1,showHeader:!0,showPaginationSwitch:!1,showRefresh:!1,showSearchButton:!1,showSearchClearButton:!1,showToggle:!1,sidePagination:"client",silentSort:!0,singleSelect:!1,smartDisplay:!0,sortable:!0,sortClass:void 0,sortEmptyLast:!1,sortName:void 0,sortOrder:void 0,sortReset:!1,sortResetPage:!1,sortStable:!1,strictSearch:!1,theadClasses:"",toolbar:void 0,toolbarAlign:"left",totalField:"total",totalNotFiltered:0,totalNotFilteredField:"totalNotFiltered",totalRows:0,trimOnSearch:!0,undefinedText:"-",uniqueId:void 0,url:void 0,virtualScroll:!1,virtualScrollItemHeight:void 0,visibleSearch:!1,onAll:function(t,e){return!1},onCheck:function(t){return!1},onCheckAll:function(t){return!1},onCheckSome:function(t){return!1},onClickCell:function(t,e,r,n){return!1},onClickRow:function(t,e){return!1},onCollapseRow:function(t,e){return!1},onColumnSwitch:function(t,e){return!1},onColumnSwitchAll:function(t){return!1},onDblClickCell:function(t,e,r,n){return!1},onDblClickRow:function(t,e){return!1},onExpandRow:function(t,e,r){return!1},onLoadError:function(t){return!1},onLoadSuccess:function(t){return!1},onPageChange:function(t,e){return!1},onPostBody:function(){return!1},onPostFooter:function(){return!1},onPostHeader:function(){return!1},onPreBody:function(t){return!1},onRefresh:function(t){return!1},onRefreshOptions:function(t){return!1},onResetView:function(){return!1},onScrollBody:function(){return!1},onSearch:function(t){return!1},onSort:function(t,e){return!1},onToggle:function(t){return!1},onTogglePagination:function(t){return!1},onUncheck:function(t){return!1},onUncheckAll:function(t){return!1},onUncheckSome:function(t){return!1},onVirtualScroll:function(t,e){return!1}},Pc={formatLoadingMessage:function(){return"Loading, please wait"},formatRecordsPerPage:function(t){return"".concat(t," rows per page")},formatShowingRows:function(t,e,r,n){return void 0!==n&&n>0&&n>r?"Showing ".concat(t," to ").concat(e," of ").concat(r," rows (filtered from ").concat(n," total rows)"):"Showing ".concat(t," to ").concat(e," of ").concat(r," rows")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatSearch:function(){return"Search"},formatClearSearch:function(){return"Clear Search"},formatNoMatches:function(){return"No matching records found"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refresh"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"}},Lc={align:void 0,cardVisible:!0,cellStyle:void 0,checkbox:!1,checkboxEnabled:!0,class:void 0,clickToSelect:!0,colspan:void 0,detailFormatter:void 0,escape:void 0,events:void 0,falign:void 0,field:void 0,footerFormatter:void 0,footerStyle:void 0,formatter:void 0,halign:void 0,order:"asc",radio:!1,rowspan:void 0,searchable:!0,searchFormatter:!0,searchHighlightFormatter:!1,showSelectTitle:!1,sortable:!1,sorter:void 0,sortName:void 0,switchable:!0,switchableLabel:void 0,title:void 0,titleTooltip:void 0,valign:void 0,visible:!0,width:void 0,widthUnit:"px"};Object.assign(Rc,Pc);var Ic={COLUMN_DEFAULTS:Lc,CONSTANTS:Cc,DEFAULTS:Rc,EVENTS:{"all.bs.table":"onAll","check-all.bs.table":"onCheckAll","check-some.bs.table":"onCheckSome","check.bs.table":"onCheck","click-cell.bs.table":"onClickCell","click-row.bs.table":"onClickRow","collapse-row.bs.table":"onCollapseRow","column-switch-all.bs.table":"onColumnSwitchAll","column-switch.bs.table":"onColumnSwitch","dbl-click-cell.bs.table":"onDblClickCell","dbl-click-row.bs.table":"onDblClickRow","expand-row.bs.table":"onExpandRow","load-error.bs.table":"onLoadError","load-success.bs.table":"onLoadSuccess","page-change.bs.table":"onPageChange","post-body.bs.table":"onPostBody","post-footer.bs.table":"onPostFooter","post-header.bs.table":"onPostHeader","pre-body.bs.table":"onPreBody","refresh-options.bs.table":"onRefreshOptions","refresh.bs.table":"onRefresh","reset-view.bs.table":"onResetView","scroll-body.bs.table":"onScrollBody","search.bs.table":"onSearch","sort.bs.table":"onSort","toggle-pagination.bs.table":"onTogglePagination","toggle.bs.table":"onToggle","uncheck-all.bs.table":"onUncheckAll","uncheck-some.bs.table":"onUncheckSome","uncheck.bs.table":"onUncheck","virtual-scroll.bs.table":"onVirtualScroll"},LOCALES:{en:Pc,"en-US":Pc},METHODS:["getOptions","refreshOptions","getData","getFooterData","getSelections","load","append","prepend","remove","removeAll","insertRow","updateRow","getRowByUniqueId","updateByUniqueId","removeByUniqueId","updateCell","updateCellByUniqueId","showRow","hideRow","getHiddenRows","showColumn","hideColumn","getVisibleColumns","getHiddenColumns","showAllColumns","hideAllColumns","mergeCells","checkAll","uncheckAll","checkInvert","check","uncheck","checkBy","uncheckBy","refresh","destroy","resetView","showLoading","hideLoading","togglePagination","toggleFullscreen","toggleView","resetSearch","filterBy","sortBy","sortReset","scrollTo","getScrollPosition","selectPage","prevPage","nextPage","toggleDetailView","expandRow","collapseRow","expandRowByUniqueId","collapseRowByUniqueId","expandAllRows","collapseAllRows","updateColumnTitle","updateFormatText"],THEME:"bootstrap".concat(Nc),VERSION:"1.23.5"},Fc=function(){return n((function t(e){var n=this;r(this,t),this.rows=e.rows,this.scrollEl=e.scrollEl,this.contentEl=e.contentEl,this.callback=e.callback,this.itemHeight=e.itemHeight,this.cache={},this.scrollTop=this.scrollEl.scrollTop,this.initDOM(this.rows,e.fixedScroll),this.scrollEl.scrollTop=this.scrollTop,this.lastCluster=0;var i=function(){n.lastCluster!==(n.lastCluster=n.getNum())&&(n.initDOM(n.rows),n.callback(n.startIndex,n.endIndex))};this.scrollEl.addEventListener("scroll",i,!1),this.destroy=function(){n.contentEl.innerHtml="",n.scrollEl.removeEventListener("scroll",i,!1)}}),[{key:"initDOM",value:function(t,e){void 0===this.clusterHeight?(this.cache.scrollTop=this.scrollEl.scrollTop,this.cache.data=this.contentEl.innerHTML=t[0]+t[0]+t[0],this.getRowsHeight(t)):0===this.blockHeight&&this.getRowsHeight(t);var r=this.initData(t,this.getNum(e)),n=r.rows.join(""),i=this.checkChanges("data",n),o=this.checkChanges("top",r.topOffset),a=this.checkChanges("bottom",r.bottomOffset),s=[];i&&o?(r.topOffset&&s.push(this.getExtra("top",r.topOffset)),s.push(n),r.bottomOffset&&s.push(this.getExtra("bottom",r.bottomOffset)),this.startIndex=r.start,this.endIndex=r.end,this.contentEl.innerHTML=s.join(""),e&&(this.contentEl.scrollTop=this.cache.scrollTop)):a&&(this.contentEl.lastChild.style.height="".concat(r.bottomOffset,"px"))}},{key:"getRowsHeight",value:function(){if(void 0===this.itemHeight||0===this.itemHeight){var t=this.contentEl.children,e=t[Math.floor(t.length/2)];this.itemHeight=e.offsetHeight}this.blockHeight=50*this.itemHeight,this.clusterRows=200,this.clusterHeight=4*this.blockHeight}},{key:"getNum",value:function(t){return this.scrollTop=t?this.cache.scrollTop:this.scrollEl.scrollTop,Math.floor(this.scrollTop/(this.clusterHeight-this.blockHeight))||0}},{key:"initData",value:function(t,e){if(t.length<50)return{topOffset:0,bottomOffset:0,rowsAbove:0,rows:t};var r=Math.max((this.clusterRows-50)*e,0),n=r+this.clusterRows,i=Math.max(r*this.itemHeight,0),o=Math.max((t.length-n)*this.itemHeight,0),a=[],s=r;i<1&&s++;for(var c=r;c<n;c++)t[c]&&a.push(t[c]);return{start:r,end:n,topOffset:i,bottomOffset:o,rowsAbove:s,rows:a}}},{key:"checkChanges",value:function(t,e){var r=e!==this.cache[t];return this.cache[t]=e,r}},{key:"getExtra",value:function(t,e){var r=document.createElement("tr");return r.className="virtual-scroll-".concat(t),e&&(r.style.height="".concat(e,"px")),r.outerHTML}}])}(),jc=function(){function e(n,i){r(this,e),this.options=i,this.$el=t(n),this.$el_=this.$el.clone(),this.timeoutId_=0,this.timeoutFooter_=0}return n(e,[{key:"init",value:function(){this.initConstants(),this.initLocale(),this.initContainer(),this.initTable(),this.initHeader(),this.initData(),this.initHiddenRows(),this.initToolbar(),this.initPagination(),this.initBody(),this.initSearchText(),this.initServer()}},{key:"initConstants",value:function(){var e=this.options;this.constants=Ic.CONSTANTS,this.constants.theme=t.fn.bootstrapTable.theme,this.constants.dataToggle=this.constants.html.dataToggle||"data-toggle";var r=Oc.getIconsPrefix(t.fn.bootstrapTable.theme);"string"==typeof e.icons&&(e.icons=Oc.calculateObjectValue(null,e.icons)),e.iconsPrefix=e.iconsPrefix||t.fn.bootstrapTable.defaults.iconsPrefix||r,e.icons=Object.assign(Oc.getIcons(e.iconsPrefix),t.fn.bootstrapTable.defaults.icons,e.icons);var n=e.buttonsPrefix?"".concat(e.buttonsPrefix,"-"):"";this.constants.buttonsClass=[e.buttonsPrefix,n+e.buttonsClass,Oc.sprintf("".concat(n,"%s"),e.iconSize)].join(" ").trim(),this.buttons=Oc.calculateObjectValue(this,e.buttons,[],{}),"object"!==f(this.buttons)&&(this.buttons={})}},{key:"initLocale",value:function(){if(this.options.locale){var r=t.fn.bootstrapTable.locales,n=this.options.locale.split(/-|_/);n[0]=n[0].toLowerCase(),n[1]&&(n[1]=n[1].toUpperCase());var i={};r[this.options.locale]?i=r[this.options.locale]:r[n.join("-")]?i=r[n.join("-")]:r[n[0]]&&(i=r[n[0]]),this._defaultLocales=this._defaultLocales||{};for(var o=0,a=Object.entries(i);o<a.length;o++){var s=c(a[o],2),l=s[0],u=s[1],f=this._defaultLocales.hasOwnProperty(l)?this._defaultLocales[l]:e.DEFAULTS[l];this.options[l]===f&&(this.options[l]=u,this._defaultLocales[l]=u)}}}},{key:"initContainer",value:function(){var e=["top","both"].includes(this.options.paginationVAlign)?'<div class="fixed-table-pagination clearfix"></div>':"",r=["bottom","both"].includes(this.options.paginationVAlign)?'<div class="fixed-table-pagination"></div>':"",n=Oc.calculateObjectValue(this.options,this.options.loadingTemplate,[this.options.formatLoadingMessage()]);this.$container=t('\n <div class="bootstrap-table '.concat(this.constants.theme,'">\n <div class="fixed-table-toolbar"></div>\n ').concat(e,'\n <div class="fixed-table-container">\n <div class="fixed-table-header"><table></table></div>\n <div class="fixed-table-body">\n <div class="fixed-table-loading">\n ').concat(n,'\n </div>\n </div>\n <div class="fixed-table-footer"></div>\n </div>\n ').concat(r,"\n </div>\n ")),this.$container.insertAfter(this.$el),this.$tableContainer=this.$container.find(".fixed-table-container"),this.$tableHeader=this.$container.find(".fixed-table-header"),this.$tableBody=this.$container.find(".fixed-table-body"),this.$tableLoading=this.$container.find(".fixed-table-loading"),this.$tableFooter=this.$el.find("tfoot"),this.options.buttonsToolbar?this.$toolbar=t("body").find(this.options.buttonsToolbar):this.$toolbar=this.$container.find(".fixed-table-toolbar"),this.$pagination=this.$container.find(".fixed-table-pagination"),this.$tableBody.append(this.$el),this.$container.after('<div class="clearfix"></div>'),this.$el.addClass(this.options.classes),this.$tableLoading.addClass(this.options.classes),this.options.height&&(this.$tableContainer.addClass("fixed-height"),this.options.showFooter&&this.$tableContainer.addClass("has-footer"),this.options.classes.split(" ").includes("table-bordered")&&(this.$tableBody.append('<div class="fixed-table-border"></div>'),this.$tableBorder=this.$tableBody.find(".fixed-table-border"),this.$tableLoading.addClass("fixed-table-border")),this.$tableFooter=this.$container.find(".fixed-table-footer"))}},{key:"initTable",value:function(){var r=this,n=[];if(this.$header=this.$el.find(">thead"),this.$header.length?this.options.theadClasses&&this.$header.addClass(this.options.theadClasses):this.$header=t('<thead class="'.concat(this.options.theadClasses,'"></thead>')).appendTo(this.$el),this._headerTrClasses=[],this._headerTrStyles=[],this.$header.find("tr").each((function(e,i){var o=t(i),a=[];o.find("th").each((function(e,r){var n=t(r);void 0!==n.data("field")&&n.data("field","".concat(n.data("field")));var i=Object.assign({},n.data());for(var o in i)t.fn.bootstrapTable.columnDefaults.hasOwnProperty(o)&&delete i[o];a.push(Oc.extend({},{_data:Oc.getRealDataAttr(i),title:n.html(),class:n.attr("class"),titleTooltip:n.attr("title"),rowspan:n.attr("rowspan")?+n.attr("rowspan"):void 0,colspan:n.attr("colspan")?+n.attr("colspan"):void 0},n.data()))})),n.push(a),o.attr("class")&&r._headerTrClasses.push(o.attr("class")),o.attr("style")&&r._headerTrStyles.push(o.attr("style"))})),Array.isArray(this.options.columns[0])||(this.options.columns=[this.options.columns]),this.options.columns=Oc.extend(!0,[],n,this.options.columns),this.columns=[],this.fieldsColumnsIndex=[],Oc.setFieldIndex(this.options.columns),this.options.columns.forEach((function(t,n){t.forEach((function(t,i){var o=Oc.extend({},e.COLUMN_DEFAULTS,t,{passed:t});void 0!==o.fieldIndex&&(r.columns[o.fieldIndex]=o,r.fieldsColumnsIndex[o.field]=o.fieldIndex),r.options.columns[n][i]=o}))})),!this.options.data.length){var i=Oc.trToData(this.columns,this.$el.find(">tbody>tr"));i.length&&(this.options.data=i,this.fromHtml=!0)}this.options.pagination&&"server"!==this.options.sidePagination||(this.footerData=Oc.trToData(this.columns,this.$el.find(">tfoot>tr"))),this.footerData&&this.$el.find("tfoot").html("<tr></tr>"),!this.options.showFooter||this.options.cardView?this.$tableFooter.hide():this.$tableFooter.show()}},{key:"initHeader",value:function(){var e=this,r={},n=[];this.header={fields:[],styles:[],classes:[],formatters:[],detailFormatters:[],events:[],sorters:[],sortNames:[],cellStyles:[],searchables:[]},Oc.updateFieldGroup(this.options.columns,this.columns),this.options.columns.forEach((function(t,i){var o=[];o.push("<tr".concat(Oc.sprintf(' class="%s"',e._headerTrClasses[i])," ").concat(Oc.sprintf(' style="%s"',e._headerTrStyles[i]),">"));var a="";if(0===i&&Oc.hasDetailViewIcon(e.options)){var s=e.options.columns.length>1?' rowspan="'.concat(e.options.columns.length,'"'):"";a='<th class="detail"'.concat(s,'>\n <div class="fht-cell"></div>\n </th>')}a&&"right"!==e.options.detailViewAlign&&o.push(a),t.forEach((function(t,n){var a=Oc.sprintf(' class="%s"',t.class),s=t.widthUnit,l=parseFloat(t.width),u=t.halign?t.halign:t.align,h=Oc.sprintf("text-align: %s; ",u),d=Oc.sprintf("text-align: %s; ",t.align),p=Oc.sprintf("vertical-align: %s; ",t.valign);if(p+=Oc.sprintf("width: %s; ",!t.checkbox&&!t.radio||l?l?l+s:void 0:t.showSelectTitle?void 0:"36px"),void 0!==t.fieldIndex||t.visible){var v=Oc.calculateObjectValue(null,e.options.headerStyle,[t]),g=[],m=[],b="";if(v&&v.css)for(var y=0,w=Object.entries(v.css);y<w.length;y++){var S=c(w[y],2),x=S[0],k=S[1];g.push("".concat(x,": ").concat(k))}if(v&&v.classes&&(b=Oc.sprintf(' class="%s"',t.class?[t.class,v.classes].join(" "):v.classes)),void 0!==t.fieldIndex){if(e.header.fields[t.fieldIndex]=t.field,e.header.styles[t.fieldIndex]=d+p,e.header.classes[t.fieldIndex]=t.class,e.header.formatters[t.fieldIndex]=t.formatter,e.header.detailFormatters[t.fieldIndex]=t.detailFormatter,e.header.events[t.fieldIndex]=t.events,e.header.sorters[t.fieldIndex]=t.sorter,e.header.sortNames[t.fieldIndex]=t.sortName,e.header.cellStyles[t.fieldIndex]=t.cellStyle,e.header.searchables[t.fieldIndex]=t.searchable,!t.visible)return;if(e.options.cardView&&!t.cardVisible)return;r[t.field]=t}if(Object.keys(t._data||{}).length>0)for(var T=0,A=Object.entries(t._data);T<A.length;T++){var E=c(A[T],2),_=E[0],O=E[1];m.push("data-".concat(_,"='").concat("object"===f(O)?JSON.stringify(O):O,"'"))}o.push("<th".concat(Oc.sprintf(' title="%s"',t.titleTooltip)),t.checkbox||t.radio?Oc.sprintf(' class="bs-checkbox %s"',t.class||""):b||a,Oc.sprintf(' style="%s"',h+p+g.join("; ")||void 0),Oc.sprintf(' rowspan="%s"',t.rowspan),Oc.sprintf(' colspan="%s"',t.colspan),Oc.sprintf(' data-field="%s"',t.field),0===n&&i>0?" data-not-first-th":"",m.length>0?m.join(" "):"",">"),o.push(Oc.sprintf('<div class="th-inner %s">',e.options.sortable&&t.sortable?"sortable".concat("center"===u?" sortable-center":""," both"):""));var N=e.options.escape&&e.options.escapeTitle?Oc.escapeHTML(t.title):t.title,C=N;t.checkbox&&(N="",!e.options.singleSelect&&e.options.checkboxHeader&&(N='<label><input name="btSelectAll" type="checkbox" /><span></span></label>'),e.header.stateField=t.field),t.radio&&(N="",e.header.stateField=t.field),!N&&t.showSelectTitle&&(N+=C),o.push(N),o.push("</div>"),o.push('<div class="fht-cell"></div>'),o.push("</div>"),o.push("</th>")}})),a&&"right"===e.options.detailViewAlign&&o.push(a),o.push("</tr>"),o.length>3&&n.push(o.join(""))})),this.$header.html(n.join("")),this.$header.find("th[data-field]").each((function(e,n){t(n).data(r[t(n).data("field")])})),this.$container.off("click",".th-inner").on("click",".th-inner",(function(r){var n=t(r.currentTarget);if(e.options.detailView&&!n.parent().hasClass("bs-checkbox")&&n.closest(".bootstrap-table")[0]!==e.$container[0])return!1;e.options.sortable&&n.parent().data().sortable&&e.onSort(r)}));var i=Oc.getEventName("resize.bootstrap-table",this.$el.attr("id"));t(window).off(i),!this.options.showHeader||this.options.cardView?(this.$header.hide(),this.$tableHeader.hide(),this.$tableLoading.css("top",0)):(this.$header.show(),this.$tableHeader.show(),this.$tableLoading.css("top",this.$header.outerHeight()+1),this.getCaret(),t(window).on(i,(function(){return e.resetView()}))),this.$selectAll=this.$header.find('[name="btSelectAll"]'),this.$selectAll.off("click").on("click",(function(r){r.stopPropagation();var n=t(r.currentTarget).prop("checked");e[n?"checkAll":"uncheckAll"](),e.updateSelected()}))}},{key:"initData",value:function(t,e){"append"===e?this.options.data=this.options.data.concat(t):"prepend"===e?this.options.data=[].concat(t).concat(this.options.data):(t=t||Oc.deepCopy(this.options.data),this.options.data=Array.isArray(t)?t:t[this.options.dataField]),this.data=l(this.options.data),this.options.sortReset&&(this.unsortedData=l(this.data)),"server"!==this.options.sidePagination&&this.initSort()}},{key:"initSort",value:function(){var t=this,e=this.options.sortName,r="desc"===this.options.sortOrder?-1:1,n=this.header.fields.indexOf(this.options.sortName),i=0;-1!==n?(this.options.sortStable&&this.data.forEach((function(t,e){t.hasOwnProperty("_position")||(t._position=e)})),this.options.customSort?Oc.calculateObjectValue(this.options,this.options.customSort,[this.options.sortName,this.options.sortOrder,this.data]):this.data.sort((function(i,o){t.header.sortNames[n]&&(e=t.header.sortNames[n]);var a=Oc.getItemField(i,e,t.options.escape),s=Oc.getItemField(o,e,t.options.escape),c=Oc.calculateObjectValue(t.header,t.header.sorters[n],[a,s,i,o]);return void 0!==c?t.options.sortStable&&0===c?r*(i._position-o._position):r*c:Oc.sort(a,s,r,t.options,i._position,o._position)})),void 0!==this.options.sortClass&&(clearTimeout(i),i=setTimeout((function(){t.$el.removeClass(t.options.sortClass);var e=t.$header.find('[data-field="'.concat(t.options.sortName,'"]')).index();t.$el.find("tr td:nth-child(".concat(e+1,")")).addClass(t.options.sortClass)}),250))):this.options.sortReset&&(this.data=l(this.unsortedData))}},{key:"sortReset",value:function(){this.options.sortName=void 0,this.options.sortOrder=void 0,this._sort()}},{key:"sortBy",value:function(t){this.options.sortName=t.field,this.options.sortOrder=t.hasOwnProperty("sortOrder")?t.sortOrder:"asc",this._sort()}},{key:"onSort",value:function(e){var r=e.type,n=e.currentTarget,i="keypress"===r?t(n):t(n).parent(),o=this.$header.find("th").eq(i.index());if(this.$header.add(this.$header_).find("span.order").remove(),this.options.sortName===i.data("field")){var a=this.options.sortOrder,s=this.columns[this.fieldsColumnsIndex[i.data("field")]].sortOrder||this.columns[this.fieldsColumnsIndex[i.data("field")]].order;void 0===a?this.options.sortOrder="asc":"asc"===a?this.options.sortOrder=this.options.sortReset?"asc"===s?"desc":void 0:"desc":"desc"===this.options.sortOrder&&(this.options.sortOrder=this.options.sortReset?"desc"===s?"asc":void 0:"asc"),void 0===this.options.sortOrder&&(this.options.sortName=void 0)}else this.options.sortName=i.data("field"),this.options.rememberOrder?this.options.sortOrder="asc"===i.data("order")?"desc":"asc":this.options.sortOrder=this.columns[this.fieldsColumnsIndex[i.data("field")]].sortOrder||this.columns[this.fieldsColumnsIndex[i.data("field")]].order;i.add(o).data("order",this.options.sortOrder),this.getCaret(),this._sort()}},{key:"_sort",value:function(){if("server"===this.options.sidePagination&&this.options.serverSort)return this.options.pageNumber=1,this.trigger("sort",this.options.sortName,this.options.sortOrder),void this.initServer(this.options.silentSort);this.options.pagination&&this.options.sortResetPage&&(this.options.pageNumber=1,this.initPagination()),this.trigger("sort",this.options.sortName,this.options.sortOrder),this.initSort(),this.initBody()}},{key:"initToolbar",value:function(){var e,r=this,n=this.options,o=[],a=0,s=0;this.$toolbar.find(".bs-bars").children().length&&t("body").append(t(n.toolbar)),this.$toolbar.html(""),"string"!=typeof n.toolbar&&"object"!==f(n.toolbar)||t(Oc.sprintf('<div class="bs-bars %s-%s"></div>',this.constants.classes.pull,n.toolbarAlign)).appendTo(this.$toolbar).append(t(n.toolbar)),o=['<div class="'.concat(["columns","columns-".concat(n.buttonsAlign),this.constants.classes.buttonsGroup,"".concat(this.constants.classes.pull,"-").concat(n.buttonsAlign)].join(" "),'">')],"string"==typeof n.buttonsOrder&&(n.buttonsOrder=n.buttonsOrder.replace(/\[|\]| |'/g,"").split(",")),this.buttons=Object.assign(this.buttons,{paginationSwitch:{text:n.pagination?n.formatPaginationSwitchUp():n.formatPaginationSwitchDown(),icon:n.pagination?n.icons.paginationSwitchDown:n.icons.paginationSwitchUp,render:!1,event:this.togglePagination,attributes:{"aria-label":n.formatPaginationSwitch(),title:n.formatPaginationSwitch()}},refresh:{text:n.formatRefresh(),icon:n.icons.refresh,render:!1,event:this.refresh,attributes:{"aria-label":n.formatRefresh(),title:n.formatRefresh()}},toggle:{text:n.formatToggleOn(),icon:n.icons.toggleOff,render:!1,event:this.toggleView,attributes:{"aria-label":n.formatToggleOn(),title:n.formatToggleOn()}},fullscreen:{text:n.formatFullscreen(),icon:n.icons.fullscreen,render:!1,event:this.toggleFullscreen,attributes:{"aria-label":n.formatFullscreen(),title:n.formatFullscreen()}},columns:{render:!1,html:function(){var t=[];if(t.push('<div class="keep-open '.concat(r.constants.classes.buttonsDropdown,'">\n <button class="').concat(r.constants.buttonsClass,' dropdown-toggle" type="button" ').concat(r.constants.dataToggle,'="dropdown"\n aria-label="').concat(n.formatColumns(),'" ').concat(n.buttonsAttributeTitle,'="').concat(n.formatColumns(),'">\n ').concat(n.showButtonIcons?Oc.sprintf(r.constants.html.icon,n.iconsPrefix,n.icons.columns):"","\n ").concat(n.showButtonText?n.formatColumns():"","\n ").concat(r.constants.html.dropdownCaret,"\n </button>\n ").concat(r.constants.html.toolbarDropdown[0])),n.showColumnsSearch&&(t.push(Oc.sprintf(r.constants.html.toolbarDropdownItem,Oc.sprintf('<input type="text" class="%s" name="columnsSearch" placeholder="%s" autocomplete="off">',r.constants.classes.input,n.formatSearch()))),t.push(r.constants.html.toolbarDropdownSeparator)),n.showColumnsToggleAll){var e=r.getVisibleColumns().length===r.columns.filter((function(t){return!r.isSelectionColumn(t)})).length;t.push(Oc.sprintf(r.constants.html.toolbarDropdownItem,Oc.sprintf('<input type="checkbox" class="toggle-all" %s> <span>%s</span>',e?'checked="checked"':"",n.formatColumnsToggleAll()))),t.push(r.constants.html.toolbarDropdownSeparator)}var i=0;return r.columns.forEach((function(t){t.visible&&i++})),r.columns.forEach((function(e,o){if(!r.isSelectionColumn(e)&&(!n.cardView||e.cardVisible)){var a=e.visible?' checked="checked"':"",c=i<=n.minimumCountColumns&&a?' disabled="disabled"':"";e.switchable&&(t.push(Oc.sprintf(r.constants.html.toolbarDropdownItem,Oc.sprintf('<input type="checkbox" data-field="%s" value="%s"%s%s> <span>%s</span>',e.field,o,a,c,e.switchableLabel||e.title))),s++)}})),t.push(r.constants.html.toolbarDropdown[1],"</div>"),t.join("")}}});for(var l={},u=0,h=Object.entries(this.buttons);u<h.length;u++){var d=c(h[u],2),p=d[0],v=d[1],g=void 0;if(v.hasOwnProperty("html"))"function"==typeof v.html?g=v.html():"string"==typeof v.html&&(g=v.html);else{var m=this.constants.buttonsClass;if(v.hasOwnProperty("attributes")&&v.attributes.class&&(m+=" ".concat(v.attributes.class)),g='<button class="'.concat(m,'" type="button" name="').concat(p,'"'),v.hasOwnProperty("attributes"))for(var b=0,y=Object.entries(v.attributes);b<y.length;b++){var w=c(y[b],2),S=w[0],x=w[1];if("class"!==S){var k="title"===S?this.options.buttonsAttributeTitle:S;g+=" ".concat(k,'="').concat(x,'"')}}g+=">",n.showButtonIcons&&v.hasOwnProperty("icon")&&(g+="".concat(Oc.sprintf(this.constants.html.icon,n.iconsPrefix,v.icon)," ")),n.showButtonText&&v.hasOwnProperty("text")&&(g+=v.text),g+="</button>"}l[p]=g;var T="show".concat(p.charAt(0).toUpperCase()).concat(p.substring(1)),A=n[T];!(!v.hasOwnProperty("render")||v.hasOwnProperty("render")&&v.render)||void 0!==A&&!0!==A||(n[T]=!0),n.buttonsOrder.includes(p)||n.buttonsOrder.push(p)}var E,_=i(n.buttonsOrder);try{for(_.s();!(E=_.n()).done;){var O=E.value;n["show".concat(O.charAt(0).toUpperCase()).concat(O.substring(1))]&&o.push(l[O])}}catch(t){_.e(t)}finally{_.f()}o.push("</div>"),(this.showToolbar||o.length>2)&&this.$toolbar.append(o.join(""));for(var N=function(){var t=c(R[C],2),e=t[0],n=t[1];if(n.hasOwnProperty("event")){if("function"==typeof n.event||"string"==typeof n.event){var i="string"==typeof n.event?window[n.event]:n.event;return r.$toolbar.find('button[name="'.concat(e,'"]')).off("click").on("click",(function(){return i.call(r)})),1}for(var o=function(){var t=c(s[a],2),n=t[0],i=t[1],o="string"==typeof i?window[i]:i;r.$toolbar.find('button[name="'.concat(e,'"]')).off(n).on(n,(function(){return o.call(r)}))},a=0,s=Object.entries(n.event);a<s.length;a++)o()}},C=0,R=Object.entries(this.buttons);C<R.length;C++)N();if(n.showColumns){var P=(e=this.$toolbar.find(".keep-open")).find('input[type="checkbox"]:not(".toggle-all")'),L=e.find('input[type="checkbox"].toggle-all');if(s<=n.minimumCountColumns&&e.find("input").prop("disabled",!0),e.find("li, label").off("click").on("click",(function(t){t.stopImmediatePropagation()})),P.off("click").on("click",(function(e){var n=e.currentTarget,i=t(n);r._toggleColumn(i.val(),i.prop("checked"),!1),r.trigger("column-switch",i.data("field"),i.prop("checked")),L.prop("checked",P.filter(":checked").length===r.columns.filter((function(t){return!r.isSelectionColumn(t)})).length)})),L.off("click").on("click",(function(e){var n=e.currentTarget;r._toggleAllColumns(t(n).prop("checked")),r.trigger("column-switch-all",t(n).prop("checked"))})),n.showColumnsSearch){var I=e.find('[name="columnsSearch"]'),F=e.find(".dropdown-item-marker");I.on("keyup paste change",(function(e){var r=e.currentTarget,n=t(r).val().toLowerCase();F.show(),P.each((function(e,r){var i=t(r).parents(".dropdown-item-marker");i.text().toLowerCase().includes(n)||i.hide()}))}))}}var j=function(t){var e=t.is("select")?"change":"keyup drop blur mouseup";t.off(e).on(e,(function(t){n.searchOnEnterKey&&13!==t.keyCode||[37,38,39,40].includes(t.keyCode)||(clearTimeout(a),a=setTimeout((function(){r.onSearch({currentTarget:t.currentTarget})}),n.searchTimeOut))}))};if((n.search||this.showSearchClearButton)&&"string"!=typeof n.searchSelector){o=[];var D=Oc.sprintf(this.constants.html.searchButton,this.constants.buttonsClass,n.formatSearch(),n.showButtonIcons?Oc.sprintf(this.constants.html.icon,n.iconsPrefix,n.icons.search):"",n.showButtonText?n.formatSearch():""),M=Oc.sprintf(this.constants.html.searchClearButton,this.constants.buttonsClass,n.formatClearSearch(),n.showButtonIcons?Oc.sprintf(this.constants.html.icon,n.iconsPrefix,n.icons.clearSearch):"",n.showButtonText?n.formatClearSearch():""),B='<input class="'.concat(this.constants.classes.input,"\n ").concat(Oc.sprintf(" %s%s",this.constants.classes.inputPrefix,n.iconSize),'\n search-input" type="search" aria-label="').concat(n.formatSearch(),'" placeholder="').concat(n.formatSearch(),'" autocomplete="off">'),W=B;if(n.showSearchButton||n.showSearchClearButton){var U=(n.showSearchButton?D:"")+(n.showSearchClearButton?M:"");W=n.search?Oc.sprintf(this.constants.html.inputGroup,B,U):U}o.push(Oc.sprintf('\n <div class="'.concat(this.constants.classes.pull,"-").concat(n.searchAlign," search ").concat(this.constants.classes.inputGroup,'">\n %s\n </div>\n '),W)),this.$toolbar.append(o.join(""));var H=Oc.getSearchInput(this);n.showSearchButton?(this.$toolbar.find(".search button[name=search]").off("click").on("click",(function(){clearTimeout(a),a=setTimeout((function(){r.onSearch({currentTarget:H})}),n.searchTimeOut)})),n.searchOnEnterKey&&j(H)):j(H),n.showSearchClearButton&&this.$toolbar.find(".search button[name=clearSearch]").click((function(){r.resetSearch()}))}else"string"==typeof n.searchSelector&&j(Oc.getSearchInput(this))}},{key:"onSearch",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.currentTarget,n=e.firedByInitSearchText,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(void 0!==r&&t(r).length&&i){var o=t(r).val().trim();if(this.options.trimOnSearch&&t(r).val()!==o&&t(r).val(o),this.searchText===o)return;var a=Oc.getSearchInput(this),s=r instanceof jQuery?r:t(r);(s.is(a)||s.hasClass("search-input"))&&(this.searchText=o,this.options.searchText=o)}n||(this.options.pageNumber=1),this.initSearch(),n?"client"===this.options.sidePagination&&this.updatePagination():this.updatePagination(),this.trigger("search",this.searchText)}},{key:"initSearch",value:function(){var e=this;if(this.filterOptions=this.filterOptions||this.options.filterOptions,"server"!==this.options.sidePagination){if(this.options.customSearch)return this.data=Oc.calculateObjectValue(this.options,this.options.customSearch,[this.options.data,this.searchText,this.filterColumns]),this.options.sortReset&&(this.unsortedData=l(this.data)),void this.initSort();var r=this.searchText&&(this.fromHtml?Oc.escapeHTML(this.searchText):this.searchText),n=r?r.toLowerCase():"",i=Oc.isEmptyObject(this.filterColumns)?null:this.filterColumns;this.options.searchAccentNeutralise&&(n=Oc.normalizeAccent(n)),"function"==typeof this.filterOptions.filterAlgorithm?this.data=this.options.data.filter((function(t){return e.filterOptions.filterAlgorithm.apply(null,[t,i])})):"string"==typeof this.filterOptions.filterAlgorithm&&(this.data=i?this.options.data.filter((function(t){var r=e.filterOptions.filterAlgorithm;if("and"===r){for(var n in i)if(Array.isArray(i[n])&&!i[n].includes(t[n])||!Array.isArray(i[n])&&t[n]!==i[n])return!1}else if("or"===r){var o=!1;for(var a in i)(Array.isArray(i[a])&&i[a].includes(t[a])||!Array.isArray(i[a])&&t[a]===i[a])&&(o=!0);return o}return!0})):l(this.options.data));var o=this.getVisibleFields();this.data=n?this.data.filter((function(i,a){for(var s=0;s<e.header.fields.length;s++)if(e.header.searchables[s]&&(!e.options.visibleSearch||-1!==o.indexOf(e.header.fields[s]))){var c=Oc.isNumeric(e.header.fields[s])?parseInt(e.header.fields[s],10):e.header.fields[s],l=e.columns[e.fieldsColumnsIndex[c]],u=void 0;if("string"!=typeof c||i.hasOwnProperty(c))u=i[c];else{u=i;for(var f=c.split("."),h=0;h<f.length;h++){if(null===u[f[h]]||void 0===u[f[h]]){u=null;break}u=u[f[h]]}}if(e.options.searchAccentNeutralise&&(u=Oc.normalizeAccent(u)),l&&l.searchFormatter&&(u=Oc.calculateObjectValue(l,e.header.formatters[s],[u,i,a,l.field],u),e.header.formatters[s]&&"number"!=typeof u&&(u=t("<div>").html(u).text())),"string"==typeof u||"number"==typeof u){if(e.options.strictSearch&&"".concat(u).toLowerCase()===n||e.options.regexSearch&&Oc.regexCompare(u,r))return!0;var d=/(?:(<=|=>|=<|>=|>|<)(?:\s+)?(-?\d+)?|(-?\d+)?(\s+)?(<=|=>|=<|>=|>|<))/gm.exec(e.searchText),p=!1;if(d){var v=d[1]||"".concat(d[5],"l"),g=d[2]||d[3],m=parseInt(u,10),b=parseInt(g,10);switch(v){case">":case"<l":p=m>b;break;case"<":case">l":p=m<b;break;case"<=":case"=<":case">=l":case"=>l":p=m<=b;break;case">=":case"=>":case"<=l":case"=<l":p=m>=b}}if(p||"".concat(u).toLowerCase().includes(n))return!0}}return!1})):this.data,this.options.sortReset&&(this.unsortedData=l(this.data)),this.initSort()}}},{key:"initPagination",value:function(){var t=this,e=this.options;if(e.pagination){this.$pagination.show();var r,n,i,o,a,s,c,l=[],u=!1,f=this.getData({includeHiddenRows:!1}),h=e.pageList;if("string"==typeof h&&(h=h.replace(/\[|\]| /g,"").toLowerCase().split(",")),h=h.map((function(t){return"string"==typeof t?t.toLowerCase()===e.formatAllRows().toLowerCase()||["all","unlimited"].includes(t.toLowerCase())?e.formatAllRows():+t:t})),this.paginationParts=e.paginationParts,"string"==typeof this.paginationParts&&(this.paginationParts=this.paginationParts.replace(/\[|\]| |'/g,"").split(",")),"server"!==e.sidePagination&&(e.totalRows=f.length),this.totalPages=0,e.totalRows&&(e.pageSize===e.formatAllRows()&&(e.pageSize=e.totalRows,u=!0),this.totalPages=1+~~((e.totalRows-1)/e.pageSize),e.totalPages=this.totalPages),this.totalPages>0&&e.pageNumber>this.totalPages&&(e.pageNumber=this.totalPages),this.pageFrom=(e.pageNumber-1)*e.pageSize+1,this.pageTo=e.pageNumber*e.pageSize,this.pageTo>e.totalRows&&(this.pageTo=e.totalRows),this.options.pagination&&"server"!==this.options.sidePagination&&(this.options.totalNotFiltered=this.options.data.length),this.options.showExtendedPagination||(this.options.totalNotFiltered=void 0),(this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")||this.paginationParts.includes("pageSize"))&&l.push('<div class="'.concat(this.constants.classes.pull,"-").concat(e.paginationDetailHAlign,' pagination-detail">')),this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")){var d=this.options.totalRows+("client"===this.options.sidePagination&&this.options.paginationLoadMore&&!this._paginationLoaded?" +":""),p=this.paginationParts.includes("pageInfoShort")?e.formatDetailPagination(d):e.formatShowingRows(this.pageFrom,this.pageTo,d,e.totalNotFiltered);l.push('<span class="pagination-info">\n '.concat(p,"\n </span>"))}if(this.paginationParts.includes("pageSize")){l.push('<div class="page-list">');var v=['<div class="'.concat(this.constants.classes.paginationDropdown,'">\n <button class="').concat(this.constants.buttonsClass,' dropdown-toggle" type="button" ').concat(this.constants.dataToggle,'="dropdown">\n <span class="page-size">\n ').concat(u?e.formatAllRows():e.pageSize,"\n </span>\n ").concat(this.constants.html.dropdownCaret,"\n </button>\n ").concat(this.constants.html.pageDropdown[0])];h.forEach((function(r,n){var i;(!e.smartDisplay||0===n||h[n-1]<e.totalRows||r===e.formatAllRows())&&(i=u?r===e.formatAllRows()?t.constants.classes.dropdownActive:"":r===e.pageSize?t.constants.classes.dropdownActive:"",v.push(Oc.sprintf(t.constants.html.pageDropdownItem,i,r)))})),v.push("".concat(this.constants.html.pageDropdown[1],"</div>")),l.push(e.formatRecordsPerPage(v.join("")))}if((this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")||this.paginationParts.includes("pageSize"))&&l.push("</div></div>"),this.paginationParts.includes("pageList")){l.push('<div class="'.concat(this.constants.classes.pull,"-").concat(e.paginationHAlign,' pagination">'),Oc.sprintf(this.constants.html.pagination[0],Oc.sprintf(" pagination-%s",e.iconSize)),Oc.sprintf(this.constants.html.paginationItem," page-pre",e.formatSRPaginationPreText(),e.paginationPreText)),this.totalPages<e.paginationSuccessivelySize?(n=1,i=this.totalPages):i=(n=e.pageNumber-e.paginationPagesBySide)+2*e.paginationPagesBySide,e.pageNumber<e.paginationSuccessivelySize-1&&(i=e.paginationSuccessivelySize),e.paginationSuccessivelySize>this.totalPages-n&&(n=n-(e.paginationSuccessivelySize-(this.totalPages-n))+1),n<1&&(n=1),i>this.totalPages&&(i=this.totalPages);var g=Math.round(e.paginationPagesBySide/2),m=function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Oc.sprintf(t.constants.html.paginationItem,n+(r===e.pageNumber?" ".concat(t.constants.classes.paginationActive):""),e.formatSRPaginationPageText(r),r)};if(n>1){var b=e.paginationPagesBySide;for(b>=n&&(b=n-1),r=1;r<=b;r++)l.push(m(r));n-1===b+1?(r=n-1,l.push(m(r))):n-1>b&&(n-2*e.paginationPagesBySide>e.paginationPagesBySide&&e.paginationUseIntermediate?(r=Math.round((n-g)/2+g),l.push(m(r," page-intermediate"))):l.push(Oc.sprintf(this.constants.html.paginationItem," page-first-separator disabled","","...")))}for(r=n;r<=i;r++)l.push(m(r));if(this.totalPages>i){var y=this.totalPages-(e.paginationPagesBySide-1);for(i>=y&&(y=i+1),i+1===y-1?(r=i+1,l.push(m(r))):y>i+1&&(this.totalPages-i>2*e.paginationPagesBySide&&e.paginationUseIntermediate?(r=Math.round((this.totalPages-g-i)/2+i),l.push(m(r," page-intermediate"))):l.push(Oc.sprintf(this.constants.html.paginationItem," page-last-separator disabled","","..."))),r=y;r<=this.totalPages;r++)l.push(m(r))}l.push(Oc.sprintf(this.constants.html.paginationItem," page-next",e.formatSRPaginationNextText(),e.paginationNextText)),l.push(this.constants.html.pagination[1],"</div>")}this.$pagination.html(l.join(""));var w=["bottom","both"].includes(e.paginationVAlign)?" ".concat(this.constants.classes.dropup):"";this.$pagination.last().find(".page-list > div").addClass(w),e.onlyInfoPagination||(o=this.$pagination.find(".page-list a"),a=this.$pagination.find(".page-pre"),s=this.$pagination.find(".page-next"),c=this.$pagination.find(".page-item").not(".page-next, .page-pre, .page-last-separator, .page-first-separator"),this.totalPages<=1&&this.$pagination.find("div.pagination").hide(),e.smartDisplay&&(h.length<2||e.totalRows<=h[0])&&this.$pagination.find("div.page-list").hide(),this.$pagination[this.getData().length?"show":"hide"](),e.paginationLoop||(1===e.pageNumber&&a.addClass("disabled"),e.pageNumber===this.totalPages&&s.addClass("disabled")),u&&(e.pageSize=e.formatAllRows()),o.off("click").on("click",(function(e){return t.onPageListChange(e)})),a.off("click").on("click",(function(e){return t.onPagePre(e)})),s.off("click").on("click",(function(e){return t.onPageNext(e)})),c.off("click").on("click",(function(e){return t.onPageNumber(e)})))}else this.$pagination.hide()}},{key:"updatePagination",value:function(e){e&&t(e.currentTarget).hasClass("disabled")||(this.options.maintainMetaData||this.resetRows(),this.initPagination(),this.trigger("page-change",this.options.pageNumber,this.options.pageSize),"server"===this.options.sidePagination||"client"===this.options.sidePagination&&this.options.paginationLoadMore&&!this._paginationLoaded&&this.options.pageNumber===this.totalPages?this.initServer():this.initBody())}},{key:"onPageListChange",value:function(e){e.preventDefault();var r=t(e.currentTarget);return r.parent().addClass(this.constants.classes.dropdownActive).siblings().removeClass(this.constants.classes.dropdownActive),this.options.pageSize=r.text().toUpperCase()===this.options.formatAllRows().toUpperCase()?this.options.formatAllRows():+r.text(),this.$toolbar.find(".page-size").text(this.options.pageSize),this.updatePagination(e),!1}},{key:"onPagePre",value:function(e){if(!t(e.target).hasClass("disabled"))return e.preventDefault(),this.options.pageNumber-1==0?this.options.pageNumber=this.options.totalPages:this.options.pageNumber--,this.updatePagination(e),!1}},{key:"onPageNext",value:function(e){if(!t(e.target).hasClass("disabled"))return e.preventDefault(),this.options.pageNumber+1>this.options.totalPages?this.options.pageNumber=1:this.options.pageNumber++,this.updatePagination(e),!1}},{key:"onPageNumber",value:function(e){if(e.preventDefault(),this.options.pageNumber!==+t(e.currentTarget).text())return this.options.pageNumber=+t(e.currentTarget).text(),this.updatePagination(e),!1}},{key:"initRow",value:function(e,r,n,i){var o=this;if(!(Oc.findIndex(this.hiddenRows,e)>-1)){var a=Oc.calculateObjectValue(this.options,this.options.rowStyle,[e,r],{}),u=Oc.calculateObjectValue(this.options,this.options.rowAttributes,[e,r],{}),h={};if(e._data&&!Oc.isEmptyObject(e._data))for(var d=0,p=Object.entries(e._data);d<p.length;d++){var v=c(p[d],2),g=v[0],m=v[1];if("index"===g)return;h["data-".concat(g)]="object"===f(m)?JSON.stringify(m):m}var b=Oc.h("tr",s(s({},u),{},{id:Array.isArray(e)?void 0:e._id,class:a&&a.classes||(Array.isArray(e)?void 0:e._class),style:a&&a.css||(Array.isArray(e)?void 0:e._style),"data-index":r,"data-uniqueid":Oc.getItemField(e,this.options.uniqueId,!1),"data-has-detail-view":this.options.detailView&&Oc.calculateObjectValue(null,this.options.detailFilter,[r,e])?"true":void 0},h)),y=[],w="";Oc.hasDetailViewIcon(this.options)&&(w=Oc.h("td"),Oc.calculateObjectValue(null,this.options.detailFilter,[r,e])&&w.append(Oc.h("a",{class:"detail-icon",href:"#",html:Oc.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailOpen)}))),w&&"right"!==this.options.detailViewAlign&&y.push(w);var S=this.header.fields.map((function(n,i){var a=o.columns[i],s=Oc.getItemField(e,n,o.options.escape,a.escape),u="",f={class:o.header.classes[i]?[o.header.classes[i]]:[],style:o.header.styles[i]?[o.header.styles[i]]:[]};if((!o.fromHtml&&!o.autoMergeCells||void 0!==s||a.checkbox||a.radio)&&a.visible&&(!o.options.cardView||a.cardVisible)){for(var h=0,d=["class","style","id","rowspan","colspan","title"];h<d.length;h++){var p=d[h],v=p["_".concat(n,"_").concat(p)];v&&(f[p]?f[p].push(v):f[p]=v)}var g=Oc.calculateObjectValue(o.header,o.header.cellStyles[i],[s,e,r,n],{});if(g.classes&&f.class.push(g.classes),g.css&&f.style.push(g.css),u=Oc.calculateObjectValue(a,o.header.formatters[i],[s,e,r,n],s),a.checkbox||a.radio||(u=null==u?o.options.undefinedText:u),a.searchable&&o.searchText&&o.options.searchHighlight&&!a.checkbox&&!a.radio){var m=o.searchText.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");if(o.options.searchAccentNeutralise&&"string"==typeof u){var b=new RegExp("".concat(Oc.normalizeAccent(m)),"gmi").exec(Oc.normalizeAccent(u));b&&(m=u.substring(b.index,b.index+m.length))}var y=Oc.replaceSearchMark(u,m);u=Oc.calculateObjectValue(a,a.searchHighlightFormatter,[u,o.searchText],y)}if(e["_".concat(n,"_data")]&&!Oc.isEmptyObject(e["_".concat(n,"_data")]))for(var w=0,S=Object.entries(e["_".concat(n,"_data")]);w<S.length;w++){var x=c(S[w],2),k=x[0],T=x[1];if("index"===k)return;f["data-".concat(k)]=T}if(a.checkbox||a.radio){var A=a.checkbox?"checkbox":"radio",E=Oc.isObject(u)&&u.hasOwnProperty("checked")?u.checked:(!0===u||s)&&!1!==u,_=!a.checkboxEnabled||u&&u.disabled,O=o.header.formatters[i]&&("string"==typeof u||u instanceof Node||u instanceof t)?Oc.htmlToNodes(u):[];return e[o.header.stateField]=!0===u||!!s||u&&u.checked,Oc.h(o.options.cardView?"div":"td",{class:[o.options.cardView?"card-view":"bs-checkbox",a.class],style:o.options.cardView?void 0:f.style},[Oc.h("label",{},[Oc.h("input",{"data-index":r,name:o.options.selectItemName,type:A,value:e[o.options.idField],checked:E?"checked":void 0,disabled:_?"disabled":void 0}),Oc.h("span")])].concat(l(O)))}if(o.options.cardView){if(o.options.smartDisplay&&""===u)return Oc.h("div",{class:"card-view"});var N=o.options.showHeader?Oc.h("span",{class:["card-view-title",g.classes],style:f.style,html:Oc.getFieldTitle(o.columns,n)}):"";return Oc.h("div",{class:"card-view"},[N,Oc.h("span",{class:["card-view-value",g.classes],style:f.style},l(Oc.htmlToNodes(u)))])}return Oc.h("td",f,l(Oc.htmlToNodes(u)))}})).filter((function(t){return t}));return y.push.apply(y,l(S)),w&&"right"===this.options.detailViewAlign&&y.push(w),this.options.cardView?b.append(Oc.h("td",{colspan:this.header.fields.length},[Oc.h("div",{class:"card-views"},y)])):b.append.apply(b,y),b}}},{key:"initBody",value:function(e,r){var n=this,i=this.getData();this.trigger("pre-body",i),this.$body=this.$el.find(">tbody"),this.$body.length||(this.$body=t("<tbody></tbody>").appendTo(this.$el)),this.options.pagination&&"server"!==this.options.sidePagination||(this.pageFrom=1,this.pageTo=i.length);var o=[],a=t(document.createDocumentFragment()),s=!1,c=[];this.autoMergeCells=Oc.checkAutoMergeCells(i.slice(this.pageFrom-1,this.pageTo));for(var l=this.pageFrom-1;l<this.pageTo;l++){var u=i[l],f=this.initRow(u,l,i,a);if(s=s||!!f,f&&f instanceof Node){var h=this.options.uniqueId,d=[f];if(h&&u.hasOwnProperty(h)){var p=u[h],v=this.$body.find(Oc.sprintf('> tr[data-uniqueid="%s"][data-has-detail-view]',p)).next();v.is("tr.detail-view")&&(c.push(l),r&&p===r||d.push(v[0]))}this.options.virtualScroll?o.push(t("<div>").html(d).html()):a.append(d)}}this.$el.removeAttr("role"),s?this.options.virtualScroll?(this.virtualScroll&&this.virtualScroll.destroy(),this.virtualScroll=new Fc({rows:o,fixedScroll:e,scrollEl:this.$tableBody[0],contentEl:this.$body[0],itemHeight:this.options.virtualScrollItemHeight,callback:function(t,e){n.fitHeader(),n.initBodyEvent(),n.trigger("virtual-scroll",t,e)}})):this.$body.html(a):(this.$body.html('<tr class="no-records-found">'.concat(Oc.sprintf('<td colspan="%s">%s</td>',this.getVisibleFields().length+Oc.getDetailViewIndexOffset(this.options),this.options.formatNoMatches()),"</tr>")),this.$el.attr("role","presentation")),c.forEach((function(t){n.expandRow(t)})),e||this.scrollTo(0),this.initBodyEvent(),this.initFooter(),this.resetView(),this.updateSelected(),"server"!==this.options.sidePagination&&(this.options.totalRows=i.length),this.trigger("post-body",i)}},{key:"initBodyEvent",value:function(){var e=this;this.$body.find("> tr[data-index] > td").off("click dblclick").on("click dblclick",(function(r){var n=t(r.currentTarget);if(!(n.find(".detail-icon").length||n.index()-Oc.getDetailViewIndexOffset(e.options)<0)){var i=n.parent(),o=t(r.target).parents(".card-views").children(),a=t(r.target).parents(".card-view"),s=i.data("index"),c=e.data[s],l=e.options.cardView?o.index(a):n[0].cellIndex,u=e.getVisibleFields()[l-Oc.getDetailViewIndexOffset(e.options)],f=e.columns[e.fieldsColumnsIndex[u]],h=Oc.getItemField(c,u,e.options.escape,f.escape);if(e.trigger("click"===r.type?"click-cell":"dbl-click-cell",u,h,c,n),e.trigger("click"===r.type?"click-row":"dbl-click-row",c,i,u),"click"===r.type&&e.options.clickToSelect&&f.clickToSelect&&!Oc.calculateObjectValue(e.options,e.options.ignoreClickToSelectOn,[r.target])){var d=i.find(Oc.sprintf('[name="%s"]',e.options.selectItemName));d.length&&d[0].click()}"click"===r.type&&e.options.detailViewByClick&&e.toggleDetailView(s,e.header.detailFormatters[e.fieldsColumnsIndex[u]])}})).off("mousedown").on("mousedown",(function(t){e.multipleSelectRowCtrlKey=t.ctrlKey||t.metaKey,e.multipleSelectRowShiftKey=t.shiftKey})),this.$body.find("> tr[data-index] > td > .detail-icon").off("click").on("click",(function(r){return r.preventDefault(),e.toggleDetailView(t(r.currentTarget).parent().parent().data("index")),!1})),this.$selectItem=this.$body.find(Oc.sprintf('[name="%s"]',this.options.selectItemName)),this.$selectItem.off("click").on("click",(function(r){r.stopImmediatePropagation();var n=t(r.currentTarget);e._toggleCheck(n.prop("checked"),n.data("index"))})),this.header.events.forEach((function(r,n){var i=r;if(i){if("string"==typeof i&&(i=Oc.calculateObjectValue(null,i)),!i)throw new Error("Unknown event in the scope: ".concat(r));var o=e.header.fields[n],a=e.getVisibleFields().indexOf(o);if(-1!==a){a+=Oc.getDetailViewIndexOffset(e.options);var s=function(r){if(!i.hasOwnProperty(r))return 1;var n=i[r];e.$body.find(">tr:not(.no-records-found)").each((function(i,s){var c=t(s),l=c.find(e.options.cardView?".card-views>.card-view":">td").eq(a),u=r.indexOf(" "),f=r.substring(0,u),h=r.substring(u+1);l.find(h).off(f).on(f,(function(t){var r=c.data("index"),i=e.data[r],a=i[o];n.apply(e,[t,a,i,r])}))}))};for(var c in i)s(c)}}}))}},{key:"initServer",value:function(e,r){var n=this,o={},a=this.header.fields.indexOf(this.options.sortName),s={searchText:this.searchText,sortName:this.options.sortName,sortOrder:this.options.sortOrder};if(this.header.sortNames[a]&&(s.sortName=this.header.sortNames[a]),this.options.pagination&&"server"===this.options.sidePagination&&(s.pageSize=this.options.pageSize===this.options.formatAllRows()?this.options.totalRows:this.options.pageSize,s.pageNumber=this.options.pageNumber),this.options.url||this.options.ajax){if("limit"===this.options.queryParamsType&&(s={search:s.searchText,sort:s.sortName,order:s.sortOrder},this.options.pagination&&"server"===this.options.sidePagination&&(s.offset=this.options.pageSize===this.options.formatAllRows()?0:this.options.pageSize*(this.options.pageNumber-1),s.limit=this.options.pageSize,0!==s.limit&&this.options.pageSize!==this.options.formatAllRows()||delete s.limit)),this.options.search&&"server"===this.options.sidePagination&&this.options.searchable&&this.columns.filter((function(t){return t.searchable})).length){s.searchable=[];var c,l=i(this.columns);try{for(l.s();!(c=l.n()).done;){var u=c.value;!u.checkbox&&u.searchable&&(this.options.visibleSearch&&u.visible||!this.options.visibleSearch)&&s.searchable.push(u.field)}}catch(t){l.e(t)}finally{l.f()}}if(Oc.isEmptyObject(this.filterColumnsPartial)||(s.filter=JSON.stringify(this.filterColumnsPartial,null)),Oc.extend(s,r||{}),!1!==(o=Oc.calculateObjectValue(this.options,this.options.queryParams,[s],o))){e||this.showLoading();var f=Oc.extend({},Oc.calculateObjectValue(null,this.options.ajaxOptions),{type:this.options.method,url:this.options.url,data:"application/json"===this.options.contentType&&"post"===this.options.method?JSON.stringify(o):o,cache:this.options.cache,contentType:this.options.contentType,dataType:this.options.dataType,success:function(t,r,i){var o=Oc.calculateObjectValue(n.options,n.options.responseHandler,[t,i],t);"client"===n.options.sidePagination&&n.options.paginationLoadMore&&(n._paginationLoaded=n.data.length===o.length),n.load(o),n.trigger("load-success",o,i&&i.status,i),e||n.hideLoading(),"server"===n.options.sidePagination&&n.options.pageNumber>1&&o[n.options.totalField]>0&&!o[n.options.dataField].length&&n.updatePagination()},error:function(t){if(t&&0===t.status&&n._xhrAbort)n._xhrAbort=!1;else{var r=[];"server"===n.options.sidePagination&&((r={})[n.options.totalField]=0,r[n.options.dataField]=[]),n.load(r),n.trigger("load-error",t&&t.status,t),e||n.hideLoading()}}});return this.options.ajax?Oc.calculateObjectValue(this,this.options.ajax,[f],null):(this._xhr&&4!==this._xhr.readyState&&(this._xhrAbort=!0,this._xhr.abort()),this._xhr=t.ajax(f)),o}}}},{key:"initSearchText",value:function(){if(this.options.search&&(this.searchText="",""!==this.options.searchText)){var t=Oc.getSearchInput(this);t.val(this.options.searchText),this.onSearch({currentTarget:t,firedByInitSearchText:!0})}}},{key:"getCaret",value:function(){var e=this;this.$header.find("th").each((function(r,n){t(n).find(".sortable").removeClass("desc asc").addClass(t(n).data("field")===e.options.sortName?e.options.sortOrder:"both")}))}},{key:"updateSelected",value:function(){var e=this.$selectItem.filter(":enabled").length&&this.$selectItem.filter(":enabled").length===this.$selectItem.filter(":enabled").filter(":checked").length;this.$selectAll.add(this.$selectAll_).prop("checked",e),this.$selectItem.each((function(e,r){t(r).closest("tr")[t(r).prop("checked")?"addClass":"removeClass"]("selected")}))}},{key:"updateRows",value:function(){var e=this;this.$selectItem.each((function(r,n){e.data[t(n).data("index")][e.header.stateField]=t(n).prop("checked")}))}},{key:"resetRows",value:function(){var t,e=i(this.data);try{for(e.s();!(t=e.n()).done;){var r=t.value;this.$selectAll.prop("checked",!1),this.$selectItem.prop("checked",!1),this.header.stateField&&(r[this.header.stateField]=!1)}}catch(t){e.e(t)}finally{e.f()}this.initHiddenRows()}},{key:"trigger",value:function(r){for(var n,i,o="".concat(r,".bs.table"),a=arguments.length,s=new Array(a>1?a-1:0),c=1;c<a;c++)s[c-1]=arguments[c];(n=this.options)[e.EVENTS[o]].apply(n,[].concat(s,[this])),this.$el.trigger(t.Event(o,{sender:this}),s),(i=this.options).onAll.apply(i,[o].concat([].concat(s,[this]))),this.$el.trigger(t.Event("all.bs.table",{sender:this}),[o,s])}},{key:"resetHeader",value:function(){var t=this;clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout((function(){return t.fitHeader()}),this.$el.is(":hidden")?100:0)}},{key:"fitHeader",value:function(){var e=this;if(this.$el.is(":hidden"))this.timeoutId_=setTimeout((function(){return e.fitHeader()}),100);else{var r=this.$tableBody.get(0),n=this.hasScrollBar&&r.scrollHeight>r.clientHeight+this.$header.outerHeight()?Oc.getScrollBarWidth():0;this.$el.css("margin-top",-this.$header.outerHeight());var i=this.$tableHeader.find(":focus");if(i.length>0){var o=i.parents("th");if(o.length>0){var a=o.attr("data-field");if(void 0!==a){var s=this.$header.find("[data-field='".concat(a,"']"));s.length>0&&s.find(":input").addClass("focus-temp")}}}this.$header_=this.$header.clone(!0,!0),this.$selectAll_=this.$header_.find('[name="btSelectAll"]'),this.$tableHeader.css("margin-right",n).find("table").css("width",this.$el.outerWidth()).html("").attr("class",this.$el.attr("class")).append(this.$header_),this.$tableLoading.css("width",this.$el.outerWidth());var c=t(".focus-temp:visible:eq(0)");c.length>0&&(c.focus(),this.$header.find(".focus-temp").removeClass("focus-temp")),this.$header.find("th[data-field]").each((function(r,n){e.$header_.find(Oc.sprintf('th[data-field="%s"]',t(n).data("field"))).data(t(n).data())}));for(var l=this.getVisibleFields(),u=this.$header_.find("th"),f=this.$body.find(">tr:not(.no-records-found,.virtual-scroll-top)").eq(0);f.length&&f.find('>td[colspan]:not([colspan="1"])').length;)f=f.next();var h=f.find("> *").length;f.find("> *").each((function(r,n){var i=t(n);if(Oc.hasDetailViewIcon(e.options)&&(0===r&&"right"!==e.options.detailViewAlign||r===h-1&&"right"===e.options.detailViewAlign)){var o=u.filter(".detail"),a=o.innerWidth()-o.find(".fht-cell").width();o.find(".fht-cell").width(i.innerWidth()-a)}else{var s=r-Oc.getDetailViewIndexOffset(e.options),c=e.$header_.find(Oc.sprintf('th[data-field="%s"]',l[s]));c.length>1&&(c=t(u[i[0].cellIndex]));var f=c.innerWidth()-c.find(".fht-cell").width();c.find(".fht-cell").width(i.innerWidth()-f)}})),this.horizontalScroll(),this.trigger("post-header")}}},{key:"initFooter",value:function(){if(this.options.showFooter&&!this.options.cardView){var t=this.getData(),e=[],r="";Oc.hasDetailViewIcon(this.options)&&(r=Oc.h("th",{class:"detail"},[Oc.h("div",{class:"th-inner"}),Oc.h("div",{class:"fht-cell"})])),r&&"right"!==this.options.detailViewAlign&&e.push(r);var n,o=i(this.columns);try{for(o.s();!(n=o.n()).done;){var a=n.value,c=this.footerData&&this.footerData.length>0;if(a.visible&&(!c||a.field in this.footerData[0])){if(this.options.cardView&&!a.cardVisible)return;var u=Oc.calculateObjectValue(null,a.footerStyle||this.options.footerStyle,[a]),f=u&&u.css||{},h=c&&this.footerData[0]["_".concat(a.field,"_colspan")]||0,d=c&&this.footerData[0][a.field]||"";d=Oc.calculateObjectValue(a,a.footerFormatter,[t,d],d),e.push(Oc.h("th",{class:[a.class,u&&u.classes],style:s({"text-align":a.falign?a.falign:a.align,"vertical-align":a.valign},f),colspan:h||void 0},[Oc.h("div",{class:"th-inner"},l(Oc.htmlToNodes(d))),Oc.h("div",{class:"fht-cell"})]))}}}catch(t){o.e(t)}finally{o.f()}r&&"right"===this.options.detailViewAlign&&e.push(r),this.options.height||this.$tableFooter.length||(this.$el.append("<tfoot><tr></tr></tfoot>"),this.$tableFooter=this.$el.find("tfoot")),this.$tableFooter.find("tr").length||this.$tableFooter.html("<table><thead><tr></tr></thead></table>"),this.$tableFooter.find("tr").html(e),this.trigger("post-footer",this.$tableFooter)}}},{key:"fitFooter",value:function(){var e=this;if(this.$el.is(":hidden"))setTimeout((function(){return e.fitFooter()}),100);else{var r=this.$tableBody.get(0),n=this.hasScrollBar&&r.scrollHeight>r.clientHeight+this.$header.outerHeight()?Oc.getScrollBarWidth():0;this.$tableFooter.css("margin-right",n).find("table").css("width",this.$el.outerWidth()).attr("class",this.$el.attr("class"));var i=this.$tableFooter.find("th"),o=this.$body.find(">tr:first-child:not(.no-records-found)");for(i.find(".fht-cell").width("auto");o.length&&o.find('>td[colspan]:not([colspan="1"])').length;)o=o.next();var a=o.find("> *").length;o.find("> *").each((function(r,n){var o=t(n);if(Oc.hasDetailViewIcon(e.options)&&(0===r&&"left"===e.options.detailViewAlign||r===a-1&&"right"===e.options.detailViewAlign)){var s=i.filter(".detail"),c=s.innerWidth()-s.find(".fht-cell").width();s.find(".fht-cell").width(o.innerWidth()-c)}else{var l=i.eq(r),u=l.innerWidth()-l.find(".fht-cell").width();l.find(".fht-cell").width(o.innerWidth()-u)}})),this.horizontalScroll()}}},{key:"horizontalScroll",value:function(){var t=this;this.$tableBody.off("scroll").on("scroll",(function(){var e=t.$tableBody.scrollLeft();t.options.showHeader&&t.options.height&&t.$tableHeader.scrollLeft(e),t.options.showFooter&&!t.options.cardView&&t.$tableFooter.scrollLeft(e),t.trigger("scroll-body",t.$tableBody)}))}},{key:"getVisibleFields",value:function(){var t,e=[],r=i(this.header.fields);try{for(r.s();!(t=r.n()).done;){var n=t.value,o=this.columns[this.fieldsColumnsIndex[n]];o&&o.visible&&(!this.options.cardView||o.cardVisible)&&e.push(n)}}catch(t){r.e(t)}finally{r.f()}return e}},{key:"initHiddenRows",value:function(){this.hiddenRows=[]}},{key:"getOptions",value:function(){var t=Oc.extend({},this.options);return delete t.data,Oc.extend(!0,{},t)}},{key:"refreshOptions",value:function(t){Oc.compareObjects(this.options,t,!0)||(this.options=Oc.extend(this.options,t),this.trigger("refresh-options",this.options),this.destroy(),this.init())}},{key:"getData",value:function(t){var e=this,r=this.options.data;if(!(this.searchText||this.options.customSearch||void 0!==this.options.sortName||this.enableCustomSort)&&Oc.isEmptyObject(this.filterColumns)&&"function"!=typeof this.options.filterOptions.filterAlgorithm&&Oc.isEmptyObject(this.filterColumnsPartial)||t&&t.unfiltered||(r=this.data),t&&!t.includeHiddenRows){var n=this.getHiddenRows();r=r.filter((function(t){return-1===Oc.findIndex(n,t)}))}return t&&t.useCurrentPage&&(r=r.slice(this.pageFrom-1,this.pageTo)),t&&t.formatted?r.map((function(t){for(var r={},n=0,i=Object.entries(t);n<i.length;n++){var o=c(i[n],2),a=o[0],s=o[1],l=e.columns[e.fieldsColumnsIndex[a]];l&&(r[a]=Oc.calculateObjectValue(l,e.header.formatters[l.fieldIndex],[s,t,t.index,l.field],s))}return r})):r}},{key:"getFooterData",value:function(){var t;return null!==(t=this.footerData)&&void 0!==t?t:[]}},{key:"getSelections",value:function(){var t=this;return(this.options.maintainMetaData?this.options.data:this.data).filter((function(e){return!0===e[t.header.stateField]}))}},{key:"load",value:function(t){var e,r=t;this.options.pagination&&"server"===this.options.sidePagination&&(this.options.totalRows=r[this.options.totalField],this.options.totalNotFiltered=r[this.options.totalNotFilteredField],this.footerData=r[this.options.footerField]?[r[this.options.footerField]]:void 0),e=this.options.fixedScroll||r.fixedScroll,r=Array.isArray(r)?r:r[this.options.dataField],this.initData(r),this.initSearch(),this.initPagination(),this.initBody(e)}},{key:"append",value:function(t){this.initData(t,"append"),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"prepend",value:function(t){this.initData(t,"prepend"),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"remove",value:function(t){for(var e=0,r=this.options.data.length-1;r>=0;r--){var n=this.options.data[r],i=Oc.getItemField(n,t.field,this.options.escape,n.escape);void 0===i&&"$index"!==t.field||(!n.hasOwnProperty(t.field)&&"$index"===t.field&&t.values.includes(r)||t.values.includes(i))&&(e++,this.options.data.splice(r,1))}e&&("server"===this.options.sidePagination&&(this.options.totalRows-=e,this.data=l(this.options.data)),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0))}},{key:"removeAll",value:function(){this.options.data.length>0&&(this.data.splice(0,this.data.length),this.options.data.splice(0,this.options.data.length),this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"insertRow",value:function(t){if(t.hasOwnProperty("index")&&t.hasOwnProperty("row")){var e=this.data[t.index],r=this.options.data.indexOf(e);this.data.splice(t.index,0,t.row),this.options.data.splice(r,0,t.row),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}}},{key:"updateRow",value:function(t){var e,r=i(Array.isArray(t)?t:[t]);try{for(r.s();!(e=r.n()).done;){var n=e.value;if(n.hasOwnProperty("index")&&n.hasOwnProperty("row")){var o=this.data[n.index],a=this.options.data.indexOf(o);n.hasOwnProperty("replace")&&n.replace?(this.data[n.index]=n.row,this.options.data[a]=n.row):(Oc.extend(this.data[n.index],n.row),Oc.extend(this.options.data[a],n.row))}}}catch(t){r.e(t)}finally{r.f()}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"getRowByUniqueId",value:function(t){var e,r,n=this.options.uniqueId,i=t,o=null;for(e=this.options.data.length-1;e>=0;e--){r=this.options.data[e];var a=Oc.getItemField(r,n,this.options.escape,r.escape);if(void 0!==a&&("string"==typeof a?i=t.toString():"number"==typeof a&&(Number(a)===a&&a%1==0?i=parseInt(t,10):a===Number(a)&&0!==a&&(i=parseFloat(t))),a===i)){o=r;break}}return o}},{key:"updateByUniqueId",value:function(t){var e,r=null,n=i(Array.isArray(t)?t:[t]);try{for(n.s();!(e=n.n()).done;){var o=e.value;if(o.hasOwnProperty("id")&&o.hasOwnProperty("row")){var a=this.options.data.indexOf(this.getRowByUniqueId(o.id));-1!==a&&(o.hasOwnProperty("replace")&&o.replace?this.options.data[a]=o.row:Oc.extend(this.options.data[a],o.row),r=o.id)}}}catch(t){n.e(t)}finally{n.f()}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0,r)}},{key:"removeByUniqueId",value:function(t){var e=this.options.data.length,r=this.getRowByUniqueId(t);r&&this.options.data.splice(this.options.data.indexOf(r),1),e!==this.options.data.length&&("server"===this.options.sidePagination&&(this.options.totalRows-=1,this.data=l(this.options.data)),this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"_updateCellOnly",value:function(e,r){var n=this.initRow(this.data[r],r),i=this.getVisibleFields().indexOf(e);-1!==i&&(i+=Oc.getDetailViewIndexOffset(this.options),this.$body.find(">tr[data-index=".concat(r,"]")).find(">td:eq(".concat(i,")")).replaceWith(t(n).find(">td:eq(".concat(i,")"))),this.initBodyEvent(),this.initFooter(),this.resetView(),this.updateSelected())}},{key:"updateCell",value:function(t){if(t.hasOwnProperty("index")&&t.hasOwnProperty("field")&&t.hasOwnProperty("value")){var e=this.data[t.index],r=this.options.data.indexOf(e);this.data[t.index][t.field]=t.value,this.options.data[r][t.field]=t.value,!1!==t.reinit?(this.initSort(),this.initBody(!0)):this._updateCellOnly(t.field,t.index)}}},{key:"updateCellByUniqueId",value:function(t){var e=this;(Array.isArray(t)?t:[t]).forEach((function(t){var r=t.id,n=t.field,i=t.value,o=e.options.data.indexOf(e.getRowByUniqueId(r));-1!==o&&(e.options.data[o][n]=i)})),!1!==t.reinit?(this.initSort(),this.initBody(!0)):this._updateCellOnly(t.field,this.options.data.indexOf(this.getRowByUniqueId(t.id)))}},{key:"showRow",value:function(t){this._toggleRow(t,!0)}},{key:"hideRow",value:function(t){this._toggleRow(t,!1)}},{key:"_toggleRow",value:function(t,e){var r;if(t.hasOwnProperty("index")?r=this.getData()[t.index]:t.hasOwnProperty("uniqueId")&&(r=this.getRowByUniqueId(t.uniqueId)),r){var n=Oc.findIndex(this.hiddenRows,r);e||-1!==n?e&&n>-1&&this.hiddenRows.splice(n,1):this.hiddenRows.push(r),this.initBody(!0),this.initPagination()}}},{key:"getHiddenRows",value:function(t){if(t)return this.initHiddenRows(),this.initBody(!0),void this.initPagination();var e,r=[],n=i(this.getData());try{for(n.s();!(e=n.n()).done;){var o=e.value;this.hiddenRows.includes(o)&&r.push(o)}}catch(t){n.e(t)}finally{n.f()}return this.hiddenRows=r,r}},{key:"showColumn",value:function(t){var e=this;(Array.isArray(t)?t:[t]).forEach((function(t){e._toggleColumn(e.fieldsColumnsIndex[t],!0,!0)}))}},{key:"hideColumn",value:function(t){var e=this;(Array.isArray(t)?t:[t]).forEach((function(t){e._toggleColumn(e.fieldsColumnsIndex[t],!1,!0)}))}},{key:"_toggleColumn",value:function(t,e,r){if(void 0!==t&&this.columns[t].visible!==e&&(this.columns[t].visible=e,this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns)){var n=this.$toolbar.find('.keep-open input:not(".toggle-all")').prop("disabled",!1);r&&n.filter(Oc.sprintf('[value="%s"]',t)).prop("checked",e),n.filter(":checked").length<=this.options.minimumCountColumns&&n.filter(":checked").prop("disabled",!0)}}},{key:"getVisibleColumns",value:function(){var t=this;return this.columns.filter((function(e){return e.visible&&!t.isSelectionColumn(e)}))}},{key:"getHiddenColumns",value:function(){return this.columns.filter((function(t){return!t.visible}))}},{key:"isSelectionColumn",value:function(t){return t.radio||t.checkbox}},{key:"showAllColumns",value:function(){this._toggleAllColumns(!0)}},{key:"hideAllColumns",value:function(){this._toggleAllColumns(!1)}},{key:"_toggleAllColumns",value:function(e){var r,n=this,o=i(this.columns.slice().reverse());try{for(o.s();!(r=o.n()).done;){var a=r.value;if(a.switchable){if(!e&&this.options.showColumns&&this.getVisibleColumns().filter((function(t){return t.switchable})).length===this.options.minimumCountColumns)continue;a.visible=e}}}catch(t){o.e(t)}finally{o.f()}if(this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns){var s=this.$toolbar.find('.keep-open input[type="checkbox"]:not(".toggle-all")').prop("disabled",!1);e?s.prop("checked",e):s.get().reverse().forEach((function(r){s.filter(":checked").length>n.options.minimumCountColumns&&t(r).prop("checked",e)})),s.filter(":checked").length<=this.options.minimumCountColumns&&s.filter(":checked").prop("disabled",!0)}}},{key:"mergeCells",value:function(t){var e,r,n=t.index,i=this.getVisibleFields().indexOf(t.field),o=+t.rowspan||1,a=+t.colspan||1,s=this.$body.find(">tr[data-index]");i+=Oc.getDetailViewIndexOffset(this.options);var c=s.eq(n).find(">td").eq(i);if(!(n<0||i<0||n>=this.data.length)){for(e=n;e<n+o;e++)for(r=i;r<i+a;r++)s.eq(e).find(">td").eq(r).hide();c.attr("rowspan",o).attr("colspan",a).show()}}},{key:"checkAll",value:function(){this._toggleCheckAll(!0)}},{key:"uncheckAll",value:function(){this._toggleCheckAll(!1)}},{key:"_toggleCheckAll",value:function(t){var e=this.getSelections();this.$selectAll.add(this.$selectAll_).prop("checked",t),this.$selectItem.filter(":enabled").prop("checked",t),this.updateRows(),this.updateSelected();var r=this.getSelections();t?this.trigger("check-all",r,e):this.trigger("uncheck-all",r,e)}},{key:"checkInvert",value:function(){var e=this.$selectItem.filter(":enabled"),r=e.filter(":checked");e.each((function(e,r){t(r).prop("checked",!t(r).prop("checked"))})),this.updateRows(),this.updateSelected(),this.trigger("uncheck-some",r),r=this.getSelections(),this.trigger("check-some",r)}},{key:"check",value:function(t){this._toggleCheck(!0,t)}},{key:"uncheck",value:function(t){this._toggleCheck(!1,t)}},{key:"_toggleCheck",value:function(t,e){var r=this.$selectItem.filter('[data-index="'.concat(e,'"]')),n=this.data[e];if(r.is(":radio")||this.options.singleSelect||this.options.multipleSelectRow&&!this.multipleSelectRowCtrlKey&&!this.multipleSelectRowShiftKey){var o,a=i(this.options.data);try{for(a.s();!(o=a.n()).done;){o.value[this.header.stateField]=!1}}catch(t){a.e(t)}finally{a.f()}this.$selectItem.filter(":checked").not(r).prop("checked",!1)}if(n[this.header.stateField]=t,this.options.multipleSelectRow){if(this.multipleSelectRowShiftKey&&this.multipleSelectRowLastSelectedIndex>=0)for(var s=c(this.multipleSelectRowLastSelectedIndex<e?[this.multipleSelectRowLastSelectedIndex,e]:[e,this.multipleSelectRowLastSelectedIndex],2),l=s[0],u=s[1],f=l+1;f<u;f++)this.data[f][this.header.stateField]=!0,this.$selectItem.filter('[data-index="'.concat(f,'"]')).prop("checked",!0);this.multipleSelectRowCtrlKey=!1,this.multipleSelectRowShiftKey=!1,this.multipleSelectRowLastSelectedIndex=t?e:-1}r.prop("checked",t),this.updateSelected(),this.trigger(t?"check":"uncheck",this.data[e],r)}},{key:"checkBy",value:function(t){this._toggleCheckBy(!0,t)}},{key:"uncheckBy",value:function(t){this._toggleCheckBy(!1,t)}},{key:"_toggleCheckBy",value:function(t,e){var r=this;if(e.hasOwnProperty("field")&&e.hasOwnProperty("values")){var n=[];this.data.forEach((function(i,o){if(!i.hasOwnProperty(e.field))return!1;if(e.values.includes(i[e.field])){var a=r.$selectItem.filter(":enabled").filter(Oc.sprintf('[data-index="%s"]',o)),s=!!e.hasOwnProperty("onlyCurrentPage")&&e.onlyCurrentPage;if(!(a=t?a.not(":checked"):a.filter(":checked")).length&&s)return;a.prop("checked",t),i[r.header.stateField]=t,n.push(i),r.trigger(t?"check":"uncheck",i,a)}})),this.updateSelected(),this.trigger(t?"check-some":"uncheck-some",n)}}},{key:"refresh",value:function(t){t&&t.url&&(this.options.url=t.url),t&&t.pageNumber&&(this.options.pageNumber=t.pageNumber),t&&t.pageSize&&(this.options.pageSize=t.pageSize),t&&t.query&&(this.options.url=Oc.addQueryToUrl(this.options.url,t.query)),this.trigger("refresh",this.initServer(t&&t.silent))}},{key:"destroy",value:function(){this.$el.insertBefore(this.$container),t(this.options.toolbar).insertBefore(this.$el),this.$container.next().remove(),this.$container.remove(),this.$el.html(this.$el_.html()).css("margin-top","0").attr("class",this.$el_.attr("class")||"");var e=Oc.getEventName("resize.bootstrap-table",this.$el.attr("id"));t(window).off(e)}},{key:"resetView",value:function(t){var e=0;if(t&&t.height&&(this.options.height=t.height),this.$tableContainer.toggleClass("has-card-view",this.options.cardView),this.options.height){var r=this.$tableBody.get(0);this.hasScrollBar=r.scrollWidth>r.clientWidth}if(!this.options.cardView&&this.options.showHeader&&this.options.height?(this.$tableHeader.show(),this.resetHeader(),e+=this.$header.outerHeight(!0)+1):(this.$tableHeader.hide(),this.trigger("post-header")),!this.options.cardView&&this.options.showFooter&&(this.$tableFooter.show(),this.fitFooter(),this.options.height&&(e+=this.$tableFooter.outerHeight(!0))),this.$container.hasClass("fullscreen"))this.$tableContainer.css("height",""),this.$tableContainer.css("width","");else if(this.options.height){this.$tableBorder&&(this.$tableBorder.css("width",""),this.$tableBorder.css("height",""));var n=this.$toolbar.outerHeight(!0),i=this.$pagination.outerHeight(!0),o=this.options.height-n-i,a=this.$tableBody.find(">table"),s=a.outerHeight();if(this.$tableContainer.css("height","".concat(o,"px")),this.$tableBorder&&a.is(":visible")){var c=o-s-2;this.hasScrollBar&&(c-=Oc.getScrollBarWidth()),this.$tableBorder.css("width","".concat(a.outerWidth(),"px")),this.$tableBorder.css("height","".concat(c,"px"))}}this.options.cardView?(this.$el.css("margin-top","0"),this.$tableContainer.css("padding-bottom","0"),this.$tableFooter.hide()):(this.getCaret(),this.$tableContainer.css("padding-bottom","".concat(e,"px"))),this.trigger("reset-view")}},{key:"showLoading",value:function(){this.$tableLoading.toggleClass("open",!0);var t=this.options.loadingFontSize;"auto"===this.options.loadingFontSize&&(t=.04*this.$tableLoading.width(),t=Math.max(12,t),t=Math.min(32,t),t="".concat(t,"px")),this.$tableLoading.find(".loading-text").css("font-size",t)}},{key:"hideLoading",value:function(){this.$tableLoading.toggleClass("open",!1)}},{key:"togglePagination",value:function(){this.options.pagination=!this.options.pagination;var t=this.options.showButtonIcons?this.options.pagination?this.options.icons.paginationSwitchDown:this.options.icons.paginationSwitchUp:"",e=this.options.showButtonText?this.options.pagination?this.options.formatPaginationSwitchUp():this.options.formatPaginationSwitchDown():"";this.$toolbar.find('button[name="paginationSwitch"]').html("".concat(Oc.sprintf(this.constants.html.icon,this.options.iconsPrefix,t)," ").concat(e)),this.updatePagination(),this.trigger("toggle-pagination",this.options.pagination)}},{key:"toggleFullscreen",value:function(){this.$el.closest(".bootstrap-table").toggleClass("fullscreen"),this.resetView()}},{key:"toggleView",value:function(){this.options.cardView=!this.options.cardView,this.initHeader();var t=this.options.showButtonIcons?this.options.cardView?this.options.icons.toggleOn:this.options.icons.toggleOff:"",e=this.options.cardView?this.options.formatToggleOff():this.options.formatToggleOn();this.$toolbar.find('button[name="toggle"]').html("".concat(Oc.sprintf(this.constants.html.icon,this.options.iconsPrefix,t)," ").concat(this.options.showButtonText?e:"")).attr("aria-label",e).attr(this.options.buttonsAttributeTitle,e),this.initBody(),this.trigger("toggle",this.options.cardView)}},{key:"resetSearch",value:function(t){var e=Oc.getSearchInput(this),r=t||"";e.val(r),this.searchText=r,this.onSearch({currentTarget:e},!1)}},{key:"filterBy",value:function(t,e){this.filterOptions=Oc.isEmptyObject(e)?this.options.filterOptions:Oc.extend(this.options.filterOptions,e),this.filterColumns=Oc.isEmptyObject(t)?{}:t,this.options.pageNumber=1,this.initSearch(),this.updatePagination()}},{key:"scrollTo",value:function(e){var r={unit:"px",value:0};"object"===f(e)?r=Object.assign(r,e):"string"==typeof e&&"bottom"===e?r.value=this.$tableBody[0].scrollHeight:"string"!=typeof e&&"number"!=typeof e||(r.value=e);var n=r.value;"rows"===r.unit&&(n=0,this.$body.find("> tr:lt(".concat(r.value,")")).each((function(e,r){n+=t(r).outerHeight(!0)}))),this.$tableBody.scrollTop(n)}},{key:"getScrollPosition",value:function(){return this.$tableBody.scrollTop()}},{key:"selectPage",value:function(t){t>0&&t<=this.options.totalPages&&(this.options.pageNumber=t,this.updatePagination())}},{key:"prevPage",value:function(){this.options.pageNumber>1&&(this.options.pageNumber--,this.updatePagination())}},{key:"nextPage",value:function(){this.options.pageNumber<this.options.totalPages&&(this.options.pageNumber++,this.updatePagination())}},{key:"toggleDetailView",value:function(t,e){this.$body.find(Oc.sprintf('> tr[data-index="%s"]',t)).next().is("tr.detail-view")?this.collapseRow(t):this.expandRow(t,e),this.resetView()}},{key:"expandRow",value:function(t,e){var r=this.data[t],n=this.$body.find(Oc.sprintf('> tr[data-index="%s"][data-has-detail-view]',t));if(this.options.detailViewIcon&&n.find("a.detail-icon").html(Oc.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailClose)),!n.next().is("tr.detail-view")){n.after(Oc.sprintf('<tr class="detail-view"><td colspan="%s"></td></tr>',n.children("td").length));var i=n.next().find("td"),o=e||this.options.detailFormatter,a=Oc.calculateObjectValue(this.options,o,[t,r,i],"");1===i.length&&i.append(a),this.trigger("expand-row",t,r,i)}}},{key:"expandRowByUniqueId",value:function(t){var e=this.getRowByUniqueId(t);e&&this.expandRow(this.data.indexOf(e))}},{key:"collapseRow",value:function(t){var e=this.data[t],r=this.$body.find(Oc.sprintf('> tr[data-index="%s"][data-has-detail-view]',t));r.next().is("tr.detail-view")&&(this.options.detailViewIcon&&r.find("a.detail-icon").html(Oc.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailOpen)),this.trigger("collapse-row",t,e,r.next()),r.next().remove())}},{key:"collapseRowByUniqueId",value:function(t){var e=this.getRowByUniqueId(t);e&&this.collapseRow(this.data.indexOf(e))}},{key:"expandAllRows",value:function(){for(var e=this.$body.find("> tr[data-index][data-has-detail-view]"),r=0;r<e.length;r++)this.expandRow(t(e[r]).data("index"))}},{key:"collapseAllRows",value:function(){for(var e=this.$body.find("> tr[data-index][data-has-detail-view]"),r=0;r<e.length;r++)this.collapseRow(t(e[r]).data("index"))}},{key:"updateColumnTitle",value:function(e){e.hasOwnProperty("field")&&e.hasOwnProperty("title")&&(this.columns[this.fieldsColumnsIndex[e.field]].title=this.options.escape&&this.options.escapeTitle?Oc.escapeHTML(e.title):e.title,this.columns[this.fieldsColumnsIndex[e.field]].visible&&(this.$header.find("th[data-field]").each((function(r,n){if(t(n).data("field")===e.field)return t(t(n).find(".th-inner")[0]).html(e.title),!1})),this.resetView()))}},{key:"updateFormatText",value:function(t,e){/^format/.test(t)&&this.options[t]&&("string"==typeof e?this.options[t]=function(){return e}:"function"==typeof e&&(this.options[t]=e),this.initToolbar(),this.initPagination(),this.initBody())}}])}();return jc.VERSION=Ic.VERSION,jc.DEFAULTS=Ic.DEFAULTS,jc.LOCALES=Ic.LOCALES,jc.COLUMN_DEFAULTS=Ic.COLUMN_DEFAULTS,jc.METHODS=Ic.METHODS,jc.EVENTS=Ic.EVENTS,t.BootstrapTable=jc,t.fn.bootstrapTable=function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];var o;return this.each((function(r,i){var a=t(i).data("bootstrap.table");if("string"==typeof e){var s;if(!Ic.METHODS.includes(e))throw new Error("Unknown method: ".concat(e));if(!a)return;return o=(s=a)[e].apply(s,n),void("destroy"===e&&t(i).removeData("bootstrap.table"))}if(a)console.warn("You cannot initialize the table more than once!");else{var c=Oc.extend(!0,{},jc.DEFAULTS,t(i).data(),"object"===f(e)&&e);a=new t.BootstrapTable(i,c),t(i).data("bootstrap.table",a),a.init()}})),void 0===o?this:o},t.fn.bootstrapTable.Constructor=jc,t.fn.bootstrapTable.theme=Ic.THEME,t.fn.bootstrapTable.VERSION=Ic.VERSION,t.fn.bootstrapTable.defaults=jc.DEFAULTS,t.fn.bootstrapTable.columnDefaults=jc.COLUMN_DEFAULTS,t.fn.bootstrapTable.events=jc.EVENTS,t.fn.bootstrapTable.locales=jc.LOCALES,t.fn.bootstrapTable.methods=jc.METHODS,t.fn.bootstrapTable.utils=Oc,t((function(){t('[data-toggle="table"]').bootstrapTable()})),jc})),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function e(t,e,r){return e=i(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,o()?Reflect.construct(e,r||[],i(t).constructor):e.apply(t,r))}function r(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,s(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function n(){return n="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=i(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}},n.apply(null,arguments)}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}function o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(o=function(){return!!t})()}function a(t,e){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},a(t,e)}function s(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof e?e:e+""}var c,l,u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},f={};function h(){if(l)return c;l=1;var t=function(t){return t&&t.Math===Math&&t};return c=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof u&&u)||t("object"==typeof c&&c)||function(){return this}()||Function("return this")()}var d,p,v,g,m,b,y,w,S={};function x(){return p?d:(p=1,d=function(t){try{return!!t()}catch(t){return!0}})}function k(){if(g)return v;g=1;var t=x();return v=!t((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function T(){if(b)return m;b=1;var t=x();return m=!t((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function A(){if(w)return y;w=1;var t=T(),e=Function.prototype.call;return y=t?e.bind(e):function(){return e.apply(e,arguments)},y}var E,_,O,N,C,R,P,L,I,F,j,D,M,B,W,U,H,z,V,q,$,G,X,Y,K,J,Z,Q,tt,et,rt,nt,it,ot,at,st,ct,lt,ut,ft,ht,dt={};function pt(){if(E)return dt;E=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return dt.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,dt}function vt(){return O?_:(O=1,_=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function gt(){if(C)return N;C=1;var t=T(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return N=t?n:function(t){return function(){return r.apply(t,arguments)}},N}function mt(){if(P)return R;P=1;var t=gt(),e=t({}.toString),r=t("".slice);return R=function(t){return r(e(t),8,-1)}}function bt(){if(I)return L;I=1;var t=gt(),e=x(),r=mt(),n=Object,i=t("".split);return L=e((function(){return!n("z").propertyIsEnumerable(0)}))?function(t){return"String"===r(t)?i(t,""):n(t)}:n}function yt(){return j?F:(j=1,F=function(t){return null==t})}function wt(){if(M)return D;M=1;var t=yt(),e=TypeError;return D=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function St(){if(W)return B;W=1;var t=bt(),e=wt();return B=function(r){return t(e(r))}}function xt(){if(H)return U;H=1;var t="object"==typeof document&&document.all;return U=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function kt(){if(V)return z;V=1;var t=xt();return z=function(e){return"object"==typeof e?null!==e:t(e)}}function Tt(){if($)return q;$=1;var t=h(),e=xt();return q=function(r,n){return arguments.length<2?(i=t[r],e(i)?i:void 0):t[r]&&t[r][n];var i},q}function At(){if(Z)return J;Z=1;var t,e,r=h(),n=function(){if(K)return Y;K=1;var t=h().navigator,e=t&&t.userAgent;return Y=e?String(e):""}(),i=r.process,o=r.Deno,a=i&&i.versions||o&&o.version,s=a&&a.v8;return s&&(e=(t=s.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),J=e}function Et(){if(tt)return Q;tt=1;var t=At(),e=x(),r=h().String;return Q=!!Object.getOwnPropertySymbols&&!e((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function _t(){if(rt)return et;rt=1;var t=Et();return et=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Ot(){if(it)return nt;it=1;var t=Tt(),e=xt(),r=function(){if(X)return G;X=1;var t=gt();return G=t({}.isPrototypeOf)}(),n=_t(),i=Object;return nt=n?function(t){return"symbol"==typeof t}:function(n){var o=t("Symbol");return e(o)&&r(o.prototype,i(n))}}function Nt(){if(at)return ot;at=1;var t=String;return ot=function(e){try{return t(e)}catch(t){return"Object"}}}function Ct(){if(ct)return st;ct=1;var t=xt(),e=Nt(),r=TypeError;return st=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function Rt(){if(ut)return lt;ut=1;var t=Ct(),e=yt();return lt=function(r,n){var i=r[n];return e(i)?void 0:t(i)}}function Pt(){if(ht)return ft;ht=1;var t=A(),e=xt(),r=kt(),n=TypeError;return ft=function(i,o){var a,s;if("string"===o&&e(a=i.toString)&&!r(s=t(a,i)))return s;if(e(a=i.valueOf)&&!r(s=t(a,i)))return s;if("string"!==o&&e(a=i.toString)&&!r(s=t(a,i)))return s;throw new n("Can't convert object to primitive value")}}var Lt,It,Ft,jt,Dt,Mt,Bt,Wt,Ut,Ht,zt,Vt,qt,$t,Gt,Xt,Yt,Kt,Jt,Zt,Qt,te,ee,re,ne={exports:{}};function ie(){if(jt)return Ft;jt=1;var t=h(),e=Object.defineProperty;return Ft=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function oe(){if(Dt)return ne.exports;Dt=1;var t=It?Lt:(It=1,Lt=!1),e=h(),r=ie(),n="__core-js_shared__",i=ne.exports=e[n]||r(n,{});return(i.versions||(i.versions=[])).push({version:"3.38.1",mode:t?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"}),ne.exports}function ae(){if(Bt)return Mt;Bt=1;var t=oe();return Mt=function(e,r){return t[e]||(t[e]=r||{})}}function se(){if(Ut)return Wt;Ut=1;var t=wt(),e=Object;return Wt=function(r){return e(t(r))}}function ce(){if(zt)return Ht;zt=1;var t=gt(),e=se(),r=t({}.hasOwnProperty);return Ht=Object.hasOwn||function(t,n){return r(e(t),n)}}function le(){if(qt)return Vt;qt=1;var t=gt(),e=0,r=Math.random(),n=t(1..toString);return Vt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function ue(){if(Gt)return $t;Gt=1;var t=h(),e=ae(),r=ce(),n=le(),i=Et(),o=_t(),a=t.Symbol,s=e("wks"),c=o?a.for||a:a&&a.withoutSetter||n;return $t=function(t){return r(s,t)||(s[t]=i&&r(a,t)?a[t]:c("Symbol."+t)),s[t]}}function fe(){if(Yt)return Xt;Yt=1;var t=A(),e=kt(),r=Ot(),n=Rt(),i=Pt(),o=ue(),a=TypeError,s=o("toPrimitive");return Xt=function(o,c){if(!e(o)||r(o))return o;var l,u=n(o,s);if(u){if(void 0===c&&(c="default"),l=t(u,o,c),!e(l)||r(l))return l;throw new a("Can't convert object to primitive value")}return void 0===c&&(c="number"),i(o,c)}}function he(){if(Jt)return Kt;Jt=1;var t=fe(),e=Ot();return Kt=function(r){var n=t(r,"string");return e(n)?n:n+""}}function de(){if(Qt)return Zt;Qt=1;var t=h(),e=kt(),r=t.document,n=e(r)&&e(r.createElement);return Zt=function(t){return n?r.createElement(t):{}}}function pe(){if(ee)return te;ee=1;var t=k(),e=x(),r=de();return te=!t&&!e((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))}function ve(){if(re)return S;re=1;var t=k(),e=A(),r=pt(),n=vt(),i=St(),o=he(),a=ce(),s=pe(),c=Object.getOwnPropertyDescriptor;return S.f=t?c:function(t,l){if(t=i(t),l=o(l),s)try{return c(t,l)}catch(t){}if(a(t,l))return n(!e(r.f,t,l),t[l])},S}var ge,me,be,ye,we,Se,xe,ke={};function Te(){if(me)return ge;me=1;var t=k(),e=x();return ge=t&&e((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}function Ae(){if(ye)return be;ye=1;var t=kt(),e=String,r=TypeError;return be=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function Ee(){if(we)return ke;we=1;var t=k(),e=pe(),r=Te(),n=Ae(),i=he(),o=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c="enumerable",l="configurable",u="writable";return ke.f=t?r?function(t,e,r){if(n(t),e=i(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&u in r&&!r[u]){var o=s(t,e);o&&o[u]&&(t[e]=r.value,r={configurable:l in r?r[l]:o[l],enumerable:c in r?r[c]:o[c],writable:!1})}return a(t,e,r)}:a:function(t,r,s){if(n(t),r=i(r),n(s),e)try{return a(t,r,s)}catch(t){}if("get"in s||"set"in s)throw new o("Accessors not supported");return"value"in s&&(t[r]=s.value),t},ke}function _e(){if(xe)return Se;xe=1;var t=k(),e=Ee(),r=vt();return Se=t?function(t,n,i){return e.f(t,n,r(1,i))}:function(t,e,r){return t[e]=r,t}}var Oe,Ne,Ce,Re,Pe,Le,Ie,Fe,je,De,Me,Be,We,Ue,He,ze={exports:{}};function Ve(){if(Re)return Ce;Re=1;var t=gt(),e=xt(),r=oe(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),Ce=r.inspectSource}function qe(){if(Fe)return Ie;Fe=1;var t=ae(),e=le(),r=t("keys");return Ie=function(t){return r[t]||(r[t]=e(t))}}function $e(){return De?je:(De=1,je={})}function Ge(){if(Be)return Me;Be=1;var t,e,r,n=function(){if(Le)return Pe;Le=1;var t=h(),e=xt(),r=t.WeakMap;return Pe=e(r)&&/native code/.test(String(r))}(),i=h(),o=kt(),a=_e(),s=ce(),c=oe(),l=qe(),u=$e(),f="Object already initialized",d=i.TypeError,p=i.WeakMap;if(n||c.state){var v=c.state||(c.state=new p);v.get=v.get,v.has=v.has,v.set=v.set,t=function(t,e){if(v.has(t))throw new d(f);return e.facade=t,v.set(t,e),e},e=function(t){return v.get(t)||{}},r=function(t){return v.has(t)}}else{var g=l("state");u[g]=!0,t=function(t,e){if(s(t,g))throw new d(f);return e.facade=t,a(t,g,e),e},e=function(t){return s(t,g)?t[g]:{}},r=function(t){return s(t,g)}}return Me={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!o(r)||(n=e(r)).type!==t)throw new d("Incompatible receiver, "+t+" required");return n}}}}function Xe(){if(We)return ze.exports;We=1;var t=gt(),e=x(),r=xt(),n=ce(),i=k(),o=function(){if(Ne)return Oe;Ne=1;var t=k(),e=ce(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,i=e(r,"name"),o=i&&"something"===function(){}.name,a=i&&(!t||t&&n(r,"name").configurable);return Oe={EXISTS:i,PROPER:o,CONFIGURABLE:a}}().CONFIGURABLE,a=Ve(),s=Ge(),c=s.enforce,l=s.get,u=String,f=Object.defineProperty,h=t("".slice),d=t("".replace),p=t([].join),v=i&&!e((function(){return 8!==f((function(){}),"length",{value:8}).length})),g=String(String).split("String"),m=ze.exports=function(t,e,r){"Symbol("===h(u(e),0,7)&&(e="["+d(u(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||o&&t.name!==e)&&(i?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?i&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=c(t);return n(a,"source")||(a.source=p(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=m((function(){return r(this)&&l(this).source||a(this)}),"toString"),ze.exports}function Ye(){if(He)return Ue;He=1;var t=xt(),e=Ee(),r=Xe(),n=ie();return Ue=function(i,o,a,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:o;if(t(a)&&r(a,l,s),s.global)c?i[o]=a:n(o,a);else{try{s.unsafe?i[o]&&(c=!0):delete i[o]}catch(t){}c?i[o]=a:e.f(i,o,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return i}}var Ke,Je,Ze,Qe,tr,er,rr,nr,ir,or,ar,sr,cr,lr,ur,fr,hr,dr={};function pr(){if(Qe)return Ze;Qe=1;var t=function(){if(Je)return Ke;Je=1;var t=Math.ceil,e=Math.floor;return Ke=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return Ze=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function vr(){if(er)return tr;er=1;var t=pr(),e=Math.max,r=Math.min;return tr=function(n,i){var o=t(n);return o<0?e(o+i,0):r(o,i)}}function gr(){if(nr)return rr;nr=1;var t=pr(),e=Math.min;return rr=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function mr(){if(or)return ir;or=1;var t=gr();return ir=function(e){return t(e.length)}}function br(){if(sr)return ar;sr=1;var t=St(),e=vr(),r=mr(),n=function(n){return function(i,o,a){var s=t(i),c=r(s);if(0===c)return!n&&-1;var l,u=e(a,c);if(n&&o!=o){for(;c>u;)if((l=s[u++])!=l)return!0}else for(;c>u;u++)if((n||u in s)&&s[u]===o)return n||u||0;return!n&&-1}};return ar={includes:n(!0),indexOf:n(!1)}}function yr(){if(lr)return cr;lr=1;var t=gt(),e=ce(),r=St(),n=br().indexOf,i=$e(),o=t([].push);return cr=function(t,a){var s,c=r(t),l=0,u=[];for(s in c)!e(i,s)&&e(c,s)&&o(u,s);for(;a.length>l;)e(c,s=a[l++])&&(~n(u,s)||o(u,s));return u}}function wr(){return fr?ur:(fr=1,ur=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var Sr,xr,kr,Tr,Ar,Er,_r,Or,Nr,Cr={};function Rr(){return Sr||(Sr=1,Cr.f=Object.getOwnPropertySymbols),Cr}function Pr(){if(kr)return xr;kr=1;var t=Tt(),e=gt(),r=function(){if(hr)return dr;hr=1;var t=yr(),e=wr().concat("length","prototype");return dr.f=Object.getOwnPropertyNames||function(r){return t(r,e)},dr}(),n=Rr(),i=Ae(),o=e([].concat);return xr=t("Reflect","ownKeys")||function(t){var e=r.f(i(t)),a=n.f;return a?o(e,a(t)):e}}function Lr(){if(Ar)return Tr;Ar=1;var t=ce(),e=Pr(),r=ve(),n=Ee();return Tr=function(i,o,a){for(var s=e(o),c=n.f,l=r.f,u=0;u<s.length;u++){var f=s[u];t(i,f)||a&&t(a,f)||c(i,f,l(o,f))}}}function Ir(){if(Nr)return Or;Nr=1;var t=h(),e=ve().f,r=_e(),n=Ye(),i=ie(),o=Lr(),a=function(){if(_r)return Er;_r=1;var t=x(),e=xt(),r=/#|\.prototype\./,n=function(r,n){var c=o[i(r)];return c===s||c!==a&&(e(n)?t(n):!!n)},i=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},o=n.data={},a=n.NATIVE="N",s=n.POLYFILL="P";return Er=n}();return Or=function(s,c){var l,u,f,h,d,p=s.target,v=s.global,g=s.stat;if(l=v?t:g?t[p]||i(p,{}):t[p]&&t[p].prototype)for(u in c){if(h=c[u],f=s.dontCallGetSet?(d=e(l,u))&&d.value:l[u],!a(v?u:p+(g?".":"#")+u,s.forced)&&void 0!==f){if(typeof h==typeof f)continue;o(h,f)}(s.sham||f&&f.sham)&&r(h,"sham",!0),n(l,u,h,s)}}}var Fr,jr,Dr,Mr,Br,Wr,Ur,Hr,zr,Vr,qr={};function $r(){if(jr)return Fr;jr=1;var t=yr(),e=wr();return Fr=Object.keys||function(r){return t(r,e)}}function Gr(){if(Br)return Mr;Br=1;var t=Tt();return Mr=t("document","documentElement")}function Xr(){if(Ur)return Wr;Ur=1;var t,e=Ae(),r=function(){if(Dr)return qr;Dr=1;var t=k(),e=Te(),r=Ee(),n=Ae(),i=St(),o=$r();return qr.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var a,s=i(e),c=o(e),l=c.length,u=0;l>u;)r.f(t,a=c[u++],s[a]);return t},qr}(),n=wr(),i=$e(),o=Gr(),a=de(),s=qe(),c="prototype",l="script",u=s("IE_PROTO"),f=function(){},h=function(t){return"<"+l+">"+t+"</"+l+">"},d=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,i;p="undefined"!=typeof document?document.domain&&t?d(t):(r=a("iframe"),i="java"+l+":",r.style.display="none",o.appendChild(r),r.src=String(i),(e=r.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):d(t);for(var s=n.length;s--;)delete p[c][n[s]];return p()};return i[u]=!0,Wr=Object.create||function(t,n){var i;return null!==t?(f[c]=e(t),i=new f,f[c]=null,i[u]=t):i=p(),void 0===n?i:r.f(i,n)}}function Yr(){if(zr)return Hr;zr=1;var t=ue(),e=Xr(),r=Ee().f,n=t("unscopables"),i=Array.prototype;return void 0===i[n]&&r(i,n,{configurable:!0,value:e(null)}),Hr=function(t){i[n][t]=!0}}!function(){if(Vr)return f;Vr=1;var t=Ir(),e=br().includes,r=x(),n=Yr();t({target:"Array",proto:!0,forced:r((function(){return!Array(1).includes()}))},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")}();var Kr,Jr,Zr,Qr={};!function(){if(Zr)return Qr;Zr=1;var t=Ir(),e=function(){if(Jr)return Kr;Jr=1;var t=k(),e=gt(),r=A(),n=x(),i=$r(),o=Rr(),a=pt(),s=se(),c=bt(),l=Object.assign,u=Object.defineProperty,f=e([].concat);return Kr=!l||n((function(){if(t&&1!==l({b:1},l(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(t){r[t]=t})),7!==l({},e)[n]||i(l({},r)).join("")!==o}))?function(e,n){for(var l=s(e),u=arguments.length,h=1,d=o.f,p=a.f;u>h;)for(var v,g=c(arguments[h++]),m=d?f(i(g),d(g)):i(g),b=m.length,y=0;b>y;)v=m[y++],t&&!r(p,g,v)||(l[v]=g[v]);return l}:l,Kr}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var tn,en,rn,nn,on,an,sn,cn={};function ln(){if(en)return tn;en=1;var t={};return t[ue()("toStringTag")]="z",tn="[object z]"===String(t)}function un(){if(nn)return rn;nn=1;var t=ln(),e=xt(),r=mt(),n=ue()("toStringTag"),i=Object,o="Arguments"===r(function(){return arguments}());return rn=t?r:function(t){var a,s,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(s=function(t,e){try{return t[e]}catch(t){}}(a=i(t),n))?s:o?r(a):"Object"===(c=r(a))&&e(a.callee)?"Arguments":c}}!function(){if(sn)return cn;sn=1;var t=ln(),e=Ye(),r=function(){if(an)return on;an=1;var t=ln(),e=un();return on=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var fn,hn,dn,pn,vn,gn,mn,bn,yn,wn={};function Sn(){if(pn)return dn;pn=1;var t=function(){if(hn)return fn;hn=1;var t=kt(),e=mt(),r=ue()("match");return fn=function(n){var i;return t(n)&&(void 0!==(i=n[r])?!!i:"RegExp"===e(n))}}(),e=TypeError;return dn=function(r){if(t(r))throw new e("The method doesn't accept regular expressions");return r}}function xn(){if(gn)return vn;gn=1;var t=un(),e=String;return vn=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}!function(){if(yn)return wn;yn=1;var t=Ir(),e=gt(),r=Sn(),n=wt(),i=xn(),o=function(){if(bn)return mn;bn=1;var t=ue()("match");return mn=function(e){var r=/./;try{"/./"[e](r)}catch(n){try{return r[t]=!1,"/./"[e](r)}catch(t){}}return!1}}(),a=e("".indexOf);t({target:"String",proto:!0,forced:!o("includes")},{includes:function(t){return!!~a(i(n(this)),i(r(t)),arguments.length>1?arguments[1]:void 0)}})}();var kn,Tn,An,En,_n,On,Nn,Cn,Rn,Pn,Ln,In,Fn,jn,Dn,Mn,Bn,Wn,Un,Hn,zn,Vn,qn,$n={};function Gn(){if(Cn)return Nn;Cn=1;var t=function(){if(On)return _n;On=1;var t=mt(),e=gt();return _n=function(r){if("Function"===t(r))return e(r)}}(),e=Ct(),r=T(),n=t(t.bind);return Nn=function(t,i){return e(t),void 0===i?t:r?n(t,i):function(){return t.apply(i,arguments)}},Nn}function Xn(){if(Pn)return Rn;Pn=1;var t=mt();return Rn=Array.isArray||function(e){return"Array"===t(e)}}function Yn(){if(In)return Ln;In=1;var t=gt(),e=x(),r=xt(),n=un(),i=Tt(),o=Ve(),a=function(){},s=i("Reflect","construct"),c=/^\s*(?:class|function)\b/,l=t(c.exec),u=!c.test(a),f=function(t){if(!r(t))return!1;try{return s(a,[],t),!0}catch(t){return!1}},h=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return u||!!l(c,o(t))}catch(t){return!0}};return h.sham=!0,Ln=!s||e((function(){var t;return f(f.call)||!f(Object)||!f((function(){t=!0}))||t}))?h:f}function Kn(){if(jn)return Fn;jn=1;var t=Xn(),e=Yn(),r=kt(),n=ue()("species"),i=Array;return Fn=function(o){var a;return t(o)&&(a=o.constructor,(e(a)&&(a===i||t(a.prototype))||r(a)&&null===(a=a[n]))&&(a=void 0)),void 0===a?i:a}}function Jn(){if(Mn)return Dn;Mn=1;var t=Kn();return Dn=function(e,r){return new(t(e))(0===r?0:r)}}function Zn(){if(Hn)return Un;Hn=1;var t=x();return Un=function(e,r){var n=[][e];return!!n&&t((function(){n.call(null,r||function(){return 1},1)}))}}function Qn(){if(Vn)return zn;Vn=1;var t=function(){if(Wn)return Bn;Wn=1;var t=Gn(),e=gt(),r=bt(),n=se(),i=mr(),o=Jn(),a=e([].push),s=function(e){var s=1===e,c=2===e,l=3===e,u=4===e,f=6===e,h=7===e,d=5===e||f;return function(p,v,g,m){for(var b,y,w=n(p),S=r(w),x=i(S),k=t(v,g),T=0,A=m||o,E=s?A(p,x):c||h?A(p,0):void 0;x>T;T++)if((d||T in S)&&(y=k(b=S[T],T,w),e))if(s)E[T]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return T;case 2:a(E,b)}else switch(e){case 4:return!1;case 7:a(E,b)}return f?-1:l||u?u:E}};return Bn={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}}().forEach,e=Zn()("forEach");return zn=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},zn}!function(){if(qn)return $n;qn=1;var t=h(),e=Tn?kn:(Tn=1,kn={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}),r=function(){if(En)return An;En=1;var t=de()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return An=e===Object.prototype?void 0:e}(),n=Qn(),i=_e(),o=function(t){if(t&&t.forEach!==n)try{i(t,"forEach",n)}catch(e){t.forEach=n}};for(var a in e)e[a]&&o(t[a]&&t[a].prototype);o(r)}();Object.assign(t.fn.bootstrapTable.defaults,{mobileResponsive:!1,minWidth:562,minHeight:void 0,heightThreshold:100,checkOnInit:!0,columnsHidden:[]}),t.BootstrapTable=function(o){function s(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),e(this,s,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&a(t,e)}(s,o),r(s,[{key:"init",value:function(){for(var e,r,o,a=this,c=arguments.length,l=new Array(c),u=0;u<c;u++)l[u]=arguments[u];if((e="init",r=this,o=n(i(s.prototype),e,r),function(t){return o.apply(r,t)})(l),this.options.mobileResponsive&&this.options.minWidth){this.options.minWidth<100&&this.options.resizable&&(console.warn("The minWidth when the resizable extension is active should be greater or equal than 100"),this.options.minWidth=100);var f,h,d,p={width:t(window).width(),height:t(window).height()};if(t(window).on("resize orientationchange",(f=function(){var e=t(window).width(),r=t(window).height(),n=t(document.activeElement);n.length&&["INPUT","SELECT","TEXTAREA"].includes(n.prop("nodeName"))||(Math.abs(p.height-r)>a.options.heightThreshold||p.width!==e)&&(a.changeView(e,r),p={width:e,height:r})},h=200,d=0,function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];clearTimeout(d),d=setTimeout((function(){d=0,f.apply(void 0,e)}),h)})),this.options.checkOnInit){var v=t(window).width(),g=t(window).height();this.changeView(v,g),p={width:v,height:g}}}}},{key:"conditionCardView",value:function(){this.changeTableView(!1),this.showHideColumns(!1)}},{key:"conditionFullView",value:function(){this.changeTableView(!0),this.showHideColumns(!0)}},{key:"changeTableView",value:function(t){this.options.cardView=t,this.toggleView()}},{key:"showHideColumns",value:function(t){var e=this;this.options.columnsHidden.length>0&&this.columns.forEach((function(r){e.options.columnsHidden.includes(r.field)&&r.visible!==t&&e._toggleColumn(e.fieldsColumnsIndex[r.field],t,!0)}))}},{key:"changeView",value:function(t,e){this.options.minHeight?t<=this.options.minWidth&&e<=this.options.minHeight?this.conditionCardView():t>this.options.minWidth&&e>this.options.minHeight&&this.conditionFullView():t<=this.options.minWidth?this.conditionCardView():t>this.options.minWidth&&this.conditionFullView(),this.resetView()}}])}(t.BootstrapTable)})),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function r(t,e,r){return e=s(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,c()?Reflect.construct(e,r||[],s(t).constructor):e.apply(t,r))}function n(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,f(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function i(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return e(t,r);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}(t))||r){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){c=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}function o(t,e,r){return(e=f(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(){return a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=s(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}},a.apply(null,arguments)}function s(t){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},s(t)}function c(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(c=function(){return!!t})()}function l(t,e){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},l(t,e)}function u(t,e,r,n){var i=a(s(1&n?t.prototype:t),e,r);return 2&n?function(t){return i.apply(r,t)}:i}function f(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}var h,d,p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},v={};function g(){if(d)return h;d=1;var t=function(t){return t&&t.Math===Math&&t};return h=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof p&&p)||t("object"==typeof h&&h)||function(){return this}()||Function("return this")()}var m,b,y,w,S,x,k,T,A={};function E(){return b?m:(b=1,m=function(t){try{return!!t()}catch(t){return!0}})}function _(){if(w)return y;w=1;var t=E();return y=!t((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function O(){if(x)return S;x=1;var t=E();return S=!t((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function N(){if(T)return k;T=1;var t=O(),e=Function.prototype.call;return k=t?e.bind(e):function(){return e.apply(e,arguments)},k}var C,R,P,L,I,F,j,D,M,B,W,U,H,z,V,q,$,G,X,Y,K,J,Z,Q,tt,et,rt,nt,it,ot,at,st,ct,lt,ut,ft,ht,dt,pt,vt,gt,mt={};function bt(){if(C)return mt;C=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return mt.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,mt}function yt(){return P?R:(P=1,R=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function wt(){if(I)return L;I=1;var t=O(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return L=t?n:function(t){return function(){return r.apply(t,arguments)}},L}function St(){if(j)return F;j=1;var t=wt(),e=t({}.toString),r=t("".slice);return F=function(t){return r(e(t),8,-1)}}function xt(){if(M)return D;M=1;var t=wt(),e=E(),r=St(),n=Object,i=t("".split);return D=e((function(){return!n("z").propertyIsEnumerable(0)}))?function(t){return"String"===r(t)?i(t,""):n(t)}:n}function kt(){return W?B:(W=1,B=function(t){return null==t})}function Tt(){if(H)return U;H=1;var t=kt(),e=TypeError;return U=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function At(){if(V)return z;V=1;var t=xt(),e=Tt();return z=function(r){return t(e(r))}}function Et(){if($)return q;$=1;var t="object"==typeof document&&document.all;return q=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function _t(){if(X)return G;X=1;var t=Et();return G=function(e){return"object"==typeof e?null!==e:t(e)}}function Ot(){if(K)return Y;K=1;var t=g(),e=Et();return Y=function(r,n){return arguments.length<2?(i=t[r],e(i)?i:void 0):t[r]&&t[r][n];var i},Y}function Nt(){if(rt)return et;rt=1;var t,e,r=g(),n=function(){if(tt)return Q;tt=1;var t=g().navigator,e=t&&t.userAgent;return Q=e?String(e):""}(),i=r.process,o=r.Deno,a=i&&i.versions||o&&o.version,s=a&&a.v8;return s&&(e=(t=s.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),et=e}function Ct(){if(it)return nt;it=1;var t=Nt(),e=E(),r=g().String;return nt=!!Object.getOwnPropertySymbols&&!e((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function Rt(){if(at)return ot;at=1;var t=Ct();return ot=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Pt(){if(ct)return st;ct=1;var t=Ot(),e=Et(),r=function(){if(Z)return J;Z=1;var t=wt();return J=t({}.isPrototypeOf)}(),n=Rt(),i=Object;return st=n?function(t){return"symbol"==typeof t}:function(n){var o=t("Symbol");return e(o)&&r(o.prototype,i(n))}}function Lt(){if(ut)return lt;ut=1;var t=String;return lt=function(e){try{return t(e)}catch(t){return"Object"}}}function It(){if(ht)return ft;ht=1;var t=Et(),e=Lt(),r=TypeError;return ft=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function Ft(){if(pt)return dt;pt=1;var t=It(),e=kt();return dt=function(r,n){var i=r[n];return e(i)?void 0:t(i)}}function jt(){if(gt)return vt;gt=1;var t=N(),e=Et(),r=_t(),n=TypeError;return vt=function(i,o){var a,s;if("string"===o&&e(a=i.toString)&&!r(s=t(a,i)))return s;if(e(a=i.valueOf)&&!r(s=t(a,i)))return s;if("string"!==o&&e(a=i.toString)&&!r(s=t(a,i)))return s;throw new n("Can't convert object to primitive value")}}var Dt,Mt,Bt,Wt,Ut,Ht,zt,Vt,qt,$t,Gt,Xt,Yt,Kt,Jt,Zt,Qt,te,ee,re,ne,ie,oe,ae,se={exports:{}};function ce(){if(Wt)return Bt;Wt=1;var t=g(),e=Object.defineProperty;return Bt=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function le(){if(Ut)return se.exports;Ut=1;var t=Mt?Dt:(Mt=1,Dt=!1),e=g(),r=ce(),n="__core-js_shared__",i=se.exports=e[n]||r(n,{});return(i.versions||(i.versions=[])).push({version:"3.38.1",mode:t?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"}),se.exports}function ue(){if(zt)return Ht;zt=1;var t=le();return Ht=function(e,r){return t[e]||(t[e]=r||{})}}function fe(){if(qt)return Vt;qt=1;var t=Tt(),e=Object;return Vt=function(r){return e(t(r))}}function he(){if(Gt)return $t;Gt=1;var t=wt(),e=fe(),r=t({}.hasOwnProperty);return $t=Object.hasOwn||function(t,n){return r(e(t),n)}}function de(){if(Yt)return Xt;Yt=1;var t=wt(),e=0,r=Math.random(),n=t(1..toString);return Xt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function pe(){if(Jt)return Kt;Jt=1;var t=g(),e=ue(),r=he(),n=de(),i=Ct(),o=Rt(),a=t.Symbol,s=e("wks"),c=o?a.for||a:a&&a.withoutSetter||n;return Kt=function(t){return r(s,t)||(s[t]=i&&r(a,t)?a[t]:c("Symbol."+t)),s[t]}}function ve(){if(Qt)return Zt;Qt=1;var t=N(),e=_t(),r=Pt(),n=Ft(),i=jt(),o=pe(),a=TypeError,s=o("toPrimitive");return Zt=function(o,c){if(!e(o)||r(o))return o;var l,u=n(o,s);if(u){if(void 0===c&&(c="default"),l=t(u,o,c),!e(l)||r(l))return l;throw new a("Can't convert object to primitive value")}return void 0===c&&(c="number"),i(o,c)}}function ge(){if(ee)return te;ee=1;var t=ve(),e=Pt();return te=function(r){var n=t(r,"string");return e(n)?n:n+""}}function me(){if(ne)return re;ne=1;var t=g(),e=_t(),r=t.document,n=e(r)&&e(r.createElement);return re=function(t){return n?r.createElement(t):{}}}function be(){if(oe)return ie;oe=1;var t=_(),e=E(),r=me();return ie=!t&&!e((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))}function ye(){if(ae)return A;ae=1;var t=_(),e=N(),r=bt(),n=yt(),i=At(),o=ge(),a=he(),s=be(),c=Object.getOwnPropertyDescriptor;return A.f=t?c:function(t,l){if(t=i(t),l=o(l),s)try{return c(t,l)}catch(t){}if(a(t,l))return n(!e(r.f,t,l),t[l])},A}var we,Se,xe,ke,Te,Ae,Ee,_e={};function Oe(){if(Se)return we;Se=1;var t=_(),e=E();return we=t&&e((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}function Ne(){if(ke)return xe;ke=1;var t=_t(),e=String,r=TypeError;return xe=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function Ce(){if(Te)return _e;Te=1;var t=_(),e=be(),r=Oe(),n=Ne(),i=ge(),o=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c="enumerable",l="configurable",u="writable";return _e.f=t?r?function(t,e,r){if(n(t),e=i(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&u in r&&!r[u]){var o=s(t,e);o&&o[u]&&(t[e]=r.value,r={configurable:l in r?r[l]:o[l],enumerable:c in r?r[c]:o[c],writable:!1})}return a(t,e,r)}:a:function(t,r,s){if(n(t),r=i(r),n(s),e)try{return a(t,r,s)}catch(t){}if("get"in s||"set"in s)throw new o("Accessors not supported");return"value"in s&&(t[r]=s.value),t},_e}function Re(){if(Ee)return Ae;Ee=1;var t=_(),e=Ce(),r=yt();return Ae=t?function(t,n,i){return e.f(t,n,r(1,i))}:function(t,e,r){return t[e]=r,t}}var Pe,Le,Ie,Fe,je,De,Me,Be,We,Ue,He,ze,Ve,qe,$e,Ge={exports:{}};function Xe(){if(Fe)return Ie;Fe=1;var t=wt(),e=Et(),r=le(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),Ie=r.inspectSource}function Ye(){if(Be)return Me;Be=1;var t=ue(),e=de(),r=t("keys");return Me=function(t){return r[t]||(r[t]=e(t))}}function Ke(){return Ue?We:(Ue=1,We={})}function Je(){if(ze)return He;ze=1;var t,e,r,n=function(){if(De)return je;De=1;var t=g(),e=Et(),r=t.WeakMap;return je=e(r)&&/native code/.test(String(r))}(),i=g(),o=_t(),a=Re(),s=he(),c=le(),l=Ye(),u=Ke(),f="Object already initialized",h=i.TypeError,d=i.WeakMap;if(n||c.state){var p=c.state||(c.state=new d);p.get=p.get,p.has=p.has,p.set=p.set,t=function(t,e){if(p.has(t))throw new h(f);return e.facade=t,p.set(t,e),e},e=function(t){return p.get(t)||{}},r=function(t){return p.has(t)}}else{var v=l("state");u[v]=!0,t=function(t,e){if(s(t,v))throw new h(f);return e.facade=t,a(t,v,e),e},e=function(t){return s(t,v)?t[v]:{}},r=function(t){return s(t,v)}}return He={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!o(r)||(n=e(r)).type!==t)throw new h("Incompatible receiver, "+t+" required");return n}}}}function Ze(){if(Ve)return Ge.exports;Ve=1;var t=wt(),e=E(),r=Et(),n=he(),i=_(),o=function(){if(Le)return Pe;Le=1;var t=_(),e=he(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,i=e(r,"name"),o=i&&"something"===function(){}.name,a=i&&(!t||t&&n(r,"name").configurable);return Pe={EXISTS:i,PROPER:o,CONFIGURABLE:a}}().CONFIGURABLE,a=Xe(),s=Je(),c=s.enforce,l=s.get,u=String,f=Object.defineProperty,h=t("".slice),d=t("".replace),p=t([].join),v=i&&!e((function(){return 8!==f((function(){}),"length",{value:8}).length})),g=String(String).split("String"),m=Ge.exports=function(t,e,r){"Symbol("===h(u(e),0,7)&&(e="["+d(u(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||o&&t.name!==e)&&(i?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?i&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=c(t);return n(a,"source")||(a.source=p(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=m((function(){return r(this)&&l(this).source||a(this)}),"toString"),Ge.exports}function Qe(){if($e)return qe;$e=1;var t=Et(),e=Ce(),r=Ze(),n=ce();return qe=function(i,o,a,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:o;if(t(a)&&r(a,l,s),s.global)c?i[o]=a:n(o,a);else{try{s.unsafe?i[o]&&(c=!0):delete i[o]}catch(t){}c?i[o]=a:e.f(i,o,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return i}}var tr,er,rr,nr,ir,or,ar,sr,cr,lr,ur,fr,hr,dr,pr,vr,gr,mr={};function br(){if(nr)return rr;nr=1;var t=function(){if(er)return tr;er=1;var t=Math.ceil,e=Math.floor;return tr=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return rr=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function yr(){if(or)return ir;or=1;var t=br(),e=Math.max,r=Math.min;return ir=function(n,i){var o=t(n);return o<0?e(o+i,0):r(o,i)}}function wr(){if(sr)return ar;sr=1;var t=br(),e=Math.min;return ar=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function Sr(){if(lr)return cr;lr=1;var t=wr();return cr=function(e){return t(e.length)}}function xr(){if(dr)return hr;dr=1;var t=wt(),e=he(),r=At(),n=function(){if(fr)return ur;fr=1;var t=At(),e=yr(),r=Sr(),n=function(n){return function(i,o,a){var s=t(i),c=r(s);if(0===c)return!n&&-1;var l,u=e(a,c);if(n&&o!=o){for(;c>u;)if((l=s[u++])!=l)return!0}else for(;c>u;u++)if((n||u in s)&&s[u]===o)return n||u||0;return!n&&-1}};return ur={includes:n(!0),indexOf:n(!1)}}().indexOf,i=Ke(),o=t([].push);return hr=function(t,a){var s,c=r(t),l=0,u=[];for(s in c)!e(i,s)&&e(c,s)&&o(u,s);for(;a.length>l;)e(c,s=a[l++])&&(~n(u,s)||o(u,s));return u}}function kr(){return vr?pr:(vr=1,pr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var Tr,Ar,Er,_r,Or,Nr,Cr,Rr,Pr,Lr,Ir,Fr,jr,Dr,Mr,Br,Wr,Ur,Hr,zr,Vr,qr,$r,Gr,Xr,Yr,Kr,Jr,Zr={};function Qr(){return Tr||(Tr=1,Zr.f=Object.getOwnPropertySymbols),Zr}function tn(){if(Er)return Ar;Er=1;var t=Ot(),e=wt(),r=function(){if(gr)return mr;gr=1;var t=xr(),e=kr().concat("length","prototype");return mr.f=Object.getOwnPropertyNames||function(r){return t(r,e)},mr}(),n=Qr(),i=Ne(),o=e([].concat);return Ar=t("Reflect","ownKeys")||function(t){var e=r.f(i(t)),a=n.f;return a?o(e,a(t)):e}}function en(){if(Or)return _r;Or=1;var t=he(),e=tn(),r=ye(),n=Ce();return _r=function(i,o,a){for(var s=e(o),c=n.f,l=r.f,u=0;u<s.length;u++){var f=s[u];t(i,f)||a&&t(a,f)||c(i,f,l(o,f))}}}function rn(){if(Pr)return Rr;Pr=1;var t=g(),e=ye().f,r=Re(),n=Qe(),i=ce(),o=en(),a=function(){if(Cr)return Nr;Cr=1;var t=E(),e=Et(),r=/#|\.prototype\./,n=function(r,n){var c=o[i(r)];return c===s||c!==a&&(e(n)?t(n):!!n)},i=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},o=n.data={},a=n.NATIVE="N",s=n.POLYFILL="P";return Nr=n}();return Rr=function(s,c){var l,u,f,h,d,p=s.target,v=s.global,g=s.stat;if(l=v?t:g?t[p]||i(p,{}):t[p]&&t[p].prototype)for(u in c){if(h=c[u],f=s.dontCallGetSet?(d=e(l,u))&&d.value:l[u],!a(v?u:p+(g?".":"#")+u,s.forced)&&void 0!==f){if(typeof h==typeof f)continue;o(h,f)}(s.sham||f&&f.sham)&&r(h,"sham",!0),n(l,u,h,s)}}}function nn(){if(Ir)return Lr;Ir=1;var t=St();return Lr=Array.isArray||function(e){return"Array"===t(e)}}function on(){if(jr)return Fr;jr=1;var t=TypeError;return Fr=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}function an(){if(Mr)return Dr;Mr=1;var t=_(),e=Ce(),r=yt();return Dr=function(n,i,o){t?e.f(n,i,r(0,o)):n[i]=o}}function sn(){if(Wr)return Br;Wr=1;var t={};return t[pe()("toStringTag")]="z",Br="[object z]"===String(t)}function cn(){if(Hr)return Ur;Hr=1;var t=sn(),e=Et(),r=St(),n=pe()("toStringTag"),i=Object,o="Arguments"===r(function(){return arguments}());return Ur=t?r:function(t){var a,s,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(s=function(t,e){try{return t[e]}catch(t){}}(a=i(t),n))?s:o?r(a):"Object"===(c=r(a))&&e(a.callee)?"Arguments":c}}function ln(){if(Vr)return zr;Vr=1;var t=wt(),e=E(),r=Et(),n=cn(),i=Ot(),o=Xe(),a=function(){},s=i("Reflect","construct"),c=/^\s*(?:class|function)\b/,l=t(c.exec),u=!c.test(a),f=function(t){if(!r(t))return!1;try{return s(a,[],t),!0}catch(t){return!1}},h=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return u||!!l(c,o(t))}catch(t){return!0}};return h.sham=!0,zr=!s||e((function(){var t;return f(f.call)||!f(Object)||!f((function(){t=!0}))||t}))?h:f}function un(){if($r)return qr;$r=1;var t=nn(),e=ln(),r=_t(),n=pe()("species"),i=Array;return qr=function(o){var a;return t(o)&&(a=o.constructor,(e(a)&&(a===i||t(a.prototype))||r(a)&&null===(a=a[n]))&&(a=void 0)),void 0===a?i:a}}function fn(){if(Xr)return Gr;Xr=1;var t=un();return Gr=function(e,r){return new(t(e))(0===r?0:r)}}function hn(){if(Kr)return Yr;Kr=1;var t=E(),e=pe(),r=Nt(),n=e("species");return Yr=function(e){return r>=51||!t((function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}}!function(){if(Jr)return v;Jr=1;var t=rn(),e=E(),r=nn(),n=_t(),i=fe(),o=Sr(),a=on(),s=an(),c=fn(),l=hn(),u=pe(),f=Nt(),h=u("isConcatSpreadable"),d=f>=51||!e((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),p=function(t){if(!n(t))return!1;var e=t[h];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!d||!l("concat")},{concat:function(t){var e,r,n,l,u,f=i(this),h=c(f,0),d=0;for(e=-1,n=arguments.length;e<n;e++)if(p(u=-1===e?f:arguments[e]))for(l=o(u),a(d+l),r=0;r<l;r++,d++)r in u&&s(h,d,u[r]);else a(d+1),s(h,d++,u);return h.length=d,h}})}();var dn,pn,vn,gn,mn,bn,yn={};function wn(){if(gn)return vn;gn=1;var t=function(){if(pn)return dn;pn=1;var t=St(),e=wt();return dn=function(r){if("Function"===t(r))return e(r)}}(),e=It(),r=O(),n=t(t.bind);return vn=function(t,i){return e(t),void 0===i?t:r?n(t,i):function(){return t.apply(i,arguments)}},vn}function Sn(){if(bn)return mn;bn=1;var t=wn(),e=wt(),r=xt(),n=fe(),i=Sr(),o=fn(),a=e([].push),s=function(e){var s=1===e,c=2===e,l=3===e,u=4===e,f=6===e,h=7===e,d=5===e||f;return function(p,v,g,m){for(var b,y,w=n(p),S=r(w),x=i(S),k=t(v,g),T=0,A=m||o,E=s?A(p,x):c||h?A(p,0):void 0;x>T;T++)if((d||T in S)&&(y=k(b=S[T],T,w),e))if(s)E[T]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return T;case 2:a(E,b)}else switch(e){case 4:return!1;case 7:a(E,b)}return f?-1:l||u?u:E}};return mn={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}}var xn,kn,Tn,An,En,_n,On,Nn,Cn,Rn,Pn={};function Ln(){if(kn)return xn;kn=1;var t=xr(),e=kr();return xn=Object.keys||function(r){return t(r,e)}}function In(){if(En)return An;En=1;var t=Ot();return An=t("document","documentElement")}function Fn(){if(On)return _n;On=1;var t,e=Ne(),r=function(){if(Tn)return Pn;Tn=1;var t=_(),e=Oe(),r=Ce(),n=Ne(),i=At(),o=Ln();return Pn.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var a,s=i(e),c=o(e),l=c.length,u=0;l>u;)r.f(t,a=c[u++],s[a]);return t},Pn}(),n=kr(),i=Ke(),o=In(),a=me(),s=Ye(),c="prototype",l="script",u=s("IE_PROTO"),f=function(){},h=function(t){return"<"+l+">"+t+"</"+l+">"},d=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,i;p="undefined"!=typeof document?document.domain&&t?d(t):(r=a("iframe"),i="java"+l+":",r.style.display="none",o.appendChild(r),r.src=String(i),(e=r.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):d(t);for(var s=n.length;s--;)delete p[c][n[s]];return p()};return i[u]=!0,_n=Object.create||function(t,n){var i;return null!==t?(f[c]=e(t),i=new f,f[c]=null,i[u]=t):i=p(),void 0===n?i:r.f(i,n)}}function jn(){if(Cn)return Nn;Cn=1;var t=pe(),e=Fn(),r=Ce().f,n=t("unscopables"),i=Array.prototype;return void 0===i[n]&&r(i,n,{configurable:!0,value:e(null)}),Nn=function(t){i[n][t]=!0}}!function(){if(Rn)return yn;Rn=1;var t=rn(),e=Sn().find,r=jn(),n="find",i=!0;n in[]&&Array(1)[n]((function(){i=!1})),t({target:"Array",proto:!0,forced:i},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)}();var Dn,Mn,Bn,Wn={};function Un(){if(Mn)return Dn;Mn=1;var t=E();return Dn=function(e,r){var n=[][e];return!!n&&t((function(){n.call(null,r||function(){return 1},1)}))}}!function(){if(Bn)return Wn;Bn=1;var t=rn(),e=wt(),r=xt(),n=At(),i=Un(),o=e([].join);t({target:"Array",proto:!0,forced:r!==Object||!i("join",",")},{join:function(t){return o(n(this),void 0===t?",":t)}})}();var Hn,zn={};!function(){if(Hn)return zn;Hn=1;var t=rn(),e=Sn().map;t({target:"Array",proto:!0,forced:!hn()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var Vn,qn,$n,Gn={};!function(){if($n)return Gn;$n=1;var t=rn(),e=nn(),r=ln(),n=_t(),i=yr(),o=Sr(),a=At(),s=an(),c=pe(),l=hn(),u=function(){if(qn)return Vn;qn=1;var t=wt();return Vn=t([].slice)}(),f=l("slice"),h=c("species"),d=Array,p=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,c){var l,f,v,g=a(this),m=o(g),b=i(t,m),y=i(void 0===c?m:c,m);if(e(g)&&(l=g.constructor,(r(l)&&(l===d||e(l.prototype))||n(l)&&null===(l=l[h]))&&(l=void 0),l===d||void 0===l))return u(g,b,y);for(f=new(void 0===l?d:l)(p(y-b,0)),v=0;b<y;b++,v++)b in g&&s(f,v,g[b]);return f.length=v,f}})}();var Xn,Yn,Kn,Jn={};!function(){if(Kn)return Jn;Kn=1;var t=rn(),e=function(){if(Yn)return Xn;Yn=1;var t=_(),e=wt(),r=N(),n=E(),i=Ln(),o=Qr(),a=bt(),s=fe(),c=xt(),l=Object.assign,u=Object.defineProperty,f=e([].concat);return Xn=!l||n((function(){if(t&&1!==l({b:1},l(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(t){r[t]=t})),7!==l({},e)[n]||i(l({},r)).join("")!==o}))?function(e,n){for(var l=s(e),u=arguments.length,h=1,d=o.f,p=a.f;u>h;)for(var v,g=c(arguments[h++]),m=d?f(i(g),d(g)):i(g),b=m.length,y=0;b>y;)v=m[y++],t&&!r(p,g,v)||(l[v]=g[v]);return l}:l,Xn}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var Zn,Qn,ti,ei={};!function(){if(ti)return ei;ti=1;var t=sn(),e=Qe(),r=function(){if(Qn)return Zn;Qn=1;var t=sn(),e=cn();return Zn=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var ri,ni,ii,oi,ai,si,ci,li,ui,fi,hi,di,pi,vi={};function gi(){if(ni)return ri;ni=1;var t=cn(),e=String;return ri=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}function mi(){if(oi)return ii;oi=1;var t=Ne();return ii=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}function bi(){if(di)return hi;di=1;var t,e,r=N(),n=wt(),i=gi(),o=mi(),a=function(){if(si)return ai;si=1;var t=E(),e=g().RegExp,r=t((function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),n=r||t((function(){return!e("a","y").sticky})),i=r||t((function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));return ai={BROKEN_CARET:i,MISSED_STICKY:n,UNSUPPORTED_Y:r}}(),s=ue(),c=Fn(),l=Je().get,u=function(){if(li)return ci;li=1;var t=E(),e=g().RegExp;return ci=t((function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))}(),f=function(){if(fi)return ui;fi=1;var t=E(),e=g().RegExp;return ui=t((function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))}(),h=s("native-string-replace",String.prototype.replace),d=RegExp.prototype.exec,p=d,v=n("".charAt),m=n("".indexOf),b=n("".replace),y=n("".slice),w=(e=/b*/g,r(d,t=/a/,"a"),r(d,e,"a"),0!==t.lastIndex||0!==e.lastIndex),S=a.BROKEN_CARET,x=void 0!==/()??/.exec("")[1];return(w||x||S||u||f)&&(p=function(t){var e,n,a,s,u,f,g,k=this,T=l(k),A=i(t),E=T.raw;if(E)return E.lastIndex=k.lastIndex,e=r(p,E,A),k.lastIndex=E.lastIndex,e;var _=T.groups,O=S&&k.sticky,N=r(o,k),C=k.source,R=0,P=A;if(O&&(N=b(N,"y",""),-1===m(N,"g")&&(N+="g"),P=y(A,k.lastIndex),k.lastIndex>0&&(!k.multiline||k.multiline&&"\n"!==v(A,k.lastIndex-1))&&(C="(?: "+C+")",P=" "+P,R++),n=new RegExp("^(?:"+C+")",N)),x&&(n=new RegExp("^"+C+"$(?!\\s)",N)),w&&(a=k.lastIndex),s=r(d,O?n:k,P),O?s?(s.input=y(s.input,R),s[0]=y(s[0],R),s.index=k.lastIndex,k.lastIndex+=s[0].length):k.lastIndex=0:w&&s&&(k.lastIndex=k.global?s.index+s[0].length:a),x&&s&&s.length>1&&r(h,s[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(s[u]=void 0)})),s&&_)for(s.groups=f=c(null),u=0;u<_.length;u++)f[(g=_[u])[0]]=s[g[1]];return s}),hi=p}function yi(){if(pi)return vi;pi=1;var t=rn(),e=bi();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),vi}yi();var wi,Si,xi,ki,Ti,Ai,Ei,_i,Oi,Ni,Ci,Ri,Pi,Li={};function Ii(){if(_i)return Ei;_i=1;var t=function(){if(Ai)return Ti;Ai=1;var t=wt(),e=br(),r=gi(),n=Tt(),i=t("".charAt),o=t("".charCodeAt),a=t("".slice),s=function(t){return function(s,c){var l,u,f=r(n(s)),h=e(c),d=f.length;return h<0||h>=d?t?"":void 0:(l=o(f,h))<55296||l>56319||h+1===d||(u=o(f,h+1))<56320||u>57343?t?i(f,h):l:t?a(f,h,h+2):u-56320+(l-55296<<10)+65536}};return Ti={codeAt:s(!1),charAt:s(!0)}}().charAt;return Ei=function(e,r,n){return r+(n?t(e,r).length:1)}}function Fi(){if(Ni)return Oi;Ni=1;var t=wt(),e=fe(),r=Math.floor,n=t("".charAt),i=t("".replace),o=t("".slice),a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;return Oi=function(t,c,l,u,f,h){var d=l+t.length,p=u.length,v=s;return void 0!==f&&(f=e(f),v=a),i(h,v,(function(e,i){var a;switch(n(i,0)){case"$":return"$";case"&":return t;case"`":return o(c,0,l);case"'":return o(c,d);case"<":a=f[o(i,1,-1)];break;default:var s=+i;if(0===s)return e;if(s>p){var h=r(s/10);return 0===h?e:h<=p?void 0===u[h-1]?n(i,1):u[h-1]+n(i,1):e}a=u[s-1]}return void 0===a?"":a}))}}!function(){if(Pi)return Li;Pi=1;var t=function(){if(Si)return wi;Si=1;var t=O(),e=Function.prototype,r=e.apply,n=e.call;return wi="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),wi}(),e=N(),r=wt(),n=function(){if(ki)return xi;ki=1,yi();var t=N(),e=Qe(),r=bi(),n=E(),i=pe(),o=Re(),a=i("species"),s=RegExp.prototype;return xi=function(c,l,u,f){var h=i(c),d=!n((function(){var t={};return t[h]=function(){return 7},7!==""[c](t)})),p=d&&!n((function(){var t=!1,e=/a/;return"split"===c&&((e={}).constructor={},e.constructor[a]=function(){return e},e.flags="",e[h]=/./[h]),e.exec=function(){return t=!0,null},e[h](""),!t}));if(!d||!p||u){var v=/./[h],g=l(h,""[c],(function(e,n,i,o,a){var c=n.exec;return c===r||c===s.exec?d&&!a?{done:!0,value:t(v,n,i,o)}:{done:!0,value:t(e,i,n,o)}:{done:!1}}));e(String.prototype,c,g[0]),e(s,h,g[1])}f&&o(s[h],"sham",!0)}}(),i=E(),o=Ne(),a=Et(),s=kt(),c=br(),l=wr(),u=gi(),f=Tt(),h=Ii(),d=Ft(),p=Fi(),v=function(){if(Ri)return Ci;Ri=1;var t=N(),e=Ne(),r=Et(),n=St(),i=bi(),o=TypeError;return Ci=function(a,s){var c=a.exec;if(r(c)){var l=t(c,a,s);return null!==l&&e(l),l}if("RegExp"===n(a))return t(i,a,s);throw new o("RegExp#exec called on incompatible receiver")}}(),g=pe()("replace"),m=Math.max,b=Math.min,y=r([].concat),w=r([].push),S=r("".indexOf),x=r("".slice),k="$0"==="a".replace(/./,"$0"),T=!!/./[g]&&""===/./[g]("a","$0");n("replace",(function(r,n,i){var k=T?"$":"$0";return[function(t,r){var i=f(this),o=s(t)?void 0:d(t,g);return o?e(o,t,i,r):e(n,u(i),t,r)},function(e,r){var s=o(this),f=u(e);if("string"==typeof r&&-1===S(r,k)&&-1===S(r,"$<")){var d=i(n,s,f,r);if(d.done)return d.value}var g=a(r);g||(r=u(r));var T,A=s.global;A&&(T=s.unicode,s.lastIndex=0);for(var E,_=[];null!==(E=v(s,f))&&(w(_,E),A);){""===u(E[0])&&(s.lastIndex=h(f,l(s.lastIndex),T))}for(var O,N="",C=0,R=0;R<_.length;R++){for(var P,L=u((E=_[R])[0]),I=m(b(c(E.index),f.length),0),F=[],j=1;j<E.length;j++)w(F,void 0===(O=E[j])?O:String(O));var D=E.groups;if(g){var M=y([L],F,I,f);void 0!==D&&w(M,D),P=u(t(r,void 0,M))}else P=p(L,f,I,F,D,r);I>=C&&(N+=x(f,C,I)+P,C=I+L.length)}return N+x(f,C)}]}),!!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!k||T)}();var ji,Di,Mi,Bi,Wi,Ui,Hi,zi={};!function(){if(Hi)return zi;Hi=1;var t=g(),e=Di?ji:(Di=1,ji={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}),r=function(){if(Bi)return Mi;Bi=1;var t=me()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return Mi=e===Object.prototype?void 0:e}(),n=function(){if(Ui)return Wi;Ui=1;var t=Sn().forEach,e=Un()("forEach");return Wi=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},Wi}(),i=Re(),o=function(t){if(t&&t.forEach!==n)try{i(t,"forEach",n)}catch(e){t.forEach=n}};for(var a in e)e[a]&&o(t[a]&&t[a].prototype);o(r)}();var Vi=t.fn.bootstrapTable.utils,qi={json:"JSON",xml:"XML",png:"PNG",csv:"CSV",txt:"TXT",sql:"SQL",doc:"MS-Word",excel:"MS-Excel",xlsx:"MS-Excel (OpenXML)",powerpoint:"MS-Powerpoint",pdf:"PDF"};Object.assign(t.fn.bootstrapTable.defaults,{showExport:!1,exportDataType:"basic",exportTypes:["json","xml","csv","txt","sql","excel"],exportOptions:{},exportFooter:!1}),Object.assign(t.fn.bootstrapTable.columnDefaults,{forceExport:!1,forceHide:!1}),Object.assign(t.fn.bootstrapTable.defaults.icons,{export:{bootstrap3:"glyphicon-export icon-share",bootstrap5:"bi-download",materialize:"file_download","bootstrap-table":"icon-download"}[t.fn.bootstrapTable.theme]||"fa-download"}),Object.assign(t.fn.bootstrapTable.locales,{formatExport:function(){return"Export data"}}),Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales),t.fn.bootstrapTable.methods.push("exportTable"),Object.assign(t.fn.bootstrapTable.defaults,{onExportSaved:function(t){return!1},onExportStarted:function(){return!1}}),Object.assign(t.fn.bootstrapTable.events,{"export-saved.bs.table":"onExportSaved","export-started.bs.table":"onExportStarted"}),t.BootstrapTable=function(e){function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),r(this,a,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}(a,e),n(a,[{key:"initToolbar",value:function(){var e=this,r=this.options,n=r.exportTypes;if(this.showToolbar=this.showToolbar||r.showExport,this.options.showExport){if("string"==typeof n){var o=n.slice(1,-1).replace(/ /g,"").split(",");n=o.map((function(t){return t.slice(1,-1)}))}if("string"==typeof r.exportOptions&&(r.exportOptions=Vi.calculateObjectValue(null,r.exportOptions)),this.$export=this.$toolbar.find(">.columns div.export"),this.$export.length)return void this.updateExportButton();this.buttons=Object.assign(this.buttons,{export:{html:function(){if(1===n.length)return'\n <div class="export '.concat(e.constants.classes.buttonsDropdown,'"\n data-type="').concat(n[0],'">\n <button class="').concat(e.constants.buttonsClass,'"\n aria-label="').concat(r.formatExport(),'"\n type="button"\n title="').concat(r.formatExport(),'">\n ').concat(r.showButtonIcons?Vi.sprintf(e.constants.html.icon,r.iconsPrefix,r.icons.export):"","\n ").concat(r.showButtonText?r.formatExport():"","\n </button>\n </div>\n ");var o=[];o.push('\n <div class="export '.concat(e.constants.classes.buttonsDropdown,'">\n <button class="').concat(e.constants.buttonsClass,' dropdown-toggle"\n aria-label="').concat(r.formatExport(),'"\n ').concat(e.constants.dataToggle,'="dropdown"\n type="button"\n title="').concat(r.formatExport(),'">\n ').concat(r.showButtonIcons?Vi.sprintf(e.constants.html.icon,r.iconsPrefix,r.icons.export):"","\n ").concat(r.showButtonText?r.formatExport():"","\n ").concat(e.constants.html.dropdownCaret,"\n </button>\n ").concat(e.constants.html.toolbarDropdown[0],"\n "));var a,s=i(n);try{for(s.s();!(a=s.n()).done;){var c=a.value;if(qi.hasOwnProperty(c)){var l=t(Vi.sprintf(e.constants.html.pageDropdownItem,"",qi[c]));l.attr("data-type",c),o.push(l.prop("outerHTML"))}}}catch(t){s.e(t)}finally{s.f()}return o.push(e.constants.html.toolbarDropdown[1],"</div>"),o.join("")}}})}for(var s=arguments.length,c=new Array(s),l=0;l<s;l++)c[l]=arguments[l];if(u(a,"initToolbar",this,3)(c),this.$export=this.$toolbar.find(">.columns div.export"),this.options.showExport){this.updateExportButton();var f=this.$export.find("[data-type]");1===n.length&&(f=this.$export),f.click((function(r){r.preventDefault(),e.trigger("export-started"),e.exportTable({type:t(r.currentTarget).data("type")})})),this.handleToolbar()}}},{key:"handleToolbar",value:function(){this.$export&&u(a,"handleToolbar",this,1)&&u(a,"handleToolbar",this,3)([])}},{key:"exportTable",value:function(e){var r=this,n=this.options,i=this.header.stateField,a=n.cardView,s=function(o){i&&r.hideColumn(i),a&&r.toggleView(),r.columns.forEach((function(t){t.forceHide&&r.hideColumn(t.field)}));var s=r.getData();if(n.detailView&&n.detailViewIcon){var c="left"===n.detailViewAlign?0:r.getVisibleFields().length+Vi.getDetailViewIndexOffset(r.options);n.exportOptions.ignoreColumn=[c].concat(n.exportOptions.ignoreColumn||[])}if(n.exportFooter&&n.height){var l=r.$tableFooter.find("tr").first(),u={},f=[];l.children().forEach((function(e,n){var i=t(e).children(".th-inner").first().html();u[r.columns[n].field]=" "===i?null:i,f.push(i)})),r.$body.append(r.$body.children().last()[0].outerHTML),r.$body.children().last().children().forEach((function(e,r){t(e).html(f[r])}))}var h=r.getHiddenColumns();h.forEach((function(t){t.forceExport&&r.showColumn(t.field)})),"function"==typeof n.exportOptions.fileName&&(e.fileName=n.exportOptions.fileName()),r.$el.tableExport(Vi.extend({onAfterSaveToFile:function(){n.exportFooter&&r.load(s),i&&r.showColumn(i),a&&r.toggleView(),h.forEach((function(t){t.forceExport&&r.hideColumn(t.field)})),r.columns.forEach((function(t){t.forceHide&&r.showColumn(t.field)})),o&&o()}},n.exportOptions,e))};if("all"===n.exportDataType&&n.pagination){var c="server"===n.sidePagination?"post-body.bs.table":"page-change.bs.table",l=this.options.virtualScroll;this.$el.one(c,(function(){setTimeout((function(){var t=r.getData();s((function(){r.options.virtualScroll=l,r.togglePagination()})),r.trigger("export-saved",t)}),0)})),this.options.virtualScroll=!1,this.togglePagination()}else if("selected"===n.exportDataType){var u=this.getData(),f=this.getSelections(),h=n.pagination;if(!f.length)return;"server"===n.sidePagination&&(u=o({total:n.totalRows},this.options.dataField,u),f=o({total:f.length},this.options.dataField,f)),this.load(f),h&&this.togglePagination(),s((function(){h&&r.togglePagination(),r.load(u)})),this.trigger("export-saved",f)}else s(),this.trigger("export-saved",this.getData(!0))}},{key:"updateSelected",value:function(){u(a,"updateSelected",this,3)([]),this.updateExportButton()}},{key:"updateExportButton",value:function(){"selected"===this.options.exportDataType&&this.$export.find("> button").prop("disabled",!this.getSelections().length)}}])}(t.BootstrapTable)})),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function r(t,e,r){return e=a(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,s()?Reflect.construct(e,r||[],a(t).constructor):e.apply(t,r))}function n(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,f(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function i(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=h(t))||e){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function o(){return o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=a(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}},o.apply(null,arguments)}function a(t){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},a(t)}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(s=function(){return!!t})()}function c(t,e){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},c(t,e)}function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],c=!0,l=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(c=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(t,e)||h(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e,r,n){var i=o(a(t.prototype),e,r);return function(t){return i.apply(r,t)}}function f(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof e?e:e+""}function h(t,r){if(t){if("string"==typeof t)return e(t,r);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}var d,p,v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},g={};function m(){if(p)return d;p=1;var t=function(t){return t&&t.Math===Math&&t};return d=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof v&&v)||t("object"==typeof d&&d)||function(){return this}()||Function("return this")()}var b,y,w,S,x,k,T,A,E={};function _(){return y?b:(y=1,b=function(t){try{return!!t()}catch(t){return!0}})}function O(){if(S)return w;S=1;var t=_();return w=!t((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function N(){if(k)return x;k=1;var t=_();return x=!t((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function C(){if(A)return T;A=1;var t=N(),e=Function.prototype.call;return T=t?e.bind(e):function(){return e.apply(e,arguments)},T}var R,P,L,I,F,j,D,M,B,W,U,H,z,V,q,$,G,X,Y,K,J,Z,Q,tt,et,rt,nt,it,ot,at,st,ct,lt,ut,ft,ht,dt,pt,vt,gt,mt,bt={};function yt(){if(R)return bt;R=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return bt.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,bt}function wt(){return L?P:(L=1,P=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function St(){if(F)return I;F=1;var t=N(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return I=t?n:function(t){return function(){return r.apply(t,arguments)}},I}function xt(){if(D)return j;D=1;var t=St(),e=t({}.toString),r=t("".slice);return j=function(t){return r(e(t),8,-1)}}function kt(){if(B)return M;B=1;var t=St(),e=_(),r=xt(),n=Object,i=t("".split);return M=e((function(){return!n("z").propertyIsEnumerable(0)}))?function(t){return"String"===r(t)?i(t,""):n(t)}:n}function Tt(){return U?W:(U=1,W=function(t){return null==t})}function At(){if(z)return H;z=1;var t=Tt(),e=TypeError;return H=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function Et(){if(q)return V;q=1;var t=kt(),e=At();return V=function(r){return t(e(r))}}function _t(){if(G)return $;G=1;var t="object"==typeof document&&document.all;return $=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function Ot(){if(Y)return X;Y=1;var t=_t();return X=function(e){return"object"==typeof e?null!==e:t(e)}}function Nt(){if(J)return K;J=1;var t=m(),e=_t();return K=function(r,n){return arguments.length<2?(i=t[r],e(i)?i:void 0):t[r]&&t[r][n];var i},K}function Ct(){if(Q)return Z;Q=1;var t=St();return Z=t({}.isPrototypeOf)}function Rt(){if(nt)return rt;nt=1;var t,e,r=m(),n=function(){if(et)return tt;et=1;var t=m().navigator,e=t&&t.userAgent;return tt=e?String(e):""}(),i=r.process,o=r.Deno,a=i&&i.versions||o&&o.version,s=a&&a.v8;return s&&(e=(t=s.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),rt=e}function Pt(){if(ot)return it;ot=1;var t=Rt(),e=_(),r=m().String;return it=!!Object.getOwnPropertySymbols&&!e((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function Lt(){if(st)return at;st=1;var t=Pt();return at=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function It(){if(lt)return ct;lt=1;var t=Nt(),e=_t(),r=Ct(),n=Lt(),i=Object;return ct=n?function(t){return"symbol"==typeof t}:function(n){var o=t("Symbol");return e(o)&&r(o.prototype,i(n))}}function Ft(){if(ft)return ut;ft=1;var t=String;return ut=function(e){try{return t(e)}catch(t){return"Object"}}}function jt(){if(dt)return ht;dt=1;var t=_t(),e=Ft(),r=TypeError;return ht=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function Dt(){if(vt)return pt;vt=1;var t=jt(),e=Tt();return pt=function(r,n){var i=r[n];return e(i)?void 0:t(i)}}function Mt(){if(mt)return gt;mt=1;var t=C(),e=_t(),r=Ot(),n=TypeError;return gt=function(i,o){var a,s;if("string"===o&&e(a=i.toString)&&!r(s=t(a,i)))return s;if(e(a=i.valueOf)&&!r(s=t(a,i)))return s;if("string"!==o&&e(a=i.toString)&&!r(s=t(a,i)))return s;throw new n("Can't convert object to primitive value")}}var Bt,Wt,Ut,Ht,zt,Vt,qt,$t,Gt,Xt,Yt,Kt,Jt,Zt,Qt,te,ee,re,ne,ie,oe,ae,se,ce,le={exports:{}};function ue(){if(Ht)return Ut;Ht=1;var t=m(),e=Object.defineProperty;return Ut=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function fe(){if(zt)return le.exports;zt=1;var t=Wt?Bt:(Wt=1,Bt=!1),e=m(),r=ue(),n="__core-js_shared__",i=le.exports=e[n]||r(n,{});return(i.versions||(i.versions=[])).push({version:"3.38.1",mode:t?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"}),le.exports}function he(){if(qt)return Vt;qt=1;var t=fe();return Vt=function(e,r){return t[e]||(t[e]=r||{})}}function de(){if(Gt)return $t;Gt=1;var t=At(),e=Object;return $t=function(r){return e(t(r))}}function pe(){if(Yt)return Xt;Yt=1;var t=St(),e=de(),r=t({}.hasOwnProperty);return Xt=Object.hasOwn||function(t,n){return r(e(t),n)}}function ve(){if(Jt)return Kt;Jt=1;var t=St(),e=0,r=Math.random(),n=t(1..toString);return Kt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function ge(){if(Qt)return Zt;Qt=1;var t=m(),e=he(),r=pe(),n=ve(),i=Pt(),o=Lt(),a=t.Symbol,s=e("wks"),c=o?a.for||a:a&&a.withoutSetter||n;return Zt=function(t){return r(s,t)||(s[t]=i&&r(a,t)?a[t]:c("Symbol."+t)),s[t]}}function me(){if(ee)return te;ee=1;var t=C(),e=Ot(),r=It(),n=Dt(),i=Mt(),o=ge(),a=TypeError,s=o("toPrimitive");return te=function(o,c){if(!e(o)||r(o))return o;var l,u=n(o,s);if(u){if(void 0===c&&(c="default"),l=t(u,o,c),!e(l)||r(l))return l;throw new a("Can't convert object to primitive value")}return void 0===c&&(c="number"),i(o,c)}}function be(){if(ne)return re;ne=1;var t=me(),e=It();return re=function(r){var n=t(r,"string");return e(n)?n:n+""}}function ye(){if(oe)return ie;oe=1;var t=m(),e=Ot(),r=t.document,n=e(r)&&e(r.createElement);return ie=function(t){return n?r.createElement(t):{}}}function we(){if(se)return ae;se=1;var t=O(),e=_(),r=ye();return ae=!t&&!e((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))}function Se(){if(ce)return E;ce=1;var t=O(),e=C(),r=yt(),n=wt(),i=Et(),o=be(),a=pe(),s=we(),c=Object.getOwnPropertyDescriptor;return E.f=t?c:function(t,l){if(t=i(t),l=o(l),s)try{return c(t,l)}catch(t){}if(a(t,l))return n(!e(r.f,t,l),t[l])},E}var xe,ke,Te,Ae,Ee,_e,Oe,Ne={};function Ce(){if(ke)return xe;ke=1;var t=O(),e=_();return xe=t&&e((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}function Re(){if(Ae)return Te;Ae=1;var t=Ot(),e=String,r=TypeError;return Te=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function Pe(){if(Ee)return Ne;Ee=1;var t=O(),e=we(),r=Ce(),n=Re(),i=be(),o=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c="enumerable",l="configurable",u="writable";return Ne.f=t?r?function(t,e,r){if(n(t),e=i(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&u in r&&!r[u]){var o=s(t,e);o&&o[u]&&(t[e]=r.value,r={configurable:l in r?r[l]:o[l],enumerable:c in r?r[c]:o[c],writable:!1})}return a(t,e,r)}:a:function(t,r,s){if(n(t),r=i(r),n(s),e)try{return a(t,r,s)}catch(t){}if("get"in s||"set"in s)throw new o("Accessors not supported");return"value"in s&&(t[r]=s.value),t},Ne}function Le(){if(Oe)return _e;Oe=1;var t=O(),e=Pe(),r=wt();return _e=t?function(t,n,i){return e.f(t,n,r(1,i))}:function(t,e,r){return t[e]=r,t}}var Ie,Fe,je,De,Me,Be,We,Ue,He,ze,Ve,qe,$e,Ge,Xe,Ye={exports:{}};function Ke(){if(Fe)return Ie;Fe=1;var t=O(),e=pe(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,i=e(r,"name"),o=i&&"something"===function(){}.name,a=i&&(!t||t&&n(r,"name").configurable);return Ie={EXISTS:i,PROPER:o,CONFIGURABLE:a}}function Je(){if(De)return je;De=1;var t=St(),e=_t(),r=fe(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),je=r.inspectSource}function Ze(){if(Ue)return We;Ue=1;var t=he(),e=ve(),r=t("keys");return We=function(t){return r[t]||(r[t]=e(t))}}function Qe(){return ze?He:(ze=1,He={})}function tr(){if(qe)return Ve;qe=1;var t,e,r,n=function(){if(Be)return Me;Be=1;var t=m(),e=_t(),r=t.WeakMap;return Me=e(r)&&/native code/.test(String(r))}(),i=m(),o=Ot(),a=Le(),s=pe(),c=fe(),l=Ze(),u=Qe(),f="Object already initialized",h=i.TypeError,d=i.WeakMap;if(n||c.state){var p=c.state||(c.state=new d);p.get=p.get,p.has=p.has,p.set=p.set,t=function(t,e){if(p.has(t))throw new h(f);return e.facade=t,p.set(t,e),e},e=function(t){return p.get(t)||{}},r=function(t){return p.has(t)}}else{var v=l("state");u[v]=!0,t=function(t,e){if(s(t,v))throw new h(f);return e.facade=t,a(t,v,e),e},e=function(t){return s(t,v)?t[v]:{}},r=function(t){return s(t,v)}}return Ve={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!o(r)||(n=e(r)).type!==t)throw new h("Incompatible receiver, "+t+" required");return n}}}}function er(){if($e)return Ye.exports;$e=1;var t=St(),e=_(),r=_t(),n=pe(),i=O(),o=Ke().CONFIGURABLE,a=Je(),s=tr(),c=s.enforce,l=s.get,u=String,f=Object.defineProperty,h=t("".slice),d=t("".replace),p=t([].join),v=i&&!e((function(){return 8!==f((function(){}),"length",{value:8}).length})),g=String(String).split("String"),m=Ye.exports=function(t,e,r){"Symbol("===h(u(e),0,7)&&(e="["+d(u(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||o&&t.name!==e)&&(i?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?i&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=c(t);return n(a,"source")||(a.source=p(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=m((function(){return r(this)&&l(this).source||a(this)}),"toString"),Ye.exports}function rr(){if(Xe)return Ge;Xe=1;var t=_t(),e=Pe(),r=er(),n=ue();return Ge=function(i,o,a,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:o;if(t(a)&&r(a,l,s),s.global)c?i[o]=a:n(o,a);else{try{s.unsafe?i[o]&&(c=!0):delete i[o]}catch(t){}c?i[o]=a:e.f(i,o,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return i}}var nr,ir,or,ar,sr,cr,lr,ur,fr,hr,dr,pr,vr,gr,mr,br,yr,wr={};function Sr(){if(ar)return or;ar=1;var t=function(){if(ir)return nr;ir=1;var t=Math.ceil,e=Math.floor;return nr=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return or=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function xr(){if(cr)return sr;cr=1;var t=Sr(),e=Math.max,r=Math.min;return sr=function(n,i){var o=t(n);return o<0?e(o+i,0):r(o,i)}}function kr(){if(ur)return lr;ur=1;var t=Sr(),e=Math.min;return lr=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function Tr(){if(hr)return fr;hr=1;var t=kr();return fr=function(e){return t(e.length)}}function Ar(){if(pr)return dr;pr=1;var t=Et(),e=xr(),r=Tr(),n=function(n){return function(i,o,a){var s=t(i),c=r(s);if(0===c)return!n&&-1;var l,u=e(a,c);if(n&&o!=o){for(;c>u;)if((l=s[u++])!=l)return!0}else for(;c>u;u++)if((n||u in s)&&s[u]===o)return n||u||0;return!n&&-1}};return dr={includes:n(!0),indexOf:n(!1)}}function Er(){if(gr)return vr;gr=1;var t=St(),e=pe(),r=Et(),n=Ar().indexOf,i=Qe(),o=t([].push);return vr=function(t,a){var s,c=r(t),l=0,u=[];for(s in c)!e(i,s)&&e(c,s)&&o(u,s);for(;a.length>l;)e(c,s=a[l++])&&(~n(u,s)||o(u,s));return u}}function _r(){return br?mr:(br=1,mr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var Or,Nr,Cr,Rr,Pr,Lr,Ir,Fr,jr,Dr,Mr,Br,Wr,Ur,Hr,zr,Vr,qr,$r,Gr,Xr,Yr,Kr,Jr,Zr,Qr,tn,en,rn={};function nn(){return Or||(Or=1,rn.f=Object.getOwnPropertySymbols),rn}function on(){if(Cr)return Nr;Cr=1;var t=Nt(),e=St(),r=function(){if(yr)return wr;yr=1;var t=Er(),e=_r().concat("length","prototype");return wr.f=Object.getOwnPropertyNames||function(r){return t(r,e)},wr}(),n=nn(),i=Re(),o=e([].concat);return Nr=t("Reflect","ownKeys")||function(t){var e=r.f(i(t)),a=n.f;return a?o(e,a(t)):e}}function an(){if(Pr)return Rr;Pr=1;var t=pe(),e=on(),r=Se(),n=Pe();return Rr=function(i,o,a){for(var s=e(o),c=n.f,l=r.f,u=0;u<s.length;u++){var f=s[u];t(i,f)||a&&t(a,f)||c(i,f,l(o,f))}}}function sn(){if(jr)return Fr;jr=1;var t=m(),e=Se().f,r=Le(),n=rr(),i=ue(),o=an(),a=function(){if(Ir)return Lr;Ir=1;var t=_(),e=_t(),r=/#|\.prototype\./,n=function(r,n){var c=o[i(r)];return c===s||c!==a&&(e(n)?t(n):!!n)},i=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},o=n.data={},a=n.NATIVE="N",s=n.POLYFILL="P";return Lr=n}();return Fr=function(s,c){var l,u,f,h,d,p=s.target,v=s.global,g=s.stat;if(l=v?t:g?t[p]||i(p,{}):t[p]&&t[p].prototype)for(u in c){if(h=c[u],f=s.dontCallGetSet?(d=e(l,u))&&d.value:l[u],!a(v?u:p+(g?".":"#")+u,s.forced)&&void 0!==f){if(typeof h==typeof f)continue;o(h,f)}(s.sham||f&&f.sham)&&r(h,"sham",!0),n(l,u,h,s)}}}function cn(){if(Mr)return Dr;Mr=1;var t=xt();return Dr=Array.isArray||function(e){return"Array"===t(e)}}function ln(){if(Wr)return Br;Wr=1;var t=TypeError;return Br=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}function un(){if(Hr)return Ur;Hr=1;var t=O(),e=Pe(),r=wt();return Ur=function(n,i,o){t?e.f(n,i,r(0,o)):n[i]=o}}function fn(){if(Vr)return zr;Vr=1;var t={};return t[ge()("toStringTag")]="z",zr="[object z]"===String(t)}function hn(){if($r)return qr;$r=1;var t=fn(),e=_t(),r=xt(),n=ge()("toStringTag"),i=Object,o="Arguments"===r(function(){return arguments}());return qr=t?r:function(t){var a,s,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(s=function(t,e){try{return t[e]}catch(t){}}(a=i(t),n))?s:o?r(a):"Object"===(c=r(a))&&e(a.callee)?"Arguments":c}}function dn(){if(Xr)return Gr;Xr=1;var t=St(),e=_(),r=_t(),n=hn(),i=Nt(),o=Je(),a=function(){},s=i("Reflect","construct"),c=/^\s*(?:class|function)\b/,l=t(c.exec),u=!c.test(a),f=function(t){if(!r(t))return!1;try{return s(a,[],t),!0}catch(t){return!1}},h=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return u||!!l(c,o(t))}catch(t){return!0}};return h.sham=!0,Gr=!s||e((function(){var t;return f(f.call)||!f(Object)||!f((function(){t=!0}))||t}))?h:f}function pn(){if(Kr)return Yr;Kr=1;var t=cn(),e=dn(),r=Ot(),n=ge()("species"),i=Array;return Yr=function(o){var a;return t(o)&&(a=o.constructor,(e(a)&&(a===i||t(a.prototype))||r(a)&&null===(a=a[n]))&&(a=void 0)),void 0===a?i:a}}function vn(){if(Zr)return Jr;Zr=1;var t=pn();return Jr=function(e,r){return new(t(e))(0===r?0:r)}}function gn(){if(tn)return Qr;tn=1;var t=_(),e=ge(),r=Rt(),n=e("species");return Qr=function(e){return r>=51||!t((function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}}!function(){if(en)return g;en=1;var t=sn(),e=_(),r=cn(),n=Ot(),i=de(),o=Tr(),a=ln(),s=un(),c=vn(),l=gn(),u=ge(),f=Rt(),h=u("isConcatSpreadable"),d=f>=51||!e((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),p=function(t){if(!n(t))return!1;var e=t[h];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!d||!l("concat")},{concat:function(t){var e,r,n,l,u,f=i(this),h=c(f,0),d=0;for(e=-1,n=arguments.length;e<n;e++)if(p(u=-1===e?f:arguments[e]))for(l=o(u),a(d+l),r=0;r<l;r++,d++)r in u&&s(h,d,u[r]);else a(d+1),s(h,d++,u);return h.length=d,h}})}();var mn,bn,yn,wn,Sn,xn,kn,Tn={};function An(){if(wn)return yn;wn=1;var t=function(){if(bn)return mn;bn=1;var t=xt(),e=St();return mn=function(r){if("Function"===t(r))return e(r)}}(),e=jt(),r=N(),n=t(t.bind);return yn=function(t,i){return e(t),void 0===i?t:r?n(t,i):function(){return t.apply(i,arguments)}},yn}function En(){if(xn)return Sn;xn=1;var t=An(),e=St(),r=kt(),n=de(),i=Tr(),o=vn(),a=e([].push),s=function(e){var s=1===e,c=2===e,l=3===e,u=4===e,f=6===e,h=7===e,d=5===e||f;return function(p,v,g,m){for(var b,y,w=n(p),S=r(w),x=i(S),k=t(v,g),T=0,A=m||o,E=s?A(p,x):c||h?A(p,0):void 0;x>T;T++)if((d||T in S)&&(y=k(b=S[T],T,w),e))if(s)E[T]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return T;case 2:a(E,b)}else switch(e){case 4:return!1;case 7:a(E,b)}return f?-1:l||u?u:E}};return Sn={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}}!function(){if(kn)return Tn;kn=1;var t=sn(),e=En().filter;t({target:"Array",proto:!0,forced:!gn()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var _n,On,Nn,Cn,Rn,Pn,Ln,In,Fn,jn,Dn={},Mn={};function Bn(){if(On)return _n;On=1;var t=Er(),e=_r();return _n=Object.keys||function(r){return t(r,e)}}function Wn(){if(Rn)return Cn;Rn=1;var t=Nt();return Cn=t("document","documentElement")}function Un(){if(Ln)return Pn;Ln=1;var t,e=Re(),r=function(){if(Nn)return Mn;Nn=1;var t=O(),e=Ce(),r=Pe(),n=Re(),i=Et(),o=Bn();return Mn.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var a,s=i(e),c=o(e),l=c.length,u=0;l>u;)r.f(t,a=c[u++],s[a]);return t},Mn}(),n=_r(),i=Qe(),o=Wn(),a=ye(),s=Ze(),c="prototype",l="script",u=s("IE_PROTO"),f=function(){},h=function(t){return"<"+l+">"+t+"</"+l+">"},d=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,i;p="undefined"!=typeof document?document.domain&&t?d(t):(r=a("iframe"),i="java"+l+":",r.style.display="none",o.appendChild(r),r.src=String(i),(e=r.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):d(t);for(var s=n.length;s--;)delete p[c][n[s]];return p()};return i[u]=!0,Pn=Object.create||function(t,n){var i;return null!==t?(f[c]=e(t),i=new f,f[c]=null,i[u]=t):i=p(),void 0===n?i:r.f(i,n)}}function Hn(){if(Fn)return In;Fn=1;var t=ge(),e=Un(),r=Pe().f,n=t("unscopables"),i=Array.prototype;return void 0===i[n]&&r(i,n,{configurable:!0,value:e(null)}),In=function(t){i[n][t]=!0}}!function(){if(jn)return Dn;jn=1;var t=sn(),e=En().find,r=Hn(),n="find",i=!0;n in[]&&Array(1)[n]((function(){i=!1})),t({target:"Array",proto:!0,forced:i},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)}();var zn,Vn={};!function(){if(zn)return Vn;zn=1;var t=sn(),e=Ar().includes,r=_(),n=Hn();t({target:"Array",proto:!0,forced:r((function(){return!Array(1).includes()}))},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")}();var qn,$n,Gn,Xn={};function Yn(){if($n)return qn;$n=1;var t=_();return qn=function(e,r){var n=[][e];return!!n&&t((function(){n.call(null,r||function(){return 1},1)}))}}!function(){if(Gn)return Xn;Gn=1;var t=sn(),e=St(),r=kt(),n=Et(),i=Yn(),o=e([].join);t({target:"Array",proto:!0,forced:r!==Object||!i("join",",")},{join:function(t){return o(n(this),void 0===t?",":t)}})}();var Kn,Jn={};!function(){if(Kn)return Jn;Kn=1;var t=sn(),e=En().map;t({target:"Array",proto:!0,forced:!gn()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var Zn,Qn={};!function(){if(Zn)return Qn;Zn=1;var t=sn(),e=_(),r=de(),n=me();t({target:"Date",proto:!0,arity:1,forced:e((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=r(this),i=n(e,"number");return"number"!=typeof i||isFinite(i)?e.toISOString():null}})}();var ti,ei,ri,ni={};!function(){if(ri)return ni;ri=1;var t=sn(),e=function(){if(ei)return ti;ei=1;var t=O(),e=St(),r=C(),n=_(),i=Bn(),o=nn(),a=yt(),s=de(),c=kt(),l=Object.assign,u=Object.defineProperty,f=e([].concat);return ti=!l||n((function(){if(t&&1!==l({b:1},l(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(t){r[t]=t})),7!==l({},e)[n]||i(l({},r)).join("")!==o}))?function(e,n){for(var l=s(e),u=arguments.length,h=1,d=o.f,p=a.f;u>h;)for(var v,g=c(arguments[h++]),m=d?f(i(g),d(g)):i(g),b=m.length,y=0;b>y;)v=m[y++],t&&!r(p,g,v)||(l[v]=g[v]);return l}:l,ti}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var ii,oi,ai,si,ci,li,ui,fi={};function hi(){if(si)return ai;si=1;var t=pe(),e=_t(),r=de(),n=Ze(),i=function(){if(oi)return ii;oi=1;var t=_();return ii=!t((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))}(),o=n("IE_PROTO"),a=Object,s=a.prototype;return ai=i?a.getPrototypeOf:function(n){var i=r(n);if(t(i,o))return i[o];var c=i.constructor;return e(c)&&i instanceof c?c.prototype:i instanceof a?s:null}}!function(){if(ui)return fi;ui=1;var t=sn(),e=function(){if(li)return ci;li=1;var t=O(),e=_(),r=St(),n=hi(),i=Bn(),o=Et(),a=r(yt().f),s=r([].push),c=t&&e((function(){var t=Object.create(null);return t[2]=2,!a(t,2)})),l=function(e){return function(r){for(var l,u=o(r),f=i(u),h=c&&null===n(u),d=f.length,p=0,v=[];d>p;)l=f[p++],t&&!(h?l in u:a(u,l))||s(v,e?[l,u[l]]:u[l]);return v}};return ci={entries:l(!0),values:l(!1)}}().entries;t({target:"Object",stat:!0},{entries:function(t){return e(t)}})}();var di,pi={};!function(){if(di)return pi;di=1;var t=sn(),e=de(),r=Bn();t({target:"Object",stat:!0,forced:_()((function(){r(1)}))},{keys:function(t){return r(e(t))}})}();var vi,gi,mi,bi={};!function(){if(mi)return bi;mi=1;var t=fn(),e=rr(),r=function(){if(gi)return vi;gi=1;var t=fn(),e=hn();return vi=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var yi,wi,Si,xi,ki,Ti,Ai,Ei,_i,Oi,Ni,Ci,Ri,Pi={};function Li(){if(wi)return yi;wi=1;var t=hn(),e=String;return yi=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}function Ii(){if(xi)return Si;xi=1;var t=Re();return Si=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}function Fi(){if(Ci)return Ni;Ci=1;var t,e,r=C(),n=St(),i=Li(),o=Ii(),a=function(){if(Ti)return ki;Ti=1;var t=_(),e=m().RegExp,r=t((function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),n=r||t((function(){return!e("a","y").sticky})),i=r||t((function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));return ki={BROKEN_CARET:i,MISSED_STICKY:n,UNSUPPORTED_Y:r}}(),s=he(),c=Un(),l=tr().get,u=function(){if(Ei)return Ai;Ei=1;var t=_(),e=m().RegExp;return Ai=t((function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))}(),f=function(){if(Oi)return _i;Oi=1;var t=_(),e=m().RegExp;return _i=t((function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))}(),h=s("native-string-replace",String.prototype.replace),d=RegExp.prototype.exec,p=d,v=n("".charAt),g=n("".indexOf),b=n("".replace),y=n("".slice),w=(e=/b*/g,r(d,t=/a/,"a"),r(d,e,"a"),0!==t.lastIndex||0!==e.lastIndex),S=a.BROKEN_CARET,x=void 0!==/()??/.exec("")[1];return(w||x||S||u||f)&&(p=function(t){var e,n,a,s,u,f,m,k=this,T=l(k),A=i(t),E=T.raw;if(E)return E.lastIndex=k.lastIndex,e=r(p,E,A),k.lastIndex=E.lastIndex,e;var _=T.groups,O=S&&k.sticky,N=r(o,k),C=k.source,R=0,P=A;if(O&&(N=b(N,"y",""),-1===g(N,"g")&&(N+="g"),P=y(A,k.lastIndex),k.lastIndex>0&&(!k.multiline||k.multiline&&"\n"!==v(A,k.lastIndex-1))&&(C="(?: "+C+")",P=" "+P,R++),n=new RegExp("^(?:"+C+")",N)),x&&(n=new RegExp("^"+C+"$(?!\\s)",N)),w&&(a=k.lastIndex),s=r(d,O?n:k,P),O?s?(s.input=y(s.input,R),s[0]=y(s[0],R),s.index=k.lastIndex,k.lastIndex+=s[0].length):k.lastIndex=0:w&&s&&(k.lastIndex=k.global?s.index+s[0].length:a),x&&s&&s.length>1&&r(h,s[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(s[u]=void 0)})),s&&_)for(s.groups=f=c(null),u=0;u<_.length;u++)f[(m=_[u])[0]]=s[m[1]];return s}),Ni=p}function ji(){if(Ri)return Pi;Ri=1;var t=sn(),e=Fi();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),Pi}ji();var Di,Mi,Bi,Wi={};!function(){if(Bi)return Wi;Bi=1;var t=Ke().PROPER,e=rr(),r=Re(),n=Li(),i=_(),o=function(){if(Mi)return Di;Mi=1;var t=C(),e=pe(),r=Ct(),n=Ii(),i=RegExp.prototype;return Di=function(o){var a=o.flags;return void 0!==a||"flags"in i||e(o,"flags")||!r(i,o)?a:t(n,o)}}(),a="toString",s=RegExp.prototype,c=s[a],l=i((function(){return"/a/b"!==c.call({source:"a",flags:"b"})})),u=t&&c.name!==a;(l||u)&&e(s,a,(function(){var t=r(this);return"/"+n(t.source)+"/"+n(o(t))}),{unsafe:!0})}();var Ui,Hi,zi,Vi,qi,$i,Gi,Xi={};function Yi(){if(Vi)return zi;Vi=1;var t=function(){if(Hi)return Ui;Hi=1;var t=Ot(),e=xt(),r=ge()("match");return Ui=function(n){var i;return t(n)&&(void 0!==(i=n[r])?!!i:"RegExp"===e(n))}}(),e=TypeError;return zi=function(r){if(t(r))throw new e("The method doesn't accept regular expressions");return r}}!function(){if(Gi)return Xi;Gi=1;var t=sn(),e=St(),r=Yi(),n=At(),i=Li(),o=function(){if($i)return qi;$i=1;var t=ge()("match");return qi=function(e){var r=/./;try{"/./"[e](r)}catch(n){try{return r[t]=!1,"/./"[e](r)}catch(t){}}return!1}}(),a=e("".indexOf);t({target:"String",proto:!0,forced:!o("includes")},{includes:function(t){return!!~a(i(n(this)),i(r(t)),arguments.length>1?arguments[1]:void 0)}})}();var Ki,Ji,Zi,Qi,to,eo,ro,no,io,oo,ao,so,co,lo={};function uo(){if(Qi)return Zi;Qi=1,ji();var t=C(),e=rr(),r=Fi(),n=_(),i=ge(),o=Le(),a=i("species"),s=RegExp.prototype;return Zi=function(c,l,u,f){var h=i(c),d=!n((function(){var t={};return t[h]=function(){return 7},7!==""[c](t)})),p=d&&!n((function(){var t=!1,e=/a/;return"split"===c&&((e={}).constructor={},e.constructor[a]=function(){return e},e.flags="",e[h]=/./[h]),e.exec=function(){return t=!0,null},e[h](""),!t}));if(!d||!p||u){var v=/./[h],g=l(h,""[c],(function(e,n,i,o,a){var c=n.exec;return c===r||c===s.exec?d&&!a?{done:!0,value:t(v,n,i,o)}:{done:!0,value:t(e,i,n,o)}:{done:!1}}));e(String.prototype,c,g[0]),e(s,h,g[1])}f&&o(s[h],"sham",!0)}}function fo(){if(no)return ro;no=1;var t=function(){if(eo)return to;eo=1;var t=St(),e=Sr(),r=Li(),n=At(),i=t("".charAt),o=t("".charCodeAt),a=t("".slice),s=function(t){return function(s,c){var l,u,f=r(n(s)),h=e(c),d=f.length;return h<0||h>=d?t?"":void 0:(l=o(f,h))<55296||l>56319||h+1===d||(u=o(f,h+1))<56320||u>57343?t?i(f,h):l:t?a(f,h,h+2):u-56320+(l-55296<<10)+65536}};return to={codeAt:s(!1),charAt:s(!0)}}().charAt;return ro=function(e,r,n){return r+(n?t(e,r).length:1)}}function ho(){if(oo)return io;oo=1;var t=St(),e=de(),r=Math.floor,n=t("".charAt),i=t("".replace),o=t("".slice),a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;return io=function(t,c,l,u,f,h){var d=l+t.length,p=u.length,v=s;return void 0!==f&&(f=e(f),v=a),i(h,v,(function(e,i){var a;switch(n(i,0)){case"$":return"$";case"&":return t;case"`":return o(c,0,l);case"'":return o(c,d);case"<":a=f[o(i,1,-1)];break;default:var s=+i;if(0===s)return e;if(s>p){var h=r(s/10);return 0===h?e:h<=p?void 0===u[h-1]?n(i,1):u[h-1]+n(i,1):e}a=u[s-1]}return void 0===a?"":a}))}}function po(){if(so)return ao;so=1;var t=C(),e=Re(),r=_t(),n=xt(),i=Fi(),o=TypeError;return ao=function(a,s){var c=a.exec;if(r(c)){var l=t(c,a,s);return null!==l&&e(l),l}if("RegExp"===n(a))return t(i,a,s);throw new o("RegExp#exec called on incompatible receiver")}}!function(){if(co)return lo;co=1;var t=function(){if(Ji)return Ki;Ji=1;var t=N(),e=Function.prototype,r=e.apply,n=e.call;return Ki="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),Ki}(),e=C(),r=St(),n=uo(),i=_(),o=Re(),a=_t(),s=Tt(),c=Sr(),l=kr(),u=Li(),f=At(),h=fo(),d=Dt(),p=ho(),v=po(),g=ge()("replace"),m=Math.max,b=Math.min,y=r([].concat),w=r([].push),S=r("".indexOf),x=r("".slice),k="$0"==="a".replace(/./,"$0"),T=!!/./[g]&&""===/./[g]("a","$0");n("replace",(function(r,n,i){var k=T?"$":"$0";return[function(t,r){var i=f(this),o=s(t)?void 0:d(t,g);return o?e(o,t,i,r):e(n,u(i),t,r)},function(e,r){var s=o(this),f=u(e);if("string"==typeof r&&-1===S(r,k)&&-1===S(r,"$<")){var d=i(n,s,f,r);if(d.done)return d.value}var g=a(r);g||(r=u(r));var T,A=s.global;A&&(T=s.unicode,s.lastIndex=0);for(var E,_=[];null!==(E=v(s,f))&&(w(_,E),A);){""===u(E[0])&&(s.lastIndex=h(f,l(s.lastIndex),T))}for(var O,N="",C=0,R=0;R<_.length;R++){for(var P,L=u((E=_[R])[0]),I=m(b(c(E.index),f.length),0),F=[],j=1;j<E.length;j++)w(F,void 0===(O=E[j])?O:String(O));var D=E.groups;if(g){var M=y([L],F,I,f);void 0!==D&&w(M,D),P=u(t(r,void 0,M))}else P=p(L,f,I,F,D,r);I>=C&&(N+=x(f,C,I)+P,C=I+L.length)}return N+x(f,C)}]}),!!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!k||T)}();var vo,go,mo,bo={};function yo(){return go?vo:(go=1,vo=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e})}!function(){if(mo)return bo;mo=1;var t=C(),e=uo(),r=Re(),n=Tt(),i=At(),o=yo(),a=Li(),s=Dt(),c=po();e("search",(function(e,l,u){return[function(r){var o=i(this),c=n(r)?void 0:s(r,e);return c?t(c,r,o):new RegExp(r)[e](a(o))},function(t){var e=r(this),n=a(t),i=u(l,e,n);if(i.done)return i.value;var s=e.lastIndex;o(s,0)||(e.lastIndex=0);var f=c(e,n);return o(e.lastIndex,s)||(e.lastIndex=s),null===f?-1:f.index}]}))}();var wo,So,xo,ko,To,Ao,Eo,_o={};!function(){if(Eo)return _o;Eo=1;var t=m(),e=So?wo:(So=1,wo={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}),r=function(){if(ko)return xo;ko=1;var t=ye()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return xo=e===Object.prototype?void 0:e}(),n=function(){if(Ao)return To;Ao=1;var t=En().forEach,e=Yn()("forEach");return To=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},To}(),i=Le(),o=function(t){if(t&&t.forEach!==n)try{i(t,"forEach",n)}catch(e){t.forEach=n}};for(var a in e)e[a]&&o(t[a]&&t[a].prototype);o(r)}();var Oo=t.fn.bootstrapTable.utils,No={cookieIds:{sortOrder:"bs.table.sortOrder",sortName:"bs.table.sortName",sortPriority:"bs.table.sortPriority",pageNumber:"bs.table.pageNumber",pageList:"bs.table.pageList",hiddenColumns:"bs.table.hiddenColumns",cardView:"bs.table.cardView",customView:"bs.table.customView",searchText:"bs.table.searchText",reorderColumns:"bs.table.reorderColumns",filterControl:"bs.table.filterControl",filterBy:"bs.table.filterBy"},getCurrentHeader:function(t){return t.options.height?t.$tableHeader:t.$header},getCurrentSearchControls:function(t){return t.options.height?"table select, table input":"select, input"},isCookieSupportedByBrowser:function(){return navigator.cookieEnabled},isCookieEnabled:function(t,e){return t.options.cookiesEnabled.includes(e)},setCookie:function(t,e,r){if(t.options.cookie&&No.isCookieEnabled(t,e))return t._storage.setItem("".concat(t.options.cookieIdTable,".").concat(e),r)},getCookie:function(t,e){return e&&No.isCookieEnabled(t,e)?t._storage.getItem("".concat(t.options.cookieIdTable,".").concat(e)):null},deleteCookie:function(t,e){return t._storage.removeItem("".concat(t.options.cookieIdTable,".").concat(e))},calculateExpiration:function(t){var e=t.replace(/[0-9]*/,"");switch(t=t.replace(/[A-Za-z]{1,2}/,""),e.toLowerCase()){case"s":t=+t;break;case"mi":t*=60;break;case"h":t=60*t*60;break;case"d":t=24*t*60*60;break;case"m":t=30*t*24*60*60;break;case"y":t=365*t*24*60*60;break;default:t=void 0}if(!t)return"";var r=new Date;return r.setTime(r.getTime()+1e3*t),r.toGMTString()},initCookieFilters:function(e){setTimeout((function(){var r=JSON.parse(No.getCookie(e,No.cookieIds.filterControl));if(!e._filterControlValuesLoaded&&r){var n={},o=No.getCurrentHeader(e),a=No.getCurrentSearchControls(e),s=o;e.options.filterControlContainer&&(s=t("".concat(e.options.filterControlContainer))),s.find(a).each((function(){var o=t(this).closest("[data-field]").data("field");!function(t,r){r.forEach((function(r){var o=t.value.toString(),a=r.text;if(""!==a&&("radio"!==t.type||o===a))if("INPUT"===t.tagName&&"radio"===t.type&&o===a)t.checked=!0,n[r.field]=a;else if("INPUT"===t.tagName)t.value=a,n[r.field]=a;else if("SELECT"===t.tagName&&e.options.filterControlContainer)t.value=a,n[r.field]=a;else if(""!==a&&"SELECT"===t.tagName){n[r.field]=a;var s,c=i(t);try{for(c.s();!(s=c.n()).done;){var l=s.value;if(l.value===a)return void(l.selected=!0)}}catch(t){c.e(t)}finally{c.f()}var u=document.createElement("option");u.value=a,u.text=a,t.add(u,t[1]),t.selectedIndex=1}}))}(this,r.filter((function(t){return t.field===o})))})),e.initColumnSearch(n),e._filterControlValuesLoaded=!0,e.initServer()}}),250)}};Object.assign(t.fn.bootstrapTable.defaults,{cookie:!1,cookieExpire:"2h",cookiePath:null,cookieDomain:null,cookieSecure:null,cookieSameSite:"Lax",cookieIdTable:"",cookiesEnabled:["bs.table.sortOrder","bs.table.sortName","bs.table.sortPriority","bs.table.pageNumber","bs.table.pageList","bs.table.hiddenColumns","bs.table.searchText","bs.table.filterControl","bs.table.filterBy","bs.table.reorderColumns","bs.table.cardView","bs.table.customView"],cookieStorage:"cookieStorage",cookieCustomStorageGet:null,cookieCustomStorageSet:null,cookieCustomStorageDelete:null,_filterControls:[],_filterControlValuesLoaded:!1,_storage:{setItem:void 0,getItem:void 0,removeItem:void 0}}),t.fn.bootstrapTable.methods.push("getCookies"),t.fn.bootstrapTable.methods.push("deleteCookie"),Object.assign(t.fn.bootstrapTable.utils,{setCookie:No.setCookie,getCookie:No.getCookie}),t.BootstrapTable=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&c(t,e)}(e,t),n(e,[{key:"init",value:function(){if(this.options.cookie){if("cookieStorage"===this.options.cookieStorage&&!No.isCookieSupportedByBrowser())throw new Error("Cookies are not enabled in this browser.");this.configureStorage();var t=No.getCookie(this,No.cookieIds.filterBy);if("boolean"==typeof t&&!t)throw new Error("The cookie value of filterBy must be a json!");var r={};try{r=JSON.parse(t)}catch(t){throw new Error("Could not parse the json of the filterBy cookie!")}if(this.filterColumns=r||{},this._filterControls=[],this._filterControlValuesLoaded=!1,this.options.cookiesEnabled="string"==typeof this.options.cookiesEnabled?this.options.cookiesEnabled.replace("[","").replace("]","").replace(/'/g,"").replace(/ /g,"").split(","):this.options.cookiesEnabled,this.options.filterControl){var n=this;this.$el.on("column-search.bs.table",(function(t,e,r){for(var i=!0,o=0;o<n._filterControls.length;o++)if(n._filterControls[o].field===e){n._filterControls[o].text=r,i=!1;break}i&&n._filterControls.push({field:e,text:r}),No.setCookie(n,No.cookieIds.filterControl,JSON.stringify(n._filterControls))})).on("created-controls.bs.table",No.initCookieFilters(n))}}u(e,"init",this)([])}},{key:"initServer",value:function(){if(this.options.cookie&&this.options.filterControl&&!this._filterControlValuesLoaded&&JSON.parse(No.getCookie(this,No.cookieIds.filterControl)))return;for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];u(e,"initServer",this)(r)}},{key:"initTable",value:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];u(e,"initTable",this)(r),this.initCookie()}},{key:"onSort",value:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];u(e,"onSort",this)(r),this.options.cookie&&(void 0===this.options.sortName||void 0===this.options.sortOrder?(No.deleteCookie(this,No.cookieIds.sortName),No.deleteCookie(this,No.cookieIds.sortOrder)):(this.options.sortPriority=null,No.deleteCookie(this,No.cookieIds.sortPriority),No.setCookie(this,No.cookieIds.sortOrder,this.options.sortOrder),No.setCookie(this,No.cookieIds.sortName,this.options.sortName)))}},{key:"onMultipleSort",value:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];u(e,"onMultipleSort",this)(r),this.options.cookie&&(void 0===this.options.sortPriority?No.deleteCookie(this,No.cookieIds.sortPriority):(this.options.sortName=void 0,this.options.sortOrder=void 0,No.deleteCookie(this,No.cookieIds.sortName),No.deleteCookie(this,No.cookieIds.sortOrder),No.setCookie(this,No.cookieIds.sortPriority,JSON.stringify(this.options.sortPriority))))}},{key:"onPageNumber",value:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];u(e,"onPageNumber",this)(r),this.options.cookie&&No.setCookie(this,No.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPageListChange",value:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];u(e,"onPageListChange",this)(r),this.options.cookie&&(No.setCookie(this,No.cookieIds.pageList,this.options.pageSize===this.options.formatAllRows()?"all":this.options.pageSize),No.setCookie(this,No.cookieIds.pageNumber,this.options.pageNumber))}},{key:"onPagePre",value:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];u(e,"onPagePre",this)(r),this.options.cookie&&No.setCookie(this,No.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPageNext",value:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];u(e,"onPageNext",this)(r),this.options.cookie&&No.setCookie(this,No.cookieIds.pageNumber,this.options.pageNumber)}},{key:"_toggleColumn",value:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];u(e,"_toggleColumn",this)(r),this.options.cookie&&No.setCookie(this,No.cookieIds.hiddenColumns,JSON.stringify(this.getHiddenColumns().map((function(t){return t.field}))))}},{key:"_toggleAllColumns",value:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];u(e,"_toggleAllColumns",this)(r),this.options.cookie&&No.setCookie(this,No.cookieIds.hiddenColumns,JSON.stringify(this.getHiddenColumns().map((function(t){return t.field}))))}},{key:"toggleView",value:function(){u(e,"toggleView",this)([]),No.setCookie(this,No.cookieIds.cardView,this.options.cardView)}},{key:"toggleCustomView",value:function(){u(e,"toggleCustomView",this)([]),No.setCookie(this,No.cookieIds.customView,this.customViewDefaultView)}},{key:"selectPage",value:function(t){u(e,"selectPage",this)([t]),this.options.cookie&&No.setCookie(this,No.cookieIds.pageNumber,t)}},{key:"onSearch",value:function(t){u(e,"onSearch",this)([t,!(arguments.length>1)||arguments[1]]),this.options.cookie&&(this.options.search&&No.setCookie(this,No.cookieIds.searchText,this.searchText),No.setCookie(this,No.cookieIds.pageNumber,this.options.pageNumber))}},{key:"initHeader",value:function(){this.options.reorderableColumns&&this.options.cookie&&(this.columnsSortOrder=JSON.parse(No.getCookie(this,No.cookieIds.reorderColumns)));for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];u(e,"initHeader",this)(r)}},{key:"persistReorderColumnsState",value:function(t){No.setCookie(t,No.cookieIds.reorderColumns,JSON.stringify(t.columnsSortOrder))}},{key:"filterBy",value:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];u(e,"filterBy",this)(r),this.options.cookie&&No.setCookie(this,No.cookieIds.filterBy,JSON.stringify(this.filterColumns))}},{key:"initCookie",value:function(){if(this.options.cookie){if(""===this.options.cookieIdTable||""===this.options.cookieExpire)return console.error("Configuration error. Please review the cookieIdTable and the cookieExpire property. If the properties are correct, then this browser does not support cookies."),void(this.options.cookie=!1);var t=No.getCookie(this,No.cookieIds.sortOrder),e=No.getCookie(this,No.cookieIds.sortName),r=No.getCookie(this,No.cookieIds.sortPriority),n=No.getCookie(this,No.cookieIds.pageNumber),o=No.getCookie(this,No.cookieIds.pageList),a=No.getCookie(this,No.cookieIds.searchText),s=No.getCookie(this,No.cookieIds.cardView),c=No.getCookie(this,No.cookieIds.customView),l=No.getCookie(this,No.cookieIds.hiddenColumns),u={};try{u=JSON.parse(l)}catch(t){throw new Error("Could not parse the json of the hidden columns cookie!",l)}try{r=JSON.parse(r)}catch(t){throw new Error("Could not parse the json of the sortPriority cookie!",r)}if(r?(this.options.sortOrder=void 0,this.options.sortName=void 0):(this.options.sortOrder=t||this.options.sortOrder,this.options.sortName=e||this.options.sortName),this.options.sortPriority=r||this.options.sortPriority,(this.options.sortOrder||this.options.sortName)&&(this.options.sortPriority=null),this.options.pageNumber=n?+n:this.options.pageNumber,this.options.pageSize=o?"all"===o?this.options.formatAllRows():+o:this.options.pageSize,No.isCookieEnabled(this,No.cookieIds.searchText)&&""===this.options.searchText&&(this.options.searchText=a||""),null!==s&&(this.options.cardView="true"===s&&s),this.customViewDefaultView="true"===c,u){var f,h=i(this.columns);try{for(h.s();!(f=h.n()).done;){var d=f.value;d.switchable&&(d.visible=this.isSelectionColumn(d)||!u.includes(d.field))}}catch(t){h.e(t)}finally{h.f()}}}}},{key:"getCookies",value:function(){for(var t={},e=0,r=Object.entries(No.cookieIds);e<r.length;e++){var n=l(r[e],2),i=n[0],o=n[1];t[i]=No.getCookie(this,o),"columns"!==i&&"hiddenColumns"!==i&&"sortPriority"!==i||(t[i]=JSON.parse(t[i]))}return t}},{key:"deleteCookie",value:function(t){t&&this.options.cookie&&No.deleteCookie(this,No.cookieIds[t])}},{key:"configureStorage",value:function(){var t=this;switch(this._storage={},this.options.cookieStorage){case"cookieStorage":this._storage.setItem=function(e,r){document.cookie=[e,"=",encodeURIComponent(r),"; expires=".concat(No.calculateExpiration(t.options.cookieExpire)),t.options.cookiePath?"; path=".concat(t.options.cookiePath):"",t.options.cookieDomain?"; domain=".concat(t.options.cookieDomain):"",t.options.cookieSecure?"; secure":"",";SameSite=".concat(t.options.cookieSameSite)].join("")},this._storage.getItem=function(t){var e="; ".concat(document.cookie).split("; ".concat(t,"="));return 2===e.length?decodeURIComponent(e.pop().split(";").shift()):null},this._storage.removeItem=function(e){document.cookie=[encodeURIComponent(e),"=","; expires=Thu, 01 Jan 1970 00:00:00 GMT",t.options.cookiePath?"; path=".concat(t.options.cookiePath):"",t.options.cookieDomain?"; domain=".concat(t.options.cookieDomain):"",";SameSite=".concat(t.options.cookieSameSite)].join("")};break;case"localStorage":this._storage.setItem=function(t,e){localStorage.setItem(t,e)},this._storage.getItem=function(t){return localStorage.getItem(t)},this._storage.removeItem=function(t){localStorage.removeItem(t)};break;case"sessionStorage":this._storage.setItem=function(t,e){sessionStorage.setItem(t,e)},this._storage.getItem=function(t){return sessionStorage.getItem(t)},this._storage.removeItem=function(t){sessionStorage.removeItem(t)};break;case"customStorage":if(!this.options.cookieCustomStorageSet||!this.options.cookieCustomStorageGet||!this.options.cookieCustomStorageDelete)throw new Error("The following options must be set while using the customStorage: cookieCustomStorageSet, cookieCustomStorageGet and cookieCustomStorageDelete");this._storage.setItem=function(e,r){Oo.calculateObjectValue(t.options,t.options.cookieCustomStorageSet,[e,r],"")},this._storage.getItem=function(e){return Oo.calculateObjectValue(t.options,t.options.cookieCustomStorageGet,[e],"")},this._storage.removeItem=function(e){Oo.calculateObjectValue(t.options,t.options.cookieCustomStorageDelete,[e],"")};break;default:throw new Error("Storage method not supported.")}}}])}(t.BootstrapTable)})),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function e(t,e,r){return e=i(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,o()?Reflect.construct(e,r||[],i(t).constructor):e.apply(t,r))}function r(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,c(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function n(){return n="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=i(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}},n.apply(null,arguments)}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}function o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(o=function(){return!!t})()}function a(t,e){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},a(t,e)}function s(t,e,r,o){var a=n(i(t.prototype),e,r);return function(t){return a.apply(r,t)}}function c(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof e?e:e+""}var l,u,f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},h={};function d(){if(u)return l;u=1;var t=function(t){return t&&t.Math===Math&&t};return l=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof f&&f)||t("object"==typeof l&&l)||function(){return this}()||Function("return this")()}var p,v,g,m,b,y,w,S,x={};function k(){return v?p:(v=1,p=function(t){try{return!!t()}catch(t){return!0}})}function T(){if(m)return g;m=1;var t=k();return g=!t((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function A(){if(y)return b;y=1;var t=k();return b=!t((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function E(){if(S)return w;S=1;var t=A(),e=Function.prototype.call;return w=t?e.bind(e):function(){return e.apply(e,arguments)},w}var _,O,N,C,R,P,L,I,F,j,D,M,B,W,U,H,z,V,q,$,G,X,Y,K,J,Z,Q,tt,et,rt,nt,it,ot,at,st,ct,lt,ut,ft,ht,dt,pt={};function vt(){if(_)return pt;_=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return pt.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,pt}function gt(){return N?O:(N=1,O=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function mt(){if(R)return C;R=1;var t=A(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return C=t?n:function(t){return function(){return r.apply(t,arguments)}},C}function bt(){if(L)return P;L=1;var t=mt(),e=t({}.toString),r=t("".slice);return P=function(t){return r(e(t),8,-1)}}function yt(){if(F)return I;F=1;var t=mt(),e=k(),r=bt(),n=Object,i=t("".split);return I=e((function(){return!n("z").propertyIsEnumerable(0)}))?function(t){return"String"===r(t)?i(t,""):n(t)}:n}function wt(){return D?j:(D=1,j=function(t){return null==t})}function St(){if(B)return M;B=1;var t=wt(),e=TypeError;return M=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function xt(){if(U)return W;U=1;var t=yt(),e=St();return W=function(r){return t(e(r))}}function kt(){if(z)return H;z=1;var t="object"==typeof document&&document.all;return H=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function Tt(){if(q)return V;q=1;var t=kt();return V=function(e){return"object"==typeof e?null!==e:t(e)}}function At(){if(G)return $;G=1;var t=d(),e=kt();return $=function(r,n){return arguments.length<2?(i=t[r],e(i)?i:void 0):t[r]&&t[r][n];var i},$}function Et(){if(Q)return Z;Q=1;var t,e,r=d(),n=function(){if(J)return K;J=1;var t=d().navigator,e=t&&t.userAgent;return K=e?String(e):""}(),i=r.process,o=r.Deno,a=i&&i.versions||o&&o.version,s=a&&a.v8;return s&&(e=(t=s.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),Z=e}function _t(){if(et)return tt;et=1;var t=Et(),e=k(),r=d().String;return tt=!!Object.getOwnPropertySymbols&&!e((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function Ot(){if(nt)return rt;nt=1;var t=_t();return rt=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Nt(){if(ot)return it;ot=1;var t=At(),e=kt(),r=function(){if(Y)return X;Y=1;var t=mt();return X=t({}.isPrototypeOf)}(),n=Ot(),i=Object;return it=n?function(t){return"symbol"==typeof t}:function(n){var o=t("Symbol");return e(o)&&r(o.prototype,i(n))}}function Ct(){if(st)return at;st=1;var t=String;return at=function(e){try{return t(e)}catch(t){return"Object"}}}function Rt(){if(lt)return ct;lt=1;var t=kt(),e=Ct(),r=TypeError;return ct=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function Pt(){if(ft)return ut;ft=1;var t=Rt(),e=wt();return ut=function(r,n){var i=r[n];return e(i)?void 0:t(i)}}function Lt(){if(dt)return ht;dt=1;var t=E(),e=kt(),r=Tt(),n=TypeError;return ht=function(i,o){var a,s;if("string"===o&&e(a=i.toString)&&!r(s=t(a,i)))return s;if(e(a=i.valueOf)&&!r(s=t(a,i)))return s;if("string"!==o&&e(a=i.toString)&&!r(s=t(a,i)))return s;throw new n("Can't convert object to primitive value")}}var It,Ft,jt,Dt,Mt,Bt,Wt,Ut,Ht,zt,Vt,qt,$t,Gt,Xt,Yt,Kt,Jt,Zt,Qt,te,ee,re,ne,ie={exports:{}};function oe(){if(Dt)return jt;Dt=1;var t=d(),e=Object.defineProperty;return jt=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function ae(){if(Mt)return ie.exports;Mt=1;var t=Ft?It:(Ft=1,It=!1),e=d(),r=oe(),n="__core-js_shared__",i=ie.exports=e[n]||r(n,{});return(i.versions||(i.versions=[])).push({version:"3.38.1",mode:t?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"}),ie.exports}function se(){if(Wt)return Bt;Wt=1;var t=ae();return Bt=function(e,r){return t[e]||(t[e]=r||{})}}function ce(){if(Ht)return Ut;Ht=1;var t=St(),e=Object;return Ut=function(r){return e(t(r))}}function le(){if(Vt)return zt;Vt=1;var t=mt(),e=ce(),r=t({}.hasOwnProperty);return zt=Object.hasOwn||function(t,n){return r(e(t),n)}}function ue(){if($t)return qt;$t=1;var t=mt(),e=0,r=Math.random(),n=t(1..toString);return qt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function fe(){if(Xt)return Gt;Xt=1;var t=d(),e=se(),r=le(),n=ue(),i=_t(),o=Ot(),a=t.Symbol,s=e("wks"),c=o?a.for||a:a&&a.withoutSetter||n;return Gt=function(t){return r(s,t)||(s[t]=i&&r(a,t)?a[t]:c("Symbol."+t)),s[t]}}function he(){if(Kt)return Yt;Kt=1;var t=E(),e=Tt(),r=Nt(),n=Pt(),i=Lt(),o=fe(),a=TypeError,s=o("toPrimitive");return Yt=function(o,c){if(!e(o)||r(o))return o;var l,u=n(o,s);if(u){if(void 0===c&&(c="default"),l=t(u,o,c),!e(l)||r(l))return l;throw new a("Can't convert object to primitive value")}return void 0===c&&(c="number"),i(o,c)}}function de(){if(Zt)return Jt;Zt=1;var t=he(),e=Nt();return Jt=function(r){var n=t(r,"string");return e(n)?n:n+""}}function pe(){if(te)return Qt;te=1;var t=d(),e=Tt(),r=t.document,n=e(r)&&e(r.createElement);return Qt=function(t){return n?r.createElement(t):{}}}function ve(){if(re)return ee;re=1;var t=T(),e=k(),r=pe();return ee=!t&&!e((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))}function ge(){if(ne)return x;ne=1;var t=T(),e=E(),r=vt(),n=gt(),i=xt(),o=de(),a=le(),s=ve(),c=Object.getOwnPropertyDescriptor;return x.f=t?c:function(t,l){if(t=i(t),l=o(l),s)try{return c(t,l)}catch(t){}if(a(t,l))return n(!e(r.f,t,l),t[l])},x}var me,be,ye,we,Se,xe,ke,Te={};function Ae(){if(be)return me;be=1;var t=T(),e=k();return me=t&&e((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}function Ee(){if(we)return ye;we=1;var t=Tt(),e=String,r=TypeError;return ye=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function _e(){if(Se)return Te;Se=1;var t=T(),e=ve(),r=Ae(),n=Ee(),i=de(),o=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c="enumerable",l="configurable",u="writable";return Te.f=t?r?function(t,e,r){if(n(t),e=i(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&u in r&&!r[u]){var o=s(t,e);o&&o[u]&&(t[e]=r.value,r={configurable:l in r?r[l]:o[l],enumerable:c in r?r[c]:o[c],writable:!1})}return a(t,e,r)}:a:function(t,r,s){if(n(t),r=i(r),n(s),e)try{return a(t,r,s)}catch(t){}if("get"in s||"set"in s)throw new o("Accessors not supported");return"value"in s&&(t[r]=s.value),t},Te}function Oe(){if(ke)return xe;ke=1;var t=T(),e=_e(),r=gt();return xe=t?function(t,n,i){return e.f(t,n,r(1,i))}:function(t,e,r){return t[e]=r,t}}var Ne,Ce,Re,Pe,Le,Ie,Fe,je,De,Me,Be,We,Ue,He,ze,Ve={exports:{}};function qe(){if(Pe)return Re;Pe=1;var t=mt(),e=kt(),r=ae(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),Re=r.inspectSource}function $e(){if(je)return Fe;je=1;var t=se(),e=ue(),r=t("keys");return Fe=function(t){return r[t]||(r[t]=e(t))}}function Ge(){return Me?De:(Me=1,De={})}function Xe(){if(We)return Be;We=1;var t,e,r,n=function(){if(Ie)return Le;Ie=1;var t=d(),e=kt(),r=t.WeakMap;return Le=e(r)&&/native code/.test(String(r))}(),i=d(),o=Tt(),a=Oe(),s=le(),c=ae(),l=$e(),u=Ge(),f="Object already initialized",h=i.TypeError,p=i.WeakMap;if(n||c.state){var v=c.state||(c.state=new p);v.get=v.get,v.has=v.has,v.set=v.set,t=function(t,e){if(v.has(t))throw new h(f);return e.facade=t,v.set(t,e),e},e=function(t){return v.get(t)||{}},r=function(t){return v.has(t)}}else{var g=l("state");u[g]=!0,t=function(t,e){if(s(t,g))throw new h(f);return e.facade=t,a(t,g,e),e},e=function(t){return s(t,g)?t[g]:{}},r=function(t){return s(t,g)}}return Be={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!o(r)||(n=e(r)).type!==t)throw new h("Incompatible receiver, "+t+" required");return n}}}}function Ye(){if(Ue)return Ve.exports;Ue=1;var t=mt(),e=k(),r=kt(),n=le(),i=T(),o=function(){if(Ce)return Ne;Ce=1;var t=T(),e=le(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,i=e(r,"name"),o=i&&"something"===function(){}.name,a=i&&(!t||t&&n(r,"name").configurable);return Ne={EXISTS:i,PROPER:o,CONFIGURABLE:a}}().CONFIGURABLE,a=qe(),s=Xe(),c=s.enforce,l=s.get,u=String,f=Object.defineProperty,h=t("".slice),d=t("".replace),p=t([].join),v=i&&!e((function(){return 8!==f((function(){}),"length",{value:8}).length})),g=String(String).split("String"),m=Ve.exports=function(t,e,r){"Symbol("===h(u(e),0,7)&&(e="["+d(u(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||o&&t.name!==e)&&(i?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?i&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=c(t);return n(a,"source")||(a.source=p(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=m((function(){return r(this)&&l(this).source||a(this)}),"toString"),Ve.exports}function Ke(){if(ze)return He;ze=1;var t=kt(),e=_e(),r=Ye(),n=oe();return He=function(i,o,a,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:o;if(t(a)&&r(a,l,s),s.global)c?i[o]=a:n(o,a);else{try{s.unsafe?i[o]&&(c=!0):delete i[o]}catch(t){}c?i[o]=a:e.f(i,o,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return i}}var Je,Ze,Qe,tr,er,rr,nr,ir,or,ar,sr,cr,lr,ur,fr,hr,dr,pr={};function vr(){if(tr)return Qe;tr=1;var t=function(){if(Ze)return Je;Ze=1;var t=Math.ceil,e=Math.floor;return Je=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return Qe=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function gr(){if(rr)return er;rr=1;var t=vr(),e=Math.max,r=Math.min;return er=function(n,i){var o=t(n);return o<0?e(o+i,0):r(o,i)}}function mr(){if(ir)return nr;ir=1;var t=vr(),e=Math.min;return nr=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function br(){if(ar)return or;ar=1;var t=mr();return or=function(e){return t(e.length)}}function yr(){if(ur)return lr;ur=1;var t=mt(),e=le(),r=xt(),n=function(){if(cr)return sr;cr=1;var t=xt(),e=gr(),r=br(),n=function(n){return function(i,o,a){var s=t(i),c=r(s);if(0===c)return!n&&-1;var l,u=e(a,c);if(n&&o!=o){for(;c>u;)if((l=s[u++])!=l)return!0}else for(;c>u;u++)if((n||u in s)&&s[u]===o)return n||u||0;return!n&&-1}};return sr={includes:n(!0),indexOf:n(!1)}}().indexOf,i=Ge(),o=t([].push);return lr=function(t,a){var s,c=r(t),l=0,u=[];for(s in c)!e(i,s)&&e(c,s)&&o(u,s);for(;a.length>l;)e(c,s=a[l++])&&(~n(u,s)||o(u,s));return u}}function wr(){return hr?fr:(hr=1,fr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var Sr,xr,kr,Tr,Ar,Er,_r,Or,Nr,Cr,Rr,Pr,Lr,Ir,Fr,jr,Dr,Mr,Br,Wr,Ur,Hr,zr,Vr,qr,$r,Gr,Xr={};function Yr(){return Sr||(Sr=1,Xr.f=Object.getOwnPropertySymbols),Xr}function Kr(){if(kr)return xr;kr=1;var t=At(),e=mt(),r=function(){if(dr)return pr;dr=1;var t=yr(),e=wr().concat("length","prototype");return pr.f=Object.getOwnPropertyNames||function(r){return t(r,e)},pr}(),n=Yr(),i=Ee(),o=e([].concat);return xr=t("Reflect","ownKeys")||function(t){var e=r.f(i(t)),a=n.f;return a?o(e,a(t)):e}}function Jr(){if(Ar)return Tr;Ar=1;var t=le(),e=Kr(),r=ge(),n=_e();return Tr=function(i,o,a){for(var s=e(o),c=n.f,l=r.f,u=0;u<s.length;u++){var f=s[u];t(i,f)||a&&t(a,f)||c(i,f,l(o,f))}}}function Zr(){if(Nr)return Or;Nr=1;var t=d(),e=ge().f,r=Oe(),n=Ke(),i=oe(),o=Jr(),a=function(){if(_r)return Er;_r=1;var t=k(),e=kt(),r=/#|\.prototype\./,n=function(r,n){var c=o[i(r)];return c===s||c!==a&&(e(n)?t(n):!!n)},i=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},o=n.data={},a=n.NATIVE="N",s=n.POLYFILL="P";return Er=n}();return Or=function(s,c){var l,u,f,h,d,p=s.target,v=s.global,g=s.stat;if(l=v?t:g?t[p]||i(p,{}):t[p]&&t[p].prototype)for(u in c){if(h=c[u],f=s.dontCallGetSet?(d=e(l,u))&&d.value:l[u],!a(v?u:p+(g?".":"#")+u,s.forced)&&void 0!==f){if(typeof h==typeof f)continue;o(h,f)}(s.sham||f&&f.sham)&&r(h,"sham",!0),n(l,u,h,s)}}}function Qr(){if(Lr)return Pr;Lr=1;var t=function(){if(Rr)return Cr;Rr=1;var t=bt(),e=mt();return Cr=function(r){if("Function"===t(r))return e(r)}}(),e=Rt(),r=A(),n=t(t.bind);return Pr=function(t,i){return e(t),void 0===i?t:r?n(t,i):function(){return t.apply(i,arguments)}},Pr}function tn(){if(Fr)return Ir;Fr=1;var t=bt();return Ir=Array.isArray||function(e){return"Array"===t(e)}}function en(){if(Dr)return jr;Dr=1;var t={};return t[fe()("toStringTag")]="z",jr="[object z]"===String(t)}function rn(){if(Br)return Mr;Br=1;var t=en(),e=kt(),r=bt(),n=fe()("toStringTag"),i=Object,o="Arguments"===r(function(){return arguments}());return Mr=t?r:function(t){var a,s,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(s=function(t,e){try{return t[e]}catch(t){}}(a=i(t),n))?s:o?r(a):"Object"===(c=r(a))&&e(a.callee)?"Arguments":c}}function nn(){if(Ur)return Wr;Ur=1;var t=mt(),e=k(),r=kt(),n=rn(),i=At(),o=qe(),a=function(){},s=i("Reflect","construct"),c=/^\s*(?:class|function)\b/,l=t(c.exec),u=!c.test(a),f=function(t){if(!r(t))return!1;try{return s(a,[],t),!0}catch(t){return!1}},h=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return u||!!l(c,o(t))}catch(t){return!0}};return h.sham=!0,Wr=!s||e((function(){var t;return f(f.call)||!f(Object)||!f((function(){t=!0}))||t}))?h:f}function on(){if(zr)return Hr;zr=1;var t=tn(),e=nn(),r=Tt(),n=fe()("species"),i=Array;return Hr=function(o){var a;return t(o)&&(a=o.constructor,(e(a)&&(a===i||t(a.prototype))||r(a)&&null===(a=a[n]))&&(a=void 0)),void 0===a?i:a}}function an(){if(qr)return Vr;qr=1;var t=on();return Vr=function(e,r){return new(t(e))(0===r?0:r)}}var sn,cn,ln,un,fn,hn,dn,pn,vn,gn,mn={};function bn(){if(cn)return sn;cn=1;var t=yr(),e=wr();return sn=Object.keys||function(r){return t(r,e)}}function yn(){if(fn)return un;fn=1;var t=At();return un=t("document","documentElement")}function wn(){if(dn)return hn;dn=1;var t,e=Ee(),r=function(){if(ln)return mn;ln=1;var t=T(),e=Ae(),r=_e(),n=Ee(),i=xt(),o=bn();return mn.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var a,s=i(e),c=o(e),l=c.length,u=0;l>u;)r.f(t,a=c[u++],s[a]);return t},mn}(),n=wr(),i=Ge(),o=yn(),a=pe(),s=$e(),c="prototype",l="script",u=s("IE_PROTO"),f=function(){},h=function(t){return"<"+l+">"+t+"</"+l+">"},d=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,i;p="undefined"!=typeof document?document.domain&&t?d(t):(r=a("iframe"),i="java"+l+":",r.style.display="none",o.appendChild(r),r.src=String(i),(e=r.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):d(t);for(var s=n.length;s--;)delete p[c][n[s]];return p()};return i[u]=!0,hn=Object.create||function(t,n){var i;return null!==t?(f[c]=e(t),i=new f,f[c]=null,i[u]=t):i=p(),void 0===n?i:r.f(i,n)}}function Sn(){if(vn)return pn;vn=1;var t=fe(),e=wn(),r=_e().f,n=t("unscopables"),i=Array.prototype;return void 0===i[n]&&r(i,n,{configurable:!0,value:e(null)}),pn=function(t){i[n][t]=!0}}!function(){if(gn)return h;gn=1;var t=Zr(),e=function(){if(Gr)return $r;Gr=1;var t=Qr(),e=mt(),r=yt(),n=ce(),i=br(),o=an(),a=e([].push),s=function(e){var s=1===e,c=2===e,l=3===e,u=4===e,f=6===e,h=7===e,d=5===e||f;return function(p,v,g,m){for(var b,y,w=n(p),S=r(w),x=i(S),k=t(v,g),T=0,A=m||o,E=s?A(p,x):c||h?A(p,0):void 0;x>T;T++)if((d||T in S)&&(y=k(b=S[T],T,w),e))if(s)E[T]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return T;case 2:a(E,b)}else switch(e){case 4:return!1;case 7:a(E,b)}return f?-1:l||u?u:E}};return $r={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}}().find,r=Sn(),n="find",i=!0;n in[]&&Array(1)[n]((function(){i=!1})),t({target:"Array",proto:!0,forced:i},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)}();var xn,kn,Tn,An={};!function(){if(Tn)return An;Tn=1;var t=Zr(),e=function(){if(kn)return xn;kn=1;var t=T(),e=mt(),r=E(),n=k(),i=bn(),o=Yr(),a=vt(),s=ce(),c=yt(),l=Object.assign,u=Object.defineProperty,f=e([].concat);return xn=!l||n((function(){if(t&&1!==l({b:1},l(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(t){r[t]=t})),7!==l({},e)[n]||i(l({},r)).join("")!==o}))?function(e,n){for(var l=s(e),u=arguments.length,h=1,d=o.f,p=a.f;u>h;)for(var v,g=c(arguments[h++]),m=d?f(i(g),d(g)):i(g),b=m.length,y=0;b>y;)v=m[y++],t&&!r(p,g,v)||(l[v]=g[v]);return l}:l,xn}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var En,_n,On,Nn={};!function(){if(On)return Nn;On=1;var t=en(),e=Ke(),r=function(){if(_n)return En;_n=1;var t=en(),e=rn();return En=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var Cn=t.fn.bootstrapTable.utils;Object.assign(t.fn.bootstrapTable.defaults,{stickyHeader:!1,stickyHeaderOffsetY:0,stickyHeaderOffsetLeft:0,stickyHeaderOffsetRight:0}),t.BootstrapTable=function(n){function i(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),e(this,i,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&a(t,e)}(i,n),r(i,[{key:"initHeader",value:function(){for(var e=this,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];if(s(i,"initHeader",this)(n),this.options.stickyHeader){this.$tableBody.find(".sticky-header-container,.sticky_anchor_begin,.sticky_anchor_end").remove(),this.$el.before('<div class="sticky-header-container"></div>'),this.$el.before('<div class="sticky_anchor_begin"></div>'),this.$el.after('<div class="sticky_anchor_end"></div>'),this.$header.addClass("sticky-header"),this.$stickyContainer=this.$tableBody.find(".sticky-header-container"),this.$stickyBegin=this.$tableBody.find(".sticky_anchor_begin"),this.$stickyEnd=this.$tableBody.find(".sticky_anchor_end"),this.$stickyHeader=this.$header.clone(!0,!0);var a=Cn.getEventName("resize.sticky-header-table",this.$el.attr("id")),c=Cn.getEventName("scroll.sticky-header-table",this.$el.attr("id"));t(window).off(a).on(a,(function(){return e.renderStickyHeader()})),t(window).off(c).on(c,(function(){return e.renderStickyHeader()})),this.$tableBody.off("scroll").on("scroll",(function(){return e.matchPositionX()}))}}},{key:"onColumnSearch",value:function(t){var e=t.currentTarget,r=t.keyCode;s(i,"onColumnSearch",this)([{currentTarget:e,keyCode:r}]),this.options.stickyHeader&&this.renderStickyHeader()}},{key:"resetView",value:function(){for(var e=this,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];s(i,"resetView",this)(n),this.options.stickyHeader&&t(".bootstrap-table.fullscreen").off("scroll").on("scroll",(function(){return e.renderStickyHeader()}))}},{key:"getCaret",value:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];if(s(i,"getCaret",this)(r),this.options.stickyHeader&&this.$stickyHeader){var o=this.$stickyHeader.find("th");this.$header.find("th").each((function(e,r){o.eq(e).find(".sortable").attr("class",t(r).find(".sortable").attr("class"))}))}}},{key:"horizontalScroll",value:function(){var t=this;s(i,"horizontalScroll",this)([]),this.options.stickyHeader&&this.$tableBody.on("scroll",(function(){return t.matchPositionX()}))}},{key:"renderStickyHeader",value:function(){var e=this,r=this;this.$stickyHeader=this.$header.clone(!0,!0),this.options.filterControl&&t(this.$stickyHeader).off("keyup change mouseup").on("keyup change mouse",(function(e){var n=t(e.target),i=n.val(),o=n.parents("th").data("field"),a=r.$header.find('th[data-field="'.concat(o,'"]'));if(n.is("input"))a.find("input").val(i);else if(n.is("select")){var s=a.find("select");s.find("option[selected]").removeAttr("selected"),s.find('option[value="'.concat(i,'"]')).attr("selected",!0)}r.triggerSearch()}));var n=t(window).scrollTop(),i=this.$stickyBegin.offset().top-this.options.stickyHeaderOffsetY,o=this.$stickyEnd.offset().top-this.options.stickyHeaderOffsetY-this.$header.height();if(n>i&&n<=o){this.$stickyHeader.find("tr").each((function(r,n){t(n).find("th").each((function(n,i){t(i).css("min-width",e.$header.find("tr:eq(".concat(r,")")).find("th:eq(".concat(n,")")).css("width"))}))})),this.$stickyContainer.show().addClass("fix-sticky fixed-table-container");var a=this.$tableBody[0].getBoundingClientRect(),s="100%",c=this.options.stickyHeaderOffsetLeft,l=this.options.stickyHeaderOffsetRight;c||(c=a.left),l||(s="".concat(a.width,"px")),this.$el.closest(".bootstrap-table").hasClass("fullscreen")&&(c=0,l=0,s="100%"),this.$stickyContainer.css("top","".concat(this.options.stickyHeaderOffsetY,"px")),this.$stickyContainer.css("left","".concat(c,"px")),this.$stickyContainer.css("right","".concat(l,"px")),this.$stickyContainer.css("width","".concat(s)),this.$stickyTable=t("<table/>"),this.$stickyTable.addClass(this.options.classes),this.$stickyContainer.html(this.$stickyTable.append(this.$stickyHeader)),this.matchPositionX()}else this.$stickyContainer.removeClass("fix-sticky").hide()}},{key:"matchPositionX",value:function(){this.$stickyContainer.scrollLeft(this.$tableBody.scrollLeft())}}])}(t.BootstrapTable)})),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function r(t,e,r){return e=o(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,a()?Reflect.construct(e,r||[],o(t).constructor):e.apply(t,r))}function n(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,u(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=o(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}},i.apply(null,arguments)}function o(t){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},o(t)}function a(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(a=function(){return!!t})()}function s(t,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},s(t,e)}function c(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],c=!0,l=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(c=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(t,r)||function(t,r){if(t){if("string"==typeof t)return e(t,r);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e,r,n){var a=i(o(t.prototype),e,r);return function(t){return a.apply(r,t)}}function u(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof e?e:e+""}var f,h,d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},p={};function v(){if(h)return f;h=1;var t=function(t){return t&&t.Math===Math&&t};return f=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof d&&d)||t("object"==typeof f&&f)||function(){return this}()||Function("return this")()}var g,m,b,y,w,S,x,k,T={};function A(){return m?g:(m=1,g=function(t){try{return!!t()}catch(t){return!0}})}function E(){if(y)return b;y=1;var t=A();return b=!t((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function _(){if(S)return w;S=1;var t=A();return w=!t((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function O(){if(k)return x;k=1;var t=_(),e=Function.prototype.call;return x=t?e.bind(e):function(){return e.apply(e,arguments)},x}var N,C,R,P,L,I,F,j,D,M,B,W,U,H,z,V,q,$,G,X,Y,K,J,Z,Q,tt,et,rt,nt,it,ot,at,st,ct,lt,ut,ft,ht,dt,pt,vt,gt={};function mt(){if(N)return gt;N=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return gt.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,gt}function bt(){return R?C:(R=1,C=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function yt(){if(L)return P;L=1;var t=_(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return P=t?n:function(t){return function(){return r.apply(t,arguments)}},P}function wt(){if(F)return I;F=1;var t=yt(),e=t({}.toString),r=t("".slice);return I=function(t){return r(e(t),8,-1)}}function St(){if(D)return j;D=1;var t=yt(),e=A(),r=wt(),n=Object,i=t("".split);return j=e((function(){return!n("z").propertyIsEnumerable(0)}))?function(t){return"String"===r(t)?i(t,""):n(t)}:n}function xt(){return B?M:(B=1,M=function(t){return null==t})}function kt(){if(U)return W;U=1;var t=xt(),e=TypeError;return W=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function Tt(){if(z)return H;z=1;var t=St(),e=kt();return H=function(r){return t(e(r))}}function At(){if(q)return V;q=1;var t="object"==typeof document&&document.all;return V=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function Et(){if(G)return $;G=1;var t=At();return $=function(e){return"object"==typeof e?null!==e:t(e)}}function _t(){if(Y)return X;Y=1;var t=v(),e=At();return X=function(r,n){return arguments.length<2?(i=t[r],e(i)?i:void 0):t[r]&&t[r][n];var i},X}function Ot(){if(J)return K;J=1;var t=yt();return K=t({}.isPrototypeOf)}function Nt(){if(et)return tt;et=1;var t,e,r=v(),n=function(){if(Q)return Z;Q=1;var t=v().navigator,e=t&&t.userAgent;return Z=e?String(e):""}(),i=r.process,o=r.Deno,a=i&&i.versions||o&&o.version,s=a&&a.v8;return s&&(e=(t=s.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),tt=e}function Ct(){if(nt)return rt;nt=1;var t=Nt(),e=A(),r=v().String;return rt=!!Object.getOwnPropertySymbols&&!e((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function Rt(){if(ot)return it;ot=1;var t=Ct();return it=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Pt(){if(st)return at;st=1;var t=_t(),e=At(),r=Ot(),n=Rt(),i=Object;return at=n?function(t){return"symbol"==typeof t}:function(n){var o=t("Symbol");return e(o)&&r(o.prototype,i(n))}}function Lt(){if(lt)return ct;lt=1;var t=String;return ct=function(e){try{return t(e)}catch(t){return"Object"}}}function It(){if(ft)return ut;ft=1;var t=At(),e=Lt(),r=TypeError;return ut=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function Ft(){if(dt)return ht;dt=1;var t=It(),e=xt();return ht=function(r,n){var i=r[n];return e(i)?void 0:t(i)}}function jt(){if(vt)return pt;vt=1;var t=O(),e=At(),r=Et(),n=TypeError;return pt=function(i,o){var a,s;if("string"===o&&e(a=i.toString)&&!r(s=t(a,i)))return s;if(e(a=i.valueOf)&&!r(s=t(a,i)))return s;if("string"!==o&&e(a=i.toString)&&!r(s=t(a,i)))return s;throw new n("Can't convert object to primitive value")}}var Dt,Mt,Bt,Wt,Ut,Ht,zt,Vt,qt,$t,Gt,Xt,Yt,Kt,Jt,Zt,Qt,te,ee,re,ne,ie,oe,ae,se={exports:{}};function ce(){return Mt?Dt:(Mt=1,Dt=!1)}function le(){if(Wt)return Bt;Wt=1;var t=v(),e=Object.defineProperty;return Bt=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function ue(){if(Ut)return se.exports;Ut=1;var t=ce(),e=v(),r=le(),n="__core-js_shared__",i=se.exports=e[n]||r(n,{});return(i.versions||(i.versions=[])).push({version:"3.38.1",mode:t?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"}),se.exports}function fe(){if(zt)return Ht;zt=1;var t=ue();return Ht=function(e,r){return t[e]||(t[e]=r||{})}}function he(){if(qt)return Vt;qt=1;var t=kt(),e=Object;return Vt=function(r){return e(t(r))}}function de(){if(Gt)return $t;Gt=1;var t=yt(),e=he(),r=t({}.hasOwnProperty);return $t=Object.hasOwn||function(t,n){return r(e(t),n)}}function pe(){if(Yt)return Xt;Yt=1;var t=yt(),e=0,r=Math.random(),n=t(1..toString);return Xt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function ve(){if(Jt)return Kt;Jt=1;var t=v(),e=fe(),r=de(),n=pe(),i=Ct(),o=Rt(),a=t.Symbol,s=e("wks"),c=o?a.for||a:a&&a.withoutSetter||n;return Kt=function(t){return r(s,t)||(s[t]=i&&r(a,t)?a[t]:c("Symbol."+t)),s[t]}}function ge(){if(Qt)return Zt;Qt=1;var t=O(),e=Et(),r=Pt(),n=Ft(),i=jt(),o=ve(),a=TypeError,s=o("toPrimitive");return Zt=function(o,c){if(!e(o)||r(o))return o;var l,u=n(o,s);if(u){if(void 0===c&&(c="default"),l=t(u,o,c),!e(l)||r(l))return l;throw new a("Can't convert object to primitive value")}return void 0===c&&(c="number"),i(o,c)}}function me(){if(ee)return te;ee=1;var t=ge(),e=Pt();return te=function(r){var n=t(r,"string");return e(n)?n:n+""}}function be(){if(ne)return re;ne=1;var t=v(),e=Et(),r=t.document,n=e(r)&&e(r.createElement);return re=function(t){return n?r.createElement(t):{}}}function ye(){if(oe)return ie;oe=1;var t=E(),e=A(),r=be();return ie=!t&&!e((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))}function we(){if(ae)return T;ae=1;var t=E(),e=O(),r=mt(),n=bt(),i=Tt(),o=me(),a=de(),s=ye(),c=Object.getOwnPropertyDescriptor;return T.f=t?c:function(t,l){if(t=i(t),l=o(l),s)try{return c(t,l)}catch(t){}if(a(t,l))return n(!e(r.f,t,l),t[l])},T}var Se,xe,ke,Te,Ae,Ee,_e,Oe={};function Ne(){if(xe)return Se;xe=1;var t=E(),e=A();return Se=t&&e((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}function Ce(){if(Te)return ke;Te=1;var t=Et(),e=String,r=TypeError;return ke=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function Re(){if(Ae)return Oe;Ae=1;var t=E(),e=ye(),r=Ne(),n=Ce(),i=me(),o=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c="enumerable",l="configurable",u="writable";return Oe.f=t?r?function(t,e,r){if(n(t),e=i(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&u in r&&!r[u]){var o=s(t,e);o&&o[u]&&(t[e]=r.value,r={configurable:l in r?r[l]:o[l],enumerable:c in r?r[c]:o[c],writable:!1})}return a(t,e,r)}:a:function(t,r,s){if(n(t),r=i(r),n(s),e)try{return a(t,r,s)}catch(t){}if("get"in s||"set"in s)throw new o("Accessors not supported");return"value"in s&&(t[r]=s.value),t},Oe}function Pe(){if(_e)return Ee;_e=1;var t=E(),e=Re(),r=bt();return Ee=t?function(t,n,i){return e.f(t,n,r(1,i))}:function(t,e,r){return t[e]=r,t}}var Le,Ie,Fe,je,De,Me,Be,We,Ue,He,ze,Ve,qe,$e,Ge,Xe={exports:{}};function Ye(){if(Ie)return Le;Ie=1;var t=E(),e=de(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,i=e(r,"name"),o=i&&"something"===function(){}.name,a=i&&(!t||t&&n(r,"name").configurable);return Le={EXISTS:i,PROPER:o,CONFIGURABLE:a}}function Ke(){if(je)return Fe;je=1;var t=yt(),e=At(),r=ue(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),Fe=r.inspectSource}function Je(){if(We)return Be;We=1;var t=fe(),e=pe(),r=t("keys");return Be=function(t){return r[t]||(r[t]=e(t))}}function Ze(){return He?Ue:(He=1,Ue={})}function Qe(){if(Ve)return ze;Ve=1;var t,e,r,n=function(){if(Me)return De;Me=1;var t=v(),e=At(),r=t.WeakMap;return De=e(r)&&/native code/.test(String(r))}(),i=v(),o=Et(),a=Pe(),s=de(),c=ue(),l=Je(),u=Ze(),f="Object already initialized",h=i.TypeError,d=i.WeakMap;if(n||c.state){var p=c.state||(c.state=new d);p.get=p.get,p.has=p.has,p.set=p.set,t=function(t,e){if(p.has(t))throw new h(f);return e.facade=t,p.set(t,e),e},e=function(t){return p.get(t)||{}},r=function(t){return p.has(t)}}else{var g=l("state");u[g]=!0,t=function(t,e){if(s(t,g))throw new h(f);return e.facade=t,a(t,g,e),e},e=function(t){return s(t,g)?t[g]:{}},r=function(t){return s(t,g)}}return ze={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!o(r)||(n=e(r)).type!==t)throw new h("Incompatible receiver, "+t+" required");return n}}}}function tr(){if(qe)return Xe.exports;qe=1;var t=yt(),e=A(),r=At(),n=de(),i=E(),o=Ye().CONFIGURABLE,a=Ke(),s=Qe(),c=s.enforce,l=s.get,u=String,f=Object.defineProperty,h=t("".slice),d=t("".replace),p=t([].join),v=i&&!e((function(){return 8!==f((function(){}),"length",{value:8}).length})),g=String(String).split("String"),m=Xe.exports=function(t,e,r){"Symbol("===h(u(e),0,7)&&(e="["+d(u(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||o&&t.name!==e)&&(i?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?i&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=c(t);return n(a,"source")||(a.source=p(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=m((function(){return r(this)&&l(this).source||a(this)}),"toString"),Xe.exports}function er(){if(Ge)return $e;Ge=1;var t=At(),e=Re(),r=tr(),n=le();return $e=function(i,o,a,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:o;if(t(a)&&r(a,l,s),s.global)c?i[o]=a:n(o,a);else{try{s.unsafe?i[o]&&(c=!0):delete i[o]}catch(t){}c?i[o]=a:e.f(i,o,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return i}}var rr,nr,ir,or,ar,sr,cr,lr,ur,fr,hr,dr,pr,vr,gr,mr,br,yr={};function wr(){if(or)return ir;or=1;var t=function(){if(nr)return rr;nr=1;var t=Math.ceil,e=Math.floor;return rr=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return ir=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function Sr(){if(sr)return ar;sr=1;var t=wr(),e=Math.max,r=Math.min;return ar=function(n,i){var o=t(n);return o<0?e(o+i,0):r(o,i)}}function xr(){if(lr)return cr;lr=1;var t=wr(),e=Math.min;return cr=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function kr(){if(fr)return ur;fr=1;var t=xr();return ur=function(e){return t(e.length)}}function Tr(){if(vr)return pr;vr=1;var t=yt(),e=de(),r=Tt(),n=function(){if(dr)return hr;dr=1;var t=Tt(),e=Sr(),r=kr(),n=function(n){return function(i,o,a){var s=t(i),c=r(s);if(0===c)return!n&&-1;var l,u=e(a,c);if(n&&o!=o){for(;c>u;)if((l=s[u++])!=l)return!0}else for(;c>u;u++)if((n||u in s)&&s[u]===o)return n||u||0;return!n&&-1}};return hr={includes:n(!0),indexOf:n(!1)}}().indexOf,i=Ze(),o=t([].push);return pr=function(t,a){var s,c=r(t),l=0,u=[];for(s in c)!e(i,s)&&e(c,s)&&o(u,s);for(;a.length>l;)e(c,s=a[l++])&&(~n(u,s)||o(u,s));return u}}function Ar(){return mr?gr:(mr=1,gr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var Er,_r,Or,Nr,Cr,Rr,Pr,Lr,Ir,Fr,jr,Dr,Mr,Br,Wr,Ur,Hr,zr,Vr,qr,$r,Gr,Xr,Yr,Kr,Jr,Zr,Qr,tn={};function en(){return Er||(Er=1,tn.f=Object.getOwnPropertySymbols),tn}function rn(){if(Or)return _r;Or=1;var t=_t(),e=yt(),r=function(){if(br)return yr;br=1;var t=Tr(),e=Ar().concat("length","prototype");return yr.f=Object.getOwnPropertyNames||function(r){return t(r,e)},yr}(),n=en(),i=Ce(),o=e([].concat);return _r=t("Reflect","ownKeys")||function(t){var e=r.f(i(t)),a=n.f;return a?o(e,a(t)):e}}function nn(){if(Cr)return Nr;Cr=1;var t=de(),e=rn(),r=we(),n=Re();return Nr=function(i,o,a){for(var s=e(o),c=n.f,l=r.f,u=0;u<s.length;u++){var f=s[u];t(i,f)||a&&t(a,f)||c(i,f,l(o,f))}}}function on(){if(Ir)return Lr;Ir=1;var t=v(),e=we().f,r=Pe(),n=er(),i=le(),o=nn(),a=function(){if(Pr)return Rr;Pr=1;var t=A(),e=At(),r=/#|\.prototype\./,n=function(r,n){var c=o[i(r)];return c===s||c!==a&&(e(n)?t(n):!!n)},i=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},o=n.data={},a=n.NATIVE="N",s=n.POLYFILL="P";return Rr=n}();return Lr=function(s,c){var l,u,f,h,d,p=s.target,v=s.global,g=s.stat;if(l=v?t:g?t[p]||i(p,{}):t[p]&&t[p].prototype)for(u in c){if(h=c[u],f=s.dontCallGetSet?(d=e(l,u))&&d.value:l[u],!a(v?u:p+(g?".":"#")+u,s.forced)&&void 0!==f){if(typeof h==typeof f)continue;o(h,f)}(s.sham||f&&f.sham)&&r(h,"sham",!0),n(l,u,h,s)}}}function an(){if(jr)return Fr;jr=1;var t=wt();return Fr=Array.isArray||function(e){return"Array"===t(e)}}function sn(){if(Mr)return Dr;Mr=1;var t=TypeError;return Dr=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}function cn(){if(Wr)return Br;Wr=1;var t=E(),e=Re(),r=bt();return Br=function(n,i,o){t?e.f(n,i,r(0,o)):n[i]=o}}function ln(){if(Hr)return Ur;Hr=1;var t={};return t[ve()("toStringTag")]="z",Ur="[object z]"===String(t)}function un(){if(Vr)return zr;Vr=1;var t=ln(),e=At(),r=wt(),n=ve()("toStringTag"),i=Object,o="Arguments"===r(function(){return arguments}());return zr=t?r:function(t){var a,s,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(s=function(t,e){try{return t[e]}catch(t){}}(a=i(t),n))?s:o?r(a):"Object"===(c=r(a))&&e(a.callee)?"Arguments":c}}function fn(){if($r)return qr;$r=1;var t=yt(),e=A(),r=At(),n=un(),i=_t(),o=Ke(),a=function(){},s=i("Reflect","construct"),c=/^\s*(?:class|function)\b/,l=t(c.exec),u=!c.test(a),f=function(t){if(!r(t))return!1;try{return s(a,[],t),!0}catch(t){return!1}},h=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return u||!!l(c,o(t))}catch(t){return!0}};return h.sham=!0,qr=!s||e((function(){var t;return f(f.call)||!f(Object)||!f((function(){t=!0}))||t}))?h:f}function hn(){if(Xr)return Gr;Xr=1;var t=an(),e=fn(),r=Et(),n=ve()("species"),i=Array;return Gr=function(o){var a;return t(o)&&(a=o.constructor,(e(a)&&(a===i||t(a.prototype))||r(a)&&null===(a=a[n]))&&(a=void 0)),void 0===a?i:a}}function dn(){if(Kr)return Yr;Kr=1;var t=hn();return Yr=function(e,r){return new(t(e))(0===r?0:r)}}function pn(){if(Zr)return Jr;Zr=1;var t=A(),e=ve(),r=Nt(),n=e("species");return Jr=function(e){return r>=51||!t((function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}}!function(){if(Qr)return p;Qr=1;var t=on(),e=A(),r=an(),n=Et(),i=he(),o=kr(),a=sn(),s=cn(),c=dn(),l=pn(),u=ve(),f=Nt(),h=u("isConcatSpreadable"),d=f>=51||!e((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),v=function(t){if(!n(t))return!1;var e=t[h];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!d||!l("concat")},{concat:function(t){var e,r,n,l,u,f=i(this),h=c(f,0),d=0;for(e=-1,n=arguments.length;e<n;e++)if(v(u=-1===e?f:arguments[e]))for(l=o(u),a(d+l),r=0;r<l;r++,d++)r in u&&s(h,d,u[r]);else a(d+1),s(h,d++,u);return h.length=d,h}})}();var vn,gn,mn,bn,yn,wn,Sn,xn,kn,Tn,An,En,_n,On,Nn,Cn,Rn,Pn,Ln,In,Fn,jn,Dn,Mn,Bn,Wn,Un,Hn,zn,Vn,qn,$n,Gn,Xn,Yn,Kn={};function Jn(){if(gn)return vn;gn=1;var t=Tr(),e=Ar();return vn=Object.keys||function(r){return t(r,e)}}function Zn(){if(yn)return bn;yn=1;var t=_t();return bn=t("document","documentElement")}function Qn(){if(Sn)return wn;Sn=1;var t,e=Ce(),r=function(){if(mn)return Kn;mn=1;var t=E(),e=Ne(),r=Re(),n=Ce(),i=Tt(),o=Jn();return Kn.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var a,s=i(e),c=o(e),l=c.length,u=0;l>u;)r.f(t,a=c[u++],s[a]);return t},Kn}(),n=Ar(),i=Ze(),o=Zn(),a=be(),s=Je(),c="prototype",l="script",u=s("IE_PROTO"),f=function(){},h=function(t){return"<"+l+">"+t+"</"+l+">"},d=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,i;p="undefined"!=typeof document?document.domain&&t?d(t):(r=a("iframe"),i="java"+l+":",r.style.display="none",o.appendChild(r),r.src=String(i),(e=r.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):d(t);for(var s=n.length;s--;)delete p[c][n[s]];return p()};return i[u]=!0,wn=Object.create||function(t,n){var i;return null!==t?(f[c]=e(t),i=new f,f[c]=null,i[u]=t):i=p(),void 0===n?i:r.f(i,n)}}function ti(){if(kn)return xn;kn=1;var t=ve(),e=Qn(),r=Re().f,n=t("unscopables"),i=Array.prototype;return void 0===i[n]&&r(i,n,{configurable:!0,value:e(null)}),xn=function(t){i[n][t]=!0}}function ei(){return An?Tn:(An=1,Tn={})}function ri(){if(Nn)return On;Nn=1;var t=de(),e=At(),r=he(),n=Je(),i=function(){if(_n)return En;_n=1;var t=A();return En=!t((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))}(),o=n("IE_PROTO"),a=Object,s=a.prototype;return On=i?a.getPrototypeOf:function(n){var i=r(n);if(t(i,o))return i[o];var c=i.constructor;return e(c)&&i instanceof c?c.prototype:i instanceof a?s:null}}function ni(){if(Rn)return Cn;Rn=1;var t,e,r,n=A(),i=At(),o=Et(),a=Qn(),s=ri(),c=er(),l=ve(),u=ce(),f=l("iterator"),h=!1;return[].keys&&("next"in(r=[].keys())?(e=s(s(r)))!==Object.prototype&&(t=e):h=!0),!o(t)||n((function(){var e={};return t[f].call(e)!==e}))?t={}:u&&(t=a(t)),i(t[f])||c(t,f,(function(){return this})),Cn={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:h}}function ii(){if(Ln)return Pn;Ln=1;var t=Re().f,e=de(),r=ve()("toStringTag");return Pn=function(n,i,o){n&&!o&&(n=n.prototype),n&&!e(n,r)&&t(n,r,{configurable:!0,value:i})}}function oi(){if(Fn)return In;Fn=1;var t=ni().IteratorPrototype,e=Qn(),r=bt(),n=ii(),i=ei(),o=function(){return this};return In=function(a,s,c,l){var u=s+" Iterator";return a.prototype=e(t,{next:r(+!l,c)}),n(a,u,!1,!0),i[u]=o,a}}function ai(){if(Bn)return Mn;Bn=1;var t=Et();return Mn=function(e){return t(e)||null===e}}function si(){if(Un)return Wn;Un=1;var t=ai(),e=String,r=TypeError;return Wn=function(n){if(t(n))return n;throw new r("Can't set "+e(n)+" as a prototype")}}function ci(){if(zn)return Hn;zn=1;var t=function(){if(Dn)return jn;Dn=1;var t=yt(),e=It();return jn=function(r,n,i){try{return t(e(Object.getOwnPropertyDescriptor(r,n)[i]))}catch(t){}}}(),e=Et(),r=kt(),n=si();return Hn=Object.setPrototypeOf||("__proto__"in{}?function(){var i,o=!1,a={};try{(i=t(Object.prototype,"__proto__","set"))(a,[]),o=a instanceof Array}catch(t){}return function(t,a){return r(t),n(a),e(t)?(o?i(t,a):t.__proto__=a,t):t}}():void 0)}function li(){if(qn)return Vn;qn=1;var t=on(),e=O(),r=ce(),n=Ye(),i=At(),o=oi(),a=ri(),s=ci(),c=ii(),l=Pe(),u=er(),f=ve(),h=ei(),d=ni(),p=n.PROPER,v=n.CONFIGURABLE,g=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,b=f("iterator"),y="keys",w="values",S="entries",x=function(){return this};return Vn=function(n,f,d,k,T,A,E){o(d,f,k);var _,O,N,C=function(t){if(t===T&&F)return F;if(!m&&t&&t in L)return L[t];switch(t){case y:case w:case S:return function(){return new d(this,t)}}return function(){return new d(this)}},R=f+" Iterator",P=!1,L=n.prototype,I=L[b]||L["@@iterator"]||T&&L[T],F=!m&&I||C(T),j="Array"===f&&L.entries||I;if(j&&(_=a(j.call(new n)))!==Object.prototype&&_.next&&(r||a(_)===g||(s?s(_,g):i(_[b])||u(_,b,x)),c(_,R,!0,!0),r&&(h[R]=x)),p&&T===w&&I&&I.name!==w&&(!r&&v?l(L,"name",w):(P=!0,F=function(){return e(I,this)})),T)if(O={values:C(w),keys:A?F:C(y),entries:C(S)},E)for(N in O)(m||P||!(N in L))&&u(L,N,O[N]);else t({target:f,proto:!0,forced:m||P},O);return r&&!E||L[b]===F||u(L,b,F,{name:T}),h[f]=F,O}}function ui(){return Gn?$n:(Gn=1,$n=function(t,e){return{value:t,done:e}})}function fi(){if(Yn)return Xn;Yn=1;var t=Tt(),e=ti(),r=ei(),n=Qe(),i=Re().f,o=li(),a=ui(),s=ce(),c=E(),l="Array Iterator",u=n.set,f=n.getterFor(l);Xn=o(Array,"Array",(function(e,r){u(this,{type:l,target:t(e),index:0,kind:r})}),(function(){var t=f(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,a(void 0,!0);switch(t.kind){case"keys":return a(r,!1);case"values":return a(e[r],!1)}return a([r,e[r]],!1)}),"values");var h=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!s&&c&&"values"!==h.name)try{i(h,"name",{value:"values"})}catch(t){}return Xn}fi();var hi,di,pi,vi={};!function(){if(pi)return vi;pi=1;var t=on(),e=function(){if(di)return hi;di=1;var t=E(),e=yt(),r=O(),n=A(),i=Jn(),o=en(),a=mt(),s=he(),c=St(),l=Object.assign,u=Object.defineProperty,f=e([].concat);return hi=!l||n((function(){if(t&&1!==l({b:1},l(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(t){r[t]=t})),7!==l({},e)[n]||i(l({},r)).join("")!==o}))?function(e,n){for(var l=s(e),u=arguments.length,h=1,d=o.f,p=a.f;u>h;)for(var v,g=c(arguments[h++]),m=d?f(i(g),d(g)):i(g),b=m.length,y=0;b>y;)v=m[y++],t&&!r(p,g,v)||(l[v]=g[v]);return l}:l,hi}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var gi,mi,bi,yi={};!function(){if(bi)return yi;bi=1;var t=on(),e=function(){if(mi)return gi;mi=1;var t=E(),e=A(),r=yt(),n=ri(),i=Jn(),o=Tt(),a=r(mt().f),s=r([].push),c=t&&e((function(){var t=Object.create(null);return t[2]=2,!a(t,2)})),l=function(e){return function(r){for(var l,u=o(r),f=i(u),h=c&&null===n(u),d=f.length,p=0,v=[];d>p;)l=f[p++],t&&!(h?l in u:a(u,l))||s(v,e?[l,u[l]]:u[l]);return v}};return gi={entries:l(!0),values:l(!1)}}().entries;t({target:"Object",stat:!0},{entries:function(t){return e(t)}})}();var wi,Si,xi,ki={};!function(){if(xi)return ki;xi=1;var t=ln(),e=er(),r=function(){if(Si)return wi;Si=1;var t=ln(),e=un();return wi=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var Ti,Ai,Ei,_i,Oi,Ni,Ci,Ri,Pi,Li,Ii,Fi,ji,Di={};function Mi(){if(Ai)return Ti;Ai=1;var t=un(),e=String;return Ti=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}function Bi(){if(_i)return Ei;_i=1;var t=Ce();return Ei=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}function Wi(){if(Fi)return Ii;Fi=1;var t,e,r=O(),n=yt(),i=Mi(),o=Bi(),a=function(){if(Ni)return Oi;Ni=1;var t=A(),e=v().RegExp,r=t((function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),n=r||t((function(){return!e("a","y").sticky})),i=r||t((function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));return Oi={BROKEN_CARET:i,MISSED_STICKY:n,UNSUPPORTED_Y:r}}(),s=fe(),c=Qn(),l=Qe().get,u=function(){if(Ri)return Ci;Ri=1;var t=A(),e=v().RegExp;return Ci=t((function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))}(),f=function(){if(Li)return Pi;Li=1;var t=A(),e=v().RegExp;return Pi=t((function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))}(),h=s("native-string-replace",String.prototype.replace),d=RegExp.prototype.exec,p=d,g=n("".charAt),m=n("".indexOf),b=n("".replace),y=n("".slice),w=(e=/b*/g,r(d,t=/a/,"a"),r(d,e,"a"),0!==t.lastIndex||0!==e.lastIndex),S=a.BROKEN_CARET,x=void 0!==/()??/.exec("")[1];return(w||x||S||u||f)&&(p=function(t){var e,n,a,s,u,f,v,k=this,T=l(k),A=i(t),E=T.raw;if(E)return E.lastIndex=k.lastIndex,e=r(p,E,A),k.lastIndex=E.lastIndex,e;var _=T.groups,O=S&&k.sticky,N=r(o,k),C=k.source,R=0,P=A;if(O&&(N=b(N,"y",""),-1===m(N,"g")&&(N+="g"),P=y(A,k.lastIndex),k.lastIndex>0&&(!k.multiline||k.multiline&&"\n"!==g(A,k.lastIndex-1))&&(C="(?: "+C+")",P=" "+P,R++),n=new RegExp("^(?:"+C+")",N)),x&&(n=new RegExp("^"+C+"$(?!\\s)",N)),w&&(a=k.lastIndex),s=r(d,O?n:k,P),O?s?(s.input=y(s.input,R),s[0]=y(s[0],R),s.index=k.lastIndex,k.lastIndex+=s[0].length):k.lastIndex=0:w&&s&&(k.lastIndex=k.global?s.index+s[0].length:a),x&&s&&s.length>1&&r(h,s[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(s[u]=void 0)})),s&&_)for(s.groups=f=c(null),u=0;u<_.length;u++)f[(v=_[u])[0]]=s[v[1]];return s}),Ii=p}function Ui(){if(ji)return Di;ji=1;var t=on(),e=Wi();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),Di}Ui();var Hi,zi,Vi,qi={};!function(){if(Vi)return qi;Vi=1;var t=Ye().PROPER,e=er(),r=Ce(),n=Mi(),i=A(),o=function(){if(zi)return Hi;zi=1;var t=O(),e=de(),r=Ot(),n=Bi(),i=RegExp.prototype;return Hi=function(o){var a=o.flags;return void 0!==a||"flags"in i||e(o,"flags")||!r(i,o)?a:t(n,o)}}(),a="toString",s=RegExp.prototype,c=s[a],l=i((function(){return"/a/b"!==c.call({source:"a",flags:"b"})})),u=t&&c.name!==a;(l||u)&&e(s,a,(function(){var t=r(this);return"/"+n(t.source)+"/"+n(o(t))}),{unsafe:!0})}();var $i,Gi,Xi,Yi={};!function(){if(Xi)return Yi;Xi=1;var t=function(){if(Gi)return $i;Gi=1;var t=yt(),e=wr(),r=Mi(),n=kt(),i=t("".charAt),o=t("".charCodeAt),a=t("".slice),s=function(t){return function(s,c){var l,u,f=r(n(s)),h=e(c),d=f.length;return h<0||h>=d?t?"":void 0:(l=o(f,h))<55296||l>56319||h+1===d||(u=o(f,h+1))<56320||u>57343?t?i(f,h):l:t?a(f,h,h+2):u-56320+(l-55296<<10)+65536}};return $i={codeAt:s(!1),charAt:s(!0)}}().charAt,e=Mi(),r=Qe(),n=li(),i=ui(),o="String Iterator",a=r.set,s=r.getterFor(o);n(String,"String",(function(t){a(this,{type:o,string:e(t),index:0})}),(function(){var e,r=s(this),n=r.string,o=r.index;return o>=n.length?i(void 0,!0):(e=t(n,o),r.index+=e.length,i(e,!1))}))}();var Ki,Ji,Zi,Qi,to,eo,ro,no={};function io(){return Qi?Zi:(Qi=1,Zi=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e})}!function(){if(ro)return no;ro=1;var t=O(),e=function(){if(Ji)return Ki;Ji=1,Ui();var t=O(),e=er(),r=Wi(),n=A(),i=ve(),o=Pe(),a=i("species"),s=RegExp.prototype;return Ki=function(c,l,u,f){var h=i(c),d=!n((function(){var t={};return t[h]=function(){return 7},7!==""[c](t)})),p=d&&!n((function(){var t=!1,e=/a/;return"split"===c&&((e={}).constructor={},e.constructor[a]=function(){return e},e.flags="",e[h]=/./[h]),e.exec=function(){return t=!0,null},e[h](""),!t}));if(!d||!p||u){var v=/./[h],g=l(h,""[c],(function(e,n,i,o,a){var c=n.exec;return c===r||c===s.exec?d&&!a?{done:!0,value:t(v,n,i,o)}:{done:!0,value:t(e,i,n,o)}:{done:!1}}));e(String.prototype,c,g[0]),e(s,h,g[1])}f&&o(s[h],"sham",!0)}}(),r=Ce(),n=xt(),i=kt(),o=io(),a=Mi(),s=Ft(),c=function(){if(eo)return to;eo=1;var t=O(),e=Ce(),r=At(),n=wt(),i=Wi(),o=TypeError;return to=function(a,s){var c=a.exec;if(r(c)){var l=t(c,a,s);return null!==l&&e(l),l}if("RegExp"===n(a))return t(i,a,s);throw new o("RegExp#exec called on incompatible receiver")}}();e("search",(function(e,l,u){return[function(r){var o=i(this),c=n(r)?void 0:s(r,e);return c?t(c,r,o):new RegExp(r)[e](a(o))},function(t){var e=r(this),n=a(t),i=u(l,e,n);if(i.done)return i.value;var s=e.lastIndex;o(s,0)||(e.lastIndex=0);var f=c(e,n);return o(e.lastIndex,s)||(e.lastIndex=s),null===f?-1:f.index}]}))}();var oo,ao,so,co,lo,uo={};!function(){if(lo)return uo;lo=1;var t=v(),e=ao?oo:(ao=1,oo={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}),r=function(){if(co)return so;co=1;var t=be()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return so=e===Object.prototype?void 0:e}(),n=fi(),i=Pe(),o=ii(),a=ve()("iterator"),s=n.values,c=function(t,r){if(t){if(t[a]!==s)try{i(t,a,s)}catch(e){t[a]=s}if(o(t,r,!0),e[r])for(var c in n)if(t[c]!==n[c])try{i(t,c,n[c])}catch(e){t[c]=n[c]}}};for(var l in e)c(t[l]&&t[l].prototype,l);c(r,"DOMTokenList")}();var fo,ho,po,vo,go,mo,bo,yo,wo,So,xo,ko,To,Ao,Eo,_o,Oo,No,Co,Ro,Po,Lo,Io,Fo,jo,Do,Mo,Bo,Wo={};function Uo(){if(po)return ho;po=1;var t=v(),e=E(),r=Object.getOwnPropertyDescriptor;return ho=function(n){if(!e)return t[n];var i=r(t,n);return i&&i.value}}function Ho(){if(bo)return mo;bo=1;var t=tr(),e=Re();return mo=function(r,n,i){return i.get&&t(i.get,n,{getter:!0}),i.set&&t(i.set,n,{setter:!0}),e.f(r,n,i)}}function zo(){if(wo)return yo;wo=1;var t=er();return yo=function(e,r,n){for(var i in r)t(e,i,r[i],n);return e}}function Vo(){if(xo)return So;xo=1;var t=Ot(),e=TypeError;return So=function(r,n){if(t(n,r))return r;throw new e("Incorrect invocation")}}function qo(){if(Eo)return Ao;Eo=1;var t=function(){if(To)return ko;To=1;var t=wt(),e=yt();return ko=function(r){if("Function"===t(r))return e(r)}}(),e=It(),r=_(),n=t(t.bind);return Ao=function(t,i){return e(t),void 0===i?t:r?n(t,i):function(){return t.apply(i,arguments)}},Ao}function $o(){if(Oo)return _o;Oo=1;var t=un(),e=Ft(),r=xt(),n=ei(),i=ve()("iterator");return _o=function(o){if(!r(o))return e(o,i)||e(o,"@@iterator")||n[t(o)]}}function Go(){if(Co)return No;Co=1;var t=O(),e=It(),r=Ce(),n=Lt(),i=$o(),o=TypeError;return No=function(a,s){var c=arguments.length<2?i(a):s;if(e(c))return r(t(c,a));throw new o(n(a)+" is not iterable")},No}function Xo(){if(Po)return Ro;Po=1;var t=TypeError;return Ro=function(e,r){if(e<r)throw new t("Not enough arguments");return e}}function Yo(){if(Io)return Lo;Io=1;var t=yt();return Lo=t([].slice)}function Ko(){if(jo)return Fo;jo=1;var t=Yo(),e=Math.floor,r=function(n,i){var o=n.length;if(o<8)for(var a,s,c=1;c<o;){for(s=c,a=n[c];s&&i(n[s-1],a)>0;)n[s]=n[--s];s!==c++&&(n[s]=a)}else for(var l=e(o/2),u=r(t(n,0,l),i),f=r(t(n,l),i),h=u.length,d=f.length,p=0,v=0;p<h||v<d;)n[p+v]=p<h&&v<d?i(u[p],f[v])<=0?u[p++]:f[v++]:p<h?u[p++]:f[v++];return n};return Fo=r}function Jo(){if(Mo)return Do;Mo=1,fi(),function(){if(fo)return Wo;fo=1;var t=on(),e=yt(),r=Sr(),n=RangeError,i=String.fromCharCode,o=String.fromCodePoint,a=e([].join);t({target:"String",stat:!0,arity:1,forced:!!o&&1!==o.length},{fromCodePoint:function(t){for(var e,o=[],s=arguments.length,c=0;s>c;){if(e=+arguments[c++],r(e,1114111)!==e)throw new n(e+" is not a valid code point");o[c]=e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320)}return a(o,"")}})}();var t=on(),e=v(),r=Uo(),n=_t(),i=O(),o=yt(),a=E(),s=function(){if(go)return vo;go=1;var t=A(),e=ve(),r=E(),n=ce(),i=e("iterator");return vo=!t((function(){var t=new URL("b?a=1&b=2&c=3","https://a"),e=t.searchParams,o=new URLSearchParams("a=1&a=2&b=3"),a="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),a+=r+t})),o.delete("a",2),o.delete("b",void 0),n&&(!t.toJSON||!o.has("a",1)||o.has("a",2)||!o.has("a",void 0)||o.has("b"))||!e.size&&(n||!r)||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==a||"x"!==new URL("https://x",void 0).host}))}(),c=er(),l=Ho(),u=zo(),f=ii(),h=oi(),d=Qe(),p=Vo(),g=At(),m=de(),b=qo(),y=un(),w=Ce(),S=Et(),x=Mi(),k=Qn(),T=bt(),_=Go(),N=$o(),C=ui(),R=Xo(),P=ve(),L=Ko(),I=P("iterator"),F="URLSearchParams",j=F+"Iterator",D=d.set,M=d.getterFor(F),B=d.getterFor(j),W=r("fetch"),U=r("Request"),H=r("Headers"),z=U&&U.prototype,V=H&&H.prototype,q=e.TypeError,$=e.encodeURIComponent,G=String.fromCharCode,X=n("String","fromCodePoint"),Y=parseInt,K=o("".charAt),J=o([].join),Z=o([].push),Q=o("".replace),tt=o([].shift),et=o([].splice),rt=o("".split),nt=o("".slice),it=o(/./.exec),ot=/\+/g,at=/^[0-9a-f]+$/i,st=function(t,e){var r=nt(t,e,e+2);return it(at,r)?Y(r,16):NaN},ct=function(t){for(var e=0,r=128;r>0&&t&r;r>>=1)e++;return e},lt=function(t){var e=null;switch(t.length){case 1:e=t[0];break;case 2:e=(31&t[0])<<6|63&t[1];break;case 3:e=(15&t[0])<<12|(63&t[1])<<6|63&t[2];break;case 4:e=(7&t[0])<<18|(63&t[1])<<12|(63&t[2])<<6|63&t[3]}return e>1114111?null:e},ut=function(t){for(var e=(t=Q(t,ot," ")).length,r="",n=0;n<e;){var i=K(t,n);if("%"===i){if("%"===K(t,n+1)||n+3>e){r+="%",n++;continue}var o=st(t,n+1);if(o!=o){r+=i,n++;continue}n+=2;var a=ct(o);if(0===a)i=G(o);else{if(1===a||a>4){r+="<22>",n++;continue}for(var s=[o],c=1;c<a&&!(++n+3>e||"%"!==K(t,n));){var l=st(t,n+1);if(l!=l){n+=3;break}if(l>191||l<128)break;Z(s,l),n+=2,c++}if(s.length!==a){r+="<22>";continue}var u=lt(s);null===u?r+="<22>":i=X(u)}}r+=i,n++}return r},ft=/[!'()~]|%20/g,ht={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},dt=function(t){return ht[t]},pt=function(t){return Q($(t),ft,dt)},vt=h((function(t,e){D(this,{type:j,target:M(t).entries,index:0,kind:e})}),F,(function(){var t=B(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,C(void 0,!0);var n=e[r];switch(t.kind){case"keys":return C(n.key,!1);case"values":return C(n.value,!1)}return C([n.key,n.value],!1)}),!0),gt=function(t){this.entries=[],this.url=null,void 0!==t&&(S(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===K(t,0)?nt(t,1):t:x(t)))};gt.prototype={type:F,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,a,s,c,l=this.entries,u=N(t);if(u)for(r=(e=_(t,u)).next;!(n=i(r,e)).done;){if(a=(o=_(w(n.value))).next,(s=i(a,o)).done||(c=i(a,o)).done||!i(a,o).done)throw new q("Expected sequence with length 2");Z(l,{key:x(s.value),value:x(c.value)})}else for(var f in t)m(t,f)&&Z(l,{key:f,value:x(t[f])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,i=rt(t,"&"),o=0;o<i.length;)(e=i[o++]).length&&(r=rt(e,"="),Z(n,{key:ut(tt(r)),value:ut(J(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],Z(r,pt(t.key)+"="+pt(t.value));return J(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var mt=function(){p(this,wt);var t=D(this,new gt(arguments.length>0?arguments[0]:void 0));a||(this.size=t.entries.length)},wt=mt.prototype;if(u(wt,{append:function(t,e){var r=M(this);R(arguments.length,2),Z(r.entries,{key:x(t),value:x(e)}),a||this.length++,r.updateURL()},delete:function(t){for(var e=M(this),r=R(arguments.length,1),n=e.entries,i=x(t),o=r<2?void 0:arguments[1],s=void 0===o?o:x(o),c=0;c<n.length;){var l=n[c];if(l.key!==i||void 0!==s&&l.value!==s)c++;else if(et(n,c,1),void 0!==s)break}a||(this.size=n.length),e.updateURL()},get:function(t){var e=M(this).entries;R(arguments.length,1);for(var r=x(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){var e=M(this).entries;R(arguments.length,1);for(var r=x(t),n=[],i=0;i<e.length;i++)e[i].key===r&&Z(n,e[i].value);return n},has:function(t){for(var e=M(this).entries,r=R(arguments.length,1),n=x(t),i=r<2?void 0:arguments[1],o=void 0===i?i:x(i),a=0;a<e.length;){var s=e[a++];if(s.key===n&&(void 0===o||s.value===o))return!0}return!1},set:function(t,e){var r=M(this);R(arguments.length,1);for(var n,i=r.entries,o=!1,s=x(t),c=x(e),l=0;l<i.length;l++)(n=i[l]).key===s&&(o?et(i,l--,1):(o=!0,n.value=c));o||Z(i,{key:s,value:c}),a||(this.size=i.length),r.updateURL()},sort:function(){var t=M(this);L(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=M(this).entries,n=b(t,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((e=r[i++]).value,e.key,this)},keys:function(){return new vt(this,"keys")},values:function(){return new vt(this,"values")},entries:function(){return new vt(this,"entries")}},{enumerable:!0}),c(wt,I,wt.entries,{name:"entries"}),c(wt,"toString",(function(){return M(this).serialize()}),{enumerable:!0}),a&&l(wt,"size",{get:function(){return M(this).entries.length},configurable:!0,enumerable:!0}),f(mt,F),t({global:!0,constructor:!0,forced:!s},{URLSearchParams:mt}),!s&&g(H)){var St=o(V.has),xt=o(V.set),kt=function(t){if(S(t)){var e,r=t.body;if(y(r)===F)return e=t.headers?new H(t.headers):new H,St(e,"content-type")||xt(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),k(t,{body:T(0,x(r)),headers:T(0,e)})}return t};if(g(W)&&t({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return W(t,arguments.length>1?kt(arguments[1]):{})}}),g(U)){var Tt=function(t){return p(this,z),new U(t,arguments.length>1?kt(arguments[1]):{})};z.constructor=Tt,Tt.prototype=z,t({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Tt})}}return Do={URLSearchParams:mt,getState:M}}Bo||(Bo=1,Jo());var Zo=t.fn.bootstrapTable.utils;Object.assign(t.fn.bootstrapTable.defaults,{addrbar:!1,addrPrefix:"",addrCustomParams:{}}),t.BootstrapTable=function(e){function i(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r(this,i,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(i,e),n(i,[{key:"init",value:function(){this.options.pagination&&this.options.addrbar&&this.initAddrbar();for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];l(i,"init",this)(e)}},{key:"getDefaultOptionValue",value:function(e,r){return this.options[e]!==t.BootstrapTable.DEFAULTS[e]?this.options[e]:this.searchParams.get("".concat(this.options.addrPrefix||"").concat(r))||t.BootstrapTable.DEFAULTS[e]}},{key:"initAddrbar",value:function(){var t=this;this.addrbarInit=!0,this.searchParams=new URLSearchParams(window.location.search.substring(1)),this.options.pageNumber=+this.getDefaultOptionValue("pageNumber","page"),this.options.pageSize=+this.getDefaultOptionValue("pageSize","size"),this.options.sortOrder=this.getDefaultOptionValue("sortOrder","order"),this.options.sortName=this.getDefaultOptionValue("sortName","sort"),this.options.searchText=this.getDefaultOptionValue("searchText","search");var e=this.options.addrPrefix||"",r=this.options.onLoadSuccess,n=this.options.onPageChange;this.options.onLoadSuccess=function(n){t.addrbarInit?t.addrbarInit=!1:t.updateHistoryState(e),r&&r.call(t,n)},this.options.onPageChange=function(r,i){t.updateHistoryState(e),n&&n.call(t,r,i)}}},{key:"updateHistoryState",value:function(t){var e={};e["".concat(t,"page")]=this.options.pageNumber,e["".concat(t,"size")]=this.options.pageSize,e["".concat(t,"order")]=this.options.sortOrder,e["".concat(t,"sort")]=this.options.sortName,e["".concat(t,"search")]=this.options.searchText;for(var r=0,n=Object.entries(e);r<n.length;r++){var i=c(n[r],2),o=i[0],a=i[1];void 0===a?this.searchParams.delete(o):this.searchParams.set(o,a)}for(var s=Zo.calculateObjectValue(this.options,this.options.addrCustomParams,[],{}),l=0,u=Object.entries(s);l<u.length;l++){var f=c(u[l],2),h=f[0],d=f[1];this.searchParams.set(h,d)}var p="?".concat(this.searchParams.toString());location.hash&&(p+=location.hash),window.history.pushState({},"",p)}},{key:"resetSearch",value:function(t){l(i,"resetSearch",this)([t]),this.options.searchText=t||""}}])}(t.BootstrapTable)})),jQuery.base64=function(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function r(t){var r,n,i,o,a,s,c,l="",u=0;for(t=function(t){t=t.replace(/\r\n/g,"\n");for(var e="",r=0;r<t.length;r++){var n=t.charCodeAt(r);n<128?e+=String.fromCharCode(n):n>127&&n<2048?(e+=String.fromCharCode(n>>6|192),e+=String.fromCharCode(63&n|128)):(e+=String.fromCharCode(n>>12|224),e+=String.fromCharCode(n>>6&63|128),e+=String.fromCharCode(63&n|128))}return e}(t);u<t.length;)o=(r=t.charCodeAt(u++))>>2,a=(3&r)<<4|(n=t.charCodeAt(u++))>>4,s=(15&n)<<2|(i=t.charCodeAt(u++))>>6,c=63&i,isNaN(n)?s=c=64:isNaN(i)&&(c=64),l=l+e.charAt(o)+e.charAt(a)+e.charAt(s)+e.charAt(c);return l}return{encode:function(t){return r(t)}}}(jQuery);var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.findInternal=function(t,e,r){t instanceof String&&(t=String(t));for(var n=t.length,i=0;i<n;i++){var o=t[i];if(e.call(r,o,i,t))return{i:i,v:o}}return{i:-1,v:void 0}},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,r){t!=Array.prototype&&t!=Object.prototype&&(t[e]=r.value)},$jscomp.getGlobal=function(t){return"undefined"!=typeof window&&window===t?t:"undefined"!=typeof global&&null!=global?global:t},$jscomp.global=$jscomp.getGlobal(this),$jscomp.polyfill=function(t,e,r,n){if(e){for(r=$jscomp.global,t=t.split("."),n=0;n<t.length-1;n++){var i=t[n];i in r||(r[i]={}),r=r[i]}(e=e(n=r[t=t[t.length-1]]))!=n&&null!=e&&$jscomp.defineProperty(r,t,{configurable:!0,writable:!0,value:e})}},$jscomp.polyfill("Array.prototype.find",(function(t){return t||function(t,e){return $jscomp.findInternal(this,t,e).v}}),"es6","es3"),$jscomp.polyfill("Object.is",(function(t){return t||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}}),"es6","es3"),$jscomp.polyfill("Array.prototype.includes",(function(t){return t||function(t,e){var r=this;r instanceof String&&(r=String(r));var n=r.length;for(e=e||0;e<n;e++)if(r[e]==t||Object.is(r[e],t))return!0;return!1}}),"es7","es3"),$jscomp.checkStringArgs=function(t,e,r){if(null==t)throw new TypeError("The 'this' value for String.prototype."+r+" must not be null or undefined");if(e instanceof RegExp)throw new TypeError("First argument to String.prototype."+r+" must not be a regular expression");return t+""},$jscomp.polyfill("String.prototype.includes",(function(t){return t||function(t,e){return-1!==$jscomp.checkStringArgs(this,t,"includes").indexOf(t,e||0)}}),"es6","es3"),function(t){t.fn.tableExport=function(o){function a(e){var r=[];return c(e,"thead").each((function(){r.push.apply(r,c(t(this),nt.theadSelector).toArray())})),r}function s(e){var r=[];return c(e,"tbody").each((function(){r.push.apply(r,c(t(this),nt.tbodySelector).toArray())})),nt.tfootSelector.length&&c(e,"tfoot").each((function(){r.push.apply(r,c(t(this),nt.tfootSelector).toArray())})),r}function c(e,r){var n=e[0].tagName,i=e.parents(n).length;return e.find(r).filter((function(){return i===t(this).closest(n).parents(n).length}))}function l(e){var r=[],n=0,i=0,o=0;return t(e).find("thead").first().find("th").each((function(e,a){e=void 0!==t(a).attr("data-field"),void 0!==a.parentNode.rowIndex&&i!==a.parentNode.rowIndex&&(i=a.parentNode.rowIndex,n=o=0);var s=N(a);for(n+=s||1;o<n;)r[o]=e?t(a).attr("data-field"):o.toString(),o++})),r}function u(e){var r=void 0!==e[0].rowIndex,n=!1===r&&void 0!==e[0].cellIndex,i=n||r?function(t){var e=[];return gt&&(e=vt.filter((function(){var e=!1;return this.nodeType===t[0].nodeType&&(void 0!==this.rowIndex&&this.rowIndex===t[0].rowIndex||void 0!==this.cellIndex&&this.cellIndex===t[0].cellIndex&&void 0!==this.parentNode.rowIndex&&void 0!==t[0].parentNode.rowIndex&&this.parentNode.rowIndex===t[0].parentNode.rowIndex)&&(e=!0),e}))),!1===gt||0===e.length}(e):e.is(":visible"),o=e.attr("data-tableexport-display");return n&&"none"!==o&&"always"!==o&&(r=void 0!==(e=t(e[0].parentNode))[0].rowIndex,o=e.attr("data-tableexport-display")),r&&"none"!==o&&"always"!==o&&(o=e.closest("table").attr("data-tableexport-display")),"none"!==o&&(!0===i||"always"===o)}function f(e,r,n){var i=!1;return u(e)?0<nt.ignoreColumn.length&&(-1!==t.inArray(n,nt.ignoreColumn)||-1!==t.inArray(n-r,nt.ignoreColumn)||dt.length>n&&void 0!==dt[n]&&-1!==t.inArray(dt[n],nt.ignoreColumn))&&(i=!0):i=!0,i}function h(e,r,n,i,o){if("function"==typeof o){var a=!1;if("function"==typeof nt.onIgnoreRow&&(a=nt.onIgnoreRow(t(e),n)),!1===a&&(0===nt.ignoreRow.length||-1===t.inArray(n,nt.ignoreRow)&&-1===t.inArray(n-i,nt.ignoreRow))&&u(t(e))){var s=(e=c(t(e),r)).length,l=0,h=0;e.each((function(){var e,r=t(this),i=N(this),a=C(this);if(t.each(pt,(function(){if(n>this.s.r&&n<=this.e.r&&l>=this.s.c&&l<=this.e.c)for(e=0;e<=this.e.c-this.s.c;++e)s++,h++,o(null,n,l++)})),(a||i)&&(i=i||1,pt.push({s:{r:n,c:l},e:{r:n+(a||1)-1,c:l+i-1}})),!1===f(r,s,h++)&&o(this,n,l++),1<i)for(e=0;e<i-1;++e)h++,o(null,n,l++)})),t.each(pt,(function(){if(n>=this.s.r&&n<=this.e.r&&l>=this.s.c&&l<=this.e.c)for(var t=0;t<=this.e.c-this.s.c;++t)o(null,n,l++)}))}}}function d(t,e,r,n){if(void 0!==n.images&&void 0!==(r=n.images[r])){e=e.getBoundingClientRect();var i=t.width/t.height,o=e.width/e.height,a=t.width,s=t.height,c=19.049976/25.4,l=0;o<=i?(s=Math.min(t.height,e.height),a=e.width*s/e.height):o>i&&(a=Math.min(t.width,e.width),s=e.height*a/e.width),a*=c,(s*=c)<t.height&&(l=(t.height-s)/2);try{n.doc.addImage(r.src,t.textPos.x,t.y+l,a,s)}catch(t){}t.textPos.x+=a}}function p(t,e){if("string"===nt.outputMode)return t.output();if("base64"===nt.outputMode)return B(t.output());if("window"===nt.outputMode)window.URL=window.URL||window.webkitURL,window.open(window.URL.createObjectURL(t.output("blob")));else{var r=nt.fileName+".pdf";try{var n=t.output("blob");saveAs(n,r),"function"==typeof nt.onAfterSaveToFile&&nt.onAfterSaveToFile(n,r)}catch(n){M(r,"data:application/pdf"+(e?"":";base64")+",",e?t.output("blob"):t.output())}}}function v(t,e,r){var n=0;if(void 0!==r&&(n=r.colspan),0<=n){for(var i=t.width,o=t.textPos.x,a=e.table.columns.indexOf(e.column),s=1;s<n;s++)i+=e.table.columns[a+s].width;return 1<n&&("right"===t.styles.halign?o=t.textPos.x+i-t.width:"center"===t.styles.halign&&(o=t.textPos.x+(i-t.width)/2)),t.width=i,t.textPos.x=o,void 0!==r&&1<r.rowspan&&(t.height*=r.rowspan),"middle"!==t.styles.valign&&"bottom"!==t.styles.valign||2<(r=("string"==typeof t.text?t.text.split(/\r\n|\r|\n/g):t.text).length||1)&&(t.textPos.y-=(2-1.15)/2*e.row.styles.fontSize*(r-2)/3),!0}return!1}function g(e,r,n){null!=e&&(e.hasAttribute("data-tableexport-canvas")?(r=(new Date).getTime(),t(e).attr("data-tableexport-canvas",r),n.images[r]={url:'[data-tableexport-canvas="'+r+'"]',src:null}):"undefined"!==r&&null!=r&&r.each((function(){if(t(this).is("img")){var r=j(this.src);n.images[r]={url:this.src,src:this.src}}g(e,t(this).children(),n)})))}function m(e,r,n){r.each((function(){if(t(this).is("div")){var r=_(R(this,"background-color"),[255,255,255]),i=_(R(this,"border-top-color"),[0,0,0]),o=P(this,"border-top-width",nt.jspdf.unit),a=this.getBoundingClientRect(),s=this.offsetLeft*n.wScaleFactor,c=this.offsetTop*n.hScaleFactor,l=a.width*n.wScaleFactor;a=a.height*n.hScaleFactor,n.doc.setDrawColor.apply(void 0,i),n.doc.setFillColor.apply(void 0,r),n.doc.setLineWidth(o),n.doc.rect(e.x+s,e.y+c,l,a,o?"FD":"F")}else t(this).is("img")&&(r=j(this.src),d(e,this,r,n));m(e,t(this).children(),n)}))}function b(e,r,n){if("function"==typeof n.onAutotableText)n.onAutotableText(n.doc,e,r);else{var i=e.textPos.x,o=e.textPos.y,a={halign:e.styles.halign,valign:e.styles.valign};if(r.length){for(r=r[0];r.previousSibling;)r=r.previousSibling;for(var s=!1,c=!1;r;){var l=r.innerText||r.textContent||"",u=l.length&&" "===l[0]?" ":"",f=1<l.length&&" "===l[l.length-1]?" ":"";if(!0!==nt.preserve.leadingWS&&(l=u+w(l)),!0!==nt.preserve.trailingWS&&(l=S(l)+f),t(r).is("br")&&(i=e.textPos.x,o+=n.doc.internal.getFontSize()),t(r).is("b")?s=!0:t(r).is("i")&&(c=!0),(s||c)&&n.doc.setFont("undefined ",s&&c?"bolditalic":s?"bold":"italic"),u=n.doc.getStringUnitWidth(l)*n.doc.internal.getFontSize()){if("linebreak"===e.styles.overflow&&i>e.textPos.x&&i+u>e.textPos.x+e.width&&(0<=".,!%*;:=-".indexOf(l.charAt(0))&&(f=l.charAt(0),i+(u=n.doc.getStringUnitWidth(f)*n.doc.internal.getFontSize())<=e.textPos.x+e.width&&(U(f,i,o,a),l=l.substring(1,l.length)),u=n.doc.getStringUnitWidth(l)*n.doc.internal.getFontSize()),i=e.textPos.x,o+=n.doc.internal.getFontSize()),"visible"!==e.styles.overflow)for(;l.length&&i+u>e.textPos.x+e.width;)l=l.substring(0,l.length-1),u=n.doc.getStringUnitWidth(l)*n.doc.internal.getFontSize();U(l,i,o,a),i+=u}(s||c)&&(t(r).is("b")?s=!1:t(r).is("i")&&(c=!1),n.doc.setFont("undefined ",s||c?s?"bold":"italic":"normal")),r=r.nextSibling}e.textPos.x=i,e.textPos.y=o}else U(e.text,e.textPos.x,e.textPos.y,a)}}function y(t,e,r){return null==t?"":t.toString().replace(new RegExp(null==e?"":e.toString().replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"),"g"),r)}function w(t){return null==t?"":t.toString().replace(/^\s+/,"")}function S(t){return null==t?"":t.toString().replace(/\s+$/,"")}function x(t){if(0===nt.date.html.length)return!1;nt.date.pattern.lastIndex=0;var e=nt.date.pattern.exec(t);if(null==e)return!1;if(0>(t=+e[nt.date.match_y])||8099<t)return!1;var r=1*e[nt.date.match_m];if(e=1*e[nt.date.match_d],!isFinite(e))return!1;var n=new Date(t,r-1,e,0,0,0);return n.getFullYear()===t&&n.getMonth()===r-1&&n.getDate()===e&&new Date(Date.UTC(t,r-1,e,0,0,0))}function k(t){return t=t||"0",""!==nt.numbers.html.thousandsSeparator&&(t=y(t,nt.numbers.html.thousandsSeparator,"")),"."!==nt.numbers.html.decimalMark&&(t=y(t,nt.numbers.html.decimalMark,".")),("number"==typeof t||!1!==jQuery.isNumeric(t))&&t}function T(e,r,n,i){var o="",a="text";if(null!==e){var s=t(e);if(s.removeData("teUserDefText"),s[0].hasAttribute("data-tableexport-canvas"))var c="";else if(s[0].hasAttribute("data-tableexport-value"))c=(c=s.attr("data-tableexport-value"))?c+"":"",s.data("teUserDefText",1);else if(c=s.html(),"function"==typeof nt.onCellHtmlData)c=nt.onCellHtmlData(s,r,n,c),s.data("teUserDefText",1);else if(""!==c){e=t.parseHTML("<div>"+c+"</div>",null,!1);var l=0,u=0;c="",t.each(e,(function(){if(t(this).is("input"))c+=s.find("input").eq(l++).val();else if(t(this).is("select"))c+=s.find("select option:selected").eq(u++).text();else if(t(this).is("br"))c+="<br>";else if(void 0===t(this).html()?c+=t(this).text():(void 0===jQuery().bootstrapTable||!1===t(this).hasClass("fht-cell")&&!1===t(this).hasClass("filterControl")&&0===s.parents(".detail-view").length)&&(c+=t(this).html()),t(this).is("a")){var e=s.find("a").attr("href")||"";o="function"==typeof nt.onCellHtmlHyperlink?o+nt.onCellHtmlHyperlink(s,r,n,e,c):"href"===nt.htmlHyperlink?o+e:o+c,c=""}}))}if(c&&""!==c&&!0===nt.htmlContent)o=t.trim(c);else if(c&&""!==c)if(""!==s.attr("data-tableexport-cellformat")){var f=c.replace(/\n/g,"\u2028").replace(/(<\s*br([^>]*)>)/gi,""),h=t("<div/>").html(f).contents();if(e=!1,f="",t.each(h.text().split("\u2028"),(function(t,e){0<t&&(f+=" "),!0!==nt.preserve.leadingWS&&(e=w(e)),f+=!0!==nt.preserve.trailingWS?S(e):e})),t.each(f.split(""),(function(t,e){0<t&&(o+="\n"),!0!==nt.preserve.leadingWS&&(e=w(e)),!0!==nt.preserve.trailingWS&&(e=S(e)),o+=e.replace(/\u00AD/g,"")})),o=o.replace(/\u00A0/g," "),"json"===nt.type||"excel"===nt.type&&"xmlss"===nt.mso.fileFormat||!1===nt.numbers.output)!1!==(e=k(o))&&(a="number",o=Number(e));else if((nt.numbers.html.decimalMark!==nt.numbers.output.decimalMark||nt.numbers.html.thousandsSeparator!==nt.numbers.output.thousandsSeparator)&&!1!==(e=k(o))){1===(h=(""+e.substr(0>e?1:0)).split(".")).length&&(h[1]="");var d=3<h[0].length?h[0].length%3:0;a="number",o=(0>e?"-":"")+(nt.numbers.output.thousandsSeparator?(d?h[0].substr(0,d)+nt.numbers.output.thousandsSeparator:"")+h[0].substr(d).replace(/(\d{3})(?=\d)/g,"$1"+nt.numbers.output.thousandsSeparator):h[0])+(h[1].length?nt.numbers.output.decimalMark+h[1]:"")}}else o=c;!0===nt.escape&&(o=escape(o)),"function"==typeof nt.onCellData&&(o=nt.onCellData(s,r,n,o,a),s.data("teUserDefText",1))}return void 0!==i&&(i.type=a),o}function A(t){return 0<t.length&&!0===nt.preventInjection&&0<="=+-@".indexOf(t.charAt(0))?"'"+t:t}function E(t,e,r){return e+"-"+r.toLowerCase()}function _(t,e){return(t=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/.exec(t))&&(e=[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]),e}function O(t){var e=R(t,"text-align"),r=R(t,"font-weight"),n=R(t,"font-style"),i="";return"start"===e&&(e="rtl"===R(t,"direction")?"right":"left"),700<=r&&(i="bold"),"italic"===n&&(i+=n),""===i&&(i="normal"),e={style:{align:e,bcolor:_(R(t,"background-color"),[255,255,255]),color:_(R(t,"color"),[0,0,0]),fstyle:i},colspan:N(t),rowspan:C(t)},null!==t&&(t=t.getBoundingClientRect(),e.rect={width:t.width,height:t.height}),e}function N(e){var r=t(e).attr("data-tableexport-colspan");return void 0===r&&t(e).is("[colspan]")&&(r=t(e).attr("colspan")),parseInt(r)||0}function C(e){var r=t(e).attr("data-tableexport-rowspan");return void 0===r&&t(e).is("[rowspan]")&&(r=t(e).attr("rowspan")),parseInt(r)||0}function R(t,e){try{return window.getComputedStyle?(e=e.replace(/([a-z])([A-Z])/,E),"object"==typeof t&&void 0!==t.nodeType?window.getComputedStyle(t,null).getPropertyValue(e):"object"==typeof t&&t.length?t.getPropertyValue(e):""):t.currentStyle?t.currentStyle[e]:t.style[e]}catch(t){}return""}function P(t,e,r){if(null!==(e=R(t,e).match(/\d+/))){e=e[0],t=t.parentElement;var n=document.createElement("div");return n.style.overflow="hidden",n.style.visibility="hidden",t.appendChild(n),n.style.width=100+r,r=100/n.offsetWidth,t.removeChild(n),e*r}return 0}function L(t){var e=t.c,r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r+""+(t.r+1)}function I(t,e){return void 0===e||"number"==typeof e?I(t.s,t.e):("string"!=typeof t&&(t=L(t)),"string"!=typeof e&&(e=L(e)),t===e?t:t+":"+e)}function F(t,e){var r=Number(t);if(isFinite(r))return r;var n=1;return""!==e.thousandsSeparator&&(t=t.replace(new RegExp("([\\d])"+e.thousandsSeparator+"([\\d])","g"),"$1$2")),"."!==e.decimalMark&&(t=t.replace(new RegExp("([\\d])"+e.decimalMark+"([\\d])","g"),"$1.$2")),t=t.replace(/[$]/g,"").replace(/[%]/g,(function(){return n*=100,""})),isFinite(r=Number(t))?r/n:(t=t.replace(/[(](.*)[)]/,(function(t,e){return n=-n,e})),isFinite(r=Number(t))?r/n:r)}function j(t){var e,r=0;if(0===t.length)return r;var n=0;for(e=t.length;n<e;n++){r=(r<<5)-r+t.charCodeAt(n),r|=0}return r}function D(t,e,r,n,i,o){var a=!0;if("function"==typeof nt.onBeforeSaveToFile&&("boolean"!=typeof(a=nt.onBeforeSaveToFile(t,e,r,n,i))&&(a=!0)),a)try{J=o?new Blob([String.fromCharCode(65279),[t]],{type:r+";charset="+n}):new Blob([t],{type:r+";charset="+n}),saveAs(J,e,{autoBom:!1}),"function"==typeof nt.onAfterSaveToFile&&nt.onAfterSaveToFile(t,e)}catch(a){M(e,"data:"+r+(n.length?";charset="+n:"")+(i.length?";"+i:"")+",",o?"\ufeff"+t:t)}}function M(t,e,r){var n=window.navigator.userAgent;if(!1!==t&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(new Blob([r]),t);else if(!1!==t&&(0<n.indexOf("MSIE ")||n.match(/Trident.*rv\:11\./))){if(e=document.createElement("iframe")){switch(document.body.appendChild(e),e.setAttribute("style","display:none"),e.contentDocument.open("txt/plain","replace"),e.contentDocument.write(r),e.contentDocument.close(),e.contentWindow.focus(),t.substr(t.lastIndexOf(".")+1)){case"doc":case"json":case"png":case"pdf":case"xls":case"xlsx":t+=".txt"}e.contentDocument.execCommand("SaveAs",!0,t),document.body.removeChild(e)}}else{var i=document.createElement("a");if(i){var o=null;i.style.display="none",!1!==t?i.download=t:i.target="_blank","object"==typeof r?(window.URL=window.URL||window.webkitURL,(n=[]).push(r),o=window.URL.createObjectURL(new Blob(n,{type:e})),i.href=o):0<=e.toLowerCase().indexOf("base64,")?i.href=e+B(r):i.href=e+encodeURIComponent(r),document.body.appendChild(i),document.createEvent?(null===ct&&(ct=document.createEvent("MouseEvents")),ct.initEvent("click",!0,!1),i.dispatchEvent(ct)):document.createEventObject?i.fireEvent("onclick"):"function"==typeof i.onclick&&i.onclick(),setTimeout((function(){o&&window.URL.revokeObjectURL(o),document.body.removeChild(i),"function"==typeof nt.onAfterSaveToFile&&nt.onAfterSaveToFile(r,t)}),100)}}}function B(t){var e,r="",n=0;if("string"==typeof t){t=t.replace(/\x0d\x0a/g,"\n");var i="";for(e=0;e<t.length;e++){var o=t.charCodeAt(e);128>o?i+=String.fromCharCode(o):(127<o&&2048>o?i+=String.fromCharCode(o>>6|192):(i+=String.fromCharCode(o>>12|224),i+=String.fromCharCode(o>>6&63|128)),i+=String.fromCharCode(63&o|128))}t=i}for(;n<t.length;){var a=t.charCodeAt(n++);o=a>>2,a=(3&a)<<4|(i=t.charCodeAt(n++))>>4;var s=(15&i)<<2|(e=t.charCodeAt(n++))>>6,c=63&e;isNaN(i)?s=c=64:isNaN(e)&&(c=64),r=r+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(o)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(s)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(c)}return r}function W(t,e,r,n){return e&&"object"==typeof e||console.error("The headers should be an object or array, is: "+typeof e),r&&"object"==typeof r||console.error("The data should be an object or array, is: "+typeof r),n&&"object"!=typeof n&&console.error("The data should be an object or array, is: "+typeof r),Array.prototype.forEach||console.error("The current browser does not support Array.prototype.forEach which is required for jsPDF-AutoTable"),Z=t,tt=function(t){var e=Y({theme:"striped",styles:{},headerStyles:{},bodyStyles:{},alternateRowStyles:{},columnStyles:{},startY:!1,margin:40,pageBreak:"auto",tableWidth:"auto",createdHeaderCell:function(t,e){},createdCell:function(t,e){},drawHeaderRow:function(t,e){},drawRow:function(t,e){},drawHeaderCell:function(t,e){},drawCell:function(t,e){},beforePageContent:function(t){},afterPageContent:function(t){}},t);void 0!==e.extendWidth&&(e.tableWidth=e.extendWidth?"auto":"wrap",console.error("Use of deprecated option: extendWidth, use tableWidth instead.")),void 0!==e.margins&&(void 0===e.margin&&(e.margin=e.margins),console.error("Use of deprecated option: margins, use margin instead.")),[["padding","cellPadding"],["lineHeight","rowHeight"],"fontSize","overflow"].forEach((function(t){var r="string"==typeof t?t:t[0];t="string"==typeof t?t:t[1],void 0!==e[r]&&(void 0===e.styles[t]&&(e.styles[t]=e[r]),console.error("Use of deprecated option: "+r+", use the style "+t+" instead."))}));var r=e.margin;return e.margin={},"number"==typeof r.horizontal&&(r.right=r.horizontal,r.left=r.horizontal),"number"==typeof r.vertical&&(r.top=r.vertical,r.bottom=r.vertical),["top","right","bottom","left"].forEach((function(t,n){"number"==typeof r?e.margin[t]=r:(n=Array.isArray(r)?n:t,e.margin[t]="number"==typeof r[n]?r[n]:40)})),e}(n||{}),et=1,Q={y:!1===tt.startY?tt.margin.top:tt.startY},t={textColor:30,fontSize:Z.internal.getFontSize(),fontStyle:Z.internal.getFont().fontStyle,fontName:Z.internal.getFont().fontName},H(e,r),function(){var t=0;rt.columns.forEach((function(e){e.contentWidth=rt.headerRow.cells[e.dataKey].contentWidth,rt.rows.forEach((function(t){(t=t.cells[e.dataKey].contentWidth)>e.contentWidth&&(e.contentWidth=t)})),e.width=e.contentWidth,t+=e.contentWidth})),rt.contentWidth=t;var e=Z.internal.pageSize.width-tt.margin.left-tt.margin.right,r=e;"number"==typeof tt.tableWidth?r=tt.tableWidth:"wrap"===tt.tableWidth&&(r=rt.contentWidth),rt.width=r<e?r:e;var n=[],i=0,o=rt.width/rt.columns.length,a=0;rt.columns.forEach((function(t){var e=Y(at,ot[tt.theme].table,tt.styles,t.styles);"wrap"===e.columnWidth?t.width=t.contentWidth:"number"==typeof e.columnWidth?t.width=e.columnWidth:t.contentWidth<=o&&rt.contentWidth>rt.width?t.width=t.contentWidth:(n.push(t),i+=t.contentWidth,t.width=0),a+=t.width})),z(n,a,i,o),rt.height=0,rt.rows.concat(rt.headerRow).forEach((function(t,e){var r=0,n=rt.x;rt.columns.forEach((function(e){var i=t.cells[e.dataKey];e.x=n,q(i.styles);var o=e.width-2*i.styles.cellPadding;"linebreak"===i.styles.overflow?i.text=Z.splitTextToSize(i.text,o+1,{fontSize:i.styles.fontSize}):"ellipsize"===i.styles.overflow?i.text=G(i.text,o,i.styles):"visible"!==i.styles.overflow&&("hidden"===i.styles.overflow?i.text=G(i.text,o,i.styles,""):"function"==typeof i.styles.overflow?i.text=i.styles.overflow(i.text,o):console.error("Unrecognized overflow type: "+i.styles.overflow)),(i=Array.isArray(i.text)?i.text.length-1:0)>r&&(r=i),n+=e.width})),t.heightStyle=t.styles.rowHeight,t.height=t.heightStyle+r*t.styles.fontSize*1.15+(2-1.15)/2*t.styles.fontSize,rt.height+=t.height}))}(),e=tt.startY+tt.margin.bottom+rt.headerRow.height+(rt.rows[0]&&"auto"===tt.pageBreak?rt.rows[0].height:0),"avoid"===tt.pageBreak&&(e+=rt.height),("always"===tt.pageBreak&&!1!==tt.startY||!1!==tt.startY&&e>Z.internal.pageSize.height)&&(Z.addPage(),Q.y=tt.margin.top),q(t),tt.beforePageContent($()),!1!==tt.drawHeaderRow(rt.headerRow,$({row:rt.headerRow}))&&V(rt.headerRow,tt.drawHeaderCell),q(t),rt.rows.forEach((function(t,e){Q.y+t.height+tt.margin.bottom>=Z.internal.pageSize.height&&(tt.afterPageContent($()),Z.addPage(),et++,Q={x:tt.margin.left,y:tt.margin.top},tt.beforePageContent($()),!1!==tt.drawHeaderRow(rt.headerRow,$({row:rt.headerRow}))&&V(rt.headerRow,tt.drawHeaderCell)),t.y=Q.y,!1!==tt.drawRow(t,$({row:t}))&&V(t,tt.drawCell)})),tt.afterPageContent($()),q(t),Z}function U(t,e,r,n){"number"==typeof e&&"number"==typeof r||console.error("The x and y parameters are required. Missing for the text: ",t);var i=Z.internal.getFontSize()/Z.internal.scaleFactor,o=/\r\n|\r|\n/g,a=null,s=1;if("middle"!==n.valign&&"bottom"!==n.valign&&"center"!==n.halign&&"right"!==n.halign||(s=(a="string"==typeof t?t.split(o):t).length||1),r+=i*(2-1.15),"middle"===n.valign?r-=s/2*i:"bottom"===n.valign&&(r-=s*i),"center"===n.halign||"right"===n.halign){if(o=i,"center"===n.halign&&(o*=.5),a&&1<=s){for(t=0;t<a.length;t++)Z.text(a[t],e-Z.getStringUnitWidth(a[t])*o,r),r+=i;return Z}e-=Z.getStringUnitWidth(t)*o}return Z.text(t,e,r),Z}function H(o,a){(rt=new e).x=tt.margin.left;var s=/\r\n|\r|\n/g,c=new r(o);c.index=-1;var l=Y(at,ot[tt.theme].table,ot[tt.theme].header);c.styles=Y(l,tt.styles,tt.headerStyles),o.forEach((function(e,r){"object"==typeof e&&(r=void 0!==e.dataKey?e.dataKey:e.key),void 0!==e.width&&console.error("Use of deprecated option: column.width, use column.styles.columnWidth instead.");var o=new i(r);o.styles=tt.columnStyles[o.dataKey]||{},rt.columns.push(o);var a=new n;a.raw="object"==typeof e?e.title:e,a.styles=t.extend({},c.styles),a.text=""+a.raw,a.contentWidth=2*a.styles.cellPadding+X(a.text,a.styles),a.text=a.text.split(s),c.cells[r]=a,tt.createdHeaderCell(a,{column:o,row:c,settings:tt})})),rt.headerRow=c,a.forEach((function(t,e){var i=new r(t),o=0==e%2,a=Y(at,ot[tt.theme].table,o?ot[tt.theme].alternateRow:{});o=Y(tt.styles,tt.bodyStyles,o?tt.alternateRowStyles:{}),i.styles=Y(a,o),i.index=e,rt.columns.forEach((function(e){var r=new n;r.raw=t[e.dataKey],r.styles=Y(i.styles,e.styles),r.text=void 0!==r.raw?""+r.raw:"",i.cells[e.dataKey]=r,tt.createdCell(r,$({column:e,row:i})),r.contentWidth=2*r.styles.cellPadding+X(r.text,r.styles),r.text=r.text.split(s)})),rt.rows.push(i)}))}function z(t,e,r,n){for(var i=rt.width-e-r,o=0;o<t.length;o++){var a=t[o],s=a.contentWidth/r,c=a.contentWidth+i*s<n;if(0>i&&c){t.splice(o,1),r-=a.contentWidth,a.width=n,z(t,e+=a.width,r,n);break}a.width=a.contentWidth+i*s}}function V(t,e){for(var r=0;r<rt.columns.length;r++){var n=rt.columns[r],i=t.cells[n.dataKey];i&&(q(i.styles),i.x=n.x,i.y=Q.y,i.height=t.height,i.width=n.width,i.textPos.y="top"===i.styles.valign?Q.y+i.styles.cellPadding:"bottom"===i.styles.valign?Q.y+t.height-i.styles.cellPadding:Q.y+t.height/2,i.textPos.x="right"===i.styles.halign?i.x+i.width-i.styles.cellPadding:"center"===i.styles.halign?i.x+i.width/2:i.x+i.styles.cellPadding,!1!==e(i,n=$({column:n,row:t}))&&(Z.rect(i.x,i.y,i.width,i.height,i.styles.fillStyle),U(i.text,i.textPos.x,i.textPos.y,{halign:i.styles.halign,valign:i.styles.valign})))}Q.y+=t.height}function q(t){[{func:Z.setFillColor,value:t.fillColor},{func:Z.setTextColor,value:t.textColor},{func:Z.setFont,value:t.font,style:t.fontStyle},{func:Z.setDrawColor,value:t.lineColor},{func:Z.setLineWidth,value:t.lineWidth},{func:Z.setFont,value:t.font},{func:Z.setFontSize,value:t.fontSize}].forEach((function(t){void 0!==t.value&&(t.value.constructor===Array?t.func.apply(Z,t.value):void 0!==t.style?t.func(t.value,t.style):t.func(t.value))}))}function $(t){t=t||{};var e,r={pageCount:et,settings:tt,table:rt,cursor:Q};for(e in t)t.hasOwnProperty(e)&&(r[e]=t[e]);return r}function G(t,e,r,n){if(n=void 0!==n?n:"...",Array.isArray(t))return t.forEach((function(i,o){t[o]=G(i,e,r,n)})),t;if(e>=X(t,r))return t;for(;e<X(t+n,r)&&!(2>t.length);)t=t.substring(0,t.length-1);return t.trim()+n}function X(t,e){return q(e),Z.getStringUnitWidth(t)*e.fontSize}function Y(t){var e,r={};for(e in t)t.hasOwnProperty(e)&&(r[e]=t[e]);for(var n=1;n<arguments.length;n++){var i=arguments[n];for(e in i)i.hasOwnProperty(e)&&(r[e]=i[e])}return r}var K,J,Z,Q,tt,et,rt,nt={csvEnclosure:'"',csvSeparator:",",csvUseBOM:!0,date:{html:"dd/mm/yyyy"},displayTableName:!1,escape:!1,exportHiddenCells:!1,fileName:"tableExport",htmlContent:!1,htmlHyperlink:"content",ignoreColumn:[],ignoreRow:[],jsonScope:"all",jspdf:{orientation:"p",unit:"pt",format:"a4",margins:{left:20,right:10,top:10,bottom:10},onDocCreated:null,autotable:{styles:{cellPadding:2,rowHeight:12,fontSize:8,fillColor:255,textColor:50,fontStyle:"normal",overflow:"ellipsize",halign:"inherit",valign:"middle"},headerStyles:{fillColor:[52,73,94],textColor:255,fontStyle:"bold",halign:"inherit",valign:"middle"},alternateRowStyles:{fillColor:245},tableExport:{doc:null,onAfterAutotable:null,onBeforeAutotable:null,onAutotableText:null,onTable:null,outputImages:!0}}},mso:{fileFormat:"xlshtml",onMsoNumberFormat:null,pageFormat:"a4",pageOrientation:"portrait",rtl:!1,styles:[],worksheetName:"",xlsx:{formatId:{date:14,numbers:2,currency:164},format:{currency:"$#,##0.00;[Red]-$#,##0.00"},onHyperlink:null}},numbers:{html:{decimalMark:".",thousandsSeparator:","},output:{decimalMark:".",thousandsSeparator:","}},onAfterSaveToFile:null,onBeforeSaveToFile:null,onCellData:null,onCellHtmlData:null,onCellHtmlHyperlink:null,onIgnoreRow:null,onTableExportBegin:null,onTableExportEnd:null,outputMode:"file",pdfmake:{enabled:!1,docDefinition:{pageSize:"A4",pageOrientation:"portrait",styles:{header:{background:"#34495E",color:"#FFFFFF",bold:!0,alignment:"center",fillColor:"#34495E"},alternateRow:{fillColor:"#f5f5f5"}},defaultStyle:{color:"#000000",fontSize:8,font:"Roboto"}},fonts:{},widths:"*"},preserve:{leadingWS:!1,trailingWS:!1},preventInjection:!0,sql:{tableEnclosure:"`",columnEnclosure:"`"},tbodySelector:"tr",tfootSelector:"tr",theadSelector:"tr",tableName:"Table",type:"csv"},it={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]},ot={striped:{table:{fillColor:255,textColor:80,fontStyle:"normal",fillStyle:"F"},header:{textColor:255,fillColor:[41,128,185],rowHeight:23,fontStyle:"bold"},body:{},alternateRow:{fillColor:245}},grid:{table:{fillColor:255,textColor:80,fontStyle:"normal",lineWidth:.1,fillStyle:"DF"},header:{textColor:255,fillColor:[26,188,156],rowHeight:23,fillStyle:"F",fontStyle:"bold"},body:{},alternateRow:{}},plain:{header:{fontStyle:"bold"}}},at={cellPadding:5,fontSize:10,fontName:"helvetica",lineColor:200,lineWidth:.1,fontStyle:"normal",overflow:"ellipsize",fillColor:255,textColor:20,halign:"left",valign:"top",fillStyle:"F",rowHeight:20,columnWidth:"auto"},st=this,ct=null,lt=[],ut=[],ft=0,ht="",dt=[],pt=[],vt=[],gt=!1;if(t.extend(!0,nt,o),"xlsx"===nt.type&&(nt.mso.fileFormat=nt.type,nt.type="excel"),void 0!==nt.excelFileFormat&&void 0===nt.mso.fileFormat&&(nt.mso.fileFormat=nt.excelFileFormat),void 0!==nt.excelPageFormat&&void 0===nt.mso.pageFormat&&(nt.mso.pageFormat=nt.excelPageFormat),void 0!==nt.excelPageOrientation&&void 0===nt.mso.pageOrientation&&(nt.mso.pageOrientation=nt.excelPageOrientation),void 0!==nt.excelRTL&&void 0===nt.mso.rtl&&(nt.mso.rtl=nt.excelRTL),void 0!==nt.excelstyles&&void 0===nt.mso.styles&&(nt.mso.styles=nt.excelstyles),void 0!==nt.onMsoNumberFormat&&void 0===nt.mso.onMsoNumberFormat&&(nt.mso.onMsoNumberFormat=nt.onMsoNumberFormat),void 0!==nt.worksheetName&&void 0===nt.mso.worksheetName&&(nt.mso.worksheetName=nt.worksheetName),void 0!==nt.mso.xslx&&void 0===nt.mso.xlsx&&(nt.mso.xlsx=nt.mso.xslx),nt.mso.pageOrientation="l"===nt.mso.pageOrientation.substr(0,1)?"landscape":"portrait",nt.date.html=nt.date.html||"",nt.date.html.length){var mt=[];mt.dd="(3[01]|[12][0-9]|0?[1-9])",mt.mm="(1[012]|0?[1-9])",mt.yyyy="((?:1[6-9]|2[0-2])\\d{2})",mt.yy="(\\d{2})";var bt=nt.date.html.match(/[^a-zA-Z0-9]/)[0],yt=nt.date.html.toLowerCase().split(bt);nt.date.regex="^\\s*",nt.date.regex+=mt[yt[0]],nt.date.regex+="(.)",nt.date.regex+=mt[yt[1]],nt.date.regex+="\\2",nt.date.regex+=mt[yt[2]],nt.date.regex+="\\s*$",nt.date.pattern=new RegExp(nt.date.regex,"g");var wt=yt.indexOf("dd")+1;nt.date.match_d=wt+(1<wt?1:0),wt=yt.indexOf("mm")+1,nt.date.match_m=wt+(1<wt?1:0),wt=(0<=yt.indexOf("yyyy")?yt.indexOf("yyyy"):yt.indexOf("yy"))+1,nt.date.match_y=wt+(1<wt?1:0)}if(dt=l(st),"function"==typeof nt.onTableExportBegin&&nt.onTableExportBegin(),"csv"===nt.type||"tsv"===nt.type||"txt"===nt.type){var St="",xt=0;pt=[],ft=0;var kt=function(e,r,n){return e.each((function(){ht="",h(this,r,ft,n+e.length,(function(t,e,r){var n=ht,i="";null!==t&&(e=null===(t=T(t,e,r))||""===t?"":t.toString(),"tsv"===nt.type?(t instanceof Date&&t.toLocaleString(),i=y(e,"\t"," ")):t instanceof Date?i=nt.csvEnclosure+t.toLocaleString()+nt.csvEnclosure:(0<=(i=y(i=A(e),nt.csvEnclosure,nt.csvEnclosure+nt.csvEnclosure)).indexOf(nt.csvSeparator)||/[\r\n ]/g.test(i))&&(i=nt.csvEnclosure+i+nt.csvEnclosure)),ht=n+(i+("tsv"===nt.type?"\t":nt.csvSeparator))})),0<(ht=t.trim(ht).substring(0,ht.length-1)).length&&(0<St.length&&(St+="\n"),St+=ht),ft++})),e.length};if(xt+=kt(t(st).find("thead").first().find(nt.theadSelector),"th,td",xt),c(t(st),"tbody").each((function(){xt+=kt(c(t(this),nt.tbodySelector),"td,th",xt)})),nt.tfootSelector.length&&kt(t(st).find("tfoot").first().find(nt.tfootSelector),"td,th",xt),St+="\n","string"===nt.outputMode)return St;if("base64"===nt.outputMode)return B(St);if("window"===nt.outputMode)return void M(!1,"data:text/"+("csv"===nt.type?"csv":"plain")+";charset=utf-8,",St);D(St,nt.fileName+"."+nt.type,"text/"+("csv"===nt.type?"csv":"plain"),"utf-8","","csv"===nt.type&&nt.csvUseBOM)}else if("sql"===nt.type){ft=0,pt=[];var Tt="INSERT INTO "+nt.sql.tableEnclosure+nt.tableName+nt.sql.tableEnclosure+" (";if(lt=a(t(st)),t(lt).each((function(){h(this,"th,td",ft,lt.length,(function(t,e,r){-1<(t=T(t,e,r)||"").indexOf(nt.sql.columnEnclosure)&&(t=y(t.toString(),nt.sql.columnEnclosure,nt.sql.columnEnclosure+nt.sql.columnEnclosure)),Tt+=nt.sql.columnEnclosure+t+nt.sql.columnEnclosure+","})),ft++,Tt=t.trim(Tt).substring(0,Tt.length-1)})),Tt+=") VALUES ",ut=s(t(st)),t(ut).each((function(){ht="",h(this,"td,th",ft,lt.length+ut.length,(function(t,e,r){-1<(t=T(t,e,r)||"").indexOf("'")&&(t=y(t.toString(),"'","''")),ht+="'"+t+"',"})),3<ht.length&&(Tt+="("+ht,Tt=t.trim(Tt).substring(0,Tt.length-1),Tt+="),"),ft++})),Tt=t.trim(Tt).substring(0,Tt.length-1),Tt+=";","string"===nt.outputMode)return Tt;if("base64"===nt.outputMode)return B(Tt);D(Tt,nt.fileName+".sql","application/sql","utf-8","",!1)}else if("json"===nt.type){var At=[];pt=[],lt=a(t(st)),t(lt).each((function(){var t=[];h(this,"th,td",ft,lt.length,(function(e,r,n){t.push(T(e,r,n))})),At.push(t)}));var Et=[];ut=s(t(st)),t(ut).each((function(){var e={},r=0;h(this,"td,th",ft,lt.length+ut.length,(function(t,n,i){At.length?e[At[At.length-1][r]]=T(t,n,i):e[r]=T(t,n,i),r++})),!1===t.isEmptyObject(e)&&Et.push(e),ft++}));var _t="head"===nt.jsonScope?JSON.stringify(At):"data"===nt.jsonScope?JSON.stringify(Et):JSON.stringify({header:At,data:Et});if("string"===nt.outputMode)return _t;if("base64"===nt.outputMode)return B(_t);D(_t,nt.fileName+".json","application/json","utf-8","base64",!1)}else if("xml"===nt.type){ft=0,pt=[];var Ot='<?xml version="1.0" encoding="utf-8"?>';Ot+="<tabledata><fields>",lt=a(t(st)),t(lt).each((function(){h(this,"th,td",ft,lt.length,(function(t,e,r){Ot+="<field>"+T(t,e,r)+"</field>"})),ft++})),Ot+="</fields><data>";var Nt=1;if(ut=s(t(st)),t(ut).each((function(){var t=1;ht="",h(this,"td,th",ft,lt.length+ut.length,(function(e,r,n){ht+="<column-"+t+">"+T(e,r,n)+"</column-"+t+">",t++})),0<ht.length&&"<column-1></column-1>"!==ht&&(Ot+='<row id="'+Nt+'">'+ht+"</row>",Nt++),ft++})),Ot+="</data></tabledata>","string"===nt.outputMode)return Ot;if("base64"===nt.outputMode)return B(Ot);D(Ot,nt.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===nt.type&&"xmlss"===nt.mso.fileFormat){var Ct=[],Rt=[];t(st).filter((function(){return u(t(this))})).each((function(){function e(e,r,n){var i=[];return t(e).each((function(){var r=0,o=0;ht="",h(this,"td,th",ft,n+e.length,(function(e,n,a){if(null!==e){var s="";if(n=T(e,n,a),a="String",!1!==jQuery.isNumeric(n))a="Number";else{var c=function(t){return-1<t.indexOf("%")?!1!==(t=k(t.replace(/%/g,"")))&&(t/=100):t=!1,t}(n);!1!==c&&(n=c,a="Number",s+=' ss:StyleID="pct1"')}"Number"!==a&&(n=n.replace(/\n/g,"<br>")),c=N(e),e=C(e),t.each(i,(function(){if(ft>=this.s.r&&ft<=this.e.r&&o>=this.s.c&&o<=this.e.c)for(var t=0;t<=this.e.c-this.s.c;++t)o++,r++})),(e||c)&&(e=e||1,c=c||1,i.push({s:{r:ft,c:o},e:{r:ft+e-1,c:o+c-1}})),1<c&&(s+=' ss:MergeAcross="'+(c-1)+'"',o+=c-1),1<e&&(s+=' ss:MergeDown="'+(e-1)+'" ss:StyleID="rsp1"'),0<r&&(s+=' ss:Index="'+(o+1)+'"',r=0),ht+="<Cell"+s+'><Data ss:Type="'+a+'">'+t("<div />").text(n).html()+"</Data></Cell>\r",o++}})),0<ht.length&&(K+='<Row ss:AutoFitHeight="0">\r'+ht+"</Row>\r"),ft++})),e.length}var r=t(this),n="";"string"==typeof nt.mso.worksheetName&&nt.mso.worksheetName.length?n=nt.mso.worksheetName+" "+(Rt.length+1):void 0!==nt.mso.worksheetName[Rt.length]&&(n=nt.mso.worksheetName[Rt.length]),n.length||(n=r.find("caption").text()||""),n.length||(n="Table "+(Rt.length+1)),n=t.trim(n.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),Rt.push(t("<div />").text(n).html()),!1===nt.exportHiddenCells&&(vt=r.find("tr, th, td").filter(":hidden"),gt=0<vt.length),ft=0,dt=l(this),K="<Table>\r",n=e(a(r),0,0),e(s(r),0,n),K+="</Table>\r",Ct.push(K)}));for(var Pt,Lt,It={},Ft={},jt=0,Dt=Rt.length;jt<Dt;jt++)Lt=It[Pt=Rt[jt]],2===(Lt=It[Pt]=null==Lt?1:Lt+1)&&(Rt[Ft[Pt]]=Rt[Ft[Pt]].substring(0,29)+"-1"),1<It[Pt]?Rt[jt]=Rt[jt].substring(0,29)+"-"+It[Pt]:Ft[Pt]=jt;for(var Mt='<?xml version="1.0" encoding="UTF-8"?>\r<?mso-application progid="Excel.Sheet"?>\r<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:o="urn:schemas-microsoft-com:office:office"\r xmlns:x="urn:schemas-microsoft-com:office:excel"\r xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:html="http://www.w3.org/TR/REC-html40">\r<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">\r <Created>'+(new Date).toISOString()+'</Created>\r</DocumentProperties>\r<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">\r <AllowPNG/>\r</OfficeDocumentSettings>\r<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">\r <WindowHeight>9000</WindowHeight>\r <WindowWidth>13860</WindowWidth>\r <WindowTopX>0</WindowTopX>\r <WindowTopY>0</WindowTopY>\r <ProtectStructure>False</ProtectStructure>\r <ProtectWindows>False</ProtectWindows>\r</ExcelWorkbook>\r<Styles>\r <Style ss:ID="Default" ss:Name="Normal">\r <Alignment ss:Vertical="Bottom"/>\r <Borders/>\r <Font/>\r <Interior/>\r <NumberFormat/>\r <Protection/>\r </Style>\r <Style ss:ID="rsp1">\r <Alignment ss:Vertical="Center"/>\r </Style>\r <Style ss:ID="pct1">\r <NumberFormat ss:Format="Percent"/>\r </Style>\r</Styles>\r',Bt=0;Bt<Ct.length;Bt++)Mt+='<Worksheet ss:Name="'+Rt[Bt]+'" ss:RightToLeft="'+(nt.mso.rtl?"1":"0")+'">\r'+Ct[Bt],Mt=nt.mso.rtl?Mt+'<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">\r<DisplayRightToLeft/>\r</WorksheetOptions>\r':Mt+'<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"/>\r',Mt+="</Worksheet>\r";if(Mt+="</Workbook>\r","string"===nt.outputMode)return Mt;if("base64"===nt.outputMode)return B(Mt);D(Mt,nt.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===nt.type&&"xlsx"===nt.mso.fileFormat){var Wt=[],Ut=XLSX.utils.book_new();t(st).filter((function(){return u(t(this))})).each((function(){for(var e,r,n,i,o,a,s,c=t(this),l={},h=this.getElementsByTagName("tr"),d=Math.min(1e7,h.length),p={s:{r:0,c:0},e:{r:0,c:0}},v=[],g=0,m=0,b=XLSX.SSF.get_table();g<h.length&&m<d;++g)if(n=h[g],i=!1,"function"==typeof nt.onIgnoreRow&&(i=nt.onIgnoreRow(t(n),g)),!0!==i&&(0===nt.ignoreRow.length||-1===t.inArray(g,nt.ignoreRow)&&-1===t.inArray(g-h.length,nt.ignoreRow))&&!1!==u(t(n))){var y=n.children,w=0;for(n=0;n<y.length;++n)w+=a=+N(s=y[n])||1;var S=0;for(n=i=0;n<y.length;++n)if(a=+N(s=y[n])||1,r=n+S,!f(t(s),w,r+(r<i?i-r:0))){for(S+=a-1,r=0;r<v.length;++r){var k=v[r];k.s.c==i&&k.s.r<=m&&m<=k.e.r&&(i=k.e.c+1,r=-1)}(0<(o=+C(s))||1<a)&&v.push({s:{r:m,c:i},e:{r:m+(o||1)-1,c:i+a-1}});var A={type:""};r={t:"s",v:k=T(s,g,n+S,A)};var E="";""!==(t(s).attr("data-tableexport-cellformat")||void 0)?(0===(e=parseInt(t(s).attr("data-tableexport-xlsxformatid")||0))&&"function"==typeof nt.mso.xlsx.formatId.numbers&&(e=nt.mso.xlsx.formatId.numbers(t(s),g,n+S)),0===e&&"function"==typeof nt.mso.xlsx.formatId.date&&(e=nt.mso.xlsx.formatId.date(t(s),g,n+S)),49===e||"@"===e?E="s":"number"===A.type||0<e&&14>e||36<e&&41>e||48===e?E="n":("date"===A.type||13<e&&37>e||44<e&&48>e||56===e)&&(E="d")):E="s",null!=k&&(0===k.length?r.t="z":0!==k.trim().length&&"s"!==E&&("function"===A.type?r={f:k}:"TRUE"===k?r={t:"b",v:!0}:"FALSE"===k?r={t:"b",v:!1}:"n"===E||isFinite(F(k,nt.numbers.output))?(E=F(k,nt.numbers.output),0===e&&"function"!=typeof nt.mso.xlsx.formatId.numbers&&(e=nt.mso.xlsx.formatId.numbers),(isFinite(E)||isFinite(k))&&(r={t:"n",v:isFinite(E)?E:k,z:"string"==typeof e?e:e in b?b[e]:e===nt.mso.xlsx.formatId.currency?nt.mso.xlsx.format.currency:"0.00"})):!1===(A=x(k))&&"d"!==E||(0===e&&"function"!=typeof nt.mso.xlsx.formatId.date&&(e=nt.mso.xlsx.formatId.date),r={t:"d",v:!1!==A?A:k,z:"string"==typeof e?e:e in b?b[e]:"m/d/yy"})),(E=t(s).find("a"))&&E.length&&(E=E[0].hasAttribute("href")?E.attr("href"):"",k="href"!==nt.htmlHyperlink||""===E?k:"",""!==(A=""!==E?'=HYPERLINK("'+E+(k.length?'","'+k:"")+'")':"")&&("function"==typeof nt.mso.xlsx.onHyperlink?r=0!==(k=nt.mso.xlsx.onHyperlink(t(s),g,n,E,k,A)).indexOf("=HYPERLINK")?{t:"s",v:k}:{f:k}:r={f:A}))),l[L({c:i,r:m})]=r,p.e.c<i&&(p.e.c=i),i+=a}++m}v.length&&(l["!merges"]=(l["!merges"]||[]).concat(v)),p.e.r=Math.max(p.e.r,m-1),l["!ref"]=I(p),m>=d&&(l["!fullref"]=I((p.e.r=h.length-g+m-1,p))),e="","string"==typeof nt.mso.worksheetName&&nt.mso.worksheetName.length?e=nt.mso.worksheetName+" "+(Wt.length+1):void 0!==nt.mso.worksheetName[Wt.length]&&(e=nt.mso.worksheetName[Wt.length]),e.length||(e=c.find("caption").text()||""),e.length||(e="Table "+(Wt.length+1)),e=t.trim(e.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),Wt.push(e),XLSX.utils.book_append_sheet(Ut,l,e)})),D(function(t){for(var e=new ArrayBuffer(t.length),r=new Uint8Array(e),n=0;n!==t.length;++n)r[n]=255&t.charCodeAt(n);return e}(XLSX.write(Ut,{type:"binary",bookType:nt.mso.fileFormat,bookSST:!1})),nt.fileName+"."+nt.mso.fileFormat,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","UTF-8","",!1)}else if("excel"===nt.type||"xls"===nt.type||"word"===nt.type||"doc"===nt.type){var Ht="excel"===nt.type||"xls"===nt.type?"excel":"word",zt="excel"===Ht?"xls":"doc",Vt='xmlns:x="urn:schemas-microsoft-com:office:'+Ht+'"',qt=K="";t(st).filter((function(){return u(t(this))})).each((function(){var e=t(this);""===qt&&(qt=nt.mso.worksheetName||e.find("caption").text()||"Table",qt=t.trim(qt.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31))),!1===nt.exportHiddenCells&&(vt=e.find("tr, th, td").filter(":hidden"),gt=0<vt.length),ft=0,pt=[],dt=l(this),K+="<table><thead>",lt=a(e),t(lt).each((function(){var e=t(this),r=document.defaultView.getComputedStyle(e[0],null);ht="",h(this,"th,td",ft,lt.length,(function(t,e,n){if(null!==t){var i="";if(ht+="<th",nt.mso.styles.length){var o,a=document.defaultView.getComputedStyle(t,null);for(o in nt.mso.styles){var s=nt.mso.styles[o],c=R(a,s);""===c&&(c=R(r,s)),""!==c&&"0px none rgb(0, 0, 0)"!==c&&"rgba(0, 0, 0, 0)"!==c&&(i+=""===i?'style="':";",i+=s+":"+c)}}""!==i&&(ht+=" "+i+'"'),0<(i=N(t))&&(ht+=' colspan="'+i+'"'),0<(i=C(t))&&(ht+=' rowspan="'+i+'"'),ht+=">"+T(t,e,n)+"</th>"}})),0<ht.length&&(K+="<tr>"+ht+"</tr>"),ft++})),K+="</thead><tbody>",ut=s(e),t(ut).each((function(){var e=t(this),r=null,n=null;ht="",h(this,"td,th",ft,lt.length+ut.length,(function(i,o,a){if(null!==i){var s=T(i,o,a),c="",l=t(i).attr("data-tableexport-msonumberformat");if(void 0===l&&"function"==typeof nt.mso.onMsoNumberFormat&&(l=nt.mso.onMsoNumberFormat(i,o,a)),void 0!==l&&""!==l&&(c="style=\"mso-number-format:'"+l+"'"),nt.mso.styles.length)for(var u in r=document.defaultView.getComputedStyle(i,null),n=null,nt.mso.styles)o=nt.mso.styles[u],""===(l=R(r,o))&&(null===n&&(n=document.defaultView.getComputedStyle(e[0],null)),l=R(n,o)),""!==l&&"0px none rgb(0, 0, 0)"!==l&&"rgba(0, 0, 0, 0)"!==l&&(c+=""===c?'style="':";",c+=o+":"+l);ht+="<td",""!==c&&(ht+=" "+c+'"'),0<(c=N(i))&&(ht+=' colspan="'+c+'"'),0<(i=C(i))&&(ht+=' rowspan="'+i+'"'),"string"==typeof s&&""!==s&&(s=(s=A(s)).replace(/\n/g,"<br>")),ht+=">"+s+"</td>"}})),0<ht.length&&(K+="<tr>"+ht+"</tr>"),ft++})),nt.displayTableName&&(K+="<tr><td></td></tr><tr><td></td></tr><tr><td>"+T(t("<p>"+nt.tableName+"</p>"))+"</td></tr>"),K+="</tbody></table>"}));var $t='<html xmlns:o="urn:schemas-microsoft-com:office:office" '+Vt+' xmlns="http://www.w3.org/TR/REC-html40">';if($t+="<head>",$t+='<meta http-equiv="content-type" content="application/vnd.ms-'+Ht+'; charset=UTF-8">',"excel"===Ht&&($t+="\x3c!--[if gte mso 9]>",$t+="<xml>",$t+="<x:ExcelWorkbook>",$t+="<x:ExcelWorksheets>",$t+="<x:ExcelWorksheet>",$t+="<x:Name>",$t+=qt,$t+="</x:Name>",$t+="<x:WorksheetOptions>",$t+="<x:DisplayGridlines/>",nt.mso.rtl&&($t+="<x:DisplayRightToLeft/>"),$t+="</x:WorksheetOptions>",$t+="</x:ExcelWorksheet>",$t+="</x:ExcelWorksheets>",$t+="</x:ExcelWorkbook>",$t+="</xml>",$t+="<![endif]--\x3e"),$t+="<style>",$t+="@page { size:"+nt.mso.pageOrientation+"; mso-page-orientation:"+nt.mso.pageOrientation+"; }",$t+="@page Section1 {size:"+it[nt.mso.pageFormat][0]+"pt "+it[nt.mso.pageFormat][1]+"pt",$t+="; margin:1.0in 1.25in 1.0in 1.25in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",$t+="div.Section1 {page:Section1;}",$t+="@page Section2 {size:"+it[nt.mso.pageFormat][1]+"pt "+it[nt.mso.pageFormat][0]+"pt",$t+=";mso-page-orientation:"+nt.mso.pageOrientation+";margin:1.25in 1.0in 1.25in 1.0in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",$t+="div.Section2 {page:Section2;}",$t+="br {mso-data-placement:same-cell;}",$t+="</style>",$t+="</head>",$t+="<body>",$t+='<div class="Section'+("landscape"===nt.mso.pageOrientation?"2":"1")+'">',$t+=K,$t+="</div>",$t+="</body>",$t+="</html>","string"===nt.outputMode)return $t;if("base64"===nt.outputMode)return B($t);D($t,nt.fileName+"."+zt,"application/vnd.ms-"+Ht,"","base64",!1)}else if("png"===nt.type)html2canvas(t(st)[0]).then((function(t){t=t.toDataURL();for(var e=atob(t.substring(22)),r=new ArrayBuffer(e.length),n=new Uint8Array(r),i=0;i<e.length;i++)n[i]=e.charCodeAt(i);return"string"===nt.outputMode?e:"base64"===nt.outputMode?B(t):void("window"===nt.outputMode?window.open(t):D(r,nt.fileName+".png","image/png","","",!1))}));else if("pdf"===nt.type)if(!0===nt.pdfmake.enabled){var Gt={content:[]};t.extend(!0,Gt,nt.pdfmake.docDefinition),pt=[],t(st).filter((function(){return u(t(this))})).each((function(){var e=t(this),r=[],n="*",i=[];ft=0,"string"!=typeof nt.pdfmake.widths||"*"!==nt.pdfmake.widths.trim()&&"auto"!==nt.pdfmake.widths.trim()?Array.isArray(nt.pdfmake.widths)&&(r=nt.pdfmake.widths):n=nt.pdfmake.widths.trim();var o=function(e,r,n){var o=0;return t(e).each((function(){var t=[];h(this,r,ft,n,(function(e,n,i){if(null!=e){var o=O(e),a=function(t){return 1===(t=Math.min(255,Math.max(0,t)).toString(16)).length?"0"+t:t};e={text:T(e,n,i)||" ",alignment:o.style.align,backgroundColor:"#"+a(o.style.bcolor[0])+a(o.style.bcolor[1])+a(o.style.bcolor[2]),color:"#"+a(o.style.color[0])+a(o.style.color[1])+a(o.style.color[2])},o.style.fstyle.includes("italic")&&(e.fontStyle="italic"),o.style.fstyle.includes("bold")&&(e.bold=!0),(1<o.colspan||1<o.rowspan)&&(e.colSpan=o.colspan||1,e.rowSpan=o.rowspan||1)}else e={text:" "};0<=r.indexOf("th")&&(e.style="header"),t.push(e)})),t.length&&i.push(t),o<t.length&&(o=t.length),ft++})),o},c=o(lt=a(e),"th,td",lt.length);for(c=c>(e=o(ut=s(e),"td",lt.length+ut.length))?c:e,e=r.length;e<c;e++)r.push(n);Gt.content.push({table:{headerRows:lt.length?lt.length:null,widths:r,body:i},layout:{layout:"noBorders",hLineStyle:function(t,e){return 0},vLineWidth:function(t,e){return 0},hLineColor:function(t,e){return t<e.table.headerRows?nt.pdfmake.docDefinition.styles.header.background:nt.pdfmake.docDefinition.styles.alternateRow.fillColor},vLineColor:function(t,e){return t<e.table.headerRows?nt.pdfmake.docDefinition.styles.header.background:nt.pdfmake.docDefinition.styles.alternateRow.fillColor},fillColor:function(t,e,r){return 0==t%2?nt.pdfmake.docDefinition.styles.alternateRow.fillColor:null}},pageBreak:Gt.content.length?"before":void 0})})),"undefined"!=typeof pdfMake&&void 0!==pdfMake.createPdf&&(pdfMake.fonts={Roboto:{normal:"Roboto-Regular.ttf",bold:"Roboto-Medium.ttf",italics:"Roboto-Italic.ttf",bolditalics:"Roboto-MediumItalic.ttf"}},pdfMake.vfs.hasOwnProperty("Mirza-Regular.ttf")?(Gt.defaultStyle.font="Mirza",t.extend(!0,pdfMake.fonts,{Mirza:{normal:"Mirza-Regular.ttf",bold:"Mirza-Bold.ttf",italics:"Mirza-Medium.ttf",bolditalics:"Mirza-SemiBold.ttf"}})):pdfMake.vfs.hasOwnProperty("gbsn00lp.ttf")?(Gt.defaultStyle.font="gbsn00lp",t.extend(!0,pdfMake.fonts,{gbsn00lp:{normal:"gbsn00lp.ttf",bold:"gbsn00lp.ttf",italics:"gbsn00lp.ttf",bolditalics:"gbsn00lp.ttf"}})):pdfMake.vfs.hasOwnProperty("ZCOOLXiaoWei-Regular.ttf")&&(Gt.defaultStyle.font="ZCOOLXiaoWei",t.extend(!0,pdfMake.fonts,{ZCOOLXiaoWei:{normal:"ZCOOLXiaoWei-Regular.ttf",bold:"ZCOOLXiaoWei-Regular.ttf",italics:"ZCOOLXiaoWei-Regular.ttf",bolditalics:"ZCOOLXiaoWei-Regular.ttf"}})),t.extend(!0,pdfMake.fonts,nt.pdfmake.fonts),pdfMake.createPdf(Gt).getBuffer((function(t){D(t,nt.fileName+".pdf","application/pdf","","",!1)})))}else if(!1===nt.jspdf.autotable){var Xt=new jspdf.jsPDF({orientation:nt.jspdf.orientation,unit:nt.jspdf.unit,format:nt.jspdf.format});Xt.html(st[0],{callback:function(){p(Xt,!1)},html2canvas:{scale:(Xt.internal.pageSize.width-2*nt.jspdf.margins.left)/st[0].scrollWidth},x:nt.jspdf.margins.left,y:nt.jspdf.margins.top})}else{var Yt=nt.jspdf.autotable.tableExport;if("string"==typeof nt.jspdf.format&&"bestfit"===nt.jspdf.format.toLowerCase()){var Kt="",Jt="",Zt=0;t(st).each((function(){if(u(t(this))){var e=P(t(this).get(0),"width","pt");if(e>Zt){for(var r in e>it.a0[0]&&(Kt="a0",Jt="l"),it)it.hasOwnProperty(r)&&it[r][1]>e&&(Kt=r,Jt="l",it[r][0]>e&&(Jt="p"));Zt=e}}})),nt.jspdf.format=""===Kt?"a4":Kt,nt.jspdf.orientation=""===Jt?"w":Jt}null==Yt.doc&&(Yt.doc=new jspdf.jsPDF(nt.jspdf.orientation,nt.jspdf.unit,nt.jspdf.format),Yt.wScaleFactor=1,Yt.hScaleFactor=1,"function"==typeof nt.jspdf.onDocCreated)&&nt.jspdf.onDocCreated(Yt.doc),at.fontName=Yt.doc.getFont().fontName,!0===Yt.outputImages&&(Yt.images={}),void 0!==Yt.images&&(t(st).filter((function(){return u(t(this))})).each((function(){var e=0;pt=[],!1===nt.exportHiddenCells&&(vt=t(this).find("tr, th, td").filter(":hidden"),gt=0<vt.length),lt=a(t(this)),ut=s(t(this)),t(ut).each((function(){h(this,"td,th",lt.length+e,lt.length+ut.length,(function(e){g(e,t(e).children(),Yt)})),e++}))})),lt=[],ut=[]),function(e,r){function n(e){if(e.url)if(e.src){var n=new Image;i=++o,n.crossOrigin="Anonymous",n.onerror=n.onload=function(){if(n.complete&&(0===n.src.indexOf("data:image/")&&(n.width=e.width||n.width||0,n.height=e.height||n.height||0),n.width+n.height)){var t=document.createElement("canvas"),a=t.getContext("2d");t.width=n.width,t.height=n.height,a.drawImage(n,0,0),e.src=t.toDataURL("image/png")}--o||r(i)},n.src=e.url}else{var a=t(e.url);a.length&&(i=++o,html2canvas(a[0]).then((function(t){e.src=t.toDataURL("image/png"),--o||r(i)})))}}var i=0,o=0;if(void 0!==e.images)for(var a in e.images)e.images.hasOwnProperty(a)&&n(e.images[a]);(e=o)||(r(i),e=void 0)}(Yt,(function(){t(st).filter((function(){return u(t(this))})).each((function(){var e;if(ft=0,pt=[],!1===nt.exportHiddenCells&&(vt=t(this).find("tr, th, td").filter(":hidden"),gt=0<vt.length),dt=l(this),Yt.columns=[],Yt.rows=[],Yt.teCells={},"function"==typeof Yt.onTable&&!1===Yt.onTable(t(this),nt))return!0;nt.jspdf.autotable.tableExport=null;var r=t.extend(!0,{},nt.jspdf.autotable);if(nt.jspdf.autotable.tableExport=Yt,r.margin={},t.extend(!0,r.margin,nt.jspdf.margins),r.tableExport=Yt,"function"!=typeof r.createdHeaderCell&&(r.createdHeaderCell=function(t,e){if(void 0!==Yt.columns[e.column.dataKey]){var n=Yt.columns[e.column.dataKey];if(void 0!==n.rect){if(t.contentWidth=n.rect.width,void 0===Yt.heightRatio||0===Yt.heightRatio){var i=e.row.raw[e.column.dataKey].rowspan?e.row.raw[e.column.dataKey].rect.height/e.row.raw[e.column.dataKey].rowspan:e.row.raw[e.column.dataKey].rect.height;Yt.heightRatio=t.styles.rowHeight/i}(i=e.row.raw[e.column.dataKey].rect.height*Yt.heightRatio)>t.styles.rowHeight&&(t.styles.rowHeight=i)}t.styles.halign="inherit"===r.headerStyles.halign?"center":r.headerStyles.halign,t.styles.valign=r.headerStyles.valign,void 0!==n.style&&!0!==n.style.hidden&&("inherit"===r.headerStyles.halign&&(t.styles.halign=n.style.align),"inherit"===r.styles.fillColor&&(t.styles.fillColor=n.style.bcolor),"inherit"===r.styles.textColor&&(t.styles.textColor=n.style.color),"inherit"===r.styles.fontStyle&&(t.styles.fontStyle=n.style.fstyle))}}),"function"!=typeof r.createdCell&&(r.createdCell=function(t,e){e=Yt.teCells[e.row.index+":"+e.column.dataKey],t.styles.halign="inherit"===r.styles.halign?"center":r.styles.halign,t.styles.valign=r.styles.valign,void 0!==e&&void 0!==e.style&&!0!==e.style.hidden&&("inherit"===r.styles.halign&&(t.styles.halign=e.style.align),"inherit"===r.styles.fillColor&&(t.styles.fillColor=e.style.bcolor),"inherit"===r.styles.textColor&&(t.styles.textColor=e.style.color),"inherit"===r.styles.fontStyle&&(t.styles.fontStyle=e.style.fstyle))}),"function"!=typeof r.drawHeaderCell&&(r.drawHeaderCell=function(t,e){var r=Yt.columns[e.column.dataKey];return(!0!==r.style.hasOwnProperty("hidden")||!0!==r.style.hidden)&&0<=r.rowIndex&&v(t,e,r)}),"function"!=typeof r.drawCell&&(r.drawCell=function(e,r){var n=Yt.teCells[r.row.index+":"+r.column.dataKey];if(!0!==(void 0!==n&&n.isCanvas))v(e,r,n)&&(Yt.doc.rect(e.x,e.y,e.width,e.height,e.styles.fillStyle),void 0===n||void 0!==n.hasUserDefText&&!0===n.hasUserDefText||void 0===n.elements||!n.elements.length?b(e,{},Yt):((r=e.height/n.rect.height)>Yt.hScaleFactor&&(Yt.hScaleFactor=r),Yt.wScaleFactor=e.width/n.rect.width,r=e.textPos.y,m(e,n.elements,Yt),e.textPos.y=r,b(e,n.elements,Yt)));else{n=n.elements[0];var i=t(n).attr("data-tableexport-canvas"),o=n.getBoundingClientRect();e.width=o.width*Yt.wScaleFactor,e.height=o.height*Yt.hScaleFactor,r.row.height=e.height,d(e,n,i,Yt)}return!1}),Yt.headerrows=[],lt=a(t(this)),t(lt).each((function(){e=0,Yt.headerrows[ft]=[],h(this,"th,td",ft,lt.length,(function(t,r,n){var i=O(t);i.title=T(t,r,n),i.key=e++,i.rowIndex=ft,Yt.headerrows[ft].push(i)})),ft++})),0<ft)for(var n=ft-1;0<=n;)t.each(Yt.headerrows[n],(function(){var t=this;0<n&&null===this.rect&&(t=Yt.headerrows[n-1][this.key]),null!==t&&0<=t.rowIndex&&(!0!==t.style.hasOwnProperty("hidden")||!0!==t.style.hidden)&&Yt.columns.push(t)})),n=0<Yt.columns.length?-1:n-1;var i=0;ut=[],ut=s(t(this)),t(ut).each((function(){var r=[];e=0,h(this,"td,th",ft,lt.length+ut.length,(function(n,o,a){if(void 0===Yt.columns[e]){var s={title:"",key:e,style:{hidden:!0}};Yt.columns.push(s)}r.push(T(n,o,a)),null!=n?((s=O(n)).isCanvas=n.hasAttribute("data-tableexport-canvas"),s.elements=s.isCanvas?t(n):t(n).children(),void 0!==t(n).data("teUserDefText")&&(s.hasUserDefText=!0)):(s=t.extend(!0,{},Yt.teCells[i+":"+(e-1)])).colspan=-1,Yt.teCells[i+":"+e++]=s})),r.length&&(Yt.rows.push(r),i++),ft++})),"function"==typeof Yt.onBeforeAutotable&&Yt.onBeforeAutotable(t(this),Yt.columns,Yt.rows,r),W(r.tableExport.doc,Yt.columns,Yt.rows,r),"function"==typeof Yt.onAfterAutotable&&Yt.onAfterAutotable(t(this),r);var o=nt.jspdf.autotable,c=void 0===Q||void 0===Q.y?0:Q.y;o.startY=c+r.margin.top})),p(Yt.doc,void 0!==Yt.images&&!1===jQuery.isEmptyObject(Yt.images)),void 0!==Yt.headerrows&&(Yt.headerrows.length=0),void 0!==Yt.columns&&(Yt.columns.length=0),void 0!==Yt.rows&&(Yt.rows.length=0),delete Yt.doc,Yt.doc=null}))}return"function"==typeof nt.onTableExportEnd&&nt.onTableExportEnd(),this};var e=function(){this.contentWidth=this.y=this.x=this.width=this.height=0,this.rows=[],this.columns=[],this.headerRow=null,this.settings={}},r=function(t){this.raw=t||{},this.index=0,this.styles={},this.cells={},this.y=this.height=0},n=function(t){this.raw=t,this.styles={},this.text="",this.contentWidth=0,this.textPos={},this.y=this.x=this.width=this.height=0},i=function(t){this.dataKey=t,this.options={},this.styles={},this.x=this.width=this.contentWidth=0}}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).jspdf={})}(this,(function(t){"use strict";var e=function(){return"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this}();function r(){e.console&&"function"==typeof e.console.log&&e.console.log.apply(e.console,arguments)}var n={log:r,warn:function(t){e.console&&("function"==typeof e.console.warn?e.console.warn.apply(e.console,arguments):r.call(null,arguments))},error:function(t){e.console&&("function"==typeof e.console.error?e.console.error.apply(e.console,arguments):r(t))}};function i(t,e,r){var i=new XMLHttpRequest;i.open("GET",t),i.responseType="blob",i.onload=function(){l(i.response,e,r)},i.onerror=function(){n.error("could not download file")},i.send()}function o(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return e.status>=200&&e.status<=299}function a(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(r){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var s,c,l=e.saveAs||("object"!=typeof window||window!==e?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(t,r,n){var s=e.URL||e.webkitURL,c=document.createElement("a");r=r||t.name||"download",c.download=r,c.rel="noopener","string"==typeof t?(c.href=t,c.origin!==location.origin?o(c.href)?i(t,r,n):a(c,c.target="_blank"):a(c)):(c.href=s.createObjectURL(t),setTimeout((function(){s.revokeObjectURL(c.href)}),4e4),setTimeout((function(){a(c)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,e,r){if(e=e||t.name||"download","string"==typeof t)if(o(t))i(t,e,r);else{var s=document.createElement("a");s.href=t,s.target="_blank",setTimeout((function(){a(s)}))}else navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:"object"!=typeof e&&(n.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t}(t,r),e)}:function(t,r,n,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof t)return i(t,r,n);var a="application/octet-stream"===t.type,s=/constructor/i.test(e.HTMLElement)||e.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||a&&s)&&"object"==typeof FileReader){var l=new FileReader;l.onloadend=function(){var t=l.result;t=c?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=t:location=t,o=null},l.readAsDataURL(t)}else{var u=e.URL||e.webkitURL,f=u.createObjectURL(t);o?o.location=f:location.href=f,o=null,setTimeout((function(){u.revokeObjectURL(f)}),4e4)}});function u(t){var e;t=t||"",this.ok=!1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var r=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],n=0;n<r.length;n++){var i=r[n].re,o=r[n].process,a=i.exec(t);a&&(e=o(a),this.r=e[0],this.g=e[1],this.b=e[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var t=this.r.toString(16),e=this.g.toString(16),r=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==r.length&&(r="0"+r),"#"+t+e+r}}function f(t,e){var r=t[0],n=t[1],i=t[2],o=t[3];r=d(r,n,i,o,e[0],7,-680876936),o=d(o,r,n,i,e[1],12,-389564586),i=d(i,o,r,n,e[2],17,606105819),n=d(n,i,o,r,e[3],22,-1044525330),r=d(r,n,i,o,e[4],7,-176418897),o=d(o,r,n,i,e[5],12,1200080426),i=d(i,o,r,n,e[6],17,-1473231341),n=d(n,i,o,r,e[7],22,-45705983),r=d(r,n,i,o,e[8],7,1770035416),o=d(o,r,n,i,e[9],12,-1958414417),i=d(i,o,r,n,e[10],17,-42063),n=d(n,i,o,r,e[11],22,-1990404162),r=d(r,n,i,o,e[12],7,1804603682),o=d(o,r,n,i,e[13],12,-40341101),i=d(i,o,r,n,e[14],17,-1502002290),r=p(r,n=d(n,i,o,r,e[15],22,1236535329),i,o,e[1],5,-165796510),o=p(o,r,n,i,e[6],9,-1069501632),i=p(i,o,r,n,e[11],14,643717713),n=p(n,i,o,r,e[0],20,-373897302),r=p(r,n,i,o,e[5],5,-701558691),o=p(o,r,n,i,e[10],9,38016083),i=p(i,o,r,n,e[15],14,-660478335),n=p(n,i,o,r,e[4],20,-405537848),r=p(r,n,i,o,e[9],5,568446438),o=p(o,r,n,i,e[14],9,-1019803690),i=p(i,o,r,n,e[3],14,-187363961),n=p(n,i,o,r,e[8],20,1163531501),r=p(r,n,i,o,e[13],5,-1444681467),o=p(o,r,n,i,e[2],9,-51403784),i=p(i,o,r,n,e[7],14,1735328473),r=v(r,n=p(n,i,o,r,e[12],20,-1926607734),i,o,e[5],4,-378558),o=v(o,r,n,i,e[8],11,-2022574463),i=v(i,o,r,n,e[11],16,1839030562),n=v(n,i,o,r,e[14],23,-35309556),r=v(r,n,i,o,e[1],4,-1530992060),o=v(o,r,n,i,e[4],11,1272893353),i=v(i,o,r,n,e[7],16,-155497632),n=v(n,i,o,r,e[10],23,-1094730640),r=v(r,n,i,o,e[13],4,681279174),o=v(o,r,n,i,e[0],11,-358537222),i=v(i,o,r,n,e[3],16,-722521979),n=v(n,i,o,r,e[6],23,76029189),r=v(r,n,i,o,e[9],4,-640364487),o=v(o,r,n,i,e[12],11,-421815835),i=v(i,o,r,n,e[15],16,530742520),r=g(r,n=v(n,i,o,r,e[2],23,-995338651),i,o,e[0],6,-198630844),o=g(o,r,n,i,e[7],10,1126891415),i=g(i,o,r,n,e[14],15,-1416354905),n=g(n,i,o,r,e[5],21,-57434055),r=g(r,n,i,o,e[12],6,1700485571),o=g(o,r,n,i,e[3],10,-1894986606),i=g(i,o,r,n,e[10],15,-1051523),n=g(n,i,o,r,e[1],21,-2054922799),r=g(r,n,i,o,e[8],6,1873313359),o=g(o,r,n,i,e[15],10,-30611744),i=g(i,o,r,n,e[6],15,-1560198380),n=g(n,i,o,r,e[13],21,1309151649),r=g(r,n,i,o,e[4],6,-145523070),o=g(o,r,n,i,e[11],10,-1120210379),i=g(i,o,r,n,e[2],15,718787259),n=g(n,i,o,r,e[9],21,-343485551),t[0]=k(r,t[0]),t[1]=k(n,t[1]),t[2]=k(i,t[2]),t[3]=k(o,t[3])}function h(t,e,r,n,i,o){return e=k(k(e,t),k(n,o)),k(e<<i|e>>>32-i,r)}function d(t,e,r,n,i,o,a){return h(e&r|~e&n,t,e,i,o,a)}function p(t,e,r,n,i,o,a){return h(e&n|r&~n,t,e,i,o,a)}function v(t,e,r,n,i,o,a){return h(e^r^n,t,e,i,o,a)}function g(t,e,r,n,i,o,a){return h(r^(e|~n),t,e,i,o,a)}function m(t){var e,r=t.length,n=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=t.length;e+=64)f(n,b(t.substring(e-64,e)));t=t.substring(e-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<t.length;e++)i[e>>2]|=t.charCodeAt(e)<<(e%4<<3);if(i[e>>2]|=128<<(e%4<<3),e>55)for(f(n,i),e=0;e<16;e++)i[e]=0;return i[14]=8*r,f(n,i),n}function b(t){var e,r=[];for(e=0;e<64;e+=4)r[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return r}s=e.atob.bind(e),c=e.btoa.bind(e);var y="0123456789abcdef".split("");function w(t){for(var e="",r=0;r<4;r++)e+=y[t>>8*r+4&15]+y[t>>8*r&15];return e}function S(t){return String.fromCharCode(255&t,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function x(t){return function(t){return t.map(S).join("")}(m(t))}function k(t,e){return t+e&4294967295}if("5d41402abc4b2a76b9719d911017c592"!=function(t){for(var e=0;e<t.length;e++)t[e]=w(t[e]);return t.join("")}(m("hello"))){}function T(t,e){var r,n,i,o;if(t!==r){for(var a=(i=t,o=1+(256/t.length|0),new Array(o+1).join(i)),s=[],c=0;c<256;c++)s[c]=c;var l=0;for(c=0;c<256;c++){var u=s[c];l=(l+u+a.charCodeAt(c))%256,s[c]=s[l],s[l]=u}r=t,n=s}else s=n;var f=e.length,h=0,d=0,p="";for(c=0;c<f;c++)d=(d+(u=s[h=(h+1)%256]))%256,s[h]=s[d],s[d]=u,a=s[(s[h]+s[d])%256],p+=String.fromCharCode(e.charCodeAt(c)^a);return p}var A={print:4,modify:8,copy:16,"annot-forms":32};function E(t,e,r,n){this.v=1,this.r=2;let i=192;t.forEach((function(t){if(void 0!==A.perm)throw new Error("Invalid permission: "+t);i+=A[t]})),this.padding="(¿N^NuAd\0NVÿú\b..\0¶Ðh>/\f©þdSiz";let o=(e+this.padding).substr(0,32),a=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,a),this.P=-(1+(255^i)),this.encryptionKey=x(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=T(this.encryptionKey,this.padding)}function _(t){if("object"!=typeof t)throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var r={};this.subscribe=function(t,e,n){if(n=n||!1,"string"!=typeof t||"function"!=typeof e||"boolean"!=typeof n)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");r.hasOwnProperty(t)||(r[t]={});var i=Math.random().toString(35);return r[t][i]=[e,!!n],i},this.unsubscribe=function(t){for(var e in r)if(r[e][t])return delete r[e][t],0===Object.keys(r[e]).length&&delete r[e],!0;return!1},this.publish=function(i){if(r.hasOwnProperty(i)){var o=Array.prototype.slice.call(arguments,1),a=[];for(var s in r[i]){var c=r[i][s];try{c[0].apply(t,o)}catch(t){e.console&&n.error("jsPDF PubSub Error",t.message,t)}c[1]&&a.push(s)}a.length&&a.forEach(this.unsubscribe)}},this.getTopics=function(){return r}}function O(t){if(!(this instanceof O))return new O(t);var e="opacity,stroke-opacity".split(",");for(var r in t)t.hasOwnProperty(r)&&e.indexOf(r)>=0&&(this[r]=t[r]);this.id="",this.objectNumber=-1}function N(t,e){this.gState=t,this.matrix=e,this.id="",this.objectNumber=-1}function C(t,e,r,n,i){if(!(this instanceof C))return new C(t,e,r,n,i);this.type="axial"===t?2:3,this.coords=e,this.colors=r,N.call(this,n,i)}function R(t,e,r,n,i){if(!(this instanceof R))return new R(t,e,r,n,i);this.boundingBox=t,this.xStep=e,this.yStep=r,this.stream="",this.cloneIndex=0,N.call(this,n,i)}function P(t){var r,i="string"==typeof arguments[0]?arguments[0]:"p",o=arguments[1],a=arguments[2],s=arguments[3],f=[],h=1,d=16,p="S",v=null;"object"==typeof(t=t||{})&&(i=t.orientation,o=t.unit||o,a=t.format||a,s=t.compress||t.compressPdf||s,null!==(v=t.encryption||null)&&(v.userPassword=v.userPassword||"",v.ownerPassword=v.ownerPassword||"",v.userPermissions=v.userPermissions||[]),h="number"==typeof t.userUnit?Math.abs(t.userUnit):1,void 0!==t.precision&&(r=t.precision),void 0!==t.floatPrecision&&(d=t.floatPrecision),p=t.defaultPathOperation||"S"),f=t.filters||(!0===s?["FlateEncode"]:f),o=o||"mm",i=(""+(i||"P")).toLowerCase();var g=t.putOnlyUsedFonts||!1,m={},b={internal:{},__private__:{}};b.__private__.PubSub=_;var y="1.3",w=b.__private__.getPdfVersion=function(){return y};b.__private__.setPdfVersion=function(t){y=t};var S={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};b.__private__.getPageFormats=function(){return S};var x=b.__private__.getPageFormat=function(t){return S[t]};a=a||"a4";var k="compat",T="advanced",A=k;function N(){this.saveGraphicsState(),ct(new Ht(kt,0,0,-kt,0,br()*kt).toString()+" cm"),this.setFontSize(this.getFontSize()/kt),p="n",A=T}function L(){this.restoreGraphicsState(),p="S",A=k}var I=function(t,e){if("bold"==t&&"normal"==e||"bold"==t&&400==e||"normal"==t&&"italic"==e||"bold"==t&&"italic"==e)throw new Error("Invalid Combination of fontweight and fontstyle");return e&&t!==e&&(t=400==e?"italic"==t?"italic":"normal":700==e&&"italic"!==t?"bold":t+""+e),t};b.advancedAPI=function(t){var e=A===k;return e&&N.call(this),"function"!=typeof t||(t(this),e&&L.call(this)),this},b.compatAPI=function(t){var e=A===T;return e&&L.call(this),"function"!=typeof t||(t(this),e&&N.call(this)),this},b.isAdvancedAPI=function(){return A===T};var F,j=function(t){if(A!==T)throw new Error(t+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},D=b.roundToPrecision=b.__private__.roundToPrecision=function(t,e){var n=r||e;if(isNaN(t)||isNaN(n))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return t.toFixed(n).replace(/0+$/,"")};F=b.hpf=b.__private__.hpf="number"==typeof d?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return D(t,d)}:"smart"===d?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return D(t,t>-1&&t<1?16:5)}:function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return D(t,16)};var M=b.f2=b.__private__.f2=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f2");return D(t,2)},B=b.__private__.f3=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f3");return D(t,3)},W=b.scale=b.__private__.scale=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.scale");return A===k?t*kt:A===T?t:void 0},U=function(t){return W(function(t){return A===k?br()-t:A===T?t:void 0}(t))};b.__private__.setPrecision=b.setPrecision=function(t){"number"==typeof parseInt(t,10)&&(r=parseInt(t,10))};var H,z="00000000000000000000000000000000",V=b.__private__.getFileId=function(){return z},q=b.__private__.setFileId=function(t){return z=void 0!==t&&/^[a-fA-F0-9]{32}$/.test(t)?t.toUpperCase():z.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==v&&(Ne=new E(v.userPermissions,v.userPassword,v.ownerPassword,z)),z};b.setFileId=function(t){return q(t),this},b.getFileId=function(){return V()};var $=b.__private__.convertDateToPDFDate=function(t){var e=t.getTimezoneOffset(),r=e<0?"+":"-",n=Math.floor(Math.abs(e/60)),i=Math.abs(e%60),o=[r,J(n),"'",J(i),"'"].join("");return["D:",t.getFullYear(),J(t.getMonth()+1),J(t.getDate()),J(t.getHours()),J(t.getMinutes()),J(t.getSeconds()),o].join("")},G=b.__private__.convertPDFDateToDate=function(t){var e=parseInt(t.substr(2,4),10),r=parseInt(t.substr(6,2),10)-1,n=parseInt(t.substr(8,2),10),i=parseInt(t.substr(10,2),10),o=parseInt(t.substr(12,2),10),a=parseInt(t.substr(14,2),10);return new Date(e,r,n,i,o,a,0)},X=b.__private__.setCreationDate=function(t){var e;if(void 0===t&&(t=new Date),t instanceof Date)e=$(t);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(t))throw new Error("Invalid argument passed to jsPDF.setCreationDate");e=t}return H=e},Y=b.__private__.getCreationDate=function(t){var e=H;return"jsDate"===t&&(e=G(H)),e};b.setCreationDate=function(t){return X(t),this},b.getCreationDate=function(t){return Y(t)};var K,J=b.__private__.padd2=function(t){return("0"+parseInt(t)).slice(-2)},Z=b.__private__.padd2Hex=function(t){return("00"+(t=t.toString())).substr(t.length)},Q=0,tt=[],et=[],rt=0,nt=[],it=[],ot=!1,at=et;b.__private__.setCustomOutputDestination=function(t){ot=!0,at=t};var st=function(t){ot||(at=t)};b.__private__.resetCustomOutputDestination=function(){ot=!1,at=et};var ct=b.__private__.out=function(t){return t=t.toString(),rt+=t.length+1,at.push(t),at},lt=b.__private__.write=function(t){return ct(1===arguments.length?t.toString():Array.prototype.join.call(arguments," "))},ut=b.__private__.getArrayBuffer=function(t){for(var e=t.length,r=new ArrayBuffer(e),n=new Uint8Array(r);e--;)n[e]=t.charCodeAt(e);return r},ft=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];b.__private__.getStandardFonts=function(){return ft};var ht=t.fontSize||16;b.__private__.setFontSize=b.setFontSize=function(t){return ht=A===T?t/kt:t,this};var dt,pt=b.__private__.getFontSize=b.getFontSize=function(){return A===k?ht:ht*kt},vt=t.R2L||!1;b.__private__.setR2L=b.setR2L=function(t){return vt=t,this},b.__private__.getR2L=b.getR2L=function(){return vt};var gt,mt=b.__private__.setZoomMode=function(t){if(/^\d*\.?\d*%$/.test(t))dt=t;else if(isNaN(t)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(t))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+t+'" is not recognized.');dt=t}else dt=parseInt(t,10)};b.__private__.getZoomMode=function(){return dt};var bt,yt=b.__private__.setPageMode=function(t){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(t))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+t+'" is not recognized.');gt=t};b.__private__.getPageMode=function(){return gt};var wt=b.__private__.setLayoutMode=function(t){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(t))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+t+'" is not recognized.');bt=t};b.__private__.getLayoutMode=function(){return bt},b.__private__.setDisplayMode=b.setDisplayMode=function(t,e,r){return mt(t),wt(e),yt(r),this};var St={title:"",subject:"",author:"",keywords:"",creator:""};b.__private__.getDocumentProperty=function(t){if(-1===Object.keys(St).indexOf(t))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return St[t]},b.__private__.getDocumentProperties=function(){return St},b.__private__.setDocumentProperties=b.setProperties=b.setDocumentProperties=function(t){for(var e in St)St.hasOwnProperty(e)&&t[e]&&(St[e]=t[e]);return this},b.__private__.setDocumentProperty=function(t,e){if(-1===Object.keys(St).indexOf(t))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return St[t]=e};var xt,kt,Tt,At,Et,_t={},Ot={},Nt=[],Ct={},Rt={},Pt={},Lt={},It=null,Ft=0,jt=[],Dt=new _(b),Mt=t.hotfixes||[],Bt={},Wt={},Ut=[],Ht=function(t,e,r,n,i,o){if(!(this instanceof Ht))return new Ht(t,e,r,n,i,o);isNaN(t)&&(t=1),isNaN(e)&&(e=0),isNaN(r)&&(r=0),isNaN(n)&&(n=1),isNaN(i)&&(i=0),isNaN(o)&&(o=0),this._matrix=[t,e,r,n,i,o]};Object.defineProperty(Ht.prototype,"sx",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Ht.prototype,"shy",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Ht.prototype,"shx",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Ht.prototype,"sy",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Ht.prototype,"tx",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Ht.prototype,"ty",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Ht.prototype,"a",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Ht.prototype,"b",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Ht.prototype,"c",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Ht.prototype,"d",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Ht.prototype,"e",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Ht.prototype,"f",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Ht.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ht.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ht.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ht.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Ht.prototype.join=function(t){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(F).join(t)},Ht.prototype.multiply=function(t){var e=t.sx*this.sx+t.shy*this.shx,r=t.sx*this.shy+t.shy*this.sy,n=t.shx*this.sx+t.sy*this.shx,i=t.shx*this.shy+t.sy*this.sy,o=t.tx*this.sx+t.ty*this.shx+this.tx,a=t.tx*this.shy+t.ty*this.sy+this.ty;return new Ht(e,r,n,i,o,a)},Ht.prototype.decompose=function(){var t=this.sx,e=this.shy,r=this.shx,n=this.sy,i=this.tx,o=this.ty,a=Math.sqrt(t*t+e*e),s=(t/=a)*r+(e/=a)*n;r-=t*s,n-=e*s;var c=Math.sqrt(r*r+n*n);return s/=c,t*(n/=c)<e*(r/=c)&&(t=-t,e=-e,s=-s,a=-a),{scale:new Ht(a,0,0,c,0,0),translate:new Ht(1,0,0,1,i,o),rotate:new Ht(t,e,-e,t,0,0),skew:new Ht(1,0,s,1,0,0)}},Ht.prototype.toString=function(t){return this.join(" ")},Ht.prototype.inversed=function(){var t=this.sx,e=this.shy,r=this.shx,n=this.sy,i=this.tx,o=this.ty,a=1/(t*n-e*r),s=n*a,c=-e*a,l=-r*a,u=t*a;return new Ht(s,c,l,u,-s*i-l*o,-c*i-u*o)},Ht.prototype.applyToPoint=function(t){var e=t.x*this.sx+t.y*this.shx+this.tx,r=t.x*this.shy+t.y*this.sy+this.ty;return new fr(e,r)},Ht.prototype.applyToRectangle=function(t){var e=this.applyToPoint(t),r=this.applyToPoint(new fr(t.x+t.w,t.y+t.h));return new hr(e.x,e.y,r.x-e.x,r.y-e.y)},Ht.prototype.clone=function(){var t=this.sx,e=this.shy,r=this.shx,n=this.sy,i=this.tx,o=this.ty;return new Ht(t,e,r,n,i,o)},b.Matrix=Ht;var zt=b.matrixMult=function(t,e){return e.multiply(t)},Vt=new Ht(1,0,0,1,0,0);b.unitMatrix=b.identityMatrix=Vt;var qt=function(t,e){if(!Rt[t]){var r=(e instanceof C?"Sh":"P")+(Object.keys(Ct).length+1).toString(10);e.id=r,Rt[t]=r,Ct[r]=e,Dt.publish("addPattern",e)}};b.ShadingPattern=C,b.TilingPattern=R,b.addShadingPattern=function(t,e){return j("addShadingPattern()"),qt(t,e),this},b.beginTilingPattern=function(t){j("beginTilingPattern()"),pr(t.boundingBox[0],t.boundingBox[1],t.boundingBox[2]-t.boundingBox[0],t.boundingBox[3]-t.boundingBox[1],t.matrix)},b.endTilingPattern=function(t,e){j("endTilingPattern()"),e.stream=it[K].join("\n"),qt(t,e),Dt.publish("endTilingPattern",e),Ut.pop().restore()};var $t=b.__private__.newObject=function(){var t=Gt();return Xt(t,!0),t},Gt=b.__private__.newObjectDeferred=function(){return Q++,tt[Q]=function(){return rt},Q},Xt=function(t,e){return e="boolean"==typeof e&&e,tt[t]=rt,e&&ct(t+" 0 obj"),t},Yt=b.__private__.newAdditionalObject=function(){var t={objId:Gt(),content:""};return nt.push(t),t},Kt=Gt(),Jt=Gt(),Zt=b.__private__.decodeColorString=function(t){var e=t.split(" ");if(2!==e.length||"g"!==e[1]&&"G"!==e[1])5!==e.length||"k"!==e[4]&&"K"!==e[4]||(e=[(1-e[0])*(1-e[3]),(1-e[1])*(1-e[3]),(1-e[2])*(1-e[3]),"r"]);else{var r=parseFloat(e[0]);e=[r,r,r,"r"]}for(var n="#",i=0;i<3;i++)n+=("0"+Math.floor(255*parseFloat(e[i])).toString(16)).slice(-2);return n},Qt=b.__private__.encodeColorString=function(t){var e;"string"==typeof t&&(t={ch1:t});var r=t.ch1,n=t.ch2,i=t.ch3,o=t.ch4,a="draw"===t.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof r&&"#"!==r.charAt(0)){var s=new u(r);if(s.ok)r=s.toHex();else if(!/^\d*\.?\d*$/.test(r))throw new Error('Invalid color "'+r+'" passed to jsPDF.encodeColorString.')}if("string"==typeof r&&/^#[0-9A-Fa-f]{3}$/.test(r)&&(r="#"+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]),"string"==typeof r&&/^#[0-9A-Fa-f]{6}$/.test(r)){var c=parseInt(r.substr(1),16);r=c>>16&255,n=c>>8&255,i=255&c}if(void 0===n||void 0===o&&r===n&&n===i)if("string"==typeof r)e=r+" "+a[0];else if(2===t.precision)e=M(r/255)+" "+a[0];else e=B(r/255)+" "+a[0];else if(void 0===o||"object"==typeof o){if(o&&!isNaN(o.a)&&0===o.a)return["1.","1.","1.",a[1]].join(" ");if("string"==typeof r)e=[r,n,i,a[1]].join(" ");else if(2===t.precision)e=[M(r/255),M(n/255),M(i/255),a[1]].join(" ");else e=[B(r/255),B(n/255),B(i/255),a[1]].join(" ")}else if("string"==typeof r)e=[r,n,i,o,a[2]].join(" ");else if(2===t.precision)e=[M(r),M(n),M(i),M(o),a[2]].join(" ");else e=[B(r),B(n),B(i),B(o),a[2]].join(" ");return e},te=b.__private__.getFilters=function(){return f},ee=b.__private__.putStream=function(t){var e=(t=t||{}).data||"",r=t.filters||te(),n=t.alreadyAppliedFilters||[],i=t.addLength1||!1,o=e.length,a=t.objectId,s=function(t){return t};if(null!==v&&void 0===a)throw new Error("ObjectId must be passed to putStream for file encryption");null!==v&&(s=Ne.encryptor(a,0));var c={};!0===r&&(r=["FlateEncode"]);var l=t.additionalKeyValues||[],u=(c=void 0!==P.API.processDataByFilters?P.API.processDataByFilters(e,r):{data:e,reverseChain:[]}).reverseChain+(Array.isArray(n)?n.join(" "):n.toString());if(0!==c.data.length&&(l.push({key:"Length",value:c.data.length}),!0===i&&l.push({key:"Length1",value:o})),0!=u.length)if(u.split("/").length-1==1)l.push({key:"Filter",value:u});else{l.push({key:"Filter",value:"["+u+"]"});for(var f=0;f<l.length;f+=1)if("DecodeParms"===l[f].key){for(var h=[],d=0;d<c.reverseChain.split("/").length-1;d+=1)h.push("null");h.push(l[f].value),l[f].value="["+h.join(" ")+"]"}}ct("<<");for(var p=0;p<l.length;p++)ct("/"+l[p].key+" "+l[p].value);ct(">>"),0!==c.data.length&&(ct("stream"),ct(s(c.data)),ct("endstream"))},re=b.__private__.putPage=function(t){var e=t.number,r=t.data,n=t.objId,i=t.contentsObjId;Xt(n,!0),ct("<</Type /Page"),ct("/Parent "+t.rootDictionaryObjId+" 0 R"),ct("/Resources "+t.resourceDictionaryObjId+" 0 R"),ct("/MediaBox ["+parseFloat(F(t.mediaBox.bottomLeftX))+" "+parseFloat(F(t.mediaBox.bottomLeftY))+" "+F(t.mediaBox.topRightX)+" "+F(t.mediaBox.topRightY)+"]"),null!==t.cropBox&&ct("/CropBox ["+F(t.cropBox.bottomLeftX)+" "+F(t.cropBox.bottomLeftY)+" "+F(t.cropBox.topRightX)+" "+F(t.cropBox.topRightY)+"]"),null!==t.bleedBox&&ct("/BleedBox ["+F(t.bleedBox.bottomLeftX)+" "+F(t.bleedBox.bottomLeftY)+" "+F(t.bleedBox.topRightX)+" "+F(t.bleedBox.topRightY)+"]"),null!==t.trimBox&&ct("/TrimBox ["+F(t.trimBox.bottomLeftX)+" "+F(t.trimBox.bottomLeftY)+" "+F(t.trimBox.topRightX)+" "+F(t.trimBox.topRightY)+"]"),null!==t.artBox&&ct("/ArtBox ["+F(t.artBox.bottomLeftX)+" "+F(t.artBox.bottomLeftY)+" "+F(t.artBox.topRightX)+" "+F(t.artBox.topRightY)+"]"),"number"==typeof t.userUnit&&1!==t.userUnit&&ct("/UserUnit "+t.userUnit),Dt.publish("putPage",{objId:n,pageContext:jt[e],pageNumber:e,page:r}),ct("/Contents "+i+" 0 R"),ct(">>"),ct("endobj");var o=r.join("\n");return A===T&&(o+="\nQ"),Xt(i,!0),ee({data:o,filters:te(),objectId:i}),ct("endobj"),n},ne=b.__private__.putPages=function(){var t,e,r=[];for(t=1;t<=Ft;t++)jt[t].objId=Gt(),jt[t].contentsObjId=Gt();for(t=1;t<=Ft;t++)r.push(re({number:t,data:it[t],objId:jt[t].objId,contentsObjId:jt[t].contentsObjId,mediaBox:jt[t].mediaBox,cropBox:jt[t].cropBox,bleedBox:jt[t].bleedBox,trimBox:jt[t].trimBox,artBox:jt[t].artBox,userUnit:jt[t].userUnit,rootDictionaryObjId:Kt,resourceDictionaryObjId:Jt}));Xt(Kt,!0),ct("<</Type /Pages");var n="/Kids [";for(e=0;e<Ft;e++)n+=r[e]+" 0 R ";ct(n+"]"),ct("/Count "+Ft),ct(">>"),ct("endobj"),Dt.publish("postPutPages")},ie=function(t){var e=function(t,e){return-1!==t.indexOf(" ")?"("+de(t,e)+")":de(t,e)};Dt.publish("putFont",{font:t,out:ct,newObject:$t,putStream:ee,pdfEscapeWithNeededParanthesis:e}),!0!==t.isAlreadyPutted&&(t.objectNumber=$t(),ct("<<"),ct("/Type /Font"),ct("/BaseFont /"+e(t.postScriptName)),ct("/Subtype /Type1"),"string"==typeof t.encoding&&ct("/Encoding /"+t.encoding),ct("/FirstChar 32"),ct("/LastChar 255"),ct(">>"),ct("endobj"))},oe=function(t){t.objectNumber=$t();var e=[];e.push({key:"Type",value:"/XObject"}),e.push({key:"Subtype",value:"/Form"}),e.push({key:"BBox",value:"["+[F(t.x),F(t.y),F(t.x+t.width),F(t.y+t.height)].join(" ")+"]"}),e.push({key:"Matrix",value:"["+t.matrix.toString()+"]"});var r=t.pages[1].join("\n");ee({data:r,additionalKeyValues:e,objectId:t.objectNumber}),ct("endobj")},ae=function(t,e){e||(e=21);var r=$t(),n=function(t,e){var r,n=[],i=1/(e-1);for(r=0;r<1;r+=i)n.push(r);if(n.push(1),0!=t[0].offset){var o={offset:0,color:t[0].color};t.unshift(o)}if(1!=t[t.length-1].offset){var a={offset:1,color:t[t.length-1].color};t.push(a)}for(var s="",c=0,l=0;l<n.length;l++){for(r=n[l];r>t[c+1].offset;)c++;var u=t[c].offset,f=(r-u)/(t[c+1].offset-u),h=t[c].color,d=t[c+1].color;s+=Z(Math.round((1-f)*h[0]+f*d[0]).toString(16))+Z(Math.round((1-f)*h[1]+f*d[1]).toString(16))+Z(Math.round((1-f)*h[2]+f*d[2]).toString(16))}return s.trim()}(t.colors,e),i=[];i.push({key:"FunctionType",value:"0"}),i.push({key:"Domain",value:"[0.0 1.0]"}),i.push({key:"Size",value:"["+e+"]"}),i.push({key:"BitsPerSample",value:"8"}),i.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),i.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ee({data:n,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:r}),ct("endobj"),t.objectNumber=$t(),ct("<< /ShadingType "+t.type),ct("/ColorSpace /DeviceRGB");var o="/Coords ["+F(parseFloat(t.coords[0]))+" "+F(parseFloat(t.coords[1]))+" ";2===t.type?o+=F(parseFloat(t.coords[2]))+" "+F(parseFloat(t.coords[3])):o+=F(parseFloat(t.coords[2]))+" "+F(parseFloat(t.coords[3]))+" "+F(parseFloat(t.coords[4]))+" "+F(parseFloat(t.coords[5])),ct(o+="]"),t.matrix&&ct("/Matrix ["+t.matrix.toString()+"]"),ct("/Function "+r+" 0 R"),ct("/Extend [true true]"),ct(">>"),ct("endobj")},se=function(t,e){var r=Gt(),n=$t();e.push({resourcesOid:r,objectOid:n}),t.objectNumber=n;var i=[];i.push({key:"Type",value:"/Pattern"}),i.push({key:"PatternType",value:"1"}),i.push({key:"PaintType",value:"1"}),i.push({key:"TilingType",value:"1"}),i.push({key:"BBox",value:"["+t.boundingBox.map(F).join(" ")+"]"}),i.push({key:"XStep",value:F(t.xStep)}),i.push({key:"YStep",value:F(t.yStep)}),i.push({key:"Resources",value:r+" 0 R"}),t.matrix&&i.push({key:"Matrix",value:"["+t.matrix.toString()+"]"}),ee({data:t.stream,additionalKeyValues:i,objectId:t.objectNumber}),ct("endobj")},ce=function(t){for(var e in t.objectNumber=$t(),ct("<<"),t)switch(e){case"opacity":ct("/ca "+M(t[e]));break;case"stroke-opacity":ct("/CA "+M(t[e]))}ct(">>"),ct("endobj")},le=function(t){Xt(t.resourcesOid,!0),ct("<<"),ct("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var t in ct("/Font <<"),_t)_t.hasOwnProperty(t)&&(!1===g||!0===g&&m.hasOwnProperty(t))&&ct("/"+t+" "+_t[t].objectNumber+" 0 R");ct(">>")}(),function(){if(Object.keys(Ct).length>0){for(var t in ct("/Shading <<"),Ct)Ct.hasOwnProperty(t)&&Ct[t]instanceof C&&Ct[t].objectNumber>=0&&ct("/"+t+" "+Ct[t].objectNumber+" 0 R");Dt.publish("putShadingPatternDict"),ct(">>")}}(),function(t){if(Object.keys(Ct).length>0){for(var e in ct("/Pattern <<"),Ct)Ct.hasOwnProperty(e)&&Ct[e]instanceof b.TilingPattern&&Ct[e].objectNumber>=0&&Ct[e].objectNumber<t&&ct("/"+e+" "+Ct[e].objectNumber+" 0 R");Dt.publish("putTilingPatternDict"),ct(">>")}}(t.objectOid),function(){if(Object.keys(Pt).length>0){var t;for(t in ct("/ExtGState <<"),Pt)Pt.hasOwnProperty(t)&&Pt[t].objectNumber>=0&&ct("/"+t+" "+Pt[t].objectNumber+" 0 R");Dt.publish("putGStateDict"),ct(">>")}}(),function(){for(var t in ct("/XObject <<"),Bt)Bt.hasOwnProperty(t)&&Bt[t].objectNumber>=0&&ct("/"+t+" "+Bt[t].objectNumber+" 0 R");Dt.publish("putXobjectDict"),ct(">>")}(),ct(">>"),ct("endobj")},ue=function(){var t=[];(function(){for(var t in _t)_t.hasOwnProperty(t)&&(!1===g||!0===g&&m.hasOwnProperty(t))&&ie(_t[t])})(),function(){var t;for(t in Pt)Pt.hasOwnProperty(t)&&ce(Pt[t])}(),function(){for(var t in Bt)Bt.hasOwnProperty(t)&&oe(Bt[t])}(),function(t){var e;for(e in Ct)Ct.hasOwnProperty(e)&&(Ct[e]instanceof C?ae(Ct[e]):Ct[e]instanceof R&&se(Ct[e],t))}(t),Dt.publish("putResources"),t.forEach(le),le({resourcesOid:Jt,objectOid:Number.MAX_SAFE_INTEGER}),Dt.publish("postPutResources")},fe=function(t){Ot[t.fontName]=Ot[t.fontName]||{},Ot[t.fontName][t.fontStyle]=t.id},he=function(t,e,r,n,i){var o={id:"F"+(Object.keys(_t).length+1).toString(10),postScriptName:t,fontName:e,fontStyle:r,encoding:n,isStandardFont:i||!1,metadata:{}};return Dt.publish("addFont",{font:o,instance:this}),_t[o.id]=o,fe(o),o.id},de=b.__private__.pdfEscape=b.pdfEscape=function(t,e){return function(t,e){var r,n,i,o,a,s,c,l,u;if(i=(e=e||{}).sourceEncoding||"Unicode",a=e.outputEncoding,(e.autoencode||a)&&_t[xt].metadata&&_t[xt].metadata[i]&&_t[xt].metadata[i].encoding&&(o=_t[xt].metadata[i].encoding,!a&&_t[xt].encoding&&(a=_t[xt].encoding),!a&&o.codePages&&(a=o.codePages[0]),"string"==typeof a&&(a=o[a]),a)){for(c=!1,s=[],r=0,n=t.length;r<n;r++)(l=a[t.charCodeAt(r)])?s.push(String.fromCharCode(l)):s.push(t[r]),s[r].charCodeAt(0)>>8&&(c=!0);t=s.join("")}for(r=t.length;void 0===c&&0!==r;)t.charCodeAt(r-1)>>8&&(c=!0),r--;if(!c)return t;for(s=e.noBOM?[]:[254,255],r=0,n=t.length;r<n;r++){if((u=(l=t.charCodeAt(r))>>8)>>8)throw new Error("Character at position "+r+" of string '"+t+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(u),s.push(l-(u<<8))}return String.fromCharCode.apply(void 0,s)}(t,e).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},pe=b.__private__.beginPage=function(t){it[++Ft]=[],jt[Ft]={objId:0,contentsObjId:0,userUnit:Number(h),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(t[0]),topRightY:Number(t[1])}},me(Ft),st(it[K])},ve=function(t,e){var r,o,s;switch(i=e||i,"string"==typeof t&&(r=x(t.toLowerCase()),Array.isArray(r)&&(o=r[0],s=r[1])),Array.isArray(t)&&(o=t[0]*kt,s=t[1]*kt),isNaN(o)&&(o=a[0],s=a[1]),(o>14400||s>14400)&&(n.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),o=Math.min(14400,o),s=Math.min(14400,s)),a=[o,s],i.substr(0,1)){case"l":s>o&&(a=[s,o]);break;case"p":o>s&&(a=[s,o])}pe(a),Xe(Ge),ct(rr),0!==cr&&ct(cr+" J"),0!==lr&&ct(lr+" j"),Dt.publish("addPage",{pageNumber:Ft})},ge=function(t){t>0&&t<=Ft&&(it.splice(t,1),jt.splice(t,1),Ft--,K>Ft&&(K=Ft),this.setPage(K))},me=function(t){t>0&&t<=Ft&&(K=t)},be=b.__private__.getNumberOfPages=b.getNumberOfPages=function(){return it.length-1},ye=function(t,e,r){var i,o=void 0;return r=r||{},t=void 0!==t?t:_t[xt].fontName,e=void 0!==e?e:_t[xt].fontStyle,i=t.toLowerCase(),void 0!==Ot[i]&&void 0!==Ot[i][e]?o=Ot[i][e]:void 0!==Ot[t]&&void 0!==Ot[t][e]?o=Ot[t][e]:!1===r.disableWarning&&n.warn("Unable to look up font label for font '"+t+"', '"+e+"'. Refer to getFontList() for available fonts."),o||r.noFallback||null==(o=Ot.times[e])&&(o=Ot.times.normal),o},we=b.__private__.putInfo=function(){var t=$t(),e=function(t){return t};for(var r in null!==v&&(e=Ne.encryptor(t,0)),ct("<<"),ct("/Producer ("+de(e("jsPDF "+P.version))+")"),St)St.hasOwnProperty(r)&&St[r]&&ct("/"+r.substr(0,1).toUpperCase()+r.substr(1)+" ("+de(e(St[r]))+")");ct("/CreationDate ("+de(e(H))+")"),ct(">>"),ct("endobj")},Se=b.__private__.putCatalog=function(t){var e=(t=t||{}).rootDictionaryObjId||Kt;switch($t(),ct("<<"),ct("/Type /Catalog"),ct("/Pages "+e+" 0 R"),dt||(dt="fullwidth"),dt){case"fullwidth":ct("/OpenAction [3 0 R /FitH null]");break;case"fullheight":ct("/OpenAction [3 0 R /FitV null]");break;case"fullpage":ct("/OpenAction [3 0 R /Fit]");break;case"original":ct("/OpenAction [3 0 R /XYZ null null 1]");break;default:var r=""+dt;"%"===r.substr(r.length-1)&&(dt=parseInt(dt)/100),"number"==typeof dt&&ct("/OpenAction [3 0 R /XYZ null null "+M(dt)+"]")}switch(bt||(bt="continuous"),bt){case"continuous":ct("/PageLayout /OneColumn");break;case"single":ct("/PageLayout /SinglePage");break;case"two":case"twoleft":ct("/PageLayout /TwoColumnLeft");break;case"tworight":ct("/PageLayout /TwoColumnRight")}gt&&ct("/PageMode /"+gt),Dt.publish("putCatalog"),ct(">>"),ct("endobj")},xe=b.__private__.putTrailer=function(){ct("trailer"),ct("<<"),ct("/Size "+(Q+1)),ct("/Root "+Q+" 0 R"),ct("/Info "+(Q-1)+" 0 R"),null!==v&&ct("/Encrypt "+Ne.oid+" 0 R"),ct("/ID [ <"+z+"> <"+z+"> ]"),ct(">>")},ke=b.__private__.putHeader=function(){ct("%PDF-"+y),ct("%ºß¬à")},Te=b.__private__.putXRef=function(){var t="0000000000";ct("xref"),ct("0 "+(Q+1)),ct("0000000000 65535 f ");for(var e=1;e<=Q;e++)"function"==typeof tt[e]?ct((t+tt[e]()).slice(-10)+" 00000 n "):void 0!==tt[e]?ct((t+tt[e]).slice(-10)+" 00000 n "):ct("0000000000 00000 n ")},Ae=b.__private__.buildDocument=function(){Q=0,rt=0,et=[],tt=[],nt=[],Kt=Gt(),Jt=Gt(),st(et),Dt.publish("buildDocument"),ke(),ne(),function(){Dt.publish("putAdditionalObjects");for(var t=0;t<nt.length;t++){var e=nt[t];Xt(e.objId,!0),ct(e.content),ct("endobj")}Dt.publish("postPutAdditionalObjects")}(),ue(),null!==v&&(Ne.oid=$t(),ct("<<"),ct("/Filter /Standard"),ct("/V "+Ne.v),ct("/R "+Ne.r),ct("/U <"+Ne.toHexString(Ne.U)+">"),ct("/O <"+Ne.toHexString(Ne.O)+">"),ct("/P "+Ne.P),ct(">>"),ct("endobj")),we(),Se();var t=rt;return Te(),xe(),ct("startxref"),ct(""+t),ct("%%EOF"),st(it[K]),et.join("\n")},Ee=b.__private__.getBlob=function(t){return new Blob([ut(t)],{type:"application/pdf"})},_e=b.output=b.__private__.output=function(t){return t.foo=function(){try{return t.apply(this,arguments)}catch(t){var r=t.stack||"";~r.indexOf(" at ")&&(r=r.split(" at ")[1]);var n="Error in function "+r.split("\n")[0].split("<")[0]+": "+t.message;if(!e.console)throw new Error(n);e.console.error(n,t),e.alert&&alert(n)}},t.foo.bar=t,t.foo}((function(t,r){switch("string"==typeof(r=r||{})?r={filename:r}:r.filename=r.filename||"generated.pdf",t){case void 0:return Ae();case"save":b.save(r.filename);break;case"arraybuffer":return ut(Ae());case"blob":return Ee(Ae());case"bloburi":case"bloburl":if(void 0!==e.URL&&"function"==typeof e.URL.createObjectURL)return e.URL&&e.URL.createObjectURL(Ee(Ae()))||void 0;n.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var i="",o=Ae();try{i=c(o)}catch(t){i=c(unescape(encodeURIComponent(o)))}return"data:application/pdf;filename="+r.filename+";base64,"+i;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(e)){var a='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+(r.pdfObjectUrl||"https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js")+'"><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(r)+");<\/script></body></html>",s=e.open();return null!==s&&s.document.write(a),s}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(e)){var l='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(r.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+r.filename+'" width="500px" height="400px" /></body></html>',u=e.open();if(null!==u){u.document.write(l);var f=this;u.document.documentElement.querySelector("#pdfViewer").onload=function(){u.document.title=r.filename,u.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(f.output("bloburl"))}}return u}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(e))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var h='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",r)+'"></iframe></body></html>',d=e.open();if(null!==d&&(d.document.write(h),d.document.title=r.filename),d||"undefined"==typeof safari)return d;break;case"datauri":case"dataurl":return e.document.location.href=this.output("datauristring",r);default:return null}})),Oe=function(t){return!0===Array.isArray(Mt)&&Mt.indexOf(t)>-1};switch(o){case"pt":kt=1;break;case"mm":kt=72/25.4;break;case"cm":kt=72/2.54;break;case"in":kt=72;break;case"px":kt=1==Oe("px_scaling")?.75:96/72;break;case"pc":case"em":kt=12;break;case"ex":kt=6;break;default:throw new Error("Invalid unit: "+o)}var Ne=null;X(),q();var Ce=b.__private__.getPageInfo=b.getPageInfo=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:jt[t].objId,pageNumber:t,pageContext:jt[t]}},Re=b.__private__.getPageInfoByObjId=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var e in jt)if(jt[e].objId===t)break;return Ce(e)},Pe=b.__private__.getCurrentPageInfo=b.getCurrentPageInfo=function(){return{objId:jt[K].objId,pageNumber:K,pageContext:jt[K]}};b.addPage=function(){return ve.apply(this,arguments),this},b.setPage=function(){return me.apply(this,arguments),st.call(this,it[K]),this},b.insertPage=function(t){return this.addPage(),this.movePage(K,t),this},b.movePage=function(t,e){var r,n;if(t>e){r=it[t],n=jt[t];for(var i=t;i>e;i--)it[i]=it[i-1],jt[i]=jt[i-1];it[e]=r,jt[e]=n,this.setPage(e)}else if(t<e){r=it[t],n=jt[t];for(var o=t;o<e;o++)it[o]=it[o+1],jt[o]=jt[o+1];it[e]=r,jt[e]=n,this.setPage(e)}return this},b.deletePage=function(){return ge.apply(this,arguments),this},b.__private__.text=b.text=function(t,e,r,n,i){var o,a,s,c,l,u,f,h,d=(n=n||{}).scope||this;if("number"==typeof t&&"number"==typeof e&&("string"==typeof r||Array.isArray(r))){var p=r;r=e,e=t,t=p}if(arguments[3]instanceof Ht==0?(s=arguments[4],c=arguments[5],"object"==typeof(f=arguments[3])&&null!==f||("string"==typeof s&&(c=s,s=null),"string"==typeof f&&(c=f,f=null),"number"==typeof f&&(s=f,f=null),n={flags:f,angle:s,align:c})):(j("The transform parameter of text() with a Matrix value"),h=i),isNaN(e)||isNaN(r)||null==t)throw new Error("Invalid arguments passed to jsPDF.text");if(0===t.length)return d;var v,g="",b="number"==typeof n.lineHeightFactor?n.lineHeightFactor:$e,y=d.internal.scaleFactor;function w(t){return t=t.split("\t").join(Array(n.TabLen||9).join(" ")),de(t,f)}function S(t){for(var e,r=t.concat(),n=[],i=r.length;i--;)"string"==typeof(e=r.shift())?n.push(e):Array.isArray(t)&&(1===e.length||void 0===e[1]&&void 0===e[2])?n.push(e[0]):n.push([e[0],e[1],e[2]]);return n}function x(t,e){var r;if("string"==typeof t)r=e(t)[0];else if(Array.isArray(t)){for(var n,i,o=t.concat(),a=[],s=o.length;s--;)"string"==typeof(n=o.shift())?a.push(e(n)[0]):Array.isArray(n)&&"string"==typeof n[0]&&(i=e(n[0],n[1],n[2]),a.push([i[0],i[1],i[2]]));r=a}return r}var k=!1,E=!0;if("string"==typeof t)k=!0;else if(Array.isArray(t)){var _=t.concat();a=[];for(var O,N=_.length;N--;)("string"!=typeof(O=_.shift())||Array.isArray(O)&&"string"!=typeof O[0])&&(E=!1);k=E}if(!1===k)throw new Error('Type of text must be string or Array. "'+t+'" is not recognized.');"string"==typeof t&&(t=t.match(/[\r?\n]/)?t.split(/\r\n|\r|\n/g):[t]);var C=ht/d.internal.scaleFactor,R=C*($e-1);switch(n.baseline){case"bottom":r-=R;break;case"top":r+=C-R;break;case"hanging":r+=C-2*R;break;case"middle":r+=C/2-R}if((u=n.maxWidth||0)>0&&("string"==typeof t?t=d.splitTextToSize(t,u):"[object Array]"===Object.prototype.toString.call(t)&&(t=t.reduce((function(t,e){return t.concat(d.splitTextToSize(e,u))}),[]))),o={text:t,x:e,y:r,options:n,mutex:{pdfEscape:de,activeFontKey:xt,fonts:_t,activeFontSize:ht}},Dt.publish("preProcessText",o),t=o.text,s=(n=o.options).angle,h instanceof Ht==0&&s&&"number"==typeof s){s*=Math.PI/180,0===n.rotationDirection&&(s=-s),A===T&&(s=-s);var P=Math.cos(s),L=Math.sin(s);h=new Ht(P,L,-L,P,0,0)}else s&&s instanceof Ht&&(h=s);A!==T||h||(h=Vt),void 0!==(l=n.charSpace||ar)&&(g+=F(W(l))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),n.lang;var I=-1,D=void 0!==n.renderingMode?n.renderingMode:n.stroke,M=d.internal.getCurrentPageInfo().pageContext;switch(D){case 0:case!1:case"fill":I=0;break;case 1:case!0:case"stroke":I=1;break;case 2:case"fillThenStroke":I=2;break;case 3:case"invisible":I=3;break;case 4:case"fillAndAddForClipping":I=4;break;case 5:case"strokeAndAddPathForClipping":I=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":I=6;break;case 7:case"addToPathForClipping":I=7}var B=void 0!==M.usedRenderingMode?M.usedRenderingMode:-1;-1!==I?g+=I+" Tr\n":-1!==B&&(g+="0 Tr\n"),-1!==I&&(M.usedRenderingMode=I),c=n.align||"left";var U,H=ht*b,z=d.internal.pageSize.getWidth(),V=_t[xt];l=n.charSpace||ar,u=n.maxWidth||0,f=Object.assign({autoencode:!0,noBOM:!0},n.flags);var q=[];if("[object Array]"===Object.prototype.toString.call(t)){var $;a=S(t),"left"!==c&&(U=a.map((function(t){return d.getStringUnitWidth(t,{font:V,charSpace:l,fontSize:ht,doKerning:!1})*ht/y})));var G,X=0;if("right"===c){e-=U[0],t=[],N=a.length;for(var Y=0;Y<N;Y++)0===Y?(G=Ze(e),$=Qe(r)):(G=W(X-U[Y]),$=-H),t.push([a[Y],G,$]),X=U[Y]}else if("center"===c){e-=U[0]/2,t=[],N=a.length;for(var K=0;K<N;K++)0===K?(G=Ze(e),$=Qe(r)):(G=W((X-U[K])/2),$=-H),t.push([a[K],G,$]),X=U[K]}else if("left"===c){t=[],N=a.length;for(var J=0;J<N;J++)t.push(a[J])}else{if("justify"!==c)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');t=[],N=a.length,u=0!==u?u:z;for(var Z=0;Z<N;Z++)$=0===Z?Qe(r):-H,G=0===Z?Ze(e):0,Z<N-1&&q.push(F(W((u-U[Z])/(a[Z].split(" ").length-1)))),t.push([a[Z],G,$])}}!0===("boolean"==typeof n.R2L?n.R2L:vt)&&(t=x(t,(function(t,e,r){return[t.split("").reverse().join(""),e,r]}))),o={text:t,x:e,y:r,options:n,mutex:{pdfEscape:de,activeFontKey:xt,fonts:_t,activeFontSize:ht}},Dt.publish("postProcessText",o),t=o.text,v=o.mutex.isHex||!1;var Q=_t[xt].encoding;"WinAnsiEncoding"!==Q&&"StandardEncoding"!==Q||(t=x(t,(function(t,e,r){return[w(t),e,r]}))),a=S(t),t=[];for(var tt,et,rt,nt=Array.isArray(a[0])?1:0,it="",ot=function(t,e,r){var i="";return r instanceof Ht?(r="number"==typeof n.angle?zt(r,new Ht(1,0,0,1,t,e)):zt(new Ht(1,0,0,1,t,e),r),A===T&&(r=zt(new Ht(1,0,0,-1,0,0),r)),i=r.join(" ")+" Tm\n"):i=F(t)+" "+F(e)+" Td\n",i},at=0;at<a.length;at++){switch(it="",nt){case 1:rt=(v?"<":"(")+a[at][0]+(v?">":")"),tt=parseFloat(a[at][1]),et=parseFloat(a[at][2]);break;case 0:rt=(v?"<":"(")+a[at]+(v?">":")"),tt=Ze(e),et=Qe(r)}void 0!==q&&void 0!==q[at]&&(it=q[at]+" Tw\n"),0===at?t.push(it+ot(tt,et,h)+rt):0===nt?t.push(it+rt):1===nt&&t.push(it+ot(tt,et,h)+rt)}t=0===nt?t.join(" Tj\nT* "):t.join(" Tj\n"),t+=" Tj\n";var st="BT\n/";return st+=xt+" "+ht+" Tf\n",st+=F(ht*b)+" TL\n",st+=ir+"\n",st+=g,st+=t,ct(st+="ET"),m[xt]=!0,d};var Le=b.__private__.clip=b.clip=function(t){return ct("evenodd"===t?"W*":"W"),this};b.clipEvenOdd=function(){return Le("evenodd")},b.__private__.discardPath=b.discardPath=function(){return ct("n"),this};var Ie=b.__private__.isValidStyle=function(t){var e=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(t)&&(e=!0),e};b.__private__.setDefaultPathOperation=b.setDefaultPathOperation=function(t){return Ie(t)&&(p=t),this};var Fe=b.__private__.getStyle=b.getStyle=function(t){var e=p;switch(t){case"D":case"S":e="S";break;case"F":e="f";break;case"FD":case"DF":e="B";break;case"f":case"f*":case"B":case"B*":e=t}return e},je=b.close=function(){return ct("h"),this};b.stroke=function(){return ct("S"),this},b.fill=function(t){return De("f",t),this},b.fillEvenOdd=function(t){return De("f*",t),this},b.fillStroke=function(t){return De("B",t),this},b.fillStrokeEvenOdd=function(t){return De("B*",t),this};var De=function(t,e){"object"==typeof e?We(e,t):ct(t)},Me=function(t){null===t||A===T&&void 0===t||(t=Fe(t),ct(t))};function Be(t,e,r,n,i){var o=new R(e||this.boundingBox,r||this.xStep,n||this.yStep,this.gState,i||this.matrix);o.stream=this.stream;var a=t+"$$"+this.cloneIndex+++"$$";return qt(a,o),o}var We=function(t,e){var r=Rt[t.key],n=Ct[r];if(n instanceof C)ct("q"),ct(Ue(e)),n.gState&&b.setGState(n.gState),ct(t.matrix.toString()+" cm"),ct("/"+r+" sh"),ct("Q");else if(n instanceof R){var i=new Ht(1,0,0,-1,0,br());t.matrix&&(i=i.multiply(t.matrix||Vt),r=Be.call(n,t.key,t.boundingBox,t.xStep,t.yStep,i).id),ct("q"),ct("/Pattern cs"),ct("/"+r+" scn"),n.gState&&b.setGState(n.gState),ct(e),ct("Q")}},Ue=function(t){switch(t){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},He=b.moveTo=function(t,e){return ct(F(W(t))+" "+F(U(e))+" m"),this},ze=b.lineTo=function(t,e){return ct(F(W(t))+" "+F(U(e))+" l"),this},Ve=b.curveTo=function(t,e,r,n,i,o){return ct([F(W(t)),F(U(e)),F(W(r)),F(U(n)),F(W(i)),F(U(o)),"c"].join(" ")),this};b.__private__.line=b.line=function(t,e,r,n,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||!Ie(i))throw new Error("Invalid arguments passed to jsPDF.line");return A===k?this.lines([[r-t,n-e]],t,e,[1,1],i||"S"):this.lines([[r-t,n-e]],t,e,[1,1]).stroke()},b.__private__.lines=b.lines=function(t,e,r,n,i,o){var a,s,c,l,u,f,h,d,p,v,g,m;if("number"==typeof t&&(m=r,r=e,e=t,t=m),n=n||[1,1],o=o||!1,isNaN(e)||isNaN(r)||!Array.isArray(t)||!Array.isArray(n)||!Ie(i)||"boolean"!=typeof o)throw new Error("Invalid arguments passed to jsPDF.lines");for(He(e,r),a=n[0],s=n[1],l=t.length,v=e,g=r,c=0;c<l;c++)2===(u=t[c]).length?(v=u[0]*a+v,g=u[1]*s+g,ze(v,g)):(f=u[0]*a+v,h=u[1]*s+g,d=u[2]*a+v,p=u[3]*s+g,v=u[4]*a+v,g=u[5]*s+g,Ve(f,h,d,p,v,g));return o&&je(),Me(i),this},b.path=function(t){for(var e=0;e<t.length;e++){var r=t[e],n=r.c;switch(r.op){case"m":He(n[0],n[1]);break;case"l":ze(n[0],n[1]);break;case"c":Ve.apply(this,n);break;case"h":je()}}return this},b.__private__.rect=b.rect=function(t,e,r,n,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||!Ie(i))throw new Error("Invalid arguments passed to jsPDF.rect");return A===k&&(n=-n),ct([F(W(t)),F(U(e)),F(W(r)),F(W(n)),"re"].join(" ")),Me(i),this},b.__private__.triangle=b.triangle=function(t,e,r,n,i,o,a){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i)||isNaN(o)||!Ie(a))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[r-t,n-e],[i-r,o-n],[t-i,e-o]],t,e,[1,1],a,!0),this},b.__private__.roundedRect=b.roundedRect=function(t,e,r,n,i,o,a){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i)||isNaN(o)||!Ie(a))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return i=Math.min(i,.5*r),o=Math.min(o,.5*n),this.lines([[r-2*i,0],[i*s,0,i,o-o*s,i,o],[0,n-2*o],[0,o*s,-i*s,o,-i,o],[2*i-r,0],[-i*s,0,-i,-o*s,-i,-o],[0,2*o-n],[0,-o*s,i*s,-o,i,-o]],t+i,e,[1,1],a,!0),this},b.__private__.ellipse=b.ellipse=function(t,e,r,n,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||!Ie(i))throw new Error("Invalid arguments passed to jsPDF.ellipse");var o=4/3*(Math.SQRT2-1)*r,a=4/3*(Math.SQRT2-1)*n;return He(t+r,e),Ve(t+r,e-a,t+o,e-n,t,e-n),Ve(t-o,e-n,t-r,e-a,t-r,e),Ve(t-r,e+a,t-o,e+n,t,e+n),Ve(t+o,e+n,t+r,e+a,t+r,e),Me(i),this},b.__private__.circle=b.circle=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||!Ie(n))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(t,e,r,r,n)},b.setFont=function(t,e,r){return r&&(e=I(e,r)),xt=ye(t,e,{disableWarning:!1}),this};var qe=b.__private__.getFont=b.getFont=function(){return _t[ye.apply(b,arguments)]};b.__private__.getFontList=b.getFontList=function(){var t,e,r={};for(t in Ot)if(Ot.hasOwnProperty(t))for(e in r[t]=[],Ot[t])Ot[t].hasOwnProperty(e)&&r[t].push(e);return r},b.addFont=function(t,e,r,n,i){var o=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==o.indexOf(arguments[3])?i=arguments[3]:arguments[3]&&-1==o.indexOf(arguments[3])&&(r=I(r,n)),he.call(this,t,e,r,i=i||"Identity-H")};var $e,Ge=t.lineWidth||.200025,Xe=b.__private__.setLineWidth=b.setLineWidth=function(t){return ct(F(W(t))+" w"),this};b.__private__.setLineDash=P.API.setLineDash=P.API.setLineDashPattern=function(t,e){if(t=t||[],e=e||0,isNaN(e)||!Array.isArray(t))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return t=t.map((function(t){return F(W(t))})).join(" "),e=F(W(e)),ct("["+t+"] "+e+" d"),this};var Ye=b.__private__.getLineHeight=b.getLineHeight=function(){return ht*$e};b.__private__.getLineHeight=b.getLineHeight=function(){return ht*$e};var Ke=b.__private__.setLineHeightFactor=b.setLineHeightFactor=function(t){return"number"==typeof(t=t||1.15)&&($e=t),this},Je=b.__private__.getLineHeightFactor=b.getLineHeightFactor=function(){return $e};Ke(t.lineHeight);var Ze=b.__private__.getHorizontalCoordinate=function(t){return W(t)},Qe=b.__private__.getVerticalCoordinate=function(t){return A===T?t:jt[K].mediaBox.topRightY-jt[K].mediaBox.bottomLeftY-W(t)},tr=b.__private__.getHorizontalCoordinateString=b.getHorizontalCoordinateString=function(t){return F(Ze(t))},er=b.__private__.getVerticalCoordinateString=b.getVerticalCoordinateString=function(t){return F(Qe(t))},rr=t.strokeColor||"0 G";b.__private__.getStrokeColor=b.getDrawColor=function(){return Zt(rr)},b.__private__.setStrokeColor=b.setDrawColor=function(t,e,r,n){return rr=Qt({ch1:t,ch2:e,ch3:r,ch4:n,pdfColorType:"draw",precision:2}),ct(rr),this};var nr=t.fillColor||"0 g";b.__private__.getFillColor=b.getFillColor=function(){return Zt(nr)},b.__private__.setFillColor=b.setFillColor=function(t,e,r,n){return nr=Qt({ch1:t,ch2:e,ch3:r,ch4:n,pdfColorType:"fill",precision:2}),ct(nr),this};var ir=t.textColor||"0 g",or=b.__private__.getTextColor=b.getTextColor=function(){return Zt(ir)};b.__private__.setTextColor=b.setTextColor=function(t,e,r,n){return ir=Qt({ch1:t,ch2:e,ch3:r,ch4:n,pdfColorType:"text",precision:3}),this};var ar=t.charSpace,sr=b.__private__.getCharSpace=b.getCharSpace=function(){return parseFloat(ar||0)};b.__private__.setCharSpace=b.setCharSpace=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return ar=t,this};var cr=0;b.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},b.__private__.setLineCap=b.setLineCap=function(t){var e=b.CapJoinStyles[t];if(void 0===e)throw new Error("Line cap style of '"+t+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return cr=e,ct(e+" J"),this};var lr=0;b.__private__.setLineJoin=b.setLineJoin=function(t){var e=b.CapJoinStyles[t];if(void 0===e)throw new Error("Line join style of '"+t+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return lr=e,ct(e+" j"),this},b.__private__.setLineMiterLimit=b.__private__.setMiterLimit=b.setLineMiterLimit=b.setMiterLimit=function(t){if(t=t||0,isNaN(t))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return ct(F(W(t))+" M"),this},b.GState=O,b.setGState=function(t){(t="string"==typeof t?Pt[Lt[t]]:ur(null,t)).equals(It)||(ct("/"+t.id+" gs"),It=t)};var ur=function(t,e){if(!t||!Lt[t]){var r=!1;for(var n in Pt)if(Pt.hasOwnProperty(n)&&Pt[n].equals(e)){r=!0;break}if(r)e=Pt[n];else{var i="GS"+(Object.keys(Pt).length+1).toString(10);Pt[i]=e,e.id=i}return t&&(Lt[t]=e.id),Dt.publish("addGState",e),e}};b.addGState=function(t,e){return ur(t,e),this},b.saveGraphicsState=function(){return ct("q"),Nt.push({key:xt,size:ht,color:ir}),this},b.restoreGraphicsState=function(){ct("Q");var t=Nt.pop();return xt=t.key,ht=t.size,ir=t.color,It=null,this},b.setCurrentTransformationMatrix=function(t){return ct(t.toString()+" cm"),this},b.comment=function(t){return ct("#"+t),this};var fr=function(t,e){var r=t||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return r},set:function(t){isNaN(t)||(r=parseFloat(t))}});var n=e||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return n},set:function(t){isNaN(t)||(n=parseFloat(t))}});var i="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return i},set:function(t){i=t.toString()}}),this},hr=function(t,e,r,n){fr.call(this,t,e),this.type="rect";var i=r||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return i},set:function(t){isNaN(t)||(i=parseFloat(t))}});var o=n||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return o},set:function(t){isNaN(t)||(o=parseFloat(t))}}),this},dr=function(){this.page=Ft,this.currentPage=K,this.pages=it.slice(0),this.pagesContext=jt.slice(0),this.x=Tt,this.y=At,this.matrix=Et,this.width=gr(K),this.height=br(K),this.outputDestination=at,this.id="",this.objectNumber=-1};dr.prototype.restore=function(){Ft=this.page,K=this.currentPage,jt=this.pagesContext,it=this.pages,Tt=this.x,At=this.y,Et=this.matrix,mr(K,this.width),yr(K,this.height),at=this.outputDestination};var pr=function(t,e,r,n,i){Ut.push(new dr),Ft=K=0,it=[],Tt=t,At=e,Et=i,pe([r,n])};for(var vr in b.beginFormObject=function(t,e,r,n,i){return pr(t,e,r,n,i),this},b.endFormObject=function(t){return function(t){if(!Wt[t]){var e=new dr,r="Xo"+(Object.keys(Bt).length+1).toString(10);e.id=r,Wt[t]=r,Bt[r]=e,Dt.publish("addFormObject",e),Ut.pop().restore()}}(t),this},b.doFormObject=function(t,e){var r=Bt[Wt[t]];return ct("q"),ct(e.toString()+" cm"),ct("/"+r.id+" Do"),ct("Q"),this},b.getFormObject=function(t){var e=Bt[Wt[t]];return{x:e.x,y:e.y,width:e.width,height:e.height,matrix:e.matrix}},b.save=function(t,r){return t=t||"generated.pdf",(r=r||{}).returnPromise=r.returnPromise||!1,!1===r.returnPromise?(l(Ee(Ae()),t),"function"==typeof l.unload&&e.setTimeout&&setTimeout(l.unload,911),this):new Promise((function(r,n){try{var i=l(Ee(Ae()),t);"function"==typeof l.unload&&e.setTimeout&&setTimeout(l.unload,911),r(i)}catch(t){n(t.message)}}))},P.API)P.API.hasOwnProperty(vr)&&("events"===vr&&P.API.events.length?function(t,e){var r,n,i;for(i=e.length-1;-1!==i;i--)r=e[i][0],n=e[i][1],t.subscribe.apply(t,[r].concat("function"==typeof n?[n]:n))}(Dt,P.API.events):b[vr]=P.API[vr]);var gr=b.getPageWidth=function(t){return(jt[t=t||K].mediaBox.topRightX-jt[t].mediaBox.bottomLeftX)/kt},mr=b.setPageWidth=function(t,e){jt[t].mediaBox.topRightX=e*kt+jt[t].mediaBox.bottomLeftX},br=b.getPageHeight=function(t){return(jt[t=t||K].mediaBox.topRightY-jt[t].mediaBox.bottomLeftY)/kt},yr=b.setPageHeight=function(t,e){jt[t].mediaBox.topRightY=e*kt+jt[t].mediaBox.bottomLeftY};return b.internal={pdfEscape:de,getStyle:Fe,getFont:qe,getFontSize:pt,getCharSpace:sr,getTextColor:or,getLineHeight:Ye,getLineHeightFactor:Je,write:lt,getHorizontalCoordinate:Ze,getVerticalCoordinate:Qe,getCoordinateString:tr,getVerticalCoordinateString:er,collections:{},newObject:$t,newAdditionalObject:Yt,newObjectDeferred:Gt,newObjectDeferredBegin:Xt,getFilters:te,putStream:ee,events:Dt,scaleFactor:kt,pageSize:{getWidth:function(){return gr(K)},setWidth:function(t){mr(K,t)},getHeight:function(){return br(K)},setHeight:function(t){yr(K,t)}},encryptionOptions:v,encryption:Ne,getEncryptor:function(t){return null!==v?Ne.encryptor(t,0):function(t){return t}},output:_e,getNumberOfPages:be,pages:it,out:ct,f2:M,f3:B,getPageInfo:Ce,getPageInfoByObjId:Re,getCurrentPageInfo:Pe,getPDFVersion:w,Point:fr,Rectangle:hr,Matrix:Ht,hasHotfix:Oe},Object.defineProperty(b.internal.pageSize,"width",{get:function(){return gr(K)},set:function(t){mr(K,t)},enumerable:!0,configurable:!0}),Object.defineProperty(b.internal.pageSize,"height",{get:function(){return br(K)},set:function(t){yr(K,t)},enumerable:!0,configurable:!0}),function(t){for(var e=0,r=ft.length;e<r;e++){var n=he.call(this,t[e][0],t[e][1],t[e][2],ft[e][3],!0);!1===g&&(m[n]=!0);var i=t[e][0].split("-");fe({id:n,fontName:i[0],fontStyle:i[1]||""})}Dt.publish("addFonts",{fonts:_t,dictionary:Ot})}.call(b,ft),xt="F1",ve(a,i),Dt.publish("initialized"),b}E.prototype.lsbFirstWord=function(t){return String.fromCharCode(255&t,t>>8&255,t>>16&255,t>>24&255)},E.prototype.toHexString=function(t){return t.split("").map((function(t){return("0"+(255&t.charCodeAt(0)).toString(16)).slice(-2)})).join("")},E.prototype.hexToBytes=function(t){for(var e=[],r=0;r<t.length;r+=2)e.push(String.fromCharCode(parseInt(t.substr(r,2),16)));return e.join("")},E.prototype.processOwnerPassword=function(t,e){return T(x(e).substr(0,5),t)},E.prototype.encryptor=function(t,e){let r=x(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&e,e>>8&255)).substr(0,10);return function(t){return T(r,t)}},O.prototype.equals=function(t){var e,r="id,objectNumber,equals";if(!t||typeof t!=typeof this)return!1;var n=0;for(e in this)if(!(r.indexOf(e)>=0)){if(this.hasOwnProperty(e)&&!t.hasOwnProperty(e))return!1;if(this[e]!==t[e])return!1;n++}for(e in t)t.hasOwnProperty(e)&&r.indexOf(e)<0&&n--;return 0===n},P.API={events:[]},P.version="2.3.1";var L=P.API,I=1,F=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},j=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},D=function(t){return t.toFixed(2)},M=function(t){return t.toFixed(5)};L.__acroform__={};var B=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t},W=function(t){return t*I},U=function(t){var e=new nt,r=mt.internal.getHeight(t)||0,n=mt.internal.getWidth(t)||0;return e.BBox=[0,0,Number(D(n)),Number(D(r))],e},H=L.__acroform__.setBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return t|1<<e},z=L.__acroform__.clearBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return t&~(1<<e)},V=L.__acroform__.getBit=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return t&1<<e?1:0},q=L.__acroform__.getBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return V(t,e-1)},$=L.__acroform__.setBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return H(t,e-1)},G=L.__acroform__.clearBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return z(t,e-1)},X=L.__acroform__.calculateCoordinates=function(t,e){var r=e.internal.getHorizontalCoordinate,n=e.internal.getVerticalCoordinate,i=t[0],o=t[1],a=t[2],s=t[3],c={};return c.lowerLeft_X=r(i)||0,c.lowerLeft_Y=n(o+s)||0,c.upperRight_X=r(i+a)||0,c.upperRight_Y=n(o)||0,[Number(D(c.lowerLeft_X)),Number(D(c.lowerLeft_Y)),Number(D(c.upperRight_X)),Number(D(c.upperRight_Y))]},Y=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var e=[],r=t._V||t.DV,n=K(t,r),i=t.scope.internal.getFont(t.fontName,t.fontStyle).id;e.push("/Tx BMC"),e.push("q"),e.push("BT"),e.push(t.scope.__private__.encodeColorString(t.color)),e.push("/"+i+" "+D(n.fontSize)+" Tf"),e.push("1 0 0 1 0 0 Tm"),e.push(n.text),e.push("ET"),e.push("Q"),e.push("EMC");var o=U(t);return o.scope=t.scope,o.stream=e.join("\n"),o}},K=function(t,e){var r=0===t.fontSize?t.maxFontSize:t.fontSize,n={text:"",fontSize:""},i=(e=")"==(e="("==e.substr(0,1)?e.substr(1):e).substr(e.length-1)?e.substr(0,e.length-1):e).split(" "),o=r,a=mt.internal.getHeight(t)||0;a=a<0?-a:a;var s=mt.internal.getWidth(t)||0;s=s<0?-s:s;var c=function(e,r,n){if(e+1<i.length){var o=r+" "+i[e+1];return J(o,t,n).width<=s-4}return!1};o++;t:for(;o>0;){e="",o--;var l,u,f=J("3",t,o).height,h=t.multiline?a-o:(a-f)/2,d=h+=2,p=0,v=0;if(o<=0){e="(...) Tj\n",e+="% Width of Text: "+J(e,t,o=12).width+", FieldWidth:"+s+"\n";break}var g="",m=0;for(var b in i)if(i.hasOwnProperty(b)){g=" "==(g+=i[b]+" ").substr(g.length-1)?g.substr(0,g.length-1):g;var y=parseInt(b),w=c(y,g,o),S=b>=i.length-1;if(w&&!S){g+=" ";continue}if(w||S){if(S)v=y;else if(t.multiline&&(f+2)*(m+2)+2>a)continue t}else{if(!t.multiline)continue t;if((f+2)*(m+2)+2>a)continue t;v=y}for(var x="",k=p;k<=v;k++)x+=i[k]+" ";switch(x=" "==x.substr(x.length-1)?x.substr(0,x.length-1):x,u=J(x,t,o).width,t.textAlign){case"right":l=s-u-2;break;case"center":l=(s-u)/2;break;default:l=2}e+=D(l)+" "+D(d)+" Td\n",e+="("+F(x)+") Tj\n",e+=-D(l)+" 0 Td\n",d=-(o+2),u=0,p=v+1,m++,g=""}break}return n.text=e,n.fontSize=o,n},J=function(t,e,r){var n=e.scope.internal.getFont(e.fontName,e.fontStyle),i=e.scope.getStringUnitWidth(t,{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:e.scope.getStringUnitWidth("3",{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:i}},Z={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Q=function(t,e){var r={type:"reference",object:t};void 0===e.internal.getPageInfo(t.page).pageContext.annotations.find((function(t){return t.type===r.type&&t.object===r.object}))&&e.internal.getPageInfo(t.page).pageContext.annotations.push(r)},tt=L.__acroform__.arrayToPdfArray=function(t,e,r){var n=function(t){return t};if(Array.isArray(t)){for(var i="[",o=0;o<t.length;o++)switch(0!==o&&(i+=" "),typeof t[o]){case"boolean":case"number":case"object":i+=t[o].toString();break;case"string":"/"!==t[o].substr(0,1)?(void 0!==e&&r&&(n=r.internal.getEncryptor(e)),i+="("+F(n(t[o].toString()))+")"):i+=t[o].toString()}return i+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},et=function(t,e,r){var n=function(t){return t};return void 0!==e&&r&&(n=r.internal.getEncryptor(e)),(t=t||"").toString(),"("+F(n(t))+")"},rt=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(t){this._objId=t}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};rt.prototype.toString=function(){return this.objId+" 0 R"},rt.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},rt.prototype.getKeyValueListForStream=function(){var t=[],e=Object.getOwnPropertyNames(this).filter((function(t){return"content"!=t&&"appearanceStreamContent"!=t&&"scope"!=t&&"objId"!=t&&"_"!=t.substring(0,1)}));for(var r in e)if(!1===Object.getOwnPropertyDescriptor(this,e[r]).configurable){var n=e[r],i=this[n];i&&(Array.isArray(i)?t.push({key:n,value:tt(i,this.objId,this.scope)}):i instanceof rt?(i.scope=this.scope,t.push({key:n,value:i.objId+" 0 R"})):"function"!=typeof i&&t.push({key:n,value:i}))}return t};var nt=function(){rt.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var t,e=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(e){t=e.trim()},get:function(){return t||null}})};B(nt,rt);var it=function(){rt.call(this);var t,e=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return e.length>0?e:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return e}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var e=function(t){return t};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+F(e(t))+")"}},set:function(e){t=e}})};B(it,rt);var ot=function(){rt.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(t,3))},set:function(e){!0===Boolean(e)?this.F=$(t,3):this.F=G(t,3)}});var e=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){if(isNaN(t))throw new Error('Invalid value "'+t+'" for attribute Ff supplied.');e=t}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(t){r=void 0!==t?t:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(t){r[0]=t}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(t){r[1]=t}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(t){r[2]=t}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(t){r[3]=t}});var n="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return n},set:function(t){switch(t){case"/Btn":case"/Tx":case"/Ch":case"/Sig":n=t;break;default:throw new Error('Invalid value "'+t+'" for attribute FT supplied.')}}});var i=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!i||i.length<1){if(this instanceof dt)return;i="FieldObject"+ot.FieldNum++}var t=function(t){return t};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+F(t(i))+")"},set:function(t){i=t.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(t){i=t}});var o="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return o},set:function(t){o=t}});var a="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return a},set:function(t){a=t}});var s=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return s},set:function(t){s=t}});var c=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===c?50/I:c},set:function(t){c=t}});var l="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return l},set:function(t){l=t}});var u="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!u||this instanceof dt||this instanceof vt))return et(u,this.objId,this.scope)},set:function(t){t=t.toString(),u=t}});var f=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof ut==0?et(f,this.objId,this.scope):f},set:function(t){t=t.toString(),f=this instanceof ut==0?"("===t.substr(0,1)?j(t.substr(1,t.length-2)):j(t):t}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof ut==1?j(f.substr(1,f.length-1)):f},set:function(t){t=t.toString(),f=this instanceof ut==1?"/"+t:t}});var h=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(h)return h},set:function(t){this.V=t}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof ut==0?et(h,this.objId,this.scope):h},set:function(t){t=t.toString(),h=this instanceof ut==0?"("===t.substr(0,1)?j(t.substr(1,t.length-2)):j(t):t}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof ut==1?j(h.substr(1,h.length-1)):h},set:function(t){t=t.toString(),h=this instanceof ut==1?"/"+t:t}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var d,p=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return p},set:function(t){t=Boolean(t),p=t}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(d)return d},set:function(t){d=t}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,1))},set:function(t){!0===Boolean(t)?this.Ff=$(this.Ff,1):this.Ff=G(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,2))},set:function(t){!0===Boolean(t)?this.Ff=$(this.Ff,2):this.Ff=G(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,3))},set:function(t){!0===Boolean(t)?this.Ff=$(this.Ff,3):this.Ff=G(this.Ff,3)}});var v=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==v)return v},set:function(t){if(-1===[0,1,2].indexOf(t))throw new Error('Invalid value "'+t+'" for attribute Q supplied.');v=t}}),Object.defineProperty(this,"textAlign",{get:function(){var t;switch(v){case 0:default:t="left";break;case 1:t="center";break;case 2:t="right"}return t},configurable:!0,enumerable:!0,set:function(t){switch(t){case"right":case 2:v=2;break;case"center":case 1:v=1;break;default:v=0}}})};B(ot,rt);var at=function(){ot.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var t=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){t=e}});var e=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return tt(e,this.objId,this.scope)},set:function(t){var r,n;n=[],"string"==typeof(r=t)&&(n=function(t,e,r){r||(r=1);for(var n,i=[];n=e.exec(t);)i.push(n[r]);return i}(r,/\((.*?)\)/g)),e=n}}),this.getOptions=function(){return e},this.setOptions=function(t){e=t,this.sort&&e.sort()},this.addOption=function(t){t=(t=t||"").toString(),e.push(t),this.sort&&e.sort()},this.removeOption=function(t,r){for(r=r||!1,t=(t=t||"").toString();-1!==e.indexOf(t)&&(e.splice(e.indexOf(t),1),!1!==r););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,18))},set:function(t){!0===Boolean(t)?this.Ff=$(this.Ff,18):this.Ff=G(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,19))},set:function(t){!0===this.combo&&(!0===Boolean(t)?this.Ff=$(this.Ff,19):this.Ff=G(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,20))},set:function(t){!0===Boolean(t)?(this.Ff=$(this.Ff,20),e.sort()):this.Ff=G(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,22))},set:function(t){!0===Boolean(t)?this.Ff=$(this.Ff,22):this.Ff=G(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=$(this.Ff,23):this.Ff=G(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,27))},set:function(t){!0===Boolean(t)?this.Ff=$(this.Ff,27):this.Ff=G(this.Ff,27)}}),this.hasAppearanceStream=!1};B(at,ot);var st=function(){at.call(this),this.fontName="helvetica",this.combo=!1};B(st,at);var ct=function(){st.call(this),this.combo=!0};B(ct,st);var lt=function(){ct.call(this),this.edit=!0};B(lt,ct);var ut=function(){ot.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,15))},set:function(t){!0===Boolean(t)?this.Ff=$(this.Ff,15):this.Ff=G(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,16))},set:function(t){!0===Boolean(t)?this.Ff=$(this.Ff,16):this.Ff=G(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,17))},set:function(t){!0===Boolean(t)?this.Ff=$(this.Ff,17):this.Ff=G(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=$(this.Ff,26):this.Ff=G(this.Ff,26)}});var t,e={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(t){return t};if(this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(e).length){var r,n=[];for(r in n.push("<<"),e)n.push("/"+r+" ("+F(t(e[r]))+")");return n.push(">>"),n.join("\n")}},set:function(t){"object"==typeof t&&(e=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(t){"string"==typeof t&&(e.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+e}})};B(ut,ot);var ft=function(){ut.call(this),this.pushButton=!0};B(ft,ut);var ht=function(){ut.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=void 0!==e?e:[]}})};B(ht,ut);var dt=function(){var t,e;ot.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return e},set:function(t){e=t}});var r,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(t){return t};this.scope&&(t=this.scope.internal.getEncryptor(this.objId));var e,r=[];for(e in r.push("<<"),n)r.push("/"+e+" ("+F(t(n[e]))+")");return r.push(">>"),r.join("\n")},set:function(t){"object"==typeof t&&(n=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(t){"string"==typeof t&&(n.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(t){r=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(t){r="/"+t}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=mt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};B(dt,ot),ht.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var e in this.Kids)if(this.Kids.hasOwnProperty(e)){var r=this.Kids[e];r.appearanceStreamContent=t.createAppearanceStream(r.optionName),r.caption=t.getCA()}},ht.prototype.createOption=function(t){var e=new dt;return e.Parent=this,e.optionName=t,this.Kids.push(e),bt.call(this.scope,e),e};var pt=function(){ut.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=mt.CheckBox.createAppearanceStream()};B(pt,ut);var vt=function(){ot.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,13))},set:function(t){!0===Boolean(t)?this.Ff=$(this.Ff,13):this.Ff=G(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,21))},set:function(t){!0===Boolean(t)?this.Ff=$(this.Ff,21):this.Ff=G(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=$(this.Ff,23):this.Ff=G(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,24))},set:function(t){!0===Boolean(t)?this.Ff=$(this.Ff,24):this.Ff=G(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,25))},set:function(t){!0===Boolean(t)?this.Ff=$(this.Ff,25):this.Ff=G(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=$(this.Ff,26):this.Ff=G(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){Number.isInteger(e)&&(t=e)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};B(vt,ot);var gt=function(){vt.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,14))},set:function(t){!0===Boolean(t)?this.Ff=$(this.Ff,14):this.Ff=G(this.Ff,14)}}),this.password=!0};B(gt,vt);var mt={CheckBox:{createAppearanceStream:function(){return{N:{On:mt.CheckBox.YesNormal},D:{On:mt.CheckBox.YesPushDown,Off:mt.CheckBox.OffPushDown}}},YesPushDown:function(t){var e=U(t);e.scope=t.scope;var r=[],n=t.scope.internal.getFont(t.fontName,t.fontStyle).id,i=t.scope.__private__.encodeColorString(t.color),o=K(t,t.caption);return r.push("0.749023 g"),r.push("0 0 "+D(mt.internal.getWidth(t))+" "+D(mt.internal.getHeight(t))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+n+" "+D(o.fontSize)+" Tf "+i),r.push("BT"),r.push(o.text),r.push("ET"),r.push("Q"),r.push("EMC"),e.stream=r.join("\n"),e},YesNormal:function(t){var e=U(t);e.scope=t.scope;var r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,n=t.scope.__private__.encodeColorString(t.color),i=[],o=mt.internal.getHeight(t),a=mt.internal.getWidth(t),s=K(t,t.caption);return i.push("1 g"),i.push("0 0 "+D(a)+" "+D(o)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+D(a-1)+" "+D(o-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+r+" "+D(s.fontSize)+" Tf "+n),i.push(s.text),i.push("ET"),i.push("Q"),e.stream=i.join("\n"),e},OffPushDown:function(t){var e=U(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+D(mt.internal.getWidth(t))+" "+D(mt.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join("\n"),e}},RadioButton:{Circle:{createAppearanceStream:function(t){var e={D:{Off:mt.RadioButton.Circle.OffPushDown},N:{}};return e.N[t]=mt.RadioButton.Circle.YesNormal,e.D[t]=mt.RadioButton.Circle.YesPushDown,e},getCA:function(){return"l"},YesNormal:function(t){var e=U(t);e.scope=t.scope;var r=[],n=mt.internal.getWidth(t)<=mt.internal.getHeight(t)?mt.internal.getWidth(t)/4:mt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=mt.internal.Bezier_C,o=Number((n*i).toFixed(5));return r.push("q"),r.push("1 0 0 1 "+M(mt.internal.getWidth(t)/2)+" "+M(mt.internal.getHeight(t)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+o+" "+o+" "+n+" 0 "+n+" c"),r.push("-"+o+" "+n+" -"+n+" "+o+" -"+n+" 0 c"),r.push("-"+n+" -"+o+" -"+o+" -"+n+" 0 -"+n+" c"),r.push(o+" -"+n+" "+n+" -"+o+" "+n+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join("\n"),e},YesPushDown:function(t){var e=U(t);e.scope=t.scope;var r=[],n=mt.internal.getWidth(t)<=mt.internal.getHeight(t)?mt.internal.getWidth(t)/4:mt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),o=Number((i*mt.internal.Bezier_C).toFixed(5)),a=Number((n*mt.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+M(mt.internal.getWidth(t)/2)+" "+M(mt.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),r.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),r.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),r.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),r.push("f"),r.push("Q"),r.push("0 g"),r.push("q"),r.push("1 0 0 1 "+M(mt.internal.getWidth(t)/2)+" "+M(mt.internal.getHeight(t)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+a+" "+a+" "+n+" 0 "+n+" c"),r.push("-"+a+" "+n+" -"+n+" "+a+" -"+n+" 0 c"),r.push("-"+n+" -"+a+" -"+a+" -"+n+" 0 -"+n+" c"),r.push(a+" -"+n+" "+n+" -"+a+" "+n+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join("\n"),e},OffPushDown:function(t){var e=U(t);e.scope=t.scope;var r=[],n=mt.internal.getWidth(t)<=mt.internal.getHeight(t)?mt.internal.getWidth(t)/4:mt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),o=Number((i*mt.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+M(mt.internal.getWidth(t)/2)+" "+M(mt.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),r.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),r.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),r.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join("\n"),e}},Cross:{createAppearanceStream:function(t){var e={D:{Off:mt.RadioButton.Cross.OffPushDown},N:{}};return e.N[t]=mt.RadioButton.Cross.YesNormal,e.D[t]=mt.RadioButton.Cross.YesPushDown,e},getCA:function(){return"8"},YesNormal:function(t){var e=U(t);e.scope=t.scope;var r=[],n=mt.internal.calculateCross(t);return r.push("q"),r.push("1 1 "+D(mt.internal.getWidth(t)-2)+" "+D(mt.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(D(n.x1.x)+" "+D(n.x1.y)+" m"),r.push(D(n.x2.x)+" "+D(n.x2.y)+" l"),r.push(D(n.x4.x)+" "+D(n.x4.y)+" m"),r.push(D(n.x3.x)+" "+D(n.x3.y)+" l"),r.push("s"),r.push("Q"),e.stream=r.join("\n"),e},YesPushDown:function(t){var e=U(t);e.scope=t.scope;var r=mt.internal.calculateCross(t),n=[];return n.push("0.749023 g"),n.push("0 0 "+D(mt.internal.getWidth(t))+" "+D(mt.internal.getHeight(t))+" re"),n.push("f"),n.push("q"),n.push("1 1 "+D(mt.internal.getWidth(t)-2)+" "+D(mt.internal.getHeight(t)-2)+" re"),n.push("W"),n.push("n"),n.push(D(r.x1.x)+" "+D(r.x1.y)+" m"),n.push(D(r.x2.x)+" "+D(r.x2.y)+" l"),n.push(D(r.x4.x)+" "+D(r.x4.y)+" m"),n.push(D(r.x3.x)+" "+D(r.x3.y)+" l"),n.push("s"),n.push("Q"),e.stream=n.join("\n"),e},OffPushDown:function(t){var e=U(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+D(mt.internal.getWidth(t))+" "+D(mt.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join("\n"),e}}},createDefaultAppearanceStream:function(t){var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color);return"/"+e+" "+t.fontSize+" Tf "+r}};mt.internal={Bezier_C:.551915024494,calculateCross:function(t){var e=mt.internal.getWidth(t),r=mt.internal.getHeight(t),n=Math.min(e,r);return{x1:{x:(e-n)/2,y:(r-n)/2+n},x2:{x:(e-n)/2+n,y:(r-n)/2},x3:{x:(e-n)/2,y:(r-n)/2},x4:{x:(e-n)/2+n,y:(r-n)/2+n}}}},mt.internal.getWidth=function(t){var e=0;return"object"==typeof t&&(e=W(t.Rect[2])),e},mt.internal.getHeight=function(t){var e=0;return"object"==typeof t&&(e=W(t.Rect[3])),e};var bt=L.addField=function(t){if(function(t,e){if(e.scope=t,void 0!==t.internal&&(void 0===t.internal.acroformPlugin||!1===t.internal.acroformPlugin.isInitialized)){if(ot.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(Z)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");I=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new it,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",(function(){!function(t){t.internal.events.unsubscribe(t.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete t.internal.acroformPlugin.acroFormDictionaryRoot._eventID,t.internal.acroformPlugin.printedOut=!0}(t)})),t.internal.events.subscribe("buildDocument",(function(){!function(t){t.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var e=t.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];n.objId=void 0,n.hasAnnotation&&Q(n,t)}}(t)})),t.internal.events.subscribe("putCatalog",(function(){!function(t){if(void 0===t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");t.internal.write("/AcroForm "+t.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(t)})),t.internal.events.subscribe("postPutPages",(function(e){!function(t,e){var r=!t;for(var n in t||(e.internal.newObjectDeferredBegin(e.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),e.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),t=t||e.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(t.hasOwnProperty(n)){var i=t[n],o=[],a=i.Rect;if(i.Rect&&(i.Rect=X(i.Rect,e)),e.internal.newObjectDeferredBegin(i.objId,!0),i.DA=mt.createDefaultAppearanceStream(i),"object"==typeof i&&"function"==typeof i.getKeyValueListForStream&&(o=i.getKeyValueListForStream()),i.Rect=a,i.hasAppearanceStream&&!i.appearanceStreamContent){var s=Y(i);o.push({key:"AP",value:"<</N "+s+">>"}),e.internal.acroformPlugin.xForms.push(s)}if(i.appearanceStreamContent){var c="";for(var l in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(l)){var u=i.appearanceStreamContent[l];if(c+="/"+l+" ",c+="<<",Object.keys(u).length>=1||Array.isArray(u)){for(var n in u)if(u.hasOwnProperty(n)){var f=u[n];"function"==typeof f&&(f=f.call(e,i)),c+="/"+n+" "+f+" ",e.internal.acroformPlugin.xForms.indexOf(f)>=0||e.internal.acroformPlugin.xForms.push(f)}}else"function"==typeof(f=u)&&(f=f.call(e,i)),c+="/"+n+" "+f,e.internal.acroformPlugin.xForms.indexOf(f)>=0||e.internal.acroformPlugin.xForms.push(f);c+=">>"}o.push({key:"AP",value:"<<\n"+c+">>"})}e.internal.putStream({additionalKeyValues:o,objectId:i.objId}),e.internal.out("endobj")}r&&function(t,e){for(var r in t)if(t.hasOwnProperty(r)){var n=r,i=t[r];e.internal.newObjectDeferredBegin(i.objId,!0),"object"==typeof i&&"function"==typeof i.putStream&&i.putStream(),delete t[n]}}(e.internal.acroformPlugin.xForms,e)}(e,t)})),t.internal.acroformPlugin.isInitialized=!0}}(this,t),!(t instanceof ot))throw new Error("Invalid argument passed to jsPDF.addField.");var e;return(e=t).scope.internal.acroformPlugin.printedOut&&(e.scope.internal.acroformPlugin.printedOut=!1,e.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};L.AcroFormChoiceField=at,L.AcroFormListBox=st,L.AcroFormComboBox=ct,L.AcroFormEditBox=lt,L.AcroFormButton=ut,L.AcroFormPushButton=ft,L.AcroFormRadioButton=ht,L.AcroFormCheckBox=pt,L.AcroFormTextField=vt,L.AcroFormPasswordField=gt,L.AcroFormAppearance=mt,L.AcroForm={ChoiceField:at,ListBox:st,ComboBox:ct,EditBox:lt,Button:ut,PushButton:ft,RadioButton:ht,CheckBox:pt,TextField:vt,PasswordField:gt,Appearance:mt},P.AcroForm={ChoiceField:at,ListBox:st,ComboBox:ct,EditBox:lt,Button:ut,PushButton:ft,RadioButton:ht,CheckBox:pt,TextField:vt,PasswordField:gt,Appearance:mt};var yt=P.AcroForm;function wt(t){return t.reduce((function(t,e,r){return t[e]=r,t}),{})}!function(t){t.__addimage__={};var e="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},n=t.__addimage__.getImageFileTypeByImageData=function(t,n){var i,o;n=n||e;var a,s,c,l=e;if(T(t))for(c in r)for(a=r[c],i=0;i<a.length;i+=1){for(s=!0,o=0;o<a[i].length;o+=1)if(void 0!==a[i][o]&&a[i][o]!==t[o]){s=!1;break}if(!0===s){l=c;break}}else for(c in r)for(a=r[c],i=0;i<a.length;i+=1){for(s=!0,o=0;o<a[i].length;o+=1)if(void 0!==a[i][o]&&a[i][o]!==t.charCodeAt(o)){s=!1;break}if(!0===s){l=c;break}}return l===e&&n!==e&&(l=n),l},i=function(t){for(var e=this.internal.write,r=this.internal.putStream,n=(0,this.internal.getFilters)();-1!==n.indexOf("FlateEncode");)n.splice(n.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var o=[];if(o.push({key:"Type",value:"/XObject"}),o.push({key:"Subtype",value:"/Image"}),o.push({key:"Width",value:t.width}),o.push({key:"Height",value:t.height}),t.colorSpace===b.INDEXED?o.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.palette.length/3-1)+" "+("sMask"in t&&void 0!==t.sMask?t.objectId+2:t.objectId+1)+" 0 R]"}):(o.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===b.DEVICE_CMYK&&o.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),o.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&o.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)){for(var a="",s=0,c=t.transparency.length;s<c;s++)a+=t.transparency[s]+" "+t.transparency[s]+" ";o.push({key:"Mask",value:"["+a+"]"})}void 0!==t.sMask&&o.push({key:"SMask",value:t.objectId+1+" 0 R"});var l=void 0!==t.filter?["/"+t.filter]:void 0;if(r({data:t.data,additionalKeyValues:o,alreadyAppliedFilters:l,objectId:t.objectId}),e("endobj"),"sMask"in t&&void 0!==t.sMask){var u="/Predictor "+t.predictor+" /Colors 1 /BitsPerComponent "+t.bitsPerComponent+" /Columns "+t.width,f={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:t.bitsPerComponent,decodeParameters:u,data:t.sMask};"filter"in t&&(f.filter=t.filter),i.call(this,f)}if(t.colorSpace===b.INDEXED){var h=this.internal.newObject();r({data:E(new Uint8Array(t.palette)),objectId:h}),e("endobj")}},o=function(){var t=this.internal.collections.addImage_images;for(var e in t)i.call(this,t[e])},a=function(){var t,e=this.internal.collections.addImage_images,r=this.internal.write;for(var n in e)r("/I"+(t=e[n]).index,t.objectId,"0","R")},l=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",o),this.internal.events.subscribe("putXobjectDict",a))},u=function(){var t=this.internal.collections.addImage_images;return l.call(this),t},f=function(){return Object.keys(this.internal.collections.addImage_images).length},h=function(e){return"function"==typeof t["process"+e.toUpperCase()]},d=function(t){return"object"==typeof t&&1===t.nodeType},p=function(e,r){if("IMG"===e.nodeName&&e.hasAttribute("src")){var n=""+e.getAttribute("src");if(0===n.indexOf("data:image/"))return s(unescape(n).split("base64,").pop());var i=t.loadFile(n,!0);if(void 0!==i)return i}if("CANVAS"===e.nodeName){var o;switch(r){case"PNG":o="image/png";break;case"WEBP":o="image/webp";break;default:o="image/jpeg"}return s(e.toDataURL(o,1).split("base64,").pop())}},v=function(t){var e=this.internal.collections.addImage_images;if(e)for(var r in e)if(t===e[r].alias)return e[r]},g=function(t,e,r){return t||e||(t=-96,e=-96),t<0&&(t=-1*r.width*72/t/this.internal.scaleFactor),e<0&&(e=-1*r.height*72/e/this.internal.scaleFactor),0===t&&(t=e*r.width/r.height),0===e&&(e=t*r.height/r.width),[t,e]},m=function(t,e,r,n,i,o){var a=g.call(this,r,n,i),s=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString,l=u.call(this);if(r=a[0],n=a[1],l[i.index]=i,o){o*=Math.PI/180;var f=Math.cos(o),h=Math.sin(o),d=function(t){return t.toFixed(4)},p=[d(f),d(h),d(-1*h),d(f),0,0,"cm"]}this.internal.write("q"),o?(this.internal.write([1,"0","0",1,s(t),c(e+n),"cm"].join(" ")),this.internal.write(p.join(" ")),this.internal.write([s(r),"0","0",s(n),"0","0","cm"].join(" "))):this.internal.write([s(r),"0","0",s(n),s(t),c(e+n),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+i.index+" Do"),this.internal.write("Q")},b=t.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};t.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var y=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},w=t.__addimage__.sHashCode=function(t){var e,r,n=0;if("string"==typeof t)for(r=t.length,e=0;e<r;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;else if(T(t))for(r=t.byteLength/2,e=0;e<r;e++)n=(n<<5)-n+t[e],n|=0;return n},S=t.__addimage__.validateStringAsBase64=function(t){(t=t||"").toString().trim();var e=!0;return 0===t.length&&(e=!1),t.length%4!=0&&(e=!1),!1===/^[A-Za-z0-9+/]+$/.test(t.substr(0,t.length-2))&&(e=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(t.substr(-2))&&(e=!1),e},x=t.__addimage__.extractImageFromDataUrl=function(t){var e=(t=t||"").split("base64,"),r=null;if(2===e.length){var n=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(e[0]);Array.isArray(n)&&(r={mimeType:n[1],charset:n[2],data:e[1]})}return r},k=t.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};t.__addimage__.isArrayBuffer=function(t){return k()&&t instanceof ArrayBuffer};var T=t.__addimage__.isArrayBufferView=function(t){return k()&&"undefined"!=typeof Uint32Array&&(t instanceof Int8Array||t instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)},A=t.__addimage__.binaryStringToUint8Array=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++)r[n]=t.charCodeAt(n);return r},E=t.__addimage__.arrayBufferToBinaryString=function(t){try{return s(c(String.fromCharCode.apply(null,t)))}catch(e){if("undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.reduce)return new Uint8Array(t).reduce((function(t,e){return t.push(String.fromCharCode(e)),t}),[]).join("")}};t.addImage=function(){var t,r,n,i,o,a,s,c,u;if("number"==typeof arguments[1]?(r=e,n=arguments[1],i=arguments[2],o=arguments[3],a=arguments[4],s=arguments[5],c=arguments[6],u=arguments[7]):(r=arguments[1],n=arguments[2],i=arguments[3],o=arguments[4],a=arguments[5],s=arguments[6],c=arguments[7],u=arguments[8]),"object"==typeof(t=arguments[0])&&!d(t)&&"imageData"in t){var f=t;t=f.imageData,r=f.format||r||e,n=f.x||n||0,i=f.y||i||0,o=f.w||f.width||o,a=f.h||f.height||a,s=f.alias||s,c=f.compression||c,u=f.rotation||f.angle||u}var h=this.internal.getFilters();if(void 0===c&&-1!==h.indexOf("FlateEncode")&&(c="SLOW"),isNaN(n)||isNaN(i))throw new Error("Invalid coordinates passed to jsPDF.addImage");l.call(this);var p=_.call(this,t,r,s,c);return m.call(this,n,i,o,a,p,u),this};var _=function(r,i,o,a){var s,c,l;if("string"==typeof r&&n(r)===e){r=unescape(r);var u=O(r,!1);(""!==u||void 0!==(u=t.loadFile(r,!0)))&&(r=u)}if(d(r)&&(r=p(r,i)),i=n(r,i),!h(i))throw new Error("addImage does not support files of type '"+i+"', please ensure that a plugin for '"+i+"' support is added.");if((null==(l=o)||0===l.length)&&(o=function(t){return"string"==typeof t||T(t)?w(t):null}(r)),(s=v.call(this,o))||(k()&&(r instanceof Uint8Array||(c=r,r=A(r))),s=this["process"+i.toUpperCase()](r,f.call(this),o,function(e){return e&&"string"==typeof e&&(e=e.toUpperCase()),e in t.image_compression?e:y.NONE}(a),c)),!s)throw new Error("An unknown error occurred whilst processing the image.");return s},O=t.__addimage__.convertBase64ToBinaryString=function(t,e){var r;e="boolean"!=typeof e||e;var n,i="";if("string"==typeof t){n=null!==(r=x(t))?r.data:t;try{i=s(n)}catch(t){if(e)throw S(n)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+t.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return i};t.getImageProperties=function(r){var i,o,a="";if(d(r)&&(r=p(r)),"string"==typeof r&&n(r)===e&&(""===(a=O(r,!1))&&(a=t.loadFile(r)||""),r=a),o=n(r),!h(o))throw new Error("addImage does not support files of type '"+o+"', please ensure that a plugin for '"+o+"' support is added.");if(!k()||r instanceof Uint8Array||(r=A(r)),!(i=this["process"+o.toUpperCase()](r)))throw new Error("An unknown error occurred whilst processing the image");return i.fileType=o,i}}(P.API),function(t){var e=function(t){if(void 0!==t&&""!=t)return!0};P.API.events.push(["addPage",function(t){this.internal.getPageInfo(t.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(t){for(var r,n,i,o=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,s=this.internal.getPageInfoByObjId(t.objId),c=t.pageContext.annotations,l=!1,u=0;u<c.length&&!l;u++)switch((r=c[u]).type){case"link":(e(r.options.url)||e(r.options.pageNumber))&&(l=!0);break;case"reference":case"text":case"freetext":l=!0}if(0!=l){this.internal.write("/Annots [");for(var f=0;f<c.length;f++){r=c[f];var h=this.internal.pdfEscape,d=this.internal.getEncryptor(t.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var p=this.internal.newAdditionalObject(),v=this.internal.newAdditionalObject(),g=this.internal.getEncryptor(p.objId),m=r.title||"Note";i="<</Type /Annot /Subtype /Text "+(n="/Rect ["+o(r.bounds.x)+" "+a(r.bounds.y+r.bounds.h)+" "+o(r.bounds.x+r.bounds.w)+" "+a(r.bounds.y)+"] ")+"/Contents ("+h(g(r.contents))+")",i+=" /Popup "+v.objId+" 0 R",i+=" /P "+s.objId+" 0 R",i+=" /T ("+h(g(m))+") >>",p.content=i;var b=p.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(n="/Rect ["+o(r.bounds.x+30)+" "+a(r.bounds.y+r.bounds.h)+" "+o(r.bounds.x+r.bounds.w+30)+" "+a(r.bounds.y)+"] ")+" /Parent "+b,r.open&&(i+=" /Open true"),i+=" >>",v.content=i,this.internal.write(p.objId,"0 R",v.objId,"0 R");break;case"freetext":n="/Rect ["+o(r.bounds.x)+" "+a(r.bounds.y)+" "+o(r.bounds.x+r.bounds.w)+" "+a(r.bounds.y+r.bounds.h)+"] ";var y=r.color||"#000000";i="<</Type /Annot /Subtype /FreeText "+n+"/Contents ("+h(d(r.contents))+")",i+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+y+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(r.options.name){var w=this.annotations._nameMap[r.options.name];r.options.pageNumber=w.page,r.options.top=w.y}else r.options.top||(r.options.top=0);if(n="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",i="",r.options.url)i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /A <</S /URI /URI ("+h(d(r.options.url))+") >>";else if(r.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,i+=" /FitV "+r.options.left+"]";break;default:var S=a(r.options.top);r.options.left=r.options.left||0,void 0===r.options.zoom&&(r.options.zoom=0),i+=" /XYZ "+r.options.left+" "+S+" "+r.options.zoom+"]"}""!=i&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),t.createAnnotation=function(t){var e=this.internal.getCurrentPageInfo();switch(t.type){case"link":this.link(t.bounds.x,t.bounds.y,t.bounds.w,t.bounds.h,t);break;case"text":case"freetext":e.pageContext.annotations.push(t)}},t.link=function(t,e,r,n,i){var o=this.internal.getCurrentPageInfo(),a=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString;o.pageContext.annotations.push({finalBounds:{x:a(t),y:s(e),w:a(t+r),h:s(e+n)},options:i,type:"link"})},t.textWithLink=function(t,e,r,n){var i=this.getTextWidth(t),o=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(t,e,r,n),r+=.2*o,"center"===n.align&&(e-=i/2),"right"===n.align&&(e-=i),this.link(e,r-o,i,o,n),i},t.getTextWidth=function(t){var e=this.internal.getFontSize();return this.getStringUnitWidth(t)*e/this.internal.scaleFactor}}(P.API),function(t){var e={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},r={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},n={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];t.__arabicParser__={};var o=t.__arabicParser__.isInArabicSubstitutionA=function(t){return void 0!==e[t.charCodeAt(0)]},a=t.__arabicParser__.isArabicLetter=function(t){return"string"==typeof t&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(t)},s=t.__arabicParser__.isArabicEndLetter=function(t){return a(t)&&o(t)&&e[t.charCodeAt(0)].length<=2},c=t.__arabicParser__.isArabicAlfLetter=function(t){return a(t)&&i.indexOf(t.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(t){return a(t)&&o(t)&&e[t.charCodeAt(0)].length>=1};var l=t.__arabicParser__.arabicLetterHasFinalForm=function(t){return a(t)&&o(t)&&e[t.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(t){return a(t)&&o(t)&&e[t.charCodeAt(0)].length>=3};var u=t.__arabicParser__.arabicLetterHasMedialForm=function(t){return a(t)&&o(t)&&4==e[t.charCodeAt(0)].length},f=t.__arabicParser__.resolveLigatures=function(t){var e=0,n=r,i="",o=0;for(e=0;e<t.length;e+=1)void 0!==n[t.charCodeAt(e)]?(o++,"number"==typeof(n=n[t.charCodeAt(e)])&&(i+=String.fromCharCode(n),n=r,o=0),e===t.length-1&&(n=r,i+=t.charAt(e-(o-1)),e-=o-1,o=0)):(n=r,i+=t.charAt(e-o),e-=o,o=0);return i};t.__arabicParser__.isArabicDiacritic=function(t){return void 0!==t&&void 0!==n[t.charCodeAt(0)]};var h=t.__arabicParser__.getCorrectForm=function(t,e,r){return a(t)?!1===o(t)?-1:!l(t)||!a(e)&&!a(r)||!a(r)&&s(e)||s(t)&&!a(e)||s(t)&&c(e)||s(t)&&s(e)?0:u(t)&&a(e)&&!s(e)&&a(r)&&l(r)?3:s(t)||!a(r)?1:2:-1},d=function(t){var r=0,n=0,i=0,o="",s="",c="",l=(t=t||"").split("\\s+"),u=[];for(r=0;r<l.length;r+=1){for(u.push(""),n=0;n<l[r].length;n+=1)o=l[r][n],s=l[r][n-1],c=l[r][n+1],a(o)?(i=h(o,s,c),u[r]+=-1!==i?String.fromCharCode(e[o.charCodeAt(0)][i]):o):u[r]+=o;u[r]=f(u[r])}return u.join(" ")},p=t.__arabicParser__.processArabic=t.processArabic=function(){var t,e="string"==typeof arguments[0]?arguments[0]:arguments[0].text,r=[];if(Array.isArray(e)){var n=0;for(r=[],n=0;n<e.length;n+=1)Array.isArray(e[n])?r.push([d(e[n][0]),e[n][1],e[n][2]]):r.push([d(e[n])]);t=r}else t=d(e);return"string"==typeof arguments[0]?t:(arguments[0].text=t,arguments[0])};t.events.push(["preProcessText",p])}(P.API),function(t){t.autoPrint=function(t){var e;if("javascript"===((t=t||{}).variant=t.variant||"non-conform",t.variant))this.addJS("print({});");else this.internal.events.subscribe("postPutResources",(function(){e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+e+" 0 R")}));return this}}(P.API),function(t){var e=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(e){t=e}});var e=150;Object.defineProperty(this,"width",{get:function(){return e},set:function(t){e=isNaN(t)||!1===Number.isInteger(t)||t<0?150:t,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=e+1)}});var r=300;Object.defineProperty(this,"height",{get:function(){return r},set:function(t){r=isNaN(t)||!1===Number.isInteger(t)||t<0?300:t,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=r+1)}});var n=[];Object.defineProperty(this,"childNodes",{get:function(){return n},set:function(t){n=t}});var i={};Object.defineProperty(this,"style",{get:function(){return i},set:function(t){i=t}}),Object.defineProperty(this,"parentNode",{})};e.prototype.getContext=function(t,e){var r;if("2d"!==(t=t||"2d"))return null;for(r in e)this.pdf.context2d.hasOwnProperty(r)&&(this.pdf.context2d[r]=e[r]);return this.pdf.context2d._canvas=this,this.pdf.context2d},e.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new e,this.canvas.pdf=this}])}(P.API),function(t){var e={left:0,top:0,bottom:0,right:0},r=!1,n=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},e),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new o,this.internal.__cell__.pages=1},o=function(){var t=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var e=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var r=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return r},set:function(t){r=t}});var n=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return n},set:function(t){n=t}});var i=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return i},set:function(t){i=t}});var o=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return o},set:function(t){o=t}});var a=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return a},set:function(t){a=t}}),this};o.prototype.clone=function(){return new o(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},o.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(t){return n.call(this),this.internal.__cell__.headerFunction="function"==typeof t?t:void 0,this},t.getTextDimensions=function(t,e){n.call(this);var r=(e=e||{}).fontSize||this.getFontSize(),i=e.font||this.getFont(),o=e.scaleFactor||this.internal.scaleFactor,a=0,s=0,c=0,l=this;if(!Array.isArray(t)&&"string"!=typeof t){if("number"!=typeof t)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");t=String(t)}const u=e.maxWidth;u>0?"string"==typeof t?t=this.splitTextToSize(t,u):"[object Array]"===Object.prototype.toString.call(t)&&(t=t.reduce((function(t,e){return t.concat(l.splitTextToSize(e,u))}),[])):t=Array.isArray(t)?t:[t];for(var f=0;f<t.length;f++)a<(c=this.getStringUnitWidth(t[f],{font:i})*r)&&(a=c);return 0!==a&&(s=t.length),{w:a/=o,h:Math.max((s*r*this.getLineHeightFactor()-r*(this.getLineHeightFactor()-1))/o,0)}},t.cellAddPage=function(){n.call(this),this.addPage();var t=this.internal.__cell__.margins||e;return this.internal.__cell__.lastCell=new o(t.left,t.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var a=t.cell=function(){var t;t=arguments[0]instanceof o?arguments[0]:new o(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),n.call(this);var i=this.internal.__cell__.lastCell,a=this.internal.__cell__.padding,s=this.internal.__cell__.margins||e,c=this.internal.__cell__.tableHeaderRow,l=this.internal.__cell__.printHeaders;return void 0!==i.lineNumber&&(i.lineNumber===t.lineNumber?(t.x=(i.x||0)+(i.width||0),t.y=i.y||0):i.y+i.height+t.height+s.bottom>this.getPageHeight()?(this.cellAddPage(),t.y=s.top,l&&c&&(this.printHeaderRow(t.lineNumber,!0),t.y+=c[0].height)):t.y=i.y+i.height||t.y),void 0!==t.text[0]&&(this.rect(t.x,t.y,t.width,t.height,!0===r?"FD":void 0),"right"===t.align?this.text(t.text,t.x+t.width-a,t.y+a,{align:"right",baseline:"top"}):"center"===t.align?this.text(t.text,t.x+t.width/2,t.y+a,{align:"center",baseline:"top",maxWidth:t.width-a-a}):this.text(t.text,t.x+a,t.y+a,{align:"left",baseline:"top",maxWidth:t.width-a-a})),this.internal.__cell__.lastCell=t,this};t.table=function(t,r,c,l,u){if(n.call(this),!c)throw new Error("No data for PDF table.");var f,h,d,p,v=[],g=[],m=[],b={},y={},w=[],S=[],x=(u=u||{}).autoSize||!1,k=!1!==u.printHeaders,T=u.css&&void 0!==u.css["font-size"]?16*u.css["font-size"]:u.fontSize||12,A=u.margins||Object.assign({width:this.getPageWidth()},e),E="number"==typeof u.padding?u.padding:3,_=u.headerBackgroundColor||"#c8c8c8";if(i.call(this),this.internal.__cell__.printHeaders=k,this.internal.__cell__.margins=A,this.internal.__cell__.table_font_size=T,this.internal.__cell__.padding=E,this.internal.__cell__.headerBackgroundColor=_,this.setFontSize(T),null==l)g=v=Object.keys(c[0]),m=v.map((function(){return"left"}));else if(Array.isArray(l)&&"object"==typeof l[0])for(v=l.map((function(t){return t.name})),g=l.map((function(t){return t.prompt||t.name||""})),m=l.map((function(t){return t.align||"left"})),f=0;f<l.length;f+=1)y[l[f].name]=l[f].width*(19.049976/25.4);else Array.isArray(l)&&"string"==typeof l[0]&&(g=v=l,m=v.map((function(){return"left"})));if(x||Array.isArray(l)&&"string"==typeof l[0])for(f=0;f<v.length;f+=1){for(b[p=v[f]]=c.map((function(t){return t[p]})),this.setFont(void 0,"bold"),w.push(this.getTextDimensions(g[f],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),h=b[p],this.setFont(void 0,"normal"),d=0;d<h.length;d+=1)w.push(this.getTextDimensions(h[d],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);y[p]=Math.max.apply(null,w)+E+E,w=[]}if(k){var O={};for(f=0;f<v.length;f+=1)O[v[f]]={},O[v[f]].text=g[f],O[v[f]].align=m[f];var N=s.call(this,O,y);S=v.map((function(e){return new o(t,r,y[e],N,O[e].text,void 0,O[e].align)})),this.setTableHeaderRow(S),this.printHeaderRow(1,!1)}var C=l.reduce((function(t,e){return t[e.name]=e.align,t}),{});for(f=0;f<c.length;f+=1){var R=s.call(this,c[f],y);for(d=0;d<v.length;d+=1)a.call(this,new o(t,r,y[v[d]],R,c[f][v[d]],f+2,C[v[d]]))}return this.internal.__cell__.table_x=t,this.internal.__cell__.table_y=r,this};var s=function(t,e){var r=this.internal.__cell__.padding,n=this.internal.__cell__.table_font_size,i=this.internal.scaleFactor;return Object.keys(t).map((function(n){var i=t[n];return this.splitTextToSize(i.hasOwnProperty("text")?i.text:i,e[n]-r-r)}),this).map((function(t){return this.getLineHeightFactor()*t.length*n/i+r+r}),this).reduce((function(t,e){return Math.max(t,e)}),0)};t.setTableHeaderRow=function(t){n.call(this),this.internal.__cell__.tableHeaderRow=t},t.printHeaderRow=function(t,e){if(n.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var i;if(r=!0,"function"==typeof this.internal.__cell__.headerFunction){var s=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new o(s[0],s[1],s[2],s[3],void 0,-1)}this.setFont(void 0,"bold");for(var c=[],l=0;l<this.internal.__cell__.tableHeaderRow.length;l+=1)i=this.internal.__cell__.tableHeaderRow[l].clone(),e&&(i.y=this.internal.__cell__.margins.top||0,c.push(i)),i.lineNumber=t,this.setFillColor(this.internal.__cell__.headerBackgroundColor),a.call(this,i);c.length>0&&this.setTableHeaderRow(c),this.setFont(void 0,"normal"),r=!1}}(P.API);var St={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},xt=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],kt=wt(xt),Tt=[100,200,300,400,500,600,700,800,900],At=wt(Tt);function Et(t){var e=t.family.replace(/"|'/g,"").toLowerCase(),r=function(t){return St[t=t||"normal"]?t:"normal"}(t.style),n=function(t){return t?"number"==typeof t?t>=100&&t<=900&&t%100==0?t:400:/^\d00$/.test(t)?parseInt(t):"bold"===t?700:400:400}(t.weight),i=function(t){return"number"==typeof kt[t=t||"normal"]?t:"normal"}(t.stretch);return{family:e,style:r,weight:n,stretch:i,src:t.src||[],ref:t.ref||{name:e,style:[i,r,n].join(" ")}}}function _t(t,e,r,n){var i;for(i=r;i>=0&&i<e.length;i+=n)if(t[e[i]])return t[e[i]];for(i=r;i>=0&&i<e.length;i-=n)if(t[e[i]])return t[e[i]]}var Ot={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Nt={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Ct(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function Rt(t){return t.trimLeft()}function Pt(t,e){for(var r=0;r<t.length;){if(t.charAt(r)===e)return[t.substring(0,r),t.substring(r+1)];r+=1}return null}function Lt(t){var e=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===e?null:[e[0],t.substring(e[0].length)]}var It=["times"];!function(t){var e,r,i,o,a,s,c,l,f,h=function(t){return t=t||{},this.isStrokeTransparent=t.isStrokeTransparent||!1,this.strokeOpacity=t.strokeOpacity||1,this.strokeStyle=t.strokeStyle||"#000000",this.fillStyle=t.fillStyle||"#000000",this.isFillTransparent=t.isFillTransparent||!1,this.fillOpacity=t.fillOpacity||1,this.font=t.font||"10px sans-serif",this.textBaseline=t.textBaseline||"alphabetic",this.textAlign=t.textAlign||"left",this.lineWidth=t.lineWidth||1,this.lineJoin=t.lineJoin||"miter",this.lineCap=t.lineCap||"butt",this.path=t.path||[],this.transform=void 0!==t.transform?t.transform.clone():new l,this.globalCompositeOperation=t.globalCompositeOperation||"normal",this.globalAlpha=t.globalAlpha||1,this.clip_path=t.clip_path||[],this.currentPoint=t.currentPoint||new s,this.miterLimit=t.miterLimit||10,this.lastPoint=t.lastPoint||new s,this.ignoreClearRect="boolean"!=typeof t.ignoreClearRect||t.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new d(this),e=this.internal.f2,r=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,o=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,s=this.internal.Point,c=this.internal.Rectangle,l=this.internal.Matrix,f=new h}]);var d=function(t){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var e=t;Object.defineProperty(this,"pdf",{get:function(){return e}});var r=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return r},set:function(t){r=Boolean(t)}});var n=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return n},set:function(t){n=Boolean(t)}});var i=0;Object.defineProperty(this,"posX",{get:function(){return i},set:function(t){isNaN(t)||(i=t)}});var o=0;Object.defineProperty(this,"posY",{get:function(){return o},set:function(t){isNaN(t)||(o=t)}});var a=!1;Object.defineProperty(this,"autoPaging",{get:function(){return a},set:function(t){a=Boolean(t)}});var s=0;Object.defineProperty(this,"lastBreak",{get:function(){return s},set:function(t){s=t}});var c=[];Object.defineProperty(this,"pageBreaks",{get:function(){return c},set:function(t){c=t}}),Object.defineProperty(this,"ctx",{get:function(){return f},set:function(t){t instanceof h&&(f=t)}}),Object.defineProperty(this,"path",{get:function(){return f.path},set:function(t){f.path=t}});var l=[];Object.defineProperty(this,"ctxStack",{get:function(){return l},set:function(t){l=t}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(t){var e;e=p(t),this.ctx.fillStyle=e.style,this.ctx.isFillTransparent=0===e.a,this.ctx.fillOpacity=e.a,this.pdf.setFillColor(e.r,e.g,e.b,{a:e.a}),this.pdf.setTextColor(e.r,e.g,e.b,{a:e.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(t){var e=p(t);this.ctx.strokeStyle=e.style,this.ctx.isStrokeTransparent=0===e.a,this.ctx.strokeOpacity=e.a,0===e.a?this.pdf.setDrawColor(255,255,255):(e.a,this.pdf.setDrawColor(e.r,e.g,e.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(t){-1!==["butt","round","square"].indexOf(t)&&(this.ctx.lineCap=t,this.pdf.setLineCap(t))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(t){isNaN(t)||(this.ctx.lineWidth=t,this.pdf.setLineWidth(t))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(t){-1!==["bevel","round","miter"].indexOf(t)&&(this.ctx.lineJoin=t,this.pdf.setLineJoin(t))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(t){isNaN(t)||(this.ctx.miterLimit=t,this.pdf.setMiterLimit(t))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(t){this.ctx.textBaseline=t}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(t){-1!==["right","end","center","left","start"].indexOf(t)&&(this.ctx.textAlign=t)}});var u=null;function d(t,e){if(null===u){var r=function(t){var e=[];return Object.keys(t).forEach((function(r){t[r].forEach((function(t){var n=null;switch(t){case"bold":n={family:r,weight:"bold"};break;case"italic":n={family:r,style:"italic"};break;case"bolditalic":n={family:r,weight:"bold",style:"italic"};break;case"":case"normal":n={family:r}}null!==n&&(n.ref={name:r,style:t},e.push(n))}))})),e}(t.getFontList());u=function(t){for(var e={},r=0;r<t.length;++r){var n=Et(t[r]),i=n.family,o=n.stretch,a=n.style,s=n.weight;e[i]=e[i]||{},e[i][o]=e[i][o]||{},e[i][o][a]=e[i][o][a]||{},e[i][o][a][s]=n}return e}(r.concat(e))}return u}var v=null;Object.defineProperty(this,"fontFaces",{get:function(){return v},set:function(t){u=null,v=t}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(t){var e;if(this.ctx.font=t,null!==(e=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(t))){var r=e[1],n=(e[2],e[3]),i=e[4],o=(e[5],e[6]),a=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(i)[2];i="px"===a?Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor):"em"===a?Math.floor(parseFloat(i)*this.pdf.getFontSize()):Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(i);var s=function(t){var e,r,n=[],i=t.trim();if(""===i)return It;if(i in Nt)return[Nt[i]];for(;""!==i;){switch(r=null,e=(i=Rt(i)).charAt(0)){case'"':case"'":r=Pt(i.substring(1),e);break;default:r=Lt(i)}if(null===r)return It;if(n.push(r[0]),""!==(i=Rt(r[1]))&&","!==i.charAt(0))return It;i=i.replace(/^,/,"")}return n}(o);if(this.fontFaces){var c=function(t,e,r){for(var n=(r=r||{}).defaultFontFamily||"times",i=Object.assign({},Ot,r.genericFontFamilies||{}),o=null,a=null,s=0;s<e.length;++s)if(i[(o=Et(e[s])).family]&&(o.family=i[o.family]),t.hasOwnProperty(o.family)){a=t[o.family];break}if(!(a=a||t[n]))throw new Error("Could not find a font-family for the rule '"+Ct(o)+"' and default family '"+n+"'.");if(a=function(t,e){if(e[t])return e[t];var r=kt[t],n=r<=kt.normal?-1:1,i=_t(e,xt,r,n);if(!i)throw new Error("Could not find a matching font-stretch value for "+t);return i}(o.stretch,a),a=function(t,e){if(e[t])return e[t];for(var r=St[t],n=0;n<r.length;++n)if(e[r[n]])return e[r[n]];throw new Error("Could not find a matching font-style for "+t)}(o.style,a),!(a=function(t,e){if(e[t])return e[t];if(400===t&&e[500])return e[500];if(500===t&&e[400])return e[400];var r=At[t],n=_t(e,Tt,r,t<400?-1:1);if(!n)throw new Error("Could not find a matching font-weight for value "+t);return n}(o.weight,a)))throw new Error("Failed to resolve a font for the rule '"+Ct(o)+"'.");return a}(d(this.pdf,this.fontFaces),s.map((function(t){return{family:t,stretch:"normal",weight:n,style:r}})));this.pdf.setFont(c.ref.name,c.ref.style)}else{var l="";("bold"===n||parseInt(n,10)>=700||"bold"===r)&&(l="bold"),"italic"===r&&(l+="italic"),0===l.length&&(l="normal");for(var u="",f={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},h=0;h<s.length;h++){if(void 0!==this.pdf.internal.getFont(s[h],l,{noFallback:!0,disableWarning:!0})){u=s[h];break}if("bolditalic"===l&&void 0!==this.pdf.internal.getFont(s[h],"bold",{noFallback:!0,disableWarning:!0}))u=s[h],l="bold";else if(void 0!==this.pdf.internal.getFont(s[h],"normal",{noFallback:!0,disableWarning:!0})){u=s[h],l="normal";break}}if(""===u)for(var p=0;p<s.length;p++)if(f[s[p]]){u=f[s[p]];break}u=""===u?"Times":u,this.pdf.setFont(u,l)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(t){this.ctx.globalCompositeOperation=t}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(t){this.ctx.globalAlpha=t}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(t){this.ctx.ignoreClearRect=Boolean(t)}})};d.prototype.fill=function(){S.call(this,"fill",!1)},d.prototype.stroke=function(){S.call(this,"stroke",!1)},d.prototype.beginPath=function(){this.path=[{type:"begin"}]},d.prototype.moveTo=function(t,e){if(isNaN(t)||isNaN(e))throw n.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var r=this.ctx.transform.applyToPoint(new s(t,e));this.path.push({type:"mt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(t,e)},d.prototype.closePath=function(){var t=new s(0,0),e=0;for(e=this.path.length-1;-1!==e;e--)if("begin"===this.path[e].type&&"object"==typeof this.path[e+1]&&"number"==typeof this.path[e+1].x){t=new s(this.path[e+1].x,this.path[e+1].y),this.path.push({type:"lt",x:t.x,y:t.y});break}"object"==typeof this.path[e+2]&&"number"==typeof this.path[e+2].x&&this.path.push(JSON.parse(JSON.stringify(this.path[e+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new s(t.x,t.y)},d.prototype.lineTo=function(t,e){if(isNaN(t)||isNaN(e))throw n.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var r=this.ctx.transform.applyToPoint(new s(t,e));this.path.push({type:"lt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(r.x,r.y)},d.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),S.call(this,null,!0)},d.prototype.quadraticCurveTo=function(t,e,r,i){if(isNaN(r)||isNaN(i)||isNaN(t)||isNaN(e))throw n.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var o=this.ctx.transform.applyToPoint(new s(r,i)),a=this.ctx.transform.applyToPoint(new s(t,e));this.path.push({type:"qct",x1:a.x,y1:a.y,x:o.x,y:o.y}),this.ctx.lastPoint=new s(o.x,o.y)},d.prototype.bezierCurveTo=function(t,e,r,i,o,a){if(isNaN(o)||isNaN(a)||isNaN(t)||isNaN(e)||isNaN(r)||isNaN(i))throw n.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var c=this.ctx.transform.applyToPoint(new s(o,a)),l=this.ctx.transform.applyToPoint(new s(t,e)),u=this.ctx.transform.applyToPoint(new s(r,i));this.path.push({type:"bct",x1:l.x,y1:l.y,x2:u.x,y2:u.y,x:c.x,y:c.y}),this.ctx.lastPoint=new s(c.x,c.y)},d.prototype.arc=function(t,e,r,i,o,a){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(i)||isNaN(o))throw n.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(a=Boolean(a),!this.ctx.transform.isIdentity){var c=this.ctx.transform.applyToPoint(new s(t,e));t=c.x,e=c.y;var l=this.ctx.transform.applyToPoint(new s(0,r)),u=this.ctx.transform.applyToPoint(new s(0,0));r=Math.sqrt(Math.pow(l.x-u.x,2)+Math.pow(l.y-u.y,2))}Math.abs(o-i)>=2*Math.PI&&(i=0,o=2*Math.PI),this.path.push({type:"arc",x:t,y:e,radius:r,startAngle:i,endAngle:o,counterclockwise:a})},d.prototype.arcTo=function(t,e,r,n,i){throw new Error("arcTo not implemented.")},d.prototype.rect=function(t,e,r,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(i))throw n.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(t,e),this.lineTo(t+r,e),this.lineTo(t+r,e+i),this.lineTo(t,e+i),this.lineTo(t,e),this.lineTo(t+r,e),this.lineTo(t,e)},d.prototype.fillRect=function(t,e,r,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(i))throw n.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!v.call(this)){var o={};"butt"!==this.lineCap&&(o.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(o.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(t,e,r,i),this.fill(),o.hasOwnProperty("lineCap")&&(this.lineCap=o.lineCap),o.hasOwnProperty("lineJoin")&&(this.lineJoin=o.lineJoin)}},d.prototype.strokeRect=function(t,e,r,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(i))throw n.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");g.call(this)||(this.beginPath(),this.rect(t,e,r,i),this.stroke())},d.prototype.clearRect=function(t,e,r,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(i))throw n.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(t,e,r,i))},d.prototype.save=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("q");if(this.pdf.setPage(e),t){this.ctx.fontSize=this.pdf.internal.getFontSize();var n=new h(this.ctx);this.ctxStack.push(this.ctx),this.ctx=n}},d.prototype.restore=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("Q");this.pdf.setPage(e),t&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin)},d.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var p=function(t){var e,r,n,i;if(!0===t.isCanvasGradient&&(t=t.getColor()),!t)return{r:0,g:0,b:0,a:0,style:t};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(t))e=0,r=0,n=0,i=0;else{var o=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(t);if(null!==o)e=parseInt(o[1]),r=parseInt(o[2]),n=parseInt(o[3]),i=1;else if(null!==(o=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(t)))e=parseInt(o[1]),r=parseInt(o[2]),n=parseInt(o[3]),i=parseFloat(o[4]);else{if(i=1,"string"==typeof t&&"#"!==t.charAt(0)){var a=new u(t);t=a.ok?a.toHex():"#000000"}4===t.length?(e=t.substring(1,2),e+=e,r=t.substring(2,3),r+=r,n=t.substring(3,4),n+=n):(e=t.substring(1,3),r=t.substring(3,5),n=t.substring(5,7)),e=parseInt(e,16),r=parseInt(r,16),n=parseInt(n,16)}}return{r:e,g:r,b:n,a:i,style:t}},v=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},g=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};d.prototype.fillText=function(t,e,r,i){if(isNaN(e)||isNaN(r)||"string"!=typeof t)throw n.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(i=isNaN(i)?void 0:i,!v.call(this)){r=k.call(this,r);var o=I(this.ctx.transform.rotation),a=this.ctx.transform.scaleX;O.call(this,{text:t,x:e,y:r,scale:a,angle:o,align:this.textAlign,maxWidth:i})}},d.prototype.strokeText=function(t,e,r,i){if(isNaN(e)||isNaN(r)||"string"!=typeof t)throw n.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!g.call(this)){i=isNaN(i)?void 0:i,r=k.call(this,r);var o=I(this.ctx.transform.rotation),a=this.ctx.transform.scaleX;O.call(this,{text:t,x:e,y:r,scale:a,renderingMode:"stroke",angle:o,align:this.textAlign,maxWidth:i})}},d.prototype.measureText=function(t){if("string"!=typeof t)throw n.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var e=this.pdf,r=this.pdf.internal.scaleFactor,i=e.internal.getFontSize(),o=e.getStringUnitWidth(t)*i/e.internal.scaleFactor;return new function(t){var e=(t=t||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return e}}),this}({width:o*=Math.round(96*r/72*1e4)/1e4})},d.prototype.scale=function(t,e){if(isNaN(t)||isNaN(e))throw n.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var r=new l(t,0,0,e,0,0);this.ctx.transform=this.ctx.transform.multiply(r)},d.prototype.rotate=function(t){if(isNaN(t))throw n.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var e=new l(Math.cos(t),Math.sin(t),-Math.sin(t),Math.cos(t),0,0);this.ctx.transform=this.ctx.transform.multiply(e)},d.prototype.translate=function(t,e){if(isNaN(t)||isNaN(e))throw n.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var r=new l(1,0,0,1,t,e);this.ctx.transform=this.ctx.transform.multiply(r)},d.prototype.transform=function(t,e,r,i,o,a){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(i)||isNaN(o)||isNaN(a))throw n.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var s=new l(t,e,r,i,o,a);this.ctx.transform=this.ctx.transform.multiply(s)},d.prototype.setTransform=function(t,e,r,n,i,o){t=isNaN(t)?1:t,e=isNaN(e)?0:e,r=isNaN(r)?0:r,n=isNaN(n)?1:n,i=isNaN(i)?0:i,o=isNaN(o)?0:o,this.ctx.transform=new l(t,e,r,n,i,o)},d.prototype.drawImage=function(t,e,r,n,i,o,a,s,u){var f=this.pdf.getImageProperties(t),h=1,d=1,p=1,v=1;void 0!==n&&void 0!==s&&(p=s/n,v=u/i,h=f.width/n*s/n,d=f.height/i*u/i),void 0===o&&(o=e,a=r,e=0,r=0),void 0!==n&&void 0===s&&(s=n,u=i),void 0===n&&void 0===s&&(s=f.width,u=f.height);for(var g,b=this.ctx.transform.decompose(),S=I(b.rotate.shx),k=new l,T=(k=(k=(k=k.multiply(b.translate)).multiply(b.skew)).multiply(b.scale)).applyToRectangle(new c(o-e*p,a-r*v,n*h,i*d)),A=m.call(this,T),E=[],_=0;_<A.length;_+=1)-1===E.indexOf(A[_])&&E.push(A[_]);if(w(E),this.autoPaging)for(var O=E[0],N=E[E.length-1],C=O;C<N+1;C++){if(this.pdf.setPage(C),0!==this.ctx.clip_path.length){var R=this.path;g=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(g,this.posX,-1*this.pdf.internal.pageSize.height*(C-1)+this.posY),x.call(this,"fill",!0),this.path=R}var P=JSON.parse(JSON.stringify(T));P=y([P],this.posX,-1*this.pdf.internal.pageSize.height*(C-1)+this.posY)[0],this.pdf.addImage(t,"JPEG",P.x,P.y,P.w,P.h,null,null,S)}else this.pdf.addImage(t,"JPEG",T.x,T.y,T.w,T.h,null,null,S)};var m=function(t,e,r){var n=[];switch(e=e||this.pdf.internal.pageSize.width,r=r||this.pdf.internal.pageSize.height,t.type){default:case"mt":case"lt":n.push(Math.floor((t.y+this.posY)/r)+1);break;case"arc":n.push(Math.floor((t.y+this.posY-t.radius)/r)+1),n.push(Math.floor((t.y+this.posY+t.radius)/r)+1);break;case"qct":var i=F(this.ctx.lastPoint.x,this.ctx.lastPoint.y,t.x1,t.y1,t.x,t.y);n.push(Math.floor(i.y/r)+1),n.push(Math.floor((i.y+i.h)/r)+1);break;case"bct":var o=j(this.ctx.lastPoint.x,this.ctx.lastPoint.y,t.x1,t.y1,t.x2,t.y2,t.x,t.y);n.push(Math.floor(o.y/r)+1),n.push(Math.floor((o.y+o.h)/r)+1);break;case"rect":n.push(Math.floor((t.y+this.posY)/r)+1),n.push(Math.floor((t.y+t.h+this.posY)/r)+1)}for(var a=0;a<n.length;a+=1)for(;this.pdf.internal.getNumberOfPages()<n[a];)b.call(this);return n},b=function(){var t=this.fillStyle,e=this.strokeStyle,r=this.font,n=this.lineCap,i=this.lineWidth,o=this.lineJoin;this.pdf.addPage(),this.fillStyle=t,this.strokeStyle=e,this.font=r,this.lineCap=n,this.lineWidth=i,this.lineJoin=o},y=function(t,e,r){for(var n=0;n<t.length;n++)switch(t[n].type){case"bct":t[n].x2+=e,t[n].y2+=r;case"qct":t[n].x1+=e,t[n].y1+=r;default:t[n].x+=e,t[n].y+=r}return t},w=function(t){return t.sort((function(t,e){return t-e}))},S=function(t,e){for(var r,n,i=this.fillStyle,o=this.strokeStyle,a=this.lineCap,s=this.lineWidth,c=s*this.ctx.transform.scaleX,l=this.lineJoin,u=JSON.parse(JSON.stringify(this.path)),f=JSON.parse(JSON.stringify(this.path)),h=[],d=0;d<f.length;d++)if(void 0!==f[d].x)for(var p=m.call(this,f[d]),v=0;v<p.length;v+=1)-1===h.indexOf(p[v])&&h.push(p[v]);for(var g=0;g<h.length;g++)for(;this.pdf.internal.getNumberOfPages()<h[g];)b.call(this);if(w(h),this.autoPaging)for(var S=h[0],k=h[h.length-1],T=S;T<k+1;T++){if(this.pdf.setPage(T),this.fillStyle=i,this.strokeStyle=o,this.lineCap=a,this.lineWidth=c,this.lineJoin=l,0!==this.ctx.clip_path.length){var A=this.path;r=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(r,this.posX,-1*this.pdf.internal.pageSize.height*(T-1)+this.posY),x.call(this,t,!0),this.path=A}n=JSON.parse(JSON.stringify(u)),this.path=y(n,this.posX,-1*this.pdf.internal.pageSize.height*(T-1)+this.posY),!1!==e&&0!==T||x.call(this,t,e),this.lineWidth=s}else this.lineWidth=c,x.call(this,t,e),this.lineWidth=s;this.path=u},x=function(t,e){if(("stroke"!==t||e||!g.call(this))&&("stroke"===t||e||!v.call(this))){for(var r,n,i=[],o=this.path,a=0;a<o.length;a++){var s=o[a];switch(s.type){case"begin":i.push({begin:!0});break;case"close":i.push({close:!0});break;case"mt":i.push({start:s,deltas:[],abs:[]});break;case"lt":var c=i.length;if(!isNaN(o[a-1].x)&&(r=[s.x-o[a-1].x,s.y-o[a-1].y],c>0))for(;c>=0;c--)if(!0!==i[c-1].close&&!0!==i[c-1].begin){i[c-1].deltas.push(r),i[c-1].abs.push(s);break}break;case"bct":r=[s.x1-o[a-1].x,s.y1-o[a-1].y,s.x2-o[a-1].x,s.y2-o[a-1].y,s.x-o[a-1].x,s.y-o[a-1].y],i[i.length-1].deltas.push(r);break;case"qct":var l=o[a-1].x+2/3*(s.x1-o[a-1].x),u=o[a-1].y+2/3*(s.y1-o[a-1].y),f=s.x+2/3*(s.x1-s.x),h=s.y+2/3*(s.y1-s.y),d=s.x,p=s.y;r=[l-o[a-1].x,u-o[a-1].y,f-o[a-1].x,h-o[a-1].y,d-o[a-1].x,p-o[a-1].y],i[i.length-1].deltas.push(r);break;case"arc":i.push({deltas:[],abs:[],arc:!0}),Array.isArray(i[i.length-1].abs)&&i[i.length-1].abs.push(s)}}n=e?null:"stroke"===t?"stroke":"fill";for(var m=0;m<i.length;m++){if(i[m].arc){for(var b=i[m].abs,y=0;y<b.length;y++){var w=b[y];"arc"===w.type?T.call(this,w.x,w.y,w.radius,w.startAngle,w.endAngle,w.counterclockwise,void 0,e):N.call(this,w.x,w.y)}A.call(this,n),this.pdf.internal.out("h")}if(!i[m].arc&&!0!==i[m].close&&!0!==i[m].begin){var S=i[m].start.x,x=i[m].start.y;C.call(this,i[m].deltas,S,x)}}n&&A.call(this,n),e&&E.call(this)}},k=function(t){var e=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,r=e*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return t-r;case"top":return t+e-r;case"hanging":return t+e-2*r;case"middle":return t+e/2-r;default:return t}};d.prototype.createLinearGradient=function(){var t=function(){};return t.colorStops=[],t.addColorStop=function(t,e){this.colorStops.push([t,e])},t.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},t.isCanvasGradient=!0,t},d.prototype.createPattern=function(){return this.createLinearGradient()},d.prototype.createRadialGradient=function(){return this.createLinearGradient()};var T=function(t,e,r,n,i,o,a,s){for(var c=P.call(this,r,n,i,o),l=0;l<c.length;l++){var u=c[l];0===l&&_.call(this,u.x1+t,u.y1+e),R.call(this,t,e,u.x2,u.y2,u.x3,u.y3,u.x4,u.y4)}s?E.call(this):A.call(this,a)},A=function(t){switch(t){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},E=function(){this.pdf.clip(),this.pdf.discardPath()},_=function(t,e){this.pdf.internal.out(r(t)+" "+i(e)+" m")},O=function(t){var e;switch(t.align){case"right":case"end":e="right";break;case"center":e="center";break;default:e="left"}var r=this.ctx.transform.applyToPoint(new s(t.x,t.y)),n=this.ctx.transform.decompose(),i=new l;i=(i=(i=i.multiply(n.translate)).multiply(n.skew)).multiply(n.scale);for(var o,a,u,f=this.pdf.getTextDimensions(t.text),h=this.ctx.transform.applyToRectangle(new c(t.x,t.y,f.w,f.h)),d=i.applyToRectangle(new c(t.x,t.y-f.h,f.w,f.h)),p=m.call(this,d),v=[],g=0;g<p.length;g+=1)-1===v.indexOf(p[g])&&v.push(p[g]);if(w(v),!0===this.autoPaging)for(var b=v[0],S=v[v.length-1],k=b;k<S+1;k++){if(this.pdf.setPage(k),0!==this.ctx.clip_path.length){var T=this.path;o=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(o,this.posX,-1*this.pdf.internal.pageSize.height*(k-1)+this.posY),x.call(this,"fill",!0),this.path=T}var A=JSON.parse(JSON.stringify(h));A=y([A],this.posX,-1*this.pdf.internal.pageSize.height*(k-1)+this.posY)[0],t.scale>=.01&&(a=this.pdf.internal.getFontSize(),this.pdf.setFontSize(a*t.scale),u=this.lineWidth,this.lineWidth=u*t.scale),this.pdf.text(t.text,A.x,A.y,{angle:t.angle,align:e,renderingMode:t.renderingMode,maxWidth:t.maxWidth}),t.scale>=.01&&(this.pdf.setFontSize(a),this.lineWidth=u)}else t.scale>=.01&&(a=this.pdf.internal.getFontSize(),this.pdf.setFontSize(a*t.scale),u=this.lineWidth,this.lineWidth=u*t.scale),this.pdf.text(t.text,r.x+this.posX,r.y+this.posY,{angle:t.angle,align:e,renderingMode:t.renderingMode,maxWidth:t.maxWidth}),t.scale>=.01&&(this.pdf.setFontSize(a),this.lineWidth=u)},N=function(t,e,n,o){n=n||0,o=o||0,this.pdf.internal.out(r(t+n)+" "+i(e+o)+" l")},C=function(t,e,r){return this.pdf.lines(t,e,r,null,null)},R=function(t,r,n,i,s,c,l,u){this.pdf.internal.out([e(o(n+t)),e(a(i+r)),e(o(s+t)),e(a(c+r)),e(o(l+t)),e(a(u+r)),"c"].join(" "))},P=function(t,e,r,n){for(var i=2*Math.PI,o=Math.PI/2;e>r;)e-=i;var a=Math.abs(r-e);a<i&&n&&(a=i-a);for(var s=[],c=n?-1:1,l=e;a>1e-5;){var u=l+c*Math.min(a,o);s.push(L.call(this,t,l,u)),a-=Math.abs(u-l),l=u}return s},L=function(t,e,r){var n=(r-e)/2,i=t*Math.cos(n),o=t*Math.sin(n),a=i,s=-o,c=a*a+s*s,l=c+a*i+s*o,u=4/3*(Math.sqrt(2*c*l)-l)/(a*o-s*i),f=a-u*s,h=s+u*a,d=f,p=-h,v=n+e,g=Math.cos(v),m=Math.sin(v);return{x1:t*Math.cos(e),y1:t*Math.sin(e),x2:f*g-h*m,y2:f*m+h*g,x3:d*g-p*m,y3:d*m+p*g,x4:t*Math.cos(r),y4:t*Math.sin(r)}},I=function(t){return 180*t/Math.PI},F=function(t,e,r,n,i,o){var a=t+.5*(r-t),s=e+.5*(n-e),l=i+.5*(r-i),u=o+.5*(n-o),f=Math.min(t,i,a,l),h=Math.max(t,i,a,l),d=Math.min(e,o,s,u),p=Math.max(e,o,s,u);return new c(f,d,h-f,p-d)},j=function(t,e,r,n,i,o,a,s){var l,u,f,h,d,p,v,g,m,b,y,w,S,x,k=r-t,T=n-e,A=i-r,E=o-n,_=a-i,O=s-o;for(u=0;u<41;u++)m=(v=(f=t+(l=u/40)*k)+l*((d=r+l*A)-f))+l*(d+l*(i+l*_-d)-v),b=(g=(h=e+l*T)+l*((p=n+l*E)-h))+l*(p+l*(o+l*O-p)-g),0==u?(y=m,w=b,S=m,x=b):(y=Math.min(y,m),w=Math.min(w,b),S=Math.max(S,m),x=Math.max(x,b));return new c(Math.round(y),Math.round(w),Math.round(S-y),Math.round(x-w))}}(P.API);try{require("worker_threads").Worker}catch(t){}var Ft=Uint8Array,jt=Uint16Array,Dt=Uint32Array,Mt=new Ft([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Bt=new Ft([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Wt=new Ft([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ut=function(t,e){for(var r=new jt(31),n=0;n<31;++n)r[n]=e+=1<<t[n-1];var i=new Dt(r[30]);for(n=1;n<30;++n)for(var o=r[n];o<r[n+1];++o)i[o]=o-r[n]<<5|n;return[r,i]},Ht=Ut(Mt,2),zt=Ht[0],Vt=Ht[1];zt[28]=258,Vt[258]=28;for(var qt=Ut(Bt,0),$t=qt[0],Gt=qt[1],Xt=new jt(32768),Yt=0;Yt<32768;++Yt){var Kt=(43690&Yt)>>>1|(21845&Yt)<<1;Kt=(61680&(Kt=(52428&Kt)>>>2|(13107&Kt)<<2))>>>4|(3855&Kt)<<4,Xt[Yt]=((65280&Kt)>>>8|(255&Kt)<<8)>>>1}var Jt=function(t,e,r){for(var n=t.length,i=0,o=new jt(e);i<n;++i)++o[t[i]-1];var a,s=new jt(e);for(i=0;i<e;++i)s[i]=s[i-1]+o[i-1]<<1;if(r){a=new jt(1<<e);var c=15-e;for(i=0;i<n;++i)if(t[i])for(var l=i<<4|t[i],u=e-t[i],f=s[t[i]-1]++<<u,h=f|(1<<u)-1;f<=h;++f)a[Xt[f]>>>c]=l}else for(a=new jt(n),i=0;i<n;++i)a[i]=Xt[s[t[i]-1]++]>>>15-t[i];return a},Zt=new Ft(288);for(Yt=0;Yt<144;++Yt)Zt[Yt]=8;for(Yt=144;Yt<256;++Yt)Zt[Yt]=9;for(Yt=256;Yt<280;++Yt)Zt[Yt]=7;for(Yt=280;Yt<288;++Yt)Zt[Yt]=8;var Qt=new Ft(32);for(Yt=0;Yt<32;++Yt)Qt[Yt]=5;var te=Jt(Zt,9,0),ee=Jt(Zt,9,1),re=Jt(Qt,5,0),ne=Jt(Qt,5,1),ie=function(t){for(var e=t[0],r=1;r<t.length;++r)t[r]>e&&(e=t[r]);return e},oe=function(t,e,r){var n=e/8|0;return(t[n]|t[n+1]<<8)>>>(7&e)&r},ae=function(t,e){var r=e/8|0;return(t[r]|t[r+1]<<8|t[r+2]<<16)>>>(7&e)},se=function(t){return(t/8|0)+(7&t&&1)},ce=function(t,e,r){(null==e||e<0)&&(e=0),(null==r||r>t.length)&&(r=t.length);var n=new(t instanceof jt?jt:t instanceof Dt?Dt:Ft)(r-e);return n.set(t.subarray(e,r)),n},le=function(t,e,r){r<<=7&e;var n=e/8|0;t[n]|=r,t[n+1]|=r>>>8},ue=function(t,e,r){r<<=7&e;var n=e/8|0;t[n]|=r,t[n+1]|=r>>>8,t[n+2]|=r>>>16},fe=function(t,e){for(var r=[],n=0;n<t.length;++n)t[n]&&r.push({s:n,f:t[n]});var i=r.length,o=r.slice();if(!i)return[new Ft(0),0];if(1==i){var a=new Ft(r[0].s+1);return a[r[0].s]=1,[a,1]}r.sort((function(t,e){return t.f-e.f})),r.push({s:-1,f:25001});var s=r[0],c=r[1],l=0,u=1,f=2;for(r[0]={s:-1,f:s.f+c.f,l:s,r:c};u!=i-1;)s=r[r[l].f<r[f].f?l++:f++],c=r[l!=u&&r[l].f<r[f].f?l++:f++],r[u++]={s:-1,f:s.f+c.f,l:s,r:c};var h=o[0].s;for(n=1;n<i;++n)o[n].s>h&&(h=o[n].s);var d=new jt(h+1),p=he(r[u-1],d,0);if(p>e){n=0;var v=0,g=p-e,m=1<<g;for(o.sort((function(t,e){return d[e.s]-d[t.s]||t.f-e.f}));n<i;++n){var b=o[n].s;if(!(d[b]>e))break;v+=m-(1<<p-d[b]),d[b]=e}for(v>>>=g;v>0;){var y=o[n].s;d[y]<e?v-=1<<e-d[y]++-1:++n}for(;n>=0&&v;--n){var w=o[n].s;d[w]==e&&(--d[w],++v)}p=e}return[new Ft(d),p]},he=function(t,e,r){return-1==t.s?Math.max(he(t.l,e,r+1),he(t.r,e,r+1)):e[t.s]=r},de=function(t){for(var e=t.length;e&&!t[--e];);for(var r=new jt(++e),n=0,i=t[0],o=1,a=function(t){r[n++]=t},s=1;s<=e;++s)if(t[s]==i&&s!=e)++o;else{if(!i&&o>2){for(;o>138;o-=138)a(32754);o>2&&(a(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(a(i),--o;o>6;o-=6)a(8304);o>2&&(a(o-3<<5|8208),o=0)}for(;o--;)a(i);o=1,i=t[s]}return[r.subarray(0,n),e]},pe=function(t,e){for(var r=0,n=0;n<e.length;++n)r+=t[n]*e[n];return r},ve=function(t,e,r){var n=r.length,i=se(e+2);t[i]=255&n,t[i+1]=n>>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var o=0;o<n;++o)t[i+o+4]=r[o];return 8*(i+4+n)},ge=function(t,e,r,n,i,o,a,s,c,l,u){le(e,u++,r),++i[256];for(var f=fe(i,15),h=f[0],d=f[1],p=fe(o,15),v=p[0],g=p[1],m=de(h),b=m[0],y=m[1],w=de(v),S=w[0],x=w[1],k=new jt(19),T=0;T<b.length;++T)k[31&b[T]]++;for(T=0;T<S.length;++T)k[31&S[T]]++;for(var A=fe(k,7),E=A[0],_=A[1],O=19;O>4&&!E[Wt[O-1]];--O);var N,C,R,P,L=l+5<<3,I=pe(i,Zt)+pe(o,Qt)+a,F=pe(i,h)+pe(o,v)+a+14+3*O+pe(k,E)+(2*k[16]+3*k[17]+7*k[18]);if(L<=I&&L<=F)return ve(e,u,t.subarray(c,c+l));if(le(e,u,1+(F<I)),u+=2,F<I){N=Jt(h,d,0),C=h,R=Jt(v,g,0),P=v;var j=Jt(E,_,0);for(le(e,u,y-257),le(e,u+5,x-1),le(e,u+10,O-4),u+=14,T=0;T<O;++T)le(e,u+3*T,E[Wt[T]]);u+=3*O;for(var D=[b,S],M=0;M<2;++M){var B=D[M];for(T=0;T<B.length;++T){var W=31&B[T];le(e,u,j[W]),u+=E[W],W>15&&(le(e,u,B[T]>>>5&127),u+=B[T]>>>12)}}}else N=te,C=Zt,R=re,P=Qt;for(T=0;T<s;++T)if(n[T]>255){W=n[T]>>>18&31,ue(e,u,N[W+257]),u+=C[W+257],W>7&&(le(e,u,n[T]>>>23&31),u+=Mt[W]);var U=31&n[T];ue(e,u,R[U]),u+=P[U],U>3&&(ue(e,u,n[T]>>>5&8191),u+=Bt[U])}else ue(e,u,N[n[T]]),u+=C[n[T]];return ue(e,u,N[256]),u+C[256]},me=new Dt([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),be=new Ft(0);function ye(t,e){void 0===e&&(e={});var r=function(){var t=1,e=0;return{p:function(r){for(var n=t,i=e,o=r.length,a=0;a!=o;){for(var s=Math.min(a+5552,o);a<s;++a)i+=n+=r[a];n%=65521,i%=65521}t=n,e=i},d:function(){return(t>>>8<<16|(255&e)<<8|e>>>8)+2*((255&t)<<23)}}}();r.p(t);var n=function(t,e,r,n,i){return function(t,e,r,n,i,o){var a=t.length,s=new Ft(n+a+5*(1+Math.floor(a/7e3))+i),c=s.subarray(n,s.length-i),l=0;if(!e||a<8)for(var u=0;u<=a;u+=65535){var f=u+65535;f<a?l=ve(c,l,t.subarray(u,f)):(c[u]=o,l=ve(c,l,t.subarray(u,a)))}else{for(var h=me[e-1],d=h>>>13,p=8191&h,v=(1<<r)-1,g=new jt(32768),m=new jt(v+1),b=Math.ceil(r/3),y=2*b,w=function(e){return(t[e]^t[e+1]<<b^t[e+2]<<y)&v},S=new Dt(25e3),x=new jt(288),k=new jt(32),T=0,A=0,E=(u=0,0),_=0,O=0;u<a;++u){var N=w(u),C=32767&u,R=m[N];if(g[C]=R,m[N]=C,_<=u){var P=a-u;if((T>7e3||E>24576)&&P>423){l=ge(t,c,0,S,x,k,A,E,O,u-O,l),E=T=A=0,O=u;for(var L=0;L<286;++L)x[L]=0;for(L=0;L<30;++L)k[L]=0}var I=2,F=0,j=p,D=C-R&32767;if(P>2&&N==w(u-D))for(var M=Math.min(d,P)-1,B=Math.min(32767,u),W=Math.min(258,P);D<=B&&--j&&C!=R;){if(t[u+I]==t[u+I-D]){for(var U=0;U<W&&t[u+U]==t[u+U-D];++U);if(U>I){if(I=U,F=D,U>M)break;var H=Math.min(D,U-2),z=0;for(L=0;L<H;++L){var V=u-D+L+32768&32767,q=V-g[V]+32768&32767;q>z&&(z=q,R=V)}}}D+=(C=R)-(R=g[C])+32768&32767}if(F){S[E++]=268435456|Vt[I]<<18|Gt[F];var $=31&Vt[I],G=31&Gt[F];A+=Mt[$]+Bt[G],++x[257+$],++k[G],_=u+I,++T}else S[E++]=t[u],++x[t[u]]}}l=ge(t,c,o,S,x,k,A,E,O,u-O,l),o||(l=ve(c,l,be))}return ce(s,0,n+se(l)+i)}(t,null==e.level?6:e.level,null==e.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(t.length)))):12+e.mem,r,n,!i)}(t,e,2,4);return function(t,e){var r=e.level,n=0==r?0:r<6?1:9==r?3:2;t[0]=120,t[1]=n<<6|(n?32-2*n:1)}(n,e),function(t,e,r){for(;r;++e)t[e]=r,r>>>=8}(n,n.length-4,r.d()),n}!function(t){var e=function(t){var e,r,n,i,o,a,s,c,l,u;for(/[^\x00-\xFF]/.test(t),r=[],n=0,i=(t+=e="\0\0\0\0".slice(t.length%4||4)).length;i>n;n+=4)0!==(o=(t.charCodeAt(n)<<24)+(t.charCodeAt(n+1)<<16)+(t.charCodeAt(n+2)<<8)+t.charCodeAt(n+3))?(a=(o=((o=((o=((o=(o-(u=o%85))/85)-(l=o%85))/85)-(c=o%85))/85)-(s=o%85))/85)%85,r.push(a+33,s+33,c+33,l+33,u+33)):r.push(122);return function(t,e){for(var r=e;r>0;r--)t.pop()}(r,e.length),String.fromCharCode.apply(String,r)+"~>"},r=function(t){var e,r,n,i,o,a=String,s="length",c=255,l="charCodeAt",u="slice",f="replace";for(t[u](-2),t=t[u](0,-2)[f](/\s/g,"")[f]("z","!!!!!"),n=[],i=0,o=(t+=e="uuuuu"[u](t[s]%5||5))[s];o>i;i+=5)r=52200625*(t[l](i)-33)+614125*(t[l](i+1)-33)+7225*(t[l](i+2)-33)+85*(t[l](i+3)-33)+(t[l](i+4)-33),n.push(c&r>>24,c&r>>16,c&r>>8,c&r);return function(t,e){for(var r=e;r>0;r--)t.pop()}(n,e[s]),a.fromCharCode.apply(a,n)},n=function(t){var e=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(t=t.replace(/\s/g,"")).indexOf(">")&&(t=t.substr(0,t.indexOf(">"))),t.length%2&&(t+="0"),!1===e.test(t))return"";for(var r="",n=0;n<t.length;n+=2)r+=String.fromCharCode("0x"+(t[n]+t[n+1]));return r},i=function(t){for(var e=new Uint8Array(t.length),r=t.length;r--;)e[r]=t.charCodeAt(r);return(e=ye(e)).reduce((function(t,e){return t+String.fromCharCode(e)}),"")};t.processDataByFilters=function(t,o){var a=0,s=t||"",c=[];for("string"==typeof(o=o||[])&&(o=[o]),a=0;a<o.length;a+=1)switch(o[a]){case"ASCII85Decode":case"/ASCII85Decode":s=r(s),c.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":s=e(s),c.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":s=n(s),c.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":s=s.split("").map((function(t){return("0"+t.charCodeAt().toString(16)).slice(-2)})).join("")+">",c.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":s=i(s),c.push("/FlateDecode");break;default:throw new Error('The filter: "'+o[a]+'" is not implemented')}return{data:s,reverseChain:c.reverse().join(" ")}}}(P.API),function(t){t.loadFile=function(t,e,r){return function(t,e,r){e=!1!==e,r="function"==typeof r?r:function(){};var n=void 0;try{n=function(t,e,r){var n=new XMLHttpRequest,i=0,o=function(t){var e=t.length,r=[],n=String.fromCharCode;for(i=0;i<e;i+=1)r.push(n(255&t.charCodeAt(i)));return r.join("")};if(n.open("GET",t,!e),n.overrideMimeType("text/plain; charset=x-user-defined"),!1===e&&(n.onload=function(){200===n.status?r(o(this.responseText)):r(void 0)}),n.send(null),e&&200===n.status)return o(n.responseText)}(t,e,r)}catch(t){}return n}(t,e,r)},t.loadImageFile=t.loadFile}(P.API),function(r){function n(){return(e.html2canvas?Promise.resolve(e.html2canvas):"object"==typeof t&&"undefined"!=typeof module?new Promise((function(t,e){try{t(require("html2canvas"))}catch(t){e(t)}})):"function"==typeof define&&define.amd?new Promise((function(t,e){try{require(["html2canvas"],t)}catch(t){e(t)}})):Promise.reject(new Error("Could not load html2canvas"))).catch((function(t){return Promise.reject(new Error("Could not load html2canvas: "+t))})).then((function(t){return t.default?t.default:t}))}function i(){return(e.DOMPurify?Promise.resolve(e.DOMPurify):"object"==typeof t&&"undefined"!=typeof module?new Promise((function(t,e){try{t(require("dompurify"))}catch(t){e(t)}})):"function"==typeof define&&define.amd?new Promise((function(t,e){try{require(["dompurify"],t)}catch(t){e(t)}})):Promise.reject(new Error("Could not load dompurify"))).catch((function(t){return Promise.reject(new Error("Could not load dompurify: "+t))})).then((function(t){return t.default?t.default:t}))}var o=function(t){var e=typeof t;return"undefined"===e?"undefined":"string"===e||t instanceof String?"string":"number"===e||t instanceof Number?"number":"function"===e||t instanceof Function?"function":t&&t.constructor===Array?"array":t&&1===t.nodeType?"element":"object"===e?"object":"unknown"},a=function(t,e){var r=document.createElement(t);for(var n in e.className&&(r.className=e.className),e.innerHTML&&e.dompurify&&(r.innerHTML=e.dompurify.sanitize(e.innerHTML)),e.style)r.style[n]=e.style[n];return r},s=function(t,e){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),n=t.firstChild;n;n=n.nextSibling)!0!==e&&1===n.nodeType&&"SCRIPT"===n.nodeName||r.appendChild(s(n,e));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",(function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft}),!0)),r},c=function t(e){var r=Object.assign(t.convert(Promise.resolve()),JSON.parse(JSON.stringify(t.template))),n=t.convert(Promise.resolve(),r);return(n=n.setProgress(1,t,1,[t])).set(e)};(c.prototype=Object.create(Promise.prototype)).constructor=c,c.convert=function(t,e){return t.__proto__=e||c.prototype,t},c.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},c.prototype.from=function(t,e){return this.then((function(){switch(e=e||function(t){switch(o(t)){case"string":return"string";case"element":return"canvas"===t.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(t)){case"string":return this.then(i).then((function(e){return this.set({src:a("div",{innerHTML:t,dompurify:e})})}));case"element":return this.set({src:t});case"canvas":return this.set({canvas:t});case"img":return this.set({img:t});default:return this.error("Unknown source type.")}}))},c.prototype.to=function(t){switch(t){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},c.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var t={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},e=s(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===e.tagName&&(t.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=a("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=a("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(e),this.prop.container.firstChild.appendChild(a("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"}))},c.prototype.toCanvas=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).then(n).then((function(t){var e=Object.assign({},this.opt.html2canvas);return delete e.onrendered,t(this.prop.container,e)})).then((function(t){(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay)}))},c.prototype.toContext2d=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).then(n).then((function(t){var e=this.opt.jsPDF,r=this.opt.fontFaces,n=Object.assign({async:!0,allowTaint:!0,scale:1,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete n.onrendered,e.context2d.autoPaging=!0,e.context2d.posX=this.opt.x,e.context2d.posY=this.opt.y,e.context2d.fontFaces=r,r)for(var i=0;i<r.length;++i){var o=r[i],a=o.src.find((function(t){return"truetype"===t.format}));a&&e.addFont(a.url,o.ref.name,o.ref.style)}return n.windowHeight=n.windowHeight||0,n.windowHeight=0==n.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):n.windowHeight,t(this.prop.container,n)})).then((function(t){(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay)}))},c.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var t=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=t}))},c.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},c.prototype.output=function(t,e,r){return"img"===(r=r||"pdf").toLowerCase()||"image"===r.toLowerCase()?this.outputImg(t,e):this.outputPdf(t,e)},c.prototype.outputPdf=function(t,e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(t,e)}))},c.prototype.outputImg=function(t){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(t){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+t+'" is not supported.'}}))},c.prototype.save=function(t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(t?{filename:t}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},c.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},c.prototype.set=function(t){if("object"!==o(t))return this;var e=Object.keys(t||{}).map((function(e){if(e in c.template.prop)return function(){this.prop[e]=t[e]};switch(e){case"margin":return this.setMargin.bind(this,t.margin);case"jsPDF":return function(){return this.opt.jsPDF=t.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,t.pageSize);default:return function(){this.opt[e]=t[e]}}}),this);return this.then((function(){return this.thenList(e)}))},c.prototype.get=function(t,e){return this.then((function(){var r=t in c.template.prop?this.prop[t]:this.opt[t];return e?e(r):r}))},c.prototype.setMargin=function(t){return this.then((function(){switch(o(t)){case"number":t=[t,t,t,t];case"array":if(2===t.length&&(t=[t[0],t[1],t[0],t[1]]),4===t.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=t})).then(this.setPageSize)},c.prototype.setPageSize=function(t){function e(t,e){return Math.floor(t*e/72*96)}return this.then((function(){(t=t||P.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(t.inner={width:t.width-this.opt.margin[1]-this.opt.margin[3],height:t.height-this.opt.margin[0]-this.opt.margin[2]},t.inner.px={width:e(t.inner.width,t.k),height:e(t.inner.height,t.k)},t.inner.ratio=t.inner.height/t.inner.width),this.prop.pageSize=t}))},c.prototype.setProgress=function(t,e,r,n){return null!=t&&(this.progress.val=t),null!=e&&(this.progress.state=e),null!=r&&(this.progress.n=r),null!=n&&(this.progress.stack=n),this.progress.ratio=this.progress.val/this.progress.state,this},c.prototype.updateProgress=function(t,e,r,n){return this.setProgress(t?this.progress.val+t:null,e||null,r?this.progress.n+r:null,n?this.progress.stack.concat(n):null)},c.prototype.then=function(t,e){var r=this;return this.thenCore(t,e,(function(t,e){return r.updateProgress(null,null,1,[t]),Promise.prototype.then.call(this,(function(e){return r.updateProgress(null,t),e})).then(t,e).then((function(t){return r.updateProgress(1),t}))}))},c.prototype.thenCore=function(t,e,r){r=r||Promise.prototype.then,t&&(t=t.bind(this)),e&&(e=e.bind(this));var n=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:c.convert(Object.assign({},this),Promise.prototype),i=r.call(n,t,e);return c.convert(i,this.__proto__)},c.prototype.thenExternal=function(t,e){return Promise.prototype.then.call(this,t,e)},c.prototype.thenList=function(t){var e=this;return t.forEach((function(t){e=e.thenCore(t)})),e},c.prototype.catch=function(t){t&&(t=t.bind(this));var e=Promise.prototype.catch.call(this,t);return c.convert(e,this)},c.prototype.catchExternal=function(t){return Promise.prototype.catch.call(this,t)},c.prototype.error=function(t){return this.then((function(){throw new Error(t)}))},c.prototype.using=c.prototype.set,c.prototype.saveAs=c.prototype.save,c.prototype.export=c.prototype.output,c.prototype.run=c.prototype.then,P.getPageSize=function(t,e,r){if("object"==typeof t){var n=t;t=n.orientation,e=n.unit||e,r=n.format||r}e=e||"mm",r=r||"a4",t=(""+(t||"P")).toLowerCase();var i,o=(""+r).toLowerCase(),a={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(e){case"pt":i=1;break;case"mm":i=72/25.4;break;case"cm":i=72/2.54;break;case"in":i=72;break;case"px":i=.75;break;case"pc":case"em":i=12;break;case"ex":i=6;break;default:throw"Invalid unit: "+e}var s,c=0,l=0;if(a.hasOwnProperty(o))c=a[o][1]/i,l=a[o][0]/i;else try{c=r[1],l=r[0]}catch(t){throw new Error("Invalid format: "+r)}if("p"===t||"portrait"===t)t="p",l>c&&(s=l,l=c,c=s);else{if("l"!==t&&"landscape"!==t)throw"Invalid orientation: "+t;t="l",c>l&&(s=l,l=c,c=s)}return{width:l,height:c,unit:e,k:i,orientation:t}},r.html=function(t,e){(e=e||{}).callback=e.callback||function(){},e.html2canvas=e.html2canvas||{},e.html2canvas.canvas=e.html2canvas.canvas||this.canvas,e.jsPDF=e.jsPDF||this,e.fontFaces=e.fontFaces?e.fontFaces.map(Et):null;var r=new c(e);return e.worker?r:r.from(t).doCallback()}}(P.API),function(t){var e,r,n;t.addJS=function(t){return n=t,this.internal.events.subscribe("postPutResources",(function(){e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(e+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+n+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==e&&void 0!==r&&this.internal.out("/Names <</JavaScript "+e+" 0 R>>")})),this}}(P.API),function(t){var e;t.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=t.outline.render().split(/\r\n/),i=0;i<n.length;i++){var o=n[i],a=r.exec(o);if(null!=a){var s=a[1];t.internal.newObjectDeferredBegin(s,!1)}t.internal.write(o)}if(this.outline.createNamedDestinations){var c=this.internal.pages.length,l=[];for(i=0;i<c;i++){var u=t.internal.newObject();l.push(u);var f=t.internal.getPageInfo(i+1);t.internal.write("<< /D["+f.objId+" 0 R /XYZ null null null]>> endobj")}var h=t.internal.newObject();for(t.internal.write("<< /Names [ "),i=0;i<l.length;i++)t.internal.write("(page_"+(i+1)+")"+l[i]+" 0 R");t.internal.write(" ] >>","endobj"),e=t.internal.newObject(),t.internal.write("<< /Dests "+h+" 0 R"),t.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+e+" 0 R"))}]),t.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(t,e,r){var n={title:e,options:r,children:[]};return null==t&&(t=this.root),t.children.push(n),n},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(e){e.id=t.internal.newObjectDeferred();for(var r=0;r<e.children.length;r++)this.genIds_r(e.children[r])},t.outline.renderRoot=function(t){this.objStart(t),this.line("/Type /Outlines"),t.children.length>0&&(this.line("/First "+this.makeRef(t.children[0])),this.line("/Last "+this.makeRef(t.children[t.children.length-1]))),this.line("/Count "+this.count_r({count:0},t)),this.objEnd()},t.outline.renderItems=function(e){for(var r=this.ctx.pdf.internal.getVerticalCoordinateString,n=0;n<e.children.length;n++){var i=e.children[n];this.objStart(i),this.line("/Title "+this.makeString(i.title)),this.line("/Parent "+this.makeRef(e)),n>0&&this.line("/Prev "+this.makeRef(e.children[n-1])),n<e.children.length-1&&this.line("/Next "+this.makeRef(e.children[n+1])),i.children.length>0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1])));var o=this.count=this.count_r({count:0},i);if(o>0&&this.line("/Count "+o),i.options&&i.options.pageNumber){var a=t.internal.getPageInfo(i.options.pageNumber);this.line("/Dest ["+a.objId+" 0 R /XYZ 0 "+r(0)+" 0]")}this.objEnd()}for(var s=0;s<e.children.length;s++)this.renderItems(e.children[s])},t.outline.line=function(t){this.ctx.val+=t+"\r\n"},t.outline.makeRef=function(t){return t.id+" 0 R"},t.outline.makeString=function(e){return"("+t.internal.pdfEscape(e)+")"},t.outline.objStart=function(t){this.ctx.val+="\r\n"+t.id+" 0 obj\r\n<<\r\n"},t.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},t.outline.count_r=function(t,e){for(var r=0;r<e.children.length;r++)t.count++,this.count_r(t,e.children[r]);return t.count}}])}(P.API),function(t){var e=[192,193,194,195,196,197,198,199];t.processJPEG=function(t,r,n,i,o,a){var s,c=this.decode.DCT_DECODE,l=null;if("string"==typeof t||this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t)){switch(t=o||t,t=this.__addimage__.isArrayBuffer(t)?new Uint8Array(t):t,(s=function(t){for(var r,n=256*t.charCodeAt(4)+t.charCodeAt(5),i=t.length,o={width:0,height:0,numcomponents:1},a=4;a<i;a+=2){if(a+=n,-1!==e.indexOf(t.charCodeAt(a+1))){r=256*t.charCodeAt(a+5)+t.charCodeAt(a+6),o={width:256*t.charCodeAt(a+7)+t.charCodeAt(a+8),height:r,numcomponents:t.charCodeAt(a+9)};break}n=256*t.charCodeAt(a+2)+t.charCodeAt(a+3)}return o}(t=this.__addimage__.isArrayBufferView(t)?this.__addimage__.arrayBufferToBinaryString(t):t)).numcomponents){case 1:a=this.color_spaces.DEVICE_GRAY;break;case 4:a=this.color_spaces.DEVICE_CMYK;break;case 3:a=this.color_spaces.DEVICE_RGB}l={data:t,width:s.width,height:s.height,colorSpace:a,bitsPerComponent:8,filter:c,index:r,alias:n}}return l}}(P.API);var we,Se,xe,ke,Te,Ae=function(){var t,r,n;function i(t){var e,r,n,i,o,a,s,c,l,u,f,h,d,p;for(this.data=t,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},a=null;;){switch(e=this.readUInt32(),l=function(){var t,e;for(e=[],t=0;t<4;++t)e.push(String.fromCharCode(this.data[this.pos++]));return e}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(e);break;case"fcTL":a&&this.animation.frames.push(a),this.pos+=4,a={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},o=this.readUInt16(),i=this.readUInt16()||100,a.delay=1e3*o/i,a.disposeOp=this.data[this.pos++],a.blendOp=this.data[this.pos++],a.data=[];break;case"IDAT":case"fdAT":for("fdAT"===l&&(this.pos+=4,e-=4),t=(null!=a?a.data:void 0)||this.imgData,h=0;0<=e?h<e:h>e;0<=e?++h:--h)t.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(n=this.palette.length/3,this.transparency.indexed=this.read(e),this.transparency.indexed.length>n)throw new Error("More transparent colors than palette size");if((u=n-this.transparency.indexed.length)>0)for(d=0;0<=u?d<u:d>u;0<=u?++d:--d)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(e)[0];break;case 2:this.transparency.rgb=this.read(e)}break;case"tEXt":s=(f=this.read(e)).indexOf(0),c=String.fromCharCode.apply(String,f.slice(0,s)),this.text[c]=String.fromCharCode.apply(String,f.slice(s+1));break;case"IEND":return a&&this.animation.frames.push(a),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(p=this.colorType)||6===p,r=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*r,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=e}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}i.prototype.read=function(t){var e,r;for(r=[],e=0;0<=t?e<t:e>t;0<=t?++e:--e)r.push(this.data[this.pos++]);return r},i.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},i.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},i.prototype.decodePixels=function(t){var e=this.pixelBitlength/8,r=new Uint8Array(this.width*this.height*e),n=0,i=this;if(null==t&&(t=this.imgData),0===t.length)return new Uint8Array(0);function o(o,a,s,c){var l,u,f,h,d,p,v,g,m,b,y,w,S,x,k,T,A,E,_,O,N,C=Math.ceil((i.width-o)/s),R=Math.ceil((i.height-a)/c),P=i.width==C&&i.height==R;for(x=e*C,w=P?r:new Uint8Array(x*R),p=t.length,S=0,u=0;S<R&&n<p;){switch(t[n++]){case 0:for(h=A=0;A<x;h=A+=1)w[u++]=t[n++];break;case 1:for(h=E=0;E<x;h=E+=1)l=t[n++],d=h<e?0:w[u-e],w[u++]=(l+d)%256;break;case 2:for(h=_=0;_<x;h=_+=1)l=t[n++],f=(h-h%e)/e,k=S&&w[(S-1)*x+f*e+h%e],w[u++]=(k+l)%256;break;case 3:for(h=O=0;O<x;h=O+=1)l=t[n++],f=(h-h%e)/e,d=h<e?0:w[u-e],k=S&&w[(S-1)*x+f*e+h%e],w[u++]=(l+Math.floor((d+k)/2))%256;break;case 4:for(h=N=0;N<x;h=N+=1)l=t[n++],f=(h-h%e)/e,d=h<e?0:w[u-e],0===S?k=T=0:(k=w[(S-1)*x+f*e+h%e],T=f&&w[(S-1)*x+(f-1)*e+h%e]),v=d+k-T,g=Math.abs(v-d),b=Math.abs(v-k),y=Math.abs(v-T),m=g<=b&&g<=y?d:b<=y?k:T,w[u++]=(l+m)%256;break;default:throw new Error("Invalid filter algorithm: "+t[n-1])}if(!P){var L=((a+S*c)*i.width+o)*e,I=S*x;for(h=0;h<C;h+=1){for(var F=0;F<e;F+=1)r[L++]=w[I++];L+=(s-1)*e}}S++}}return t=function(t,e){return function(t,e,r){var n=t.length,i=!e||r,o=!r||r.i;r||(r={}),e||(e=new Ft(3*n));var a=function(t){var r=e.length;if(t>r){var n=new Ft(Math.max(2*r,t));n.set(e),e=n}},s=r.f||0,c=r.p||0,l=r.b||0,u=r.l,f=r.d,h=r.m,d=r.n,p=8*n;do{if(!u){r.f=s=oe(t,c,1);var v=oe(t,c+1,3);if(c+=3,!v){var g=t[(_=se(c)+4)-4]|t[_-3]<<8,m=_+g;if(m>n){if(o)throw"unexpected EOF";break}i&&a(l+g),e.set(t.subarray(_,m),l),r.b=l+=g,r.p=c=8*m;continue}if(1==v)u=ee,f=ne,h=9,d=5;else{if(2!=v)throw"invalid block type";var b=oe(t,c,31)+257,y=oe(t,c+10,15)+4,w=b+oe(t,c+5,31)+1;c+=14;for(var S=new Ft(w),x=new Ft(19),k=0;k<y;++k)x[Wt[k]]=oe(t,c+3*k,7);c+=3*y;var T=ie(x),A=(1<<T)-1;if(!o&&c+w*(T+7)>p)break;var E=Jt(x,T,1);for(k=0;k<w;){var _,O=E[oe(t,c,A)];if(c+=15&O,(_=O>>>4)<16)S[k++]=_;else{var N=0,C=0;for(16==_?(C=3+oe(t,c,3),c+=2,N=S[k-1]):17==_?(C=3+oe(t,c,7),c+=3):18==_&&(C=11+oe(t,c,127),c+=7);C--;)S[k++]=N}}var R=S.subarray(0,b),P=S.subarray(b);h=ie(R),d=ie(P),u=Jt(R,h,1),f=Jt(P,d,1)}if(c>p)throw"unexpected EOF"}i&&a(l+131072);for(var L=(1<<h)-1,I=(1<<d)-1,F=h+d+18;o||c+F<p;){var j=(N=u[ae(t,c)&L])>>>4;if((c+=15&N)>p)throw"unexpected EOF";if(!N)throw"invalid length/literal";if(j<256)e[l++]=j;else{if(256==j){u=null;break}var D=j-254;if(j>264){var M=Mt[k=j-257];D=oe(t,c,(1<<M)-1)+zt[k],c+=M}var B=f[ae(t,c)&I],W=B>>>4;if(!B)throw"invalid distance";if(c+=15&B,P=$t[W],W>3&&(M=Bt[W],P+=ae(t,c)&(1<<M)-1,c+=M),c>p)throw"unexpected EOF";i&&a(l+131072);for(var U=l+D;l<U;l+=4)e[l]=e[l-P],e[l+1]=e[l+1-P],e[l+2]=e[l+2-P],e[l+3]=e[l+3-P];l=U}}r.l=u,r.p=c,r.b=l,u&&(s=1,r.m=h,r.d=f,r.n=d)}while(!s);return l==e.length?e:ce(e,0,l)}((function(t){if(8!=(15&t[0])||t[0]>>>4>7||(t[0]<<8|t[1])%31)throw"invalid zlib data";if(32&t[1])throw"invalid zlib data: preset dictionaries not supported"}(t),t.subarray(2,-4)),e)}(t),1==i.interlaceMethod?(o(0,0,8,8),o(4,0,8,8),o(0,4,4,8),o(2,0,4,4),o(0,2,2,4),o(1,0,2,2),o(0,1,1,2)):o(0,0,1,1),r},i.prototype.decodePalette=function(){var t,e,r,n,i,o,a,s,c;for(r=this.palette,o=this.transparency.indexed||[],i=new Uint8Array((o.length||0)+r.length),n=0,t=0,e=a=0,s=r.length;a<s;e=a+=3)i[n++]=r[e],i[n++]=r[e+1],i[n++]=r[e+2],i[n++]=null!=(c=o[t++])?c:255;return i},i.prototype.copyToImageData=function(t,e){var r,n,i,o,a,s,c,l,u,f,h;if(n=this.colors,u=null,r=this.hasAlphaChannel,this.palette.length&&(u=null!=(h=this._decodedPalette)?h:this._decodedPalette=this.decodePalette(),n=4,r=!0),l=(i=t.data||t).length,a=u||e,o=s=0,1===n)for(;o<l;)c=u?4*e[o/4]:s,f=a[c++],i[o++]=f,i[o++]=f,i[o++]=f,i[o++]=r?a[c++]:255,s=c;else for(;o<l;)c=u?4*e[o/4]:s,i[o++]=a[c++],i[o++]=a[c++],i[o++]=a[c++],i[o++]=r?a[c++]:255,s=c},i.prototype.decode=function(){var t;return t=new Uint8Array(this.width*this.height*4),this.copyToImageData(t,this.decodePixels()),t};var o=function(){if("[object Window]"===Object.prototype.toString.call(e)){try{r=e.document.createElement("canvas"),n=r.getContext("2d")}catch(t){return!1}return!0}return!1};return o(),t=function(t){var e;if(!0===o())return n.width=t.width,n.height=t.height,n.clearRect(0,0,t.width,t.height),n.putImageData(t,0,0),(e=new Image).src=r.toDataURL(),e;throw new Error("This method requires a Browser with Canvas-capability.")},i.prototype.decodeFrames=function(e){var r,n,i,o,a,s,c,l;if(this.animation){for(l=[],n=a=0,s=(c=this.animation.frames).length;a<s;n=++a)r=c[n],i=e.createImageData(r.width,r.height),o=this.decodePixels(new Uint8Array(r.data)),this.copyToImageData(i,o),r.imageData=i,l.push(r.image=t(i));return l}},i.prototype.renderFrame=function(t,e){var r,n,i;return r=(n=this.animation.frames)[e],i=n[e-1],0===e&&t.clearRect(0,0,this.width,this.height),1===(null!=i?i.disposeOp:void 0)?t.clearRect(i.xOffset,i.yOffset,i.width,i.height):2===(null!=i?i.disposeOp:void 0)&&t.putImageData(i.imageData,i.xOffset,i.yOffset),0===r.blendOp&&t.clearRect(r.xOffset,r.yOffset,r.width,r.height),t.drawImage(r.image,r.xOffset,r.yOffset)},i.prototype.animate=function(t){var e,r,n,i,o,a,s=this;return r=0,a=this.animation,i=a.numFrames,n=a.frames,o=a.numPlays,(e=function(){var a,c;if(a=r++%i,c=n[a],s.renderFrame(t,a),i>1&&r/i<o)return s.animation._timeout=setTimeout(e,c.delay)})()},i.prototype.stopAnimation=function(){var t;return clearTimeout(null!=(t=this.animation)?t._timeout:void 0)},i.prototype.render=function(t){var e,r;return t._png&&t._png.stopAnimation(),t._png=this,t.width=this.width,t.height=this.height,e=t.getContext("2d"),this.animation?(this.decodeFrames(e),this.animate(e)):(r=e.createImageData(this.width,this.height),this.copyToImageData(r,this.decodePixels()),e.putImageData(r,0,0))},i}();function Ee(t){var e=0;if(71!==t[e++]||73!==t[e++]||70!==t[e++]||56!==t[e++]||56!=(t[e++]+1&253)||97!==t[e++])throw new Error("Invalid GIF 87a/89a header.");var r=t[e++]|t[e++]<<8,n=t[e++]|t[e++]<<8,i=t[e++],o=i>>7,a=1<<1+(7&i);t[e++],t[e++];var s=null,c=null;o&&(s=e,c=a,e+=3*a);var l=!0,u=[],f=0,h=null,d=0,p=null;for(this.width=r,this.height=n;l&&e<t.length;)switch(t[e++]){case 33:switch(t[e++]){case 255:if(11!==t[e]||78==t[e+1]&&69==t[e+2]&&84==t[e+3]&&83==t[e+4]&&67==t[e+5]&&65==t[e+6]&&80==t[e+7]&&69==t[e+8]&&50==t[e+9]&&46==t[e+10]&&48==t[e+11]&&3==t[e+12]&&1==t[e+13]&&0==t[e+16])e+=14,p=t[e++]|t[e++]<<8,e++;else for(e+=12;;){if(!((_=t[e++])>=0))throw Error("Invalid block size");if(0===_)break;e+=_}break;case 249:if(4!==t[e++]||0!==t[e+4])throw new Error("Invalid graphics extension block.");var v=t[e++];f=t[e++]|t[e++]<<8,h=t[e++],!(1&v)&&(h=null),d=v>>2&7,e++;break;case 254:for(;;){if(!((_=t[e++])>=0))throw Error("Invalid block size");if(0===_)break;e+=_}break;default:throw new Error("Unknown graphic control label: 0x"+t[e-1].toString(16))}break;case 44:var g=t[e++]|t[e++]<<8,m=t[e++]|t[e++]<<8,b=t[e++]|t[e++]<<8,y=t[e++]|t[e++]<<8,w=t[e++],S=w>>6&1,x=1<<1+(7&w),k=s,T=c,A=!1;w>>7&&(A=!0,k=e,T=x,e+=3*x);var E=e;for(e++;;){var _;if(!((_=t[e++])>=0))throw Error("Invalid block size");if(0===_)break;e+=_}u.push({x:g,y:m,width:b,height:y,has_local_palette:A,palette_offset:k,palette_size:T,data_offset:E,data_length:e-E,transparent_index:h,interlaced:!!S,delay:f,disposal:d});break;case 59:l=!1;break;default:throw new Error("Unknown gif block: 0x"+t[e-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return p},this.frameInfo=function(t){if(t<0||t>=u.length)throw new Error("Frame index out of range.");return u[t]},this.decodeAndBlitFrameBGRA=function(e,n){var i=this.frameInfo(e),o=i.width*i.height,a=new Uint8Array(o);_e(t,i.data_offset,a,o);var s=i.palette_offset,c=i.transparent_index;null===c&&(c=256);var l=i.width,u=r-l,f=l,h=4*(i.y*r+i.x),d=4*((i.y+i.height)*r+i.x),p=h,v=4*u;!0===i.interlaced&&(v+=4*r*7);for(var g=8,m=0,b=a.length;m<b;++m){var y=a[m];if(0===f&&(f=l,(p+=v)>=d&&(v=4*u+4*r*(g-1),p=h+(l+u)*(g<<1),g>>=1)),y===c)p+=4;else{var w=t[s+3*y],S=t[s+3*y+1],x=t[s+3*y+2];n[p++]=x,n[p++]=S,n[p++]=w,n[p++]=255}--f}},this.decodeAndBlitFrameRGBA=function(e,n){var i=this.frameInfo(e),o=i.width*i.height,a=new Uint8Array(o);_e(t,i.data_offset,a,o);var s=i.palette_offset,c=i.transparent_index;null===c&&(c=256);var l=i.width,u=r-l,f=l,h=4*(i.y*r+i.x),d=4*((i.y+i.height)*r+i.x),p=h,v=4*u;!0===i.interlaced&&(v+=4*r*7);for(var g=8,m=0,b=a.length;m<b;++m){var y=a[m];if(0===f&&(f=l,(p+=v)>=d&&(v=4*u+4*r*(g-1),p=h+(l+u)*(g<<1),g>>=1)),y===c)p+=4;else{var w=t[s+3*y],S=t[s+3*y+1],x=t[s+3*y+2];n[p++]=w,n[p++]=S,n[p++]=x,n[p++]=255}--f}}}function _e(t,e,r,i){for(var o=t[e++],a=1<<o,s=a+1,c=s+1,l=o+1,u=(1<<l)-1,f=0,h=0,d=0,p=t[e++],v=new Int32Array(4096),g=null;;){for(;f<16&&0!==p;)h|=t[e++]<<f,f+=8,1===p?p=t[e++]:--p;if(f<l)break;var m=h&u;if(h>>=l,f-=l,m!==a){if(m===s)break;for(var b=m<c?m:g,y=0,w=b;w>a;)w=v[w]>>8,++y;var S=w;if(d+y+(b!==m?1:0)>i)return void n.log("Warning, gif stream longer than expected.");r[d++]=S;var x=d+=y;for(b!==m&&(r[d++]=S),w=b;y--;)w=v[w],r[--x]=255&w,w>>=8;null!==g&&c<4096&&(v[c++]=g<<8|S,c>=u+1&&l<12&&(++l,u=u<<1|1)),g=m}else c=s+1,u=(1<<(l=o+1))-1,g=null}return d!==i&&n.log("Warning, gif stream shorter than expected."),r}function Oe(t){var e,r,n,i,o,a=Math.floor,s=new Array(64),c=new Array(64),l=new Array(64),u=new Array(64),f=new Array(65535),h=new Array(65535),d=new Array(64),p=new Array(64),v=[],g=0,m=7,b=new Array(64),y=new Array(64),w=new Array(64),S=new Array(256),x=new Array(2048),k=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],T=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],A=[0,1,2,3,4,5,6,7,8,9,10,11],E=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],_=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],O=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],N=[0,1,2,3,4,5,6,7,8,9,10,11],C=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],R=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function P(t,e){for(var r=0,n=0,i=new Array,o=1;o<=16;o++){for(var a=1;a<=t[o];a++)i[e[n]]=[],i[e[n]][0]=r,i[e[n]][1]=o,n++,r++;r*=2}return i}function L(t){for(var e=t[0],r=t[1]-1;r>=0;)e&1<<r&&(g|=1<<m),r--,--m<0&&(255==g?(I(255),I(0)):I(g),m=7,g=0)}function I(t){v.push(t)}function F(t){I(t>>8&255),I(255&t)}function j(t,e,r,n,i){for(var o,a=i[0],s=i[240],c=function(t,e){var r,n,i,o,a,s,c,l,u,f,h=0;for(u=0;u<8;++u){r=t[h],n=t[h+1],i=t[h+2],o=t[h+3],a=t[h+4],s=t[h+5],c=t[h+6];var p=r+(l=t[h+7]),v=r-l,g=n+c,m=n-c,b=i+s,y=i-s,w=o+a,S=o-a,x=p+w,k=p-w,T=g+b,A=g-b;t[h]=x+T,t[h+4]=x-T;var E=.707106781*(A+k);t[h+2]=k+E,t[h+6]=k-E;var _=.382683433*((x=S+y)-(A=m+v)),O=.5411961*x+_,N=1.306562965*A+_,C=.707106781*(T=y+m),R=v+C,P=v-C;t[h+5]=P+O,t[h+3]=P-O,t[h+1]=R+N,t[h+7]=R-N,h+=8}for(h=0,u=0;u<8;++u){r=t[h],n=t[h+8],i=t[h+16],o=t[h+24],a=t[h+32],s=t[h+40],c=t[h+48];var L=r+(l=t[h+56]),I=r-l,F=n+c,j=n-c,D=i+s,M=i-s,B=o+a,W=o-a,U=L+B,H=L-B,z=F+D,V=F-D;t[h]=U+z,t[h+32]=U-z;var q=.707106781*(V+H);t[h+16]=H+q,t[h+48]=H-q;var $=.382683433*((U=W+M)-(V=j+I)),G=.5411961*U+$,X=1.306562965*V+$,Y=.707106781*(z=M+j),K=I+Y,J=I-Y;t[h+40]=J+G,t[h+24]=J-G,t[h+8]=K+X,t[h+56]=K-X,h++}for(u=0;u<64;++u)f=t[u]*e[u],d[u]=f>0?f+.5|0:f-.5|0;return d}(t,e),l=0;l<64;++l)p[k[l]]=c[l];var u=p[0]-r;r=p[0],0==u?L(n[0]):(L(n[h[o=32767+u]]),L(f[o]));for(var v=63;v>0&&0==p[v];)v--;if(0==v)return L(a),r;for(var g,m=1;m<=v;){for(var b=m;0==p[m]&&m<=v;)++m;var y=m-b;if(y>=16){g=y>>4;for(var w=1;w<=g;++w)L(s);y&=15}o=32767+p[m],L(i[(y<<4)+h[o]]),L(f[o]),m++}return 63!=v&&L(a),r}function D(t){t=Math.min(Math.max(t,1),100),o!=t&&(function(t){for(var e=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],r=0;r<64;r++){var n=a((e[r]*t+50)/100);n=Math.min(Math.max(n,1),255),s[k[r]]=n}for(var i=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],o=0;o<64;o++){var f=a((i[o]*t+50)/100);f=Math.min(Math.max(f,1),255),c[k[o]]=f}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],d=0,p=0;p<8;p++)for(var v=0;v<8;v++)l[d]=1/(s[k[d]]*h[p]*h[v]*8),u[d]=1/(c[k[d]]*h[p]*h[v]*8),d++}(t<50?Math.floor(5e3/t):Math.floor(200-2*t)),o=t)}this.encode=function(t,o){o&&D(o),v=new Array,g=0,m=7,F(65496),F(65504),F(16),I(74),I(70),I(73),I(70),I(0),I(1),I(1),I(0),F(1),F(1),I(0),I(0),function(){F(65499),F(132),I(0);for(var t=0;t<64;t++)I(s[t]);I(1);for(var e=0;e<64;e++)I(c[e])}(),function(t,e){F(65472),F(17),I(8),F(e),F(t),I(3),I(1),I(17),I(0),I(2),I(17),I(1),I(3),I(17),I(1)}(t.width,t.height),function(){F(65476),F(418),I(0);for(var t=0;t<16;t++)I(T[t+1]);for(var e=0;e<=11;e++)I(A[e]);I(16);for(var r=0;r<16;r++)I(E[r+1]);for(var n=0;n<=161;n++)I(_[n]);I(1);for(var i=0;i<16;i++)I(O[i+1]);for(var o=0;o<=11;o++)I(N[o]);I(17);for(var a=0;a<16;a++)I(C[a+1]);for(var s=0;s<=161;s++)I(R[s])}(),F(65498),F(12),I(3),I(1),I(0),I(2),I(17),I(3),I(17),I(0),I(63),I(0);var a=0,f=0,h=0;g=0,m=7,this.encode.displayName="_encode_";for(var d,p,S,k,P,M,B,W,U,H=t.data,z=t.width,V=t.height,q=4*z,$=0;$<V;){for(d=0;d<q;){for(P=q*$+d,B=-1,W=0,U=0;U<64;U++)M=P+(W=U>>3)*q+(B=4*(7&U)),$+W>=V&&(M-=q*($+1+W-V)),d+B>=q&&(M-=d+B-q+4),p=H[M++],S=H[M++],k=H[M++],b[U]=(x[p]+x[S+256|0]+x[k+512|0]>>16)-128,y[U]=(x[p+768|0]+x[S+1024|0]+x[k+1280|0]>>16)-128,w[U]=(x[p+1280|0]+x[S+1536|0]+x[k+1792|0]>>16)-128;a=j(b,l,a,e,n),f=j(y,u,f,r,i),h=j(w,u,h,r,i),d+=32}$+=8}if(m>=0){var G=[];G[1]=m+1,G[0]=(1<<m+1)-1,L(G)}return F(65497),new Uint8Array(v)},t=t||50,function(){for(var t=String.fromCharCode,e=0;e<256;e++)S[e]=t(e)}(),e=P(T,A),r=P(O,N),n=P(E,_),i=P(C,R),function(){for(var t=1,e=2,r=1;r<=15;r++){for(var n=t;n<e;n++)h[32767+n]=r,f[32767+n]=[],f[32767+n][1]=r,f[32767+n][0]=n;for(var i=-(e-1);i<=-t;i++)h[32767+i]=r,f[32767+i]=[],f[32767+i][1]=r,f[32767+i][0]=e-1+i;t<<=1,e<<=1}}(),function(){for(var t=0;t<256;t++)x[t]=19595*t,x[t+256|0]=38470*t,x[t+512|0]=7471*t+32768,x[t+768|0]=-11059*t,x[t+1024|0]=-21709*t,x[t+1280|0]=32768*t+8421375,x[t+1536|0]=-27439*t,x[t+1792|0]=-5329*t}(),D(t)}function Ne(t,e){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!e,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Ce(t){function e(t){if(!t)throw Error("assert :P")}function r(t,e,r){for(var n=0;4>n;n++)if(t[e+n]!=r.charCodeAt(n))return!0;return!1}function n(t,e,r,n,i){for(var o=0;o<i;o++)t[e+o]=r[n+o]}function i(t,e,r,n){for(var i=0;i<n;i++)t[e+i]=r}function o(t){return new Int32Array(t)}function a(t,e){for(var r=[],n=0;n<t;n++)r.push(new e);return r}function s(t,e){var r=[];return function t(r,n,i){for(var o=i[n],a=0;a<o&&(r.push(i.length>n+1?[]:new e),!(i.length<n+1));a++)t(r[a],n+1,i)}(r,0,t),r}function c(t,e){for(var r="",n=0;n<4;n++)r+=String.fromCharCode(t[e++]);return r}function l(t,e){return(t[e+0]|t[e+1]<<8|t[e+2]<<16)>>>0}function u(t,e){return(t[e+0]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0}new(Ce=function(){var t=this;function c(t,e){for(var r=1<<e-1>>>0;t&r;)r>>>=1;return r?(t&r-1)+r:t}function l(t,r,n,i,o){e(!(i%n));do{t[r+(i-=n)]=o}while(0<i)}function u(t,r,n,i,a){if(e(2328>=a),512>=a)var s=o(512);else if(null==(s=o(a)))return 0;return function(t,r,n,i,a,s){var u,h,d=r,p=1<<n,v=o(16),g=o(16);for(e(0!=a),e(null!=i),e(null!=t),e(0<n),h=0;h<a;++h){if(15<i[h])return 0;++v[i[h]]}if(v[0]==a)return 0;for(g[1]=0,u=1;15>u;++u){if(v[u]>1<<u)return 0;g[u+1]=g[u]+v[u]}for(h=0;h<a;++h)u=i[h],0<i[h]&&(s[g[u]++]=h);if(1==g[15])return(i=new f).g=0,i.value=s[0],l(t,d,1,p,i),p;var m,b=-1,y=p-1,w=0,S=1,x=1,k=1<<n;for(h=0,u=1,a=2;u<=n;++u,a<<=1){if(S+=x<<=1,0>(x-=v[u]))return 0;for(;0<v[u];--v[u])(i=new f).g=u,i.value=s[h++],l(t,d+w,a,k,i),w=c(w,u)}for(u=n+1,a=2;15>=u;++u,a<<=1){if(S+=x<<=1,0>(x-=v[u]))return 0;for(;0<v[u];--v[u]){if(i=new f,(w&y)!=b){for(d+=k,m=1<<(b=u)-n;15>b&&!(0>=(m-=v[b]));)++b,m<<=1;p+=k=1<<(m=b-n),t[r+(b=w&y)].g=m+n,t[r+b].value=d-r-b}i.g=u-n,i.value=s[h++],l(t,d+(w>>n),a,k,i),w=c(w,u)}}return S!=2*g[15]-1?0:p}(t,r,n,i,a,s)}function f(){this.value=this.g=0}function h(){this.value=this.g=0}function d(){this.G=a(5,f),this.H=o(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=a(Mr,h)}function p(t,r,n,i){e(null!=t),e(null!=r),e(2147483648>i),t.Ca=254,t.I=0,t.b=-8,t.Ka=0,t.oa=r,t.pa=n,t.Jd=r,t.Yc=n+i,t.Zc=4<=i?n+i-4+1:n,E(t)}function v(t,e){for(var r=0;0<e--;)r|=O(t,128)<<e;return r}function g(t,e){var r=v(t,e);return _(t)?-r:r}function m(t,r,n,i){var o,a=0;for(e(null!=t),e(null!=r),e(4294967288>i),t.Sb=i,t.Ra=0,t.u=0,t.h=0,4<i&&(i=4),o=0;o<i;++o)a+=r[n+o]<<8*o;t.Ra=a,t.bb=i,t.oa=r,t.pa=n}function b(t){for(;8<=t.u&&t.bb<t.Sb;)t.Ra>>>=8,t.Ra+=t.oa[t.pa+t.bb]<<Ur-8>>>0,++t.bb,t.u-=8;k(t)&&(t.h=1,t.u=0)}function y(t,r){if(e(0<=r),!t.h&&r<=Wr){var n=x(t)&Br[r];return t.u+=r,b(t),n}return t.h=1,t.u=0}function w(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function S(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function x(t){return t.Ra>>>(t.u&Ur-1)>>>0}function k(t){return e(t.bb<=t.Sb),t.h||t.bb==t.Sb&&t.u>Ur}function T(t,e){t.u=e,t.h=k(t)}function A(t){t.u>=Hr&&(e(t.u>=Hr),b(t))}function E(t){e(null!=t&&null!=t.oa),t.pa<t.Zc?(t.I=(t.oa[t.pa++]|t.I<<8)>>>0,t.b+=8):(e(null!=t&&null!=t.oa),t.pa<t.Yc?(t.b+=8,t.I=t.oa[t.pa++]|t.I<<8):t.Ka?t.b=0:(t.I<<=8,t.b+=8,t.Ka=1))}function _(t){return v(t,1)}function O(t,e){var r=t.Ca;0>t.b&&E(t);var n=t.b,i=r*e>>>8,o=(t.I>>>n>i)+0;for(o?(r-=i,t.I-=i+1<<n>>>0):r=i+1,n=r,i=0;256<=n;)i+=8,n>>=8;return n=7^i+zr[n],t.b-=n,t.Ca=(r<<n)-1,o}function N(t,e,r){t[e+0]=r>>24&255,t[e+1]=r>>16&255,t[e+2]=r>>8&255,t[e+3]=255&r}function C(t,e){return t[e+0]|t[e+1]<<8}function R(t,e){return C(t,e)|t[e+2]<<16}function P(t,e){return C(t,e)|C(t,e+2)<<16}function L(t,r){var n=1<<r;return e(null!=t),e(0<r),t.X=o(n),null==t.X?0:(t.Mb=32-r,t.Xa=r,1)}function I(t,r){e(null!=t),e(null!=r),e(t.Xa==r.Xa),n(r.X,0,t.X,0,1<<r.Xa)}function F(){this.X=[],this.Xa=this.Mb=0}function j(t,r,n,i){e(null!=n),e(null!=i);var o=n[0],a=i[0];return 0==o&&(o=(t*a+r/2)/r),0==a&&(a=(r*o+t/2)/t),0>=o||0>=a?0:(n[0]=o,i[0]=a,1)}function D(t,e){return t+(1<<e)-1>>>e}function M(t,e){return((4278255360&t)+(4278255360&e)>>>0&4278255360)+((16711935&t)+(16711935&e)>>>0&16711935)>>>0}function B(e,r){t[r]=function(r,n,i,o,a,s,c){var l;for(l=0;l<a;++l){var u=t[e](s[c+l-1],i,o+l);s[c+l]=M(r[n+l],u)}}}function W(){this.ud=this.hd=this.jd=0}function U(t,e){return((4278124286&(t^e))>>>1)+(t&e)>>>0}function H(t){return 0<=t&&256>t?t:0>t?0:255<t?255:void 0}function z(t,e){return H(t+(t-e+.5>>1))}function V(t,e,r){return Math.abs(e-r)-Math.abs(t-r)}function q(t,e,r,n,i,o,a){for(n=o[a-1],r=0;r<i;++r)o[a+r]=n=M(t[e+r],n)}function $(t,e,r,n,i){var o;for(o=0;o<r;++o){var a=t[e+o],s=a>>8&255,c=16711935&(c=(c=16711935&a)+((s<<16)+s));n[i+o]=(4278255360&a)+c>>>0}}function G(t,e){e.jd=255&t,e.hd=t>>8&255,e.ud=t>>16&255}function X(t,e,r,n,i,o){var a;for(a=0;a<n;++a){var s=e[r+a],c=s>>>8,l=s,u=255&(u=(u=s>>>16)+((t.jd<<24>>24)*(c<<24>>24)>>>5));l=255&(l=(l+=(t.hd<<24>>24)*(c<<24>>24)>>>5)+((t.ud<<24>>24)*(u<<24>>24)>>>5)),i[o+a]=(4278255360&s)+(u<<16)+l}}function Y(e,r,n,i,o){t[r]=function(t,e,r,n,a,s,c,l,u){for(n=c;n<l;++n)for(c=0;c<u;++c)a[s++]=o(r[i(t[e++])])},t[e]=function(e,r,a,s,c,l,u){var f=8>>e.b,h=e.Ea,d=e.K[0],p=e.w;if(8>f)for(e=(1<<e.b)-1,p=(1<<f)-1;r<a;++r){var v,g=0;for(v=0;v<h;++v)v&e||(g=i(s[c++])),l[u++]=o(d[g&p]),g>>=f}else t["VP8LMapColor"+n](s,c,d,p,l,u,r,a,h)}}function K(t,e,r,n,i){for(r=e+r;e<r;){var o=t[e++];n[i++]=o>>16&255,n[i++]=o>>8&255,n[i++]=255&o}}function J(t,e,r,n,i){for(r=e+r;e<r;){var o=t[e++];n[i++]=o>>16&255,n[i++]=o>>8&255,n[i++]=255&o,n[i++]=o>>24&255}}function Z(t,e,r,n,i){for(r=e+r;e<r;){var o=(a=t[e++])>>16&240|a>>12&15,a=240&a|a>>28&15;n[i++]=o,n[i++]=a}}function Q(t,e,r,n,i){for(r=e+r;e<r;){var o=(a=t[e++])>>16&248|a>>13&7,a=a>>5&224|a>>3&31;n[i++]=o,n[i++]=a}}function tt(t,e,r,n,i){for(r=e+r;e<r;){var o=t[e++];n[i++]=255&o,n[i++]=o>>8&255,n[i++]=o>>16&255}}function et(t,e,r,i,o,a){if(0==a)for(r=e+r;e<r;)N(i,((a=t[e++])[0]>>24|a[1]>>8&65280|a[2]<<8&16711680|a[3]<<24)>>>0),o+=32;else n(i,o,t,e,r)}function rt(e,r){t[r][0]=t[e+"0"],t[r][1]=t[e+"1"],t[r][2]=t[e+"2"],t[r][3]=t[e+"3"],t[r][4]=t[e+"4"],t[r][5]=t[e+"5"],t[r][6]=t[e+"6"],t[r][7]=t[e+"7"],t[r][8]=t[e+"8"],t[r][9]=t[e+"9"],t[r][10]=t[e+"10"],t[r][11]=t[e+"11"],t[r][12]=t[e+"12"],t[r][13]=t[e+"13"],t[r][14]=t[e+"0"],t[r][15]=t[e+"0"]}function nt(t){return t==zn||t==Vn||t==qn||t==$n}function it(){this.eb=[],this.size=this.A=this.fb=0}function ot(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function at(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new it,this.f.kb=new ot,this.sd=null}function st(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ct(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function lt(t){return alert("todo:WebPSamplerProcessPlane"),t.T}function ut(t,e){var r=t.T,i=e.ba.f.RGBA,o=i.eb,a=i.fb+t.ka*i.A,s=mi[e.ba.S],c=t.y,l=t.O,u=t.f,f=t.N,h=t.ea,d=t.W,p=e.cc,v=e.dc,g=e.Mc,m=e.Nc,b=t.ka,y=t.ka+t.T,w=t.U,S=w+1>>1;for(0==b?s(c,l,null,null,u,f,h,d,u,f,h,d,o,a,null,null,w):(s(e.ec,e.fc,c,l,p,v,g,m,u,f,h,d,o,a-i.A,o,a,w),++r);b+2<y;b+=2)p=u,v=f,g=h,m=d,f+=t.Rc,d+=t.Rc,a+=2*i.A,s(c,(l+=2*t.fa)-t.fa,c,l,p,v,g,m,u,f,h,d,o,a-i.A,o,a,w);return l+=t.fa,t.j+y<t.o?(n(e.ec,e.fc,c,l,w),n(e.cc,e.dc,u,f,S),n(e.Mc,e.Nc,h,d,S),r--):1&y||s(c,l,null,null,u,f,h,d,u,f,h,d,o,a+i.A,null,null,w),r}function ft(t,r,n){var i=t.F,o=[t.J];if(null!=i){var a=t.U,s=r.ba.S,c=s==Wn||s==qn;r=r.ba.f.RGBA;var l=[0],u=t.ka;l[0]=t.T,t.Kb&&(0==u?--l[0]:(--u,o[0]-=t.width),t.j+t.ka+t.T==t.o&&(l[0]=t.o-t.j-u));var f=r.eb;u=r.fb+u*r.A,t=An(i,o[0],t.width,a,l,f,u+(c?0:3),r.A),e(n==l),t&&nt(s)&&kn(f,u,c,a,l,r.A)}return 0}function ht(t){var e=t.ma,r=e.ba.S,n=11>r,i=r==Dn||r==Bn||r==Wn||r==Un||12==r||nt(r);if(e.memory=null,e.Ib=null,e.Jb=null,e.Nd=null,!Fr(e.Oa,t,i?11:12))return 0;if(i&&nt(r)&&br(),t.da)alert("todo:use_scaling");else{if(n){if(e.Ib=lt,t.Kb){if(r=t.U+1>>1,e.memory=o(t.U+2*r),null==e.memory)return 0;e.ec=e.memory,e.fc=0,e.cc=e.ec,e.dc=e.fc+t.U,e.Mc=e.cc,e.Nc=e.dc+r,e.Ib=ut,br()}}else alert("todo:EmitYUV");i&&(e.Jb=ft,n&&gr())}if(n&&!Ri){for(t=0;256>t;++t)Pi[t]=89858*(t-128)+Ei>>Ai,Fi[t]=-22014*(t-128)+Ei,Ii[t]=-45773*(t-128),Li[t]=113618*(t-128)+Ei>>Ai;for(t=_i;t<Oi;++t)e=76283*(t-16)+Ei>>Ai,ji[t-_i]=qt(e,255),Di[t-_i]=qt(e+8>>4,15);Ri=1}return 1}function dt(t){var r=t.ma,n=t.U,i=t.T;return e(!(1&t.ka)),0>=n||0>=i?0:(n=r.Ib(t,r),null!=r.Jb&&r.Jb(t,r,n),r.Dc+=n,1)}function pt(t){t.ma.memory=null}function vt(t,e,r,n){return 47!=y(t,8)?0:(e[0]=y(t,14)+1,r[0]=y(t,14)+1,n[0]=y(t,1),0!=y(t,3)?0:!t.h)}function gt(t,e){if(4>t)return t+1;var r=t-2>>1;return(2+(1&t)<<r)+y(e,r)+1}function mt(t,e){return 120<e?e-120:1<=(r=((r=Zn[e-1])>>4)*t+(8-(15&r)))?r:1;var r}function bt(t,e,r){var n=x(r),i=t[e+=255&n].g-8;return 0<i&&(T(r,r.u+8),n=x(r),e+=t[e].value,e+=n&(1<<i)-1),T(r,r.u+t[e].g),t[e].value}function yt(t,r,n){return n.g+=t.g,n.value+=t.value<<r>>>0,e(8>=n.g),t.g}function wt(t,r,n){var i=t.xc;return e((r=0==i?0:t.vc[t.md*(n>>i)+(r>>i)])<t.Wb),t.Ya[r]}function St(t,r,i,o){var a=t.ab,s=t.c*r,c=t.C;r=c+r;var l=i,u=o;for(o=t.Ta,i=t.Ua;0<a--;){var f=t.gc[a],h=c,d=r,p=l,v=u,g=(u=o,l=i,f.Ea);switch(e(h<d),e(d<=f.nc),f.hc){case 2:$r(p,v,(d-h)*g,u,l);break;case 0:var m=h,b=d,y=u,w=l,S=(E=f).Ea;0==m&&(Vr(p,v,null,null,1,y,w),q(p,v+1,0,0,S-1,y,w+1),v+=S,w+=S,++m);for(var x=1<<E.b,k=x-1,T=D(S,E.b),A=E.K,E=E.w+(m>>E.b)*T;m<b;){var _=A,O=E,N=1;for(qr(p,v,y,w-S,1,y,w);N<S;){var C=(N&~k)+x;C>S&&(C=S),(0,Jr[_[O++]>>8&15])(p,v+ +N,y,w+N-S,C-N,y,w+N),N=C}v+=S,w+=S,++m&k||(E+=T)}d!=f.nc&&n(u,l-g,u,l+(d-h-1)*g,g);break;case 1:for(g=p,b=v,S=(p=f.Ea)-(w=p&~(y=(v=1<<f.b)-1)),m=D(p,f.b),x=f.K,f=f.w+(h>>f.b)*m;h<d;){for(k=x,T=f,A=new W,E=b+w,_=b+p;b<E;)G(k[T++],A),Zr(A,g,b,v,u,l),b+=v,l+=v;b<_&&(G(k[T++],A),Zr(A,g,b,S,u,l),b+=S,l+=S),++h&y||(f+=m)}break;case 3:if(p==u&&v==l&&0<f.b){for(b=u,p=g=l+(d-h)*g-(w=(d-h)*D(f.Ea,f.b)),v=u,y=l,m=[],w=(S=w)-1;0<=w;--w)m[w]=v[y+w];for(w=S-1;0<=w;--w)b[p+w]=m[w];Gr(f,h,d,u,g,u,l)}else Gr(f,h,d,p,v,u,l)}l=o,u=i}u!=i&&n(o,i,l,u,s)}function xt(t,r){var n=t.V,i=t.Ba+t.c*t.C,o=r-t.C;if(e(r<=t.l.o),e(16>=o),0<o){var a=t.l,s=t.Ta,c=t.Ua,l=a.width;if(St(t,o,n,i),o=c=[c],e((n=t.C)<(i=r)),e(a.v<a.va),i>a.o&&(i=a.o),n<a.j){var u=a.j-n;n=a.j,o[0]+=u*l}if(n>=i?n=0:(o[0]+=4*a.v,a.ka=n-a.j,a.U=a.va-a.v,a.T=i-n,n=1),n){if(c=c[0],11>(n=t.ca).S){var f=n.f.RGBA,h=(i=n.S,o=a.U,a=a.T,u=f.eb,f.A),d=a;for(f=f.fb+t.Ma*f.A;0<d--;){var p=s,v=c,g=o,m=u,b=f;switch(i){case jn:Qr(p,v,g,m,b);break;case Dn:tn(p,v,g,m,b);break;case zn:tn(p,v,g,m,b),kn(m,b,0,g,1,0);break;case Mn:nn(p,v,g,m,b);break;case Bn:et(p,v,g,m,b,1);break;case Vn:et(p,v,g,m,b,1),kn(m,b,0,g,1,0);break;case Wn:et(p,v,g,m,b,0);break;case qn:et(p,v,g,m,b,0),kn(m,b,1,g,1,0);break;case Un:en(p,v,g,m,b);break;case $n:en(p,v,g,m,b),Tn(m,b,g,1,0);break;case Hn:rn(p,v,g,m,b);break;default:e(0)}c+=l,f+=h}t.Ma+=a}else alert("todo:EmitRescaledRowsYUVA");e(t.Ma<=n.height)}}t.C=r,e(t.C<=t.i)}function kt(t){var e;if(0<t.ua)return 0;for(e=0;e<t.Wb;++e){var r=t.Ya[e].G,n=t.Ya[e].H;if(0<r[1][n[1]+0].g||0<r[2][n[2]+0].g||0<r[3][n[3]+0].g)return 0}return 1}function Tt(t,r,n,i,o,a){if(0!=t.Z){var s=t.qd,c=t.rd;for(e(null!=gi[t.Z]);r<n;++r)gi[t.Z](s,c,i,o,i,o,a),s=i,c=o,o+=a;t.qd=s,t.rd=c}}function At(t,r){var n=t.l.ma,i=0==n.Z||1==n.Z?t.l.j:t.C;if(i=t.C<i?i:t.C,e(r<=t.l.o),r>i){var o=t.l.width,a=n.ca,s=n.tb+o*i,c=t.V,l=t.Ba+t.c*i,u=t.gc;e(1==t.ab),e(3==u[0].hc),Yr(u[0],i,r,c,l,a,s),Tt(n,i,r,a,s,o)}t.C=t.Ma=r}function Et(t,r,n,i,o,a,s){var c=t.$/i,l=t.$%i,u=t.m,f=t.s,h=n+t.$,d=h;o=n+i*o;var p=n+i*a,v=280+f.ua,g=t.Pb?c:16777216,m=0<f.ua?f.Wa:null,b=f.wc,y=h<p?wt(f,l,c):null;e(t.C<a),e(p<=o);var w=!1;t:for(;;){for(;w||h<p;){var S=0;if(c>=g){var E=h-n;e((g=t).Pb),g.wd=g.m,g.xd=E,0<g.s.ua&&I(g.s.Wa,g.s.vb),g=c+ti}if(l&b||(y=wt(f,l,c)),e(null!=y),y.Qb&&(r[h]=y.qb,w=!0),!w)if(A(u),y.jc){S=u,E=r;var _=h,O=y.pd[x(S)&Mr-1];e(y.jc),256>O.g?(T(S,S.u+O.g),E[_]=O.value,S=0):(T(S,S.u+O.g-256),e(256<=O.value),S=O.value),0==S&&(w=!0)}else S=bt(y.G[0],y.H[0],u);if(u.h)break;if(w||256>S){if(!w)if(y.nd)r[h]=(y.qb|S<<8)>>>0;else{if(A(u),w=bt(y.G[1],y.H[1],u),A(u),E=bt(y.G[2],y.H[2],u),_=bt(y.G[3],y.H[3],u),u.h)break;r[h]=(_<<24|w<<16|S<<8|E)>>>0}if(w=!1,++h,++l>=i&&(l=0,++c,null!=s&&c<=a&&!(c%16)&&s(t,c),null!=m))for(;d<h;)S=r[d++],m.X[(506832829*S&4294967295)>>>m.Mb]=S}else if(280>S){if(S=gt(S-256,u),E=bt(y.G[4],y.H[4],u),A(u),E=mt(i,E=gt(E,u)),u.h)break;if(h-n<E||o-h<S)break t;for(_=0;_<S;++_)r[h+_]=r[h+_-E];for(h+=S,l+=S;l>=i;)l-=i,++c,null!=s&&c<=a&&!(c%16)&&s(t,c);if(e(h<=o),l&b&&(y=wt(f,l,c)),null!=m)for(;d<h;)S=r[d++],m.X[(506832829*S&4294967295)>>>m.Mb]=S}else{if(!(S<v))break t;for(w=S-280,e(null!=m);d<h;)S=r[d++],m.X[(506832829*S&4294967295)>>>m.Mb]=S;S=h,e(!(w>>>(E=m).Xa)),r[S]=E.X[w],w=!0}w||e(u.h==k(u))}if(t.Pb&&u.h&&h<o)e(t.m.h),t.a=5,t.m=t.wd,t.$=t.xd,0<t.s.ua&&I(t.s.vb,t.s.Wa);else{if(u.h)break t;null!=s&&s(t,c>a?a:c),t.a=0,t.$=h-n}return 1}return t.a=3,0}function _t(t){e(null!=t),t.vc=null,t.yc=null,t.Ya=null;var r=t.Wa;null!=r&&(r.X=null),t.vb=null,e(null!=t)}function Ot(){var e=new ar;return null==e?null:(e.a=0,e.xb=vi,rt("Predictor","VP8LPredictors"),rt("Predictor","VP8LPredictors_C"),rt("PredictorAdd","VP8LPredictorsAdd"),rt("PredictorAdd","VP8LPredictorsAdd_C"),$r=$,Zr=X,Qr=K,tn=J,en=Z,rn=Q,nn=tt,t.VP8LMapColor32b=Xr,t.VP8LMapColor8b=Kr,e)}function Nt(t,r,n,s,c){var l=1,h=[t],p=[r],v=s.m,g=s.s,m=null,b=0;t:for(;;){if(n)for(;l&&y(v,1);){var w=h,S=p,k=s,E=1,_=k.m,O=k.gc[k.ab],N=y(_,2);if(k.Oc&1<<N)l=0;else{switch(k.Oc|=1<<N,O.hc=N,O.Ea=w[0],O.nc=S[0],O.K=[null],++k.ab,e(4>=k.ab),N){case 0:case 1:O.b=y(_,3)+2,E=Nt(D(O.Ea,O.b),D(O.nc,O.b),0,k,O.K),O.K=O.K[0];break;case 3:var C,R=y(_,8)+1,P=16<R?0:4<R?1:2<R?2:3;if(w[0]=D(O.Ea,P),O.b=P,C=E=Nt(R,1,0,k,O.K)){var I,F=R,j=O,B=1<<(8>>j.b),W=o(B);if(null==W)C=0;else{var U=j.K[0],H=j.w;for(W[0]=j.K[0][0],I=1;I<1*F;++I)W[I]=M(U[H+I],W[I-1]);for(;I<4*B;++I)W[I]=0;j.K[0]=null,j.K[0]=W,C=1}}E=C;break;case 2:break;default:e(0)}l=E}}if(h=h[0],p=p[0],l&&y(v,1)&&!(l=1<=(b=y(v,4))&&11>=b)){s.a=3;break t}var z;if(z=l)e:{var V,q,$,G=s,X=h,Y=p,K=b,J=n,Z=G.m,Q=G.s,tt=[null],et=1,rt=0,nt=Qn[K];r:for(;;){if(J&&y(Z,1)){var it=y(Z,3)+2,ot=D(X,it),at=D(Y,it),st=ot*at;if(!Nt(ot,at,0,G,tt))break r;for(tt=tt[0],Q.xc=it,V=0;V<st;++V){var ct=tt[V]>>8&65535;tt[V]=ct,ct>=et&&(et=ct+1)}}if(Z.h)break r;for(q=0;5>q;++q){var lt=Yn[q];!q&&0<K&&(lt+=1<<K),rt<lt&&(rt=lt)}var ut=a(et*nt,f),ft=et,ht=a(ft,d);if(null==ht)var dt=null;else e(65536>=ft),dt=ht;var pt=o(rt);if(null==dt||null==pt||null==ut){G.a=1;break r}var vt=ut;for(V=$=0;V<et;++V){var gt=dt[V],mt=gt.G,bt=gt.H,wt=0,St=1,xt=0;for(q=0;5>q;++q){lt=Yn[q],mt[q]=vt,bt[q]=$,!q&&0<K&&(lt+=1<<K);n:{var kt,Tt=lt,At=G,Ot=pt,Ct=vt,Rt=$,Pt=0,Lt=At.m,It=y(Lt,1);if(i(Ot,0,0,Tt),It){var Ft=y(Lt,1)+1,jt=y(Lt,1),Dt=y(Lt,0==jt?1:8);Ot[Dt]=1,2==Ft&&(Ot[Dt=y(Lt,8)]=1);var Mt=1}else{var Bt=o(19),Wt=y(Lt,4)+4;if(19<Wt){At.a=3;var Ut=0;break n}for(kt=0;kt<Wt;++kt)Bt[Jn[kt]]=y(Lt,3);var Ht=void 0,zt=void 0,Vt=At,qt=Bt,$t=Tt,Gt=Ot,Xt=0,Yt=Vt.m,Kt=8,Jt=a(128,f);i:for(;u(Jt,0,7,qt,19);){if(y(Yt,1)){var Zt=2+2*y(Yt,3);if((Ht=2+y(Yt,Zt))>$t)break i}else Ht=$t;for(zt=0;zt<$t&&Ht--;){A(Yt);var Qt=Jt[0+(127&x(Yt))];T(Yt,Yt.u+Qt.g);var te=Qt.value;if(16>te)Gt[zt++]=te,0!=te&&(Kt=te);else{var ee=16==te,re=te-16,ne=Xn[re],ie=y(Yt,Gn[re])+ne;if(zt+ie>$t)break i;for(var oe=ee?Kt:0;0<ie--;)Gt[zt++]=oe}}Xt=1;break i}Xt||(Vt.a=3),Mt=Xt}(Mt=Mt&&!Lt.h)&&(Pt=u(Ct,Rt,8,Ot,Tt)),Mt&&0!=Pt?Ut=Pt:(At.a=3,Ut=0)}if(0==Ut)break r;if(St&&1==Kn[q]&&(St=0==vt[$].g),wt+=vt[$].g,$+=Ut,3>=q){var ae,se=pt[0];for(ae=1;ae<lt;++ae)pt[ae]>se&&(se=pt[ae]);xt+=se}}if(gt.nd=St,gt.Qb=0,St&&(gt.qb=(mt[3][bt[3]+0].value<<24|mt[1][bt[1]+0].value<<16|mt[2][bt[2]+0].value)>>>0,0==wt&&256>mt[0][bt[0]+0].value&&(gt.Qb=1,gt.qb+=mt[0][bt[0]+0].value<<8)),gt.jc=!gt.Qb&&6>xt,gt.jc){var ce,le=gt;for(ce=0;ce<Mr;++ce){var ue=ce,fe=le.pd[ue],he=le.G[0][le.H[0]+ue];256<=he.value?(fe.g=he.g+256,fe.value=he.value):(fe.g=0,fe.value=0,ue>>=yt(he,8,fe),ue>>=yt(le.G[1][le.H[1]+ue],16,fe),ue>>=yt(le.G[2][le.H[2]+ue],0,fe),yt(le.G[3][le.H[3]+ue],24,fe))}}}Q.vc=tt,Q.Wb=et,Q.Ya=dt,Q.yc=ut,z=1;break e}z=0}if(!(l=z)){s.a=3;break t}if(0<b){if(g.ua=1<<b,!L(g.Wa,b)){s.a=1,l=0;break t}}else g.ua=0;var de=s,pe=h,ve=p,ge=de.s,me=ge.xc;if(de.c=pe,de.i=ve,ge.md=D(pe,me),ge.wc=0==me?-1:(1<<me)-1,n){s.xb=pi;break t}if(null==(m=o(h*p))){s.a=1,l=0;break t}l=(l=Et(s,m,0,h,p,p,null))&&!v.h;break t}return l?(null!=c?c[0]=m:(e(null==m),e(n)),s.$=0,n||_t(g)):_t(g),l}function Ct(t,r){var n=t.c*t.i,i=n+r+16*r;return e(t.c<=r),t.V=o(i),null==t.V?(t.Ta=null,t.Ua=0,t.a=1,0):(t.Ta=t.V,t.Ua=t.Ba+n+r,1)}function Rt(t,r){var n=t.C,i=r-n,o=t.V,a=t.Ba+t.c*n;for(e(r<=t.l.o);0<i;){var s=16<i?16:i,c=t.l.ma,l=t.l.width,u=l*s,f=c.ca,h=c.tb+l*n,d=t.Ta,p=t.Ua;St(t,s,o,a),En(d,p,f,h,u),Tt(c,n,n+s,f,h,l),i-=s,o+=s*t.c,n+=s}e(n==r),t.C=t.Ma=r}function Pt(){this.ub=this.yd=this.td=this.Rb=0}function Lt(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function It(){this.Fb=this.Bb=this.Cb=0,this.Zb=o(4),this.Lb=o(4)}function Ft(){this.Yb=function(){var t=[];return function t(e,r,n){for(var i=n[r],o=0;o<i&&(e.push(n.length>r+1?[]:0),!(n.length<r+1));o++)t(e[o],r+1,n)}(t,0,[3,11]),t}()}function jt(){this.jb=o(3),this.Wc=s([4,8],Ft),this.Xc=s([4,17],Ft)}function Dt(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new o(4),this.od=new o(4)}function Mt(){this.ld=this.La=this.dd=this.tc=0}function Bt(){this.Na=this.la=0}function Wt(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ut(){this.ad=o(384),this.Za=0,this.Ob=o(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Ht(){this.uc=this.M=this.Nb=0,this.wa=Array(new Mt),this.Y=0,this.ya=Array(new Ut),this.aa=0,this.l=new $t}function zt(){this.y=o(16),this.f=o(8),this.ea=o(8)}function Vt(){this.cb=this.a=0,this.sc="",this.m=new w,this.Od=new Pt,this.Kc=new Lt,this.ed=new Dt,this.Qa=new It,this.Ic=this.$c=this.Aa=0,this.D=new Ht,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=a(8,w),this.ia=0,this.pb=a(4,Wt),this.Pa=new jt,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new zt),this.Hd=0,this.rb=Array(new Bt),this.sb=0,this.wa=Array(new Mt),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Ut),this.L=this.aa=0,this.gd=s([4,2],Mt),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function qt(t,e){return 0>t?0:t>e?e:t}function $t(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Gt(){var t=new Vt;return null!=t&&(t.a=0,t.sc="OK",t.cb=0,t.Xb=0,ni||(ni=Jt)),t}function Xt(t,e,r){return 0==t.a&&(t.a=e,t.sc=r,t.cb=0),0}function Yt(t,e,r){return 3<=r&&157==t[e+0]&&1==t[e+1]&&42==t[e+2]}function Kt(t,r){if(null==t)return 0;if(t.a=0,t.sc="OK",null==r)return Xt(t,2,"null VP8Io passed to VP8GetHeaders()");var n=r.data,o=r.w,a=r.ha;if(4>a)return Xt(t,7,"Truncated header.");var s=n[o+0]|n[o+1]<<8|n[o+2]<<16,c=t.Od;if(c.Rb=!(1&s),c.td=s>>1&7,c.yd=s>>4&1,c.ub=s>>5,3<c.td)return Xt(t,3,"Incorrect keyframe parameters.");if(!c.yd)return Xt(t,4,"Frame not displayable.");o+=3,a-=3;var l=t.Kc;if(c.Rb){if(7>a)return Xt(t,7,"cannot parse picture header");if(!Yt(n,o,a))return Xt(t,3,"Bad code word");l.c=16383&(n[o+4]<<8|n[o+3]),l.Td=n[o+4]>>6,l.i=16383&(n[o+6]<<8|n[o+5]),l.Ud=n[o+6]>>6,o+=7,a-=7,t.za=l.c+15>>4,t.Ub=l.i+15>>4,r.width=l.c,r.height=l.i,r.Da=0,r.j=0,r.v=0,r.va=r.width,r.o=r.height,r.da=0,r.ib=r.width,r.hb=r.height,r.U=r.width,r.T=r.height,i((s=t.Pa).jb,0,255,s.jb.length),e(null!=(s=t.Qa)),s.Cb=0,s.Bb=0,s.Fb=1,i(s.Zb,0,0,s.Zb.length),i(s.Lb,0,0,s.Lb)}if(c.ub>a)return Xt(t,7,"bad partition length");p(s=t.m,n,o,c.ub),o+=c.ub,a-=c.ub,c.Rb&&(l.Ld=_(s),l.Kd=_(s)),l=t.Qa;var u,f=t.Pa;if(e(null!=s),e(null!=l),l.Cb=_(s),l.Cb){if(l.Bb=_(s),_(s)){for(l.Fb=_(s),u=0;4>u;++u)l.Zb[u]=_(s)?g(s,7):0;for(u=0;4>u;++u)l.Lb[u]=_(s)?g(s,6):0}if(l.Bb)for(u=0;3>u;++u)f.jb[u]=_(s)?v(s,8):255}else l.Bb=0;if(s.Ka)return Xt(t,3,"cannot parse segment header");if((l=t.ed).zd=_(s),l.Tb=v(s,6),l.wb=v(s,3),l.Pc=_(s),l.Pc&&_(s)){for(f=0;4>f;++f)_(s)&&(l.vd[f]=g(s,6));for(f=0;4>f;++f)_(s)&&(l.od[f]=g(s,6))}if(t.L=0==l.Tb?0:l.zd?1:2,s.Ka)return Xt(t,3,"cannot parse filter header");var h=a;if(a=u=o,o=u+h,l=h,t.Xb=(1<<v(t.m,2))-1,h<3*(f=t.Xb))n=7;else{for(u+=3*f,l-=3*f,h=0;h<f;++h){var d=n[a+0]|n[a+1]<<8|n[a+2]<<16;d>l&&(d=l),p(t.Jc[+h],n,u,d),u+=d,l-=d,a+=3}p(t.Jc[+f],n,u,l),n=u<o?0:5}if(0!=n)return Xt(t,n,"cannot parse partitions");for(n=v(u=t.m,7),a=_(u)?g(u,4):0,o=_(u)?g(u,4):0,l=_(u)?g(u,4):0,f=_(u)?g(u,4):0,u=_(u)?g(u,4):0,h=t.Qa,d=0;4>d;++d){if(h.Cb){var m=h.Zb[d];h.Fb||(m+=n)}else{if(0<d){t.pb[d]=t.pb[0];continue}m=n}var b=t.pb[d];b.Sc[0]=ei[qt(m+a,127)],b.Sc[1]=ri[qt(m+0,127)],b.Eb[0]=2*ei[qt(m+o,127)],b.Eb[1]=101581*ri[qt(m+l,127)]>>16,8>b.Eb[1]&&(b.Eb[1]=8),b.Qc[0]=ei[qt(m+f,117)],b.Qc[1]=ri[qt(m+u,127)],b.lc=m+u}if(!c.Rb)return Xt(t,4,"Not a key frame.");for(_(s),c=t.Pa,n=0;4>n;++n){for(a=0;8>a;++a)for(o=0;3>o;++o)for(l=0;11>l;++l)f=O(s,li[n][a][o][l])?v(s,8):si[n][a][o][l],c.Wc[n][a].Yb[o][l]=f;for(a=0;17>a;++a)c.Xc[n][a]=c.Wc[n][ui[a]]}return t.kc=_(s),t.kc&&(t.Bd=v(s,8)),t.cb=1}function Jt(t,e,r,n,i,o,a){var s=e[i].Yb[r];for(r=0;16>i;++i){if(!O(t,s[r+0]))return i;for(;!O(t,s[r+1]);)if(s=e[++i].Yb[0],r=0,16==i)return 16;var c=e[i+1].Yb;if(O(t,s[r+2])){var l=t,u=0;if(O(l,(h=s)[(f=r)+3]))if(O(l,h[f+6])){for(s=0,f=2*(u=O(l,h[f+8]))+(h=O(l,h[f+9+u])),u=0,h=ii[f];h[s];++s)u+=u+O(l,h[s]);u+=3+(8<<f)}else O(l,h[f+7])?(u=7+2*O(l,165),u+=O(l,145)):u=5+O(l,159);else u=O(l,h[f+4])?3+O(l,h[f+5]):2;s=c[2]}else u=1,s=c[1];c=a+oi[i],0>(l=t).b&&E(l);var f,h=l.b,d=(f=l.Ca>>1)-(l.I>>h)>>31;--l.b,l.Ca+=d,l.Ca|=1,l.I-=(f+1&d)<<h,o[c]=((u^d)-d)*n[(0<i)+0]}return 16}function Zt(t){var e=t.rb[t.sb-1];e.la=0,e.Na=0,i(t.zc,0,0,t.zc.length),t.ja=0}function Qt(t,r){if(null==t)return 0;if(null==r)return Xt(t,2,"NULL VP8Io parameter in VP8Decode().");if(!t.cb&&!Kt(t,r))return 0;if(e(t.cb),null==r.ac||r.ac(r)){r.ob&&(t.L=0);var s=Bi[t.L];if(2==t.L?(t.yb=0,t.zb=0):(t.yb=r.v-s>>4,t.zb=r.j-s>>4,0>t.yb&&(t.yb=0),0>t.zb&&(t.zb=0)),t.Va=r.o+15+s>>4,t.Hb=r.va+15+s>>4,t.Hb>t.za&&(t.Hb=t.za),t.Va>t.Ub&&(t.Va=t.Ub),0<t.L){var c=t.ed;for(s=0;4>s;++s){var l;if(t.Qa.Cb){var u=t.Qa.Lb[s];t.Qa.Fb||(u+=c.Tb)}else u=c.Tb;for(l=0;1>=l;++l){var f=t.gd[s][l],h=u;if(c.Pc&&(h+=c.vd[0],l&&(h+=c.od[0])),0<(h=0>h?0:63<h?63:h)){var d=h;0<c.wb&&(d=4<c.wb?d>>2:d>>1)>9-c.wb&&(d=9-c.wb),1>d&&(d=1),f.dd=d,f.tc=2*h+d,f.ld=40<=h?2:15<=h?1:0}else f.tc=0;f.La=l}}}s=0}else Xt(t,6,"Frame setup failed"),s=t.a;if(s=0==s){if(s){t.$c=0,0<t.Aa||(t.Ic=Ui);t:{s=t.Ic,c=4*(d=t.za);var p=32*d,v=d+1,g=0<t.L?d*(0<t.Aa?2:1):0,m=(2==t.Aa?2:1)*d;if((f=c+832+(l=3*(16*s+Bi[t.L])/2*p)+(u=null!=t.Fa&&0<t.Fa.length?t.Kc.c*t.Kc.i:0))!=f)s=0;else{if(f>t.Vb){if(t.Vb=0,t.Ec=o(f),t.Fc=0,null==t.Ec){s=Xt(t,1,"no memory during frame initialization.");break t}t.Vb=f}f=t.Ec,h=t.Fc,t.Ac=f,t.Bc=h,h+=c,t.Gd=a(p,zt),t.Hd=0,t.rb=a(v+1,Bt),t.sb=1,t.wa=g?a(g,Mt):null,t.Y=0,t.D.Nb=0,t.D.wa=t.wa,t.D.Y=t.Y,0<t.Aa&&(t.D.Y+=d),e(!0),t.oc=f,t.pc=h,h+=832,t.ya=a(m,Ut),t.aa=0,t.D.ya=t.ya,t.D.aa=t.aa,2==t.Aa&&(t.D.aa+=d),t.R=16*d,t.B=8*d,d=(p=Bi[t.L])*t.R,p=p/2*t.B,t.sa=f,t.ta=h+d,t.qa=t.sa,t.ra=t.ta+16*s*t.R+p,t.Ha=t.qa,t.Ia=t.ra+8*s*t.B+p,t.$c=0,h+=l,t.mb=u?f:null,t.nb=u?h:null,e(h+u<=t.Fc+t.Vb),Zt(t),i(t.Ac,t.Bc,0,c),s=1}}if(s){if(r.ka=0,r.y=t.sa,r.O=t.ta,r.f=t.qa,r.N=t.ra,r.ea=t.Ha,r.Vd=t.Ia,r.fa=t.R,r.Rc=t.B,r.F=null,r.J=0,!Rn){for(s=-255;255>=s;++s)_n[255+s]=0>s?-s:s;for(s=-1020;1020>=s;++s)On[1020+s]=-128>s?-128:127<s?127:s;for(s=-112;112>=s;++s)Nn[112+s]=-16>s?-16:15<s?15:s;for(s=-255;510>=s;++s)Cn[255+s]=0>s?0:255<s?255:s;Rn=1}on=le,an=oe,cn=ae,ln=se,un=ce,sn=ie,fn=Xe,hn=Ye,dn=Ze,pn=Qe,vn=Ke,gn=Je,mn=tr,bn=er,yn=He,wn=ze,Sn=Ve,xn=qe,hi[0]=Te,hi[1]=fe,hi[2]=xe,hi[3]=ke,hi[4]=Ae,hi[5]=_e,hi[6]=Ee,hi[7]=Oe,hi[8]=Ce,hi[9]=Ne,fi[0]=me,fi[1]=de,fi[2]=pe,fi[3]=ve,fi[4]=be,fi[5]=ye,fi[6]=we,di[0]=Ie,di[1]=he,di[2]=Re,di[3]=Pe,di[4]=je,di[5]=Fe,di[6]=De,s=1}else s=0}s&&(s=function(t,r){for(t.M=0;t.M<t.Va;++t.M){var a,s=t.Jc[t.M&t.Xb],c=t.m,l=t;for(a=0;a<l.za;++a){var u=c,f=l,h=f.Ac,d=f.Bc+4*a,p=f.zc,v=f.ya[f.aa+a];if(f.Qa.Bb?v.$b=O(u,f.Pa.jb[0])?2+O(u,f.Pa.jb[2]):O(u,f.Pa.jb[1]):v.$b=0,f.kc&&(v.Ad=O(u,f.Bd)),v.Za=!O(u,145)+0,v.Za){var g=v.Ob,m=0;for(f=0;4>f;++f){var b,y=p[0+f];for(b=0;4>b;++b){y=ci[h[d+b]][y];for(var w=ai[O(u,y[0])];0<w;)w=ai[2*w+O(u,y[w])];y=-w,h[d+b]=y}n(g,m,h,d,4),m+=4,p[0+f]=y}}else y=O(u,156)?O(u,128)?1:3:O(u,163)?2:0,v.Ob[0]=y,i(h,d,y,4),i(p,0,y,4);v.Dd=O(u,142)?O(u,114)?O(u,183)?1:3:2:0}if(l.m.Ka)return Xt(t,7,"Premature end-of-partition0 encountered.");for(;t.ja<t.za;++t.ja){if(l=s,u=(c=t).rb[c.sb-1],h=c.rb[c.sb+c.ja],a=c.ya[c.aa+c.ja],d=c.kc?a.Ad:0)u.la=h.la=0,a.Za||(u.Na=h.Na=0),a.Hc=0,a.Gc=0,a.ia=0;else{var S,x;if(u=h,h=l,d=c.Pa.Xc,p=c.ya[c.aa+c.ja],v=c.pb[p.$b],f=p.ad,g=0,m=c.rb[c.sb-1],y=b=0,i(f,g,0,384),p.Za)var k=0,T=d[3];else{w=o(16);var A=u.Na+m.Na;if(A=ni(h,d[1],A,v.Eb,0,w,0),u.Na=m.Na=(0<A)+0,1<A)on(w,0,f,g);else{var E=w[0]+3>>3;for(w=0;256>w;w+=16)f[g+w]=E}k=1,T=d[0]}var _=15&u.la,N=15&m.la;for(w=0;4>w;++w){var C=1&N;for(E=x=0;4>E;++E)_=_>>1|(C=(A=ni(h,T,A=C+(1&_),v.Sc,k,f,g))>k)<<7,x=x<<2|(3<A?3:1<A?2:0!=f[g+0]),g+=16;_>>=4,N=N>>1|C<<7,b=(b<<8|x)>>>0}for(T=_,k=N>>4,S=0;4>S;S+=2){for(x=0,_=u.la>>4+S,N=m.la>>4+S,w=0;2>w;++w){for(C=1&N,E=0;2>E;++E)A=C+(1&_),_=_>>1|(C=0<(A=ni(h,d[2],A,v.Qc,0,f,g)))<<3,x=x<<2|(3<A?3:1<A?2:0!=f[g+0]),g+=16;_>>=2,N=N>>1|C<<5}y|=x<<4*S,T|=_<<4<<S,k|=(240&N)<<S}u.la=T,m.la=k,p.Hc=b,p.Gc=y,p.ia=43690&y?0:v.ia,d=!(b|y)}if(0<c.L&&(c.wa[c.Y+c.ja]=c.gd[a.$b][a.Za],c.wa[c.Y+c.ja].La|=!d),l.Ka)return Xt(t,7,"Premature end-of-file encountered.")}if(Zt(t),c=r,l=1,a=(s=t).D,u=0<s.L&&s.M>=s.zb&&s.M<=s.Va,0==s.Aa)t:{if(a.M=s.M,a.uc=u,Lr(s,a),l=1,a=(x=s.D).Nb,u=(y=Bi[s.L])*s.R,h=y/2*s.B,w=16*a*s.R,E=8*a*s.B,d=s.sa,p=s.ta-u+w,v=s.qa,f=s.ra-h+E,g=s.Ha,m=s.Ia-h+E,N=0==(_=x.M),b=_>=s.Va-1,2==s.Aa&&Lr(s,x),x.uc)for(C=(A=s).D.M,e(A.D.uc),x=A.yb;x<A.Hb;++x){k=x,T=C;var R=(P=(U=A).D).Nb;S=U.R;var P=P.wa[P.Y+k],L=U.sa,I=U.ta+16*R*S+16*k,F=P.dd,j=P.tc;if(0!=j)if(e(3<=j),1==U.L)0<k&&wn(L,I,S,j+4),P.La&&xn(L,I,S,j),0<T&&yn(L,I,S,j+4),P.La&&Sn(L,I,S,j);else{var D=U.B,M=U.qa,B=U.ra+8*R*D+8*k,W=U.Ha,U=U.Ia+8*R*D+8*k;R=P.ld,0<k&&(hn(L,I,S,j+4,F,R),pn(M,B,W,U,D,j+4,F,R)),P.La&&(gn(L,I,S,j,F,R),bn(M,B,W,U,D,j,F,R)),0<T&&(fn(L,I,S,j+4,F,R),dn(M,B,W,U,D,j+4,F,R)),P.La&&(vn(L,I,S,j,F,R),mn(M,B,W,U,D,j,F,R))}}if(s.ia&&alert("todo:DitherRow"),null!=c.put){if(x=16*_,_=16*(_+1),N?(c.y=s.sa,c.O=s.ta+w,c.f=s.qa,c.N=s.ra+E,c.ea=s.Ha,c.W=s.Ia+E):(x-=y,c.y=d,c.O=p,c.f=v,c.N=f,c.ea=g,c.W=m),b||(_-=y),_>c.o&&(_=c.o),c.F=null,c.J=null,null!=s.Fa&&0<s.Fa.length&&x<_&&(c.J=fr(s,c,x,_-x),c.F=s.mb,null==c.F&&0==c.F.length)){l=Xt(s,3,"Could not decode alpha data.");break t}x<c.j&&(y=c.j-x,x=c.j,e(!(1&y)),c.O+=s.R*y,c.N+=s.B*(y>>1),c.W+=s.B*(y>>1),null!=c.F&&(c.J+=c.width*y)),x<_&&(c.O+=c.v,c.N+=c.v>>1,c.W+=c.v>>1,null!=c.F&&(c.J+=c.v),c.ka=x-c.j,c.U=c.va-c.v,c.T=_-x,l=c.put(c))}a+1!=s.Ic||b||(n(s.sa,s.ta-u,d,p+16*s.R,u),n(s.qa,s.ra-h,v,f+8*s.B,h),n(s.Ha,s.Ia-h,g,m+8*s.B,h))}if(!l)return Xt(t,6,"Output aborted.")}return 1}(t,r)),null!=r.bc&&r.bc(r),s&=1}return s?(t.cb=0,s):0}function te(t,e,r,n,i){i=t[e+r+32*n]+(i>>3),t[e+r+32*n]=-256&i?0>i?0:255:i}function ee(t,e,r,n,i,o){te(t,e,0,r,n+i),te(t,e,1,r,n+o),te(t,e,2,r,n-o),te(t,e,3,r,n-i)}function re(t){return(20091*t>>16)+t}function ne(t,e,r,n){var i,a=0,s=o(16);for(i=0;4>i;++i){var c=t[e+0]+t[e+8],l=t[e+0]-t[e+8],u=(35468*t[e+4]>>16)-re(t[e+12]),f=re(t[e+4])+(35468*t[e+12]>>16);s[a+0]=c+f,s[a+1]=l+u,s[a+2]=l-u,s[a+3]=c-f,a+=4,e++}for(i=a=0;4>i;++i)c=(t=s[a+0]+4)+s[a+8],l=t-s[a+8],u=(35468*s[a+4]>>16)-re(s[a+12]),te(r,n,0,0,c+(f=re(s[a+4])+(35468*s[a+12]>>16))),te(r,n,1,0,l+u),te(r,n,2,0,l-u),te(r,n,3,0,c-f),a++,n+=32}function ie(t,e,r,n){var i=t[e+0]+4,o=35468*t[e+4]>>16,a=re(t[e+4]),s=35468*t[e+1]>>16;ee(r,n,0,i+a,t=re(t[e+1]),s),ee(r,n,1,i+o,t,s),ee(r,n,2,i-o,t,s),ee(r,n,3,i-a,t,s)}function oe(t,e,r,n,i){ne(t,e,r,n),i&&ne(t,e+16,r,n+4)}function ae(t,e,r,n){an(t,e+0,r,n,1),an(t,e+32,r,n+128,1)}function se(t,e,r,n){var i;for(t=t[e+0]+4,i=0;4>i;++i)for(e=0;4>e;++e)te(r,n,e,i,t)}function ce(t,e,r,n){t[e+0]&&ln(t,e+0,r,n),t[e+16]&&ln(t,e+16,r,n+4),t[e+32]&&ln(t,e+32,r,n+128),t[e+48]&&ln(t,e+48,r,n+128+4)}function le(t,e,r,n){var i,a=o(16);for(i=0;4>i;++i){var s=t[e+0+i]+t[e+12+i],c=t[e+4+i]+t[e+8+i],l=t[e+4+i]-t[e+8+i],u=t[e+0+i]-t[e+12+i];a[0+i]=s+c,a[8+i]=s-c,a[4+i]=u+l,a[12+i]=u-l}for(i=0;4>i;++i)s=(t=a[0+4*i]+3)+a[3+4*i],c=a[1+4*i]+a[2+4*i],l=a[1+4*i]-a[2+4*i],u=t-a[3+4*i],r[n+0]=s+c>>3,r[n+16]=u+l>>3,r[n+32]=s-c>>3,r[n+48]=u-l>>3,n+=64}function ue(t,e,r){var n,i=e-32,o=In,a=255-t[i-1];for(n=0;n<r;++n){var s,c=o,l=a+t[e-1];for(s=0;s<r;++s)t[e+s]=c[l+t[i+s]];e+=32}}function fe(t,e){ue(t,e,4)}function he(t,e){ue(t,e,8)}function de(t,e){ue(t,e,16)}function pe(t,e){var r;for(r=0;16>r;++r)n(t,e+32*r,t,e-32,16)}function ve(t,e){var r;for(r=16;0<r;--r)i(t,e,t[e-1],16),e+=32}function ge(t,e,r){var n;for(n=0;16>n;++n)i(e,r+32*n,t,16)}function me(t,e){var r,n=16;for(r=0;16>r;++r)n+=t[e-1+32*r]+t[e+r-32];ge(n>>5,t,e)}function be(t,e){var r,n=8;for(r=0;16>r;++r)n+=t[e-1+32*r];ge(n>>4,t,e)}function ye(t,e){var r,n=8;for(r=0;16>r;++r)n+=t[e+r-32];ge(n>>4,t,e)}function we(t,e){ge(128,t,e)}function Se(t,e,r){return t+2*e+r+2>>2}function xe(t,e){var r,i=e-32;for(i=new Uint8Array([Se(t[i-1],t[i+0],t[i+1]),Se(t[i+0],t[i+1],t[i+2]),Se(t[i+1],t[i+2],t[i+3]),Se(t[i+2],t[i+3],t[i+4])]),r=0;4>r;++r)n(t,e+32*r,i,0,i.length)}function ke(t,e){var r=t[e-1],n=t[e-1+32],i=t[e-1+64],o=t[e-1+96];N(t,e+0,16843009*Se(t[e-1-32],r,n)),N(t,e+32,16843009*Se(r,n,i)),N(t,e+64,16843009*Se(n,i,o)),N(t,e+96,16843009*Se(i,o,o))}function Te(t,e){var r,n=4;for(r=0;4>r;++r)n+=t[e+r-32]+t[e-1+32*r];for(n>>=3,r=0;4>r;++r)i(t,e+32*r,n,4)}function Ae(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],o=t[e-1-32],a=t[e+0-32],s=t[e+1-32],c=t[e+2-32],l=t[e+3-32];t[e+0+96]=Se(n,i,t[e-1+96]),t[e+1+96]=t[e+0+64]=Se(r,n,i),t[e+2+96]=t[e+1+64]=t[e+0+32]=Se(o,r,n),t[e+3+96]=t[e+2+64]=t[e+1+32]=t[e+0+0]=Se(a,o,r),t[e+3+64]=t[e+2+32]=t[e+1+0]=Se(s,a,o),t[e+3+32]=t[e+2+0]=Se(c,s,a),t[e+3+0]=Se(l,c,s)}function Ee(t,e){var r=t[e+1-32],n=t[e+2-32],i=t[e+3-32],o=t[e+4-32],a=t[e+5-32],s=t[e+6-32],c=t[e+7-32];t[e+0+0]=Se(t[e+0-32],r,n),t[e+1+0]=t[e+0+32]=Se(r,n,i),t[e+2+0]=t[e+1+32]=t[e+0+64]=Se(n,i,o),t[e+3+0]=t[e+2+32]=t[e+1+64]=t[e+0+96]=Se(i,o,a),t[e+3+32]=t[e+2+64]=t[e+1+96]=Se(o,a,s),t[e+3+64]=t[e+2+96]=Se(a,s,c),t[e+3+96]=Se(s,c,c)}function _e(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],o=t[e-1-32],a=t[e+0-32],s=t[e+1-32],c=t[e+2-32],l=t[e+3-32];t[e+0+0]=t[e+1+64]=o+a+1>>1,t[e+1+0]=t[e+2+64]=a+s+1>>1,t[e+2+0]=t[e+3+64]=s+c+1>>1,t[e+3+0]=c+l+1>>1,t[e+0+96]=Se(i,n,r),t[e+0+64]=Se(n,r,o),t[e+0+32]=t[e+1+96]=Se(r,o,a),t[e+1+32]=t[e+2+96]=Se(o,a,s),t[e+2+32]=t[e+3+96]=Se(a,s,c),t[e+3+32]=Se(s,c,l)}function Oe(t,e){var r=t[e+0-32],n=t[e+1-32],i=t[e+2-32],o=t[e+3-32],a=t[e+4-32],s=t[e+5-32],c=t[e+6-32],l=t[e+7-32];t[e+0+0]=r+n+1>>1,t[e+1+0]=t[e+0+64]=n+i+1>>1,t[e+2+0]=t[e+1+64]=i+o+1>>1,t[e+3+0]=t[e+2+64]=o+a+1>>1,t[e+0+32]=Se(r,n,i),t[e+1+32]=t[e+0+96]=Se(n,i,o),t[e+2+32]=t[e+1+96]=Se(i,o,a),t[e+3+32]=t[e+2+96]=Se(o,a,s),t[e+3+64]=Se(a,s,c),t[e+3+96]=Se(s,c,l)}function Ne(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],o=t[e-1+96];t[e+0+0]=r+n+1>>1,t[e+2+0]=t[e+0+32]=n+i+1>>1,t[e+2+32]=t[e+0+64]=i+o+1>>1,t[e+1+0]=Se(r,n,i),t[e+3+0]=t[e+1+32]=Se(n,i,o),t[e+3+32]=t[e+1+64]=Se(i,o,o),t[e+3+64]=t[e+2+64]=t[e+0+96]=t[e+1+96]=t[e+2+96]=t[e+3+96]=o}function Ce(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],o=t[e-1+96],a=t[e-1-32],s=t[e+0-32],c=t[e+1-32],l=t[e+2-32];t[e+0+0]=t[e+2+32]=r+a+1>>1,t[e+0+32]=t[e+2+64]=n+r+1>>1,t[e+0+64]=t[e+2+96]=i+n+1>>1,t[e+0+96]=o+i+1>>1,t[e+3+0]=Se(s,c,l),t[e+2+0]=Se(a,s,c),t[e+1+0]=t[e+3+32]=Se(r,a,s),t[e+1+32]=t[e+3+64]=Se(n,r,a),t[e+1+64]=t[e+3+96]=Se(i,n,r),t[e+1+96]=Se(o,i,n)}function Re(t,e){var r;for(r=0;8>r;++r)n(t,e+32*r,t,e-32,8)}function Pe(t,e){var r;for(r=0;8>r;++r)i(t,e,t[e-1],8),e+=32}function Le(t,e,r){var n;for(n=0;8>n;++n)i(e,r+32*n,t,8)}function Ie(t,e){var r,n=8;for(r=0;8>r;++r)n+=t[e+r-32]+t[e-1+32*r];Le(n>>4,t,e)}function Fe(t,e){var r,n=4;for(r=0;8>r;++r)n+=t[e+r-32];Le(n>>3,t,e)}function je(t,e){var r,n=4;for(r=0;8>r;++r)n+=t[e-1+32*r];Le(n>>3,t,e)}function De(t,e){Le(128,t,e)}function Me(t,e,r){var n=t[e-r],i=t[e+0],o=3*(i-n)+Pn[1020+t[e-2*r]-t[e+r]],a=Ln[112+(o+4>>3)];t[e-r]=In[255+n+Ln[112+(o+3>>3)]],t[e+0]=In[255+i-a]}function Be(t,e,r,n){var i=t[e+0],o=t[e+r];return Fn[255+t[e-2*r]-t[e-r]]>n||Fn[255+o-i]>n}function We(t,e,r,n){return 4*Fn[255+t[e-r]-t[e+0]]+Fn[255+t[e-2*r]-t[e+r]]<=n}function Ue(t,e,r,n,i){var o=t[e-3*r],a=t[e-2*r],s=t[e-r],c=t[e+0],l=t[e+r],u=t[e+2*r],f=t[e+3*r];return 4*Fn[255+s-c]+Fn[255+a-l]>n?0:Fn[255+t[e-4*r]-o]<=i&&Fn[255+o-a]<=i&&Fn[255+a-s]<=i&&Fn[255+f-u]<=i&&Fn[255+u-l]<=i&&Fn[255+l-c]<=i}function He(t,e,r,n){var i=2*n+1;for(n=0;16>n;++n)We(t,e+n,r,i)&&Me(t,e+n,r)}function ze(t,e,r,n){var i=2*n+1;for(n=0;16>n;++n)We(t,e+n*r,1,i)&&Me(t,e+n*r,1)}function Ve(t,e,r,n){var i;for(i=3;0<i;--i)He(t,e+=4*r,r,n)}function qe(t,e,r,n){var i;for(i=3;0<i;--i)ze(t,e+=4,r,n)}function $e(t,e,r,n,i,o,a,s){for(o=2*o+1;0<i--;){if(Ue(t,e,r,o,a))if(Be(t,e,r,s))Me(t,e,r);else{var c=t,l=e,u=r,f=c[l-2*u],h=c[l-u],d=c[l+0],p=c[l+u],v=c[l+2*u],g=27*(b=Pn[1020+3*(d-h)+Pn[1020+f-p]])+63>>7,m=18*b+63>>7,b=9*b+63>>7;c[l-3*u]=In[255+c[l-3*u]+b],c[l-2*u]=In[255+f+m],c[l-u]=In[255+h+g],c[l+0]=In[255+d-g],c[l+u]=In[255+p-m],c[l+2*u]=In[255+v-b]}e+=n}}function Ge(t,e,r,n,i,o,a,s){for(o=2*o+1;0<i--;){if(Ue(t,e,r,o,a))if(Be(t,e,r,s))Me(t,e,r);else{var c=t,l=e,u=r,f=c[l-u],h=c[l+0],d=c[l+u],p=Ln[112+(4+(v=3*(h-f))>>3)],v=Ln[112+(v+3>>3)],g=p+1>>1;c[l-2*u]=In[255+c[l-2*u]+g],c[l-u]=In[255+f+v],c[l+0]=In[255+h-p],c[l+u]=In[255+d-g]}e+=n}}function Xe(t,e,r,n,i,o){$e(t,e,r,1,16,n,i,o)}function Ye(t,e,r,n,i,o){$e(t,e,1,r,16,n,i,o)}function Ke(t,e,r,n,i,o){var a;for(a=3;0<a;--a)Ge(t,e+=4*r,r,1,16,n,i,o)}function Je(t,e,r,n,i,o){var a;for(a=3;0<a;--a)Ge(t,e+=4,1,r,16,n,i,o)}function Ze(t,e,r,n,i,o,a,s){$e(t,e,i,1,8,o,a,s),$e(r,n,i,1,8,o,a,s)}function Qe(t,e,r,n,i,o,a,s){$e(t,e,1,i,8,o,a,s),$e(r,n,1,i,8,o,a,s)}function tr(t,e,r,n,i,o,a,s){Ge(t,e+4*i,i,1,8,o,a,s),Ge(r,n+4*i,i,1,8,o,a,s)}function er(t,e,r,n,i,o,a,s){Ge(t,e+4,1,i,8,o,a,s),Ge(r,n+4,1,i,8,o,a,s)}function rr(){this.ba=new at,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new ct,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function nr(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function ir(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function or(){this.ua=0,this.Wa=new F,this.vb=new F,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new d,this.yc=new f}function ar(){this.xb=this.a=0,this.l=new $t,this.ca=new at,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new S,this.Pb=0,this.wd=new S,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new or,this.ab=0,this.gc=a(4,ir),this.Oc=0}function sr(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new $t,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function cr(t,e,r,n,i,o,a){for(t=null==t?0:t[e+0],e=0;e<a;++e)i[o+e]=t+r[n+e]&255,t=i[o+e]}function lr(t,e,r,n,i,o,a){var s;if(null==t)cr(null,null,r,n,i,o,a);else for(s=0;s<a;++s)i[o+s]=t[e+s]+r[n+s]&255}function ur(t,e,r,n,i,o,a){if(null==t)cr(null,null,r,n,i,o,a);else{var s,c=t[e+0],l=c,u=c;for(s=0;s<a;++s)l=u+(c=t[e+s])-l,u=r[n+s]+(-256&l?0>l?0:255:l)&255,l=c,i[o+s]=u}}function fr(t,r,i,a){var s=r.width,c=r.o;if(e(null!=t&&null!=r),0>i||0>=a||i+a>c)return null;if(!t.Cc){if(null==t.ga){var l;if(t.ga=new sr,(l=null==t.ga)||(l=r.width*r.o,e(0==t.Gb.length),t.Gb=o(l),t.Uc=0,null==t.Gb?l=0:(t.mb=t.Gb,t.nb=t.Uc,t.rc=null,l=1),l=!l),!l){l=t.ga;var u=t.Fa,f=t.P,h=t.qc,d=t.mb,p=t.nb,v=f+1,g=h-1,b=l.l;if(e(null!=u&&null!=d&&null!=r),gi[0]=null,gi[1]=cr,gi[2]=lr,gi[3]=ur,l.ca=d,l.tb=p,l.c=r.width,l.i=r.height,e(0<l.c&&0<l.i),1>=h)r=0;else if(l.$a=3&u[f+0],l.Z=u[f+0]>>2&3,l.Lc=u[f+0]>>4&3,f=u[f+0]>>6&3,0>l.$a||1<l.$a||4<=l.Z||1<l.Lc||f)r=0;else if(b.put=dt,b.ac=ht,b.bc=pt,b.ma=l,b.width=r.width,b.height=r.height,b.Da=r.Da,b.v=r.v,b.va=r.va,b.j=r.j,b.o=r.o,l.$a)t:{e(1==l.$a),r=Ot();e:for(;;){if(null==r){r=0;break t}if(e(null!=l),l.mc=r,r.c=l.c,r.i=l.i,r.l=l.l,r.l.ma=l,r.l.width=l.c,r.l.height=l.i,r.a=0,m(r.m,u,v,g),!Nt(l.c,l.i,1,r,null))break e;if(1==r.ab&&3==r.gc[0].hc&&kt(r.s)?(l.ic=1,u=r.c*r.i,r.Ta=null,r.Ua=0,r.V=o(u),r.Ba=0,null==r.V?(r.a=1,r=0):r=1):(l.ic=0,r=Ct(r,l.c)),!r)break e;r=1;break t}l.mc=null,r=0}else r=g>=l.c*l.i;l=!r}if(l)return null;1!=t.ga.Lc?t.Ga=0:a=c-i}e(null!=t.ga),e(i+a<=c);t:{if(r=(u=t.ga).c,c=u.l.o,0==u.$a){if(v=t.rc,g=t.Vc,b=t.Fa,f=t.P+1+i*r,h=t.mb,d=t.nb+i*r,e(f<=t.P+t.qc),0!=u.Z)for(e(null!=gi[u.Z]),l=0;l<a;++l)gi[u.Z](v,g,b,f,h,d,r),v=h,g=d,d+=r,f+=r;else for(l=0;l<a;++l)n(h,d,b,f,r),v=h,g=d,d+=r,f+=r;t.rc=v,t.Vc=g}else{if(e(null!=u.mc),r=i+a,e(null!=(l=u.mc)),e(r<=l.i),l.C>=r)r=1;else if(u.ic||gr(),u.ic){u=l.V,v=l.Ba,g=l.c;var y=l.i,w=(b=1,f=l.$/g,h=l.$%g,d=l.m,p=l.s,l.$),S=g*y,x=g*r,T=p.wc,E=w<x?wt(p,h,f):null;e(w<=S),e(r<=y),e(kt(p));e:for(;;){for(;!d.h&&w<x;){if(h&T||(E=wt(p,h,f)),e(null!=E),A(d),256>(y=bt(E.G[0],E.H[0],d)))u[v+w]=y,++w,++h>=g&&(h=0,++f<=r&&!(f%16)&&At(l,f));else{if(!(280>y)){b=0;break e}y=gt(y-256,d);var _,O=bt(E.G[4],E.H[4],d);if(A(d),!(w>=(O=mt(g,O=gt(O,d)))&&S-w>=y)){b=0;break e}for(_=0;_<y;++_)u[v+w+_]=u[v+w+_-O];for(w+=y,h+=y;h>=g;)h-=g,++f<=r&&!(f%16)&&At(l,f);w<x&&h&T&&(E=wt(p,h,f))}e(d.h==k(d))}At(l,f>r?r:f);break e}!b||d.h&&w<S?(b=0,l.a=d.h?5:3):l.$=w,r=b}else r=Et(l,l.V,l.Ba,l.c,l.i,r,Rt);if(!r){a=0;break t}}i+a>=c&&(t.Cc=1),a=1}if(!a)return null;if(t.Cc&&(null!=(a=t.ga)&&(a.mc=null),t.ga=null,0<t.Ga))return alert("todo:WebPDequantizeLevels"),null}return t.nb+i*s}function hr(t,e,r,n,i,o){for(;0<i--;){var a,s=t,c=e+(r?1:0),l=t,u=e+(r?0:3);for(a=0;a<n;++a){var f=l[u+4*a];255!=f&&(f*=32897,s[c+4*a+0]=s[c+4*a+0]*f>>23,s[c+4*a+1]=s[c+4*a+1]*f>>23,s[c+4*a+2]=s[c+4*a+2]*f>>23)}e+=o}}function dr(t,e,r,n,i){for(;0<n--;){var o;for(o=0;o<r;++o){var a=t[e+2*o+0],s=15&(l=t[e+2*o+1]),c=4369*s,l=(240&l|l>>4)*c>>16;t[e+2*o+0]=(240&a|a>>4)*c>>16&240|(15&a|a<<4)*c>>16>>4&15,t[e+2*o+1]=240&l|s}e+=i}}function pr(t,e,r,n,i,o,a,s){var c,l,u=255;for(l=0;l<i;++l){for(c=0;c<n;++c){var f=t[e+c];o[a+4*c]=f,u&=f}e+=r,a+=s}return 255!=u}function vr(t,e,r,n,i){var o;for(o=0;o<i;++o)r[n+o]=t[e+o]>>8}function gr(){kn=hr,Tn=dr,An=pr,En=vr}function mr(r,n,i){t[r]=function(t,r,o,a,s,c,l,u,f,h,d,p,v,g,m,b,y){var w,S=y-1>>1,x=s[c+0]|l[u+0]<<16,k=f[h+0]|d[p+0]<<16;e(null!=t);var T=3*x+k+131074>>2;for(n(t[r+0],255&T,T>>16,v,g),null!=o&&(T=3*k+x+131074>>2,n(o[a+0],255&T,T>>16,m,b)),w=1;w<=S;++w){var A=s[c+w]|l[u+w]<<16,E=f[h+w]|d[p+w]<<16,_=x+A+k+E+524296,O=_+2*(A+k)>>3;T=O+x>>1,x=(_=_+2*(x+E)>>3)+A>>1,n(t[r+2*w-1],255&T,T>>16,v,g+(2*w-1)*i),n(t[r+2*w-0],255&x,x>>16,v,g+(2*w-0)*i),null!=o&&(T=_+k>>1,x=O+E>>1,n(o[a+2*w-1],255&T,T>>16,m,b+(2*w-1)*i),n(o[a+2*w+0],255&x,x>>16,m,b+(2*w+0)*i)),x=A,k=E}1&y||(T=3*x+k+131074>>2,n(t[r+y-1],255&T,T>>16,v,g+(y-1)*i),null!=o&&(T=3*k+x+131074>>2,n(o[a+y-1],255&T,T>>16,m,b+(y-1)*i)))}}function br(){mi[jn]=bi,mi[Dn]=wi,mi[Mn]=yi,mi[Bn]=Si,mi[Wn]=xi,mi[Un]=ki,mi[Hn]=Ti,mi[zn]=wi,mi[Vn]=Si,mi[qn]=xi,mi[$n]=ki}function yr(t){return t&~Ci?0>t?0:255:t>>Ni}function wr(t,e){return yr((19077*t>>8)+(26149*e>>8)-14234)}function Sr(t,e,r){return yr((19077*t>>8)-(6419*e>>8)-(13320*r>>8)+8708)}function xr(t,e){return yr((19077*t>>8)+(33050*e>>8)-17685)}function kr(t,e,r,n,i){n[i+0]=wr(t,r),n[i+1]=Sr(t,e,r),n[i+2]=xr(t,e)}function Tr(t,e,r,n,i){n[i+0]=xr(t,e),n[i+1]=Sr(t,e,r),n[i+2]=wr(t,r)}function Ar(t,e,r,n,i){var o=Sr(t,e,r);e=o<<3&224|xr(t,e)>>3,n[i+0]=248&wr(t,r)|o>>5,n[i+1]=e}function Er(t,e,r,n,i){var o=240&xr(t,e)|15;n[i+0]=240&wr(t,r)|Sr(t,e,r)>>4,n[i+1]=o}function _r(t,e,r,n,i){n[i+0]=255,kr(t,e,r,n,i+1)}function Or(t,e,r,n,i){Tr(t,e,r,n,i),n[i+3]=255}function Nr(t,e,r,n,i){kr(t,e,r,n,i),n[i+3]=255}function qt(t,e){return 0>t?0:t>e?e:t}function Cr(e,r,n){t[e]=function(t,e,i,o,a,s,c,l,u){for(var f=l+(-2&u)*n;l!=f;)r(t[e+0],i[o+0],a[s+0],c,l),r(t[e+1],i[o+0],a[s+0],c,l+n),e+=2,++o,++s,l+=2*n;1&u&&r(t[e+0],i[o+0],a[s+0],c,l)}}function Rr(t,e,r){return 0==r?0==t?0==e?6:5:0==e?4:0:r}function Pr(t,e,r,n,i){switch(t>>>30){case 3:an(e,r,n,i,0);break;case 2:sn(e,r,n,i);break;case 1:ln(e,r,n,i)}}function Lr(t,e){var r,o,a=e.M,s=e.Nb,c=t.oc,l=t.pc+40,u=t.oc,f=t.pc+584,h=t.oc,d=t.pc+600;for(r=0;16>r;++r)c[l+32*r-1]=129;for(r=0;8>r;++r)u[f+32*r-1]=129,h[d+32*r-1]=129;for(0<a?c[l-1-32]=u[f-1-32]=h[d-1-32]=129:(i(c,l-32-1,127,21),i(u,f-32-1,127,9),i(h,d-32-1,127,9)),o=0;o<t.za;++o){var p=e.ya[e.aa+o];if(0<o){for(r=-1;16>r;++r)n(c,l+32*r-4,c,l+32*r+12,4);for(r=-1;8>r;++r)n(u,f+32*r-4,u,f+32*r+4,4),n(h,d+32*r-4,h,d+32*r+4,4)}var v=t.Gd,g=t.Hd+o,m=p.ad,b=p.Hc;if(0<a&&(n(c,l-32,v[g].y,0,16),n(u,f-32,v[g].f,0,8),n(h,d-32,v[g].ea,0,8)),p.Za){var y=c,w=l-32+16;for(0<a&&(o>=t.za-1?i(y,w,v[g].y[15],4):n(y,w,v[g+1].y,0,4)),r=0;4>r;r++)y[w+128+r]=y[w+256+r]=y[w+384+r]=y[w+0+r];for(r=0;16>r;++r,b<<=2)y=c,w=l+Mi[r],hi[p.Ob[r]](y,w),Pr(b,m,16*+r,y,w)}else if(y=Rr(o,a,p.Ob[0]),fi[y](c,l),0!=b)for(r=0;16>r;++r,b<<=2)Pr(b,m,16*+r,c,l+Mi[r]);for(r=p.Gc,y=Rr(o,a,p.Dd),di[y](u,f),di[y](h,d),b=m,y=u,w=f,255&(p=r|0)&&(170&p?cn(b,256,y,w):un(b,256,y,w)),p=h,b=d,255&(r>>=8)&&(170&r?cn(m,320,p,b):un(m,320,p,b)),a<t.Ub-1&&(n(v[g].y,0,c,l+480,16),n(v[g].f,0,u,f+224,8),n(v[g].ea,0,h,d+224,8)),r=8*s*t.B,v=t.sa,g=t.ta+16*o+16*s*t.R,m=t.qa,p=t.ra+8*o+r,b=t.Ha,y=t.Ia+8*o+r,r=0;16>r;++r)n(v,g+r*t.R,c,l+32*r,16);for(r=0;8>r;++r)n(m,p+r*t.B,u,f+32*r,8),n(b,y+r*t.B,h,d+32*r,8)}}function Ir(t,n,i,o,a,s,c,l,u){var f=[0],h=[0],d=0,p=null!=u?u.kd:0,v=null!=u?u:new nr;if(null==t||12>i)return 7;v.data=t,v.w=n,v.ha=i,n=[n],i=[i],v.gb=[v.gb];t:{var g=n,b=i,y=v.gb;if(e(null!=t),e(null!=b),e(null!=y),y[0]=0,12<=b[0]&&!r(t,g[0],"RIFF")){if(r(t,g[0]+8,"WEBP")){y=3;break t}var w=P(t,g[0]+4);if(12>w||4294967286<w){y=3;break t}if(p&&w>b[0]-8){y=7;break t}y[0]=w,g[0]+=12,b[0]-=12}y=0}if(0!=y)return y;for(w=0<v.gb[0],i=i[0];;){t:{var x=t;b=n,y=i;var k=f,T=h,A=g=[0];if((O=d=[d])[0]=0,8>y[0])y=7;else{if(!r(x,b[0],"VP8X")){if(10!=P(x,b[0]+4)){y=3;break t}if(18>y[0]){y=7;break t}var E=P(x,b[0]+8),_=1+R(x,b[0]+12);if(2147483648<=_*(x=1+R(x,b[0]+15))){y=3;break t}null!=A&&(A[0]=E),null!=k&&(k[0]=_),null!=T&&(T[0]=x),b[0]+=18,y[0]-=18,O[0]=1}y=0}}if(d=d[0],g=g[0],0!=y)return y;if(b=!!(2&g),!w&&d)return 3;if(null!=s&&(s[0]=!!(16&g)),null!=c&&(c[0]=b),null!=l&&(l[0]=0),c=f[0],g=h[0],d&&b&&null==u){y=0;break}if(4>i){y=7;break}if(w&&d||!w&&!d&&!r(t,n[0],"ALPH")){i=[i],v.na=[v.na],v.P=[v.P],v.Sa=[v.Sa];t:{E=t,y=n,w=i;var O=v.gb;k=v.na,T=v.P,A=v.Sa,_=22,e(null!=E),e(null!=w),x=y[0];var N=w[0];for(e(null!=k),e(null!=A),k[0]=null,T[0]=null,A[0]=0;;){if(y[0]=x,w[0]=N,8>N){y=7;break t}var C=P(E,x+4);if(4294967286<C){y=3;break t}var L=8+C+1&-2;if(_+=L,0<O&&_>O){y=3;break t}if(!r(E,x,"VP8 ")||!r(E,x,"VP8L")){y=0;break t}if(N[0]<L){y=7;break t}r(E,x,"ALPH")||(k[0]=E,T[0]=x+8,A[0]=C),x+=L,N-=L}}if(i=i[0],v.na=v.na[0],v.P=v.P[0],v.Sa=v.Sa[0],0!=y)break}i=[i],v.Ja=[v.Ja],v.xa=[v.xa];t:if(O=t,y=n,w=i,k=v.gb[0],T=v.Ja,A=v.xa,E=y[0],x=!r(O,E,"VP8 "),_=!r(O,E,"VP8L"),e(null!=O),e(null!=w),e(null!=T),e(null!=A),8>w[0])y=7;else{if(x||_){if(O=P(O,E+4),12<=k&&O>k-12){y=3;break t}if(p&&O>w[0]-8){y=7;break t}T[0]=O,y[0]+=8,w[0]-=8,A[0]=_}else A[0]=5<=w[0]&&47==O[E+0]&&!(O[E+4]>>5),T[0]=w[0];y=0}if(i=i[0],v.Ja=v.Ja[0],v.xa=v.xa[0],n=n[0],0!=y)break;if(4294967286<v.Ja)return 3;if(null==l||b||(l[0]=v.xa?2:1),c=[c],g=[g],v.xa){if(5>i){y=7;break}l=c,p=g,b=s,null==t||5>i?t=0:5<=i&&47==t[n+0]&&!(t[n+4]>>5)?(w=[0],O=[0],k=[0],m(T=new S,t,n,i),vt(T,w,O,k)?(null!=l&&(l[0]=w[0]),null!=p&&(p[0]=O[0]),null!=b&&(b[0]=k[0]),t=1):t=0):t=0}else{if(10>i){y=7;break}l=g,null==t||10>i||!Yt(t,n+3,i-3)?t=0:(p=t[n+0]|t[n+1]<<8|t[n+2]<<16,b=16383&(t[n+7]<<8|t[n+6]),t=16383&(t[n+9]<<8|t[n+8]),1&p||3<(p>>1&7)||!(p>>4&1)||p>>5>=v.Ja||!b||!t?t=0:(c&&(c[0]=b),l&&(l[0]=t),t=1))}if(!t)return 3;if(c=c[0],g=g[0],d&&(f[0]!=c||h[0]!=g))return 3;null!=u&&(u[0]=v,u.offset=n-u.w,e(4294967286>n-u.w),e(u.offset==u.ha-i));break}return 0==y||7==y&&d&&null==u?(null!=s&&(s[0]|=null!=v.na&&0<v.na.length),null!=o&&(o[0]=c),null!=a&&(a[0]=g),0):y}function Fr(t,e,r){var n=e.width,i=e.height,o=0,a=0,s=n,c=i;if(e.Da=null!=t&&0<t.Da,e.Da&&(s=t.cd,c=t.bd,o=t.v,a=t.j,11>r||(o&=-2,a&=-2),0>o||0>a||0>=s||0>=c||o+s>n||a+c>i))return 0;if(e.v=o,e.j=a,e.va=o+s,e.o=a+c,e.U=s,e.T=c,e.da=null!=t&&0<t.da,e.da){if(!j(s,c,r=[t.ib],o=[t.hb]))return 0;e.ib=r[0],e.hb=o[0]}return e.ob=null!=t&&t.ob,e.Kb=null==t||!t.Sd,e.da&&(e.ob=e.ib<3*n/4&&e.hb<3*i/4,e.Kb=0),1}function jr(t){if(null==t)return 2;if(11>t.S){var e=t.f.RGBA;e.fb+=(t.height-1)*e.A,e.A=-e.A}else e=t.f.kb,t=t.height,e.O+=(t-1)*e.fa,e.fa=-e.fa,e.N+=(t-1>>1)*e.Ab,e.Ab=-e.Ab,e.W+=(t-1>>1)*e.Db,e.Db=-e.Db,null!=e.F&&(e.J+=(t-1)*e.lb,e.lb=-e.lb);return 0}function Dr(t,e,r,n){if(null==n||0>=t||0>=e)return 2;if(null!=r){if(r.Da){var i=r.cd,a=r.bd,s=-2&r.v,c=-2&r.j;if(0>s||0>c||0>=i||0>=a||s+i>t||c+a>e)return 2;t=i,e=a}if(r.da){if(!j(t,e,i=[r.ib],a=[r.hb]))return 2;t=i[0],e=a[0]}}n.width=t,n.height=e;t:{var l=n.width,u=n.height;if(t=n.S,0>=l||0>=u||!(t>=jn&&13>t))t=2;else{if(0>=n.Rd&&null==n.sd){s=a=i=e=0;var f=(c=l*Hi[t])*u;if(11>t||(a=(u+1)/2*(e=(l+1)/2),12==t&&(s=(i=l)*u)),null==(u=o(f+2*a+s))){t=1;break t}n.sd=u,11>t?((l=n.f.RGBA).eb=u,l.fb=0,l.A=c,l.size=f):((l=n.f.kb).y=u,l.O=0,l.fa=c,l.Fd=f,l.f=u,l.N=0+f,l.Ab=e,l.Cd=a,l.ea=u,l.W=0+f+a,l.Db=e,l.Ed=a,12==t&&(l.F=u,l.J=0+f+2*a),l.Tc=s,l.lb=i)}if(e=1,i=n.S,a=n.width,s=n.height,i>=jn&&13>i)if(11>i)t=n.f.RGBA,e&=(c=Math.abs(t.A))*(s-1)+a<=t.size,e&=c>=a*Hi[i],e&=null!=t.eb;else{t=n.f.kb,c=(a+1)/2,f=(s+1)/2,l=Math.abs(t.fa),u=Math.abs(t.Ab);var h=Math.abs(t.Db),d=Math.abs(t.lb),p=d*(s-1)+a;e&=l*(s-1)+a<=t.Fd,e&=u*(f-1)+c<=t.Cd,e=(e&=h*(f-1)+c<=t.Ed)&l>=a&u>=c&h>=c,e&=null!=t.y,e&=null!=t.f,e&=null!=t.ea,12==i&&(e&=d>=a,e&=p<=t.Tc,e&=null!=t.F)}else e=0;t=e?0:2}}return 0!=t||null!=r&&r.fd&&(t=jr(n)),t}var Mr=64,Br=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Wr=24,Ur=32,Hr=8,zr=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];B("Predictor0","PredictorAdd0"),t.Predictor0=function(){return 4278190080},t.Predictor1=function(t){return t},t.Predictor2=function(t,e,r){return e[r+0]},t.Predictor3=function(t,e,r){return e[r+1]},t.Predictor4=function(t,e,r){return e[r-1]},t.Predictor5=function(t,e,r){return U(U(t,e[r+1]),e[r+0])},t.Predictor6=function(t,e,r){return U(t,e[r-1])},t.Predictor7=function(t,e,r){return U(t,e[r+0])},t.Predictor8=function(t,e,r){return U(e[r-1],e[r+0])},t.Predictor9=function(t,e,r){return U(e[r+0],e[r+1])},t.Predictor10=function(t,e,r){return U(U(t,e[r-1]),U(e[r+0],e[r+1]))},t.Predictor11=function(t,e,r){var n=e[r+0];return 0>=V(n>>24&255,t>>24&255,(e=e[r-1])>>24&255)+V(n>>16&255,t>>16&255,e>>16&255)+V(n>>8&255,t>>8&255,e>>8&255)+V(255&n,255&t,255&e)?n:t},t.Predictor12=function(t,e,r){var n=e[r+0];return(H((t>>24&255)+(n>>24&255)-((e=e[r-1])>>24&255))<<24|H((t>>16&255)+(n>>16&255)-(e>>16&255))<<16|H((t>>8&255)+(n>>8&255)-(e>>8&255))<<8|H((255&t)+(255&n)-(255&e)))>>>0},t.Predictor13=function(t,e,r){var n=e[r-1];return(z((t=U(t,e[r+0]))>>24&255,n>>24&255)<<24|z(t>>16&255,n>>16&255)<<16|z(t>>8&255,n>>8&255)<<8|z(255&t,255&n))>>>0};var Vr=t.PredictorAdd0;t.PredictorAdd1=q,B("Predictor2","PredictorAdd2"),B("Predictor3","PredictorAdd3"),B("Predictor4","PredictorAdd4"),B("Predictor5","PredictorAdd5"),B("Predictor6","PredictorAdd6"),B("Predictor7","PredictorAdd7"),B("Predictor8","PredictorAdd8"),B("Predictor9","PredictorAdd9"),B("Predictor10","PredictorAdd10"),B("Predictor11","PredictorAdd11"),B("Predictor12","PredictorAdd12"),B("Predictor13","PredictorAdd13");var qr=t.PredictorAdd2;Y("ColorIndexInverseTransform","MapARGB","32b",(function(t){return t>>8&255}),(function(t){return t})),Y("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(t){return t}),(function(t){return t>>8&255}));var $r,Gr=t.ColorIndexInverseTransform,Xr=t.MapARGB,Yr=t.VP8LColorIndexInverseTransformAlpha,Kr=t.MapAlpha,Jr=t.VP8LPredictorsAdd=[];Jr.length=16,(t.VP8LPredictors=[]).length=16,(t.VP8LPredictorsAdd_C=[]).length=16,(t.VP8LPredictors_C=[]).length=16;var Zr,Qr,tn,en,rn,nn,on,an,sn,cn,ln,un,fn,hn,dn,pn,vn,gn,mn,bn,yn,wn,Sn,xn,kn,Tn,An,En,_n=o(511),On=o(2041),Nn=o(225),Cn=o(767),Rn=0,Pn=On,Ln=Nn,In=Cn,Fn=_n,jn=0,Dn=1,Mn=2,Bn=3,Wn=4,Un=5,Hn=6,zn=7,Vn=8,qn=9,$n=10,Gn=[2,3,7],Xn=[3,3,11],Yn=[280,256,256,256,40],Kn=[0,1,1,1,0],Jn=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Zn=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Qn=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ti=8,ei=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ri=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],ni=null,ii=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],oi=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],ai=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],si=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],ci=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],li=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],ui=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],fi=[],hi=[],di=[],pi=1,vi=2,gi=[],mi=[];mr("UpsampleRgbLinePair",kr,3),mr("UpsampleBgrLinePair",Tr,3),mr("UpsampleRgbaLinePair",Nr,4),mr("UpsampleBgraLinePair",Or,4),mr("UpsampleArgbLinePair",_r,4),mr("UpsampleRgba4444LinePair",Er,2),mr("UpsampleRgb565LinePair",Ar,2);var bi=t.UpsampleRgbLinePair,yi=t.UpsampleBgrLinePair,wi=t.UpsampleRgbaLinePair,Si=t.UpsampleBgraLinePair,xi=t.UpsampleArgbLinePair,ki=t.UpsampleRgba4444LinePair,Ti=t.UpsampleRgb565LinePair,Ai=16,Ei=1<<Ai-1,_i=-227,Oi=482,Ni=6,Ci=(256<<Ni)-1,Ri=0,Pi=o(256),Li=o(256),Ii=o(256),Fi=o(256),ji=o(Oi-_i),Di=o(Oi-_i);Cr("YuvToRgbRow",kr,3),Cr("YuvToBgrRow",Tr,3),Cr("YuvToRgbaRow",Nr,4),Cr("YuvToBgraRow",Or,4),Cr("YuvToArgbRow",_r,4),Cr("YuvToRgba4444Row",Er,2),Cr("YuvToRgb565Row",Ar,2);var Mi=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Bi=[0,2,8],Wi=[8,7,6,4,4,2,2,2,1,1,1,1],Ui=1;this.WebPDecodeRGBA=function(t,r,n,i,o){var a=Dn,s=new rr,c=new at;s.ba=c,c.S=a,c.width=[c.width],c.height=[c.height];var l=c.width,u=c.height,f=new st;if(null==f||null==t)var h=2;else e(null!=f),h=Ir(t,r,n,f.width,f.height,f.Pd,f.Qd,f.format,null);if(0!=h?l=0:(null!=l&&(l[0]=f.width[0]),null!=u&&(u[0]=f.height[0]),l=1),l){c.width=c.width[0],c.height=c.height[0],null!=i&&(i[0]=c.width),null!=o&&(o[0]=c.height);t:{if(i=new $t,(o=new nr).data=t,o.w=r,o.ha=n,o.kd=1,r=[0],e(null!=o),(0==(t=Ir(o.data,o.w,o.ha,null,null,null,r,null,o))||7==t)&&r[0]&&(t=4),0==(r=t)){if(e(null!=s),i.data=o.data,i.w=o.w+o.offset,i.ha=o.ha-o.offset,i.put=dt,i.ac=ht,i.bc=pt,i.ma=s,o.xa){if(null==(t=Ot())){s=1;break t}if(function(t,r){var n=[0],i=[0],o=[0];e:for(;;){if(null==t)return 0;if(null==r)return t.a=2,0;if(t.l=r,t.a=0,m(t.m,r.data,r.w,r.ha),!vt(t.m,n,i,o)){t.a=3;break e}if(t.xb=vi,r.width=n[0],r.height=i[0],!Nt(n[0],i[0],1,t,null))break e;return 1}return e(0!=t.a),0}(t,i)){if(i=0==(r=Dr(i.width,i.height,s.Oa,s.ba))){e:{i=t;r:for(;;){if(null==i){i=0;break e}if(e(null!=i.s.yc),e(null!=i.s.Ya),e(0<i.s.Wb),e(null!=(n=i.l)),e(null!=(o=n.ma)),0!=i.xb){if(i.ca=o.ba,i.tb=o.tb,e(null!=i.ca),!Fr(o.Oa,n,Bn)){i.a=2;break r}if(!Ct(i,n.width))break r;if(n.da)break r;if((n.da||nt(i.ca.S))&&gr(),11>i.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=i.ca.f.kb.F&&gr()),i.Pb&&0<i.s.ua&&null==i.s.vb.X&&!L(i.s.vb,i.s.Wa.Xa)){i.a=1;break r}i.xb=0}if(!Et(i,i.V,i.Ba,i.c,i.i,n.o,xt))break r;o.Dc=i.Ma,i=1;break e}e(0!=i.a),i=0}i=!i}i&&(r=t.a)}else r=t.a}else{if(null==(t=new Gt)){s=1;break t}if(t.Fa=o.na,t.P=o.P,t.qc=o.Sa,Kt(t,i)){if(0==(r=Dr(i.width,i.height,s.Oa,s.ba))){if(t.Aa=0,n=s.Oa,e(null!=(o=t)),null!=n){if(0<(l=0>(l=n.Md)?0:100<l?255:255*l/100)){for(u=f=0;4>u;++u)12>(h=o.pb[u]).lc&&(h.ia=l*Wi[0>h.lc?0:h.lc]>>3),f|=h.ia;f&&(alert("todo:VP8InitRandom"),o.ia=1)}o.Ga=n.Id,100<o.Ga?o.Ga=100:0>o.Ga&&(o.Ga=0)}Qt(t,i)||(r=t.a)}}else r=t.a}0==r&&null!=s.Oa&&s.Oa.fd&&(r=jr(s.ba))}s=r}a=0!=s?null:11>a?c.f.RGBA.eb:c.f.kb.y}else a=null;return a};var Hi=[3,4,3,4,4,2,2,4,4,4,2,1,1]});var f=[0],h=[0],d=[],p=new Ce,v=t,g=function(t,e){var r={},n=0,i=!1,o=0,a=0;if(r.frames=[],!function(t,e,r,n){for(var i=0;i<4;i++)if(t[e+i]!="RIFF".charCodeAt(i))return!0;return!1}(t,e)){var s,f;for(u(t,e+=4),e+=8;e<t.length;){var h=c(t,e),d=u(t,e+=4);e+=4;var p=d+(1&d);switch(h){case"VP8 ":case"VP8L":void 0===r.frames[n]&&(r.frames[n]={}),(m=r.frames[n]).src_off=i?a:e-8,m.src_size=o+d+8,n++,i&&(i=!1,o=0,a=0);break;case"VP8X":(m=r.header={}).feature_flags=t[e];var v=e+4;m.canvas_width=1+l(t,v),v+=3,m.canvas_height=1+l(t,v),v+=3;break;case"ALPH":i=!0,o=p+8,a=e-8;break;case"ANIM":(m=r.header).bgcolor=u(t,e),v=e+4,m.loop_count=(s=t)[(f=v)+0]|s[f+1]<<8,v+=2;break;case"ANMF":var g,m;(m=r.frames[n]={}).offset_x=2*l(t,e),e+=3,m.offset_y=2*l(t,e),e+=3,m.width=1+l(t,e),e+=3,m.height=1+l(t,e),e+=3,m.duration=l(t,e),e+=3,g=t[e++],m.dispose=1&g,m.blend=g>>1&1}"ANMF"!=h&&(e+=p)}return r}}(v,0);g.response=v,g.rgbaoutput=!0,g.dataurl=!1;var m=g.header?g.header:null,b=g.frames?g.frames:null;if(m){m.loop_counter=m.loop_count,f=[m.canvas_height],h=[m.canvas_width];for(var y=0;y<b.length&&0!=b[y].blend;y++);}var w=b[0],S=p.WebPDecodeRGBA(v,w.src_off,w.src_size,h,f);w.rgba=S,w.imgwidth=h[0],w.imgheight=f[0];for(var x=0;x<h[0]*f[0]*4;x++)d[x]=S[x];return this.width=h,this.height=f,this.data=d,this}!function(t){var e=function(e,n,c,l){var u=4,f=o;switch(l){case t.image_compression.FAST:u=1,f=i;break;case t.image_compression.MEDIUM:u=6,f=a;break;case t.image_compression.SLOW:u=9,f=s}var h=ye(e=r(e,n,c,f),{level:u});return t.__addimage__.arrayBufferToBinaryString(h)},r=function(t,e,r,n){for(var i,o,a,s=t.length/e,c=new Uint8Array(t.length+s),f=l(),h=0;h<s;h+=1){if(a=h*e,i=t.subarray(a,a+e),n)c.set(n(i,r,o),a+h);else{for(var d,p=f.length,v=[];d<p;d+=1)v[d]=f[d](i,r,o);var g=u(v.concat());c.set(v[g],a+h)}o=i}return c},n=function(t){var e=Array.apply([],t);return e.unshift(0),e},i=function(t,e){var r,n=[],i=t.length;n[0]=1;for(var o=0;o<i;o+=1)r=t[o-e]||0,n[o+1]=t[o]-r+256&255;return n},o=function(t,e,r){var n,i=[],o=t.length;i[0]=2;for(var a=0;a<o;a+=1)n=r&&r[a]||0,i[a+1]=t[a]-n+256&255;return i},a=function(t,e,r){var n,i,o=[],a=t.length;o[0]=3;for(var s=0;s<a;s+=1)n=t[s-e]||0,i=r&&r[s]||0,o[s+1]=t[s]+256-(n+i>>>1)&255;return o},s=function(t,e,r){var n,i,o,a,s=[],l=t.length;s[0]=4;for(var u=0;u<l;u+=1)n=t[u-e]||0,i=r&&r[u]||0,o=r&&r[u-e]||0,a=c(n,i,o),s[u+1]=t[u]-a+256&255;return s},c=function(t,e,r){if(t===e&&e===r)return t;var n=Math.abs(e-r),i=Math.abs(t-r),o=Math.abs(t+e-r-r);return n<=i&&n<=o?t:i<=o?e:r},l=function(){return[n,i,o,a,s]},u=function(t){var e=t.map((function(t){return t.reduce((function(t,e){return t+Math.abs(e)}),0)}));return e.indexOf(Math.min.apply(null,e))};t.processPNG=function(r,n,i,o){var a,s,c,l,u,f,h,d,p,v,g,m,b,y,w,S=this.decode.FLATE_DECODE,x="";if(this.__addimage__.isArrayBuffer(r)&&(r=new Uint8Array(r)),this.__addimage__.isArrayBufferView(r)){if(r=(c=new Ae(r)).imgData,s=c.bits,a=c.colorSpace,u=c.colors,-1!==[4,6].indexOf(c.colorType)){if(8===c.bits){p=(d=32==c.pixelBitlength?new Uint32Array(c.decodePixels().buffer):16==c.pixelBitlength?new Uint16Array(c.decodePixels().buffer):new Uint8Array(c.decodePixels().buffer)).length,g=new Uint8Array(p*c.colors),v=new Uint8Array(p);var k,T=c.pixelBitlength-c.bits;for(y=0,w=0;y<p;y++){for(b=d[y],k=0;k<T;)g[w++]=b>>>k&255,k+=c.bits;v[y]=b>>>k&255}}if(16===c.bits){p=(d=new Uint32Array(c.decodePixels().buffer)).length,g=new Uint8Array(p*(32/c.pixelBitlength)*c.colors),v=new Uint8Array(p*(32/c.pixelBitlength)),m=c.colors>1,y=0,w=0;for(var A=0;y<p;)b=d[y++],g[w++]=b>>>0&255,m&&(g[w++]=b>>>16&255,b=d[y++],g[w++]=b>>>0&255),v[A++]=b>>>16&255;s=8}o!==t.image_compression.NONE?(r=e(g,c.width*c.colors,c.colors,o),h=e(v,c.width,1,o)):(r=g,h=v,S=void 0)}if(3===c.colorType&&(a=this.color_spaces.INDEXED,f=c.palette,c.transparency.indexed)){var E=c.transparency.indexed,_=0;for(y=0,p=E.length;y<p;++y)_+=E[y];if((_/=255)==p-1&&-1!==E.indexOf(0))l=[E.indexOf(0)];else if(_!==p){for(d=c.decodePixels(),v=new Uint8Array(d.length),y=0,p=d.length;y<p;y++)v[y]=E[d[y]];h=e(v,c.width,1)}}var O=function(e){var r;switch(e){case t.image_compression.FAST:r=11;break;case t.image_compression.MEDIUM:r=13;break;case t.image_compression.SLOW:r=14;break;default:r=12}return r}(o);return S===this.decode.FLATE_DECODE&&(x="/Predictor "+O+" "),x+="/Colors "+u+" /BitsPerComponent "+s+" /Columns "+c.width,(this.__addimage__.isArrayBuffer(r)||this.__addimage__.isArrayBufferView(r))&&(r=this.__addimage__.arrayBufferToBinaryString(r)),(h&&this.__addimage__.isArrayBuffer(h)||this.__addimage__.isArrayBufferView(h))&&(h=this.__addimage__.arrayBufferToBinaryString(h)),{alias:i,data:r,index:n,filter:S,decodeParameters:x,transparency:l,palette:f,sMask:h,predictor:O,width:c.width,height:c.height,bitsPerComponent:s,colorSpace:a}}}}(P.API),function(t){t.processGIF89A=function(e,r,n,i){var o=new Ee(e),a=o.width,s=o.height,c=[];o.decodeAndBlitFrameRGBA(0,c);var l={data:c,width:a,height:s},u=new Oe(100).encode(l,100);return t.processJPEG.call(this,u,r,n,i)},t.processGIF87A=t.processGIF89A}(P.API),Ne.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var e=0;e<t;e++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0);this.palette[e]={red:i,green:n,blue:r,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Ne.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP,e=this.width*this.height*4;this.data=new Uint8Array(e),this[t]()}catch(t){n.log("bit decode error:"+t)}},Ne.prototype.bit1=function(){var t,e=Math.ceil(this.width/8),r=e%4;for(t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,i=0;i<e;i++)for(var o=this.datav.getUint8(this.pos++,!0),a=n*this.width*4+8*i*4,s=0;s<8&&8*i+s<this.width;s++){var c=this.palette[o>>7-s&1];this.data[a+4*s]=c.blue,this.data[a+4*s+1]=c.green,this.data[a+4*s+2]=c.red,this.data[a+4*s+3]=255}0!==r&&(this.pos+=4-r)}},Ne.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),e=t%4,r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<t;i++){var o=this.datav.getUint8(this.pos++,!0),a=n*this.width*4+2*i*4,s=o>>4,c=15&o,l=this.palette[s];if(this.data[a]=l.blue,this.data[a+1]=l.green,this.data[a+2]=l.red,this.data[a+3]=255,2*i+1>=this.width)break;l=this.palette[c],this.data[a+4]=l.blue,this.data[a+4+1]=l.green,this.data[a+4+2]=l.red,this.data[a+4+3]=255}0!==e&&(this.pos+=4-e)}},Ne.prototype.bit8=function(){for(var t=this.width%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var i=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+4*n;if(i<this.palette.length){var a=this.palette[i];this.data[o]=a.red,this.data[o+1]=a.green,this.data[o+2]=a.blue,this.data[o+3]=255}else this.data[o]=255,this.data[o+1]=255,this.data[o+2]=255,this.data[o+3]=255}0!==t&&(this.pos+=4-t)}},Ne.prototype.bit15=function(){for(var t=this.width%3,e=parseInt("11111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(o&e)/e*255|0,s=(o>>5&e)/e*255|0,c=(o>>10&e)/e*255|0,l=o>>15?255:0,u=n*this.width*4+4*i;this.data[u]=c,this.data[u+1]=s,this.data[u+2]=a,this.data[u+3]=l}this.pos+=t}},Ne.prototype.bit16=function(){for(var t=this.width%3,e=parseInt("11111",2),r=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,o=0;o<this.width;o++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(a&e)/e*255|0,c=(a>>5&r)/r*255|0,l=(a>>11)/e*255|0,u=i*this.width*4+4*o;this.data[u]=l,this.data[u+1]=c,this.data[u+2]=s,this.data[u+3]=255}this.pos+=t}},Ne.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var e=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=e*this.width*4+4*r;this.data[a]=o,this.data[a+1]=i,this.data[a+2]=n,this.data[a+3]=255}this.pos+=this.width%4}},Ne.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var e=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=e*this.width*4+4*r;this.data[s]=o,this.data[s+1]=i,this.data[s+2]=n,this.data[s+3]=a}},Ne.prototype.getData=function(){return this.data},function(t){t.processBMP=function(e,r,n,i){var o=new Ne(e,!1),a=o.width,s=o.height,c={data:o.getData(),width:a,height:s},l=new Oe(100).encode(c,100);return t.processJPEG.call(this,l,r,n,i)}}(P.API),Ce.prototype.getData=function(){return this.data},function(t){t.processWEBP=function(e,r,n,i){var o=new Ce(e,!1),a=o.width,s=o.height,c={data:o.getData(),width:a,height:s},l=new Oe(100).encode(c,100);return t.processJPEG.call(this,l,r,n,i)}}(P.API),function(t){t.setLanguage=function(t){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"FYRO Macedonian",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[t]&&(this.internal.languageSettings.languageCode=t,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")})),this.internal.languageSettings.isSubscribed=!0)),this}}(P.API),we=P.API,Se=we.getCharWidthsArray=function(t,e){var r,n,i=(e=e||{}).font||this.internal.getFont(),o=e.fontSize||this.internal.getFontSize(),a=e.charSpace||this.internal.getCharSpace(),s=e.widths?e.widths:i.metadata.Unicode.widths,c=s.fof?s.fof:1,l=e.kerning?e.kerning:i.metadata.Unicode.kerning,u=l.fof?l.fof:1,f=!1!==e.doKerning,h=0,d=t.length,p=0,v=s[0]||c,g=[];for(r=0;r<d;r++)n=t.charCodeAt(r),"function"==typeof i.metadata.widthOfString?g.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(n))+a*(1e3/o)||0)/1e3):(h=f&&"object"==typeof l[n]&&!isNaN(parseInt(l[n][p],10))?l[n][p]/u:0,g.push((s[n]||v)/c+h)),p=n;return g},xe=we.getStringUnitWidth=function(t,e){var r=(e=e||{}).fontSize||this.internal.getFontSize(),n=e.font||this.internal.getFont(),i=e.charSpace||this.internal.getCharSpace();return we.processArabic&&(t=we.processArabic(t)),"function"==typeof n.metadata.widthOfString?n.metadata.widthOfString(t,r,i)/r:Se.apply(this,arguments).reduce((function(t,e){return t+e}),0)},ke=function(t,e,r,n){for(var i=[],o=0,a=t.length,s=0;o!==a&&s+e[o]<r;)s+=e[o],o++;i.push(t.slice(0,o));var c=o;for(s=0;o!==a;)s+e[o]>n&&(i.push(t.slice(c,o)),s=0,c=o),s+=e[o],o++;return c!==o&&i.push(t.slice(c,o)),i},Te=function(t,e,r){r||(r={});var n,i,o,a,s,c,l,u=[],f=[u],h=r.textIndent||0,d=0,p=0,v=t.split(" "),g=Se.apply(this,[" ",r])[0];if(c=-1===r.lineIndent?v[0].length+2:r.lineIndent||0){var m=Array(c).join(" "),b=[];v.map((function(t){(t=t.split(/\s*\n/)).length>1?b=b.concat(t.map((function(t,e){return(e&&t.length?"\n":"")+t}))):b.push(t[0])})),v=b,c=xe.apply(this,[m,r])}for(o=0,a=v.length;o<a;o++){var y=0;if(n=v[o],c&&"\n"==n[0]&&(n=n.substr(1),y=1),h+d+(p=(i=Se.apply(this,[n,r])).reduce((function(t,e){return t+e}),0))>e||y){if(p>e){for(s=ke.apply(this,[n,i,e-(h+d),e]),u.push(s.shift()),u=[s.pop()];s.length;)f.push([s.shift()]);p=i.slice(n.length-(u[0]?u[0].length:0)).reduce((function(t,e){return t+e}),0)}else u=[n];f.push(u),h=p+c,d=g}else u.push(n),h+=d+p,d=g}return l=c?function(t,e){return(e?m:"")+t.join(" ")}:function(t){return t.join(" ")},f.map(l)},we.splitTextToSize=function(t,e,r){var n,i=(r=r||{}).fontSize||this.internal.getFontSize(),o=function(t){if(t.widths&&t.kerning)return{widths:t.widths,kerning:t.kerning};var e=this.internal.getFont(t.fontName,t.fontStyle);return e.metadata.Unicode?{widths:e.metadata.Unicode.widths||{0:1},kerning:e.metadata.Unicode.kerning||{}}:{font:e.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,r);n=Array.isArray(t)?t:String(t).split(/\r?\n/);var a=1*this.internal.scaleFactor*e/i;o.textIndent=r.textIndent?1*r.textIndent*this.internal.scaleFactor/i:0,o.lineIndent=r.lineIndent;var s,c,l=[];for(s=0,c=n.length;s<c;s++)l=l.concat(Te.apply(this,[n[s],a,o]));return l},function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var e="klmnopqrstuvwxyz",r={},n={},i=0;i<16;i++)r[e[i]]="0123456789abcdef"[i],n["0123456789abcdef"[i]]=e[i];var o=function(t){return"0x"+parseInt(t,10).toString(16)},a=t.__fontmetrics__.compress=function(t){var e,r,i,s,c=["{"];for(var l in t){if(e=t[l],isNaN(parseInt(l,10))?r="'"+l+"'":(l=parseInt(l,10),r=(r=o(l).slice(2)).slice(0,-1)+n[r.slice(-1)]),"number"==typeof e)e<0?(i=o(e).slice(3),s="-"):(i=o(e).slice(2),s=""),i=s+i.slice(0,-1)+n[i.slice(-1)];else{if("object"!=typeof e)throw new Error("Don't know what to do with value type "+typeof e+".");i=a(e)}c.push(r+i)}return c.push("}"),c.join("")},s=t.__fontmetrics__.uncompress=function(t){if("string"!=typeof t)throw new Error("Invalid argument passed to uncompress.");for(var e,n,i,o,a={},s=1,c=a,l=[],u="",f="",h=t.length-1,d=1;d<h;d+=1)"'"==(o=t[d])?e?(i=e.join(""),e=void 0):e=[]:e?e.push(o):"{"==o?(l.push([c,i]),c={},i=void 0):"}"==o?((n=l.pop())[0][n[1]]=c,i=void 0,c=n[0]):"-"==o?s=-1:void 0===i?r.hasOwnProperty(o)?(u+=r[o],i=parseInt(u,16)*s,s=1,u=""):u+=o:r.hasOwnProperty(o)?(f+=r[o],c[i]=parseInt(f,16)*s,s=1,i=void 0,f=""):f+=o;return a},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:s("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},l={Unicode:{Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c}},u={Unicode:{"Courier-Oblique":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":s("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":s("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":s("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:s("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:s("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":s("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:s("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":s("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":s("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":s("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(t){var e=t.font,r=u.Unicode[e.postScriptName];r&&(e.metadata.Unicode={},e.metadata.Unicode.widths=r.widths,e.metadata.Unicode.kerning=r.kerning);var n=l.Unicode[e.postScriptName];n&&(e.metadata.Unicode.encoding=n,e.encoding=n.codePages[0])}])}(P.API),function(t){var e=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++)r[n]=t.charCodeAt(n);return r};t.API.events.push(["addFont",function(r){var n=void 0,i=r.font,o=r.instance;if(!i.isStandardFont){if(void 0===o)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if("string"!=typeof(n=!1===o.existsFileInVFS(i.postScriptName)?o.loadFile(i.postScriptName):o.getFileFromVFS(i.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");!function(r,n){n=/^\x00\x01\x00\x00/.test(n)?e(n):e(s(n)),r.metadata=t.API.TTFFont.open(n),r.metadata.Unicode=r.metadata.Unicode||{encoding:{},kerning:{},widths:[]},r.metadata.glyIdsUsed=[0]}(i,n)}}])}(P),function(r){function i(){return(e.canvg?Promise.resolve(e.canvg):"object"==typeof t&&"undefined"!=typeof module?new Promise((function(t,e){try{t(require("canvg"))}catch(t){e(t)}})):"function"==typeof define&&define.amd?new Promise((function(t,e){try{require(["canvg"],t)}catch(t){e(t)}})):Promise.reject(new Error("Could not load canvg"))).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}r.addSvgAsImage=function(t,e,r,o,a,s,c,l){if(isNaN(e)||isNaN(r))throw n.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(o)||isNaN(a))throw n.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var u=document.createElement("canvas");u.width=o,u.height=a;var f=u.getContext("2d");f.fillStyle="#fff",f.fillRect(0,0,u.width,u.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return i().then((function(e){return e.fromString(f,t,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(h)})).then((function(){d.addImage(u.toDataURL("image/jpeg",1),e,r,o,a,c,l)}))}}(P.API),function(t){t.putTotalPages=function(t){var e,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),r=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(e,r);return this}}(P.API),function(t){t.viewerPreferences=function(t,e){var r;t=t||{},e=e||!1;var n,i,o,a={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},s=Object.keys(a),c=[],l=0,u=0,f=0;function h(t,e){var r,n=!1;for(r=0;r<t.length;r+=1)t[r]===e&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(a)),this.internal.viewerpreferences.isSubscribed=!1),r=this.internal.viewerpreferences.configuration,"reset"===t||!0===e){var d=s.length;for(f=0;f<d;f+=1)r[s[f]].value=r[s[f]].defaultValue,r[s[f]].explicitSet=!1}if("object"==typeof t)for(i in t)if(o=t[i],h(s,i)&&void 0!==o){if("boolean"===r[i].type&&"boolean"==typeof o)r[i].value=o;else if("name"===r[i].type&&h(r[i].valueSet,o))r[i].value=o;else if("integer"===r[i].type&&Number.isInteger(o))r[i].value=o;else if("array"===r[i].type){for(l=0;l<o.length;l+=1)if(n=!0,1===o[l].length&&"number"==typeof o[l][0])c.push(String(o[l]-1));else if(o[l].length>1){for(u=0;u<o[l].length;u+=1)"number"!=typeof o[l][u]&&(n=!1);!0===n&&c.push([o[l][0]-1,o[l][1]-1].join(" "))}r[i].value="["+c.join(" ")+"]"}else r[i].value=r[i].defaultValue;r[i].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,e=[];for(t in r)!0===r[t].explicitSet&&("name"===r[t].type?e.push("/"+t+" /"+r[t].value):e.push("/"+t+" "+r[t].value));0!==e.length&&this.internal.write("/ViewerPreferences\n<<\n"+e.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this}}(P.API),function(t){var e=function(){var t='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',e=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),r=unescape(encodeURIComponent(t)),n=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),i=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),o=unescape(encodeURIComponent("</x:xmpmeta>")),a=r.length+n.length+i.length+e.length+o.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+a+" >>"),this.internal.write("stream"),this.internal.write(e+r+n+i+o),this.internal.write("endstream"),this.internal.write("endobj")},r=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};t.addMetadata=function(t,n){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:t,namespaceuri:n||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",r),this.internal.events.subscribe("postPutResources",e)),this}}(P.API),function(t){var e=t.API,r=e.pdfEscape16=function(t,e){for(var r,n=e.metadata.Unicode.widths,i=["","0","00","000","0000"],o=[""],a=0,s=t.length;a<s;++a){if(r=e.metadata.characterToGlyph(t.charCodeAt(a)),e.metadata.glyIdsUsed.push(r),e.metadata.toUnicode[r]=t.charCodeAt(a),-1==n.indexOf(r)&&(n.push(r),n.push([parseInt(e.metadata.widthOfGlyph(r),10)])),"0"==r)return o.join("");r=r.toString(16),o.push(i[4-r.length],r)}return o.join("")},n=function(t){var e,r,n,i,o,a,s;for(o="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",n=[],a=0,s=(r=Object.keys(t).sort((function(t,e){return t-e}))).length;a<s;a++)e=r[a],n.length>=100&&(o+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar",n=[]),void 0!==t[e]&&null!==t[e]&&"function"==typeof t[e].toString&&(i=("0000"+t[e].toString(16)).slice(-4),e=("0000"+(+e).toString(16)).slice(-4),n.push("<"+e+"><"+i+">"));return n.length&&(o+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar\n"),o+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};e.events.push(["putFont",function(e){!function(e){var r=e.font,i=e.out,o=e.newObject,a=e.putStream,s=e.pdfEscapeWithNeededParanthesis;if(r.metadata instanceof t.API.TTFFont&&"Identity-H"===r.encoding){for(var c=r.metadata.Unicode.widths,l=r.metadata.subset.encode(r.metadata.glyIdsUsed,1),u="",f=0;f<l.length;f++)u+=String.fromCharCode(l[f]);var h=o();a({data:u,addLength1:!0,objectId:h}),i("endobj");var d=o();a({data:n(r.metadata.toUnicode),addLength1:!0,objectId:d}),i("endobj");var p=o();i("<<"),i("/Type /FontDescriptor"),i("/FontName /"+s(r.fontName)),i("/FontFile2 "+h+" 0 R"),i("/FontBBox "+t.API.PDFObject.convert(r.metadata.bbox)),i("/Flags "+r.metadata.flags),i("/StemV "+r.metadata.stemV),i("/ItalicAngle "+r.metadata.italicAngle),i("/Ascent "+r.metadata.ascender),i("/Descent "+r.metadata.decender),i("/CapHeight "+r.metadata.capHeight),i(">>"),i("endobj");var v=o();i("<<"),i("/Type /Font"),i("/BaseFont /"+s(r.fontName)),i("/FontDescriptor "+p+" 0 R"),i("/W "+t.API.PDFObject.convert(c)),i("/CIDToGIDMap /Identity"),i("/DW 1000"),i("/Subtype /CIDFontType2"),i("/CIDSystemInfo"),i("<<"),i("/Supplement 0"),i("/Registry (Adobe)"),i("/Ordering ("+r.encoding+")"),i(">>"),i(">>"),i("endobj"),r.objectNumber=o(),i("<<"),i("/Type /Font"),i("/Subtype /Type0"),i("/ToUnicode "+d+" 0 R"),i("/BaseFont /"+s(r.fontName)),i("/Encoding /"+r.encoding),i("/DescendantFonts ["+v+" 0 R]"),i(">>"),i("endobj"),r.isAlreadyPutted=!0}}(e)}]),e.events.push(["putFont",function(e){!function(e){var r=e.font,i=e.out,o=e.newObject,a=e.putStream,s=e.pdfEscapeWithNeededParanthesis;if(r.metadata instanceof t.API.TTFFont&&"WinAnsiEncoding"===r.encoding){for(var c=r.metadata.rawData,l="",u=0;u<c.length;u++)l+=String.fromCharCode(c[u]);var f=o();a({data:l,addLength1:!0,objectId:f}),i("endobj");var h=o();a({data:n(r.metadata.toUnicode),addLength1:!0,objectId:h}),i("endobj");var d=o();i("<<"),i("/Descent "+r.metadata.decender),i("/CapHeight "+r.metadata.capHeight),i("/StemV "+r.metadata.stemV),i("/Type /FontDescriptor"),i("/FontFile2 "+f+" 0 R"),i("/Flags 96"),i("/FontBBox "+t.API.PDFObject.convert(r.metadata.bbox)),i("/FontName /"+s(r.fontName)),i("/ItalicAngle "+r.metadata.italicAngle),i("/Ascent "+r.metadata.ascender),i(">>"),i("endobj"),r.objectNumber=o();for(var p=0;p<r.metadata.hmtx.widths.length;p++)r.metadata.hmtx.widths[p]=parseInt(r.metadata.hmtx.widths[p]*(1e3/r.metadata.head.unitsPerEm));i("<</Subtype/TrueType/Type/Font/ToUnicode "+h+" 0 R/BaseFont/"+s(r.fontName)+"/FontDescriptor "+d+" 0 R/Encoding/"+r.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(r.metadata.hmtx.widths)+">>"),i("endobj"),r.isAlreadyPutted=!0}}(e)}]);var i=function(t){var e,n=t.text||"",i=t.x,o=t.y,a=t.options||{},s=t.mutex||{},c=s.pdfEscape,l=s.activeFontKey,u=s.fonts,f=l,h="",d=0,p="",v=u[f].encoding;if("Identity-H"!==u[f].encoding)return{text:n,x:i,y:o,options:a,mutex:s};for(p=n,f=l,Array.isArray(n)&&(p=n[0]),d=0;d<p.length;d+=1)u[f].metadata.hasOwnProperty("cmap")&&(e=u[f].metadata.cmap.unicode.codeMap[p[d].charCodeAt(0)]),e||p[d].charCodeAt(0)<256&&u[f].metadata.hasOwnProperty("Unicode")?h+=p[d]:h+="";var g="";return parseInt(f.slice(1))<14||"WinAnsiEncoding"===v?g=c(h,f).split("").map((function(t){return t.charCodeAt(0).toString(16)})).join(""):"Identity-H"===v&&(g=r(h,u[f])),s.isHex=!0,{text:g,x:i,y:o,options:a,mutex:s}};e.events.push(["postProcessText",function(t){var e=t.text||"",r=[],n={text:e,x:t.x,y:t.y,options:t.options,mutex:t.mutex};if(Array.isArray(e)){var o=0;for(o=0;o<e.length;o+=1)Array.isArray(e[o])&&3===e[o].length?r.push([i(Object.assign({},n,{text:e[o][0]})).text,e[o][1],e[o][2]]):r.push(i(Object.assign({},n,{text:e[o]})).text);t.text=r}else t.text=i(Object.assign({},n,{text:e})).text}])}(P),function(t){var e=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};t.existsFileInVFS=function(t){return e.call(this),void 0!==this.internal.vFS[t]},t.addFileToVFS=function(t,r){return e.call(this),this.internal.vFS[t]=r,this},t.getFileFromVFS=function(t){return e.call(this),void 0!==this.internal.vFS[t]?this.internal.vFS[t]:null}}(P.API),function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(t){var r,n,i,o,a,s,c,l=e,u=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],f=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],h={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},d={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},p=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],v=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),g=!1,m=0;this.__bidiEngine__={};var b=function(t){var e=t.charCodeAt(),r=e>>8,n=d[r];return void 0!==n?l[256*n+(255&e)]:252===r||253===r?"AL":v.test(r)?"L":8===r?"R":"N"},y=function(t){for(var e,r=0;r<t.length;r++){if("L"===(e=b(t.charAt(r))))return!1;if("R"===e)return!0}return!1},w=function(t,e,a,s){var c,l,u,f,h=e[s];switch(h){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":g=!1;break;case"N":case"AN":break;case"EN":g&&(h="AN");break;case"AL":g=!0,h="R";break;case"WS":case"BN":h="N";break;case"CS":s<1||s+1>=e.length||"EN"!==(c=a[s-1])&&"AN"!==c||"EN"!==(l=e[s+1])&&"AN"!==l?h="N":g&&(l="AN"),h=l===c?l:"N";break;case"ES":h="EN"===(c=s>0?a[s-1]:"B")&&s+1<e.length&&"EN"===e[s+1]?"EN":"N";break;case"ET":if(s>0&&"EN"===a[s-1]){h="EN";break}if(g){h="N";break}for(u=s+1,f=e.length;u<f&&"ET"===e[u];)u++;h=u<f&&"EN"===e[u]?"EN":"N";break;case"NSM":if(i&&!o){for(f=e.length,u=s+1;u<f&&"NSM"===e[u];)u++;if(u<f){var d=t[s],p=d>=1425&&d<=2303||64286===d;if(c=e[u],p&&("R"===c||"AL"===c)){h="R";break}}}h=s<1||"B"===(c=e[s-1])?"N":a[s-1];break;case"B":g=!1,r=!0,h=m;break;case"S":n=!0,h="N"}return h},S=function(t,e,r){var n=t.split("");return r&&x(n,r,{hiLevel:m}),n.reverse(),e&&e.reverse(),n.join("")},x=function(t,e,i){var o,a,s,c,l,d=-1,p=t.length,v=0,y=[],S=m?f:u,x=[];for(g=!1,r=!1,n=!1,a=0;a<p;a++)x[a]=b(t[a]);for(s=0;s<p;s++){if(l=v,y[s]=w(t,x,y,s),o=240&(v=S[l][h[y[s]]]),v&=15,e[s]=c=S[v][5],o>0)if(16===o){for(a=d;a<s;a++)e[a]=1;d=-1}else d=-1;if(S[v][6])-1===d&&(d=s);else if(d>-1){for(a=d;a<s;a++)e[a]=c;d=-1}"B"===x[s]&&(e[s]=0),i.hiLevel|=c}n&&function(t,e,r){for(var n=0;n<r;n++)if("S"===t[n]){e[n]=m;for(var i=n-1;i>=0&&"WS"===t[i];i--)e[i]=m}}(x,e,p)},k=function(t,e,n,i,o){if(!(o.hiLevel<t)){if(1===t&&1===m&&!r)return e.reverse(),void(n&&n.reverse());for(var a,s,c,l,u=e.length,f=0;f<u;){if(i[f]>=t){for(c=f+1;c<u&&i[c]>=t;)c++;for(l=f,s=c-1;l<s;l++,s--)a=e[l],e[l]=e[s],e[s]=a,n&&(a=n[l],n[l]=n[s],n[s]=a);f=c}f++}}},T=function(t,e,r){var n=t.split(""),i={hiLevel:m};return r||(r=[]),x(n,r,i),function(t,e,r){if(0!==r.hiLevel&&c)for(var n,i=0;i<t.length;i++)1===e[i]&&(n=p.indexOf(t[i]))>=0&&(t[i]=p[n+1])}(n,r,i),k(2,n,e,r,i),k(1,n,e,r,i),n.join("")};return this.__bidiEngine__.doBidiReorder=function(t,e,r){if(function(t,e){if(e)for(var r=0;r<t.length;r++)e[r]=r;void 0===o&&(o=y(t)),void 0===s&&(s=y(t))}(t,e),i||!a||s)if(i&&a&&o^s)m=o?1:0,t=S(t,e,r);else if(!i&&a&&s)m=o?1:0,t=T(t,e,r),t=S(t,e);else if(!i||o||a||s){if(i&&!a&&o^s)t=S(t,e),o?(m=0,t=T(t,e,r)):(m=1,t=T(t,e,r),t=S(t,e));else if(i&&o&&!a&&s)m=1,t=T(t,e,r),t=S(t,e);else if(!i&&!a&&o^s){var n=c;o?(m=1,t=T(t,e,r),m=0,c=!1,t=T(t,e,r),c=n):(m=0,t=T(t,e,r),t=S(t,e),m=1,c=!1,t=T(t,e,r),c=n,t=S(t,e))}}else m=0,t=T(t,e,r);else m=o?1:0,t=T(t,e,r);return t},this.__bidiEngine__.setOptions=function(t){t&&(i=t.isInputVisual,a=t.isOutputVisual,o=t.isInputRtl,s=t.isOutputRtl,c=t.isSymmetricSwapping)},this.__bidiEngine__.setOptions(t),this.__bidiEngine__};var e=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],r=new t.__bidiEngine__({isInputVisual:!0});t.API.events.push(["postProcessText",function(t){var e=t.text,n=(t.x,t.y,t.options||{}),i=(t.mutex,n.lang,[]);if(n.isInputVisual="boolean"!=typeof n.isInputVisual||n.isInputVisual,r.setOptions(n),"[object Array]"===Object.prototype.toString.call(e)){var o=0;for(i=[],o=0;o<e.length;o+=1)"[object Array]"===Object.prototype.toString.call(e[o])?i.push([r.doBidiReorder(e[o][0]),e[o][1],e[o][2]]):i.push([r.doBidiReorder(e[o])]);t.text=i}else t.text=r.doBidiReorder(e);r.setOptions({isInputVisual:!0})}])}(P),P.API.TTFFont=function(){function t(t){var e;if(this.rawData=t,e=this.contents=new Pe(t),this.contents.pos=4,"ttcf"===e.readString(4))throw new Error("TTCF not supported.");e.pos=0,this.parse(),this.subset=new Je(this),this.registerTTF()}return t.open=function(e){return new t(e)},t.prototype.parse=function(){return this.directory=new Le(this.contents),this.head=new je(this),this.name=new ze(this),this.cmap=new Me(this),this.toUnicode={},this.hhea=new Be(this),this.maxp=new Ve(this),this.hmtx=new qe(this),this.post=new Ue(this),this.os2=new We(this),this.loca=new Ke(this),this.glyf=new Ge(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},t.prototype.registerTTF=function(){var t,e,r,n,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var e,r,n,i;for(i=[],e=0,r=(n=this.bbox).length;e<r;e++)t=n[e],i.push(Math.round(t*this.scaleFactor));return i}.call(this),this.stemV=0,this.post.exists?(r=255&(n=this.post.italic_angle),!!(32768&(e=n>>16))&&(e=-(1+(65535^e))),this.italicAngle=+(e+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(i=this.familyClass)||2===i||3===i||4===i||5===i||7===i,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},t.prototype.characterToGlyph=function(t){var e;return(null!=(e=this.cmap.unicode)?e.codeMap[t]:void 0)||0},t.prototype.widthOfGlyph=function(t){var e;return e=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(t).advance*e},t.prototype.widthOfString=function(t,e,r){var n,i,o,a;for(o=0,i=0,a=(t=""+t).length;0<=a?i<a:i>a;i=0<=a?++i:--i)n=t.charCodeAt(i),o+=this.widthOfGlyph(this.characterToGlyph(n))+r*(1e3/e)||0;return o*(e/1e3)},t.prototype.lineHeight=function(t,e){var r;return null==e&&(e=!1),r=e?this.lineGap:0,(this.ascender+r-this.decender)/1e3*t},t}();var Re,Pe=function(){function t(t){this.data=null!=t?t:[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(t){return this.data[this.pos++]=t},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(t){return this.writeByte(t>>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt32=function(){var t;return(t=this.readUInt32())>=2147483648?t-4294967296:t},t.prototype.writeInt32=function(t){return t<0&&(t+=4294967296),this.writeUInt32(t)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(t){return this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt16=function(){var t;return(t=this.readUInt16())>=32768?t-65536:t},t.prototype.writeInt16=function(t){return t<0&&(t+=65536),this.writeUInt16(t)},t.prototype.readString=function(t){var e,r;for(r=[],e=0;0<=t?e<t:e>t;e=0<=t?++e:--e)r[e]=String.fromCharCode(this.readByte());return r.join("")},t.prototype.writeString=function(t){var e,r,n;for(n=[],e=0,r=t.length;0<=r?e<r:e>r;e=0<=r?++e:--e)n.push(this.writeByte(t.charCodeAt(e)));return n},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(t){return this.writeInt16(t)},t.prototype.readLongLong=function(){var t,e,r,n,i,o,a,s;return t=this.readByte(),e=this.readByte(),r=this.readByte(),n=this.readByte(),i=this.readByte(),o=this.readByte(),a=this.readByte(),s=this.readByte(),128&t?-1*(72057594037927940*(255^t)+281474976710656*(255^e)+1099511627776*(255^r)+4294967296*(255^n)+16777216*(255^i)+65536*(255^o)+256*(255^a)+(255^s)+1):72057594037927940*t+281474976710656*e+1099511627776*r+4294967296*n+16777216*i+65536*o+256*a+s},t.prototype.writeLongLong=function(t){var e,r;return e=Math.floor(t/4294967296),r=4294967295&t,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(t){return this.writeInt32(t)},t.prototype.read=function(t){var e,r;for(e=[],r=0;0<=t?r<t:r>t;r=0<=t?++r:--r)e.push(this.readByte());return e},t.prototype.write=function(t){var e,r,n,i;for(i=[],r=0,n=t.length;r<n;r++)e=t[r],i.push(this.writeByte(e));return i},t}(),Le=function(){var t;function e(t){var e,r,n;for(this.scalarType=t.readInt(),this.tableCount=t.readShort(),this.searchRange=t.readShort(),this.entrySelector=t.readShort(),this.rangeShift=t.readShort(),this.tables={},r=0,n=this.tableCount;0<=n?r<n:r>n;r=0<=n?++r:--r)e={tag:t.readString(4),checksum:t.readInt(),offset:t.readInt(),length:t.readInt()},this.tables[e.tag]=e}return e.prototype.encode=function(e){var r,n,i,o,a,s,c,l,u,f,h,d,p;for(p in h=Object.keys(e).length,s=Math.log(2),u=16*Math.floor(Math.log(h)/s),o=Math.floor(u/s),l=16*h-u,(n=new Pe).writeInt(this.scalarType),n.writeShort(h),n.writeShort(u),n.writeShort(o),n.writeShort(l),i=16*h,c=n.pos+i,a=null,d=[],e)for(f=e[p],n.writeString(p),n.writeInt(t(f)),n.writeInt(c),n.writeInt(f.length),d=d.concat(f),"head"===p&&(a=c),c+=f.length;c%4;)d.push(0),c++;return n.write(d),r=2981146554-t(n.data),n.pos=a+8,n.writeUInt32(r),n.data},t=function(t){var e,r,n,i;for(t=$e.call(t);t.length%4;)t.push(0);for(n=new Pe(t),r=0,e=0,i=t.length;e<i;e=e+=4)r+=n.readUInt32();return 4294967295&r},e}(),Ie={}.hasOwnProperty,Fe=function(t,e){for(var r in e)Ie.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},je=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Fe(e,t),e.prototype.tag="head",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.revision=t.readInt(),this.checkSumAdjustment=t.readInt(),this.magicNumber=t.readInt(),this.flags=t.readShort(),this.unitsPerEm=t.readShort(),this.created=t.readLongLong(),this.modified=t.readLongLong(),this.xMin=t.readShort(),this.yMin=t.readShort(),this.xMax=t.readShort(),this.yMax=t.readShort(),this.macStyle=t.readShort(),this.lowestRecPPEM=t.readShort(),this.fontDirectionHint=t.readShort(),this.indexToLocFormat=t.readShort(),this.glyphDataFormat=t.readShort()},e.prototype.encode=function(t){var e;return(e=new Pe).writeInt(this.version),e.writeInt(this.revision),e.writeInt(this.checkSumAdjustment),e.writeInt(this.magicNumber),e.writeShort(this.flags),e.writeShort(this.unitsPerEm),e.writeLongLong(this.created),e.writeLongLong(this.modified),e.writeShort(this.xMin),e.writeShort(this.yMin),e.writeShort(this.xMax),e.writeShort(this.yMax),e.writeShort(this.macStyle),e.writeShort(this.lowestRecPPEM),e.writeShort(this.fontDirectionHint),e.writeShort(t),e.writeShort(this.glyphDataFormat),e.data},e}(Re=function(){function t(t){var e;this.file=t,e=this.file.directory.tables[this.tag],this.exists=!!e,e&&(this.offset=e.offset,this.length=e.length,this.parse(this.file.contents))}return t.prototype.parse=function(){},t.prototype.encode=function(){},t.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},t}()),De=function(){function t(t,e){var r,n,i,o,a,s,c,l,u,f,h,d,p,v,g,m,b;switch(this.platformID=t.readUInt16(),this.encodingID=t.readShort(),this.offset=e+t.readInt(),u=t.pos,t.pos=this.offset,this.format=t.readUInt16(),this.length=t.readUInt16(),this.language=t.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(s=0;s<256;++s)this.codeMap[s]=t.readByte();break;case 4:for(h=t.readUInt16(),f=h/2,t.pos+=6,i=function(){var e,r;for(r=[],s=e=0;0<=f?e<f:e>f;s=0<=f?++e:--e)r.push(t.readUInt16());return r}(),t.pos+=2,p=function(){var e,r;for(r=[],s=e=0;0<=f?e<f:e>f;s=0<=f?++e:--e)r.push(t.readUInt16());return r}(),c=function(){var e,r;for(r=[],s=e=0;0<=f?e<f:e>f;s=0<=f?++e:--e)r.push(t.readUInt16());return r}(),l=function(){var e,r;for(r=[],s=e=0;0<=f?e<f:e>f;s=0<=f?++e:--e)r.push(t.readUInt16());return r}(),n=(this.length-t.pos+this.offset)/2,a=function(){var e,r;for(r=[],s=e=0;0<=n?e<n:e>n;s=0<=n?++e:--e)r.push(t.readUInt16());return r}(),s=g=0,b=i.length;g<b;s=++g)for(v=i[s],r=m=d=p[s];d<=v?m<=v:m>=v;r=d<=v?++m:--m)0===l[s]?o=r+c[s]:0!==(o=a[l[s]/2+(r-d)-(f-s)]||0)&&(o+=c[s]),this.codeMap[r]=65535&o}t.pos=u}return t.encode=function(t,e){var r,n,i,o,a,s,c,l,u,f,h,d,p,v,g,m,b,y,w,S,x,k,T,A,E,_,O,N,C,R,P,L,I,F,j,D,M,B,W,U,H,z,V,q,$,G;switch(N=new Pe,o=Object.keys(t).sort((function(t,e){return t-e})),e){case"macroman":for(p=0,v=function(){var t=[];for(d=0;d<256;++d)t.push(0);return t}(),m={0:0},i={},C=0,I=o.length;C<I;C++)null==m[V=t[n=o[C]]]&&(m[V]=++p),i[n]={old:t[n],new:m[t[n]]},v[n]=m[t[n]];return N.writeUInt16(1),N.writeUInt16(0),N.writeUInt32(12),N.writeUInt16(0),N.writeUInt16(262),N.writeUInt16(0),N.write(v),{charMap:i,subtable:N.data,maxGlyphID:p+1};case"unicode":for(_=[],u=[],b=0,m={},r={},g=c=null,R=0,F=o.length;R<F;R++)null==m[w=t[n=o[R]]]&&(m[w]=++b),r[n]={old:w,new:m[w]},a=m[w]-n,null!=g&&a===c||(g&&u.push(g),_.push(n),c=a),g=n;for(g&&u.push(g),u.push(65535),_.push(65535),A=2*(T=_.length),k=2*Math.pow(Math.log(T)/Math.LN2,2),f=Math.log(k/2)/Math.LN2,x=2*T-k,s=[],S=[],h=[],d=P=0,j=_.length;P<j;d=++P){if(E=_[d],l=u[d],65535===E){s.push(0),S.push(0);break}if(E-(O=r[E].new)>=32768)for(s.push(0),S.push(2*(h.length+T-d)),n=L=E;E<=l?L<=l:L>=l;n=E<=l?++L:--L)h.push(r[n].new);else s.push(O-E),S.push(0)}for(N.writeUInt16(3),N.writeUInt16(1),N.writeUInt32(12),N.writeUInt16(4),N.writeUInt16(16+8*T+2*h.length),N.writeUInt16(0),N.writeUInt16(A),N.writeUInt16(k),N.writeUInt16(f),N.writeUInt16(x),H=0,D=u.length;H<D;H++)n=u[H],N.writeUInt16(n);for(N.writeUInt16(0),z=0,M=_.length;z<M;z++)n=_[z],N.writeUInt16(n);for(q=0,B=s.length;q<B;q++)a=s[q],N.writeUInt16(a);for($=0,W=S.length;$<W;$++)y=S[$],N.writeUInt16(y);for(G=0,U=h.length;G<U;G++)p=h[G],N.writeUInt16(p);return{charMap:r,subtable:N.data,maxGlyphID:b+1}}},t}(),Me=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Fe(e,t),e.prototype.tag="cmap",e.prototype.parse=function(t){var e,r,n;for(t.pos=this.offset,this.version=t.readUInt16(),n=t.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=n?r<n:r>n;r=0<=n?++r:--r)e=new De(t,this.offset),this.tables.push(e),e.isUnicode&&null==this.unicode&&(this.unicode=e);return!0},e.encode=function(t,e){var r,n;return null==e&&(e="macroman"),r=De.encode(t,e),(n=new Pe).writeUInt16(0),n.writeUInt16(1),r.table=n.data.concat(r.subtable),r},e}(Re),Be=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Fe(e,t),e.prototype.tag="hhea",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.ascender=t.readShort(),this.decender=t.readShort(),this.lineGap=t.readShort(),this.advanceWidthMax=t.readShort(),this.minLeftSideBearing=t.readShort(),this.minRightSideBearing=t.readShort(),this.xMaxExtent=t.readShort(),this.caretSlopeRise=t.readShort(),this.caretSlopeRun=t.readShort(),this.caretOffset=t.readShort(),t.pos+=8,this.metricDataFormat=t.readShort(),this.numberOfMetrics=t.readUInt16()},e}(Re),We=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Fe(e,t),e.prototype.tag="OS/2",e.prototype.parse=function(t){if(t.pos=this.offset,this.version=t.readUInt16(),this.averageCharWidth=t.readShort(),this.weightClass=t.readUInt16(),this.widthClass=t.readUInt16(),this.type=t.readShort(),this.ySubscriptXSize=t.readShort(),this.ySubscriptYSize=t.readShort(),this.ySubscriptXOffset=t.readShort(),this.ySubscriptYOffset=t.readShort(),this.ySuperscriptXSize=t.readShort(),this.ySuperscriptYSize=t.readShort(),this.ySuperscriptXOffset=t.readShort(),this.ySuperscriptYOffset=t.readShort(),this.yStrikeoutSize=t.readShort(),this.yStrikeoutPosition=t.readShort(),this.familyClass=t.readShort(),this.panose=function(){var e,r;for(r=[],e=0;e<10;++e)r.push(t.readByte());return r}(),this.charRange=function(){var e,r;for(r=[],e=0;e<4;++e)r.push(t.readInt());return r}(),this.vendorID=t.readString(4),this.selection=t.readShort(),this.firstCharIndex=t.readShort(),this.lastCharIndex=t.readShort(),this.version>0&&(this.ascent=t.readShort(),this.descent=t.readShort(),this.lineGap=t.readShort(),this.winAscent=t.readShort(),this.winDescent=t.readShort(),this.codePageRange=function(){var e,r;for(r=[],e=0;e<2;e=++e)r.push(t.readInt());return r}(),this.version>1))return this.xHeight=t.readShort(),this.capHeight=t.readShort(),this.defaultChar=t.readShort(),this.breakChar=t.readShort(),this.maxContext=t.readShort()},e}(Re),Ue=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Fe(e,t),e.prototype.tag="post",e.prototype.parse=function(t){var e,r,n;switch(t.pos=this.offset,this.format=t.readInt(),this.italicAngle=t.readInt(),this.underlinePosition=t.readShort(),this.underlineThickness=t.readShort(),this.isFixedPitch=t.readInt(),this.minMemType42=t.readInt(),this.maxMemType42=t.readInt(),this.minMemType1=t.readInt(),this.maxMemType1=t.readInt(),this.format){case 65536:case 196608:break;case 131072:var i;for(r=t.readUInt16(),this.glyphNameIndex=[],i=0;0<=r?i<r:i>r;i=0<=r?++i:--i)this.glyphNameIndex.push(t.readUInt16());for(this.names=[],n=[];t.pos<this.offset+this.length;)e=t.readByte(),n.push(this.names.push(t.readString(e)));return n;case 151552:return r=t.readUInt16(),this.offsets=t.read(r);case 262144:return this.map=function(){var e,r,n;for(n=[],i=e=0,r=this.file.maxp.numGlyphs;0<=r?e<r:e>r;i=0<=r?++e:--e)n.push(t.readUInt32());return n}.call(this)}},e}(Re),He=function(t,e){this.raw=t,this.length=t.length,this.platformID=e.platformID,this.encodingID=e.encodingID,this.languageID=e.languageID},ze=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Fe(e,t),e.prototype.tag="name",e.prototype.parse=function(t){var e,r,n,i,o,a,s,c,l,u,f;for(t.pos=this.offset,t.readShort(),e=t.readShort(),a=t.readShort(),r=[],i=0;0<=e?i<e:i>e;i=0<=e?++i:--i)r.push({platformID:t.readShort(),encodingID:t.readShort(),languageID:t.readShort(),nameID:t.readShort(),length:t.readShort(),offset:this.offset+a+t.readShort()});for(s={},i=l=0,u=r.length;l<u;i=++l)n=r[i],t.pos=n.offset,c=t.readString(n.length),o=new He(c,n),null==s[f=n.nameID]&&(s[f]=[]),s[n.nameID].push(o);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfamily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(t){this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},e}(Re),Ve=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Fe(e,t),e.prototype.tag="maxp",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.numGlyphs=t.readUInt16(),this.maxPoints=t.readUInt16(),this.maxContours=t.readUInt16(),this.maxCompositePoints=t.readUInt16(),this.maxComponentContours=t.readUInt16(),this.maxZones=t.readUInt16(),this.maxTwilightPoints=t.readUInt16(),this.maxStorage=t.readUInt16(),this.maxFunctionDefs=t.readUInt16(),this.maxInstructionDefs=t.readUInt16(),this.maxStackElements=t.readUInt16(),this.maxSizeOfInstructions=t.readUInt16(),this.maxComponentElements=t.readUInt16(),this.maxComponentDepth=t.readUInt16()},e}(Re),qe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Fe(e,t),e.prototype.tag="hmtx",e.prototype.parse=function(t){var e,r,n,i,o,a,s;for(t.pos=this.offset,this.metrics=[],e=0,a=this.file.hhea.numberOfMetrics;0<=a?e<a:e>a;e=0<=a?++e:--e)this.metrics.push({advance:t.readUInt16(),lsb:t.readInt16()});for(n=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var r,i;for(i=[],e=r=0;0<=n?r<n:r>n;e=0<=n?++r:--r)i.push(t.readInt16());return i}(),this.widths=function(){var t,e,r,n;for(n=[],t=0,e=(r=this.metrics).length;t<e;t++)i=r[t],n.push(i.advance);return n}.call(this),r=this.widths[this.widths.length-1],s=[],e=o=0;0<=n?o<n:o>n;e=0<=n?++o:--o)s.push(this.widths.push(r));return s},e.prototype.forGlyph=function(t){return t in this.metrics?this.metrics[t]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[t-this.metrics.length]}},e}(Re),$e=[].slice,Ge=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Fe(e,t),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(t){var e,r,n,i,o,a,s,c,l,u;return t in this.cache?this.cache[t]:(i=this.file.loca,e=this.file.contents,r=i.indexOf(t),0===(n=i.lengthOf(t))?this.cache[t]=null:(e.pos=this.offset+r,o=(a=new Pe(e.read(n))).readShort(),c=a.readShort(),u=a.readShort(),s=a.readShort(),l=a.readShort(),this.cache[t]=-1===o?new Ye(a,c,u,s,l):new Xe(a,o,c,u,s,l),this.cache[t]))},e.prototype.encode=function(t,e,r){var n,i,o,a,s;for(o=[],i=[],a=0,s=e.length;a<s;a++)n=t[e[a]],i.push(o.length),n&&(o=o.concat(n.encode(r)));return i.push(o.length),{table:o,offsets:i}},e}(Re),Xe=function(){function t(t,e,r,n,i,o){this.raw=t,this.numberOfContours=e,this.xMin=r,this.yMin=n,this.xMax=i,this.yMax=o,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t}(),Ye=function(){function t(t,e,r,n,i){var o,a;for(this.raw=t,this.xMin=e,this.yMin=r,this.xMax=n,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],o=this.raw;a=o.readShort(),this.glyphOffsets.push(o.pos),this.glyphIDs.push(o.readUInt16()),32&a;)o.pos+=1&a?4:2,128&a?o.pos+=8:64&a?o.pos+=4:8&a&&(o.pos+=2)}return t.prototype.encode=function(){var t,e,r;for(e=new Pe($e.call(this.raw.data)),t=0,r=this.glyphIDs.length;t<r;++t)e.pos=this.glyphOffsets[t];return e.data},t}(),Ke=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Fe(e,t),e.prototype.tag="loca",e.prototype.parse=function(t){var e,r;return t.pos=this.offset,e=this.file.head.indexToLocFormat,this.offsets=0===e?function(){var e,n;for(n=[],r=0,e=this.length;r<e;r+=2)n.push(2*t.readUInt16());return n}.call(this):function(){var e,n;for(n=[],r=0,e=this.length;r<e;r+=4)n.push(t.readUInt32());return n}.call(this)},e.prototype.indexOf=function(t){return this.offsets[t]},e.prototype.lengthOf=function(t){return this.offsets[t+1]-this.offsets[t]},e.prototype.encode=function(t,e){for(var r=new Uint32Array(this.offsets.length),n=0,i=0,o=0;o<r.length;++o)if(r[o]=n,i<e.length&&e[i]==o){++i,r[o]=n;var a=this.offsets[o],s=this.offsets[o+1]-a;s>0&&(n+=s)}for(var c=new Array(4*r.length),l=0;l<r.length;++l)c[4*l+3]=255&r[l],c[4*l+2]=(65280&r[l])>>8,c[4*l+1]=(16711680&r[l])>>16,c[4*l]=(4278190080&r[l])>>24;return c},e}(Re),Je=function(){function t(t){this.font=t,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var t,e,r,n,i;for(e in n=this.font.cmap.tables[0].codeMap,t={},i=this.subset)r=i[e],t[e]=n[r];return t},t.prototype.glyphsFor=function(t){var e,r,n,i,o,a,s;for(n={},o=0,a=t.length;o<a;o++)n[i=t[o]]=this.font.glyf.glyphFor(i);for(i in e=[],n)(null!=(r=n[i])?r.compound:void 0)&&e.push.apply(e,r.glyphIDs);if(e.length>0)for(i in s=this.glyphsFor(e))r=s[i],n[i]=r;return n},t.prototype.encode=function(t,e){var r,n,i,o,a,s,c,l,u,f,h,d,p,v,g;for(n in r=Me.encode(this.generateCmap(),"unicode"),o=this.glyphsFor(t),h={0:0},g=r.charMap)h[(s=g[n]).old]=s.new;for(d in f=r.maxGlyphID,o)d in h||(h[d]=f++);return l=function(t){var e,r;for(e in r={},t)r[t[e]]=e;return r}(h),u=Object.keys(l).sort((function(t,e){return t-e})),p=function(){var t,e,r;for(r=[],t=0,e=u.length;t<e;t++)a=u[t],r.push(l[a]);return r}(),i=this.font.glyf.encode(o,p,h),c=this.font.loca.encode(i.offsets,p),v={cmap:this.font.cmap.raw(),glyf:i.table,loca:c,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(e)},this.font.os2.exists&&(v["OS/2"]=this.font.os2.raw()),this.font.directory.encode(v)},t}();P.API.PDFObject=function(){var t;function e(){}return t=function(t,e){return(Array(e+1).join("0")+t).slice(-e)},e.convert=function(r){var n,i,o,a;if(Array.isArray(r))return"["+function(){var t,i,o;for(o=[],t=0,i=r.length;t<i;t++)n=r[t],o.push(e.convert(n));return o}().join(" ")+"]";if("string"==typeof r)return"/"+r;if(null!=r?r.isString:void 0)return"("+r+")";if(r instanceof Date)return"(D:"+t(r.getUTCFullYear(),4)+t(r.getUTCMonth(),2)+t(r.getUTCDate(),2)+t(r.getUTCHours(),2)+t(r.getUTCMinutes(),2)+t(r.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(r)){for(i in o=["<<"],r)a=r[i],o.push("/"+i+" "+e.convert(a));return o.push(">>"),o.join("\n")}return""+r},e}(),t.AcroForm=yt,t.AcroFormAppearance=mt,t.AcroFormButton=ut,t.AcroFormCheckBox=pt,t.AcroFormChoiceField=at,t.AcroFormComboBox=ct,t.AcroFormEditBox=lt,t.AcroFormListBox=st,t.AcroFormPasswordField=gt,t.AcroFormPushButton=ft,t.AcroFormRadioButton=ht,t.AcroFormTextField=vt,t.GState=O,t.ShadingPattern=C,t.TilingPattern=R,t.default=P,t.jsPDF=P,Object.defineProperty(t,"__esModule",{value:!0})}));var saveAs=saveAs||function(t){"use strict";if(!(void 0===t||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var e=t.document,r=function(){return t.URL||t.webkitURL||t},n=e.createElementNS("http://www.w3.org/1999/xhtml","a"),i="download"in n,o=/constructor/i.test(t.HTMLElement)||t.safari,a=/CriOS\/[\d]+/.test(navigator.userAgent),s=function(e){(t.setImmediate||t.setTimeout)((function(){throw e}),0)},c=function(t){setTimeout((function(){"string"==typeof t?r().revokeObjectURL(t):t.remove()}),4e4)},l=function(t,e,r){for(var n=(e=[].concat(e)).length;n--;){var i=t["on"+e[n]];if("function"==typeof i)try{i.call(t,r||t)}catch(t){s(t)}}},u=function(t){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t},f=function(e,s,f){f||(e=u(e));var h,d=this,p="application/octet-stream"===e.type,v=function(){l(d,"writestart progress write writeend".split(" "))};if(d.readyState=d.INIT,i)return h=r().createObjectURL(e),void setTimeout((function(){n.href=h,n.download=s,function(t){var e=new MouseEvent("click");t.dispatchEvent(e)}(n),v(),c(h),d.readyState=d.DONE}));!function(){if((a||p&&o)&&t.FileReader){var n=new FileReader;return n.onloadend=function(){var e=a?n.result:n.result.replace(/^data:[^;]*;/,"data:attachment/file;");t.open(e,"_blank")||(t.location.href=e),e=void 0,d.readyState=d.DONE,v()},n.readAsDataURL(e),void(d.readyState=d.INIT)}(h||(h=r().createObjectURL(e)),p)?t.location.href=h:t.open(h,"_blank")||(t.location.href=h);d.readyState=d.DONE,v(),c(h)}()},h=f.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(t,e,r){return e=e||t.name||"download",r||(t=u(t)),navigator.msSaveOrOpenBlob(t,e)}:(h.abort=function(){},h.readyState=h.INIT=0,h.WRITING=1,h.DONE=2,h.error=h.onwritestart=h.onprogress=h.onwrite=h.onabort=h.onerror=h.onwriteend=null,function(t,e,r){return new f(t,e||t.name||"download",r)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);"undefined"!=typeof module&&module.exports?module.exports.saveAs=saveAs:"undefined"!=typeof define&&null!==define&&null!==define.amd&&define("FileSaver.js",(function(){return saveAs}));var XLSX={};function make_xlsx_lib(t){t.version="0.18.5";var e,r=1200,n=1252;"undefined"!=typeof cptable?e=cptable:"undefined"!=typeof module&&"undefined"!=typeof require&&(e=void 0);var i=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],o={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},a=function(t){-1!=i.indexOf(t)&&(n=o[0]=t)};var s=function(t){r=t,a(t)};function c(){s(1200),a(1252)}function l(t){for(var e=[],r=0,n=t.length;r<n;++r)e[r]=t.charCodeAt(r);return e}function u(t){for(var e=[],r=0;r<t.length>>1;++r)e[r]=String.fromCharCode(t.charCodeAt(2*r+1)+(t.charCodeAt(2*r)<<8));return e.join("")}var f=function(t){var e=t.charCodeAt(0),r=t.charCodeAt(1);return 255==e&&254==r?function(t){for(var e=[],r=0;r<t.length>>1;++r)e[r]=String.fromCharCode(t.charCodeAt(2*r)+(t.charCodeAt(2*r+1)<<8));return e.join("")}(t.slice(2)):254==e&&255==r?u(t.slice(2)):65279==e?t.slice(1):t},h=function(t){return String.fromCharCode(t)},d=function(t){return String.fromCharCode(t)};void 0!==e&&(s=function(t){r=t,a(t)},f=function(t){return 255===t.charCodeAt(0)&&254===t.charCodeAt(1)?e.utils.decode(1200,l(t.slice(2))):t},h=function(t){return 1200===r?String.fromCharCode(t):e.utils.decode(r,[255&t,t>>8])[0]},d=function(t){return e.utils.decode(n,[t])[0]});var p=null,v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function g(t){for(var e="",r=0,n=0,i=0,o=0,a=0,s=0,c=0,l=0;l<t.length;)o=(r=t.charCodeAt(l++))>>2,a=(3&r)<<4|(n=t.charCodeAt(l++))>>4,s=(15&n)<<2|(i=t.charCodeAt(l++))>>6,c=63&i,isNaN(n)?s=c=64:isNaN(i)&&(c=64),e+=v.charAt(o)+v.charAt(a)+v.charAt(s)+v.charAt(c);return e}function m(t){var e="",r=0,n=0,i=0,o=0,a=0,s=0;t=t.replace(/[^\w\+\/\=]/g,"");for(var c=0;c<t.length;)r=v.indexOf(t.charAt(c++))<<2|(o=v.indexOf(t.charAt(c++)))>>4,e+=String.fromCharCode(r),n=(15&o)<<4|(a=v.indexOf(t.charAt(c++)))>>2,64!==a&&(e+=String.fromCharCode(n)),i=(3&a)<<6|(s=v.indexOf(t.charAt(c++))),64!==s&&(e+=String.fromCharCode(i));return e}var b="undefined"!=typeof Buffer&&!1,y=function(){if("undefined"!=typeof Buffer){var t=!Buffer.from;if(!t)try{Buffer.from("foo","utf8")}catch(e){t=!0}return t?function(t,e){return e?new Buffer(t,e):new Buffer(t)}:Buffer.from.bind(Buffer)}return function(){}}();function w(t){return b?Buffer.alloc?Buffer.alloc(t):new Buffer(t):"undefined"!=typeof Uint8Array?new Uint8Array(t):new Array(t)}function S(t){return b?Buffer.allocUnsafe?Buffer.allocUnsafe(t):new Buffer(t):"undefined"!=typeof Uint8Array?new Uint8Array(t):new Array(t)}var x=function(t){return b?y(t,"binary"):t.split("").map((function(t){return 255&t.charCodeAt(0)}))};function k(t){if("undefined"==typeof ArrayBuffer)return x(t);for(var e=new ArrayBuffer(t.length),r=new Uint8Array(e),n=0;n!=t.length;++n)r[n]=255&t.charCodeAt(n);return e}function T(t){if(Array.isArray(t))return t.map((function(t){return String.fromCharCode(t)})).join("");for(var e=[],r=0;r<t.length;++r)e[r]=String.fromCharCode(t[r]);return e.join("")}function A(t){if("undefined"==typeof ArrayBuffer)throw new Error("Unsupported");if(t instanceof ArrayBuffer)return A(new Uint8Array(t));for(var e=new Array(t.length),r=0;r<t.length;++r)e[r]=t[r];return e}var E=b?function(t){return Buffer.concat(t.map((function(t){return Buffer.isBuffer(t)?t:y(t)})))}:function(t){if("undefined"!=typeof Uint8Array){var e=0,r=0;for(e=0;e<t.length;++e)r+=t[e].length;var n=new Uint8Array(r),i=0;for(e=0,r=0;e<t.length;r+=i,++e)if(i=t[e].length,t[e]instanceof Uint8Array)n.set(t[e],r);else{if("string"==typeof t[e])throw"wtf";n.set(new Uint8Array(t[e]),r)}return n}return[].concat.apply([],t.map((function(t){return Array.isArray(t)?t:[].slice.call(t)})))};var _=/\u0000/g,O=/[\u0001-\u0006]/g;function N(t){for(var e="",r=t.length-1;r>=0;)e+=t.charAt(r--);return e}function C(t,e){var r=""+t;return r.length>=e?r:$t("0",e-r.length)+r}function R(t,e){var r=""+t;return r.length>=e?r:$t(" ",e-r.length)+r}function P(t,e){var r=""+t;return r.length>=e?r:r+$t(" ",e-r.length)}var L=Math.pow(2,32);function I(t,e){return t>L||t<-L?function(t,e){var r=""+Math.round(t);return r.length>=e?r:$t("0",e-r.length)+r}(t,e):function(t,e){var r=""+t;return r.length>=e?r:$t("0",e-r.length)+r}(Math.round(t),e)}function F(t,e){return e=e||0,t.length>=7+e&&103==(32|t.charCodeAt(e))&&101==(32|t.charCodeAt(e+1))&&110==(32|t.charCodeAt(e+2))&&101==(32|t.charCodeAt(e+3))&&114==(32|t.charCodeAt(e+4))&&97==(32|t.charCodeAt(e+5))&&108==(32|t.charCodeAt(e+6))}var j=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],D=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];var M={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},B={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},W={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function U(t,e,r){for(var n=t<0?-1:1,i=t*n,o=0,a=1,s=0,c=1,l=0,u=0,f=Math.floor(i);l<e&&(s=(f=Math.floor(i))*a+o,u=f*l+c,!(i-f<5e-8));)i=1/(i-f),o=a,a=s,c=l,l=u;if(u>e&&(l>e?(u=c,s=o):(u=l,s=a)),!r)return[0,n*s,u];var h=Math.floor(n*s/u);return[h,n*s-h*u,u]}function H(t,e,r){if(t>2958465||t<0)return null;var n=0|t,i=Math.floor(86400*(t-n)),o=0,a=[],s={D:n,T:i,u:86400*(t-n)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),e&&e.date1904&&(n+=1462),s.u>.9999&&(s.u=0,86400==++i&&(s.T=i=0,++n,++s.D)),60===n)a=r?[1317,10,29]:[1900,2,29],o=3;else if(0===n)a=r?[1317,8,29]:[1900,1,0],o=6;else{n>60&&--n;var c=new Date(1900,0,1);c.setDate(c.getDate()+n-1),a=[c.getFullYear(),c.getMonth()+1,c.getDate()],o=c.getDay(),n<60&&(o=(o+6)%7),r&&(o=function(t,e){e[0]-=581;var r=t.getDay();t<60&&(r=(r+6)%7);return r}(c,a))}return s.y=a[0],s.m=a[1],s.d=a[2],s.S=i%60,i=Math.floor(i/60),s.M=i%60,i=Math.floor(i/60),s.H=i,s.q=o,s}var z=new Date(1899,11,31,0,0,0),V=z.getTime(),q=new Date(1900,2,1,0,0,0);function G(t,e){var r=t.getTime();return e?r-=1262304e5:t>=q&&(r+=864e5),(r-(V+6e4*(t.getTimezoneOffset()-z.getTimezoneOffset())))/864e5}function X(t){return-1==t.indexOf(".")?t:t.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function Y(t){var e,r=Math.floor(Math.log(Math.abs(t))*Math.LOG10E);return e=r>=-4&&r<=-1?t.toPrecision(10+r):Math.abs(r)<=9?function(t){var e=t<0?12:11,r=X(t.toFixed(12));return r.length<=e||(r=t.toPrecision(10)).length<=e?r:t.toExponential(5)}(t):10===r?t.toFixed(10).substr(0,12):function(t){var e=X(t.toFixed(11));return e.length>(t<0?12:11)||"0"===e||"-0"===e?t.toPrecision(6):e}(t),X(function(t){return-1==t.indexOf("E")?t:t.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(e.toUpperCase()))}function K(t,e){switch(typeof t){case"string":return t;case"boolean":return t?"TRUE":"FALSE";case"number":return(0|t)===t?t.toString(10):Y(t);case"undefined":return"";case"object":if(null==t)return"";if(t instanceof Date)return mt(14,G(t,e&&e.date1904),e)}throw new Error("unsupported value in General format: "+t)}function J(t,e,r,n){var i,o="",a=0,s=0,c=r.y,l=0;switch(t){case 98:c=r.y+543;case 121:switch(e.length){case 1:case 2:i=c%100,l=2;break;default:i=c%1e4,l=4}break;case 109:switch(e.length){case 1:case 2:i=r.m,l=e.length;break;case 3:return D[r.m-1][1];case 5:return D[r.m-1][0];default:return D[r.m-1][2]}break;case 100:switch(e.length){case 1:case 2:i=r.d,l=e.length;break;case 3:return j[r.q][0];default:return j[r.q][1]}break;case 104:switch(e.length){case 1:case 2:i=1+(r.H+11)%12,l=e.length;break;default:throw"bad hour format: "+e}break;case 72:switch(e.length){case 1:case 2:i=r.H,l=e.length;break;default:throw"bad hour format: "+e}break;case 77:switch(e.length){case 1:case 2:i=r.M,l=e.length;break;default:throw"bad minute format: "+e}break;case 115:if("s"!=e&&"ss"!=e&&".0"!=e&&".00"!=e&&".000"!=e)throw"bad second format: "+e;return 0!==r.u||"s"!=e&&"ss"!=e?(s=n>=2?3===n?1e3:100:1===n?10:1,(a=Math.round(s*(r.S+r.u)))>=60*s&&(a=0),"s"===e?0===a?"0":""+a/s:(o=C(a,2+n),"ss"===e?o.substr(0,2):"."+o.substr(2,e.length-1))):C(r.S,e.length);case 90:switch(e){case"[h]":case"[hh]":i=24*r.D+r.H;break;case"[m]":case"[mm]":i=60*(24*r.D+r.H)+r.M;break;case"[s]":case"[ss]":i=60*(60*(24*r.D+r.H)+r.M)+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+e}l=3===e.length?1:2;break;case 101:i=c,l=1}return l>0?C(i,l):""}function Z(t){if(t.length<=3)return t;for(var e=t.length%3,r=t.substr(0,e);e!=t.length;e+=3)r+=(r.length>0?",":"")+t.substr(e,3);return r}var Q=/%/g;function tt(t,e){var r,n=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==e)return"0.0E+0";if(e<0)return"-"+tt(t,-e);var i=t.indexOf(".");-1===i&&(i=t.indexOf("E"));var o=Math.floor(Math.log(e)*Math.LOG10E)%i;if(o<0&&(o+=i),-1===(r=(e/Math.pow(10,o)).toPrecision(n+1+(i+o)%i)).indexOf("e")){var a=Math.floor(Math.log(e)*Math.LOG10E);for(-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(a-r.length+o):r+="E+"+(a-o);"0."===r.substr(0,2);)r=(r=r.charAt(0)+r.substr(2,i)+"."+r.substr(2+i)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(t,e,r,n){return e+r+n.substr(0,(i+o)%i)+"."+n.substr(o)+"E"}))}else r=e.toExponential(n);return t.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),t.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var et=/# (\?+)( ?)\/( ?)(\d+)/;var rt=/^#*0*\.([0#]+)/,nt=/\).*[0#]/,it=/\(###\) ###\\?-####/;function ot(t){for(var e,r="",n=0;n!=t.length;++n)switch(e=t.charCodeAt(n)){case 35:break;case 63:r+=" ";break;case 48:r+="0";break;default:r+=String.fromCharCode(e)}return r}function at(t,e){var r=Math.pow(10,e);return""+Math.round(t*r)/r}function st(t,e){var r=t-Math.floor(t),n=Math.pow(10,e);return e<(""+Math.round(r*n)).length?0:Math.round(r*n)}function ct(t,e,r){if(40===t.charCodeAt(0)&&!e.match(nt)){var n=e.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?ct("n",n,r):"("+ct("n",n,-r)+")"}if(44===e.charCodeAt(e.length-1))return function(t,e,r){for(var n=e.length-1;44===e.charCodeAt(n-1);)--n;return ft(t,e.substr(0,n),r/Math.pow(10,3*(e.length-n)))}(t,e,r);if(-1!==e.indexOf("%"))return function(t,e,r){var n=e.replace(Q,""),i=e.length-n.length;return ft(t,n,r*Math.pow(10,2*i))+$t("%",i)}(t,e,r);if(-1!==e.indexOf("E"))return tt(e,r);if(36===e.charCodeAt(0))return"$"+ct(t,e.substr(" "==e.charAt(1)?2:1),r);var i,o,a,s,c=Math.abs(r),l=r<0?"-":"";if(e.match(/^00+$/))return l+I(c,e.length);if(e.match(/^[#?]+$/))return"0"===(i=I(r,0))&&(i=""),i.length>e.length?i:ot(e.substr(0,e.length-i.length))+i;if(o=e.match(et))return function(t,e,r){var n=parseInt(t[4],10),i=Math.round(e*n),o=Math.floor(i/n),a=i-o*n,s=n;return r+(0===o?"":""+o)+" "+(0===a?$t(" ",t[1].length+1+t[4].length):R(a,t[1].length)+t[2]+"/"+t[3]+C(s,t[4].length))}(o,c,l);if(e.match(/^#+0+$/))return l+I(c,e.length-e.indexOf("0"));if(o=e.match(rt))return i=at(r,o[1].length).replace(/^([^\.]+)$/,"$1."+ot(o[1])).replace(/\.$/,"."+ot(o[1])).replace(/\.(\d*)$/,(function(t,e){return"."+e+$t("0",ot(o[1]).length-e.length)})),-1!==e.indexOf("0.")?i:i.replace(/^0\./,".");if(e=e.replace(/^#+([0.])/,"$1"),o=e.match(/^(0*)\.(#*)$/))return l+at(c,o[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=e.match(/^#{1,3},##0(\.?)$/))return l+Z(I(c,0));if(o=e.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+ct(t,e,-r):Z(""+(Math.floor(r)+function(t,e){return e<(""+Math.round((t-Math.floor(t))*Math.pow(10,e))).length?1:0}(r,o[1].length)))+"."+C(st(r,o[1].length),o[1].length);if(o=e.match(/^#,#*,#0/))return ct(t,e.replace(/^#,#*,/,""),r);if(o=e.match(/^([0#]+)(\\?-([0#]+))+$/))return i=N(ct(t,e.replace(/[\\-]/g,""),r)),a=0,N(N(e.replace(/\\/g,"")).replace(/[0#]/g,(function(t){return a<i.length?i.charAt(a++):"0"===t?"0":""})));if(e.match(it))return"("+(i=ct(t,"##########",r)).substr(0,3)+") "+i.substr(3,3)+"-"+i.substr(6);var u="";if(o=e.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return a=Math.min(o[4].length,7),s=U(c,Math.pow(10,a)-1,!1),i=""+l," "==(u=ft("n",o[1],s[1])).charAt(u.length-1)&&(u=u.substr(0,u.length-1)+"0"),i+=u+o[2]+"/"+o[3],(u=P(s[2],a)).length<o[4].length&&(u=ot(o[4].substr(o[4].length-u.length))+u),i+=u;if(o=e.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return a=Math.min(Math.max(o[1].length,o[4].length),7),l+((s=U(c,Math.pow(10,a)-1,!0))[0]||(s[1]?"":"0"))+" "+(s[1]?R(s[1],a)+o[2]+"/"+o[3]+P(s[2],a):$t(" ",2*a+1+o[2].length+o[3].length));if(o=e.match(/^[#0?]+$/))return i=I(r,0),e.length<=i.length?i:ot(e.substr(0,e.length-i.length))+i;if(o=e.match(/^([#0?]+)\.([#0]+)$/)){i=""+r.toFixed(Math.min(o[2].length,10)).replace(/([^0])0+$/,"$1"),a=i.indexOf(".");var f=e.indexOf(".")-a,h=e.length-i.length-f;return ot(e.substr(0,f)+i+e.substr(e.length-h))}if(o=e.match(/^00,000\.([#0]*0)$/))return a=st(r,o[1].length),r<0?"-"+ct(t,e,-r):Z(function(t){return t<2147483647&&t>-2147483648?""+(t>=0?0|t:t-1|0):""+Math.floor(t)}(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(t){return"00,"+(t.length<3?C(0,3-t.length):"")+t}))+"."+C(a,o[1].length);switch(e){case"###,##0.00":return ct(t,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var d=Z(I(c,0));return"0"!==d?l+d:"";case"###,###.00":return ct(t,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return ct(t,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+e+"|")}function lt(t,e){var r,n=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==e)return"0.0E+0";if(e<0)return"-"+lt(t,-e);var i=t.indexOf(".");-1===i&&(i=t.indexOf("E"));var o=Math.floor(Math.log(e)*Math.LOG10E)%i;if(o<0&&(o+=i),!(r=(e/Math.pow(10,o)).toPrecision(n+1+(i+o)%i)).match(/[Ee]/)){var a=Math.floor(Math.log(e)*Math.LOG10E);-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(a-r.length+o):r+="E+"+(a-o),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(t,e,r,n){return e+r+n.substr(0,(i+o)%i)+"."+n.substr(o)+"E"}))}else r=e.toExponential(n);return t.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),t.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}function ut(t,e,r){if(40===t.charCodeAt(0)&&!e.match(nt)){var n=e.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?ut("n",n,r):"("+ut("n",n,-r)+")"}if(44===e.charCodeAt(e.length-1))return function(t,e,r){for(var n=e.length-1;44===e.charCodeAt(n-1);)--n;return ft(t,e.substr(0,n),r/Math.pow(10,3*(e.length-n)))}(t,e,r);if(-1!==e.indexOf("%"))return function(t,e,r){var n=e.replace(Q,""),i=e.length-n.length;return ft(t,n,r*Math.pow(10,2*i))+$t("%",i)}(t,e,r);if(-1!==e.indexOf("E"))return lt(e,r);if(36===e.charCodeAt(0))return"$"+ut(t,e.substr(" "==e.charAt(1)?2:1),r);var i,o,a,s,c=Math.abs(r),l=r<0?"-":"";if(e.match(/^00+$/))return l+C(c,e.length);if(e.match(/^[#?]+$/))return i=""+r,0===r&&(i=""),i.length>e.length?i:ot(e.substr(0,e.length-i.length))+i;if(o=e.match(et))return function(t,e,r){return r+(0===e?"":""+e)+$t(" ",t[1].length+2+t[4].length)}(o,c,l);if(e.match(/^#+0+$/))return l+C(c,e.length-e.indexOf("0"));if(o=e.match(rt))return i=(i=(""+r).replace(/^([^\.]+)$/,"$1."+ot(o[1])).replace(/\.$/,"."+ot(o[1]))).replace(/\.(\d*)$/,(function(t,e){return"."+e+$t("0",ot(o[1]).length-e.length)})),-1!==e.indexOf("0.")?i:i.replace(/^0\./,".");if(e=e.replace(/^#+([0.])/,"$1"),o=e.match(/^(0*)\.(#*)$/))return l+(""+c).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=e.match(/^#{1,3},##0(\.?)$/))return l+Z(""+c);if(o=e.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+ut(t,e,-r):Z(""+r)+"."+$t("0",o[1].length);if(o=e.match(/^#,#*,#0/))return ut(t,e.replace(/^#,#*,/,""),r);if(o=e.match(/^([0#]+)(\\?-([0#]+))+$/))return i=N(ut(t,e.replace(/[\\-]/g,""),r)),a=0,N(N(e.replace(/\\/g,"")).replace(/[0#]/g,(function(t){return a<i.length?i.charAt(a++):"0"===t?"0":""})));if(e.match(it))return"("+(i=ut(t,"##########",r)).substr(0,3)+") "+i.substr(3,3)+"-"+i.substr(6);var u="";if(o=e.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return a=Math.min(o[4].length,7),s=U(c,Math.pow(10,a)-1,!1),i=""+l," "==(u=ft("n",o[1],s[1])).charAt(u.length-1)&&(u=u.substr(0,u.length-1)+"0"),i+=u+o[2]+"/"+o[3],(u=P(s[2],a)).length<o[4].length&&(u=ot(o[4].substr(o[4].length-u.length))+u),i+=u;if(o=e.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return a=Math.min(Math.max(o[1].length,o[4].length),7),l+((s=U(c,Math.pow(10,a)-1,!0))[0]||(s[1]?"":"0"))+" "+(s[1]?R(s[1],a)+o[2]+"/"+o[3]+P(s[2],a):$t(" ",2*a+1+o[2].length+o[3].length));if(o=e.match(/^[#0?]+$/))return i=""+r,e.length<=i.length?i:ot(e.substr(0,e.length-i.length))+i;if(o=e.match(/^([#0]+)\.([#0]+)$/)){i=""+r.toFixed(Math.min(o[2].length,10)).replace(/([^0])0+$/,"$1"),a=i.indexOf(".");var f=e.indexOf(".")-a,h=e.length-i.length-f;return ot(e.substr(0,f)+i+e.substr(e.length-h))}if(o=e.match(/^00,000\.([#0]*0)$/))return r<0?"-"+ut(t,e,-r):Z(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(t){return"00,"+(t.length<3?C(0,3-t.length):"")+t}))+"."+C(0,o[1].length);switch(e){case"###,###":case"##,###":case"#,###":var d=Z(""+c);return"0"!==d?l+d:"";default:if(e.match(/\.[0#?]*$/))return ut(t,e.slice(0,e.lastIndexOf(".")),r)+ot(e.slice(e.lastIndexOf(".")))}throw new Error("unsupported format |"+e+"|")}function ft(t,e,r){return(0|r)===r?ut(t,e,r):ct(t,e,r)}var ht=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function dt(t){for(var e=0,r="",n="";e<t.length;)switch(r=t.charAt(e)){case"G":F(t,e)&&(e+=6),e++;break;case'"':for(;34!==t.charCodeAt(++e)&&e<t.length;);++e;break;case"\\":case"_":e+=2;break;case"@":++e;break;case"B":case"b":if("1"===t.charAt(e+1)||"2"===t.charAt(e+1))return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if("A/P"===t.substr(e,3).toUpperCase())return!0;if("AM/PM"===t.substr(e,5).toUpperCase())return!0;if("上午/下午"===t.substr(e,5).toUpperCase())return!0;++e;break;case"[":for(n=r;"]"!==t.charAt(e++)&&e<t.length;)n+=t.charAt(e);if(n.match(ht))return!0;break;case".":case"0":case"#":for(;e<t.length&&("0#?.,E+-%".indexOf(r=t.charAt(++e))>-1||"\\"==r&&"-"==t.charAt(e+1)&&"0#".indexOf(t.charAt(e+2))>-1););break;case"?":for(;t.charAt(++e)===r;);break;case"*":++e," "!=t.charAt(e)&&"*"!=t.charAt(e)||++e;break;case"(":case")":++e;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;e<t.length&&"0123456789".indexOf(t.charAt(++e))>-1;);break;default:++e}return!1}var pt=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function vt(t,e){if(null==e)return!1;var r=parseFloat(e[2]);switch(e[1]){case"=":if(t==r)return!0;break;case">":if(t>r)return!0;break;case"<":if(t<r)return!0;break;case"<>":if(t!=r)return!0;break;case">=":if(t>=r)return!0;break;case"<=":if(t<=r)return!0}return!1}function gt(t,e){var r=function(t){for(var e=[],r=!1,n=0,i=0;n<t.length;++n)switch(t.charCodeAt(n)){case 34:r=!r;break;case 95:case 42:case 92:++n;break;case 59:e[e.length]=t.substr(i,n-i),i=n+1}if(e[e.length]=t.substr(i),!0===r)throw new Error("Format |"+t+"| unterminated string ");return e}(t),n=r.length,i=r[n-1].indexOf("@");if(n<4&&i>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if("number"!=typeof e)return[4,4===r.length||i>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=i>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=i>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=i>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"]}var o=e>0?r[0]:e<0?r[1]:r[2];if(-1===r[0].indexOf("[")&&-1===r[1].indexOf("["))return[n,o];if(null!=r[0].match(/\[[=<>]/)||null!=r[1].match(/\[[=<>]/)){var a=r[0].match(pt),s=r[1].match(pt);return vt(e,a)?[n,r[0]]:vt(e,s)?[n,r[1]]:[n,r[null!=a&&null!=s?2:1]]}return[n,o]}function mt(t,e,r){null==r&&(r={});var n="";switch(typeof t){case"string":n="m/d/yy"==t&&r.dateNF?r.dateNF:t;break;case"number":null==(n=14==t&&r.dateNF?r.dateNF:(null!=r.table?r.table:M)[t])&&(n=r.table&&r.table[B[t]]||M[B[t]]),null==n&&(n=W[t]||"General")}if(F(n,0))return K(e,r);e instanceof Date&&(e=G(e,r.date1904));var i=gt(n,e);if(F(i[1]))return K(e,r);if(!0===e)e="TRUE";else if(!1===e)e="FALSE";else if(""===e||null==e)return"";return function(t,e,r,n){for(var i,o,a,s=[],c="",l=0,u="",f="t",h="H";l<t.length;)switch(u=t.charAt(l)){case"G":if(!F(t,l))throw new Error("unrecognized character "+u+" in "+t);s[s.length]={t:"G",v:"General"},l+=7;break;case'"':for(c="";34!==(a=t.charCodeAt(++l))&&l<t.length;)c+=String.fromCharCode(a);s[s.length]={t:"t",v:c},++l;break;case"\\":var d=t.charAt(++l),p="("===d||")"===d?d:"t";s[s.length]={t:p,v:d},++l;break;case"_":s[s.length]={t:"t",v:" "},l+=2;break;case"@":s[s.length]={t:"T",v:e},++l;break;case"B":case"b":if("1"===t.charAt(l+1)||"2"===t.charAt(l+1)){if(null==i&&null==(i=H(e,r,"2"===t.charAt(l+1))))return"";s[s.length]={t:"X",v:t.substr(l,2)},f=u,l+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":u=u.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(e<0)return"";if(null==i&&null==(i=H(e,r)))return"";for(c=u;++l<t.length&&t.charAt(l).toLowerCase()===u;)c+=u;"m"===u&&"h"===f.toLowerCase()&&(u="M"),"h"===u&&(u=h),s[s.length]={t:u,v:c},f=u;break;case"A":case"a":case"上":var v={t:u,v:u};if(null==i&&(i=H(e,r)),"A/P"===t.substr(l,3).toUpperCase()?(null!=i&&(v.v=i.H>=12?"P":"A"),v.t="T",h="h",l+=3):"AM/PM"===t.substr(l,5).toUpperCase()?(null!=i&&(v.v=i.H>=12?"PM":"AM"),v.t="T",l+=5,h="h"):"上午/下午"===t.substr(l,5).toUpperCase()?(null!=i&&(v.v=i.H>=12?"下午":"上午"),v.t="T",l+=5,h="h"):(v.t="t",++l),null==i&&"T"===v.t)return"";s[s.length]=v,f=u;break;case"[":for(c=u;"]"!==t.charAt(l++)&&l<t.length;)c+=t.charAt(l);if("]"!==c.slice(-1))throw'unterminated "[" block: |'+c+"|";if(c.match(ht)){if(null==i&&null==(i=H(e,r)))return"";s[s.length]={t:"Z",v:c.toLowerCase()},f=c.charAt(1)}else c.indexOf("$")>-1&&(c=(c.match(/\$([^-\[\]]*)/)||[])[1]||"$",dt(t)||(s[s.length]={t:"t",v:c}));break;case".":if(null!=i){for(c=u;++l<t.length&&"0"===(u=t.charAt(l));)c+=u;s[s.length]={t:"s",v:c};break}case"0":case"#":for(c=u;++l<t.length&&"0#?.,E+-%".indexOf(u=t.charAt(l))>-1;)c+=u;s[s.length]={t:"n",v:c};break;case"?":for(c=u;t.charAt(++l)===u;)c+=u;s[s.length]={t:u,v:c},f=u;break;case"*":++l," "!=t.charAt(l)&&"*"!=t.charAt(l)||++l;break;case"(":case")":s[s.length]={t:1===n?"t":u,v:u},++l;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(c=u;l<t.length&&"0123456789".indexOf(t.charAt(++l))>-1;)c+=t.charAt(l);s[s.length]={t:"D",v:c};break;case" ":s[s.length]={t:u,v:u},++l;break;case"$":s[s.length]={t:"t",v:"$"},++l;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(u))throw new Error("unrecognized character "+u+" in "+t);s[s.length]={t:"t",v:u},++l}var g,m=0,b=0;for(l=s.length-1,f="t";l>=0;--l)switch(s[l].t){case"h":case"H":s[l].t=h,f="h",m<1&&(m=1);break;case"s":(g=s[l].v.match(/\.0+$/))&&(b=Math.max(b,g[0].length-1)),m<3&&(m=3);case"d":case"y":case"M":case"e":f=s[l].t;break;case"m":"s"===f&&(s[l].t="M",m<2&&(m=2));break;case"X":break;case"Z":m<1&&s[l].v.match(/[Hh]/)&&(m=1),m<2&&s[l].v.match(/[Mm]/)&&(m=2),m<3&&s[l].v.match(/[Ss]/)&&(m=3)}switch(m){case 0:break;case 1:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M),i.M>=60&&(i.M=0,++i.H);break;case 2:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M)}var y,w="";for(l=0;l<s.length;++l)switch(s[l].t){case"t":case"T":case" ":case"D":break;case"X":s[l].v="",s[l].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":s[l].v=J(s[l].t.charCodeAt(0),s[l].v,i,b),s[l].t="t";break;case"n":case"?":for(y=l+1;null!=s[y]&&("?"===(u=s[y].t)||"D"===u||(" "===u||"t"===u)&&null!=s[y+1]&&("?"===s[y+1].t||"t"===s[y+1].t&&"/"===s[y+1].v)||"("===s[l].t&&(" "===u||"n"===u||")"===u)||"t"===u&&("/"===s[y].v||" "===s[y].v&&null!=s[y+1]&&"?"==s[y+1].t));)s[l].v+=s[y].v,s[y]={v:"",t:";"},++y;w+=s[l].v,l=y-1;break;case"G":s[l].t="t",s[l].v=K(e,r)}var S,x,k="";if(w.length>0){40==w.charCodeAt(0)?(S=e<0&&45===w.charCodeAt(0)?-e:e,x=ft("n",w,S)):(x=ft("n",w,S=e<0&&n>1?-e:e),S<0&&s[0]&&"t"==s[0].t&&(x=x.substr(1),s[0].v="-"+s[0].v)),y=x.length-1;var T=s.length;for(l=0;l<s.length;++l)if(null!=s[l]&&"t"!=s[l].t&&s[l].v.indexOf(".")>-1){T=l;break}var A=s.length;if(T===s.length&&-1===x.indexOf("E")){for(l=s.length-1;l>=0;--l)null!=s[l]&&-1!=="n?".indexOf(s[l].t)&&(y>=s[l].v.length-1?(y-=s[l].v.length,s[l].v=x.substr(y+1,s[l].v.length)):y<0?s[l].v="":(s[l].v=x.substr(0,y+1),y=-1),s[l].t="t",A=l);y>=0&&A<s.length&&(s[A].v=x.substr(0,y+1)+s[A].v)}else if(T!==s.length&&-1===x.indexOf("E")){for(y=x.indexOf(".")-1,l=T;l>=0;--l)if(null!=s[l]&&-1!=="n?".indexOf(s[l].t)){for(o=s[l].v.indexOf(".")>-1&&l===T?s[l].v.indexOf(".")-1:s[l].v.length-1,k=s[l].v.substr(o+1);o>=0;--o)y>=0&&("0"===s[l].v.charAt(o)||"#"===s[l].v.charAt(o))&&(k=x.charAt(y--)+k);s[l].v=k,s[l].t="t",A=l}for(y>=0&&A<s.length&&(s[A].v=x.substr(0,y+1)+s[A].v),y=x.indexOf(".")+1,l=T;l<s.length;++l)if(null!=s[l]&&(-1!=="n?(".indexOf(s[l].t)||l===T)){for(o=s[l].v.indexOf(".")>-1&&l===T?s[l].v.indexOf(".")+1:0,k=s[l].v.substr(0,o);o<s[l].v.length;++o)y<x.length&&(k+=x.charAt(y++));s[l].v=k,s[l].t="t",A=l}}}for(l=0;l<s.length;++l)null!=s[l]&&"n?".indexOf(s[l].t)>-1&&(S=n>1&&e<0&&l>0&&"-"===s[l-1].v?-e:e,s[l].v=ft(s[l].t,s[l].v,S),s[l].t="t");var E="";for(l=0;l!==s.length;++l)null!=s[l]&&(E+=s[l].v);return E}(i[1],e,r,i[0])}function bt(t,e){if("number"!=typeof e){e=+e||-1;for(var r=0;r<392;++r)if(null!=M[r]){if(M[r]==t){e=r;break}}else e<0&&(e=r);e<0&&(e=391)}return M[e]=t,e}function yt(t){for(var e=0;392!=e;++e)void 0!==t[e]&&bt(t[e],e)}function wt(){M=function(t){return t||(t={}),t[0]="General",t[1]="0",t[2]="0.00",t[3]="#,##0",t[4]="#,##0.00",t[9]="0%",t[10]="0.00%",t[11]="0.00E+00",t[12]="# ?/?",t[13]="# ??/??",t[14]="m/d/yy",t[15]="d-mmm-yy",t[16]="d-mmm",t[17]="mmm-yy",t[18]="h:mm AM/PM",t[19]="h:mm:ss AM/PM",t[20]="h:mm",t[21]="h:mm:ss",t[22]="m/d/yy h:mm",t[37]="#,##0 ;(#,##0)",t[38]="#,##0 ;[Red](#,##0)",t[39]="#,##0.00;(#,##0.00)",t[40]="#,##0.00;[Red](#,##0.00)",t[45]="mm:ss",t[46]="[h]:mm:ss",t[47]="mmss.0",t[48]="##0.0E+0",t[49]="@",t[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',t}()}var St={format:mt,load:bt,_table:M,load_table:yt,parse_date_code:H,is_date:dt,get_table:function(){return St._table=M}},xt={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},kt=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;var Tt,At=function(){var t={};t.version="1.2.0";var e=function(){for(var t=0,e=new Array(256),r=0;256!=r;++r)t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=r)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1,e[r]=t;return"undefined"!=typeof Int32Array?new Int32Array(e):e}();var r=function(t){var e=0,r=0,n=0,i="undefined"!=typeof Int32Array?new Int32Array(4096):new Array(4096);for(n=0;256!=n;++n)i[n]=t[n];for(n=0;256!=n;++n)for(r=t[n],e=256+n;e<4096;e+=256)r=i[e]=r>>>8^t[255&r];var o=[];for(n=1;16!=n;++n)o[n-1]="undefined"!=typeof Int32Array?i.subarray(256*n,256*n+256):i.slice(256*n,256*n+256);return o}(e),n=r[0],i=r[1],o=r[2],a=r[3],s=r[4],c=r[5],l=r[6],u=r[7],f=r[8],h=r[9],d=r[10],p=r[11],v=r[12],g=r[13],m=r[14];return t.table=e,t.bstr=function(t,r){for(var n=~r,i=0,o=t.length;i<o;)n=n>>>8^e[255&(n^t.charCodeAt(i++))];return~n},t.buf=function(t,r){for(var b=~r,y=t.length-15,w=0;w<y;)b=m[t[w++]^255&b]^g[t[w++]^b>>8&255]^v[t[w++]^b>>16&255]^p[t[w++]^b>>>24]^d[t[w++]]^h[t[w++]]^f[t[w++]]^u[t[w++]]^l[t[w++]]^c[t[w++]]^s[t[w++]]^a[t[w++]]^o[t[w++]]^i[t[w++]]^n[t[w++]]^e[t[w++]];for(y+=15;w<y;)b=b>>>8^e[255&(b^t[w++])];return~b},t.str=function(t,r){for(var n=~r,i=0,o=t.length,a=0,s=0;i<o;)(a=t.charCodeAt(i++))<128?n=n>>>8^e[255&(n^a)]:a<2048?n=(n=n>>>8^e[255&(n^(192|a>>6&31))])>>>8^e[255&(n^(128|63&a))]:a>=55296&&a<57344?(a=64+(1023&a),s=1023&t.charCodeAt(i++),n=(n=(n=(n=n>>>8^e[255&(n^(240|a>>8&7))])>>>8^e[255&(n^(128|a>>2&63))])>>>8^e[255&(n^(128|s>>6&15|(3&a)<<4))])>>>8^e[255&(n^(128|63&s))]):n=(n=(n=n>>>8^e[255&(n^(224|a>>12&15))])>>>8^e[255&(n^(128|a>>6&63))])>>>8^e[255&(n^(128|63&a))];return~n},t}(),Et=function(){var t,e={};function r(t){if("/"==t.charAt(t.length-1))return-1===t.slice(0,-1).indexOf("/")?t:r(t.slice(0,-1));var e=t.lastIndexOf("/");return-1===e?t:t.slice(0,e+1)}function n(t){if("/"==t.charAt(t.length-1))return n(t.slice(0,-1));var e=t.lastIndexOf("/");return-1===e?t:t.slice(e+1)}function i(t,e){"string"==typeof e&&(e=new Date(e));var r=e.getHours();r=(r=r<<6|e.getMinutes())<<5|e.getSeconds()>>>1,t._W(2,r);var n=e.getFullYear()-1980;n=(n=n<<4|e.getMonth()+1)<<5|e.getDate(),t._W(2,n)}function o(t){Nr(t,0);for(var e={},r=0;t.l<=t.length-4;){var n=t._R(2),i=t._R(2),o=t.l+i,a={};if(21589===n)1&(r=t._R(1))&&(a.mtime=t._R(4)),i>5&&(2&r&&(a.atime=t._R(4)),4&r&&(a.ctime=t._R(4))),a.mtime&&(a.mt=new Date(1e3*a.mtime));t.l=o,e[n]=a}return e}function a(){return t||(t=void 0)}function s(t,e){if(80==t[0]&&75==t[1])return pt(t,e);if(109==(32|t[0])&&105==(32|t[1]))return xt(t,e);if(t.length<512)throw new Error("CFB file size "+t.length+" < 512");var r,n,i,o,a,s,c=512,u=[],h=t.slice(0,512);Nr(h,0);var d=function(t){if(80==t[t.l]&&75==t[t.l+1])return[0,0];t.chk(N,"Header Signature: "),t.l+=16;var e=t._R(2,"u");return[t._R(2,"u"),e]}(h);switch(r=d[0]){case 3:c=512;break;case 4:c=4096;break;case 0:if(0==d[1])return pt(t,e);default:throw new Error("Major Version: Expected 3 or 4 saw "+r)}512!==c&&Nr(h=t.slice(0,c),28);var p=t.slice(0,c);!function(t,e){var r=9;switch(t.l+=2,r=t._R(2)){case 9:if(3!=e)throw new Error("Sector Shift: Expected 9 saw "+r);break;case 12:if(4!=e)throw new Error("Sector Shift: Expected 12 saw "+r);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+r)}t.chk("0600","Mini Sector Shift: "),t.chk("000000000000","Reserved: ")}(h,r);var v=h._R(4,"i");if(3===r&&0!==v)throw new Error("# Directory Sectors: Expected 0 saw "+v);h.l+=4,o=h._R(4,"i"),h.l+=4,h.chk("00100000","Mini Stream Cutoff Size: "),a=h._R(4,"i"),n=h._R(4,"i"),s=h._R(4,"i"),i=h._R(4,"i");for(var g=-1,m=0;m<109&&!((g=h._R(4,"i"))<0);++m)u[m]=g;var b=function(t,e){for(var r=Math.ceil(t.length/e)-1,n=[],i=1;i<r;++i)n[i-1]=t.slice(i*e,(i+1)*e);return n[r-1]=t.slice(r*e),n}(t,c);l(s,i,b,c,u);var y=function(t,e,r,n){var i=t.length,o=[],a=[],s=[],c=[],l=n-1,u=0,f=0,h=0,d=0;for(u=0;u<i;++u)if(s=[],(h=u+e)>=i&&(h-=i),!a[h]){c=[];var p=[];for(f=h;f>=0;){p[f]=!0,a[f]=!0,s[s.length]=f,c.push(t[f]);var v=r[Math.floor(4*f/n)];if(n<4+(d=4*f&l))throw new Error("FAT boundary crossed: "+f+" 4 "+n);if(!t[v])break;if(p[f=Sr(t[v],d)])break}o[h]={nodes:s,data:Je([c])}}return o}(b,o,u,c);y[o].name="!Directory",n>0&&a!==A&&(y[a].name="!MiniFAT"),y[u[0]].name="!FAT",y.fat_addrs=u,y.ssz=c;var w=[],S=[],x=[];f(o,y,b,w,n,{},S,a),function(t,e,r){for(var n=0,i=0,o=0,a=0,s=0,c=r.length,l=[],u=[];n<c;++n)l[n]=u[n]=n,e[n]=r[n];for(;s<u.length;++s)i=t[n=u[s]].L,o=t[n].R,a=t[n].C,l[n]===n&&(-1!==i&&l[i]!==i&&(l[n]=l[i]),-1!==o&&l[o]!==o&&(l[n]=l[o])),-1!==a&&(l[a]=n),-1!==i&&n!=l[n]&&(l[i]=l[n],u.lastIndexOf(i)<s&&u.push(i)),-1!==o&&n!=l[n]&&(l[o]=l[n],u.lastIndexOf(o)<s&&u.push(o));for(n=1;n<c;++n)l[n]===n&&(-1!==o&&l[o]!==o?l[n]=l[o]:-1!==i&&l[i]!==i&&(l[n]=l[i]));for(n=1;n<c;++n)if(0!==t[n].type){if((s=n)!=l[s])do{s=l[s],e[n]=e[s]+"/"+e[n]}while(0!==s&&-1!==l[s]&&s!=l[s]);l[n]=-1}for(e[0]+="/",n=1;n<c;++n)2!==t[n].type&&(e[n]+="/")}(S,x,w),w.shift();var k={FileIndex:S,FullPaths:x};return e&&e.raw&&(k.raw={header:p,sectors:b}),k}function c(t,e,r){for(var n=t.start,i=t.size,o=[],a=n;r&&i>0&&a>=0;)o.push(e.slice(a*T,a*T+T)),i-=T,a=Sr(r,4*a);return 0===o.length?Rr(0):E(o).slice(0,t.size)}function l(t,e,r,n,i){var o=A;if(t===A){if(0!==e)throw new Error("DIFAT chain shorter than expected")}else if(-1!==t){var a=r[t],s=(n>>>2)-1;if(!a)return;for(var c=0;c<s&&(o=Sr(a,4*c))!==A;++c)i.push(o);l(Sr(a,n-4),e-1,r,n,i)}}function u(t,e,r,n,i){var o=[],a=[];i||(i=[]);var s=n-1,c=0,l=0;for(c=e;c>=0;){i[c]=!0,o[o.length]=c,a.push(t[c]);var u=r[Math.floor(4*c/n)];if(n<4+(l=4*c&s))throw new Error("FAT boundary crossed: "+c+" 4 "+n);if(!t[u])break;c=Sr(t[u],l)}return{nodes:o,data:Je([a])}}function f(t,e,r,n,i,o,a,s){for(var l,f=0,d=n.length?2:0,p=e[t].data,v=0,g=0;v<p.length;v+=128){var m=p.slice(v,v+128);Nr(m,64),g=m._R(2),l=Qe(m,0,g-d),n.push(l);var b={name:l,type:m._R(1),color:m._R(1),L:m._R(4,"i"),R:m._R(4,"i"),C:m._R(4,"i"),clsid:m._R(16),state:m._R(4,"i"),start:0,size:0};0!==m._R(2)+m._R(2)+m._R(2)+m._R(2)&&(b.ct=h(m,m.l-8)),0!==m._R(2)+m._R(2)+m._R(2)+m._R(2)&&(b.mt=h(m,m.l-8)),b.start=m._R(4,"i"),b.size=m._R(4,"i"),b.size<0&&b.start<0&&(b.size=b.type=0,b.start=A,b.name=""),5===b.type?(f=b.start,i>0&&f!==A&&(e[f].name="!StreamData")):b.size>=4096?(b.storage="fat",void 0===e[b.start]&&(e[b.start]=u(r,b.start,e.fat_addrs,e.ssz)),e[b.start].name=b.name,b.content=e[b.start].data.slice(0,b.size)):(b.storage="minifat",b.size<0?b.size=0:f!==A&&b.start!==A&&e[f]&&(b.content=c(b,e[f].data,(e[s]||{}).data))),b.content&&Nr(b.content,0),o[l]=b,a.push(b)}}function h(t,e){return new Date(1e3*(wr(t,e+4)/1e7*Math.pow(2,32)+wr(t,e)/1e7-11644473600))}function d(t,e){var r=e||{},n=r.root||"Root Entry";if(t.FullPaths||(t.FullPaths=[]),t.FileIndex||(t.FileIndex=[]),t.FullPaths.length!==t.FileIndex.length)throw new Error("inconsistent CFB structure");0===t.FullPaths.length&&(t.FullPaths[0]=n+"/",t.FileIndex[0]={name:n,type:5}),r.CLSID&&(t.FileIndex[0].clsid=r.CLSID),function(t){var e="Sh33tJ5";if(Et.find(t,"/"+e))return;var r=Rr(4);r[0]=55,r[1]=r[3]=50,r[2]=54,t.FileIndex.push({name:e,type:2,content:r,size:4,L:69,R:69,C:69}),t.FullPaths.push(t.FullPaths[0]+e),p(t)}(t)}function p(t,e){d(t);for(var i=!1,o=!1,a=t.FullPaths.length-1;a>=0;--a){var s=t.FileIndex[a];switch(s.type){case 0:o?i=!0:(t.FileIndex.pop(),t.FullPaths.pop());break;case 1:case 2:case 5:o=!0,isNaN(s.R*s.L*s.C)&&(i=!0),s.R>-1&&s.L>-1&&s.R==s.L&&(i=!0);break;default:i=!0}}if(i||e){var c=new Date(1987,1,19),l=0,u=Object.create?Object.create(null):{},f=[];for(a=0;a<t.FullPaths.length;++a)u[t.FullPaths[a]]=!0,0!==t.FileIndex[a].type&&f.push([t.FullPaths[a],t.FileIndex[a]]);for(a=0;a<f.length;++a){var h=r(f[a][0]);(o=u[h])||(f.push([h,{name:n(h).replace("/",""),type:1,clsid:R,ct:c,mt:c,content:null}]),u[h]=!0)}for(f.sort((function(t,e){return function(t,e){for(var r=t.split("/"),n=e.split("/"),i=0,o=0,a=Math.min(r.length,n.length);i<a;++i){if(o=r[i].length-n[i].length)return o;if(r[i]!=n[i])return r[i]<n[i]?-1:1}return r.length-n.length}(t[0],e[0])})),t.FullPaths=[],t.FileIndex=[],a=0;a<f.length;++a)t.FullPaths[a]=f[a][0],t.FileIndex[a]=f[a][1];for(a=0;a<f.length;++a){var p=t.FileIndex[a],v=t.FullPaths[a];if(p.name=n(v).replace("/",""),p.L=p.R=p.C=-(p.color=1),p.size=p.content?p.content.length:0,p.start=0,p.clsid=p.clsid||R,0===a)p.C=f.length>1?1:-1,p.size=0,p.type=5;else if("/"==v.slice(-1)){for(l=a+1;l<f.length&&r(t.FullPaths[l])!=v;++l);for(p.C=l>=f.length?-1:l,l=a+1;l<f.length&&r(t.FullPaths[l])!=r(v);++l);p.R=l>=f.length?-1:l,p.type=1}else r(t.FullPaths[a+1]||"")==r(v)&&(p.R=a+1),p.type=2}}}function v(t,e){var r=e||{};if("mad"==r.fileType)return function(t,e){for(var r=e||{},n=r.boundary||"SheetJS",i=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(n="------="+n).slice(2)+'"',"","",""],o=t.FullPaths[0],a=o,s=t.FileIndex[0],c=1;c<t.FullPaths.length;++c)if(a=t.FullPaths[c].slice(o.length),(s=t.FileIndex[c]).size&&s.content&&"Sh33tJ5"!=a){a=a.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,(function(t){return"_x"+t.charCodeAt(0).toString(16)+"_"})).replace(/[\u0080-\uFFFF]/g,(function(t){return"_u"+t.charCodeAt(0).toString(16)+"_"}));for(var l=s.content,u=b&&Buffer.isBuffer(l)?l.toString("binary"):L(l),f=0,h=Math.min(1024,u.length),d=0,p=0;p<=h;++p)(d=u.charCodeAt(p))>=32&&d<128&&++f;var v=f>=4*h/5;i.push(n),i.push("Content-Location: "+(r.root||"file:///C:/SheetJS/")+a),i.push("Content-Transfer-Encoding: "+(v?"quoted-printable":"base64")),i.push("Content-Type: "+bt(s,a)),i.push(""),i.push(v?wt(u):yt(u))}return i.push(n+"--\r\n"),i.join("\r\n")}(t,r);if(p(t),"zip"===r.fileType)return gt(t,r);var n=function(t){for(var e=0,r=0,n=0;n<t.FileIndex.length;++n){var i=t.FileIndex[n];if(i.content){var o=i.content.length;o>0&&(o<4096?e+=o+63>>6:r+=o+511>>9)}}for(var a=t.FullPaths.length+3>>2,s=e+127>>7,c=(e+7>>3)+r+a+s,l=c+127>>7,u=l<=109?0:Math.ceil((l-109)/127);c+l+u+127>>7>l;)u=++l<=109?0:Math.ceil((l-109)/127);var f=[1,u,l,s,a,r,e,0];return t.FileIndex[0].size=e<<6,f[7]=(t.FileIndex[0].start=f[0]+f[1]+f[2]+f[3]+f[4]+f[5])+(f[6]+7>>3),f}(t),i=Rr(n[7]<<9),o=0,a=0;for(o=0;o<8;++o)i._W(1,C[o]);for(o=0;o<8;++o)i._W(2,0);for(i._W(2,62),i._W(2,3),i._W(2,65534),i._W(2,9),i._W(2,6),o=0;o<3;++o)i._W(2,0);for(i._W(4,0),i._W(4,n[2]),i._W(4,n[0]+n[1]+n[2]+n[3]-1),i._W(4,0),i._W(4,4096),i._W(4,n[3]?n[0]+n[1]+n[2]-1:A),i._W(4,n[3]),i._W(-4,n[1]?n[0]-1:A),i._W(4,n[1]),o=0;o<109;++o)i._W(-4,o<n[2]?n[1]+o:-1);if(n[1])for(a=0;a<n[1];++a){for(;o<236+127*a;++o)i._W(-4,o<n[2]?n[1]+o:-1);i._W(-4,a===n[1]-1?A:a+1)}var s=function(t){for(a+=t;o<a-1;++o)i._W(-4,o+1);t&&(++o,i._W(-4,A))};for(a=o=0,a+=n[1];o<a;++o)i._W(-4,P.DIFSECT);for(a+=n[2];o<a;++o)i._W(-4,P.FATSECT);s(n[3]),s(n[4]);for(var c=0,l=0,u=t.FileIndex[0];c<t.FileIndex.length;++c)(u=t.FileIndex[c]).content&&((l=u.content.length)<4096||(u.start=a,s(l+511>>9)));for(s(n[6]+7>>3);511&i.l;)i._W(-4,P.ENDOFCHAIN);for(a=o=0,c=0;c<t.FileIndex.length;++c)(u=t.FileIndex[c]).content&&(!(l=u.content.length)||l>=4096||(u.start=a,s(l+63>>6)));for(;511&i.l;)i._W(-4,P.ENDOFCHAIN);for(o=0;o<n[4]<<2;++o){var f=t.FullPaths[o];if(f&&0!==f.length){u=t.FileIndex[o],0===o&&(u.start=u.size?u.start-1:A);var h=0===o&&r.root||u.name;if(l=2*(h.length+1),i._W(64,h,"utf16le"),i._W(2,l),i._W(1,u.type),i._W(1,u.color),i._W(-4,u.L),i._W(-4,u.R),i._W(-4,u.C),u.clsid)i._W(16,u.clsid,"hex");else for(c=0;c<4;++c)i._W(4,0);i._W(4,u.state||0),i._W(4,0),i._W(4,0),i._W(4,0),i._W(4,0),i._W(4,u.start),i._W(4,u.size),i._W(4,0)}else{for(c=0;c<17;++c)i._W(4,0);for(c=0;c<3;++c)i._W(4,-1);for(c=0;c<12;++c)i._W(4,0)}}for(o=1;o<t.FileIndex.length;++o)if((u=t.FileIndex[o]).size>=4096)if(i.l=u.start+1<<9,b&&Buffer.isBuffer(u.content))u.content.copy(i,i.l,0,u.size),i.l+=u.size+511&-512;else{for(c=0;c<u.size;++c)i._W(1,u.content[c]);for(;511&c;++c)i._W(1,0)}for(o=1;o<t.FileIndex.length;++o)if((u=t.FileIndex[o]).size>0&&u.size<4096)if(b&&Buffer.isBuffer(u.content))u.content.copy(i,i.l,0,u.size),i.l+=u.size+63&-64;else{for(c=0;c<u.size;++c)i._W(1,u.content[c]);for(;63&c;++c)i._W(1,0)}if(b)i.l=i.length;else for(;i.l<i.length;)i._W(1,0);return i}e.version="1.2.1";var k,T=64,A=-2,N="d0cf11e0a1b11ae1",C=[208,207,17,224,161,177,26,225],R="00000000000000000000000000000000",P={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:A,FREESECT:-1,HEADER_SIGNATURE:N,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:R,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function L(t){for(var e=new Array(t.length),r=0;r<t.length;++r)e[r]=String.fromCharCode(t[r]);return e.join("")}function I(t){return k?k.deflateRawSync(t):ot(t)}var F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],j=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],D=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function M(t){var e=139536&(t<<1|t<<11)|558144&(t<<5|t<<15);return 255&(e>>16|e>>8|e)}for(var B="undefined"!=typeof Uint8Array,W=B?new Uint8Array(256):[],U=0;U<256;++U)W[U]=M(U);function H(t,e){var r=W[255&t];return e<=8?r>>>8-e:(r=r<<8|W[t>>8&255],e<=16?r>>>16-e:(r=r<<8|W[t>>16&255])>>>24-e)}function z(t,e){var r=7&e,n=e>>>3;return(t[n]|(r<=6?0:t[n+1]<<8))>>>r&3}function V(t,e){var r=7&e,n=e>>>3;return(t[n]|(r<=5?0:t[n+1]<<8))>>>r&7}function q(t,e){var r=7&e,n=e>>>3;return(t[n]|(r<=3?0:t[n+1]<<8))>>>r&31}function $(t,e){var r=7&e,n=e>>>3;return(t[n]|(r<=1?0:t[n+1]<<8))>>>r&127}function G(t,e,r){var n=7&e,i=e>>>3,o=(1<<r)-1,a=t[i]>>>n;return r<8-n?a&o:(a|=t[i+1]<<8-n,r<16-n?a&o:(a|=t[i+2]<<16-n,r<24-n?a&o:(a|=t[i+3]<<24-n)&o))}function X(t,e,r){var n=7&e,i=e>>>3;return n<=5?t[i]|=(7&r)<<n:(t[i]|=r<<n&255,t[i+1]=(7&r)>>8-n),e+3}function Y(t,e,r){return r=(1&r)<<(7&e),t[e>>>3]|=r,e+1}function K(t,e,r){var n=e>>>3;return r<<=7&e,t[n]|=255&r,r>>>=8,t[n+1]=r,e+8}function J(t,e,r){var n=e>>>3;return r<<=7&e,t[n]|=255&r,r>>>=8,t[n+1]=255&r,t[n+2]=r>>>8,e+16}function Z(t,e){var r=t.length,n=2*r>e?2*r:e+5,i=0;if(r>=e)return t;if(b){var o=S(n);if(t.copy)t.copy(o);else for(;i<t.length;++i)o[i]=t[i];return o}if(B){var a=new Uint8Array(n);if(a.set)a.set(t);else for(;i<r;++i)a[i]=t[i];return a}return t.length=n,t}function Q(t){for(var e=new Array(t),r=0;r<t;++r)e[r]=0;return e}function tt(t,e,r){var n=1,i=0,o=0,a=0,s=0,c=t.length,l=B?new Uint16Array(32):Q(32);for(o=0;o<32;++o)l[o]=0;for(o=c;o<r;++o)t[o]=0;c=t.length;var u=B?new Uint16Array(c):Q(c);for(o=0;o<c;++o)l[i=t[o]]++,n<i&&(n=i),u[o]=0;for(l[0]=0,o=1;o<=n;++o)l[o+16]=s=s+l[o-1]<<1;for(o=0;o<c;++o)0!=(s=t[o])&&(u[o]=l[s+16]++);var f=0;for(o=0;o<c;++o)if(0!=(f=t[o]))for(s=H(u[o],n)>>n-f,a=(1<<n+4-f)-1;a>=0;--a)e[s|a<<f]=15&f|o<<4;return n}var et=B?new Uint16Array(512):Q(512),rt=B?new Uint16Array(32):Q(32);if(!B){for(var nt=0;nt<512;++nt)et[nt]=0;for(nt=0;nt<32;++nt)rt[nt]=0}!function(){for(var t=[],e=0;e<32;e++)t.push(5);tt(t,rt,32);var r=[];for(e=0;e<=143;e++)r.push(8);for(;e<=255;e++)r.push(9);for(;e<=279;e++)r.push(7);for(;e<=287;e++)r.push(8);tt(r,et,288)}();var it=function(){for(var t=B?new Uint8Array(32768):[],e=0,r=0;e<D.length-1;++e)for(;r<D[e+1];++r)t[r]=e;for(;r<32768;++r)t[r]=29;var n=B?new Uint8Array(259):[];for(e=0,r=0;e<j.length-1;++e)for(;r<j[e+1];++r)n[r]=e;function i(e,r){for(var i=0,o=0,a=B?new Uint16Array(32768):[];o<e.length;){var s=Math.min(65535,e.length-o);if(s<10){for(7&(i=X(r,i,+!(o+s!=e.length)))&&(i+=8-(7&i)),r.l=i/8|0,r._W(2,s),r._W(2,65535&~s);s-- >0;)r[r.l++]=e[o++];i=8*r.l}else{i=X(r,i,+!(o+s!=e.length)+2);for(var c=0;s-- >0;){var l=e[o],u=-1,f=0;if((u=a[c=32767&(c<<5^l)])&&((u|=-32768&o)>o&&(u-=32768),u<o))for(;e[u+f]==e[o+f]&&f<250;)++f;if(f>2){(l=n[f])<=22?i=K(r,i,W[l+1]>>1)-1:(K(r,i,3),K(r,i+=5,W[l-23]>>5),i+=3);var h=l<8?0:l-4>>2;h>0&&(J(r,i,f-j[l]),i+=h),l=t[o-u],i=K(r,i,W[l]>>3),i-=3;var d=l<4?0:l-2>>1;d>0&&(J(r,i,o-u-D[l]),i+=d);for(var p=0;p<f;++p)a[c]=32767&o,c=32767&(c<<5^e[o]),++o;s-=f-1}else l<=143?l+=48:i=Y(r,i,1),i=K(r,i,W[l]),a[c]=32767&o,++o}i=K(r,i,0)-1}}return r.l=(i+7)/8|0,r.l}return function(t,e){return t.length<8?function(t,e){for(var r=0;r<t.length;){var n=Math.min(65535,t.length-r),i=r+n==t.length;for(e._W(1,+i),e._W(2,n),e._W(2,65535&~n);n-- >0;)e[e.l++]=t[r++]}return e.l}(t,e):i(t,e)}}();function ot(t){var e=Rr(50+Math.floor(1.1*t.length)),r=it(t,e);return e.slice(0,r)}var at=B?new Uint16Array(32768):Q(32768),st=B?new Uint16Array(32768):Q(32768),ct=B?new Uint16Array(128):Q(128),lt=1,ut=1;function ft(t,e){var r=q(t,e)+257,n=q(t,e+=5)+1,i=function(t,e){var r=7&e,n=e>>>3;return(t[n]|(r<=4?0:t[n+1]<<8))>>>r&15}(t,e+=5)+4;e+=4;for(var o=0,a=B?new Uint8Array(19):Q(19),s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],c=1,l=B?new Uint8Array(8):Q(8),u=B?new Uint8Array(8):Q(8),f=a.length,h=0;h<i;++h)a[F[h]]=o=V(t,e),c<o&&(c=o),l[o]++,e+=3;var d=0;for(l[0]=0,h=1;h<=c;++h)u[h]=d=d+l[h-1]<<1;for(h=0;h<f;++h)0!=(d=a[h])&&(s[h]=u[d]++);var p=0;for(h=0;h<f;++h)if(0!=(p=a[h])){d=W[s[h]]>>8-p;for(var v=(1<<7-p)-1;v>=0;--v)ct[d|v<<p]=7&p|h<<3}var g=[];for(c=1;g.length<r+n;)switch(e+=7&(d=ct[$(t,e)]),d>>>=3){case 16:for(o=3+z(t,e),e+=2,d=g[g.length-1];o-- >0;)g.push(d);break;case 17:for(o=3+V(t,e),e+=3;o-- >0;)g.push(0);break;case 18:for(o=11+$(t,e),e+=7;o-- >0;)g.push(0);break;default:g.push(d),c<d&&(c=d)}var m=g.slice(0,r),b=g.slice(r);for(h=r;h<286;++h)m[h]=0;for(h=n;h<30;++h)b[h]=0;return lt=tt(m,at,286),ut=tt(b,st,30),e}function ht(t,e){var r=function(t,e){if(3==t[0]&&!(3&t[1]))return[w(e),2];for(var r=0,n=0,i=S(e||1<<18),o=0,a=i.length>>>0,s=0,c=0;!(1&n);)if(n=V(t,r),r+=3,n>>>1!=0)for(n>>1==1?(s=9,c=5):(r=ft(t,r),s=lt,c=ut);;){!e&&a<o+32767&&(a=(i=Z(i,o+32767)).length);var l=G(t,r,s),u=n>>>1==1?et[l]:at[l];if(r+=15&u,(u>>>=4)>>>8&255){if(256==u)break;var f=(u-=257)<8?0:u-4>>2;f>5&&(f=0);var h=o+j[u];f>0&&(h+=G(t,r,f),r+=f),l=G(t,r,c),r+=15&(u=n>>>1==1?rt[l]:st[l]);var d=(u>>>=4)<4?0:u-2>>1,p=D[u];for(d>0&&(p+=G(t,r,d),r+=d),!e&&a<h&&(a=(i=Z(i,h+100)).length);o<h;)i[o]=i[o-p],++o}else i[o++]=u}else{7&r&&(r+=8-(7&r));var v=t[r>>>3]|t[1+(r>>>3)]<<8;if(r+=32,v>0)for(!e&&a<o+v&&(a=(i=Z(i,o+v)).length);v-- >0;)i[o++]=t[r>>>3],r+=8}return e?[i,r+7>>>3]:[i.slice(0,o),r+7>>>3]}(t.slice(t.l||0),e);return t.l+=r[1],r[0]}function dt(t,e){if(!t)throw new Error(e);"undefined"!=typeof console&&console.error(e)}function pt(t,e){var r=t;Nr(r,0);var n={FileIndex:[],FullPaths:[]};d(n,{root:e.root});for(var i=r.length-4;(80!=r[i]||75!=r[i+1]||5!=r[i+2]||6!=r[i+3])&&i>=0;)--i;r.l=i+4,r.l+=4;var a=r._R(2);r.l+=6;var s=r._R(4);for(r.l=s,i=0;i<a;++i){r.l+=20;var c=r._R(4),l=r._R(4),u=r._R(2),f=r._R(2),h=r._R(2);r.l+=8;var p=r._R(4),v=o(r.slice(r.l+u,r.l+u+f));r.l+=u+f+h;var g=r.l;r.l=p+4,vt(r,c,l,n,v),r.l=g}return n}function vt(t,e,r,n,i){t.l+=2;var a=t._R(2),s=t._R(2),c=function(t){var e=65535&t._R(2),r=65535&t._R(2),n=new Date,i=31&r,o=15&(r>>>=5);r>>>=4,n.setMilliseconds(0),n.setFullYear(r+1980),n.setMonth(o-1),n.setDate(i);var a=31&e,s=63&(e>>>=5);return e>>>=6,n.setHours(e),n.setMinutes(s),n.setSeconds(a<<1),n}(t);if(8257&a)throw new Error("Unsupported ZIP encryption");t._R(4);for(var l=t._R(4),u=t._R(4),f=t._R(2),h=t._R(2),d="",p=0;p<f;++p)d+=String.fromCharCode(t[t.l++]);if(h){var v=o(t.slice(t.l,t.l+h));(v[21589]||{}).mt&&(c=v[21589].mt),((i||{})[21589]||{}).mt&&(c=i[21589].mt)}t.l+=h;var g=t.slice(t.l,t.l+l);switch(s){case 8:g=function(t,e){if(!k)return ht(t,e);var r=new(0,k.InflateRaw),n=r._processChunk(t.slice(t.l),r._finishFlushFlag);return t.l+=r.bytesRead,n}(t,u);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+s)}var m=!1;8&a&&(134695760==t._R(4)&&(t._R(4),m=!0),l=t._R(4),u=t._R(4)),l!=e&&dt(m,"Bad compressed size: "+e+" != "+l),u!=r&&dt(m,"Bad uncompressed size: "+r+" != "+u),kt(n,d,g,{unsafe:!0,mt:c})}function gt(t,e){var r=e||{},n=[],o=[],a=Rr(1),s=r.compression?8:0,c=0;var l=0,u=0,f=0,h=0,d=t.FullPaths[0],p=d,v=t.FileIndex[0],g=[],m=0;for(l=1;l<t.FullPaths.length;++l)if(p=t.FullPaths[l].slice(d.length),(v=t.FileIndex[l]).size&&v.content&&"Sh33tJ5"!=p){var b=f,y=Rr(p.length);for(u=0;u<p.length;++u)y._W(1,127&p.charCodeAt(u));y=y.slice(0,y.l),g[h]=At.buf(v.content,0);var w=v.content;8==s&&(w=I(w)),(a=Rr(30))._W(4,67324752),a._W(2,20),a._W(2,c),a._W(2,s),v.mt?i(a,v.mt):a._W(4,0),a._W(-4,8&c?0:g[h]),a._W(4,8&c?0:w.length),a._W(4,8&c?0:v.content.length),a._W(2,y.length),a._W(2,0),f+=a.length,n.push(a),f+=y.length,n.push(y),f+=w.length,n.push(w),8&c&&((a=Rr(12))._W(-4,g[h]),a._W(4,w.length),a._W(4,v.content.length),f+=a.l,n.push(a)),(a=Rr(46))._W(4,33639248),a._W(2,0),a._W(2,20),a._W(2,c),a._W(2,s),a._W(4,0),a._W(-4,g[h]),a._W(4,w.length),a._W(4,v.content.length),a._W(2,y.length),a._W(2,0),a._W(2,0),a._W(2,0),a._W(2,0),a._W(4,0),a._W(4,b),m+=a.l,o.push(a),m+=y.length,o.push(y),++h}return(a=Rr(22))._W(4,101010256),a._W(2,0),a._W(2,0),a._W(2,h),a._W(2,h),a._W(4,m),a._W(4,f),a._W(2,0),E([E(n),E(o),a])}var mt={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function bt(t,e){if(t.ctype)return t.ctype;var r=t.name||"",n=r.match(/\.([^\.]+)$/);return n&&mt[n[1]]||e&&(n=(r=e).match(/[\.\\]([^\.\\])+$/))&&mt[n[1]]?mt[n[1]]:"application/octet-stream"}function yt(t){for(var e=g(t),r=[],n=0;n<e.length;n+=76)r.push(e.slice(n,n+76));return r.join("\r\n")+"\r\n"}function wt(t){var e=t.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,(function(t){var e=t.charCodeAt(0).toString(16).toUpperCase();return"="+(1==e.length?"0"+e:e)}));"\n"==(e=e.replace(/ $/gm,"=20").replace(/\t$/gm,"=09")).charAt(0)&&(e="=0D"+e.slice(1));for(var r=[],n=(e=e.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A")).split("\r\n"),i=0;i<n.length;++i){var o=n[i];if(0!=o.length)for(var a=0;a<o.length;){var s=76,c=o.slice(a,a+s);"="==c.charAt(s-1)?s--:"="==c.charAt(s-2)?s-=2:"="==c.charAt(s-3)&&(s-=3),c=o.slice(a,a+s),(a+=s)<o.length&&(c+="="),r.push(c)}else r.push("")}return r.join("\r\n")}function St(t,e,r){for(var n,i="",o="",a="",s=0;s<10;++s){var c=e[s];if(!c||c.match(/^\s*$/))break;var l=c.match(/^(.*?):\s*([^\s].*)$/);if(l)switch(l[1].toLowerCase()){case"content-location":i=l[2].trim();break;case"content-type":a=l[2].trim();break;case"content-transfer-encoding":o=l[2].trim()}}switch(++s,o.toLowerCase()){case"base64":n=x(m(e.slice(s).join("")));break;case"quoted-printable":n=function(t){for(var e=[],r=0;r<t.length;++r){for(var n=t[r];r<=t.length&&"="==n.charAt(n.length-1);)n=n.slice(0,n.length-1)+t[++r];e.push(n)}for(var i=0;i<e.length;++i)e[i]=e[i].replace(/[=][0-9A-Fa-f]{2}/g,(function(t){return String.fromCharCode(parseInt(t.slice(1),16))}));return x(e.join("\r\n"))}(e.slice(s));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+o)}var u=kt(t,i.slice(r.length),n,{unsafe:!0});a&&(u.ctype=a)}function xt(t,e){if("mime-version:"!=L(t.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var r=e&&e.root||"",n=(b&&Buffer.isBuffer(t)?t.toString("binary"):L(t)).split("\r\n"),i=0,o="";for(i=0;i<n.length;++i)if(o=n[i],/^Content-Location:/i.test(o)&&(o=o.slice(o.indexOf("file")),r||(r=o.slice(0,o.lastIndexOf("/")+1)),o.slice(0,r.length)!=r))for(;r.length>0&&(r=(r=r.slice(0,r.length-1)).slice(0,r.lastIndexOf("/")+1),o.slice(0,r.length)!=r););var a=(n[1]||"").match(/boundary="(.*?)"/);if(!a)throw new Error("MAD cannot find boundary");var s="--"+(a[1]||""),c={FileIndex:[],FullPaths:[]};d(c);var l,u=0;for(i=0;i<n.length;++i){var f=n[i];f!==s&&f!==s+"--"||(u++&&St(c,n.slice(l,i),r),l=i)}return c}function kt(t,e,r,i){var o=i&&i.unsafe;o||d(t);var a=!o&&Et.find(t,e);if(!a){var s=t.FullPaths[0];e.slice(0,s.length)==s?s=e:("/"!=s.slice(-1)&&(s+="/"),s=(s+e).replace("//","/")),a={name:n(e),type:2},t.FileIndex.push(a),t.FullPaths.push(s),o||Et.utils.cfb_gc(t)}return a.content=r,a.size=r?r.length:0,i&&(i.CLSID&&(a.clsid=i.CLSID),i.mt&&(a.mt=i.mt),i.ct&&(a.ct=i.ct)),a}return e.find=function(t,e){var r=t.FullPaths.map((function(t){return t.toUpperCase()})),n=r.map((function(t){var e=t.split("/");return e[e.length-("/"==t.slice(-1)?2:1)]})),i=!1;47===e.charCodeAt(0)?(i=!0,e=r[0].slice(0,-1)+e):i=-1!==e.indexOf("/");var o=e.toUpperCase(),a=!0===i?r.indexOf(o):n.indexOf(o);if(-1!==a)return t.FileIndex[a];var s=!o.match(O);for(o=o.replace(_,""),s&&(o=o.replace(O,"!")),a=0;a<r.length;++a){if((s?r[a].replace(O,"!"):r[a]).replace(_,"")==o)return t.FileIndex[a];if((s?n[a].replace(O,"!"):n[a]).replace(_,"")==o)return t.FileIndex[a]}return null},e.read=function(e,r){var n=r&&r.type;switch(n||b&&Buffer.isBuffer(e)&&(n="buffer"),n||"base64"){case"file":return function(e,r){return a(),s(t.readFileSync(e),r)}(e,r);case"base64":return s(x(m(e)),r);case"binary":return s(x(e),r)}return s(e,r)},e.parse=s,e.write=function(e,r){var n=v(e,r);switch(r&&r.type||"buffer"){case"file":return a(),t.writeFileSync(r.filename,n),n;case"binary":return"string"==typeof n?n:L(n);case"base64":return g("string"==typeof n?n:L(n));case"buffer":if(b)return Buffer.isBuffer(n)?n:y(n);case"array":return"string"==typeof n?x(n):n}return n},e.writeFile=function(e,r,n){a();var i=v(e,n);t.writeFileSync(r,i)},e.utils={cfb_new:function(t){var e={};return d(e,t),e},cfb_add:kt,cfb_del:function(t,e){d(t);var r=Et.find(t,e);if(r)for(var n=0;n<t.FileIndex.length;++n)if(t.FileIndex[n]==r)return t.FileIndex.splice(n,1),t.FullPaths.splice(n,1),!0;return!1},cfb_mov:function(t,e,r){d(t);var i=Et.find(t,e);if(i)for(var o=0;o<t.FileIndex.length;++o)if(t.FileIndex[o]==i)return t.FileIndex[o].name=n(r),t.FullPaths[o]=r,!0;return!1},cfb_gc:function(t){p(t,!0)},ReadShift:kr,CheckField:Or,prep_blob:Nr,bconcat:E,use_zlib:function(t){try{var e=new(0,t.InflateRaw);if(e._processChunk(new Uint8Array([3,0]),e._finishFlushFlag),!e.bytesRead)throw new Error("zlib does not expose bytesRead");k=t}catch(t){console.error("cannot use native zlib: "+(t.message||t))}},_deflateRaw:ot,_inflateRaw:ht,consts:P},e}();if("undefined"!=typeof require)try{Tt=void 0}catch(t){}function _t(t){return"string"==typeof t?k(t):Array.isArray(t)?function(t){if("undefined"==typeof Uint8Array)throw new Error("Unsupported");return new Uint8Array(t)}(t):t}function Ot(t,e,r){if(void 0!==Tt&&Tt.writeFileSync)return r?Tt.writeFileSync(t,e,r):Tt.writeFileSync(t,e);if("undefined"!=typeof Deno){if(r&&"string"==typeof e)switch(r){case"utf8":e=new TextEncoder(r).encode(e);break;case"binary":e=k(e);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(t,e)}var n="utf8"==r?Le(e):e;if("undefined"!=typeof IE_SaveFile)return IE_SaveFile(n,t);if("undefined"!=typeof Blob){var i=new Blob([_t(n)],{type:"application/octet-stream"});if("undefined"!=typeof navigator&&navigator.msSaveBlob)return navigator.msSaveBlob(i,t);if(void 0!==saveAs)return saveAs(i,t);if("undefined"!=typeof URL&&"undefined"!=typeof document&&document.createElement&&URL.createObjectURL){var o=URL.createObjectURL(i);if("object"==typeof chrome&&"function"==typeof(chrome.downloads||{}).download)return URL.revokeObjectURL&&"undefined"!=typeof setTimeout&&setTimeout((function(){URL.revokeObjectURL(o)}),6e4),chrome.downloads.download({url:o,filename:t,saveAs:!0});var a=document.createElement("a");if(null!=a.download)return a.download=t,a.href=o,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL&&"undefined"!=typeof setTimeout&&setTimeout((function(){URL.revokeObjectURL(o)}),6e4),o}}if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var s=File(t);return s.open("w"),s.encoding="binary",Array.isArray(e)&&(e=T(e)),s.write(e),s.close(),e}catch(t){if(!t.message||!t.message.match(/onstruct/))throw t}throw new Error("cannot save file "+t)}function Nt(t){for(var e=Object.keys(t),r=[],n=0;n<e.length;++n)Object.prototype.hasOwnProperty.call(t,e[n])&&r.push(e[n]);return r}function Ct(t,e){for(var r=[],n=Nt(t),i=0;i!==n.length;++i)null==r[t[n[i]][e]]&&(r[t[n[i]][e]]=n[i]);return r}function Rt(t){for(var e=[],r=Nt(t),n=0;n!==r.length;++n)e[t[r[n]]]=r[n];return e}function Pt(t){for(var e=[],r=Nt(t),n=0;n!==r.length;++n)e[t[r[n]]]=parseInt(r[n],10);return e}var Lt=new Date(1899,11,30,0,0,0);function It(t,e){var r=t.getTime();return e&&(r-=1263168e5),(r-(Lt.getTime()+6e4*(t.getTimezoneOffset()-Lt.getTimezoneOffset())))/864e5}var Ft=new Date,jt=Lt.getTime()+6e4*(Ft.getTimezoneOffset()-Lt.getTimezoneOffset()),Dt=Ft.getTimezoneOffset();function Mt(t){var e=new Date;return e.setTime(24*t*60*60*1e3+jt),e.getTimezoneOffset()!==Dt&&e.setTime(e.getTime()+6e4*(e.getTimezoneOffset()-Dt)),e}function Bt(t){var e=0,r=0,n=!1,i=t.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!i)throw new Error("|"+t+"| is not an ISO8601 Duration");for(var o=1;o!=i.length;++o)if(i[o]){switch(r=1,o>3&&(n=!0),i[o].slice(i[o].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+i[o].slice(i[o].length-1));case"D":r*=24;case"H":r*=60;case"M":if(!n)throw new Error("Unsupported ISO Duration Field: M");r*=60}e+=r*parseInt(i[o],10)}return e}var Wt=new Date("2017-02-19T19:06:09.000Z"),Ut=isNaN(Wt.getFullYear())?new Date("2/19/17"):Wt,Ht=2017==Ut.getFullYear();function zt(t,e){var r=new Date(t);if(Ht)return e>0?r.setTime(r.getTime()+60*r.getTimezoneOffset()*1e3):e<0&&r.setTime(r.getTime()-60*r.getTimezoneOffset()*1e3),r;if(t instanceof Date)return t;if(1917==Ut.getFullYear()&&!isNaN(r.getFullYear())){var n=r.getFullYear();return t.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var i=t.match(/\d+/g)||["2017","2","19","0","0","0"],o=new Date(+i[0],+i[1]-1,+i[2],+i[3]||0,+i[4]||0,+i[5]||0);return t.indexOf("Z")>-1&&(o=new Date(o.getTime()-60*o.getTimezoneOffset()*1e3)),o}function Vt(t,e){if(b&&Buffer.isBuffer(t)){if(e){if(255==t[0]&&254==t[1])return Le(t.slice(2).toString("utf16le"));if(254==t[1]&&255==t[2])return Le(u(t.slice(2).toString("binary")))}return t.toString("binary")}if("undefined"!=typeof TextDecoder)try{if(e){if(255==t[0]&&254==t[1])return Le(new TextDecoder("utf-16le").decode(t.slice(2)));if(254==t[0]&&255==t[1])return Le(new TextDecoder("utf-16be").decode(t.slice(2)))}var r={"€":"","‚":"","ƒ":"","„":"","…":"
","†":"","‡":"","ˆ":"","‰":"","Š":"","‹":"","Œ":"","Ž":"","‘":"","’":"","“":"","”":"","•":"","–":"","—":"","˜":"","™":"","š":"","›":"","œ":"","ž":"","Ÿ":""};return Array.isArray(t)&&(t=new Uint8Array(t)),new TextDecoder("latin1").decode(t).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,(function(t){return r[t]||t}))}catch(t){}for(var n=[],i=0;i!=t.length;++i)n.push(String.fromCharCode(t[i]));return n.join("")}function qt(t){if("undefined"!=typeof JSON&&!Array.isArray(t))return JSON.parse(JSON.stringify(t));if("object"!=typeof t||null==t)return t;if(t instanceof Date)return new Date(t.getTime());var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=qt(t[r]));return e}function $t(t,e){for(var r="";r.length<e;)r+=t;return r}function Gt(t){var e=Number(t);if(!isNaN(e))return isFinite(e)?e:NaN;if(!/\d/.test(t))return e;var r=1,n=t.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,(function(){return r*=100,""}));return isNaN(e=Number(n))?(n=n.replace(/[(](.*)[)]/,(function(t,e){return r=-r,e})),isNaN(e=Number(n))?e:e/r):e/r}var Xt=["january","february","march","april","may","june","july","august","september","october","november","december"];function Yt(t){var e=new Date(t),r=new Date(NaN),n=e.getYear(),i=e.getMonth(),o=e.getDate();if(isNaN(o))return r;var a=t.toLowerCase();if(a.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if((a=a.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,"")).length>3&&-1==Xt.indexOf(a))return r}else if(a.match(/[a-z]/))return r;return n<0||n>8099?r:(i>0||o>1)&&101!=n?e:t.match(/[^-0-9:,\/\\]/)?r:e}var Kt=function(){var t=5=="abacaba".split(/(:?b)/i).length;return function(e,r,n){if(t||"string"==typeof r)return e.split(r);for(var i=e.split(r),o=[i[0]],a=1;a<i.length;++a)o.push(n),o.push(i[a]);return o}}();function Jt(t){return t?t.content&&t.type?Vt(t.content,!0):t.data?f(t.data):t.asNodeBuffer&&b?f(t.asNodeBuffer().toString("binary")):t.asBinary?f(t.asBinary()):t._data&&t._data.getContent?f(Vt(Array.prototype.slice.call(t._data.getContent(),0))):null:null}function Zt(t){if(!t)return null;if(t.data)return l(t.data);if(t.asNodeBuffer&&b)return t.asNodeBuffer();if(t._data&&t._data.getContent){var e=t._data.getContent();return"string"==typeof e?l(e):Array.prototype.slice.call(e)}return t.content&&t.type?t.content:null}function Qt(t,e){for(var r=t.FullPaths||Nt(t.files),n=e.toLowerCase().replace(/[\/]/g,"\\"),i=n.replace(/\\/g,"/"),o=0;o<r.length;++o){var a=r[o].replace(/^Root Entry[\/]/,"").toLowerCase();if(n==a||i==a)return t.files?t.files[r[o]]:t.FileIndex[o]}return null}function te(t,e){var r=Qt(t,e);if(null==r)throw new Error("Cannot find file "+e+" in zip");return r}function ee(t,e,r){if(!r)return function(t){return t&&".bin"===t.name.slice(-4)?Zt(t):Jt(t)}(te(t,e));if(!e)return null;try{return ee(t,e)}catch(t){return null}}function re(t,e,r){if(!r)return Jt(te(t,e));if(!e)return null;try{return re(t,e)}catch(t){return null}}function ne(t,e,r){if(!r)return Zt(te(t,e));if(!e)return null;try{return ne(t,e)}catch(t){return null}}function ie(t){for(var e=t.FullPaths||Nt(t.files),r=[],n=0;n<e.length;++n)"/"!=e[n].slice(-1)&&r.push(e[n].replace(/^Root Entry[\/]/,""));return r.sort()}function oe(t,e,r){if(t.FullPaths){var n;if("string"==typeof r)return n=b?y(r):function(t){for(var e=[],r=0,n=t.length+250,i=w(t.length+255),o=0;o<t.length;++o){var a=t.charCodeAt(o);if(a<128)i[r++]=a;else if(a<2048)i[r++]=192|a>>6&31,i[r++]=128|63&a;else if(a>=55296&&a<57344){a=64+(1023&a);var s=1023&t.charCodeAt(++o);i[r++]=240|a>>8&7,i[r++]=128|a>>2&63,i[r++]=128|s>>6&15|(3&a)<<4,i[r++]=128|63&s}else i[r++]=224|a>>12&15,i[r++]=128|a>>6&63,i[r++]=128|63&a;r>n&&(e.push(i.slice(0,r)),r=0,i=w(65535),n=65530)}return e.push(i.slice(0,r)),E(e)}(r),Et.utils.cfb_add(t,e,n);Et.utils.cfb_add(t,e,r)}else t.file(e,r)}function ae(){return Et.utils.cfb_new()}function se(t,e){switch(e.type){case"base64":return Et.read(t,{type:"base64"});case"binary":return Et.read(t,{type:"binary"});case"buffer":case"array":return Et.read(t,{type:"buffer"})}throw new Error("Unrecognized type "+e.type)}function ce(t,e){if("/"==t.charAt(0))return t.slice(1);var r=e.split("/");"/"!=e.slice(-1)&&r.pop();for(var n=t.split("/");0!==n.length;){var i=n.shift();".."===i?r.pop():"."!==i&&r.push(i)}return r.join("/")}var le='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n',ue=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,fe=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,he=le.match(fe)?fe:/<[^>]*>/g,de=/<\w*:/,pe=/<(\/?)\w+:/;function ve(t,e,r){for(var n={},i=0,o=0;i!==t.length&&(32!==(o=t.charCodeAt(i))&&10!==o&&13!==o);++i);if(e||(n[0]=t.slice(0,i)),i===t.length)return n;var a=t.match(ue),s=0,c="",l=0,u="",f="",h=1;if(a)for(l=0;l!=a.length;++l){for(f=a[l],o=0;o!=f.length&&61!==f.charCodeAt(o);++o);for(u=f.slice(0,o).trim();32==f.charCodeAt(o+1);)++o;for(h=34==(i=f.charCodeAt(o+1))||39==i?1:0,c=f.slice(o+1+h,f.length-h),s=0;s!=u.length&&58!==u.charCodeAt(s);++s);if(s===u.length)u.indexOf("_")>0&&(u=u.slice(0,u.indexOf("_"))),n[u]=c,r||(n[u.toLowerCase()]=c);else{var d=(5===s&&"xmlns"===u.slice(0,5)?"xmlns":"")+u.slice(s+1);if(n[d]&&"ext"==u.slice(s-3,s))continue;n[d]=c,r||(n[d.toLowerCase()]=c)}}return n}function ge(t){return t.replace(pe,"<$1")}var me={""":'"',"'":"'",">":">","<":"<","&":"&"},be=Rt(me),ye=function(){var t=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,e=/_x([\da-fA-F]{4})_/gi;return function r(n){var i=n+"",o=i.indexOf("<![CDATA[");if(-1==o)return i.replace(t,(function(t,e){return me[t]||String.fromCharCode(parseInt(e,t.indexOf("x")>-1?16:10))||t})).replace(e,(function(t,e){return String.fromCharCode(parseInt(e,16))}));var a=i.indexOf("]]>");return r(i.slice(0,o))+i.slice(o+9,a)+r(i.slice(a+3))}}(),we=/[&<>'"]/g,Se=/[\u0000-\u0008\u000b-\u001f]/g;function xe(t){return(t+"").replace(we,(function(t){return be[t]})).replace(Se,(function(t){return"_x"+("000"+t.charCodeAt(0).toString(16)).slice(-4)+"_"}))}function ke(t){return xe(t).replace(/ /g,"_x0020_")}var Te=/[\u0000-\u001f]/g;function Ae(t){return(t+"").replace(we,(function(t){return be[t]})).replace(/\n/g,"<br/>").replace(Te,(function(t){return"&#x"+("000"+t.charCodeAt(0).toString(16)).slice(-4)+";"}))}var Ee=function(){var t=/&#(\d+);/g;function e(t,e){return String.fromCharCode(parseInt(e,10))}return function(r){return r.replace(t,e)}}();function _e(t){switch(t){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function Oe(t){for(var e="",r=0,n=0,i=0,o=0,a=0,s=0;r<t.length;)(n=t.charCodeAt(r++))<128?e+=String.fromCharCode(n):(i=t.charCodeAt(r++),n>191&&n<224?(a=(31&n)<<6,a|=63&i,e+=String.fromCharCode(a)):(o=t.charCodeAt(r++),n<240?e+=String.fromCharCode((15&n)<<12|(63&i)<<6|63&o):(s=((7&n)<<18|(63&i)<<12|(63&o)<<6|63&(a=t.charCodeAt(r++)))-65536,e+=String.fromCharCode(55296+(s>>>10&1023)),e+=String.fromCharCode(56320+(1023&s)))));return e}function Ne(t){var e,r,n,i=w(2*t.length),o=1,a=0,s=0;for(r=0;r<t.length;r+=o)o=1,(n=t.charCodeAt(r))<128?e=n:n<224?(e=64*(31&n)+(63&t.charCodeAt(r+1)),o=2):n<240?(e=4096*(15&n)+64*(63&t.charCodeAt(r+1))+(63&t.charCodeAt(r+2)),o=3):(o=4,e=262144*(7&n)+4096*(63&t.charCodeAt(r+1))+64*(63&t.charCodeAt(r+2))+(63&t.charCodeAt(r+3)),s=55296+((e-=65536)>>>10&1023),e=56320+(1023&e)),0!==s&&(i[a++]=255&s,i[a++]=s>>>8,s=0),i[a++]=e%256,i[a++]=e>>>8;return i.slice(0,a).toString("ucs2")}function Ce(t){return y(t,"binary").toString("utf8")}var Re="foo bar bazâð£",Pe=b&&(Ce(Re)==Oe(Re)&&Ce||Ne(Re)==Oe(Re)&&Ne)||Oe,Le=b?function(t){return y(t,"utf8").toString("binary")}:function(t){for(var e=[],r=0,n=0,i=0;r<t.length;)switch(n=t.charCodeAt(r++),!0){case n<128:e.push(String.fromCharCode(n));break;case n<2048:e.push(String.fromCharCode(192+(n>>6))),e.push(String.fromCharCode(128+(63&n)));break;case n>=55296&&n<57344:n-=55296,i=t.charCodeAt(r++)-56320+(n<<10),e.push(String.fromCharCode(240+(i>>18&7))),e.push(String.fromCharCode(144+(i>>12&63))),e.push(String.fromCharCode(128+(i>>6&63))),e.push(String.fromCharCode(128+(63&i)));break;default:e.push(String.fromCharCode(224+(n>>12))),e.push(String.fromCharCode(128+(n>>6&63))),e.push(String.fromCharCode(128+(63&n)))}return e.join("")},Ie=function(){var t={};return function(e,r){var n=e+"|"+(r||"");return t[n]?t[n]:t[n]=new RegExp("<(?:\\w+:)?"+e+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+e+">",r||"")}}(),Fe=function(){var t=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(t){return[new RegExp("&"+t[0]+";","ig"),t[1]]}));return function(e){for(var r=e.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,""),n=0;n<t.length;++n)r=r.replace(t[n][0],t[n][1]);return r}}(),je=function(){var t={};return function(e){return void 0!==t[e]?t[e]:t[e]=new RegExp("<(?:vt:)?"+e+">([\\s\\S]*?)</(?:vt:)?"+e+">","g")}}(),De=/<\/?(?:vt:)?variant>/g,Me=/<(?:vt:)([^>]*)>([\s\S]*)</;function Be(t,e){var r=ve(t),n=t.match(je(r.baseType))||[],i=[];if(n.length!=r.size){if(e.WTF)throw new Error("unexpected vector length "+n.length+" != "+r.size);return i}return n.forEach((function(t){var e=t.replace(De,"").match(Me);e&&i.push({v:Pe(e[2]),t:e[1]})})),i}var We=/(^\s|\s$|\n)/;function Ue(t,e){return"<"+t+(e.match(We)?' xml:space="preserve"':"")+">"+e+"</"+t+">"}function He(t){return Nt(t).map((function(e){return" "+e+'="'+t[e]+'"'})).join("")}function ze(t,e,r){return"<"+t+(null!=r?He(r):"")+(null!=e?(e.match(We)?' xml:space="preserve"':"")+">"+e+"</"+t:"/")+">"}function Ve(t,e){try{return t.toISOString().replace(/\.\d*/,"")}catch(t){if(e)throw t}return""}function qe(t){if(b&&Buffer.isBuffer(t))return t.toString("utf8");if("string"==typeof t)return t;if("undefined"!=typeof Uint8Array&&t instanceof Uint8Array)return Pe(T(A(t)));throw new Error("Bad input format: expected Buffer or string")}var $e=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm,Ge={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},Xe=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],Ye={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};var Ke=function(t){for(var e=[],r=0;r<t[0].length;++r)if(t[0][r])for(var n=0,i=t[0][r].length;n<i;n+=10240)e.push.apply(e,t[0][r].slice(n,n+10240));return e},Je=b?function(t){return t[0].length>0&&Buffer.isBuffer(t[0][0])?Buffer.concat(t[0].map((function(t){return Buffer.isBuffer(t)?t:y(t)}))):Ke(t)}:Ke,Ze=function(t,e,r){for(var n=[],i=e;i<r;i+=2)n.push(String.fromCharCode(br(t,i)));return n.join("").replace(_,"")},Qe=b?function(t,e,r){return Buffer.isBuffer(t)?t.toString("utf16le",e,r).replace(_,""):Ze(t,e,r)}:Ze,tr=function(t,e,r){for(var n=[],i=e;i<e+r;++i)n.push(("0"+t[i].toString(16)).slice(-2));return n.join("")},er=b?function(t,e,r){return Buffer.isBuffer(t)?t.toString("hex",e,e+r):tr(t,e,r)}:tr,rr=function(t,e,r){for(var n=[],i=e;i<r;i++)n.push(String.fromCharCode(mr(t,i)));return n.join("")},nr=b?function(t,e,r){return Buffer.isBuffer(t)?t.toString("utf8",e,r):rr(t,e,r)}:rr,ir=function(t,e){var r=wr(t,e);return r>0?nr(t,e+4,e+4+r-1):""},or=ir,ar=function(t,e){var r=wr(t,e);return r>0?nr(t,e+4,e+4+r-1):""},sr=ar,cr=function(t,e){var r=2*wr(t,e);return r>0?nr(t,e+4,e+4+r-1):""},lr=cr,ur=function(t,e){var r=wr(t,e);return r>0?Qe(t,e+4,e+4+r):""},fr=ur,hr=function(t,e){var r=wr(t,e);return r>0?nr(t,e+4,e+4+r):""},dr=hr,pr=function(t,e){return function(t,e){for(var r=1-2*(t[e+7]>>>7),n=((127&t[e+7])<<4)+(t[e+6]>>>4&15),i=15&t[e+6],o=5;o>=0;--o)i=256*i+t[e+o];return 2047==n?0==i?r*(1/0):NaN:(0==n?n=-1022:(n-=1023,i+=Math.pow(2,52)),r*Math.pow(2,n-52)*i)}(t,e)},vr=pr,gr=function(t){return Array.isArray(t)||"undefined"!=typeof Uint8Array&&t instanceof Uint8Array};b&&(or=function(t,e){if(!Buffer.isBuffer(t))return ir(t,e);var r=t.readUInt32LE(e);return r>0?t.toString("utf8",e+4,e+4+r-1):""},sr=function(t,e){if(!Buffer.isBuffer(t))return ar(t,e);var r=t.readUInt32LE(e);return r>0?t.toString("utf8",e+4,e+4+r-1):""},lr=function(t,e){if(!Buffer.isBuffer(t))return cr(t,e);var r=2*t.readUInt32LE(e);return t.toString("utf16le",e+4,e+4+r-1)},fr=function(t,e){if(!Buffer.isBuffer(t))return ur(t,e);var r=t.readUInt32LE(e);return t.toString("utf16le",e+4,e+4+r)},dr=function(t,e){if(!Buffer.isBuffer(t))return hr(t,e);var r=t.readUInt32LE(e);return t.toString("utf8",e+4,e+4+r)},vr=function(t,e){return Buffer.isBuffer(t)?t.readDoubleLE(e):pr(t,e)},gr=function(t){return Buffer.isBuffer(t)||Array.isArray(t)||"undefined"!=typeof Uint8Array&&t instanceof Uint8Array}),void 0!==e&&(Qe=function(t,r,n){return e.utils.decode(1200,t.slice(r,n)).replace(_,"")},nr=function(t,r,n){return e.utils.decode(65001,t.slice(r,n))},or=function(t,r){var i=wr(t,r);return i>0?e.utils.decode(n,t.slice(r+4,r+4+i-1)):""},sr=function(t,n){var i=wr(t,n);return i>0?e.utils.decode(r,t.slice(n+4,n+4+i-1)):""},lr=function(t,r){var n=2*wr(t,r);return n>0?e.utils.decode(1200,t.slice(r+4,r+4+n-1)):""},fr=function(t,r){var n=wr(t,r);return n>0?e.utils.decode(1200,t.slice(r+4,r+4+n)):""},dr=function(t,r){var n=wr(t,r);return n>0?e.utils.decode(65001,t.slice(r+4,r+4+n)):""});var mr=function(t,e){return t[e]},br=function(t,e){return 256*t[e+1]+t[e]},yr=function(t,e){var r=256*t[e+1]+t[e];return r<32768?r:-1*(65535-r+1)},wr=function(t,e){return t[e+3]*(1<<24)+(t[e+2]<<16)+(t[e+1]<<8)+t[e]},Sr=function(t,e){return t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e]},xr=function(t,e){return t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3]};function kr(t,n){var i,o,a,s,c,l,u="",f=[];switch(n){case"dbcs":if(l=this.l,b&&Buffer.isBuffer(this))u=this.slice(this.l,this.l+2*t).toString("utf16le");else for(c=0;c<t;++c)u+=String.fromCharCode(br(this,l)),l+=2;t*=2;break;case"utf8":u=nr(this,this.l,this.l+t);break;case"utf16le":t*=2,u=Qe(this,this.l,this.l+t);break;case"wstr":if(void 0===e)return kr.call(this,t,"dbcs");u=e.utils.decode(r,this.slice(this.l,this.l+2*t)),t*=2;break;case"lpstr-ansi":u=or(this,this.l),t=4+wr(this,this.l);break;case"lpstr-cp":u=sr(this,this.l),t=4+wr(this,this.l);break;case"lpwstr":u=lr(this,this.l),t=4+2*wr(this,this.l);break;case"lpp4":t=4+wr(this,this.l),u=fr(this,this.l),2&t&&(t+=2);break;case"8lpp4":t=4+wr(this,this.l),u=dr(this,this.l),3&t&&(t+=4-(3&t));break;case"cstr":for(t=0,u="";0!==(a=mr(this,this.l+t++));)f.push(h(a));u=f.join("");break;case"_wstr":for(t=0,u="";0!==(a=br(this,this.l+t));)f.push(h(a)),t+=2;t+=2,u=f.join("");break;case"dbcs-cont":for(u="",l=this.l,c=0;c<t;++c){if(this.lens&&-1!==this.lens.indexOf(l))return a=mr(this,l),this.l=l+1,s=kr.call(this,t-c,a?"dbcs-cont":"sbcs-cont"),f.join("")+s;f.push(h(br(this,l))),l+=2}u=f.join(""),t*=2;break;case"cpstr":if(void 0!==e){u=e.utils.decode(r,this.slice(this.l,this.l+t));break}case"sbcs-cont":for(u="",l=this.l,c=0;c!=t;++c){if(this.lens&&-1!==this.lens.indexOf(l))return a=mr(this,l),this.l=l+1,s=kr.call(this,t-c,a?"dbcs-cont":"sbcs-cont"),f.join("")+s;f.push(h(mr(this,l))),l+=1}u=f.join("");break;default:switch(t){case 1:return i=mr(this,this.l),this.l++,i;case 2:return i=("i"===n?yr:br)(this,this.l),this.l+=2,i;case 4:case-4:return"i"!==n&&128&this[this.l+3]?(o=wr(this,this.l),this.l+=4,o):(i=(t>0?Sr:xr)(this,this.l),this.l+=4,i);case 8:case-8:if("f"===n)return o=8==t?vr(this,this.l):vr([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,o;t=8;case 16:u=er(this,this.l,t)}}return this.l+=t,u}var Tr=function(t,e,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24&255},Ar=function(t,e,r){t[r]=255&e,t[r+1]=e>>8&255,t[r+2]=e>>16&255,t[r+3]=e>>24&255},Er=function(t,e,r){t[r]=255&e,t[r+1]=e>>>8&255};function _r(t,r,i){var o=0,a=0;if("dbcs"===i){for(a=0;a!=r.length;++a)Er(this,r.charCodeAt(a),this.l+2*a);o=2*r.length}else if("sbcs"===i){if(void 0!==e&&874==n)for(a=0;a!=r.length;++a){var s=e.utils.encode(n,r.charAt(a));this[this.l+a]=s[0]}else for(r=r.replace(/[^\x00-\x7F]/g,"_"),a=0;a!=r.length;++a)this[this.l+a]=255&r.charCodeAt(a);o=r.length}else{if("hex"===i){for(;a<t;++a)this[this.l++]=parseInt(r.slice(2*a,2*a+2),16)||0;return this}if("utf16le"===i){var c=Math.min(this.l+t,this.length);for(a=0;a<Math.min(r.length,t);++a){var l=r.charCodeAt(a);this[this.l++]=255&l,this[this.l++]=l>>8}for(;this.l<c;)this[this.l++]=0;return this}switch(t){case 1:o=1,this[this.l]=255&r;break;case 2:o=2,this[this.l]=255&r,r>>>=8,this[this.l+1]=255&r;break;case 3:o=3,this[this.l]=255&r,r>>>=8,this[this.l+1]=255&r,r>>>=8,this[this.l+2]=255&r;break;case 4:o=4,Tr(this,r,this.l);break;case 8:if(o=8,"f"===i){!function(t,e,r){var n=(e<0||1/e==-1/0?1:0)<<7,i=0,o=0,a=n?-e:e;isFinite(a)?0==a?i=o=0:(i=Math.floor(Math.log(a)/Math.LN2),o=a*Math.pow(2,52-i),i<=-1023&&(!isFinite(o)||o<Math.pow(2,52))?i=-1022:(o-=Math.pow(2,52),i+=1023)):(i=2047,o=isNaN(e)?26985:0);for(var s=0;s<=5;++s,o/=256)t[r+s]=255&o;t[r+6]=(15&i)<<4|15&o,t[r+7]=i>>4|n}(this,r,this.l);break}case 16:break;case-4:o=4,Ar(this,r,this.l)}}return this.l+=o,this}function Or(t,e){var r=er(this,this.l,t.length>>1);if(r!==t)throw new Error(e+"Expected "+t+" saw "+r);this.l+=t.length>>1}function Nr(t,e){t.l=e,t._R=kr,t.chk=Or,t._W=_r}function Cr(t,e){t.l+=e}function Rr(t){var e=w(t);return Nr(e,0),e}function Pr(t,e,r){if(t){var n,i,o;Nr(t,t.l||0);for(var a=t.length,s=0,c=0;t.l<a;){128&(s=t._R(1))&&(s=(127&s)+((127&t._R(1))<<7));var l=Zl[s]||Zl[65535];for(o=127&(n=t._R(1)),i=1;i<4&&128&n;++i)o+=(127&(n=t._R(1)))<<7*i;c=t.l+o;var u=l.f&&l.f(t,o,r);if(t.l=c,e(u,l,s))return}}}function Lr(){var t=[],e=b?256:2048,r=function(t){var e=Rr(t);return Nr(e,0),e},n=r(e),i=function(){n&&(n.length>n.l&&((n=n.slice(0,n.l)).l=n.length),n.length>0&&t.push(n),n=null)},o=function(t){return n&&t<n.length-n.l?n:(i(),n=r(Math.max(t+1,e)))};return{next:o,push:function(t){i(),null==(n=t).l&&(n.l=n.length),o(e)},end:function(){return i(),E(t)},_bufs:t}}function Ir(t,e,r,n){var i,o=+e;if(!isNaN(o)){n||(n=Zl[o].p||(r||[]).length||0),i=1+(o>=128?1:0)+1,n>=128&&++i,n>=16384&&++i,n>=2097152&&++i;var a=t.next(i);o<=127?a._W(1,o):(a._W(1,128+(127&o)),a._W(1,o>>7));for(var s=0;4!=s;++s){if(!(n>=128)){a._W(1,n);break}a._W(1,128+(127&n)),n>>=7}n>0&&gr(r)&&t.push(r)}}function Fr(t,e,r){var n=qt(t);if(e.s?(n.cRel&&(n.c+=e.s.c),n.rRel&&(n.r+=e.s.r)):(n.cRel&&(n.c+=e.c),n.rRel&&(n.r+=e.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function jr(t,e,r){var n=qt(t);return n.s=Fr(n.s,e.s,r),n.e=Fr(n.e,e.s,r),n}function Dr(t,e){if(t.cRel&&t.c<0)for(t=qt(t);t.c<0;)t.c+=e>8?16384:256;if(t.rRel&&t.r<0)for(t=qt(t);t.r<0;)t.r+=e>8?1048576:e>5?65536:16384;var r=Vr(t);return t.cRel||null==t.cRel||(r=function(t){return t.replace(/^([A-Z])/,"$$$1")}(r)),t.rRel||null==t.rRel||(r=function(t){return t.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(r)),r}function Mr(t,e){return 0!=t.s.r||t.s.rRel||t.e.r!=(e.biff>=12?1048575:e.biff>=8?65536:16384)||t.e.rRel?0!=t.s.c||t.s.cRel||t.e.c!=(e.biff>=12?16383:255)||t.e.cRel?Dr(t.s,e.biff)+":"+Dr(t.e,e.biff):(t.s.rRel?"":"$")+Wr(t.s.r)+":"+(t.e.rRel?"":"$")+Wr(t.e.r):(t.s.cRel?"":"$")+Hr(t.s.c)+":"+(t.e.cRel?"":"$")+Hr(t.e.c)}function Br(t){return parseInt(function(t){return t.replace(/\$(\d+)$/,"$1")}(t),10)-1}function Wr(t){return""+(t+1)}function Ur(t){for(var e=function(t){return t.replace(/^\$([A-Z])/,"$1")}(t),r=0,n=0;n!==e.length;++n)r=26*r+e.charCodeAt(n)-64;return r-1}function Hr(t){if(t<0)throw new Error("invalid column "+t);var e="";for(++t;t;t=Math.floor((t-1)/26))e=String.fromCharCode((t-1)%26+65)+e;return e}function zr(t){for(var e=0,r=0,n=0;n<t.length;++n){var i=t.charCodeAt(n);i>=48&&i<=57?e=10*e+(i-48):i>=65&&i<=90&&(r=26*r+(i-64))}return{c:r-1,r:e-1}}function Vr(t){for(var e=t.c+1,r="";e;e=(e-1)/26|0)r=String.fromCharCode((e-1)%26+65)+r;return r+(t.r+1)}function qr(t){var e=t.indexOf(":");return-1==e?{s:zr(t),e:zr(t)}:{s:zr(t.slice(0,e)),e:zr(t.slice(e+1))}}function $r(t,e){return void 0===e||"number"==typeof e?$r(t.s,t.e):("string"!=typeof t&&(t=Vr(t)),"string"!=typeof e&&(e=Vr(e)),t==e?t:t+":"+e)}function Gr(t){var e={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,i=0,o=t.length;for(r=0;n<o&&!((i=t.charCodeAt(n)-64)<1||i>26);++n)r=26*r+i;for(e.s.c=--r,r=0;n<o&&!((i=t.charCodeAt(n)-48)<0||i>9);++n)r=10*r+i;if(e.s.r=--r,n===o||10!=i)return e.e.c=e.s.c,e.e.r=e.s.r,e;for(++n,r=0;n!=o&&!((i=t.charCodeAt(n)-64)<1||i>26);++n)r=26*r+i;for(e.e.c=--r,r=0;n!=o&&!((i=t.charCodeAt(n)-48)<0||i>9);++n)r=10*r+i;return e.e.r=--r,e}function Xr(t,e){var r="d"==t.t&&e instanceof Date;if(null!=t.z)try{return t.w=mt(t.z,r?It(e):e)}catch(t){}try{return t.w=mt((t.XF||{}).numFmtId||(r?14:0),r?It(e):e)}catch(t){return""+e}}function Yr(t,e,r){return null==t||null==t.t||"z"==t.t?"":void 0!==t.w?t.w:("d"==t.t&&!t.z&&r&&r.dateNF&&(t.z=r.dateNF),"e"==t.t?Bn[t.v]||t.v:Xr(t,null==e?t.v:e))}function Kr(t,e){var r=e&&e.sheet?e.sheet:"Sheet1",n={};return n[r]=t,{SheetNames:[r],Sheets:n}}function Jr(t,e,r){var n=r||{},i=t?Array.isArray(t):n.dense;null!=p&&null==i&&(i=p);var o=t||(i?[]:{}),a=0,s=0;if(o&&null!=n.origin){if("number"==typeof n.origin)a=n.origin;else{var c="string"==typeof n.origin?zr(n.origin):n.origin;a=c.r,s=c.c}o["!ref"]||(o["!ref"]="A1:A1")}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(o["!ref"]){var u=Gr(o["!ref"]);l.s.c=u.s.c,l.s.r=u.s.r,l.e.c=Math.max(l.e.c,u.e.c),l.e.r=Math.max(l.e.r,u.e.r),-1==a&&(l.e.r=a=u.e.r+1)}for(var f=0;f!=e.length;++f)if(e[f]){if(!Array.isArray(e[f]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=e[f].length;++h)if(void 0!==e[f][h]){var d={v:e[f][h]},v=a+f,g=s+h;if(l.s.r>v&&(l.s.r=v),l.s.c>g&&(l.s.c=g),l.e.r<v&&(l.e.r=v),l.e.c<g&&(l.e.c=g),!e[f][h]||"object"!=typeof e[f][h]||Array.isArray(e[f][h])||e[f][h]instanceof Date)if(Array.isArray(d.v)&&(d.f=e[f][h][1],d.v=d.v[0]),null===d.v)if(d.f)d.t="n";else if(n.nullError)d.t="e",d.v=0;else{if(!n.sheetStubs)continue;d.t="z"}else"number"==typeof d.v?d.t="n":"boolean"==typeof d.v?d.t="b":d.v instanceof Date?(d.z=n.dateNF||M[14],n.cellDates?(d.t="d",d.w=mt(d.z,It(d.v))):(d.t="n",d.v=It(d.v),d.w=mt(d.z,d.v))):d.t="s";else d=e[f][h];if(i)o[v]||(o[v]=[]),o[v][g]&&o[v][g].z&&(d.z=o[v][g].z),o[v][g]=d;else{var m=Vr({c:g,r:v});o[m]&&o[m].z&&(d.z=o[m].z),o[m]=d}}}return l.s.c<1e7&&(o["!ref"]=$r(l)),o}function Zr(t,e){return Jr(null,t,e)}function Qr(t,e){return e||(e=Rr(4)),e._W(4,t),e}function tn(t){var e=t._R(4);return 0===e?"":t._R(e,"dbcs")}function en(t,e){var r=!1;return null==e&&(r=!0,e=Rr(4+2*t.length)),e._W(4,t.length),t.length>0&&e._W(0,t,"dbcs"),r?e.slice(0,e.l):e}function rn(t){return{ich:t._R(2),ifnt:t._R(2)}}function nn(t,e){var r=t.l,n=t._R(1),i=tn(t),o=[],a={t:i,h:i};if(1&n){for(var s=t._R(4),c=0;c!=s;++c)o.push(rn(t));a.r=o}else a.r=[{ich:0,ifnt:0}];return t.l=r+e,a}var on=nn;function an(t,e){var r=!1;return null==e&&(r=!0,e=Rr(23+4*t.t.length)),e._W(1,1),en(t.t,e),e._W(4,1),function(t,e){e||(e=Rr(4)),e._W(2,t.ich||0),e._W(2,t.ifnt||0)}({ich:0,ifnt:0},e),r?e.slice(0,e.l):e}function sn(t){var e=t._R(4),r=t._R(2);return r+=t._R(1)<<16,t.l++,{c:e,iStyleRef:r}}function cn(t,e){return null==e&&(e=Rr(8)),e._W(-4,t.c),e._W(3,t.iStyleRef||t.s),e._W(1,0),e}function ln(t){var e=t._R(2);return e+=t._R(1)<<16,t.l++,{c:-1,iStyleRef:e}}function un(t,e){return null==e&&(e=Rr(4)),e._W(3,t.iStyleRef||t.s),e._W(1,0),e}var fn=tn,hn=en;function dn(t){var e=t._R(4);return 0===e||4294967295===e?"":t._R(e,"dbcs")}function pn(t,e){var r=!1;return null==e&&(r=!0,e=Rr(127)),e._W(4,t.length>0?t.length:4294967295),t.length>0&&e._W(0,t,"dbcs"),r?e.slice(0,e.l):e}var vn=tn,gn=dn,mn=pn;function bn(t){var e=t.slice(t.l,t.l+4),r=1&e[0],n=2&e[0];t.l+=4;var i=0===n?vr([0,0,0,0,252&e[0],e[1],e[2],e[3]],0):Sr(e,0)>>2;return r?i/100:i}function yn(t,e){null==e&&(e=Rr(4));var r=0,n=0,i=100*t;if(t==(0|t)&&t>=-(1<<29)&&t<1<<29?n=1:i==(0|i)&&i>=-(1<<29)&&i<1<<29&&(n=1,r=1),!n)throw new Error("unsupported RkNumber "+t);e._W(-4,((r?i:t)<<2)+(r+2))}function wn(t){var e={s:{},e:{}};return e.s.r=t._R(4),e.e.r=t._R(4),e.s.c=t._R(4),e.e.c=t._R(4),e}var Sn=wn,xn=function(t,e){return e||(e=Rr(16)),e._W(4,t.s.r),e._W(4,t.e.r),e._W(4,t.s.c),e._W(4,t.e.c),e};function kn(t){if(t.length-t.l<8)throw"XLS Xnum Buffer underflow";return t._R(8,"f")}function Tn(t,e){return(e||Rr(8))._W(8,t,"f")}function An(t,e){if(e||(e=Rr(8)),!t||t.auto)return e._W(4,0),e._W(4,0),e;null!=t.index?(e._W(1,2),e._W(1,t.index)):null!=t.theme?(e._W(1,6),e._W(1,t.theme)):(e._W(1,5),e._W(1,0));var r=t.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),e._W(2,r),t.rgb&&null==t.theme){var n=t.rgb||"FFFFFF";"number"==typeof n&&(n=("000000"+n.toString(16)).slice(-6)),e._W(1,parseInt(n.slice(0,2),16)),e._W(1,parseInt(n.slice(2,4),16)),e._W(1,parseInt(n.slice(4,6),16)),e._W(1,255)}else e._W(2,0),e._W(1,0),e._W(1,0);return e}function En(t,e){var r=t._R(4);switch(r){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[t._R(4)]||""}if(r>400)throw new Error("Unsupported Clipboard: "+r.toString(16));return t.l-=4,t._R(0,1==e?"lpstr":"lpwstr")}var _n=2,On=3,Nn=12,Cn=80,Rn=81,Pn=[Cn,Rn],Ln={1:{n:"CodePage",t:_n},2:{n:"Category",t:Cn},3:{n:"PresentationFormat",t:Cn},4:{n:"ByteCount",t:On},5:{n:"LineCount",t:On},6:{n:"ParagraphCount",t:On},7:{n:"SlideCount",t:On},8:{n:"NoteCount",t:On},9:{n:"HiddenCount",t:On},10:{n:"MultimediaClipCount",t:On},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:Cn},15:{n:"Company",t:Cn},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:On},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:On,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:Cn},27:{n:"ContentStatus",t:Cn},28:{n:"Language",t:Cn},29:{n:"Version",t:Cn},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},In={1:{n:"CodePage",t:_n},2:{n:"Title",t:Cn},3:{n:"Subject",t:Cn},4:{n:"Author",t:Cn},5:{n:"Keywords",t:Cn},6:{n:"Comments",t:Cn},7:{n:"Template",t:Cn},8:{n:"LastAuthor",t:Cn},9:{n:"RevNumber",t:Cn},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:On},15:{n:"WordCount",t:On},16:{n:"CharCount",t:On},17:{n:"Thumbnail",t:71},18:{n:"Application",t:Cn},19:{n:"DocSecurity",t:On},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Fn={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},jn=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var Dn=function(t){return t.map((function(t){return[t>>16&255,t>>8&255,255&t]}))}([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),Mn=qt(Dn),Bn={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Wn={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},Un={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Hn={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function zn(t,e){var r,n=function(t){for(var e=[],r=Nt(t),n=0;n!==r.length;++n)null==e[t[r[n]]]&&(e[t[r[n]]]=[]),e[t[r[n]]].push(r[n]);return e}(Un),i=[];i[i.length]=le,i[i.length]=ze("Types",null,{xmlns:Ge.CT,"xmlns:xsd":Ge.xsd,"xmlns:xsi":Ge.xsi}),i=i.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map((function(t){return ze("Default",null,{Extension:t[0],ContentType:t[1]})})));var o=function(n){t[n]&&t[n].length>0&&(r=t[n][0],i[i.length]=ze("Override",null,{PartName:("/"==r[0]?"":"/")+r,ContentType:Hn[n][e.bookType]||Hn[n].xlsx}))},a=function(r){(t[r]||[]).forEach((function(t){i[i.length]=ze("Override",null,{PartName:("/"==t[0]?"":"/")+t,ContentType:Hn[r][e.bookType]||Hn[r].xlsx})}))},s=function(e){(t[e]||[]).forEach((function(t){i[i.length]=ze("Override",null,{PartName:("/"==t[0]?"":"/")+t,ContentType:n[e][0]})}))};return o("workbooks"),a("sheets"),a("charts"),s("themes"),["strs","styles"].forEach(o),["coreprops","extprops","custprops"].forEach(s),s("vba"),s("comments"),s("threadedcomments"),s("drawings"),a("metadata"),s("people"),i.length>2&&(i[i.length]="</Types>",i[1]=i[1].replace("/>",">")),i.join("")}var Vn={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function qn(t){var e=t.lastIndexOf("/");return t.slice(0,e+1)+"_rels/"+t.slice(e+1)+".rels"}function $n(t,e){var r={"!id":{}};if(!t)return r;"/"!==e.charAt(0)&&(e="/"+e);var n={};return(t.match(he)||[]).forEach((function(t){var i=ve(t);if("<Relationship"===i[0]){var o={};o.Type=i.Type,o.Target=i.Target,o.Id=i.Id,i.TargetMode&&(o.TargetMode=i.TargetMode);var a="External"===i.TargetMode?i.Target:ce(i.Target,e);r[a]=o,n[i.Id]=o}})),r["!id"]=n,r}function Gn(t){var e=[le,ze("Relationships",null,{xmlns:Ge.RELS})];return Nt(t["!id"]).forEach((function(r){e[e.length]=ze("Relationship",null,t["!id"][r])})),e.length>2&&(e[e.length]="</Relationships>",e[1]=e[1].replace("/>",">")),e.join("")}function Xn(t,e,r,n,i,o){if(i||(i={}),t["!id"]||(t["!id"]={}),t["!idx"]||(t["!idx"]=1),e<0)for(e=t["!idx"];t["!id"]["rId"+e];++e);if(t["!idx"]=e+1,i.Id="rId"+e,i.Type=n,i.Target=r,o?i.TargetMode=o:[Vn.HLINK,Vn.XPATH,Vn.XMISS].indexOf(i.Type)>-1&&(i.TargetMode="External"),t["!id"][i.Id])throw new Error("Cannot rewrite rId "+e);return t["!id"][i.Id]=i,t[("/"+i.Target).replace("//","/")]=i,e}var Yn="application/vnd.oasis.opendocument.spreadsheet";function Kn(t,e,r){return[' <rdf:Description rdf:about="'+t+'">\n',' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(r||"odf")+"#"+e+'"/>\n'," </rdf:Description>\n"].join("")}function Jn(t,e){return[' <rdf:Description rdf:about="'+t+'">\n',' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+e+'"/>\n'," </rdf:Description>\n"].join("")}function Zn(){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+t.version+"</meta:generator></office:meta></office:document-meta>"}var Qn=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]],ti=function(){for(var t=new Array(Qn.length),e=0;e<Qn.length;++e){var r=Qn[e],n="(?:"+r[0].slice(0,r[0].indexOf(":"))+":)"+r[0].slice(r[0].indexOf(":")+1);t[e]=new RegExp("<"+n+"[^>]*>([\\s\\S]*?)</"+n+">")}return t}();function ei(t){var e={};t=Pe(t);for(var r=0;r<Qn.length;++r){var n=Qn[r],i=t.match(ti[r]);null!=i&&i.length>0&&(e[n[1]]=ye(i[1])),"date"===n[2]&&e[n[1]]&&(e[n[1]]=zt(e[n[1]]))}return e}function ri(t,e,r,n,i){null==i[t]&&null!=e&&""!==e&&(i[t]=e,e=xe(e),n[n.length]=r?ze(t,e,r):Ue(t,e))}function ni(t,e){var r=e||{},n=[le,ze("cp:coreProperties",null,{"xmlns:cp":Ge.CORE_PROPS,"xmlns:dc":Ge.dc,"xmlns:dcterms":Ge.dcterms,"xmlns:dcmitype":Ge.dcmitype,"xmlns:xsi":Ge.xsi})],i={};if(!t&&!r.Props)return n.join("");t&&(null!=t.CreatedDate&&ri("dcterms:created","string"==typeof t.CreatedDate?t.CreatedDate:Ve(t.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,i),null!=t.ModifiedDate&&ri("dcterms:modified","string"==typeof t.ModifiedDate?t.ModifiedDate:Ve(t.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,i));for(var o=0;o!=Qn.length;++o){var a=Qn[o],s=r.Props&&null!=r.Props[a[1]]?r.Props[a[1]]:t?t[a[1]]:null;!0===s?s="1":!1===s?s="0":"number"==typeof s&&(s=String(s)),null!=s&&ri(a[0],s,null,n,i)}return n.length>2&&(n[n.length]="</cp:coreProperties>",n[1]=n[1].replace("/>",">")),n.join("")}var ii=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],oi=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function ai(t,e,r,n){var i=[];if("string"==typeof t)i=Be(t,n);else for(var o=0;o<t.length;++o)i=i.concat(t[o].map((function(t){return{v:t}})));var a="string"==typeof e?Be(e,n).map((function(t){return t.v})):e,s=0,c=0;if(a.length>0)for(var l=0;l!==i.length;l+=2){switch(c=+i[l+1].v,i[l].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":r.Worksheets=c,r.SheetNames=a.slice(s,s+c);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":r.NamedRanges=c,r.DefinedNames=a.slice(s,s+c);break;case"Charts":case"Diagramme":r.Chartsheets=c,r.ChartNames=a.slice(s,s+c)}s+=c}}function si(t){var e=[],r=ze;return t||(t={}),t.Application="SheetJS",e[e.length]=le,e[e.length]=ze("Properties",null,{xmlns:Ge.EXT_PROPS,"xmlns:vt":Ge.vt}),ii.forEach((function(n){if(void 0!==t[n[1]]){var i;switch(n[2]){case"string":i=xe(String(t[n[1]]));break;case"bool":i=t[n[1]]?"true":"false"}void 0!==i&&(e[e.length]=r(n[0],i))}})),e[e.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+r("vt:variant",r("vt:i4",String(t.Worksheets))),{size:2,baseType:"variant"})),e[e.length]=r("TitlesOfParts",r("vt:vector",t.SheetNames.map((function(t){return"<vt:lpstr>"+xe(t)+"</vt:lpstr>"})).join(""),{size:t.Worksheets,baseType:"lpstr"})),e.length>2&&(e[e.length]="</Properties>",e[1]=e[1].replace("/>",">")),e.join("")}var ci=/<[^>]+>[^<]*/g;function li(t){var e=[le,ze("Properties",null,{xmlns:Ge.CUST_PROPS,"xmlns:vt":Ge.vt})];if(!t)return e.join("");var r=1;return Nt(t).forEach((function(n){++r,e[e.length]=ze("property",function(t,e){switch(typeof t){case"string":var r=ze("vt:lpwstr",xe(t));return e&&(r=r.replace(/"/g,"_x0022_")),r;case"number":return ze((0|t)==t?"vt:i4":"vt:r8",xe(String(t)));case"boolean":return ze("vt:bool",t?"true":"false")}if(t instanceof Date)return ze("vt:filetime",Ve(t));throw new Error("Unable to serialize "+t)}(t[n],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:xe(n)})})),e.length>2&&(e[e.length]="</Properties>",e[1]=e[1].replace("/>",">")),e.join("")}var ui,fi={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function hi(t,e,r){ui||(ui=Rt(fi)),t[e=ui[e]||e]=r}function di(t){var e=t._R(4),r=t._R(4);return new Date(1e3*(r/1e7*Math.pow(2,32)+e/1e7-11644473600)).toISOString().replace(/\.000/,"")}function pi(t,e,r){var n=t.l,i=t._R(0,"lpstr-cp");if(r)for(;t.l-n&3;)++t.l;return i}function vi(t,e,r){var n=t._R(0,"lpwstr");return r&&(t.l+=4-(n.length+1&3)&3),n}function gi(t,e,r){return 31===e?vi(t):pi(t,0,r)}function mi(t,e,r){return gi(t,e,!1===r?0:4)}function bi(t){var e=t.l,r=Si(t,Rn);return 0==t[t.l]&&0==t[t.l+1]&&t.l-e&2&&(t.l+=2),[r,Si(t,On)]}function yi(t,e){for(var r=t._R(4),n={},i=0;i!=r;++i){var o=t._R(4),a=t._R(4);n[o]=t._R(a,1200===e?"utf16le":"utf8").replace(_,"").replace(O,"!"),1200===e&&a%2&&(t.l+=2)}return 3&t.l&&(t.l=t.l>>3<<2),n}function wi(t){var e=t._R(4),r=t.slice(t.l,t.l+e);return t.l+=e,(3&e)>0&&(t.l+=4-(3&e)&3),r}function Si(t,e,r){var n,i=t._R(2),o=r||{};if(t.l+=2,e!==Nn&&i!==e&&-1===Pn.indexOf(e)&&(4126!=(65534&e)||4126!=(65534&i)))throw new Error("Expected type "+e+" saw "+i);switch(e===Nn?i:e){case 2:return n=t._R(2,"i"),o.raw||(t.l+=2),n;case 3:return n=t._R(4,"i");case 11:return 0!==t._R(4);case 19:return n=t._R(4);case 30:return pi(t,0,4).replace(_,"");case 31:return vi(t);case 64:return di(t);case 65:return wi(t);case 71:return function(t){var e={};return e.Size=t._R(4),t.l+=e.Size+3-(e.Size-1)%4,e}(t);case 80:return mi(t,i,!o.raw).replace(_,"");case 81:return function(t,e){if(!e)throw new Error("VtUnalignedString must have positive length");return gi(t,e,0)}(t,i).replace(_,"");case 4108:return function(t){for(var e=t._R(4),r=[],n=0;n<e/2;++n)r.push(bi(t));return r}(t);case 4126:case 4127:return 4127==i?function(t){for(var e=t._R(4),r=[],n=0;n!=e;++n){var i=t.l;r[n]=t._R(0,"lpwstr").replace(_,""),t.l-i&2&&(t.l+=2)}return r}(t):function(t){for(var e=t._R(4),r=[],n=0;n!=e;++n)r[n]=t._R(0,"lpstr-cp").replace(_,"");return r}(t);default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+i)}}function xi(t,e){var r=Rr(4),n=Rr(4);switch(r._W(4,80==t?31:t),t){case 3:n._W(-4,e);break;case 5:(n=Rr(8))._W(8,e,"f");break;case 11:n._W(4,e?1:0);break;case 64:n=function(t){var e=("string"==typeof t?new Date(Date.parse(t)):t).getTime()/1e3+11644473600,r=e%Math.pow(2,32),n=(e-r)/Math.pow(2,32);n*=1e7;var i=(r*=1e7)/Math.pow(2,32)|0;i>0&&(r%=Math.pow(2,32),n+=i);var o=Rr(8);return o._W(4,r),o._W(4,n),o}(e);break;case 31:case 80:for((n=Rr(4+2*(e.length+1)+(e.length%2?0:2)))._W(4,e.length+1),n._W(0,e,"dbcs");n.l!=n.length;)n._W(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+e)}return E([r,n])}function ki(t,e){var r=t.l,n=t._R(4),i=t._R(4),o=[],a=0,c=0,l=-1,u={};for(a=0;a!=i;++a){var f=t._R(4),h=t._R(4);o[a]=[f,h+r]}o.sort((function(t,e){return t[1]-e[1]}));var d={};for(a=0;a!=i;++a){if(t.l!==o[a][1]){var p=!0;if(a>0&&e)switch(e[o[a-1][0]].t){case 2:t.l+2===o[a][1]&&(t.l+=2,p=!1);break;case 80:case 4108:t.l<=o[a][1]&&(t.l=o[a][1],p=!1)}if((!e||0==a)&&t.l<=o[a][1]&&(p=!1,t.l=o[a][1]),p)throw new Error("Read Error: Expected address "+o[a][1]+" at "+t.l+" :"+a)}if(e){var v=e[o[a][0]];if(d[v.n]=Si(t,v.t,{raw:!0}),"version"===v.p&&(d[v.n]=String(d[v.n]>>16)+"."+("0000"+String(65535&d[v.n])).slice(-4)),"CodePage"==v.n)switch(d[v.n]){case 0:d[v.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:s(c=d[v.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[v.n])}}else if(1===o[a][0]){if(c=d.CodePage=Si(t,_n),s(c),-1!==l){var g=t.l;t.l=o[l][1],u=yi(t,c),t.l=g}}else if(0===o[a][0]){if(0===c){l=a,t.l=o[a+1][1];continue}u=yi(t,c)}else{var m,b=u[o[a][0]];switch(t[t.l]){case 65:t.l+=4,m=wi(t);break;case 30:case 31:t.l+=4,m=mi(t,t[t.l-4]).replace(/\u0000+$/,"");break;case 3:t.l+=4,m=t._R(4,"i");break;case 19:t.l+=4,m=t._R(4);break;case 5:t.l+=4,m=t._R(8,"f");break;case 11:t.l+=4,m=Ci(t,4);break;case 64:t.l+=4,m=zt(di(t));break;default:throw new Error("unparsed value: "+t[t.l])}d[b]=m}}return t.l=r+n,d}var Ti=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function Ai(t){switch(typeof t){case"boolean":return 11;case"number":return(0|t)==t?3:5;case"string":return 31;case"object":if(t instanceof Date)return 64}return-1}function Ei(t,e,r){var n=Rr(8),i=[],o=[],a=8,s=0,c=Rr(8),l=Rr(8);if(c._W(4,2),c._W(4,1200),l._W(4,1),o.push(c),i.push(l),a+=8+c.length,!e){(l=Rr(8))._W(4,0),i.unshift(l);var u=[Rr(4)];for(u[0]._W(4,t.length),s=0;s<t.length;++s){var f=t[s][0];for((c=Rr(8+2*(f.length+1)+(f.length%2?0:2)))._W(4,s+2),c._W(4,f.length+1),c._W(0,f,"dbcs");c.l!=c.length;)c._W(1,0);u.push(c)}c=E(u),o.unshift(c),a+=8+c.length}for(s=0;s<t.length;++s)if((!e||e[t[s][0]])&&!(Ti.indexOf(t[s][0])>-1||oi.indexOf(t[s][0])>-1)&&null!=t[s][1]){var h=t[s][1],d=0;if(e){var p=r[d=+e[t[s][0]]];if("version"==p.p&&"string"==typeof h){var v=h.split(".");h=(+v[0]<<16)+(+v[1]||0)}c=xi(p.t,h)}else{var g=Ai(h);-1==g&&(g=31,h=String(h)),c=xi(g,h)}o.push(c),(l=Rr(8))._W(4,e?d:2+s),i.push(l),a+=8+c.length}var m=8*(o.length+1);for(s=0;s<o.length;++s)i[s]._W(4,m),m+=o[s].length;return n._W(4,a),n._W(4,o.length),E([n].concat(i).concat(o))}function _i(t,e,r){var n=t.content;if(!n)return{};Nr(n,0);var i,o,a,s,c=0;n.chk("feff","Byte Order: "),n._R(2);var l=n._R(4),u=n._R(16);if(u!==Et.utils.consts.HEADER_CLSID&&u!==r)throw new Error("Bad PropertySet CLSID "+u);if(1!==(i=n._R(4))&&2!==i)throw new Error("Unrecognized #Sets: "+i);if(o=n._R(16),s=n._R(4),1===i&&s!==n.l)throw new Error("Length mismatch: "+s+" !== "+n.l);2===i&&(a=n._R(16),c=n._R(4));var f,h=ki(n,e),d={SystemIdentifier:l};for(var p in h)d[p]=h[p];if(d.FMTID=o,1===i)return d;if(c-n.l==2&&(n.l+=2),n.l!==c)throw new Error("Length mismatch 2: "+n.l+" !== "+c);try{f=ki(n,null)}catch(t){}for(p in f)d[p]=f[p];return d.FMTID=[o,a],d}function Oi(t,e,r,n,i,o){var a=Rr(i?68:48),s=[a];a._W(2,65534),a._W(2,0),a._W(4,842412599),a._W(16,Et.utils.consts.HEADER_CLSID,"hex"),a._W(4,i?2:1),a._W(16,e,"hex"),a._W(4,i?68:48);var c=Ei(t,r,n);if(s.push(c),i){var l=Ei(i,null,null);a._W(16,o,"hex"),a._W(4,68+c.length),s.push(l)}return E(s)}function Ni(t,e){return t._R(e),null}function Ci(t,e){return 1===t._R(e)}function Ri(t,e){return e||(e=Rr(2)),e._W(2,+!!t),e}function Pi(t){return t._R(2,"u")}function Li(t,e){return e||(e=Rr(2)),e._W(2,t),e}function Ii(t,e){return function(t,e,r){for(var n=[],i=t.l+e;t.l<i;)n.push(r(t,i-t.l));if(i!==t.l)throw new Error("Slurp error");return n}(t,e,Pi)}function Fi(t,e,r){return r||(r=Rr(2)),r._W(1,"e"==e?+t:+!!t),r._W(1,"e"==e?1:0),r}function ji(t,e,n){var i=t._R(n&&n.biff>=12?2:1),o="sbcs-cont",a=r;(n&&n.biff>=8&&(r=1200),n&&8!=n.biff)?12==n.biff&&(o="wstr"):t._R(1)&&(o="dbcs-cont");n.biff>=2&&n.biff<=5&&(o="cpstr");var s=i?t._R(i,o):"";return r=a,s}function Di(t){var e=r;r=1200;var n,i=t._R(2),o=t._R(1),a=4&o,s=8&o,c=1+(1&o),l=0,u={};s&&(l=t._R(2)),a&&(n=t._R(4));var f=2==c?"dbcs-cont":"sbcs-cont",h=0===i?"":t._R(i,f);return s&&(t.l+=4*l),a&&(t.l+=n),u.t=h,s||(u.raw="<t>"+u.t+"</t>",u.r=u.t),r=e,u}function Mi(t){var e=t.t||"",r=Rr(3);r._W(2,e.length),r._W(1,1);var n=Rr(2*e.length);return n._W(2*e.length,e,"utf16le"),E([r,n])}function Bi(t,e,r){if(r){if(r.biff>=2&&r.biff<=5)return t._R(e,"cpstr");if(r.biff>=12)return t._R(e,"dbcs-cont")}return 0===t._R(1)?t._R(e,"sbcs-cont"):t._R(e,"dbcs-cont")}function Wi(t,e,r){var n=t._R(r&&2==r.biff?1:2);return 0===n?(t.l++,""):Bi(t,n,r)}function Ui(t,e,r){if(r.biff>5)return Wi(t,0,r);var n=t._R(1);return 0===n?(t.l++,""):t._R(n,r.biff<=4||!t.lens?"cpstr":"sbcs-cont")}function Hi(t,e,r){return r||(r=Rr(3+2*t.length)),r._W(2,t.length),r._W(1,1),r._W(31,t,"utf16le"),r}function zi(t,e){var r=t._R(16);switch(16,r){case"e0c9ea79f9bace118c8200aa004ba90b":return function(t){var e=t._R(4),r=t.l,n=!1;e>24&&(t.l+=e-24,"795881f43b1d7f48af2c825dc4852763"===t._R(16)&&(n=!0),t.l=r);var i=t._R((n?e-24:e)>>1,"utf16le").replace(_,"");return n&&(t.l+=24),i}(t);case"0303000000000000c000000000000046":return function(t){for(var e=t._R(2),r="";e-- >0;)r+="../";var n=t._R(0,"lpstr-ansi");if(t.l+=2,57005!=t._R(2))throw new Error("Bad FileMoniker");if(0===t._R(4))return r+n.replace(/\\/g,"/");var i=t._R(4);if(3!=t._R(2))throw new Error("Bad FileMoniker");return r+t._R(i>>1,"utf16le").replace(_,"")}(t);default:throw new Error("Unsupported Moniker "+r)}}function Vi(t){var e=t._R(4);return e>0?t._R(e,"utf16le").replace(_,""):""}function qi(t,e){e||(e=Rr(6+2*t.length)),e._W(4,1+t.length);for(var r=0;r<t.length;++r)e._W(2,t.charCodeAt(r));return e._W(2,0),e}function $i(t){var e=Rr(512),r=0,n=t.Target;"file://"==n.slice(0,7)&&(n=n.slice(7));var i=n.indexOf("#"),o=i>-1?31:23;switch(n.charAt(0)){case"#":o=28;break;case".":o&=-3}e._W(4,2),e._W(4,o);var a=[8,6815827,6619237,4849780,83];for(r=0;r<a.length;++r)e._W(4,a[r]);if(28==o)qi(n=n.slice(1),e);else if(2&o){for(a="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),r=0;r<a.length;++r)e._W(1,parseInt(a[r],16));var s=i>-1?n.slice(0,i):n;for(e._W(4,2*(s.length+1)),r=0;r<s.length;++r)e._W(2,s.charCodeAt(r));e._W(2,0),8&o&&qi(i>-1?n.slice(i+1):"",e)}else{for(a="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r<a.length;++r)e._W(1,parseInt(a[r],16));for(var c=0;"../"==n.slice(3*c,3*c+3)||"..\\"==n.slice(3*c,3*c+3);)++c;for(e._W(2,c),e._W(4,n.length-3*c+1),r=0;r<n.length-3*c;++r)e._W(1,255&n.charCodeAt(r+3*c));for(e._W(1,0),e._W(2,65535),e._W(2,57005),r=0;r<6;++r)e._W(4,0)}return e.slice(0,e.l)}function Gi(t){return[t._R(1),t._R(1),t._R(1),t._R(1)]}function Xi(t,e){var r=Gi(t);return r[3]=0,r}function Yi(t){return{r:t._R(2),c:t._R(2),ixfe:t._R(2)}}function Ki(t,e,r,n){return n||(n=Rr(6)),n._W(2,t),n._W(2,e),n._W(2,r||0),n}function Ji(t,e,r){var n=r.biff>8?4:2;return[t._R(n),t._R(n,"i"),t._R(n,"i")]}function Zi(t){return[t._R(2),bn(t)]}function Qi(t){var e=t._R(2),r=t._R(2);return{s:{c:t._R(2),r:e},e:{c:t._R(2),r:r}}}function to(t,e){return e||(e=Rr(8)),e._W(2,t.s.r),e._W(2,t.e.r),e._W(2,t.s.c),e._W(2,t.e.c),e}function eo(t){var e=t._R(2),r=t._R(2);return{s:{c:t._R(1),r:e},e:{c:t._R(1),r:r}}}var ro=eo;function no(t){t.l+=4;var e=t._R(2),r=t._R(2),n=t._R(2);return t.l+=12,[r,e,n]}function io(t){t.l+=2,t.l+=t._R(2)}var oo={0:io,4:io,5:io,6:io,7:function(t){return t.l+=4,t.cf=t._R(2),{}},8:io,9:io,10:io,11:io,12:io,13:function(t){var e={};return t.l+=4,t.l+=16,e.fSharedNote=t._R(2),t.l+=4,e},14:io,15:io,16:io,17:io,18:io,19:io,20:io,21:no};function ao(t,e){var r={BIFFVer:0,dt:0};switch(r.BIFFVer=t._R(2),(e-=2)>=2&&(r.dt=t._R(2),t.l-=2),r.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(e>6)throw new Error("Unexpected BIFF Ver "+r.BIFFVer)}return t._R(e),r}function so(t,e,r){var n=1536,i=16;switch(r.bookType){case"biff8":case"xla":break;case"biff5":n=1280,i=8;break;case"biff4":n=4,i=6;break;case"biff3":n=3,i=6;break;case"biff2":n=2,i=4;break;default:throw new Error("unsupported BIFF version")}var o=Rr(i);return o._W(2,n),o._W(2,e),i>4&&o._W(2,29282),i>6&&o._W(2,1997),i>8&&(o._W(2,49161),o._W(2,1),o._W(2,1798),o._W(2,0)),o}function co(t,e){var r=!e||e.biff>=8?2:1,n=Rr(8+r*t.name.length);n._W(4,t.pos),n._W(1,t.hs||0),n._W(1,t.dt),n._W(1,t.name.length),e.biff>=8&&n._W(1,1),n._W(r*t.name.length,t.name,e.biff<8?"sbcs":"utf16le");var i=n.slice(0,n.l);return i.l=n.l,i}function lo(t,e,r){var n=0;r&&2==r.biff||(n=t._R(2));var i=t._R(2);return r&&2==r.biff&&(n=1-(i>>15),i&=32767),[{Unsynced:1&n,DyZero:(2&n)>>1,ExAsc:(4&n)>>2,ExDsc:(8&n)>>3},i]}function uo(t,e,r,n){var i=r&&5==r.biff;n||(n=Rr(i?3+e.length:5+2*e.length)),n._W(2,t),n._W(i?1:2,e.length),i||n._W(1,1),n._W((i?1:2)*e.length,e,i?"sbcs":"utf16le");var o=n.length>n.l?n.slice(0,n.l):n;return null==o.l&&(o.l=o.length),o}var fo=Ui;function ho(t,e,r){var n=t.l+e,i=8!=r.biff&&r.biff?2:4,o=t._R(i),a=t._R(i),s=t._R(2),c=t._R(2);return t.l=n,{s:{r:o,c:s},e:{r:a,c:c}}}function po(t,e,r,n){var i=r&&5==r.biff;n||(n=Rr(i?16:20)),n._W(2,0),t.style?(n._W(2,t.numFmtId||0),n._W(2,65524)):(n._W(2,t.numFmtId||0),n._W(2,e<<4));var o=0;return t.numFmtId>0&&i&&(o|=1024),n._W(4,o),n._W(4,0),i||n._W(4,0),n._W(2,0),n}function vo(t,e,r){var n=Yi(t);2!=r.biff&&9!=e||++t.l;var i=function(t){var e=t._R(1);return 1===t._R(1)?e:1===e}(t);return n.val=i,n.t=!0===i||!1===i?"b":"e",n}var go=function(t,e,r){return 0===e?"":Ui(t,0,r)};function mo(t,e,r){var n,i=t._R(2),o={fBuiltIn:1&i,fWantAdvise:i>>>1&1,fWantPict:i>>>2&1,fOle:i>>>3&1,fOleLink:i>>>4&1,cf:i>>>5&1023,fIcon:i>>>15&1};return 14849===r.sbcch&&(n=function(t,e,r){t.l+=4,e-=4;var n=t.l+e,i=ji(t,0,r),o=t._R(2);if(o!==(n-=t.l))throw new Error("Malformed AddinUdf: padding = "+n+" != "+o);return t.l+=o,i}(t,e-2,r)),o.body=n||t._R(e-2),"string"==typeof n&&(o.Name=n),o}var bo=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function yo(t,e,r){var n=t.l+e,i=t._R(2),o=t._R(1),a=t._R(1),s=t._R(r&&2==r.biff?1:2),c=0;(!r||r.biff>=5)&&(5!=r.biff&&(t.l+=2),c=t._R(2),5==r.biff&&(t.l+=2),t.l+=4);var l=Bi(t,a,r);32&i&&(l=bo[l.charCodeAt(0)]);var u=n-t.l;r&&2==r.biff&&--u;var f=n!=t.l&&0!==s&&u>0?function(t,e,r,n){var i,o=t.l+e,a=Ws(t,n,r);o!==t.l&&(i=Bs(t,o-t.l,a,r));return[a,i]}(t,u,r,s):[];return{chKey:o,Name:l,itab:c,rgce:f}}function wo(t,e,r){if(r.biff<8)return function(t,e,r){3==t[t.l+1]&&t[t.l]++;var n=ji(t,0,r);return 3==n.charCodeAt(0)?n.slice(1):n}(t,0,r);for(var n=[],i=t.l+e,o=t._R(r.biff>8?4:2);0!=o--;)n.push(Ji(t,r.biff,r));if(t.l!=i)throw new Error("Bad ExternSheet: "+t.l+" != "+i);return n}function So(t,e,r){var n=ro(t,6);switch(r.biff){case 2:t.l++,e-=7;break;case 3:case 4:t.l+=2,e-=8;break;default:t.l+=6,e-=12}return[n,$s(t,e,r)]}var xo={8:function(t,e){var r=t.l+e;t.l+=10;var n=t._R(2);t.l+=4,t.l+=2,t.l+=2,t.l+=2,t.l+=4;var i=t._R(1);return t.l+=i,t.l=r,{fmt:n}}};function ko(t){var e=Rr(24),r=zr(t[0]);e._W(2,r.r),e._W(2,r.r),e._W(2,r.c),e._W(2,r.c);for(var n="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),i=0;i<16;++i)e._W(1,parseInt(n[i],16));return E([e,$i(t[1])])}function To(t){var e=t[1].Tooltip,r=Rr(10+2*(e.length+1));r._W(2,2048);var n=zr(t[0]);r._W(2,n.r),r._W(2,n.r),r._W(2,n.c),r._W(2,n.c);for(var i=0;i<e.length;++i)r._W(2,e.charCodeAt(i));return r._W(2,0),r}function Ao(t,e,r){if(!r.cellStyles)return Cr(t,e);var n=r&&r.biff>=12?4:2,i=t._R(n),o=t._R(n),a=t._R(n),s=t._R(n),c=t._R(2);2==n&&(t.l+=2);var l={s:i,e:o,w:a,ixfe:s,flags:c};return(r.biff>=5||!r.biff)&&(l.level=c>>8&7),l}var Eo=Yi,_o=Ii,Oo=Wi;var No=[2,3,48,49,131,139,140,245],Co=function(){var t={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},r=Rt({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function i(r,n){var i=[],o=w(1);switch(n.type){case"base64":o=x(m(r));break;case"binary":o=x(r);break;case"buffer":case"array":o=r}Nr(o,0);var a=o._R(1),s=!!(136&a),c=!1,l=!1;switch(a){case 2:case 3:case 131:case 139:case 245:break;case 48:case 49:c=!0,s=!0;break;case 140:l=!0;break;default:throw new Error("DBF Unsupported Version: "+a.toString(16))}var u=0,f=521;2==a&&(u=o._R(2)),o.l+=3,2!=a&&(u=o._R(4)),u>1048576&&(u=1e6),2!=a&&(f=o._R(2));var h=o._R(2),d=n.codepage||1252;2!=a&&(o.l+=16,o._R(1),0!==o[o.l]&&(d=t[o[o.l]]),o.l+=1,o.l+=2),l&&(o.l+=36);for(var p=[],v={},g=Math.min(o.length,2==a?521:f-10-(c?264:0)),b=l?32:11;o.l<g&&13!=o[o.l];)switch((v={}).name=e.utils.decode(d,o.slice(o.l,o.l+b)).replace(/[\u0000\r\n].*$/g,""),o.l+=b,v.type=String.fromCharCode(o._R(1)),2==a||l||(v.offset=o._R(4)),v.len=o._R(1),2==a&&(v.offset=o._R(2)),v.dec=o._R(1),v.name.length&&p.push(v),2!=a&&(o.l+=l?13:14),v.type){case"B":c&&8==v.len||!n.WTF||console.log("Skipping "+v.name+":"+v.type);break;case"G":case"P":n.WTF&&console.log("Skipping "+v.name+":"+v.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+v.type)}if(13!==o[o.l]&&(o.l=f-1),13!==o._R(1))throw new Error("DBF Terminator not found "+o.l+" "+o[o.l]);o.l=f;var y=0,S=0;for(i[0]=[],S=0;S!=p.length;++S)i[0][S]=p[S].name;for(;u-- >0;)if(42!==o[o.l])for(++o.l,i[++y]=[],S=0,S=0;S!=p.length;++S){var k=o.slice(o.l,o.l+p[S].len);o.l+=p[S].len,Nr(k,0);var T=e.utils.decode(d,k);switch(p[S].type){case"C":T.trim().length&&(i[y][S]=T.replace(/\s+$/,""));break;case"D":8===T.length?i[y][S]=new Date(+T.slice(0,4),+T.slice(4,6)-1,+T.slice(6,8)):i[y][S]=T;break;case"F":i[y][S]=parseFloat(T.trim());break;case"+":case"I":i[y][S]=l?2147483648^k._R(-4,"i"):k._R(4,"i");break;case"L":switch(T.trim().toUpperCase()){case"Y":case"T":i[y][S]=!0;break;case"N":case"F":i[y][S]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+T+"|")}break;case"M":if(!s)throw new Error("DBF Unexpected MEMO for type "+a.toString(16));i[y][S]="##MEMO##"+(l?parseInt(T.trim(),10):k._R(4));break;case"N":(T=T.replace(/\u0000/g,"").trim())&&"."!=T&&(i[y][S]=+T||0);break;case"@":i[y][S]=new Date(k._R(-8,"f")-621356832e5);break;case"T":i[y][S]=new Date(864e5*(k._R(4)-2440588)+k._R(4));break;case"Y":i[y][S]=k._R(4,"i")/1e4+k._R(4,"i")/1e4*Math.pow(2,32);break;case"O":i[y][S]=-k._R(-8,"f");break;case"B":if(c&&8==p[S].len){i[y][S]=k._R(8,"f");break}case"G":case"P":k.l+=p[S].len;break;case"0":if("_NullFlags"===p[S].name)break;default:throw new Error("DBF Unsupported data type "+p[S].type)}}else o.l+=h;if(2!=a&&o.l<o.length&&26!=o[o.l++])throw new Error("DBF EOF Marker missing "+(o.l-1)+" of "+o.length+" "+o[o.l-1].toString(16));return n&&n.sheetRows&&(i=i.slice(0,n.sheetRows)),n.DBF=p,i}function o(t,e){var r=e||{};r.dateNF||(r.dateNF="yyyymmdd");var n=Zr(i(t,r),r);return n["!cols"]=r.DBF.map((function(t){return{wch:t.len,DBF:t}})),delete r.DBF,n}var a={B:8,C:250,L:1,D:8,"?":0,"":0};return{to_workbook:function(t,e){try{return Kr(o(t,e),e)}catch(t){if(e&&e.WTF)throw t}return{SheetNames:[],Sheets:{}}},to_sheet:o,from_sheet:function(t,e){var i=e||{};if(+i.codepage>=0&&s(+i.codepage),"string"==i.type)throw new Error("Cannot write DBF to JS string");var o=Lr(),c=Ef(t,{header:1,raw:!0,cellDates:!0}),l=c[0],u=c.slice(1),f=t["!cols"]||[],h=0,d=0,p=0,v=1;for(h=0;h<l.length;++h)if(((f[h]||{}).DBF||{}).name)l[h]=f[h].DBF.name,++p;else if(null!=l[h]){if(++p,"number"==typeof l[h]&&(l[h]=l[h].toString(10)),"string"!=typeof l[h])throw new Error("DBF Invalid column name "+l[h]+" |"+typeof l[h]+"|");if(l.indexOf(l[h])!==h)for(d=0;d<1024;++d)if(-1==l.indexOf(l[h]+"_"+d)){l[h]+="_"+d;break}}var g=Gr(t["!ref"]),m=[],b=[],y=[];for(h=0;h<=g.e.c-g.s.c;++h){var w="",S="",x=0,k=[];for(d=0;d<u.length;++d)null!=u[d][h]&&k.push(u[d][h]);if(0!=k.length&&null!=l[h]){for(d=0;d<k.length;++d){switch(typeof k[d]){case"number":S="B";break;case"string":default:S="C";break;case"boolean":S="L";break;case"object":S=k[d]instanceof Date?"D":"C"}x=Math.max(x,String(k[d]).length),w=w&&w!=S?"C":S}x>250&&(x=250),"C"==(S=((f[h]||{}).DBF||{}).type)&&f[h].DBF.len>x&&(x=f[h].DBF.len),"B"==w&&"N"==S&&(w="N",y[h]=f[h].DBF.dec,x=f[h].DBF.len),b[h]="C"==w||"N"==S?x:a[w]||0,v+=b[h],m[h]=w}else m[h]="?"}var T=o.next(32);for(T._W(4,318902576),T._W(4,u.length),T._W(2,296+32*p),T._W(2,v),h=0;h<4;++h)T._W(4,0);for(T._W(4,(+r[n]||3)<<8),h=0,d=0;h<l.length;++h)if(null!=l[h]){var A=o.next(32),E=(l[h].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);A._W(1,E,"sbcs"),A._W(1,"?"==m[h]?"C":m[h],"sbcs"),A._W(4,d),A._W(1,b[h]||a[m[h]]||0),A._W(1,y[h]||0),A._W(1,2),A._W(4,0),A._W(1,0),A._W(4,0),A._W(4,0),d+=b[h]||a[m[h]]||0}var _=o.next(264);for(_._W(4,13),h=0;h<65;++h)_._W(4,0);for(h=0;h<u.length;++h){var O=o.next(v);for(O._W(1,0),d=0;d<l.length;++d)if(null!=l[d])switch(m[d]){case"L":O._W(1,null==u[h][d]?63:u[h][d]?84:70);break;case"B":O._W(8,u[h][d]||0,"f");break;case"N":var N="0";for("number"==typeof u[h][d]&&(N=u[h][d].toFixed(y[d]||0)),p=0;p<b[d]-N.length;++p)O._W(1,32);O._W(1,N,"sbcs");break;case"D":u[h][d]?(O._W(4,("0000"+u[h][d].getFullYear()).slice(-4),"sbcs"),O._W(2,("00"+(u[h][d].getMonth()+1)).slice(-2),"sbcs"),O._W(2,("00"+u[h][d].getDate()).slice(-2),"sbcs")):O._W(8,"00000000","sbcs");break;case"C":var C=String(null!=u[h][d]?u[h][d]:"").slice(0,b[d]);for(O._W(1,C,"sbcs"),p=0;p<b[d]-C.length;++p)O._W(1,32)}}return o.next(1)._W(1,26),o.end()}}}(),Ro=function(){var t={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},r=new RegExp("N("+Nt(t).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),n=function(e,r){var n=t[r];return"number"==typeof n?d(n):n},i=function(t,e,r){var n=e.charCodeAt(0)-32<<4|r.charCodeAt(0)-48;return 59==n?t:d(n)};function o(t,e){switch(e.type){case"base64":return a(m(t),e);case"binary":return a(t,e);case"buffer":return a(b&&Buffer.isBuffer(t)?t.toString("binary"):T(t),e);case"array":return a(Vt(t),e)}throw new Error("Unrecognized type "+e.type)}function a(t,o){var a,c=t.split(/[\n\r]+/),l=-1,u=-1,f=0,h=0,d=[],p=[],v=null,g={},m=[],b=[],y=[],w=0;for(+o.codepage>=0&&s(+o.codepage);f!==c.length;++f){w=0;var S,x=c[f].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,i).replace(r,n),k=x.replace(/;;/g,"\0").split(";").map((function(t){return t.replace(/\u0000/g,";")})),T=k[0];if(x.length>0)switch(T){case"ID":case"E":case"B":case"O":case"W":break;case"P":"P"==k[1].charAt(0)&&p.push(x.slice(3).replace(/;;/g,";"));break;case"C":var A=!1,E=!1,_=!1,O=!1,N=-1,C=-1;for(h=1;h<k.length;++h)switch(k[h].charAt(0)){case"A":case"G":break;case"X":u=parseInt(k[h].slice(1))-1,E=!0;break;case"Y":for(l=parseInt(k[h].slice(1))-1,E||(u=0),a=d.length;a<=l;++a)d[a]=[];break;case"K":'"'===(S=k[h].slice(1)).charAt(0)?S=S.slice(1,S.length-1):"TRUE"===S?S=!0:"FALSE"===S?S=!1:isNaN(Gt(S))?isNaN(Yt(S).getDate())||(S=zt(S)):(S=Gt(S),null!==v&&dt(v)&&(S=Mt(S))),void 0!==e&&"string"==typeof S&&"string"!=(o||{}).type&&(o||{}).codepage&&(S=e.utils.decode(o.codepage,S)),A=!0;break;case"E":O=!0;var R=ps(k[h].slice(1),{r:l,c:u});d[l][u]=[d[l][u],R];break;case"S":_=!0,d[l][u]=[d[l][u],"S5S"];break;case"R":N=parseInt(k[h].slice(1))-1;break;case"C":C=parseInt(k[h].slice(1))-1;break;default:if(o&&o.WTF)throw new Error("SYLK bad record "+x)}if(A&&(d[l][u]&&2==d[l][u].length?d[l][u][0]=S:d[l][u]=S,v=null),_){if(O)throw new Error("SYLK shared formula cannot have own formula");var P=N>-1&&d[N][C];if(!P||!P[1])throw new Error("SYLK shared formula cannot find base");d[l][u][1]=ms(P[1],{r:l-N,c:u-C})}break;case"F":var L=0;for(h=1;h<k.length;++h)switch(k[h].charAt(0)){case"X":u=parseInt(k[h].slice(1))-1,++L;break;case"Y":for(l=parseInt(k[h].slice(1))-1,a=d.length;a<=l;++a)d[a]=[];break;case"M":w=parseInt(k[h].slice(1))/20;break;case"F":case"G":case"S":case"D":case"N":break;case"P":v=p[parseInt(k[h].slice(1))];break;case"W":for(y=k[h].slice(1).split(" "),a=parseInt(y[0],10);a<=parseInt(y[1],10);++a)w=parseInt(y[2],10),b[a-1]=0===w?{hidden:!0}:{wch:w},Sa(b[a-1]);break;case"C":b[u=parseInt(k[h].slice(1))-1]||(b[u]={});break;case"R":m[l=parseInt(k[h].slice(1))-1]||(m[l]={}),w>0?(m[l].hpt=w,m[l].hpx=Ta(w)):0===w&&(m[l].hidden=!0);break;default:if(o&&o.WTF)throw new Error("SYLK bad record "+x)}L<1&&(v=null);break;default:if(o&&o.WTF)throw new Error("SYLK bad record "+x)}}return m.length>0&&(g["!rows"]=m),b.length>0&&(g["!cols"]=b),o&&o.sheetRows&&(d=d.slice(0,o.sheetRows)),[d,g]}function c(t,e){var r=o(t,e),n=r[0],i=r[1],a=Zr(n,e);return Nt(i).forEach((function(t){a[t]=i[t]})),a}function l(t,e,r,n){var i="C;Y"+(r+1)+";X"+(n+1)+";K";switch(t.t){case"n":i+=t.v||0,t.f&&!t.F&&(i+=";E"+gs(t.f,{r:r,c:n}));break;case"b":i+=t.v?"TRUE":"FALSE";break;case"e":i+=t.w||t.v;break;case"d":i+='"'+(t.w||t.v)+'"';break;case"s":i+='"'+t.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return i}return t["|"]=254,{to_workbook:function(t,e){return Kr(c(t,e),e)},to_sheet:c,from_sheet:function(t,e){var r,n=["ID;PWXL;N;E"],i=[],o=Gr(t["!ref"]),a=Array.isArray(t),s="\r\n";n.push("P;PGeneral"),n.push("F;P0;DG0G8;M255"),t["!cols"]&&function(t,e){e.forEach((function(e,r){var n="F;W"+(r+1)+" "+(r+1)+" ";e.hidden?n+="0":("number"!=typeof e.width||e.wpx||(e.wpx=ga(e.width)),"number"!=typeof e.wpx||e.wch||(e.wch=ma(e.wpx)),"number"==typeof e.wch&&(n+=Math.round(e.wch)))," "!=n.charAt(n.length-1)&&t.push(n)}))}(n,t["!cols"]),t["!rows"]&&function(t,e){e.forEach((function(e,r){var n="F;";e.hidden?n+="M0;":e.hpt?n+="M"+20*e.hpt+";":e.hpx&&(n+="M"+20*ka(e.hpx)+";"),n.length>2&&t.push(n+"R"+(r+1))}))}(n,t["!rows"]),n.push("B;Y"+(o.e.r-o.s.r+1)+";X"+(o.e.c-o.s.c+1)+";D"+[o.s.c,o.s.r,o.e.c,o.e.r].join(" "));for(var c=o.s.r;c<=o.e.r;++c)for(var u=o.s.c;u<=o.e.c;++u){var f=Vr({r:c,c:u});(r=a?(t[c]||[])[u]:t[f])&&(null!=r.v||r.f&&!r.F)&&i.push(l(r,0,c,u))}return n.join(s)+s+i.join(s)+s+"E"+s}}}(),Po=function(){function t(t,r){switch(r.type){case"base64":return e(m(t),r);case"binary":return e(t,r);case"buffer":return e(b&&Buffer.isBuffer(t)?t.toString("binary"):T(t),r);case"array":return e(Vt(t),r)}throw new Error("Unrecognized type "+r.type)}function e(t,e){for(var r=t.split("\n"),n=-1,i=-1,o=0,a=[];o!==r.length;++o)if("BOT"!==r[o].trim()){if(!(n<0)){for(var s=r[o].trim().split(","),c=s[0],l=s[1],u=r[++o]||"";1&(u.match(/["]/g)||[]).length&&o<r.length-1;)u+="\n"+r[++o];switch(u=u.trim(),+c){case-1:if("BOT"===u){a[++n]=[],i=0;continue}if("EOD"!==u)throw new Error("Unrecognized DIF special command "+u);break;case 0:"TRUE"===u?a[n][i]=!0:"FALSE"===u?a[n][i]=!1:isNaN(Gt(l))?isNaN(Yt(l).getDate())?a[n][i]=l:a[n][i]=zt(l):a[n][i]=Gt(l),++i;break;case 1:(u=(u=u.slice(1,u.length-1)).replace(/""/g,'"'))&&u.match(/^=".*"$/)&&(u=u.slice(2,-1)),a[n][i++]=""!==u?u:null}if("EOD"===u)break}}else a[++n]=[],i=0;return e&&e.sheetRows&&(a=a.slice(0,e.sheetRows)),a}function r(e,r){return Zr(t(e,r),r)}var n=function(){var t=function(t,e,r,n,i){t.push(e),t.push(r+","+n),t.push('"'+i.replace(/"/g,'""')+'"')},e=function(t,e,r,n){t.push(e+","+r),t.push(1==e?'"'+n.replace(/"/g,'""')+'"':n)};return function(r){var n,i=[],o=Gr(r["!ref"]),a=Array.isArray(r);t(i,"TABLE",0,1,"sheetjs"),t(i,"VECTORS",0,o.e.r-o.s.r+1,""),t(i,"TUPLES",0,o.e.c-o.s.c+1,""),t(i,"DATA",0,0,"");for(var s=o.s.r;s<=o.e.r;++s){e(i,-1,0,"BOT");for(var c=o.s.c;c<=o.e.c;++c){var l=Vr({r:s,c:c});if(n=a?(r[s]||[])[c]:r[l])switch(n.t){case"n":var u=n.w;u||null==n.v||(u=n.v),null==u?n.f&&!n.F?e(i,1,0,"="+n.f):e(i,1,0,""):e(i,0,u,"V");break;case"b":e(i,0,n.v?1:0,n.v?"TRUE":"FALSE");break;case"s":e(i,1,0,isNaN(n.v)?n.v:'="'+n.v+'"');break;case"d":n.w||(n.w=mt(n.z||M[14],It(zt(n.v)))),e(i,0,n.w,"V");break;default:e(i,1,0,"")}else e(i,1,0,"")}}e(i,-1,0,"EOD");return i.join("\r\n")}}();return{to_workbook:function(t,e){return Kr(r(t,e),e)},to_sheet:r,from_sheet:n}}(),Lo=function(){function t(t){return t.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n")}function e(t){return t.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function r(e,r){for(var n=e.split("\n"),i=-1,o=-1,a=0,s=[];a!==n.length;++a){var c=n[a].trim().split(":");if("cell"===c[0]){var l=zr(c[1]);if(s.length<=l.r)for(i=s.length;i<=l.r;++i)s[i]||(s[i]=[]);switch(i=l.r,o=l.c,c[2]){case"t":s[i][o]=t(c[3]);break;case"v":s[i][o]=+c[3];break;case"vtf":var u=c[c.length-1];case"vtc":if("nl"===c[3])s[i][o]=!!+c[4];else s[i][o]=+c[4];"vtf"==c[2]&&(s[i][o]=[s[i][o],u])}}}return r&&r.sheetRows&&(s=s.slice(0,r.sheetRows)),s}function n(t,e){return Zr(r(t,e),e)}var i=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n"),o=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n",a=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n"),s="--SocialCalcSpreadsheetControlSave--";function c(t){if(!t||!t["!ref"])return"";for(var r,n=[],i=[],o="",a=qr(t["!ref"]),s=Array.isArray(t),c=a.s.r;c<=a.e.r;++c)for(var l=a.s.c;l<=a.e.c;++l)if(o=Vr({r:c,c:l}),(r=s?(t[c]||[])[l]:t[o])&&null!=r.v&&"z"!==r.t){switch(i=["cell",o,"t"],r.t){case"s":case"str":i.push(e(r.v));break;case"n":r.f?(i[2]="vtf",i[3]="n",i[4]=r.v,i[5]=e(r.f)):(i[2]="v",i[3]=r.v);break;case"b":i[2]="vt"+(r.f?"f":"c"),i[3]="nl",i[4]=r.v?"1":"0",i[5]=e(r.f||(r.v?"TRUE":"FALSE"));break;case"d":var u=It(zt(r.v));i[2]="vtc",i[3]="nd",i[4]=""+u,i[5]=r.w||mt(r.z||M[14],u);break;case"e":continue}n.push(i.join(":"))}return n.push("sheet:c:"+(a.e.c-a.s.c+1)+":r:"+(a.e.r-a.s.r+1)+":tvf:1"),n.push("valueformat:1:text-wiki"),n.join("\n")}return{to_workbook:function(t,e){return Kr(n(t,e),e)},to_sheet:n,from_sheet:function(t){return[i,o,a,o,c(t),s].join("\n")}}}(),Io=function(){function t(t,e,r,n,i){i.raw?e[r][n]=t:""===t||("TRUE"===t?e[r][n]=!0:"FALSE"===t?e[r][n]=!1:isNaN(Gt(t))?isNaN(Yt(t).getDate())?e[r][n]=t:e[r][n]=zt(t):e[r][n]=Gt(t))}function r(e,r){var n=r||{},i=[];if(!e||0===e.length)return i;for(var o=e.split(/[\r\n]/),a=o.length-1;a>=0&&0===o[a].length;)--a;for(var s=10,c=0,l=0;l<=a;++l)-1==(c=o[l].indexOf(" "))?c=o[l].length:c++,s=Math.max(s,c);for(l=0;l<=a;++l){i[l]=[];var u=0;for(t(o[l].slice(0,s).trim(),i,l,u,n),u=1;u<=(o[l].length-s)/10+1;++u)t(o[l].slice(s+10*(u-1),s+10*u).trim(),i,l,u,n)}return n.sheetRows&&(i=i.slice(0,n.sheetRows)),i}var n={44:",",9:"\t",59:";",124:"|"},i={44:3,9:2,59:1,124:0};function o(t){for(var e={},r=!1,o=0,a=0;o<t.length;++o)34==(a=t.charCodeAt(o))?r=!r:!r&&a in n&&(e[a]=(e[a]||0)+1);for(o in a=[],e)Object.prototype.hasOwnProperty.call(e,o)&&a.push([e[o],o]);if(!a.length)for(o in e=i)Object.prototype.hasOwnProperty.call(e,o)&&a.push([e[o],o]);return a.sort((function(t,e){return t[0]-e[0]||i[t[1]]-i[e[1]]})),n[a.pop()[1]]||44}function a(t,e){var r=e||{},n="";null!=p&&null==r.dense&&(r.dense=p);var i=r.dense?[]:{},a={s:{c:0,r:0},e:{c:0,r:0}};"sep="==t.slice(0,4)?13==t.charCodeAt(5)&&10==t.charCodeAt(6)?(n=t.charAt(4),t=t.slice(7)):13==t.charCodeAt(5)||10==t.charCodeAt(5)?(n=t.charAt(4),t=t.slice(6)):n=o(t.slice(0,1024)):n=r&&r.FS?r.FS:o(t.slice(0,1024));var s=0,c=0,l=0,u=0,f=0,h=n.charCodeAt(0),d=!1,v=0,g=t.charCodeAt(0);t=t.replace(/\r\n/gm,"\n");var m=null!=r.dateNF?function(t){var e="number"==typeof t?M[t]:t;return e=e.replace(kt,"(\\d+)"),new RegExp("^"+e+"$")}(r.dateNF):null;function b(){var e=t.slice(u,f),n={};if('"'==e.charAt(0)&&'"'==e.charAt(e.length-1)&&(e=e.slice(1,-1).replace(/""/g,'"')),0===e.length)n.t="z";else if(r.raw)n.t="s",n.v=e;else if(0===e.trim().length)n.t="s",n.v=e;else if(61==e.charCodeAt(0))34==e.charCodeAt(1)&&34==e.charCodeAt(e.length-1)?(n.t="s",n.v=e.slice(2,-1).replace(/""/g,'"')):!function(t){return 1!=t.length}(e)?(n.t="s",n.v=e):(n.t="n",n.f=e.slice(1));else if("TRUE"==e)n.t="b",n.v=!0;else if("FALSE"==e)n.t="b",n.v=!1;else if(isNaN(l=Gt(e)))if(!isNaN(Yt(e).getDate())||m&&e.match(m)){n.z=r.dateNF||M[14];var o=0;m&&e.match(m)&&(e=function(t,e,r){var n=-1,i=-1,o=-1,a=-1,s=-1,c=-1;(e.match(kt)||[]).forEach((function(t,e){var l=parseInt(r[e+1],10);switch(t.toLowerCase().charAt(0)){case"y":n=l;break;case"d":o=l;break;case"h":a=l;break;case"s":c=l;break;case"m":a>=0?s=l:i=l}})),c>=0&&-1==s&&i>=0&&(s=i,i=-1);var l=(""+(n>=0?n:(new Date).getFullYear())).slice(-4)+"-"+("00"+(i>=1?i:1)).slice(-2)+"-"+("00"+(o>=1?o:1)).slice(-2);7==l.length&&(l="0"+l),8==l.length&&(l="20"+l);var u=("00"+(a>=0?a:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(c>=0?c:0)).slice(-2);return-1==a&&-1==s&&-1==c?l:-1==n&&-1==i&&-1==o?u:l+"T"+u}(0,r.dateNF,e.match(m)||[]),o=1),r.cellDates?(n.t="d",n.v=zt(e,o)):(n.t="n",n.v=It(zt(e,o))),!1!==r.cellText&&(n.w=mt(n.z,n.v instanceof Date?It(n.v):n.v)),r.cellNF||delete n.z}else n.t="s",n.v=e;else n.t="n",!1!==r.cellText&&(n.w=e),n.v=l;if("z"==n.t||(r.dense?(i[s]||(i[s]=[]),i[s][c]=n):i[Vr({c:c,r:s})]=n),u=f+1,g=t.charCodeAt(u),a.e.c<c&&(a.e.c=c),a.e.r<s&&(a.e.r=s),v==h)++c;else if(c=0,++s,r.sheetRows&&r.sheetRows<=s)return!0}t:for(;f<t.length;++f)switch(v=t.charCodeAt(f)){case 34:34===g&&(d=!d);break;case h:case 10:case 13:if(!d&&b())break t}return f-u>0&&b(),i["!ref"]=$r(a),i}function s(t,e){return e&&e.PRN?e.FS||"sep="==t.slice(0,4)||t.indexOf("\t")>=0||t.indexOf(",")>=0||t.indexOf(";")>=0?a(t,e):Zr(r(t,e),e):a(t,e)}function c(t,r){var n="",i="string"==r.type?[0,0,0,0]:ff(t,r);switch(r.type){case"base64":n=m(t);break;case"binary":case"string":n=t;break;case"buffer":n=65001==r.codepage?t.toString("utf8"):r.codepage&&void 0!==e?e.utils.decode(r.codepage,t):b&&Buffer.isBuffer(t)?t.toString("binary"):T(t);break;case"array":n=Vt(t);break;default:throw new Error("Unrecognized type "+r.type)}return 239==i[0]&&187==i[1]&&191==i[2]?n=Pe(n.slice(3)):"string"!=r.type&&"buffer"!=r.type&&65001==r.codepage?n=Pe(n):"binary"==r.type&&void 0!==e&&r.codepage&&(n=e.utils.decode(r.codepage,e.utils.encode(28591,n))),"socialcalc:version:"==n.slice(0,19)?Lo.to_sheet("string"==r.type?n:Pe(n),r):s(n,r)}return{to_workbook:function(t,e){return Kr(c(t,e),e)},to_sheet:c,from_sheet:function(t){for(var e,r=[],n=Gr(t["!ref"]),i=Array.isArray(t),o=n.s.r;o<=n.e.r;++o){for(var a=[],s=n.s.c;s<=n.e.c;++s){var c=Vr({r:o,c:s});if((e=i?(t[o]||[])[s]:t[c])&&null!=e.v){for(var l=(e.w||(Yr(e),e.w)||"").slice(0,10);l.length<10;)l+=" ";a.push(l+(0===s?" ":""))}else a.push(" ")}r.push(a.join(""))}return r.join("\n")}}}();var Fo=function(){function t(t,e,r){if(t){Nr(t,t.l||0);for(var n=r.Enum||w;t.l<t.length;){var i=t._R(2),o=n[i]||n[65535],a=t._R(2),s=t.l+a,c=o.f&&o.f(t,a,r);if(t.l=s,e(c,o,i))return}}}function e(e,r){if(!e)return e;var n=r||{};null!=p&&null==n.dense&&(n.dense=p);var i=n.dense?[]:{},o="Sheet1",a="",s=0,c={},l=[],u=[],f={s:{r:0,c:0},e:{r:0,c:0}},h=n.sheetRows||0;if(0==e[2]&&(8==e[3]||9==e[3])&&e.length>=16&&5==e[14]&&108===e[15])throw new Error("Unsupported Works 3 for Mac file");if(2==e[2])n.Enum=w,t(e,(function(t,e,r){switch(r){case 0:n.vers=t,t>=4096&&(n.qpro=!0);break;case 6:f=t;break;case 204:t&&(a=t);break;case 222:a=t;break;case 15:case 51:n.qpro||(t[1].v=t[1].v.slice(1));case 13:case 14:case 16:14==r&&!(112&~t[2])&&(15&t[2])>1&&(15&t[2])<15&&(t[1].z=n.dateNF||M[14],n.cellDates&&(t[1].t="d",t[1].v=Mt(t[1].v))),n.qpro&&t[3]>s&&(i["!ref"]=$r(f),c[o]=i,l.push(o),i=n.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=t[3],o=a||"Sheet"+(s+1),a="");var u=n.dense?(i[t[0].r]||[])[t[0].c]:i[Vr(t[0])];if(u){u.t=t[1].t,u.v=t[1].v,null!=t[1].z&&(u.z=t[1].z),null!=t[1].f&&(u.f=t[1].f);break}n.dense?(i[t[0].r]||(i[t[0].r]=[]),i[t[0].r][t[0].c]=t[1]):i[Vr(t[0])]=t[1]}}),n);else{if(26!=e[2]&&14!=e[2])throw new Error("Unrecognized LOTUS BOF "+e[2]);n.Enum=S,14==e[2]&&(n.qpro=!0,e.l=0),t(e,(function(t,e,r){switch(r){case 204:o=t;break;case 22:t[1].v=t[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(t[3]>s&&(i["!ref"]=$r(f),c[o]=i,l.push(o),i=n.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=t[3],o="Sheet"+(s+1)),h>0&&t[0].r>=h)break;n.dense?(i[t[0].r]||(i[t[0].r]=[]),i[t[0].r][t[0].c]=t[1]):i[Vr(t[0])]=t[1],f.e.c<t[0].c&&(f.e.c=t[0].c),f.e.r<t[0].r&&(f.e.r=t[0].r);break;case 27:t[14e3]&&(u[t[14e3][0]]=t[14e3][1]);break;case 1537:u[t[0]]=t[1],t[0]==s&&(o=t[1])}}),n)}if(i["!ref"]=$r(f),c[a||o]=i,l.push(a||o),!u.length)return{SheetNames:l,Sheets:c};for(var d={},v=[],g=0;g<u.length;++g)c[l[g]]?(v.push(u[g]||l[g]),d[u[g]]=c[u[g]]||c[l[g]]):(v.push(u[g]),d[u[g]]={"!ref":"A1"});return{SheetNames:v,Sheets:d}}function r(t,e,r){var n=[{c:0,r:0},{t:"n",v:0},0,0];return r.qpro&&20768!=r.vers?(n[0].c=t._R(1),n[3]=t._R(1),n[0].r=t._R(2),t.l+=2):(n[2]=t._R(1),n[0].c=t._R(2),n[0].r=t._R(2)),n}function n(t,e,n){var i=t.l+e,o=r(t,0,n);if(o[1].t="s",20768==n.vers){t.l++;var a=t._R(1);return o[1].v=t._R(a,"utf8"),o}return n.qpro&&t.l++,o[1].v=t._R(i-t.l,"cstr"),o}function i(t,e,r){var n=Rr(7+r.length);n._W(1,255),n._W(2,e),n._W(2,t),n._W(1,39);for(var i=0;i<n.length;++i){var o=r.charCodeAt(i);n._W(1,o>=128?95:o)}return n._W(1,0),n}function o(t,e,r){var n=Rr(7);return n._W(1,255),n._W(2,e),n._W(2,t),n._W(2,r,"i"),n}function a(t,e,r){var n=Rr(13);return n._W(1,255),n._W(2,e),n._W(2,t),n._W(8,r,"f"),n}function c(t,e,r){var n=32768&e;return e=(n?t:0)+((e&=-32769)>=8192?e-16384:e),(n?"":"$")+(r?Hr(e):Wr(e))}var l={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},u=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function f(t){var e=[{c:0,r:0},{t:"n",v:0},0];return e[0].r=t._R(2),e[3]=t[t.l++],e[0].c=t[t.l++],e}function h(t,e,r,n){var i=Rr(6+n.length);i._W(2,t),i._W(1,r),i._W(1,e),i._W(1,39);for(var o=0;o<n.length;++o){var a=n.charCodeAt(o);i._W(1,a>=128?95:a)}return i._W(1,0),i}function d(t,e){var r=f(t),n=t._R(4),i=t._R(4),o=t._R(2);if(65535==o)return 0===n&&3221225472===i?(r[1].t="e",r[1].v=15):0===n&&3489660928===i?(r[1].t="e",r[1].v=42):r[1].v=0,r;var a=32768&o;return o=(32767&o)-16446,r[1].v=(1-2*a)*(i*Math.pow(2,o+32)+n*Math.pow(2,o)),r}function v(t,e,r,n){var i=Rr(14);if(i._W(2,t),i._W(1,r),i._W(1,e),0==n)return i._W(4,0),i._W(4,0),i._W(2,65535),i;var o,a=0,s=0,c=0;return n<0&&(a=1,n=-n),s=0|Math.log2(n),2147483648&(c=(n/=Math.pow(2,s-31))>>>0)||(++s,c=(n/=2)>>>0),n-=c,c|=2147483648,c>>>=0,o=(n*=Math.pow(2,32))>>>0,i._W(4,o),i._W(4,c),s+=16383+(a?32768:0),i._W(2,s),i}function g(t,e){var r=f(t),n=t._R(8,"f");return r[1].v=n,r}function b(t,e){return 0==t[t.l+e-1]?t._R(e,"cstr"):""}function y(t,e){var r=Rr(5+t.length);r._W(2,14e3),r._W(2,e);for(var n=0;n<t.length;++n){var i=t.charCodeAt(n);r[r.l++]=i>127?95:i}return r[r.l++]=0,r}var w={0:{n:"BOF",f:Pi},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(t,e,r){var n={s:{c:0,r:0},e:{c:0,r:0}};return 8==e&&r.qpro?(n.s.c=t._R(1),t.l++,n.s.r=t._R(2),n.e.c=t._R(1),t.l++,n.e.r=t._R(2),n):(n.s.c=t._R(2),n.s.r=t._R(2),12==e&&r.qpro&&(t.l+=2),n.e.c=t._R(2),n.e.r=t._R(2),12==e&&r.qpro&&(t.l+=2),65535==n.s.c&&(n.s.c=n.e.c=n.s.r=n.e.r=0),n)}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(t,e,n){var i=r(t,0,n);return i[1].v=t._R(2,"i"),i}},14:{n:"NUMBER",f:function(t,e,n){var i=r(t,0,n);return i[1].v=t._R(8,"f"),i}},15:{n:"LABEL",f:n},16:{n:"FORMULA",f:function(t,e,n){var i=t.l+e,o=r(t,0,n);if(o[1].v=t._R(8,"f"),n.qpro)t.l=i;else{var a=t._R(2);!function(t,e){Nr(t,0);var r=[],n=0,i="",o="",a="",s="";for(;t.l<t.length;){var f=t[t.l++];switch(f){case 0:r.push(t._R(8,"f"));break;case 1:o=c(e[0].c,t._R(2),!0),i=c(e[0].r,t._R(2),!1),r.push(o+i);break;case 2:var h=c(e[0].c,t._R(2),!0),d=c(e[0].r,t._R(2),!1);o=c(e[0].c,t._R(2),!0),i=c(e[0].r,t._R(2),!1),r.push(h+d+":"+o+i);break;case 3:if(t.l<t.length)return void console.error("WK1 premature formula end");break;case 4:r.push("("+r.pop()+")");break;case 5:r.push(t._R(2));break;case 6:for(var p="";f=t[t.l++];)p+=String.fromCharCode(f);r.push('"'+p.replace(/"/g,'""')+'"');break;case 8:r.push("-"+r.pop());break;case 23:r.push("+"+r.pop());break;case 22:r.push("NOT("+r.pop()+")");break;case 20:case 21:s=r.pop(),a=r.pop(),r.push(["AND","OR"][f-20]+"("+a+","+s+")");break;default:if(f<32&&u[f])s=r.pop(),a=r.pop(),r.push(a+u[f]+s);else{if(!l[f])return f<=7?console.error("WK1 invalid opcode "+f.toString(16)):f<=24?console.error("WK1 unsupported op "+f.toString(16)):f<=30?console.error("WK1 invalid opcode "+f.toString(16)):f<=115?console.error("WK1 unsupported function opcode "+f.toString(16)):console.error("WK1 unrecognized opcode "+f.toString(16));if(69==(n=l[f][1])&&(n=t[t.l++]),n>r.length)return void console.error("WK1 bad formula parse 0x"+f.toString(16)+":|"+r.join("|")+"|");var v=r.slice(-n);r.length-=n,r.push(l[f][0]+"("+v.join(",")+")")}}}1==r.length?e[1].f=""+r[0]:console.error("WK1 bad formula parse |"+r.join("|")+"|")}(t.slice(t.l,t.l+a),o),t.l+=a}return o}},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:n},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:b},222:{n:"SHEETNAMELP",f:function(t,e){var r=t[t.l++];r>e-1&&(r=e-1);for(var n="";n.length<r;)n+=String.fromCharCode(t[t.l++]);return n}},65535:{n:""}},S={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:function(t,e){var r=f(t);return r[1].t="s",r[1].v=t._R(e-4,"cstr"),r}},23:{n:"NUMBER17",f:d},24:{n:"NUMBER18",f:function(t,e){var r=f(t);r[1].v=t._R(2);var n=r[1].v>>1;if(1&r[1].v)switch(7&n){case 0:n=5e3*(n>>3);break;case 1:n=500*(n>>3);break;case 2:n=(n>>3)/20;break;case 3:n=(n>>3)/200;break;case 4:n=(n>>3)/2e3;break;case 5:n=(n>>3)/2e4;break;case 6:n=(n>>3)/16;break;case 7:n=(n>>3)/64}return r[1].v=n,r}},25:{n:"FORMULA19",f:function(t,e){var r=d(t);return t.l+=e-14,r}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function(t,e){for(var r={},n=t.l+e;t.l<n;){var i=t._R(2);if(14e3==i){for(r[i]=[0,""],r[i][0]=t._R(2);t[t.l];)r[i][1]+=String.fromCharCode(t[t.l]),t.l++;t.l++}}return r}},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:function(t,e){var r=f(t),n=t._R(4);return r[1].v=n>>6,r}},38:{n:"??"},39:{n:"NUMBER27",f:g},40:{n:"FORMULA28",f:function(t,e){var r=g(t);return t.l+=e-10,r}},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:b},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:function(t,e,r){if(r.qpro&&!(e<21)){var n=t._R(1);return t.l+=17,t.l+=1,t.l+=2,[n,t._R(e-21,"cstr")]}}},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:function(t,e){var r=e||{};if(+r.codepage>=0&&s(+r.codepage),"string"==r.type)throw new Error("Cannot write WK1 to JS string");var n=Lr(),c=Gr(t["!ref"]),l=Array.isArray(t),u=[];tu(n,0,function(t){var e=Rr(2);return e._W(2,t),e}(1030)),tu(n,6,function(t){var e=Rr(8);return e._W(2,t.s.c),e._W(2,t.s.r),e._W(2,t.e.c),e._W(2,t.e.r),e}(c));for(var f=Math.min(c.e.r,8191),h=c.s.r;h<=f;++h)for(var d=Wr(h),p=c.s.c;p<=c.e.c;++p){h===c.s.r&&(u[p]=Hr(p));var v=u[p]+d,g=l?(t[h]||[])[p]:t[v];if(g&&"z"!=g.t)if("n"==g.t)(0|g.v)==g.v&&g.v>=-32768&&g.v<=32767?tu(n,13,o(h,p,g.v)):tu(n,14,a(h,p,g.v));else tu(n,15,i(h,p,Yr(g).slice(0,239)))}return tu(n,1),n.end()},book_to_wk3:function(t,e){var r=e||{};if(+r.codepage>=0&&s(+r.codepage),"string"==r.type)throw new Error("Cannot write WK3 to JS string");var n=Lr();tu(n,0,function(t){var e=Rr(26);e._W(2,4096),e._W(2,4),e._W(4,0);for(var r=0,n=0,i=0,o=0;o<t.SheetNames.length;++o){var a=t.SheetNames[o],s=t.Sheets[a];if(s&&s["!ref"]){++i;var c=qr(s["!ref"]);r<c.e.r&&(r=c.e.r),n<c.e.c&&(n=c.e.c)}}r>8191&&(r=8191);return e._W(2,r),e._W(1,i),e._W(1,n),e._W(2,0),e._W(2,0),e._W(1,1),e._W(1,2),e._W(4,0),e._W(4,0),e}(t));for(var i=0,o=0;i<t.SheetNames.length;++i)(t.Sheets[t.SheetNames[i]]||{})["!ref"]&&tu(n,27,y(t.SheetNames[i],o++));var a=0;for(i=0;i<t.SheetNames.length;++i){var c=t.Sheets[t.SheetNames[i]];if(c&&c["!ref"]){for(var l=Gr(c["!ref"]),u=Array.isArray(c),f=[],d=Math.min(l.e.r,8191),p=l.s.r;p<=d;++p)for(var g=Wr(p),m=l.s.c;m<=l.e.c;++m){p===l.s.r&&(f[m]=Hr(m));var b=f[m]+g,w=u?(c[p]||[])[m]:c[b];if(w&&"z"!=w.t)if("n"==w.t)tu(n,23,v(p,m,a,w.v));else tu(n,22,h(p,m,a,Yr(w).slice(0,239)))}++a}}return tu(n,1),n.end()},to_workbook:function(t,r){switch(r.type){case"base64":return e(x(m(t)),r);case"binary":return e(x(t),r);case"buffer":case"array":return e(t,r)}throw"Unsupported type "+r.type}}}();function jo(t){var e={},r=t.match(he),n=0,i=!1;if(r)for(;n!=r.length;++n){var a=ve(r[n]);switch(a[0].replace(/\w*:/g,"")){case"<condense":case"<extend":break;case"<shadow":if(!a.val)break;case"<shadow>":case"<shadow/>":e.shadow=1;break;case"</shadow>":break;case"<charset":if("1"==a.val)break;e.cp=o[parseInt(a.val,10)];break;case"<outline":if(!a.val)break;case"<outline>":case"<outline/>":e.outline=1;break;case"</outline>":break;case"<rFont":e.name=a.val;break;case"<sz":e.sz=a.val;break;case"<strike":if(!a.val)break;case"<strike>":case"<strike/>":e.strike=1;break;case"</strike>":break;case"<u":if(!a.val)break;switch(a.val){case"double":e.uval="double";break;case"singleAccounting":e.uval="single-accounting";break;case"doubleAccounting":e.uval="double-accounting"}case"<u>":case"<u/>":e.u=1;break;case"</u>":break;case"<b":if("0"==a.val)break;case"<b>":case"<b/>":e.b=1;break;case"</b>":break;case"<i":if("0"==a.val)break;case"<i>":case"<i/>":e.i=1;break;case"</i>":break;case"<color":a.rgb&&(e.color=a.rgb.slice(2,8));break;case"<color>":case"<color/>":case"</color>":break;case"<family":e.family=a.val;break;case"<family>":case"<family/>":case"</family>":break;case"<vertAlign":e.valign=a.val;break;case"<vertAlign>":case"<vertAlign/>":case"</vertAlign>":case"<scheme":case"<scheme>":case"<scheme/>":case"</scheme>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":i=!0;break;case"</ext>":i=!1;break;default:if(47!==a[0].charCodeAt(1)&&!i)throw new Error("Unrecognized rich format "+a[0])}}return e}var Do=function(){var t=Ie("t"),e=Ie("rPr");function r(r){var n=r.match(t);if(!n)return{t:"s",v:""};var i={t:"s",v:ye(n[1])},o=r.match(e);return o&&(i.s=jo(o[1])),i}var n=/<(?:\w+:)?r>/g,i=/<\/(?:\w+:)?r>/;return function(t){return t.replace(n,"").split(i).map(r).filter((function(t){return t.v}))}}(),Mo=function(){var t=/(\r\n|\n)/g;function e(e){var r=[[],e.v,[]];return e.v?(e.s&&function(t,e,r){var n=[];t.u&&n.push("text-decoration: underline;"),t.uval&&n.push("text-underline-style:"+t.uval+";"),t.sz&&n.push("font-size:"+t.sz+"pt;"),t.outline&&n.push("text-effect: outline;"),t.shadow&&n.push("text-shadow: auto;"),e.push('<span style="'+n.join("")+'">'),t.b&&(e.push("<b>"),r.push("</b>")),t.i&&(e.push("<i>"),r.push("</i>")),t.strike&&(e.push("<s>"),r.push("</s>"));var i=t.valign||"";"superscript"==i||"super"==i?i="sup":"subscript"==i&&(i="sub"),""!=i&&(e.push("<"+i+">"),r.push("</"+i+">")),r.push("</span>")}(e.s,r[0],r[2]),r[0].join("")+r[1].replace(t,"<br/>")+r[2].join("")):""}return function(t){return t.map(e).join("")}}(),Bo=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Wo=/<(?:\w+:)?r>/,Uo=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Ho(t,e){var r=!e||e.cellHTML,n={};return t?(t.match(/^\s*<(?:\w+:)?t[^>]*>/)?(n.t=ye(Pe(t.slice(t.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),n.r=Pe(t),r&&(n.h=Ae(n.t))):t.match(Wo)&&(n.r=Pe(t),n.t=ye(Pe((t.replace(Uo,"").match(Bo)||[]).join("").replace(he,""))),r&&(n.h=Mo(Do(n.r)))),n):{t:""}}var zo=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,Vo=/<(?:\w+:)?(?:si|sstItem)>/g,qo=/<\/(?:\w+:)?(?:si|sstItem)>/;var $o=/^\s|\s$|[\t\n\r]/;function Go(t,e){if(!e.bookSST)return"";var r=[le];r[r.length]=ze("sst",null,{xmlns:Xe[0],count:t.Count,uniqueCount:t.Unique});for(var n=0;n!=t.length;++n)if(null!=t[n]){var i=t[n],o="<si>";i.r?o+=i.r:(o+="<t",i.t||(i.t=""),i.t.match($o)&&(o+=' xml:space="preserve"'),o+=">"+xe(i.t)+"</t>"),o+="</si>",r[r.length]=o}return r.length>2&&(r[r.length]="</sst>",r[1]=r[1].replace("/>",">")),r.join("")}var Xo=function(t,e){var r=!1;return null==e&&(r=!0,e=Rr(15+4*t.t.length)),e._W(1,0),en(t.t,e),r?e.slice(0,e.l):e};function Yo(t){var e=Lr();Ir(e,159,function(t,e){return e||(e=Rr(8)),e._W(4,t.Count),e._W(4,t.Unique),e}(t));for(var r=0;r<t.length;++r)Ir(e,19,Xo(t[r]));return Ir(e,160),e.end()}function Ko(t){if(void 0!==e)return e.utils.encode(n,t);for(var r=[],i=t.split(""),o=0;o<i.length;++o)r[o]=i[o].charCodeAt(0);return r}function Jo(t,e){var r={};return r.Major=t._R(2),r.Minor=t._R(2),e>=4&&(t.l+=e-4),r}function Zo(t){for(var e=t._R(4),r=t.l+e-4,n={},i=t._R(4),o=[];i-- >0;)o.push({t:t._R(4),v:t._R(0,"lpp4")});if(n.name=t._R(0,"lpp4"),n.comps=o,t.l!=r)throw new Error("Bad DataSpaceMapEntry: "+t.l+" != "+r);return n}function Qo(t){var e=function(t){var e={};return t._R(4),t.l+=4,e.id=t._R(0,"lpp4"),e.name=t._R(0,"lpp4"),e.R=Jo(t,4),e.U=Jo(t,4),e.W=Jo(t,4),e}(t);if(e.ename=t._R(0,"8lpp4"),e.blksz=t._R(4),e.cmode=t._R(4),4!=t._R(4))throw new Error("Bad !Primary record");return e}function ta(t,e){var r=t.l+e,n={};n.Flags=63&t._R(4),t.l+=4,n.AlgID=t._R(4);var i=!1;switch(n.AlgID){case 26126:case 26127:case 26128:i=36==n.Flags;break;case 26625:i=4==n.Flags;break;case 0:i=16==n.Flags||4==n.Flags||36==n.Flags;break;default:throw"Unrecognized encryption algorithm: "+n.AlgID}if(!i)throw new Error("Encryption Flags/AlgID mismatch");return n.AlgIDHash=t._R(4),n.KeySize=t._R(4),n.ProviderType=t._R(4),t.l+=8,n.CSPName=t._R(r-t.l>>1,"utf16le"),t.l=r,n}function ea(t,e){var r={},n=t.l+e;return t.l+=4,r.Salt=t.slice(t.l,t.l+16),t.l+=16,r.Verifier=t.slice(t.l,t.l+16),t.l+=16,t._R(4),r.VerifierHash=t.slice(t.l,n),t.l=n,r}function ra(t){if(36!=(63&t._R(4)))throw new Error("EncryptionInfo mismatch");var e=t._R(4);return{t:"Std",h:ta(t,e),v:ea(t,t.length-t.l)}}function na(){throw new Error("File is password-protected: ECMA-376 Extensible")}function ia(t){var e=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];t.l+=4;var r=t._R(t.length-t.l,"utf8"),n={};return r.replace(he,(function(t){var r=ve(t);switch(ge(r[0])){case"<?xml":case"<encryption":case"</encryption>":case"</keyEncryptors>":case"</keyEncryptor>":break;case"<keyData":e.forEach((function(t){n[t]=r[t]}));break;case"<dataIntegrity":n.encryptedHmacKey=r.encryptedHmacKey,n.encryptedHmacValue=r.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":n.encs=[];break;case"<keyEncryptor":n.uri=r.uri;break;case"<encryptedKey":n.encs.push(r);break;default:throw r[0]}})),n}function oa(t){var e,r,n=0,i=Ko(t),o=i.length+1;for((e=w(o))[0]=i.length,r=1;r!=o;++r)e[r]=i[r-1];for(r=o-1;r>=0;--r)n=((16384&n?1:0)|n<<1&32767)^e[r];return 52811^n}var aa=function(){var t=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],e=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],r=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],n=function(t,e){return function(t){return 255&(t/2|128*t)}(t^e)},i=function(t){for(var n=e[t.length-1],i=104,o=t.length-1;o>=0;--o)for(var a=t[o],s=0;7!=s;++s)64&a&&(n^=r[i]),a*=2,--i;return n};return function(e){for(var r,o,a,s=Ko(e),c=i(s),l=s.length,u=w(16),f=0;16!=f;++f)u[f]=0;for(1&~l||(r=c>>8,u[l]=n(t[0],r),--l,r=255&c,o=s[s.length-1],u[l]=n(o,r));l>0;)r=c>>8,u[--l]=n(s[l],r),r=255&c,u[--l]=n(s[l],r);for(l=15,a=15-s.length;a>0;)r=c>>8,u[l]=n(t[a],r),--a,r=255&c,u[--l]=n(s[l],r),--l,--a;return u}}(),sa=function(t){var e=0,r=aa(t);return function(t){var n=function(t,e,r,n,i){var o,a;for(i||(i=e),n||(n=aa(t)),o=0;o!=e.length;++o)a=e[o],a=255&((a^=n[r])>>5|a<<3),i[o]=a,++r;return[i,r,n]}("",t,e,r);return e=n[1],n[0]}};function ca(t,e,r){var n=r||{};return n.Info=t._R(2),t.l-=2,1===n.Info?n.Data=function(t){var e={},r=e.EncryptionVersionInfo=Jo(t,4);if(1!=r.Major||1!=r.Minor)throw"unrecognized version code "+r.Major+" : "+r.Minor;return e.Salt=t._R(16),e.EncryptedVerifier=t._R(16),e.EncryptedVerifierHash=t._R(16),e}(t):n.Data=function(t,e){var r={},n=r.EncryptionVersionInfo=Jo(t,4);if(e-=4,2!=n.Minor)throw new Error("unrecognized minor version code: "+n.Minor);if(n.Major>4||n.Major<2)throw new Error("unrecognized major version code: "+n.Major);r.Flags=t._R(4),e-=4;var i=t._R(4);return e-=4,r.EncryptionHeader=ta(t,i),e-=i,r.EncryptionVerifier=ea(t,e),r}(t,e),n}var la=function(){function t(t,r){switch(r.type){case"base64":return e(m(t),r);case"binary":return e(t,r);case"buffer":return e(b&&Buffer.isBuffer(t)?t.toString("binary"):T(t),r);case"array":return e(Vt(t),r)}throw new Error("Unrecognized type "+r.type)}function e(t,e){var r=(e||{}).dense?[]:{},n=t.match(/\\trowd.*?\\row\b/g);if(!n.length)throw new Error("RTF missing table");var i={s:{c:0,r:0},e:{c:0,r:n.length-1}};return n.forEach((function(t,e){Array.isArray(r)&&(r[e]=[]);for(var n,o=/\\\w+\b/g,a=0,s=-1;n=o.exec(t);){if("\\cell"===n[0]){var c=t.slice(a,o.lastIndex-n[0].length);if(" "==c[0]&&(c=c.slice(1)),++s,c.length){var l={v:c,t:"s"};Array.isArray(r)?r[e][s]=l:r[Vr({r:e,c:s})]=l}}a=o.lastIndex}s>i.e.c&&(i.e.c=s)})),r["!ref"]=$r(i),r}return{to_workbook:function(e,r){return Kr(t(e,r),r)},to_sheet:t,from_sheet:function(t){for(var e,r=["{\\rtf1\\ansi"],n=Gr(t["!ref"]),i=Array.isArray(t),o=n.s.r;o<=n.e.r;++o){r.push("\\trowd\\trautofit1");for(var a=n.s.c;a<=n.e.c;++a)r.push("\\cellx"+(a+1));for(r.push("\\pard\\intbl"),a=n.s.c;a<=n.e.c;++a){var s=Vr({r:o,c:a});(e=i?(t[o]||[])[a]:t[s])&&(null!=e.v||e.f&&!e.F)&&(r.push(" "+(e.w||(Yr(e),e.w))),r.push("\\cell"))}r.push("\\pard\\intbl\\row")}return r.join("")+"}"}}}();function ua(t){for(var e=0,r=1;3!=e;++e)r=256*r+(t[e]>255?255:t[e]<0?0:t[e]);return r.toString(16).toUpperCase().slice(1)}function fa(t,e){if(0===e)return t;var r=function(t){var e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.max(e,r,n),o=Math.min(e,r,n),a=i-o;if(0===a)return[0,0,e];var s,c=0,l=i+o;switch(s=a/(l>1?2-l:l),i){case e:c=((r-n)/a+6)%6;break;case r:c=(n-e)/a+2;break;case n:c=(e-r)/a+4}return[c/6,s,l/2]}(function(t){var e=t.slice("#"===t[0]?1:0).slice(0,6);return[parseInt(e.slice(0,2),16),parseInt(e.slice(2,4),16),parseInt(e.slice(4,6),16)]}(t));return r[2]=e<0?r[2]*(1+e):1-(1-r[2])*(1-e),ua(function(t){var e,r=t[0],n=t[1],i=t[2],o=2*n*(i<.5?i:1-i),a=i-o/2,s=[a,a,a],c=6*r;if(0!==n)switch(0|c){case 0:case 6:e=o*c,s[0]+=o,s[1]+=e;break;case 1:e=o*(2-c),s[0]+=e,s[1]+=o;break;case 2:e=o*(c-2),s[1]+=o,s[2]+=e;break;case 3:e=o*(4-c),s[1]+=e,s[2]+=o;break;case 4:e=o*(c-4),s[2]+=o,s[0]+=e;break;case 5:e=o*(6-c),s[2]+=e,s[0]+=o}for(var l=0;3!=l;++l)s[l]=Math.round(255*s[l]);return s}(r))}var ha=6,da=15,pa=1,va=ha;function ga(t){return Math.floor((t+Math.round(128/va)/256)*va)}function ma(t){return Math.floor((t-5)/va*100+.5)/100}function ba(t){return Math.round((t*va+5)/va*256)/256}function ya(t){return ba(ma(ga(t)))}function wa(t){var e=Math.abs(t-ya(t)),r=va;if(e>.005)for(va=pa;va<da;++va)Math.abs(t-ya(t))<=e&&(e=Math.abs(t-ya(t)),r=va);va=r}function Sa(t){t.width?(t.wpx=ga(t.width),t.wch=ma(t.wpx),t.MDW=va):t.wpx?(t.wch=ma(t.wpx),t.width=ba(t.wch),t.MDW=va):"number"==typeof t.wch&&(t.width=ba(t.wch),t.wpx=ga(t.width),t.MDW=va),t.customWidth&&delete t.customWidth}var xa=96;function ka(t){return 96*t/xa}function Ta(t){return t*xa/96}var Aa={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function Ea(t,e,r,n){e.Fonts=[];var i={},a=!1;(t[0].match(he)||[]).forEach((function(t){var s=ve(t);switch(ge(s[0])){case"<fonts":case"<fonts>":case"</fonts>":case"<font":case"<font>":case"<name/>":case"</name>":case"<sz/>":case"</sz>":case"<vertAlign/>":case"</vertAlign>":case"<family/>":case"</family>":case"<scheme/>":case"</scheme>":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"</font>":case"<font/>":e.Fonts.push(i),i={};break;case"<name":s.val&&(i.name=Pe(s.val));break;case"<b":i.bold=s.val?_e(s.val):1;break;case"<b/>":i.bold=1;break;case"<i":i.italic=s.val?_e(s.val):1;break;case"<i/>":i.italic=1;break;case"<u":switch(s.val){case"none":i.underline=0;break;case"single":i.underline=1;break;case"double":i.underline=2;break;case"singleAccounting":i.underline=33;break;case"doubleAccounting":i.underline=34}break;case"<u/>":i.underline=1;break;case"<strike":i.strike=s.val?_e(s.val):1;break;case"<strike/>":i.strike=1;break;case"<outline":i.outline=s.val?_e(s.val):1;break;case"<outline/>":i.outline=1;break;case"<shadow":i.shadow=s.val?_e(s.val):1;break;case"<shadow/>":i.shadow=1;break;case"<condense":i.condense=s.val?_e(s.val):1;break;case"<condense/>":i.condense=1;break;case"<extend":i.extend=s.val?_e(s.val):1;break;case"<extend/>":i.extend=1;break;case"<sz":s.val&&(i.sz=+s.val);break;case"<vertAlign":s.val&&(i.vertAlign=s.val);break;case"<family":s.val&&(i.family=parseInt(s.val,10));break;case"<scheme":s.val&&(i.scheme=s.val);break;case"<charset":if("1"==s.val)break;s.codepage=o[parseInt(s.val,10)];break;case"<color":if(i.color||(i.color={}),s.auto&&(i.color.auto=_e(s.auto)),s.rgb)i.color.rgb=s.rgb.slice(-6);else if(s.indexed){i.color.index=parseInt(s.indexed,10);var c=Mn[i.color.index];81==i.color.index&&(c=Mn[1]),c||(c=Mn[1]),i.color.rgb=c[0].toString(16)+c[1].toString(16)+c[2].toString(16)}else s.theme&&(i.color.theme=parseInt(s.theme,10),s.tint&&(i.color.tint=parseFloat(s.tint)),s.theme&&r.themeElements&&r.themeElements.clrScheme&&(i.color.rgb=fa(r.themeElements.clrScheme[i.color.theme].rgb,i.color.tint||0)));break;case"<AlternateContent":case"<ext":a=!0;break;case"</AlternateContent>":case"</ext>":a=!1;break;default:if(n&&n.WTF&&!a)throw new Error("unrecognized "+s[0]+" in fonts")}}))}var _a=["numFmtId","fillId","fontId","borderId","xfId"],Oa=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];var Na=function(){var t=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,e=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,r=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,n=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,i=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(o,a,s){var c,l={};return o?((c=(o=o.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"")).match(t))&&function(t,e,r){e.NumberFmt=[];for(var n=Nt(M),i=0;i<n.length;++i)e.NumberFmt[n[i]]=M[n[i]];var o=t[0].match(he);if(o)for(i=0;i<o.length;++i){var a=ve(o[i]);switch(ge(a[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":case"</numFmt>":break;case"<numFmt":var s=ye(Pe(a.formatCode)),c=parseInt(a.numFmtId,10);if(e.NumberFmt[c]=s,c>0){if(c>392){for(c=392;c>60&&null!=e.NumberFmt[c];--c);e.NumberFmt[c]=s}bt(s,c)}break;default:if(r.WTF)throw new Error("unrecognized "+a[0]+" in numFmts")}}}(c,l,s),(c=o.match(n))&&Ea(c,l,a,s),(c=o.match(r))&&function(t,e,r,n){e.Fills=[];var i={},o=!1;(t[0].match(he)||[]).forEach((function(t){var r=ve(t);switch(ge(r[0])){case"<fills":case"<fills>":case"</fills>":case"</fill>":case"<gradientFill>":case"<patternFill/>":case"</patternFill>":case"<bgColor/>":case"</bgColor>":case"<fgColor/>":case"</fgColor>":case"<stop":case"<stop/>":case"</stop>":case"<color":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<fill>":case"<fill":case"<fill/>":i={},e.Fills.push(i);break;case"<gradientFill":case"</gradientFill>":e.Fills.push(i),i={};break;case"<patternFill":case"<patternFill>":r.patternType&&(i.patternType=r.patternType);break;case"<bgColor":i.bgColor||(i.bgColor={}),r.indexed&&(i.bgColor.indexed=parseInt(r.indexed,10)),r.theme&&(i.bgColor.theme=parseInt(r.theme,10)),r.tint&&(i.bgColor.tint=parseFloat(r.tint)),r.rgb&&(i.bgColor.rgb=r.rgb.slice(-6));break;case"<fgColor":i.fgColor||(i.fgColor={}),r.theme&&(i.fgColor.theme=parseInt(r.theme,10)),r.tint&&(i.fgColor.tint=parseFloat(r.tint)),null!=r.rgb&&(i.fgColor.rgb=r.rgb.slice(-6));break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(n&&n.WTF&&!o)throw new Error("unrecognized "+r[0]+" in fills")}}))}(c,l,0,s),(c=o.match(i))&&function(t,e,r,n){e.Borders=[];var i={},o=!1;(t[0].match(he)||[]).forEach((function(t){var r=ve(t);switch(ge(r[0])){case"<borders":case"<borders>":case"</borders>":case"</border>":case"<left/>":case"<left":case"<left>":case"</left>":case"<right/>":case"<right":case"<right>":case"</right>":case"<top/>":case"<top":case"<top>":case"</top>":case"<bottom/>":case"<bottom":case"<bottom>":case"</bottom>":case"<diagonal":case"<diagonal>":case"<diagonal/>":case"</diagonal>":case"<horizontal":case"<horizontal>":case"<horizontal/>":case"</horizontal>":case"<vertical":case"<vertical>":case"<vertical/>":case"</vertical>":case"<start":case"<start>":case"<start/>":case"</start>":case"<end":case"<end>":case"<end/>":case"</end>":case"<color":case"<color>":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<border":case"<border>":case"<border/>":i={},r.diagonalUp&&(i.diagonalUp=_e(r.diagonalUp)),r.diagonalDown&&(i.diagonalDown=_e(r.diagonalDown)),e.Borders.push(i);break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(n&&n.WTF&&!o)throw new Error("unrecognized "+r[0]+" in borders")}}))}(c,l,0,s),(c=o.match(e))&&function(t,e,r){var n;e.CellXf=[];var i=!1;(t[0].match(he)||[]).forEach((function(t){var o=ve(t),a=0;switch(ge(o[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":case"</xf>":case"</alignment>":case"<protection":case"</protection>":case"<protection/>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<xf":case"<xf/>":for(delete(n=o)[0],a=0;a<_a.length;++a)n[_a[a]]&&(n[_a[a]]=parseInt(n[_a[a]],10));for(a=0;a<Oa.length;++a)n[Oa[a]]&&(n[Oa[a]]=_e(n[Oa[a]]));if(e.NumberFmt&&n.numFmtId>392)for(a=392;a>60;--a)if(e.NumberFmt[n.numFmtId]==e.NumberFmt[a]){n.numFmtId=a;break}e.CellXf.push(n);break;case"<alignment":case"<alignment/>":var s={};o.vertical&&(s.vertical=o.vertical),o.horizontal&&(s.horizontal=o.horizontal),null!=o.textRotation&&(s.textRotation=o.textRotation),o.indent&&(s.indent=o.indent),o.wrapText&&(s.wrapText=_e(o.wrapText)),n.alignment=s;break;case"<AlternateContent":case"<ext":i=!0;break;case"</AlternateContent>":case"</ext>":i=!1;break;default:if(r&&r.WTF&&!i)throw new Error("unrecognized "+o[0]+" in cellXfs")}}))}(c,l,s),l):l}}();function Ca(t,e){var r,n=[le,ze("styleSheet",null,{xmlns:Xe[0],"xmlns:vt":Ge.vt})];return t.SSF&&null!=(r=function(t){var e=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=t[n]&&(e[e.length]=ze("numFmt",null,{numFmtId:n,formatCode:xe(t[n])}))})),1===e.length?"":(e[e.length]="</numFmts>",e[0]=ze("numFmts",null,{count:e.length-2}).replace("/>",">"),e.join(""))}(t.SSF))&&(n[n.length]=r),n[n.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',n[n.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',n[n.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',n[n.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(r=function(t){var e=[];return e[e.length]=ze("cellXfs",null),t.forEach((function(t){e[e.length]=ze("xf",null,t)})),e[e.length]="</cellXfs>",2===e.length?"":(e[0]=ze("cellXfs",null,{count:e.length-2}).replace("/>",">"),e.join(""))}(e.cellXfs))&&(n[n.length]=r),n[n.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',n[n.length]='<dxfs count="0"/>',n[n.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',n.length>2&&(n[n.length]="</styleSheet>",n[1]=n[1].replace("/>",">")),n.join("")}function Ra(t,e,r){r||(r=Rr(6+4*e.length)),r._W(2,t),en(e,r);var n=r.length>r.l?r.slice(0,r.l):r;return null==r.l&&(r.l=r.length),n}function Pa(t,e){e||(e=Rr(153)),e._W(2,20*t.sz),function(t,e){e||(e=Rr(2));var r=(t.italic?2:0)|(t.strike?8:0)|(t.outline?16:0)|(t.shadow?32:0)|(t.condense?64:0)|(t.extend?128:0);e._W(1,r),e._W(1,0)}(t,e),e._W(2,t.bold?700:400);var r=0;"superscript"==t.vertAlign?r=1:"subscript"==t.vertAlign&&(r=2),e._W(2,r),e._W(1,t.underline||0),e._W(1,t.family||0),e._W(1,t.charset||0),e._W(1,0),An(t.color,e);var n=0;return"major"==t.scheme&&(n=1),"minor"==t.scheme&&(n=2),e._W(1,n),en(t.name,e),e.length>e.l?e.slice(0,e.l):e}var La,Ia=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],Fa=Cr;function ja(t,e){e||(e=Rr(84)),La||(La=Rt(Ia));var r=La[t.patternType];null==r&&(r=40),e._W(4,r);var n=0;if(40!=r)for(An({auto:1},e),An({auto:1},e);n<12;++n)e._W(4,0);else{for(;n<4;++n)e._W(4,0);for(;n<12;++n)e._W(4,0)}return e.length>e.l?e.slice(0,e.l):e}function Da(t,e,r){r||(r=Rr(16)),r._W(2,e||0),r._W(2,t.numFmtId||0),r._W(2,0),r._W(2,0),r._W(2,0),r._W(1,0),r._W(1,0);return r._W(1,0),r._W(1,0),r._W(1,0),r._W(1,0),r}function Ma(t,e){return e||(e=Rr(10)),e._W(1,0),e._W(1,0),e._W(4,0),e._W(4,0),e}var Ba=Cr;function Wa(t){Ir(t,613,Qr(1)),Ir(t,46,function(t,e){return e||(e=Rr(51)),e._W(1,0),Ma(0,e),Ma(0,e),Ma(0,e),Ma(0,e),Ma(0,e),e.length>e.l?e.slice(0,e.l):e}()),Ir(t,614)}function Ua(t){Ir(t,619,Qr(1)),Ir(t,48,function(t,e){return e||(e=Rr(52)),e._W(4,t.xfId),e._W(2,1),e._W(1,+t.builtinId),e._W(1,0),pn(t.name||"",e),e.length>e.l?e.slice(0,e.l):e}({xfId:0,builtinId:0,name:"Normal"})),Ir(t,620)}function Ha(t){Ir(t,508,function(t,e,r){var n=Rr(2052);return n._W(4,t),pn(e,n),pn(r,n),n.length>n.l?n.slice(0,n.l):n}(0,"TableStyleMedium9","PivotStyleMedium4")),Ir(t,509)}function za(t,e){var r=Lr();return Ir(r,278),function(t,e){if(e){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach((function(t){for(var n=t[0];n<=t[1];++n)null!=e[n]&&++r})),0!=r&&(Ir(t,615,Qr(r)),[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=e[n]&&Ir(t,44,Ra(n,e[n]))})),Ir(t,616))}}(r,t.SSF),function(t){Ir(t,611,Qr(1)),Ir(t,43,Pa({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),Ir(t,612)}(r),function(t){Ir(t,603,Qr(2)),Ir(t,45,ja({patternType:"none"})),Ir(t,45,ja({patternType:"gray125"})),Ir(t,604)}(r),Wa(r),function(t){Ir(t,626,Qr(1)),Ir(t,47,Da({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),Ir(t,627)}(r),function(t,e){Ir(t,617,Qr(e.length)),e.forEach((function(e){Ir(t,47,Da(e,0))})),Ir(t,618)}(r,e.cellXfs),Ua(r),function(t){Ir(t,505,Qr(0)),Ir(t,506)}(r),Ha(r),Ir(r,279),r.end()}var Va=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function qa(t,e,r){e.themeElements.clrScheme=[];var n={};(t[0].match(he)||[]).forEach((function(t){var i=ve(t);switch(i[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":n.rgb=i.val;break;case"<a:sysClr":n.rgb=i.lastClr;break;case"<a:dk1>":case"</a:dk1>":case"<a:lt1>":case"</a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":"/"===i[0].charAt(1)?(e.themeElements.clrScheme[Va.indexOf(i[0])]=n,n={}):n.name=i[0].slice(3,i[0].length-1);break;default:if(r&&r.WTF)throw new Error("Unrecognized "+i[0]+" in clrScheme")}}))}function $a(){}function Ga(){}var Xa=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,Ya=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,Ka=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;var Ja=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function Za(t,e){var r;t&&0!==t.length||(t=Qa());var n={};if(!(r=t.match(Ja)))throw new Error("themeElements not found in theme");return function(t,e,r){var n;e.themeElements={},[["clrScheme",Xa,qa],["fontScheme",Ya,$a],["fmtScheme",Ka,Ga]].forEach((function(i){if(!(n=t.match(i[1])))throw new Error(i[0]+" not found in themeElements");i[2](n,e,r)}))}(r[0],n,e),n.raw=t,n}function Qa(t,e){if(e&&e.themeXLSX)return e.themeXLSX;if(t&&"string"==typeof t.raw)return t.raw;var r=[le];return r[r.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',r[r.length]="<a:themeElements>",r[r.length]='<a:clrScheme name="Office">',r[r.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',r[r.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',r[r.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',r[r.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',r[r.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',r[r.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',r[r.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',r[r.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',r[r.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',r[r.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',r[r.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',r[r.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',r[r.length]="</a:clrScheme>",r[r.length]='<a:fontScheme name="Office">',r[r.length]="<a:majorFont>",r[r.length]='<a:latin typeface="Cambria"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Times New Roman"/>',r[r.length]='<a:font script="Hebr" typeface="Times New Roman"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="MoolBoran"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Times New Roman"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:majorFont>",r[r.length]="<a:minorFont>",r[r.length]='<a:latin typeface="Calibri"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Arial"/>',r[r.length]='<a:font script="Hebr" typeface="Arial"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="DaunPenh"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Arial"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:minorFont>",r[r.length]="</a:fontScheme>",r[r.length]='<a:fmtScheme name="Office">',r[r.length]="<a:fillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="1"/>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="0"/>',r[r.length]="</a:gradFill>",r[r.length]="</a:fillStyleLst>",r[r.length]="<a:lnStyleLst>",r[r.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]="</a:lnStyleLst>",r[r.length]="<a:effectStyleLst>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',r[r.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',r[r.length]="</a:effectStyle>",r[r.length]="</a:effectStyleLst>",r[r.length]="<a:bgFillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]="</a:bgFillStyleLst>",r[r.length]="</a:fmtScheme>",r[r.length]="</a:themeElements>",r[r.length]="<a:objectDefaults>",r[r.length]="<a:spDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',r[r.length]="</a:spDef>",r[r.length]="<a:lnDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',r[r.length]="</a:lnDef>",r[r.length]="</a:objectDefaults>",r[r.length]="<a:extraClrSchemeLst/>",r[r.length]="</a:theme>",r.join("")}function ts(t){var e={};switch(e.xclrType=t._R(2),e.nTintShade=t._R(2),e.xclrType){case 0:case 4:t.l+=4;break;case 1:e.xclrValue=function(t,e){return Cr(t,e)}(t,4);break;case 2:e.xclrValue=Gi(t);break;case 3:e.xclrValue=function(t){return t._R(4)}(t)}return t.l+=8,e}function es(t){var e=t._R(2),r=t._R(2)-4,n=[e];switch(e){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:n[1]=ts(t);break;case 6:n[1]=function(t,e){return Cr(t,e)}(t,r);break;case 14:case 15:n[1]=t._R(1===r?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+e+" "+r)}return n}function rs(t,e){e.forEach((function(t){t[0]}))}function ns(){var t=Lr();return Ir(t,332),Ir(t,334,Qr(1)),Ir(t,335,function(t){var e=Rr(12+2*t.name.length);return e._W(4,t.flags),e._W(4,t.version),en(t.name,e),e.slice(0,e.l)}({name:"XLDAPR",version:12e4,flags:3496657072})),Ir(t,336),Ir(t,339,function(t,e){var r=Rr(8+2*e.length);return r._W(4,t),en(e,r),r.slice(0,r.l)}(1,"XLDAPR")),Ir(t,52),Ir(t,35,Qr(514)),Ir(t,4096,Qr(0)),Ir(t,4097,Li(1)),Ir(t,36),Ir(t,53),Ir(t,340),Ir(t,337,function(t,e){var r=Rr(8);return r._W(4,t),r._W(4,e?1:0),r}(1,!0)),Ir(t,51,function(t){var e=Rr(4+8*t.length);e._W(4,t.length);for(var r=0;r<t.length;++r)e._W(4,t[r][0]),e._W(4,t[r][1]);return e}([[1,0]])),Ir(t,338),Ir(t,333),t.end()}function is(){var t=[le];return t.push('<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">\n <metadataTypes count="1">\n <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>\n </metadataTypes>\n <futureMetadata name="XLDAPR" count="1">\n <bk>\n <extLst>\n <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">\n <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>\n </ext>\n </extLst>\n </bk>\n </futureMetadata>\n <cellMetadata count="1">\n <bk>\n <rc t="1" v="0"/>\n </bk>\n </cellMetadata>\n</metadata>'),t.join("")}var os=1024;function as(t,e){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),i=[ze("xml",null,{"xmlns:v":Ye.v,"xmlns:o":Ye.o,"xmlns:x":Ye.x,"xmlns:mv":Ye.mv}).replace(/\/>/,">"),ze("o:shapelayout",ze("o:idmap",null,{"v:ext":"edit",data:t}),{"v:ext":"edit"}),ze("v:shapetype",[ze("v:stroke",null,{joinstyle:"miter"}),ze("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];os<1e3*t;)os+=1e3;return e.forEach((function(t){var e=zr(t[0]),r={color2:"#BEFF82",type:"gradient"};"gradient"==r.type&&(r.angle="-180");var n="gradient"==r.type?ze("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,o=ze("v:fill",n,r);++os,i=i.concat(["<v:shape"+He({id:"_x0000_s"+os,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(t[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",o,ze("v:shadow",null,{on:"t",obscured:"t"}),ze("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Ue("x:Anchor",[e.c+1,0,e.r+1,0,e.c+3,20,e.r+5,20].join(",")),Ue("x:AutoFill","False"),Ue("x:Row",String(e.r)),Ue("x:Column",String(e.c)),t[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])})),i.push("</xml>"),i.join("")}function ss(t,e,r,n){var i,o=Array.isArray(t);e.forEach((function(e){var a=zr(e.ref);if(o?(t[a.r]||(t[a.r]=[]),i=t[a.r][a.c]):i=t[e.ref],!i){i={t:"z"},o?t[a.r][a.c]=i:t[e.ref]=i;var s=Gr(t["!ref"]||"BDWGO1000001:A1");s.s.r>a.r&&(s.s.r=a.r),s.e.r<a.r&&(s.e.r=a.r),s.s.c>a.c&&(s.s.c=a.c),s.e.c<a.c&&(s.e.c=a.c);var c=$r(s);c!==t["!ref"]&&(t["!ref"]=c)}i.c||(i.c=[]);var l={a:e.author,t:e.t,r:e.r,T:r};e.h&&(l.h=e.h);for(var u=i.c.length-1;u>=0;--u){if(!r&&i.c[u].T)return;r&&!i.c[u].T&&i.c.splice(u,1)}if(r&&n)for(u=0;u<n.length;++u)if(l.a==n[u].id){l.a=n[u].name||l.a;break}i.c.push(l)}))}function cs(t){var e=[le,ze("comments",null,{xmlns:Xe[0]})],r=[];return e.push("<authors>"),t.forEach((function(t){t[1].forEach((function(t){var n=xe(t.a);-1==r.indexOf(n)&&(r.push(n),e.push("<author>"+n+"</author>")),t.T&&t.ID&&-1==r.indexOf("tc="+t.ID)&&(r.push("tc="+t.ID),e.push("<author>tc="+t.ID+"</author>"))}))})),0==r.length&&(r.push("SheetJ5"),e.push("<author>SheetJ5</author>")),e.push("</authors>"),e.push("<commentList>"),t.forEach((function(t){var n=0,i=[];if(t[1][0]&&t[1][0].T&&t[1][0].ID?n=r.indexOf("tc="+t[1][0].ID):t[1].forEach((function(t){t.a&&(n=r.indexOf(xe(t.a))),i.push(t.t||"")})),e.push('<comment ref="'+t[0]+'" authorId="'+n+'"><text>'),i.length<=1)e.push(Ue("t",xe(i[0]||"")));else{for(var o="Comment:\n "+i[0]+"\n",a=1;a<i.length;++a)o+="Reply:\n "+i[a]+"\n";e.push(Ue("t",xe(o)))}e.push("</text></comment>")})),e.push("</commentList>"),e.length>2&&(e[e.length]="</comments>",e[1]=e[1].replace("/>",">")),e.join("")}function ls(t,e,r){var n=[le,ze("ThreadedComments",null,{xmlns:Ge.TCMNT}).replace(/[\/]>/,">")];return t.forEach((function(t){var i="";(t[1]||[]).forEach((function(o,a){if(o.T){o.a&&-1==e.indexOf(o.a)&&e.push(o.a);var s={ref:t[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};0==a?i=s.id:s.parentId=i,o.ID=s.id,o.a&&(s.personId="{54EE7950-7262-4200-6969-"+("000000000000"+e.indexOf(o.a)).slice(-12)+"}"),n.push(ze("threadedComment",Ue("text",o.t||""),s))}else delete o.ID}))})),n.push("</ThreadedComments>"),n.join("")}var us=tn;function fs(t){var e=Lr(),r=[];return Ir(e,628),Ir(e,630),t.forEach((function(t){t[1].forEach((function(t){r.indexOf(t.a)>-1||(r.push(t.a.slice(0,54)),Ir(e,632,function(t){return en(t.slice(0,54))}(t.a)))}))})),Ir(e,631),Ir(e,633),t.forEach((function(t){t[1].forEach((function(n){n.iauthor=r.indexOf(n.a);var i={s:zr(t[0]),e:zr(t[0])};Ir(e,635,function(t,e){return null==e&&(e=Rr(36)),e._W(4,t[1].iauthor),xn(t[0],e),e._W(4,0),e._W(4,0),e._W(4,0),e._W(4,0),e}([i,n])),n.t&&n.t.length>0&&Ir(e,637,an(n)),Ir(e,636),delete n.iauthor}))})),Ir(e,634),Ir(e,629),e.end()}var hs="application/vnd.ms-office.vbaProject";var ds=["xlsb","xlsm","xlam","biff8","xla"];var ps=function(){var t=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,e={r:0,c:0};function r(t,r,n,i){var o=!1,a=!1;0==n.length?a=!0:"["==n.charAt(0)&&(a=!0,n=n.slice(1,-1)),0==i.length?o=!0:"["==i.charAt(0)&&(o=!0,i=i.slice(1,-1));var s=n.length>0?0|parseInt(n,10):0,c=i.length>0?0|parseInt(i,10):0;return o?c+=e.c:--c,a?s+=e.r:--s,r+(o?"":"$")+Hr(c)+(a?"":"$")+Wr(s)}return function(n,i){return e=i,n.replace(t,r)}}(),vs=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,gs=function(t,e){return t.replace(vs,(function(t,r,n,i,o,a){var s=Ur(i)-(n?0:e.c),c=Br(a)-(o?0:e.r);return r+"R"+(0==c?"":o?c+1:"["+c+"]")+"C"+(0==s?"":n?s+1:"["+s+"]")}))};function ms(t,e){return t.replace(vs,(function(t,r,n,i,o,a){return r+("$"==n?n+i:Hr(Ur(i)+e.c))+("$"==o?o+a:Wr(Br(a)+e.r))}))}function bs(t,e,r){var n=qr(e).s,i=zr(r);return ms(t,{r:i.r-n.r,c:i.c-n.c})}function ys(t){return t.replace(/_xlfn\./g,"")}function ws(t){t.l+=1}function Ss(t,e){var r=t._R(1==e?1:2);return[16383&r,r>>14&1,r>>15&1]}function xs(t,e,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return ks(t);12==r.biff&&(n=4)}var i=t._R(n),o=t._R(n),a=Ss(t,2),s=Ss(t,2);return{s:{r:i,c:a[0],cRel:a[1],rRel:a[2]},e:{r:o,c:s[0],cRel:s[1],rRel:s[2]}}}function ks(t){var e=Ss(t,2),r=Ss(t,2),n=t._R(1),i=t._R(1);return{s:{r:e[0],c:n,cRel:e[1],rRel:e[2]},e:{r:r[0],c:i,cRel:r[1],rRel:r[2]}}}function Ts(t,e,r){if(r&&r.biff>=2&&r.biff<=5)return function(t){var e=Ss(t,2),r=t._R(1);return{r:e[0],c:r,cRel:e[1],rRel:e[2]}}(t);var n=t._R(r&&12==r.biff?4:2),i=Ss(t,2);return{r:n,c:i[0],cRel:i[1],rRel:i[2]}}function As(t){var e=t._R(2),r=t._R(2);return{r:e,c:255&r,fQuoted:!!(16384&r),cRel:r>>15,rRel:r>>15}}function Es(t){var e=1&t[t.l+1];return t.l+=4,[e,1]}function _s(t){return[t._R(1),t._R(1)]}function Os(t,e){var r=[t._R(1)];if(12==e)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2}switch(r[0]){case 4:r[1]=Ci(t,1)?"TRUE":"FALSE",12!=e&&(t.l+=7);break;case 37:case 16:r[1]=Bn[t[t.l]],t.l+=12==e?4:8;break;case 0:t.l+=8;break;case 1:r[1]=kn(t);break;case 2:r[1]=Ui(t,0,{biff:e>0&&e<8?2:e});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function Ns(t,e,r){for(var n=t._R(12==r.biff?4:2),i=[],o=0;o!=n;++o)i.push((12==r.biff?Sn:Qi)(t,8));return i}function Cs(t,e,r){var n=0,i=0;12==r.biff?(n=t._R(4),i=t._R(4)):(i=1+t._R(1),n=1+t._R(2)),r.biff>=2&&r.biff<8&&(--n,0==--i&&(i=256));for(var o=0,a=[];o!=n&&(a[o]=[]);++o)for(var s=0;s!=i;++s)a[o][s]=Os(t,r.biff);return a}function Rs(t,e,r){return t.l+=2,[As(t)]}function Ps(t){return t.l+=6,[]}function Ls(t){return t.l+=2,[Pi(t),1&t._R(2)]}var Is=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];var Fs={1:{n:"PtgExp",f:function(t,e,r){return t.l++,r&&12==r.biff?[t._R(4,"i"),0]:[t._R(2),t._R(r&&2==r.biff?1:2)]}},2:{n:"PtgTbl",f:Cr},3:{n:"PtgAdd",f:ws},4:{n:"PtgSub",f:ws},5:{n:"PtgMul",f:ws},6:{n:"PtgDiv",f:ws},7:{n:"PtgPower",f:ws},8:{n:"PtgConcat",f:ws},9:{n:"PtgLt",f:ws},10:{n:"PtgLe",f:ws},11:{n:"PtgEq",f:ws},12:{n:"PtgGe",f:ws},13:{n:"PtgGt",f:ws},14:{n:"PtgNe",f:ws},15:{n:"PtgIsect",f:ws},16:{n:"PtgUnion",f:ws},17:{n:"PtgRange",f:ws},18:{n:"PtgUplus",f:ws},19:{n:"PtgUminus",f:ws},20:{n:"PtgPercent",f:ws},21:{n:"PtgParen",f:ws},22:{n:"PtgMissArg",f:ws},23:{n:"PtgStr",f:function(t,e,r){return t.l++,ji(t,0,r)}},26:{n:"PtgSheet",f:function(t,e,r){return t.l+=5,t.l+=2,t.l+=2==r.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function(t,e,r){return t.l+=2==r.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function(t){return t.l++,Bn[t._R(1)]}},29:{n:"PtgBool",f:function(t){return t.l++,0!==t._R(1)}},30:{n:"PtgInt",f:function(t){return t.l++,t._R(2)}},31:{n:"PtgNum",f:function(t){return t.l++,kn(t)}},32:{n:"PtgArray",f:function(t,e,r){var n=(96&t[t.l++])>>5;return t.l+=2==r.biff?6:12==r.biff?14:7,[n]}},33:{n:"PtgFunc",f:function(t,e,r){var n=(96&t[t.l])>>5;t.l+=1;var i=t._R(r&&r.biff<=3?1:2);return[nc[i],rc[i],n]}},34:{n:"PtgFuncVar",f:function(t,e,r){var n=t[t.l++],i=t._R(1),o=r&&r.biff<=3?[88==n?-1:0,t._R(1)]:function(t){return[t[t.l+1]>>7,32767&t._R(2)]}(t);return[i,(0===o[0]?rc:ec)[o[1]]]}},35:{n:"PtgName",f:function(t,e,r){var n=t._R(1)>>>5&3,i=!r||r.biff>=8?4:2,o=t._R(i);switch(r.biff){case 2:t.l+=5;break;case 3:case 4:t.l+=8;break;case 5:t.l+=12}return[n,0,o]}},36:{n:"PtgRef",f:function(t,e,r){var n=(96&t[t.l])>>5;return t.l+=1,[n,Ts(t,0,r)]}},37:{n:"PtgArea",f:function(t,e,r){return[(96&t[t.l++])>>5,xs(t,r.biff>=2&&r.biff,r)]}},38:{n:"PtgMemArea",f:function(t,e,r){var n=t._R(1)>>>5&3;return t.l+=r&&2==r.biff?3:4,[n,t._R(r&&2==r.biff?1:2)]}},39:{n:"PtgMemErr",f:Cr},40:{n:"PtgMemNoMem",f:Cr},41:{n:"PtgMemFunc",f:function(t,e,r){return[t._R(1)>>>5&3,t._R(r&&2==r.biff?1:2)]}},42:{n:"PtgRefErr",f:function(t,e,r){var n=t._R(1)>>>5&3;return t.l+=4,r.biff<8&&t.l--,12==r.biff&&(t.l+=2),[n]}},43:{n:"PtgAreaErr",f:function(t,e,r){var n=(96&t[t.l++])>>5;return t.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}},44:{n:"PtgRefN",f:function(t,e,r){var n=(96&t[t.l])>>5;t.l+=1;var i=function(t,e,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return function(t){var e=t._R(2),r=t._R(1),n=(32768&e)>>15,i=(16384&e)>>14;return e&=16383,1==n&&e>=8192&&(e-=16384),1==i&&r>=128&&(r-=256),{r:e,c:r,cRel:i,rRel:n}}(t);var i=t._R(n>=12?4:2),o=t._R(2),a=(16384&o)>>14,s=(32768&o)>>15;if(o&=16383,1==s)for(;i>524287;)i-=1048576;if(1==a)for(;o>8191;)o-=16384;return{r:i,c:o,cRel:a,rRel:s}}(t,0,r);return[n,i]}},45:{n:"PtgAreaN",f:function(t,e,r){var n=(96&t[t.l++])>>5,i=function(t,e,r){if(r.biff<8)return ks(t);var n=t._R(12==r.biff?4:2),i=t._R(12==r.biff?4:2),o=Ss(t,2),a=Ss(t,2);return{s:{r:n,c:o[0],cRel:o[1],rRel:o[2]},e:{r:i,c:a[0],cRel:a[1],rRel:a[2]}}}(t,0,r);return[n,i]}},46:{n:"PtgMemAreaN",f:function(t){return[t._R(1)>>>5&3,t._R(2)]}},47:{n:"PtgMemNoMemN",f:function(t){return[t._R(1)>>>5&3,t._R(2)]}},57:{n:"PtgNameX",f:function(t,e,r){return 5==r.biff?function(t){var e=t._R(1)>>>5&3,r=t._R(2,"i");t.l+=8;var n=t._R(2);return t.l+=12,[e,r,n]}(t):[t._R(1)>>>5&3,t._R(2),t._R(4)]}},58:{n:"PtgRef3d",f:function(t,e,r){var n=(96&t[t.l])>>5;t.l+=1;var i=t._R(2);return r&&5==r.biff&&(t.l+=12),[n,i,Ts(t,0,r)]}},59:{n:"PtgArea3d",f:function(t,e,r){var n=(96&t[t.l++])>>5,i=t._R(2,"i");if(r)switch(r.biff){case 5:t.l+=12,6;break;case 12:12}return[n,i,xs(t,0,r)]}},60:{n:"PtgRefErr3d",f:function(t,e,r){var n=(96&t[t.l++])>>5,i=t._R(2),o=4;if(r)switch(r.biff){case 5:o=15;break;case 12:o=6}return t.l+=o,[n,i]}},61:{n:"PtgAreaErr3d",f:function(t,e,r){var n=(96&t[t.l++])>>5,i=t._R(2),o=8;if(r)switch(r.biff){case 5:t.l+=12,o=6;break;case 12:o=12}return t.l+=o,[n,i]}},255:{}},js={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},Ds={1:{n:"PtgElfLel",f:Ls},2:{n:"PtgElfRw",f:Rs},3:{n:"PtgElfCol",f:Rs},6:{n:"PtgElfRwV",f:Rs},7:{n:"PtgElfColV",f:Rs},10:{n:"PtgElfRadical",f:Rs},11:{n:"PtgElfRadicalS",f:Ps},13:{n:"PtgElfColS",f:Ps},15:{n:"PtgElfColSV",f:Ps},16:{n:"PtgElfRadicalLel",f:Ls},25:{n:"PtgList",f:function(t){t.l+=2;var e=t._R(2),r=t._R(2),n=t._R(4),i=t._R(2),o=t._R(2);return{ixti:e,coltype:3&r,rt:Is[r>>2&31],idx:n,c:i,C:o}}},29:{n:"PtgSxName",f:function(t){return t.l+=2,[t._R(4)]}},255:{}},Ms={0:{n:"PtgAttrNoop",f:function(t){return t.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(t,e,r){var n=255&t[t.l+1]?1:0;return t.l+=r&&2==r.biff?3:4,[n]}},2:{n:"PtgAttrIf",f:function(t,e,r){var n=255&t[t.l+1]?1:0;return t.l+=2,[n,t._R(r&&2==r.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function(t,e,r){t.l+=2;for(var n=t._R(r&&2==r.biff?1:2),i=[],o=0;o<=n;++o)i.push(t._R(r&&2==r.biff?1:2));return i}},8:{n:"PtgAttrGoto",f:function(t,e,r){var n=255&t[t.l+1]?1:0;return t.l+=2,[n,t._R(r&&2==r.biff?1:2)]}},16:{n:"PtgAttrSum",f:function(t,e,r){t.l+=r&&2==r.biff?3:4}},32:{n:"PtgAttrBaxcel",f:Es},33:{n:"PtgAttrBaxcel",f:Es},64:{n:"PtgAttrSpace",f:function(t){return t._R(2),_s(t)}},65:{n:"PtgAttrSpaceSemi",f:function(t){return t._R(2),_s(t)}},128:{n:"PtgAttrIfError",f:function(t){var e=255&t[t.l+1]?1:0;return t.l+=2,[e,t._R(2)]}},255:{}};function Bs(t,e,r,n){if(n.biff<8)return Cr(t,e);for(var i=t.l+e,o=[],a=0;a!==r.length;++a)switch(r[a][0]){case"PtgArray":r[a][1]=Cs(t,0,n),o.push(r[a][1]);break;case"PtgMemArea":r[a][2]=Ns(t,r[a][1],n),o.push(r[a][2]);break;case"PtgExp":n&&12==n.biff&&(r[a][1][1]=t._R(4),o.push(r[a][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[a][0]}return 0!==(e=i-t.l)&&o.push(Cr(t,e)),o}function Ws(t,e,r){for(var n,i,o=t.l+e,a=[];o!=t.l;)e=o-t.l,i=t[t.l],n=Fs[i]||Fs[js[i]],24!==i&&25!==i||(n=(24===i?Ds:Ms)[t[t.l+1]]),n&&n.f?a.push([n.n,n.f(t,e,r)]):Cr(t,e);return a}function Us(t){for(var e=[],r=0;r<t.length;++r){for(var n=t[r],i=[],o=0;o<n.length;++o){var a=n[o];if(a)if(2===a[0])i.push('"'+a[1].replace(/"/g,'""')+'"');else i.push(a[1]);else i.push("")}e.push(i.join(","))}return e.join(";")}var Hs={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function zs(t,e,r){if(!t)return"SH33TJSERR0";if(r.biff>8&&(!t.XTI||!t.XTI[e]))return t.SheetNames[e];if(!t.XTI)return"SH33TJSERR6";var n=t.XTI[e];if(r.biff<8)return e>1e4&&(e-=65536),e<0&&(e=-e),0==e?"":t.XTI[e-1];if(!n)return"SH33TJSERR1";var i="";if(r.biff>8)switch(t[n[0]][0]){case 357:return i=-1==n[1]?"#REF":t.SheetNames[n[1]],n[1]==n[2]?i:i+":"+t.SheetNames[n[2]];case 358:return null!=r.SID?t.SheetNames[r.SID]:"SH33TJSSAME"+t[n[0]][0];default:return"SH33TJSSRC"+t[n[0]][0]}switch(t[n[0]][0][0]){case 1025:return i=-1==n[1]?"#REF":t.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?i:i+":"+t.SheetNames[n[2]];case 14849:return t[n[0]].slice(1).map((function(t){return t.Name})).join(";;");default:return t[n[0]][0][3]?(i=-1==n[1]?"#REF":t[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?i:i+":"+t[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function Vs(t,e,r){var n=zs(t,e,r);return"#REF"==n?n:function(t,e){if(!(t||e&&e.biff<=5&&e.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(t)?"'"+t+"'":t}(n,r)}function qs(t,e,r,n,i){var o,a,s,c,l=i&&i.biff||8,u={s:{c:0,r:0},e:{c:0,r:0}},f=[],h=0,d=0,p="";if(!t[0]||!t[0][0])return"";for(var v=-1,g="",m=0,b=t[0].length;m<b;++m){var y=t[0][m];switch(y[0]){case"PtgUminus":f.push("-"+f.pop());break;case"PtgUplus":f.push("+"+f.pop());break;case"PtgPercent":f.push(f.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(o=f.pop(),a=f.pop(),v>=0){switch(t[0][v][1][0]){case 0:g=$t(" ",t[0][v][1][1]);break;case 1:g=$t("\r",t[0][v][1][1]);break;default:if(g="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+t[0][v][1][0])}a+=g,v=-1}f.push(a+Hs[y[0]]+o);break;case"PtgIsect":o=f.pop(),a=f.pop(),f.push(a+" "+o);break;case"PtgUnion":o=f.pop(),a=f.pop(),f.push(a+","+o);break;case"PtgRange":o=f.pop(),a=f.pop(),f.push(a+":"+o);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":case"PtgAttrBaxcel":case"PtgAttrSemi":case"PtgMemArea":case"PtgTbl":case"PtgMemErr":case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgRef":s=Fr(y[1][1],u,i),f.push(Dr(s,l));break;case"PtgRefN":s=r?Fr(y[1][1],r,i):y[1][1],f.push(Dr(s,l));break;case"PtgRef3d":h=y[1][1],s=Fr(y[1][2],u,i);p=Vs(n,h,i);f.push(p+"!"+Dr(s,l));break;case"PtgFunc":case"PtgFuncVar":var w=y[1][0],S=y[1][1];w||(w=0);var x=0==(w&=127)?[]:f.slice(-w);f.length-=w,"User"===S&&(S=x.shift()),f.push(S+"("+x.join(",")+")");break;case"PtgBool":f.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":case"PtgErr":f.push(y[1]);break;case"PtgNum":f.push(String(y[1]));break;case"PtgStr":f.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgAreaN":c=jr(y[1][1],r?{s:r}:u,i),f.push(Mr(c,i));break;case"PtgArea":c=jr(y[1][1],u,i),f.push(Mr(c,i));break;case"PtgArea3d":h=y[1][1],c=y[1][2],p=Vs(n,h,i),f.push(p+"!"+Mr(c,i));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgName":d=y[1][2];var k=(n.names||[])[d-1]||(n[0]||[])[d],T=k?k.Name:"SH33TJSNAME"+String(d);T&&"_xlfn."==T.slice(0,6)&&!i.xlfn&&(T=T.slice(6)),f.push(T);break;case"PtgNameX":var A,E=y[1][1];if(d=y[1][2],!(i.biff<=5)){var _="";if(14849==((n[E]||[])[0]||[])[0]||(1025==((n[E]||[])[0]||[])[0]?n[E][d]&&n[E][d].itab>0&&(_=n.SheetNames[n[E][d].itab-1]+"!"):_=n.SheetNames[d-1]+"!"),n[E]&&n[E][d])_+=n[E][d].Name;else if(n[0]&&n[0][d])_+=n[0][d].Name;else{var O=(zs(n,E,i)||"").split(";;");O[d-1]?_=O[d-1]:_+="SH33TJSERRX"}f.push(_);break}E<0&&(E=-E),n[E]&&(A=n[E][d]),A||(A={Name:"SH33TJSERRY"}),f.push(A.Name);break;case"PtgParen":var N="(",C=")";if(v>=0){switch(g="",t[0][v][1][0]){case 2:N=$t(" ",t[0][v][1][1])+N;break;case 3:N=$t("\r",t[0][v][1][1])+N;break;case 4:C=$t(" ",t[0][v][1][1])+C;break;case 5:C=$t("\r",t[0][v][1][1])+C;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+t[0][v][1][0])}v=-1}f.push(N+f.pop()+C);break;case"PtgRefErr":case"PtgRefErr3d":case"PtgAreaErr":case"PtgAreaErr3d":f.push("#REF!");break;case"PtgExp":s={c:y[1][1],r:y[1][0]};var R={c:r.c,r:r.r};if(n.sharedf[Vr(s)]){var P=n.sharedf[Vr(s)];f.push(qs(P,u,R,n,i))}else{var L=!1;for(o=0;o!=n.arrayf.length;++o)if(a=n.arrayf[o],!(s.c<a[0].s.c||s.c>a[0].e.c||s.r<a[0].s.r||s.r>a[0].e.r)){f.push(qs(a[1],u,R,n,i)),L=!0;break}L||f.push(y[1])}break;case"PtgArray":f.push("{"+Us(y[1])+"}");break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":v=m;break;case"PtgMissArg":f.push("");break;case"PtgList":f.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");default:throw new Error("Unrecognized Formula Token: "+String(y))}if(3!=i.biff&&v>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(t[0][m][0])){var I=!0;switch((y=t[0][v])[1][0]){case 4:I=!1;case 0:g=$t(" ",y[1][1]);break;case 5:I=!1;case 1:g=$t("\r",y[1][1]);break;default:if(g="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}f.push((I?g:"")+f.pop()+(I?"":g)),v=-1}}if(f.length>1&&i.WTF)throw new Error("bad formula stack");return f[0]}function $s(t,e,r){var n,i=t.l+e,o=2==r.biff?1:2,a=t._R(o);if(65535==a)return[[],Cr(t,e-2)];var s=Ws(t,a,r);return e!==a+o&&(n=Bs(t,e-a-o,s,r)),t.l=i,[s,n]}function Gs(t,e,r){var n,i=t.l+e,o=t._R(2),a=Ws(t,o,r);return 65535==o?[[],Cr(t,e-2)]:(e!==o+2&&(n=Bs(t,i-o-2,a,r)),[a,n])}function Xs(t,e,r){var n=t.l+e,i=Yi(t);2==r.biff&&++t.l;var o=function(t){var e;if(65535!==br(t,t.l+6))return[kn(t),"n"];switch(t[t.l]){case 0:return t.l+=8,["String","s"];case 1:return e=1===t[t.l+2],t.l+=8,[e,"b"];case 2:return e=t[t.l+2],t.l+=8,[e,"e"];case 3:return t.l+=8,["","s"]}return[]}(t),a=t._R(1);2!=r.biff&&(t._R(1),r.biff>=5&&t._R(4));var s=function(t,e,r){var n,i=t.l+e,o=2==r.biff?1:2,a=t._R(o);if(65535==a)return[[],Cr(t,e-2)];var s=Ws(t,a,r);return e!==a+o&&(n=Bs(t,e-a-o,s,r)),t.l=i,[s,n]}(t,n-t.l,r);return{cell:i,val:o[0],formula:s,shared:a>>3&1,tt:o[1]}}function Ys(t,e,r,n,i){var o=Ki(e,r,i),a=function(t){if(null==t){var e=Rr(8);return e._W(1,3),e._W(1,0),e._W(2,0),e._W(2,0),e._W(2,65535),e}return Tn("number"==typeof t?t:0)}(t.v),s=Rr(6);s._W(2,33),s._W(4,0);for(var c=Rr(t.bf.length),l=0;l<t.bf.length;++l)c[l]=t.bf[l];return E([o,a,s,c])}function Ks(t,e,r){var n=t._R(4),i=Ws(t,n,r),o=t._R(4);return[i,o>0?Bs(t,o,i,r):null]}var Js=Ks,Zs=Ks,Qs=Ks,tc=Ks,ec={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},rc={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},nc={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function ic(t){return"of:"==t.slice(0,3)&&(t=t.slice(3)),61==t.charCodeAt(0)&&61==(t=t.slice(1)).charCodeAt(0)&&(t=t.slice(1)),t=(t=t.replace(/COM\.MICROSOFT\./g,"")).replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,(function(t,e){return e.replace(/\./g,"")})),(t=t.replace(/\[.(#[A-Z]*[?!])\]/g,"$1")).replace(/[;~]/g,",").replace(/\|/g,";")}function oc(t){return("of:="+t.replace(vs,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")}function ac(t){var e=t.split(":");return[e[0].split(".")[0],e[0].split(".")[1]+(e.length>1?":"+(e[1].split(".")[1]||e[1].split(".")[0]):"")]}function sc(t){return t.replace(/\./,"!")}var cc={},lc={},uc="undefined"!=typeof Map;function fc(t,e,r){var n=0,i=t.length;if(r){if(uc?r.has(e):Object.prototype.hasOwnProperty.call(r,e))for(var o=uc?r.get(e):r[e];n<o.length;++n)if(t[o[n]].t===e)return t.Count++,o[n]}else for(;n<i;++n)if(t[n].t===e)return t.Count++,n;return t[i]={t:e},t.Count++,t.Unique++,r&&(uc?(r.has(e)||r.set(e,[]),r.get(e).push(i)):(Object.prototype.hasOwnProperty.call(r,e)||(r[e]=[]),r[e].push(i))),i}function hc(t,e){var r={min:t+1,max:t+1},n=-1;return e.MDW&&(va=e.MDW),null!=e.width?r.customWidth=1:null!=e.wpx?n=ma(e.wpx):null!=e.wch&&(n=e.wch),n>-1?(r.width=ba(n),r.customWidth=1):null!=e.width&&(r.width=e.width),e.hidden&&(r.hidden=!0),null!=e.level&&(r.outlineLevel=r.level=e.level),r}function dc(t,e){if(t){var r=[.7,.7,.75,.75,.3,.3];"xlml"==e&&(r=[1,1,1,1,.5,.5]),null==t.left&&(t.left=r[0]),null==t.right&&(t.right=r[1]),null==t.top&&(t.top=r[2]),null==t.bottom&&(t.bottom=r[3]),null==t.header&&(t.header=r[4]),null==t.footer&&(t.footer=r[5])}}function pc(t,e,r){var n=r.revssf[null!=e.z?e.z:"General"],i=60,o=t.length;if(null==n&&r.ssf)for(;i<392;++i)if(null==r.ssf[i]){bt(e.z,i),r.ssf[i]=e.z,r.revssf[e.z]=n=i;break}for(i=0;i!=o;++i)if(t[i].numFmtId===n)return i;return t[o]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},o}function vc(t,e,r,n,i,o){try{n.cellNF&&(t.z=M[e])}catch(t){if(n.WTF)throw t}if("z"!==t.t||n.cellStyles){if("d"===t.t&&"string"==typeof t.v&&(t.v=zt(t.v)),(!n||!1!==n.cellText)&&"z"!==t.t)try{if(null==M[e]&&bt(xt[e]||"General",e),"e"===t.t)t.w=t.w||Bn[t.v];else if(0===e)if("n"===t.t)(0|t.v)===t.v?t.w=t.v.toString(10):t.w=Y(t.v);else if("d"===t.t){var a=It(t.v);t.w=(0|a)===a?a.toString(10):Y(a)}else{if(void 0===t.v)return"";t.w=K(t.v,lc)}else"d"===t.t?t.w=mt(e,It(t.v),lc):t.w=mt(e,t.v,lc)}catch(t){if(n.WTF)throw t}if(n.cellStyles&&null!=r)try{t.s=o.Fills[r],t.s.fgColor&&t.s.fgColor.theme&&!t.s.fgColor.rgb&&(t.s.fgColor.rgb=fa(i.themeElements.clrScheme[t.s.fgColor.theme].rgb,t.s.fgColor.tint||0),n.WTF&&(t.s.fgColor.raw_rgb=i.themeElements.clrScheme[t.s.fgColor.theme].rgb)),t.s.bgColor&&t.s.bgColor.theme&&(t.s.bgColor.rgb=fa(i.themeElements.clrScheme[t.s.bgColor.theme].rgb,t.s.bgColor.tint||0),n.WTF&&(t.s.bgColor.raw_rgb=i.themeElements.clrScheme[t.s.bgColor.theme].rgb))}catch(t){if(n.WTF&&o.Fills)throw t}}}function gc(t,e,r){if(t&&t["!ref"]){var n=Gr(t["!ref"]);if(n.e.c<n.s.c||n.e.r<n.s.r)throw new Error("Bad range ("+r+"): "+t["!ref"])}}var mc=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,bc=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,yc=/<(?:\w:)?hyperlink [^>]*>/gm,wc=/"(\w*:\w*)"/,Sc=/<(?:\w:)?col\b[^>]*[\/]?>/g,xc=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,kc=/<(?:\w:)?pageMargins[^>]*\/>/g,Tc=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,Ac=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,Ec=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function _c(t,e,r,n,i,o,a){if(!t)return t;n||(n={"!id":{}}),null!=p&&null==e.dense&&(e.dense=p);var s=e.dense?[]:{},c={s:{r:2e6,c:2e6},e:{r:0,c:0}},l="",u="",f=t.match(bc);f?(l=t.slice(0,f.index),u=t.slice(f.index+f[0].length)):l=u=t;var h=l.match(Tc);h?Oc(h[0],s,i,r):(h=l.match(Ac))&&function(t,e,r,n,i){Oc(t.slice(0,t.indexOf(">")),r,n,i)}(h[0],h[1],s,i,r);var d=(l.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var v=l.slice(d,d+50).match(wc);v&&function(t,e){var r=Gr(e);r.s.r<=r.e.r&&r.s.c<=r.e.c&&r.s.r>=0&&r.s.c>=0&&(t["!ref"]=$r(r))}(s,v[1])}var g=l.match(Ec);g&&g[1]&&function(t,e){e.Views||(e.Views=[{}]);(t.match(Rc)||[]).forEach((function(t,r){var n=ve(t);e.Views[r]||(e.Views[r]={}),+n.zoomScale&&(e.Views[r].zoom=+n.zoomScale),_e(n.rightToLeft)&&(e.Views[r].RTL=!0)}))}(g[1],i);var m=[];if(e.cellStyles){var b=l.match(Sc);b&&function(t,e){for(var r=!1,n=0;n!=e.length;++n){var i=ve(e[n],!0);i.hidden&&(i.hidden=_e(i.hidden));var o=parseInt(i.min,10)-1,a=parseInt(i.max,10)-1;for(i.outlineLevel&&(i.level=+i.outlineLevel||0),delete i.min,delete i.max,i.width=+i.width,!r&&i.width&&(r=!0,wa(i.width)),Sa(i);o<=a;)t[o++]=qt(i)}}(m,b)}f&&Lc(f[1],s,e,c,o,a);var y=u.match(xc);y&&(s["!autofilter"]=function(t){var e={ref:(t.match(/ref="([^"]*)"/)||[])[1]};return e}(y[0]));var w=[],S=u.match(mc);if(S)for(d=0;d!=S.length;++d)w[d]=Gr(S[d].slice(S[d].indexOf('"')+1));var x=u.match(yc);x&&function(t,e,r){for(var n=Array.isArray(t),i=0;i!=e.length;++i){var o=ve(Pe(e[i]),!0);if(!o.ref)return;var a=((r||{})["!id"]||[])[o.id];a?(o.Target=a.Target,o.location&&(o.Target+="#"+ye(o.location))):(o.Target="#"+ye(o.location),a={Target:o.Target,TargetMode:"Internal"}),o.Rel=a,o.tooltip&&(o.Tooltip=o.tooltip,delete o.tooltip);for(var s=Gr(o.ref),c=s.s.r;c<=s.e.r;++c)for(var l=s.s.c;l<=s.e.c;++l){var u=Vr({c:l,r:c});n?(t[c]||(t[c]=[]),t[c][l]||(t[c][l]={t:"z",v:void 0}),t[c][l].l=o):(t[u]||(t[u]={t:"z",v:void 0}),t[u].l=o)}}}(s,x,n);var k=u.match(kc);if(k&&(s["!margins"]=function(t){var e={};return["left","right","top","bottom","header","footer"].forEach((function(r){t[r]&&(e[r]=parseFloat(t[r]))})),e}(ve(k[0]))),!s["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(s["!ref"]=$r(c)),e.sheetRows>0&&s["!ref"]){var T=Gr(s["!ref"]);e.sheetRows<=+T.e.r&&(T.e.r=e.sheetRows-1,T.e.r>c.e.r&&(T.e.r=c.e.r),T.e.r<T.s.r&&(T.s.r=T.e.r),T.e.c>c.e.c&&(T.e.c=c.e.c),T.e.c<T.s.c&&(T.s.c=T.e.c),s["!fullref"]=s["!ref"],s["!ref"]=$r(T))}return m.length>0&&(s["!cols"]=m),w.length>0&&(s["!merges"]=w),s}function Oc(t,e,r,n){var i=ve(t);r.Sheets[n]||(r.Sheets[n]={}),i.codeName&&(r.Sheets[n].CodeName=ye(Pe(i.codeName)))}var Nc=["objects","scenarios","selectLockedCells","selectUnlockedCells"],Cc=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];var Rc=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function Pc(t,e,r,n){if(t.c&&r["!comments"].push([e,t.c]),void 0===t.v&&"string"!=typeof t.f||"z"===t.t&&!t.f)return"";var i="",o=t.t,a=t.v;if("z"!==t.t)switch(t.t){case"b":i=t.v?"1":"0";break;case"n":i=""+t.v;break;case"e":i=Bn[t.v];break;case"d":n&&n.cellDates?i=zt(t.v,-1).toISOString():((t=qt(t)).t="n",i=""+(t.v=It(zt(t.v)))),void 0===t.z&&(t.z=M[14]);break;default:i=t.v}var s=Ue("v",xe(i)),c={r:e},l=pc(n.cellXfs,t,n);switch(0!==l&&(c.s=l),t.t){case"n":case"z":break;case"d":c.t="d";break;case"b":c.t="b";break;case"e":c.t="e";break;default:if(null==t.v){delete t.t;break}if(t.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){s=Ue("v",""+fc(n.Strings,t.v,n.revStrings)),c.t="s";break}c.t="str"}if(t.t!=o&&(t.t=o,t.v=a),"string"==typeof t.f&&t.f){var u=t.F&&t.F.slice(0,e.length)==e?{t:"array",ref:t.F}:null;s=ze("f",xe(t.f),u)+(null!=t.v?s:"")}return t.l&&r["!links"].push([e,t.l]),t.D&&(c.cm=1),ze("c",s,c)}var Lc=function(){var t=/<(?:\w+:)?c[ \/>]/,e=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,n=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,i=/ref=["']([^"']*)["']/,o=Ie("v"),a=Ie("f");return function(s,c,l,u,f,h){for(var d,p,v,g,m,b=0,y="",w=[],S=[],x=0,k=0,T=0,A="",E=0,_=0,O=0,N=0,C=Array.isArray(h.CellXf),R=[],P=[],L=Array.isArray(c),I=[],F={},j=!1,D=!!l.sheetStubs,B=s.split(e),W=0,U=B.length;W!=U;++W){var H=(y=B[W].trim()).length;if(0!==H){var z=0;t:for(b=0;b<H;++b)switch(y[b]){case">":if("/"!=y[b-1]){++b;break t}if(l&&l.cellStyles){if(E=null!=(p=ve(y.slice(z,b),!0)).r?parseInt(p.r,10):E+1,_=-1,l.sheetRows&&l.sheetRows<E)continue;F={},j=!1,p.ht&&(j=!0,F.hpt=parseFloat(p.ht),F.hpx=Ta(F.hpt)),"1"==p.hidden&&(j=!0,F.hidden=!0),null!=p.outlineLevel&&(j=!0,F.level=+p.outlineLevel),j&&(I[E-1]=F)}break;case"<":z=b}if(z>=b)break;if(E=null!=(p=ve(y.slice(z,b),!0)).r?parseInt(p.r,10):E+1,_=-1,!(l.sheetRows&&l.sheetRows<E)){u.s.r>E-1&&(u.s.r=E-1),u.e.r<E-1&&(u.e.r=E-1),l&&l.cellStyles&&(F={},j=!1,p.ht&&(j=!0,F.hpt=parseFloat(p.ht),F.hpx=Ta(F.hpt)),"1"==p.hidden&&(j=!0,F.hidden=!0),null!=p.outlineLevel&&(j=!0,F.level=+p.outlineLevel),j&&(I[E-1]=F)),w=y.slice(b).split(t);for(var V=0;V!=w.length&&"<"==w[V].trim().charAt(0);++V);for(w=w.slice(V),b=0;b!=w.length;++b)if(0!==(y=w[b].trim()).length){if(S=y.match(r),x=b,k=0,T=0,y="<c "+("<"==y.slice(0,1)?">":"")+y,null!=S&&2===S.length){for(x=0,A=S[1],k=0;k!=A.length&&!((T=A.charCodeAt(k)-64)<1||T>26);++k)x=26*x+T;_=--x}else++_;for(k=0;k!=y.length&&62!==y.charCodeAt(k);++k);if(++k,(p=ve(y.slice(0,k),!0)).r||(p.r=Vr({r:E-1,c:_})),d={t:""},null!=(S=(A=y.slice(k)).match(o))&&""!==S[1]&&(d.v=ye(S[1])),l.cellFormula){if(null!=(S=A.match(a))&&""!==S[1]){if(d.f=ye(Pe(S[1])).replace(/\r\n/g,"\n"),l.xlfn||(d.f=ys(d.f)),S[0].indexOf('t="array"')>-1)d.F=(A.match(i)||[])[1],d.F.indexOf(":")>-1&&R.push([Gr(d.F),d.F]);else if(S[0].indexOf('t="shared"')>-1){g=ve(S[0]);var q=ye(Pe(S[1]));l.xlfn||(q=ys(q)),P[parseInt(g.si,10)]=[g,q,p.r]}}else(S=A.match(/<f[^>]*\/>/))&&P[(g=ve(S[0])).si]&&(d.f=bs(P[g.si][1],P[g.si][2],p.r));var $=zr(p.r);for(k=0;k<R.length;++k)$.r>=R[k][0].s.r&&$.r<=R[k][0].e.r&&$.c>=R[k][0].s.c&&$.c<=R[k][0].e.c&&(d.F=R[k][1])}if(null==p.t&&void 0===d.v)if(d.f||d.F)d.v=0,d.t="n";else{if(!D)continue;d.t="z"}else d.t=p.t||"n";switch(u.s.c>_&&(u.s.c=_),u.e.c<_&&(u.e.c=_),d.t){case"n":if(""==d.v||null==d.v){if(!D)continue;d.t="z"}else d.v=parseFloat(d.v);break;case"s":if(void 0===d.v){if(!D)continue;d.t="z"}else v=cc[parseInt(d.v,10)],d.v=v.t,d.r=v.r,l.cellHTML&&(d.h=v.h);break;case"str":d.t="s",d.v=null!=d.v?Pe(d.v):"",l.cellHTML&&(d.h=Ae(d.v));break;case"inlineStr":S=A.match(n),d.t="s",null!=S&&(v=Ho(S[1]))?(d.v=v.t,l.cellHTML&&(d.h=v.h)):d.v="";break;case"b":d.v=_e(d.v);break;case"d":l.cellDates?d.v=zt(d.v,1):(d.v=It(zt(d.v,1)),d.t="n");break;case"e":l&&!1===l.cellText||(d.w=d.v),d.v=Wn[d.v]}if(O=N=0,m=null,C&&void 0!==p.s&&null!=(m=h.CellXf[p.s])&&(null!=m.numFmtId&&(O=m.numFmtId),l.cellStyles&&null!=m.fillId&&(N=m.fillId)),vc(d,O,N,l,f,h),l.cellDates&&C&&"n"==d.t&&dt(M[O])&&(d.t="d",d.v=Mt(d.v)),p.cm&&l.xlmeta){var G=(l.xlmeta.Cell||[])[+p.cm-1];G&&"XLDAPR"==G.type&&(d.D=!0)}if(L){var X=zr(p.r);c[X.r]||(c[X.r]=[]),c[X.r][X.c]=d}else c[p.r]=d}}}}I.length>0&&(c["!rows"]=I)}}();function Ic(t,e,r,n){var i,o=[le,ze("worksheet",null,{xmlns:Xe[0],"xmlns:r":Ge.r})],a=r.SheetNames[t],s="",c=r.Sheets[a];null==c&&(c={});var l=c["!ref"]||"A1",u=Gr(l);if(u.e.c>16383||u.e.r>1048575){if(e.WTF)throw new Error("Range "+l+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575),l=$r(u)}n||(n={}),c["!comments"]=[];var f=[];!function(t,e,r,n,i){var o=!1,a={},s=null;if("xlsx"!==n.bookType&&e.vbaraw){var c=e.SheetNames[r];try{e.Workbook&&(c=e.Workbook.Sheets[r].CodeName||c)}catch(t){}o=!0,a.codeName=Le(xe(c))}if(t&&t["!outline"]){var l={summaryBelow:1,summaryRight:1};t["!outline"].above&&(l.summaryBelow=0),t["!outline"].left&&(l.summaryRight=0),s=(s||"")+ze("outlinePr",null,l)}(o||s)&&(i[i.length]=ze("sheetPr",s,a))}(c,r,t,e,o),o[o.length]=ze("dimension",null,{ref:l}),o[o.length]=function(t,e,r,n){var i={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(i.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),ze("sheetViews",ze("sheetView",null,i),{})}(0,0,0,r),e.sheetFormat&&(o[o.length]=ze("sheetFormatPr",null,{defaultRowHeight:e.sheetFormat.defaultRowHeight||"16",baseColWidth:e.sheetFormat.baseColWidth||"10",outlineLevelRow:e.sheetFormat.outlineLevelRow||"7"})),null!=c["!cols"]&&c["!cols"].length>0&&(o[o.length]=function(t,e){for(var r,n=["<cols>"],i=0;i!=e.length;++i)(r=e[i])&&(n[n.length]=ze("col",null,hc(i,r)));return n[n.length]="</cols>",n.join("")}(0,c["!cols"])),o[i=o.length]="<sheetData/>",c["!links"]=[],null!=c["!ref"]&&(s=function(t,e,r,n){var i,o,a=[],s=[],c=Gr(t["!ref"]),l="",u="",f=[],h=0,d=0,p=t["!rows"],v=Array.isArray(t),g={r:u},m=-1;for(d=c.s.c;d<=c.e.c;++d)f[d]=Hr(d);for(h=c.s.r;h<=c.e.r;++h){for(s=[],u=Wr(h),d=c.s.c;d<=c.e.c;++d){i=f[d]+u;var b=v?(t[h]||[])[d]:t[i];void 0!==b&&null!=(l=Pc(b,i,t,e))&&s.push(l)}(s.length>0||p&&p[h])&&(g={r:u},p&&p[h]&&((o=p[h]).hidden&&(g.hidden=1),m=-1,o.hpx?m=ka(o.hpx):o.hpt&&(m=o.hpt),m>-1&&(g.ht=m,g.customHeight=1),o.level&&(g.outlineLevel=o.level)),a[a.length]=ze("row",s.join(""),g))}if(p)for(;h<p.length;++h)p&&p[h]&&(g={r:h+1},(o=p[h]).hidden&&(g.hidden=1),m=-1,o.hpx?m=ka(o.hpx):o.hpt&&(m=o.hpt),m>-1&&(g.ht=m,g.customHeight=1),o.level&&(g.outlineLevel=o.level),a[a.length]=ze("row","",g));return a.join("")}(c,e,0,0),s.length>0&&(o[o.length]=s)),o.length>i+1&&(o[o.length]="</sheetData>",o[i]=o[i].replace("/>",">")),c["!protect"]&&(o[o.length]=function(t){var e={sheet:1};return Nc.forEach((function(r){null!=t[r]&&t[r]&&(e[r]="1")})),Cc.forEach((function(r){null==t[r]||t[r]||(e[r]="0")})),t.password&&(e.password=oa(t.password).toString(16).toUpperCase()),ze("sheetProtection",null,e)}(c["!protect"])),null!=c["!autofilter"]&&(o[o.length]=function(t,e,r,n){var i="string"==typeof t.ref?t.ref:$r(t.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var o=r.Workbook.Names,a=qr(i);a.s.r==a.e.r&&(a.e.r=qr(e["!ref"]).e.r,i=$r(a));for(var s=0;s<o.length;++s){var c=o[s];if("_xlnm._FilterDatabase"==c.Name&&c.Sheet==n){c.Ref="'"+r.SheetNames[n]+"'!"+i;break}}return s==o.length&&o.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+i}),ze("autoFilter",null,{ref:i})}(c["!autofilter"],c,r,t)),null!=c["!merges"]&&c["!merges"].length>0&&(o[o.length]=function(t){if(0===t.length)return"";for(var e='<mergeCells count="'+t.length+'">',r=0;r!=t.length;++r)e+='<mergeCell ref="'+$r(t[r])+'"/>';return e+"</mergeCells>"}(c["!merges"]));var h,d=-1,p=-1;return c["!links"].length>0&&(o[o.length]="<hyperlinks>",c["!links"].forEach((function(t){t[1].Target&&(h={ref:t[0]},"#"!=t[1].Target.charAt(0)&&(p=Xn(n,-1,xe(t[1].Target).replace(/#.*$/,""),Vn.HLINK),h["r:id"]="rId"+p),(d=t[1].Target.indexOf("#"))>-1&&(h.location=xe(t[1].Target.slice(d+1))),t[1].Tooltip&&(h.tooltip=xe(t[1].Tooltip)),o[o.length]=ze("hyperlink",null,h))})),o[o.length]="</hyperlinks>"),delete c["!links"],null!=c["!margins"]&&(o[o.length]=function(t){return dc(t),ze("pageMargins",null,t)}(c["!margins"])),e&&!e.ignoreEC&&null!=e.ignoreEC||(o[o.length]=Ue("ignoredErrors",ze("ignoredError",null,{numberStoredAsText:1,sqref:l}))),f.length>0&&(p=Xn(n,-1,"../drawings/drawing"+(t+1)+".xml",Vn.DRAW),o[o.length]=ze("drawing",null,{"r:id":"rId"+p}),c["!drawing"]=f),c["!comments"].length>0&&(p=Xn(n,-1,"../drawings/vmlDrawing"+(t+1)+".vml",Vn.VML),o[o.length]=ze("legacyDrawing",null,{"r:id":"rId"+p}),c["!legacy"]=p),o.length>1&&(o[o.length]="</worksheet>",o[1]=o[1].replace("/>",">")),o.join("")}function Fc(t,e,r,n){var i=function(t,e,r){var n=Rr(145),i=(r["!rows"]||[])[t]||{};n._W(4,t),n._W(4,0);var o=320;i.hpx?o=20*ka(i.hpx):i.hpt&&(o=20*i.hpt),n._W(2,o),n._W(1,0);var a=0;i.level&&(a|=i.level),i.hidden&&(a|=16),(i.hpx||i.hpt)&&(a|=32),n._W(1,a),n._W(1,0);var s=0,c=n.l;n.l+=4;for(var l={r:t,c:0},u=0;u<16;++u)if(!(e.s.c>u+1<<10||e.e.c<u<<10)){for(var f=-1,h=-1,d=u<<10;d<u+1<<10;++d)l.c=d,(Array.isArray(r)?(r[l.r]||[])[l.c]:r[Vr(l)])&&(f<0&&(f=d),h=d);f<0||(++s,n._W(4,f),n._W(4,h))}var p=n.l;return n.l=c,n._W(4,s),n.l=p,n.length>n.l?n.slice(0,n.l):n}(n,r,e);(i.length>17||(e["!rows"]||[])[n])&&Ir(t,0,i)}var jc=Sn,Dc=xn;function Mc(t){return[ln(t),kn(t),"n"]}var Bc=Sn,Wc=xn;var Uc=["left","right","top","bottom","header","footer"];function Hc(t,e,r,n,i,o,a){if(void 0===e.v)return!1;var s="";switch(e.t){case"b":s=e.v?"1":"0";break;case"d":(e=qt(e)).z=e.z||M[14],e.v=It(zt(e.v)),e.t="n";break;case"n":case"e":s=""+e.v;break;default:s=e.v}var c={r:r,c:n};switch(c.s=pc(i.cellXfs,e,i),e.l&&o["!links"].push([Vr(c),e.l]),e.c&&o["!comments"].push([Vr(c),e.c]),e.t){case"s":case"str":return i.bookSST?(s=fc(i.Strings,e.v,i.revStrings),c.t="s",c.v=s,a?Ir(t,18,function(t,e,r){return null==r&&(r=Rr(8)),un(e,r),r._W(4,e.v),r}(0,c)):Ir(t,7,function(t,e,r){return null==r&&(r=Rr(12)),cn(e,r),r._W(4,e.v),r}(0,c))):(c.t="str",a?Ir(t,17,function(t,e,r){return null==r&&(r=Rr(8+4*t.v.length)),un(e,r),en(t.v,r),r.length>r.l?r.slice(0,r.l):r}(e,c)):Ir(t,6,function(t,e,r){return null==r&&(r=Rr(12+4*t.v.length)),cn(e,r),en(t.v,r),r.length>r.l?r.slice(0,r.l):r}(e,c))),!0;case"n":return e.v==(0|e.v)&&e.v>-1e3&&e.v<1e3?a?Ir(t,13,function(t,e,r){return null==r&&(r=Rr(8)),un(e,r),yn(t.v,r),r}(e,c)):Ir(t,2,function(t,e,r){return null==r&&(r=Rr(12)),cn(e,r),yn(t.v,r),r}(e,c)):a?Ir(t,16,function(t,e,r){return null==r&&(r=Rr(12)),un(e,r),Tn(t.v,r),r}(e,c)):Ir(t,5,function(t,e,r){return null==r&&(r=Rr(16)),cn(e,r),Tn(t.v,r),r}(e,c)),!0;case"b":return c.t="b",a?Ir(t,15,function(t,e,r){return null==r&&(r=Rr(5)),un(e,r),r._W(1,t.v?1:0),r}(e,c)):Ir(t,4,function(t,e,r){return null==r&&(r=Rr(9)),cn(e,r),r._W(1,t.v?1:0),r}(e,c)),!0;case"e":return c.t="e",a?Ir(t,14,function(t,e,r){return null==r&&(r=Rr(8)),un(e,r),r._W(1,t.v),r._W(2,0),r._W(1,0),r}(e,c)):Ir(t,3,function(t,e,r){return null==r&&(r=Rr(9)),cn(e,r),r._W(1,t.v),r}(e,c)),!0}return a?Ir(t,12,function(t,e,r){return null==r&&(r=Rr(4)),un(e,r)}(0,c)):Ir(t,1,function(t,e,r){return null==r&&(r=Rr(8)),cn(e,r)}(0,c)),!0}function zc(t,e){e&&e["!merges"]&&(Ir(t,177,function(t,e){return null==e&&(e=Rr(4)),e._W(4,t),e}(e["!merges"].length)),e["!merges"].forEach((function(e){Ir(t,176,Wc(e))})),Ir(t,178))}function Vc(t,e){e&&e["!cols"]&&(Ir(t,390),e["!cols"].forEach((function(e,r){e&&Ir(t,60,function(t,e,r){null==r&&(r=Rr(18));var n=hc(t,e);r._W(-4,t),r._W(-4,t),r._W(4,256*(n.width||10)),r._W(4,0);var i=0;return e.hidden&&(i|=1),"number"==typeof n.width&&(i|=2),e.level&&(i|=e.level<<8),r._W(2,i),r}(r,e))})),Ir(t,391))}function qc(t,e){e&&e["!ref"]&&(Ir(t,648),Ir(t,649,function(t){var e=Rr(24);return e._W(4,4),e._W(4,1),xn(t,e),e}(Gr(e["!ref"]))),Ir(t,650))}function $c(t,e,r){e["!links"].forEach((function(e){if(e[1].Target){var n=Xn(r,-1,e[1].Target.replace(/#.*$/,""),Vn.HLINK);Ir(t,494,function(t,e){var r=Rr(50+4*(t[1].Target.length+(t[1].Tooltip||"").length));xn({s:zr(t[0]),e:zr(t[0])},r),mn("rId"+e,r);var n=t[1].Target.indexOf("#");return en((-1==n?"":t[1].Target.slice(n+1))||"",r),en(t[1].Tooltip||"",r),en("",r),r.slice(0,r.l)}(e,n))}})),delete e["!links"]}function Gc(t,e,r){Ir(t,133),Ir(t,137,function(t,e,r){null==r&&(r=Rr(30));var n=924;return(((e||{}).Views||[])[0]||{}).RTL&&(n|=32),r._W(2,n),r._W(4,0),r._W(4,0),r._W(4,0),r._W(1,0),r._W(1,0),r._W(2,0),r._W(2,100),r._W(2,0),r._W(2,0),r._W(2,0),r._W(4,0),r}(0,r)),Ir(t,138),Ir(t,134)}function Xc(t,e){e["!protect"]&&Ir(t,535,function(t,e){return null==e&&(e=Rr(66)),e._W(2,t.password?oa(t.password):0),e._W(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach((function(r){r[1]?e._W(4,null==t[r[0]]||t[r[0]]?0:1):e._W(4,null!=t[r[0]]&&t[r[0]]?0:1)})),e}(e["!protect"]))}function Yc(t,e,r,n){var i=Lr(),o=r.SheetNames[t],a=r.Sheets[o]||{},s=o;try{r&&r.Workbook&&(s=r.Workbook.Sheets[t].CodeName||s)}catch(t){}var c=Gr(a["!ref"]||"A1");if(c.e.c>16383||c.e.r>1048575){if(e.WTF)throw new Error("Range "+(a["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575)}return a["!links"]=[],a["!comments"]=[],Ir(i,129),(r.vbaraw||a["!outline"])&&Ir(i,147,function(t,e,r){null==r&&(r=Rr(84+4*t.length));var n=192;e&&(e.above&&(n&=-65),e.left&&(n&=-129)),r._W(1,n);for(var i=1;i<3;++i)r._W(1,0);return An({auto:1},r),r._W(-4,-1),r._W(-4,-1),hn(t,r),r.slice(0,r.l)}(s,a["!outline"])),Ir(i,148,Dc(c)),Gc(i,0,r.Workbook),Vc(i,a),function(t,e,r,n){var i,o=Gr(e["!ref"]||"A1"),a="",s=[];Ir(t,145);var c=Array.isArray(e),l=o.e.r;e["!rows"]&&(l=Math.max(o.e.r,e["!rows"].length-1));for(var u=o.s.r;u<=l;++u){a=Wr(u),Fc(t,e,o,u);var f=!1;if(u<=o.e.r)for(var h=o.s.c;h<=o.e.c;++h){u===o.s.r&&(s[h]=Hr(h)),i=s[h]+a;var d=c?(e[u]||[])[h]:e[i];f=!!d&&Hc(t,d,u,h,n,e,f)}}Ir(t,146)}(i,a,0,e),Xc(i,a),function(t,e,r,n){if(e["!autofilter"]){var i=e["!autofilter"],o="string"==typeof i.ref?i.ref:$r(i.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var a=r.Workbook.Names,s=qr(o);s.s.r==s.e.r&&(s.e.r=qr(e["!ref"]).e.r,o=$r(s));for(var c=0;c<a.length;++c){var l=a[c];if("_xlnm._FilterDatabase"==l.Name&&l.Sheet==n){l.Ref="'"+r.SheetNames[n]+"'!"+o;break}}c==a.length&&a.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+o}),Ir(t,161,xn(Gr(o))),Ir(t,162)}}(i,a,r,t),zc(i,a),$c(i,a,n),a["!margins"]&&Ir(i,476,function(t,e){return null==e&&(e=Rr(48)),dc(t),Uc.forEach((function(r){Tn(t[r],e)})),e}(a["!margins"])),e&&!e.ignoreEC&&null!=e.ignoreEC||qc(i,a),function(t,e,r,n){if(e["!comments"].length>0){var i=Xn(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",Vn.VML);Ir(t,551,mn("rId"+i)),e["!legacy"]=i}}(i,a,t,n),Ir(i,130),i.end()}function Kc(t,e,r,n,i,o){var a=o||{"!type":"chart"};if(!t)return o;var s=0,c=0,l="A",u={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(t.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach((function(t){var e=function(t){var e,r=[],n=t.match(/^<c:numCache>/);(t.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach((function(t){var e=t.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);e&&(r[+e[1]]=n?+e[2]:e[2])}));var i=ye((t.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(t.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach((function(t){e=t.replace(/<.*?>/g,"")})),[r,i,e]}(t);u.s.r=u.s.c=0,u.e.c=s,l=Hr(s),e[0].forEach((function(t,r){a[l+Wr(r)]={t:"n",v:t,z:e[1]},c=r})),u.e.r<c&&(u.e.r=c),++s})),s>0&&(a["!ref"]=$r(u)),a}var Jc=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],Zc=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],Qc=[],tl=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function el(t,e){for(var r=0;r!=t.length;++r)for(var n=t[r],i=0;i!=e.length;++i){var o=e[i];if(null==n[o[0]])n[o[0]]=o[1];else switch(o[2]){case"bool":"string"==typeof n[o[0]]&&(n[o[0]]=_e(n[o[0]]));break;case"int":"string"==typeof n[o[0]]&&(n[o[0]]=parseInt(n[o[0]],10))}}}function rl(t,e){for(var r=0;r!=e.length;++r){var n=e[r];if(null==t[n[0]])t[n[0]]=n[1];else switch(n[2]){case"bool":"string"==typeof t[n[0]]&&(t[n[0]]=_e(t[n[0]]));break;case"int":"string"==typeof t[n[0]]&&(t[n[0]]=parseInt(t[n[0]],10))}}}function nl(t){rl(t.WBProps,Jc),rl(t.CalcPr,tl),el(t.WBView,Zc),el(t.Sheets,Qc),lc.date1904=_e(t.WBProps.date1904)}var il="][*?/\\".split("");function ol(t,e){if(t.length>31){if(e)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return il.forEach((function(n){if(-1!=t.indexOf(n)){if(!e)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}})),r}function al(t){if(!t||!t.SheetNames||!t.Sheets)throw new Error("Invalid Workbook");if(!t.SheetNames.length)throw new Error("Workbook is empty");var e=t.Workbook&&t.Workbook.Sheets||[];!function(t,e,r){t.forEach((function(n,i){ol(n);for(var o=0;o<i;++o)if(n==t[o])throw new Error("Duplicate Sheet Name: "+n);if(r){var a=e&&e[i]&&e[i].CodeName||n;if(95==a.charCodeAt(0)&&a.length>22)throw new Error("Bad Code Name: Worksheet"+a)}}))}(t.SheetNames,e,!!t.vbaraw);for(var r=0;r<t.SheetNames.length;++r)gc(t.Sheets[t.SheetNames[r]],t.SheetNames[r],r)}var sl=/<\w+:workbook/;function cl(t){var e=[le];e[e.length]=ze("workbook",null,{xmlns:Xe[0],"xmlns:r":Ge.r});var r=t.Workbook&&(t.Workbook.Names||[]).length>0,n={codeName:"ThisWorkbook"};t.Workbook&&t.Workbook.WBProps&&(Jc.forEach((function(e){null!=t.Workbook.WBProps[e[0]]&&t.Workbook.WBProps[e[0]]!=e[1]&&(n[e[0]]=t.Workbook.WBProps[e[0]])})),t.Workbook.WBProps.CodeName&&(n.codeName=t.Workbook.WBProps.CodeName,delete n.CodeName)),e[e.length]=ze("workbookPr",null,n);var i=t.Workbook&&t.Workbook.Sheets||[],o=0;if(i&&i[0]&&i[0].Hidden){for(e[e.length]="<bookViews>",o=0;o!=t.SheetNames.length&&i[o]&&i[o].Hidden;++o);o==t.SheetNames.length&&(o=0),e[e.length]='<workbookView firstSheet="'+o+'" activeTab="'+o+'"/>',e[e.length]="</bookViews>"}for(e[e.length]="<sheets>",o=0;o!=t.SheetNames.length;++o){var a={name:xe(t.SheetNames[o].slice(0,31))};if(a.sheetId=""+(o+1),a["r:id"]="rId"+(o+1),i[o])switch(i[o].Hidden){case 1:a.state="hidden";break;case 2:a.state="veryHidden"}e[e.length]=ze("sheet",null,a)}return e[e.length]="</sheets>",r&&(e[e.length]="<definedNames>",t.Workbook&&t.Workbook.Names&&t.Workbook.Names.forEach((function(t){var r={name:t.Name};t.Comment&&(r.comment=t.Comment),null!=t.Sheet&&(r.localSheetId=""+t.Sheet),t.Hidden&&(r.hidden="1"),t.Ref&&(e[e.length]=ze("definedName",xe(t.Ref),r))})),e[e.length]="</definedNames>"),e.length>2&&(e[e.length]="</workbook>",e[1]=e[1].replace("/>",">")),e.join("")}function ll(t,e){return e||(e=Rr(127)),e._W(4,t.Hidden),e._W(4,t.iTabID),mn(t.strRelID,e),en(t.name.slice(0,31),e),e.length>e.l?e.slice(0,e.l):e}function ul(t,e){var r={};return t._R(4),r.ArchID=t._R(4),t.l+=e-8,r}function fl(e,r){r||(r=Rr(127));for(var n=0;4!=n;++n)r._W(4,0);return en("SheetJS",r),en(t.version,r),en(t.version,r),en("7262",r),r.length>r.l?r.slice(0,r.l):r}function hl(t,e){if(e.Workbook&&e.Workbook.Sheets){for(var r=e.Workbook.Sheets,n=0,i=-1,o=-1;n<r.length;++n)!r[n]||!r[n].Hidden&&-1==i?i=n:1==r[n].Hidden&&-1==o&&(o=n);o>i||(Ir(t,135),Ir(t,158,function(t,e){return e||(e=Rr(29)),e._W(-4,0),e._W(-4,460),e._W(4,28800),e._W(4,17600),e._W(4,500),e._W(4,t),e._W(4,t),e._W(1,120),e.length>e.l?e.slice(0,e.l):e}(i)),Ir(t,136))}}function dl(t,e){var r=Lr();return Ir(r,131),Ir(r,128,fl()),Ir(r,153,function(t,e){e||(e=Rr(72));var r=0;return t&&t.filterPrivacy&&(r|=8),e._W(4,r),e._W(4,0),hn(t&&t.CodeName||"ThisWorkbook",e),e.slice(0,e.l)}(t.Workbook&&t.Workbook.WBProps||null)),hl(r,t),function(t,e){Ir(t,143);for(var r=0;r!=e.SheetNames.length;++r)Ir(t,156,ll({Hidden:e.Workbook&&e.Workbook.Sheets&&e.Workbook.Sheets[r]&&e.Workbook.Sheets[r].Hidden||0,iTabID:r+1,strRelID:"rId"+(r+1),name:e.SheetNames[r]}));Ir(t,144)}(r,t),Ir(r,132),r.end()}function pl(t,e,r){return".bin"===e.slice(-4)?function(t,e){var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},n=[],i=!1;e||(e={}),e.biff=12;var o=[],a=[[]];return a.SheetNames=[],a.XTI=[],Zl[16]={n:"BrtFRTArchID$",f:ul},Pr(t,(function(t,s,c){switch(c){case 156:a.SheetNames.push(t.name),r.Sheets.push(t);break;case 153:r.WBProps=t;break;case 39:null!=t.Sheet&&(e.SID=t.Sheet),t.Ref=qs(t.Ptg,0,null,a,e),delete e.SID,delete t.Ptg,o.push(t);break;case 1036:case 361:case 2071:case 158:case 143:case 664:case 353:case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:case 16:break;case 357:case 358:case 355:case 667:a[0].length?a.push([c,t]):a[0]=[c,t],a[a.length-1].XTI=[];break;case 362:0===a.length&&(a[0]=[],a[0].XTI=[]),a[a.length-1].XTI=a[a.length-1].XTI.concat(t),a.XTI=a.XTI.concat(t);break;case 35:case 37:n.push(c),i=!0;break;case 36:case 38:n.pop(),i=!1;break;default:if(s.T);else if(!i||e.WTF&&37!=n[n.length-1]&&35!=n[n.length-1])throw new Error("Unexpected record 0x"+c.toString(16))}}),e),nl(r),r.Names=o,r.supbooks=a,r}(t,r):function(t,e){if(!t)throw new Error("Could not find file");var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},n=!1,i="xmlns",o={},a=0;if(t.replace(he,(function(s,c){var l=ve(s);switch(ge(l[0])){case"<?xml":case"</workbook>":case"<fileVersion/>":case"</fileVersion>":case"<fileSharing":case"<fileSharing/>":case"</workbookPr>":case"<workbookProtection":case"<workbookProtection/>":case"<bookViews":case"<bookViews>":case"</bookViews>":case"</workbookView>":case"<sheets":case"<sheets>":case"</sheets>":case"</sheet>":case"<functionGroups":case"<functionGroups/>":case"<functionGroup":case"<externalReferences":case"</externalReferences>":case"<externalReferences>":case"<externalReference":case"<definedNames/>":case"<definedName/>":case"</calcPr>":case"<oleSize":case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":case"<customWorkbookView":case"</customWorkbookView>":case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":case"<pivotCache":case"<smartTagPr":case"<smartTagPr/>":case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":case"<smartTagType":case"<webPublishing":case"<webPublishing/>":case"<fileRecoveryPr":case"<fileRecoveryPr/>":case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":case"<webPublishObject":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":case"<ArchID":case"<revisionPtr":break;case"<workbook":s.match(sl)&&(i="xmlns"+s.match(/<(\w+):/)[1]),r.xmlns=l[i];break;case"<fileVersion":delete l[0],r.AppVersion=l;break;case"<workbookPr":case"<workbookPr/>":Jc.forEach((function(t){if(null!=l[t[0]])switch(t[2]){case"bool":r.WBProps[t[0]]=_e(l[t[0]]);break;case"int":r.WBProps[t[0]]=parseInt(l[t[0]],10);break;default:r.WBProps[t[0]]=l[t[0]]}})),l.codeName&&(r.WBProps.CodeName=Pe(l.codeName));break;case"<workbookView":case"<workbookView/>":delete l[0],r.WBView.push(l);break;case"<sheet":switch(l.state){case"hidden":l.Hidden=1;break;case"veryHidden":l.Hidden=2;break;default:l.Hidden=0}delete l.state,l.name=ye(Pe(l.name)),delete l[0],r.Sheets.push(l);break;case"<definedNames>":case"<definedNames":case"<ext":case"<AlternateContent":case"<AlternateContent>":n=!0;break;case"</definedNames>":case"</ext>":case"</AlternateContent>":n=!1;break;case"<definedName":(o={}).Name=Pe(l.name),l.comment&&(o.Comment=l.comment),l.localSheetId&&(o.Sheet=+l.localSheetId),_e(l.hidden||"0")&&(o.Hidden=!0),a=c+s.length;break;case"</definedName>":o.Ref=ye(Pe(t.slice(a,c))),r.Names.push(o);break;case"<calcPr":case"<calcPr/>":delete l[0],r.CalcPr=l;break;default:if(!n&&e.WTF)throw new Error("unrecognized "+l[0]+" in workbook")}return s})),-1===Xe.indexOf(r.xmlns))throw new Error("Unknown Namespace: "+r.xmlns);return nl(r),r}(t,r)}function vl(t,e,r,n,i,o,a,s){return".bin"===e.slice(-4)?function(t,e,r,n,i,o,a){if(!t)return t;var s=e||{};n||(n={"!id":{}}),null!=p&&null==s.dense&&(s.dense=p);var c,l,u,f,h,d,v,g,m,b,y=s.dense?[]:{},w={s:{r:2e6,c:2e6},e:{r:0,c:0}},S=[],x=!1,k=!1,T=[];s.biff=12,s["!row"]=0;var A=0,E=!1,_=[],O={},N=s.supbooks||i.supbooks||[[]];if(N.sharedf=O,N.arrayf=_,N.SheetNames=i.SheetNames||i.Sheets.map((function(t){return t.name})),!s.supbooks&&(s.supbooks=N,i.Names))for(var C=0;C<i.Names.length;++C)N[0][C+1]=i.Names[C];var R,P,L=[],I=[],F=!1;if(Zl[16]={n:"BrtShortReal",f:Mc},Pr(t,(function(t,e,p){if(!k)switch(p){case 148:c=t;break;case 0:l=t,s.sheetRows&&s.sheetRows<=l.r&&(k=!0),m=Wr(h=l.r),s["!row"]=l.r,(t.hidden||t.hpt||null!=t.level)&&(t.hpt&&(t.hpx=Ta(t.hpt)),I[t.r]=t);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 62:switch(u={t:t[2]},t[2]){case"n":u.v=t[1];break;case"s":g=cc[t[1]],u.v=g.t,u.r=g.r;break;case"b":u.v=!!t[1];break;case"e":u.v=t[1],!1!==s.cellText&&(u.w=Bn[u.v]);break;case"str":u.t="s",u.v=t[1];break;case"is":u.t="s",u.v=t[1].t}if((f=a.CellXf[t[0].iStyleRef])&&vc(u,f.numFmtId,null,s,o,a),d=-1==t[0].c?d+1:t[0].c,s.dense?(y[h]||(y[h]=[]),y[h][d]=u):y[Hr(d)+m]=u,s.cellFormula){for(E=!1,A=0;A<_.length;++A){var C=_[A];l.r>=C[0].s.r&&l.r<=C[0].e.r&&d>=C[0].s.c&&d<=C[0].e.c&&(u.F=$r(C[0]),E=!0)}!E&&t.length>3&&(u.f=t[3])}if(w.s.r>l.r&&(w.s.r=l.r),w.s.c>d&&(w.s.c=d),w.e.r<l.r&&(w.e.r=l.r),w.e.c<d&&(w.e.c=d),s.cellDates&&f&&"n"==u.t&&dt(M[f.numFmtId])){var j=H(u.v);j&&(u.t="d",u.v=new Date(j.y,j.m-1,j.d,j.H,j.M,j.S,j.u))}R&&("XLDAPR"==R.type&&(u.D=!0),R=void 0),P&&(P=void 0);break;case 1:case 12:if(!s.sheetStubs||x)break;u={t:"z",v:void 0},d=-1==t[0].c?d+1:t[0].c,s.dense?(y[h]||(y[h]=[]),y[h][d]=u):y[Hr(d)+m]=u,w.s.r>l.r&&(w.s.r=l.r),w.s.c>d&&(w.s.c=d),w.e.r<l.r&&(w.e.r=l.r),w.e.c<d&&(w.e.c=d),R&&("XLDAPR"==R.type&&(u.D=!0),R=void 0),P&&(P=void 0);break;case 176:T.push(t);break;case 49:R=((s.xlmeta||{}).Cell||[])[t-1];break;case 494:var D=n["!id"][t.relId];for(D?(t.Target=D.Target,t.loc&&(t.Target+="#"+t.loc),t.Rel=D):""==t.relId&&(t.Target="#"+t.loc),h=t.rfx.s.r;h<=t.rfx.e.r;++h)for(d=t.rfx.s.c;d<=t.rfx.e.c;++d)s.dense?(y[h]||(y[h]=[]),y[h][d]||(y[h][d]={t:"z",v:void 0}),y[h][d].l=t):(v=Vr({c:d,r:h}),y[v]||(y[v]={t:"z",v:void 0}),y[v].l=t);break;case 426:if(!s.cellFormula)break;_.push(t),(b=s.dense?y[h][d]:y[Hr(d)+m]).f=qs(t[1],0,{r:l.r,c:d},N,s),b.F=$r(t[0]);break;case 427:if(!s.cellFormula)break;O[Vr(t[0].s)]=t[1],(b=s.dense?y[h][d]:y[Hr(d)+m]).f=qs(t[1],0,{r:l.r,c:d},N,s);break;case 60:if(!s.cellStyles)break;for(;t.e>=t.s;)L[t.e--]={width:t.w/256,hidden:!!(1&t.flags),level:t.level},F||(F=!0,wa(t.w/256)),Sa(L[t.e+1]);break;case 161:y["!autofilter"]={ref:$r(t)};break;case 476:y["!margins"]=t;break;case 147:i.Sheets[r]||(i.Sheets[r]={}),t.name&&(i.Sheets[r].CodeName=t.name),(t.above||t.left)&&(y["!outline"]={above:t.above,left:t.left});break;case 137:i.Views||(i.Views=[{}]),i.Views[0]||(i.Views[0]={}),t.RTL&&(i.Views[0].RTL=!0);break;case 485:case 64:case 1053:case 151:case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:x=!0;break;case 36:x=!1;break;case 37:S.push(p),x=!0;break;case 38:S.pop(),x=!1;break;default:if(e.T);else if(!x||s.WTF)throw new Error("Unexpected record 0x"+p.toString(16))}}),s),delete s.supbooks,delete s["!row"],!y["!ref"]&&(w.s.r<2e6||c&&(c.e.r>0||c.e.c>0||c.s.r>0||c.s.c>0))&&(y["!ref"]=$r(c||w)),s.sheetRows&&y["!ref"]){var j=Gr(y["!ref"]);s.sheetRows<=+j.e.r&&(j.e.r=s.sheetRows-1,j.e.r>w.e.r&&(j.e.r=w.e.r),j.e.r<j.s.r&&(j.s.r=j.e.r),j.e.c>w.e.c&&(j.e.c=w.e.c),j.e.c<j.s.c&&(j.s.c=j.e.c),y["!fullref"]=y["!ref"],y["!ref"]=$r(j))}return T.length>0&&(y["!merges"]=T),L.length>0&&(y["!cols"]=L),I.length>0&&(y["!rows"]=I),y}(t,n,r,i,o,a,s):_c(t,n,r,i,o,a,s)}function gl(t,e,r,n,i,o,a,s){return".bin"===e.slice(-4)?function(t,e,r,n,i){if(!t)return t;n||(n={"!id":{}});var o={"!type":"chart","!drawel":null,"!rel":""},a=[],s=!1;return Pr(t,(function(t,n,c){switch(c){case 550:o["!rel"]=t;break;case 651:i.Sheets[r]||(i.Sheets[r]={}),t.name&&(i.Sheets[r].CodeName=t.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:a.push(c);break;case 38:a.pop();break;default:if(n.T>0)a.push(c);else if(n.T<0)a.pop();else if(!s||e.WTF)throw new Error("Unexpected record 0x"+c.toString(16))}}),e),n["!id"][o["!rel"]]&&(o["!drawel"]=n["!id"][o["!rel"]]),o}(t,n,r,i,o):function(t,e,r,n,i){if(!t)return t;n||(n={"!id":{}});var o,a={"!type":"chart","!drawel":null,"!rel":""},s=t.match(Tc);return s&&Oc(s[0],0,i,r),(o=t.match(/drawing r:id="(.*?)"/))&&(a["!rel"]=o[1]),n["!id"][a["!rel"]]&&(a["!drawel"]=n["!id"][a["!rel"]]),a}(t,0,r,i,o)}function ml(t,e,r,n){return".bin"===e.slice(-4)?function(t,e,r){var n={NumberFmt:[]};for(var i in M)n.NumberFmt[i]=M[i];n.CellXf=[],n.Fonts=[];var o=[],a=!1;return Pr(t,(function(t,i,s){switch(s){case 44:n.NumberFmt[t[0]]=t[1],bt(t[1],t[0]);break;case 43:n.Fonts.push(t),null!=t.color.theme&&e&&e.themeElements&&e.themeElements.clrScheme&&(t.color.rgb=fa(e.themeElements.clrScheme[t.color.theme].rgb,t.color.tint||0));break;case 1025:case 45:case 46:case 48:case 507:case 572:case 475:case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 47:617==o[o.length-1]&&n.CellXf.push(t);break;case 35:a=!0;break;case 36:a=!1;break;case 37:o.push(s),a=!0;break;case 38:o.pop(),a=!1;break;default:if(i.T>0)o.push(s);else if(i.T<0)o.pop();else if(!a||r.WTF&&37!=o[o.length-1])throw new Error("Unexpected record 0x"+s.toString(16))}})),n}(t,r,n):Na(t,r,n)}function bl(t,e,r){return".bin"===e.slice(-4)?function(t,e){var r=[],n=!1;return Pr(t,(function(t,i,o){switch(o){case 159:r.Count=t[0],r.Unique=t[1];break;case 19:r.push(t);break;case 160:return!0;case 35:n=!0;break;case 36:n=!1;break;default:if(i.T,!n||e.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}})),r}(t,r):function(t,e){var r=[],n="";if(!t)return r;var i=t.match(zo);if(i){n=i[2].replace(Vo,"").split(qo);for(var o=0;o!=n.length;++o){var a=Ho(n[o].trim(),e);null!=a&&(r[r.length]=a)}i=ve(i[1]),r.Count=i.count,r.Unique=i.uniqueCount}return r}(t,r)}function yl(t,e,r){return".bin"===e.slice(-4)?function(t,e){var r=[],n=[],i={},o=!1;return Pr(t,(function(t,a,s){switch(s){case 632:n.push(t);break;case 635:i=t;break;case 637:i.t=t.t,i.h=t.h,i.r=t.r;break;case 636:if(i.author=n[i.iauthor],delete i.iauthor,e.sheetRows&&i.rfx&&e.sheetRows<=i.rfx.r)break;i.t||(i.t=""),delete i.rfx,r.push(i);break;case 3072:case 37:case 38:break;case 35:o=!0;break;case 36:o=!1;break;default:if(a.T);else if(!o||e.WTF)throw new Error("Unexpected record 0x"+s.toString(16))}})),r}(t,r):function(t,e){if(t.match(/<(?:\w+:)?comments *\/>/))return[];var r=[],n=[],i=t.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);i&&i[1]&&i[1].split(/<\/\w*:?author>/).forEach((function(t){if(""!==t&&""!==t.trim()){var e=t.match(/<(?:\w+:)?author[^>]*>(.*)/);e&&r.push(e[1])}}));var o=t.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return o&&o[1]&&o[1].split(/<\/\w*:?comment>/).forEach((function(t){if(""!==t&&""!==t.trim()){var i=t.match(/<(?:\w+:)?comment[^>]*>/);if(i){var o=ve(i[0]),a={author:o.authorId&&r[o.authorId]||"sheetjsghost",ref:o.ref,guid:o.guid},s=zr(o.ref);if(!(e.sheetRows&&e.sheetRows<=s.r)){var c=t.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),l=!!c&&!!c[1]&&Ho(c[1])||{r:"",t:"",h:""};a.r=l.r,"<t></t>"==l.r&&(l.t=l.h=""),a.t=(l.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.cellHTML&&(a.h=l.h),n.push(a)}}}})),n}(t,r)}function wl(t,e,r){return".bin"===e.slice(-4)?function(t,e,r){var n=[];return Pr(t,(function(t,e,r){if(63===r)n.push(t);else if(!e.T)throw new Error("Unexpected record 0x"+r.toString(16))})),n}(t):function(t){var e=[];if(!t)return e;var r=1;return(t.match(he)||[]).forEach((function(t){var n=ve(t);switch(n[0]){case"<?xml":case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete n[0],n.i?r=n.i:n.i=r,e.push(n)}})),e}(t)}function Sl(t,e,r,n){if(".bin"===r.slice(-4))return function(t,e,r,n){if(!t)return t;var i=n||{},o=!1;Pr(t,(function(t,e,r){switch(r){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:o=!0;break;case 36:o=!1;break;default:if(e.T);else if(!o||i.WTF)throw new Error("Unexpected record 0x"+r.toString(16))}}),i)}(t,0,0,n)}function xl(t,e,r){return".bin"===e.slice(-4)?function(t,e,r){var n={Types:[],Cell:[],Value:[]},i=r||{},o=[],a=!1,s=2;return Pr(t,(function(t,e,r){switch(r){case 335:n.Types.push({name:t.name});break;case 51:t.forEach((function(t){1==s?n.Cell.push({type:n.Types[t[0]-1].name,index:t[1]}):0==s&&n.Value.push({type:n.Types[t[0]-1].name,index:t[1]})}));break;case 337:s=t?1:0;break;case 338:s=2;break;case 35:o.push(r),a=!0;break;case 36:o.pop(),a=!1;break;default:if(e.T);else if(!a||i.WTF&&35!=o[o.length-1])throw new Error("Unexpected record 0x"+r.toString(16))}})),n}(t,0,r):function(t,e,r){var n={Types:[],Cell:[],Value:[]};if(!t)return n;var i,o=!1,a=2;return t.replace(he,(function(t){var e=ve(t);switch(ge(e[0])){case"<?xml":case"<metadata":case"</metadata>":case"<metadataTypes":case"</metadataTypes>":case"</metadataType>":case"</futureMetadata>":case"<bk>":case"</bk>":case"</rc>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<metadataType":n.Types.push({name:e.name});break;case"<futureMetadata":for(var s=0;s<n.Types.length;++s)n.Types[s].name==e.name&&(i=n.Types[s]);break;case"<rc":1==a?n.Cell.push({type:n.Types[e.t-1].name,index:+e.v}):0==a&&n.Value.push({type:n.Types[e.t-1].name,index:+e.v});break;case"<cellMetadata":a=1;break;case"</cellMetadata>":case"</valueMetadata>":a=2;break;case"<valueMetadata":a=0;break;case"<ext":o=!0;break;case"</ext>":o=!1;break;case"<rvb":if(!i)break;i.offsets||(i.offsets=[]),i.offsets.push(+e.i);break;default:if(!o&&r.WTF)throw new Error("unrecognized "+e[0]+" in metadata")}return t})),n}(t,0,r)}function kl(t,e,r,n,i){return(".bin"===e.slice(-4)?Yc:Ic)(t,r,n,i)}function Tl(t,e,r){return(".bin"===e.slice(-4)?fs:cs)(t,r)}var Al,El=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,_l=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Ol(t,e){var r=t.split(/\s+/),n=[];if(e||(n[0]=r[0]),1===r.length)return n;var i,o,a,s=t.match(El);if(s)for(a=0;a!=s.length;++a)-1===(o=(i=s[a].match(_l))[1].indexOf(":"))?n[i[1]]=i[2].slice(1,i[2].length-1):n["xmlns:"===i[1].slice(0,6)?"xmlns"+i[1].slice(6):i[1].slice(o+1)]=i[2].slice(1,i[2].length-1);return n}function Nl(t){var e={};if(1===t.split(/\s+/).length)return e;var r,n,i,o=t.match(El);if(o)for(i=0;i!=o.length;++i)-1===(n=(r=o[i].match(_l))[1].indexOf(":"))?e[r[1]]=r[2].slice(1,r[2].length-1):e["xmlns:"===r[1].slice(0,6)?"xmlns"+r[1].slice(6):r[1].slice(n+1)]=r[2].slice(1,r[2].length-1);return e}function Cl(t,e,r,n){var i=n;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":i=_e(n);break;case"i2":case"int":i=parseInt(n,10);break;case"r4":case"float":i=parseFloat(n);break;case"date":case"dateTime.tz":i=zt(n);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}t[ye(e)]=i}function Rl(t,e,r){if("z"!==t.t){if(!r||!1!==r.cellText)try{"e"===t.t?t.w=t.w||Bn[t.v]:"General"===e?"n"===t.t?(0|t.v)===t.v?t.w=t.v.toString(10):t.w=Y(t.v):t.w=K(t.v):t.w=function(t,e){var r=Al[t]||ye(t);return"General"===r?K(e):mt(r,e)}(e||"General",t.v)}catch(t){if(r.WTF)throw t}try{var n=Al[e]||e||"General";if(r.cellNF&&(t.z=n),r.cellDates&&"n"==t.t&&dt(n)){var i=H(t.v);i&&(t.t="d",t.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}catch(t){if(r.WTF)throw t}}}function Pl(t,e,r){if(r.cellStyles&&e.Interior){var n=e.Interior;n.Pattern&&(n.patternType=Aa[n.Pattern]||n.Pattern)}t[e.ID]=e}function Ll(t,e,r,n,i,o,a,s,c,l){var u="General",f=n.StyleID,h={};l=l||{};var d=[],p=0;for(void 0===f&&s&&(f=s.StyleID),void 0===f&&a&&(f=a.StyleID);void 0!==o[f]&&(o[f].nf&&(u=o[f].nf),o[f].Interior&&d.push(o[f].Interior),o[f].Parent);)f=o[f].Parent;switch(r.Type){case"Boolean":n.t="b",n.v=_e(t);break;case"String":n.t="s",n.r=Ee(ye(t)),n.v=t.indexOf("<")>-1?ye(e||t).replace(/<.*?>/g,""):n.r;break;case"DateTime":"Z"!=t.slice(-1)&&(t+="Z"),n.v=(zt(t)-new Date(Date.UTC(1899,11,30)))/864e5,n.v!=n.v?n.v=ye(t):n.v<60&&(n.v=n.v-1),u&&"General"!=u||(u="yyyy-mm-dd");case"Number":void 0===n.v&&(n.v=+t),n.t||(n.t="n");break;case"Error":n.t="e",n.v=Wn[t],!1!==l.cellText&&(n.w=t);break;default:""==t&&""==e?n.t="z":(n.t="s",n.v=Ee(e||t))}if(Rl(n,u,l),!1!==l.cellFormula)if(n.Formula){var v=ye(n.Formula);61==v.charCodeAt(0)&&(v=v.slice(1)),n.f=ps(v,i),delete n.Formula,"RC"==n.ArrayRange?n.F=ps("RC:RC",i):n.ArrayRange&&(n.F=ps(n.ArrayRange,i),c.push([Gr(n.F),n.F]))}else for(p=0;p<c.length;++p)i.r>=c[p][0].s.r&&i.r<=c[p][0].e.r&&i.c>=c[p][0].s.c&&i.c<=c[p][0].e.c&&(n.F=c[p][1]);l.cellStyles&&(d.forEach((function(t){!h.patternType&&t.patternType&&(h.patternType=t.patternType)})),n.s=h),void 0!==n.StyleID&&(n.ixfe=n.StyleID)}function Il(t){t.t=t.v||"",t.t=t.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.v=t.w=t.ixfe=void 0}function Fl(t,r){var n=r||{};wt();var i=f(qe(t));"binary"!=n.type&&"array"!=n.type&&"base64"!=n.type||(i=void 0!==e?e.utils.decode(65001,l(i)):Pe(i));var o,a=i.slice(0,1024).toLowerCase(),s=!1;if((1023&(a=a.replace(/".*?"/g,"")).indexOf(">"))>Math.min(1023&a.indexOf(","),1023&a.indexOf(";"))){var c=qt(n);return c.type="string",Io.to_workbook(i,c)}if(-1==a.indexOf("<?xml")&&["html","table","head","meta","script","style","div"].forEach((function(t){a.indexOf("<"+t)>=0&&(s=!0)})),s)return function(t,e){var r=t.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi);if(!r||0==r.length)throw new Error("Invalid HTML: could not find <table>");if(1==r.length)return Kr(uu(r[0],e),e);var n={SheetNames:[],Sheets:{}};return r.forEach((function(t,r){If(n,uu(t,e),"Sheet"+(r+1))})),n}(i,n);Al={"General Number":"General","General Date":M[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":M[15],"Short Date":M[14],"Long Time":M[19],"Medium Time":M[18],"Short Time":M[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:M[2],Standard:M[4],Percent:M[10],Scientific:M[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var u,h=[];null!=p&&null==n.dense&&(n.dense=p);var d,v={},g=[],m=n.dense?[]:{},b="",y={},w={},S=Ol('<Data ss:Type="String">'),x=0,k=0,T=0,A={s:{r:2e6,c:2e6},e:{r:0,c:0}},E={},_={},O="",N=0,C=[],R={},P={},L=0,I=[],F=[],j={},D=[],B=!1,W=[],U=[],H={},z=0,V=0,q={Sheets:[],WBProps:{date1904:!1}},$={};$e.lastIndex=0,i=i.replace(/<!--([\s\S]*?)-->/gm,"");for(var G="";o=$e.exec(i);)switch(o[3]=(G=o[3]).toLowerCase()){case"data":if("data"==G){if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else"/"!==o[0].charAt(o[0].length-2)&&h.push([o[3],!0]);break}if(h[h.length-1][1])break;"/"===o[1]?Ll(i.slice(x,o.index),O,S,"comment"==h[h.length-1][0]?j:y,{c:k,r:T},E,D[k],w,W,n):(O="",S=Ol(o[0]),x=o.index+o[0].length);break;case"cell":if("/"===o[1])if(F.length>0&&(y.c=F),(!n.sheetRows||n.sheetRows>T)&&void 0!==y.v&&(n.dense?(m[T]||(m[T]=[]),m[T][k]=y):m[Hr(k)+Wr(T)]=y),y.HRef&&(y.l={Target:ye(y.HRef)},y.HRefScreenTip&&(y.l.Tooltip=y.HRefScreenTip),delete y.HRef,delete y.HRefScreenTip),(y.MergeAcross||y.MergeDown)&&(z=k+(0|parseInt(y.MergeAcross,10)),V=T+(0|parseInt(y.MergeDown,10)),C.push({s:{c:k,r:T},e:{c:z,r:V}})),n.sheetStubs)if(y.MergeAcross||y.MergeDown){for(var X=k;X<=z;++X)for(var Y=T;Y<=V;++Y)(X>k||Y>T)&&(n.dense?(m[Y]||(m[Y]=[]),m[Y][X]={t:"z"}):m[Hr(X)+Wr(Y)]={t:"z"});k=z+1}else++k;else y.MergeAcross?k=z+1:++k;else(y=Nl(o[0])).Index&&(k=+y.Index-1),k<A.s.c&&(A.s.c=k),k>A.e.c&&(A.e.c=k),"/>"===o[0].slice(-2)&&++k,F=[];break;case"row":"/"===o[1]||"/>"===o[0].slice(-2)?(T<A.s.r&&(A.s.r=T),T>A.e.r&&(A.e.r=T),"/>"===o[0].slice(-2)&&(w=Ol(o[0])).Index&&(T=+w.Index-1),k=0,++T):((w=Ol(o[0])).Index&&(T=+w.Index-1),H={},("0"==w.AutoFitHeight||w.Height)&&(H.hpx=parseInt(w.Height,10),H.hpt=ka(H.hpx),U[T]=H),"1"==w.Hidden&&(H.hidden=!0,U[T]=H));break;case"worksheet":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"));g.push(b),A.s.r<=A.e.r&&A.s.c<=A.e.c&&(m["!ref"]=$r(A),n.sheetRows&&n.sheetRows<=A.e.r&&(m["!fullref"]=m["!ref"],A.e.r=n.sheetRows-1,m["!ref"]=$r(A))),C.length&&(m["!merges"]=C),D.length>0&&(m["!cols"]=D),U.length>0&&(m["!rows"]=U),v[b]=m}else A={s:{r:2e6,c:2e6},e:{r:0,c:0}},T=k=0,h.push([o[3],!1]),u=Ol(o[0]),b=ye(u.Name),m=n.dense?[]:{},C=[],W=[],U=[],$={name:b,Hidden:0},q.Sheets.push($);break;case"table":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else{if("/>"==o[0].slice(-2))break;h.push([o[3],!1]),D=[],B=!1}break;case"style":"/"===o[1]?Pl(E,_,n):_=Ol(o[0]);break;case"numberformat":_.nf=ye(Ol(o[0]).Format||"General"),Al[_.nf]&&(_.nf=Al[_.nf]);for(var K=0;392!=K&&M[K]!=_.nf;++K);if(392==K)for(K=57;392!=K;++K)if(null==M[K]){bt(_.nf,K);break}break;case"column":if("table"!==h[h.length-1][0])break;if((d=Ol(o[0])).Hidden&&(d.hidden=!0,delete d.Hidden),d.Width&&(d.wpx=parseInt(d.Width,10)),!B&&d.wpx>10){B=!0,va=ha;for(var J=0;J<D.length;++J)D[J]&&Sa(D[J])}B&&Sa(d),D[d.Index-1||D.length]=d;for(var Z=0;Z<+d.Span;++Z)D[D.length]=qt(d);break;case"namedrange":if("/"===o[1])break;q.Names||(q.Names=[]);var Q=ve(o[0]),tt={Name:Q.Name,Ref:ps(Q.RefersTo.slice(1),{r:0,c:0})};q.Sheets.length>0&&(tt.Sheet=q.Sheets.length-1),q.Names.push(tt);break;case"namedcell":case"b":case"i":case"u":case"s":case"em":case"h2":case"h3":case"sub":case"sup":case"span":case"alignment":case"borders":case"border":case"protection":case"paragraphs":case"name":case"pixelsperinch":case"null":break;case"font":if("/>"===o[0].slice(-2))break;"/"===o[1]?O+=i.slice(N,o.index):N=o.index+o[0].length;break;case"interior":if(!n.cellStyles)break;_.Interior=Ol(o[0]);break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===o[0].slice(-2))break;"/"===o[1]?hi(R,G,i.slice(L,o.index)):L=o.index+o[0].length;break;case"styles":case"workbook":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else h.push([o[3],!1]);break;case"comment":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"));Il(j),F.push(j)}else h.push([o[3],!1]),j={a:(u=Ol(o[0])).Author};break;case"autofilter":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else if("/"!==o[0].charAt(o[0].length-2)){var et=Ol(o[0]);m["!autofilter"]={ref:ps(et.Range).replace(/\$/g,"")},h.push([o[3],!0])}break;case"datavalidation":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else"/"!==o[0].charAt(o[0].length-2)&&h.push([o[3],!0]);break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else"/"!==o[0].charAt(o[0].length-2)&&h.push([o[3],!0]);break;default:if(0==h.length&&"document"==o[3])return ku(i,n);if(0==h.length&&"uof"==o[3])return ku(i,n);var rt=!0;switch(h[h.length-1][0]){case"officedocumentsettings":switch(o[3]){case"allowpng":case"removepersonalinformation":case"downloadcomponents":case"locationofcomponents":case"colors":case"color":case"index":case"rgb":case"targetscreensize":case"readonlyrecommended":break;default:rt=!1}break;case"componentoptions":switch(o[3]){case"toolbar":case"hideofficelogo":case"spreadsheetautofit":case"label":case"caption":case"maxheight":case"maxwidth":case"nextsheetnumber":break;default:rt=!1}break;case"excelworkbook":switch(o[3]){case"date1904":q.WBProps.date1904=!0;break;case"windowheight":case"windowwidth":case"windowtopx":case"windowtopy":case"tabratio":case"protectstructure":case"protectwindow":case"protectwindows":case"activesheet":case"displayinknotes":case"firstvisiblesheet":case"supbook":case"sheetname":case"sheetindex":case"sheetindexfirst":case"sheetindexlast":case"dll":case"acceptlabelsinformulas":case"donotsavelinkvalues":case"iteration":case"maxiterations":case"maxchange":case"path":case"xct":case"count":case"selectedsheets":case"calculation":case"uncalced":case"startupprompt":case"crn":case"externname":case"formula":case"colfirst":case"collast":case"wantadvise":case"boolean":case"error":case"text":case"ole":case"noautorecover":case"publishobjects":case"donotcalculatebeforesave":case"number":case"refmoder1c1":case"embedsavesmarttags":break;default:rt=!1}break;case"workbookoptions":switch(o[3]){case"owcversion":case"height":case"width":break;default:rt=!1}break;case"worksheetoptions":switch(o[3]){case"visible":if("/>"===o[0].slice(-2));else if("/"===o[1])switch(i.slice(L,o.index)){case"SheetHidden":$.Hidden=1;break;case"SheetVeryHidden":$.Hidden=2}else L=o.index+o[0].length;break;case"header":m["!margins"]||dc(m["!margins"]={},"xlml"),isNaN(+ve(o[0]).Margin)||(m["!margins"].header=+ve(o[0]).Margin);break;case"footer":m["!margins"]||dc(m["!margins"]={},"xlml"),isNaN(+ve(o[0]).Margin)||(m["!margins"].footer=+ve(o[0]).Margin);break;case"pagemargins":var nt=ve(o[0]);m["!margins"]||dc(m["!margins"]={},"xlml"),isNaN(+nt.Top)||(m["!margins"].top=+nt.Top),isNaN(+nt.Left)||(m["!margins"].left=+nt.Left),isNaN(+nt.Right)||(m["!margins"].right=+nt.Right),isNaN(+nt.Bottom)||(m["!margins"].bottom=+nt.Bottom);break;case"displayrighttoleft":q.Views||(q.Views=[]),q.Views[0]||(q.Views[0]={}),q.Views[0].RTL=!0;break;case"freezepanes":case"frozennosplit":case"splithorizontal":case"splitvertical":case"donotdisplaygridlines":case"activerow":case"activecol":case"toprowbottompane":case"leftcolumnrightpane":case"unsynced":case"print":case"printerrors":case"panes":case"scale":case"pane":case"number":case"layout":case"pagesetup":case"selected":case"protectobjects":case"enableselection":case"protectscenarios":case"validprinterinfo":case"horizontalresolution":case"verticalresolution":case"numberofcopies":case"activepane":case"toprowvisible":case"leftcolumnvisible":case"fittopage":case"rangeselection":case"papersizeindex":case"pagelayoutzoom":case"pagebreakzoom":case"filteron":case"fitwidth":case"fitheight":case"commentslayout":case"zoom":case"lefttoright":case"gridlines":case"allowsort":case"allowfilter":case"allowinsertrows":case"allowdeleterows":case"allowinsertcols":case"allowdeletecols":case"allowinserthyperlinks":case"allowformatcells":case"allowsizecols":case"allowsizerows":case"tabcolorindex":case"donotdisplayheadings":case"showpagelayoutzoom":case"blackandwhite":case"donotdisplayzeros":case"displaypagebreak":case"rowcolheadings":case"donotdisplayoutline":case"noorientation":case"allowusepivottables":case"zeroheight":case"viewablerange":case"selection":case"protectcontents":break;case"nosummaryrowsbelowdetail":m["!outline"]||(m["!outline"]={}),m["!outline"].above=!0;break;case"nosummarycolumnsrightdetail":m["!outline"]||(m["!outline"]={}),m["!outline"].left=!0;break;default:rt=!1}break;case"pivottable":case"pivotcache":switch(o[3]){case"immediateitemsondrop":case"showpagemultipleitemlabel":case"compactrowindent":case"location":case"pivotfield":case"orientation":case"layoutform":case"layoutsubtotallocation":case"layoutcompactrow":case"position":case"pivotitem":case"datatype":case"datafield":case"sourcename":case"parentfield":case"ptlineitems":case"ptlineitem":case"countofsameitems":case"item":case"itemtype":case"ptsource":case"cacheindex":case"consolidationreference":case"filename":case"reference":case"nocolumngrand":case"norowgrand":case"blanklineafteritems":case"hidden":case"subtotal":case"basefield":case"mapchilditems":case"function":case"refreshonfileopen":case"printsettitles":case"mergelabels":case"defaultversion":case"refreshname":case"refreshdate":case"refreshdatecopy":case"versionlastrefresh":case"versionlastupdate":case"versionupdateablemin":case"versionrefreshablemin":case"calculation":break;default:rt=!1}break;case"pagebreaks":switch(o[3]){case"colbreaks":case"colbreak":case"rowbreaks":case"rowbreak":case"colstart":case"colend":case"rowend":break;default:rt=!1}break;case"autofilter":switch(o[3]){case"autofiltercolumn":case"autofiltercondition":case"autofilterand":case"autofilteror":break;default:rt=!1}break;case"querytable":switch(o[3]){case"id":case"autoformatfont":case"autoformatpattern":case"querysource":case"querytype":case"enableredirections":case"refreshedinxl9":case"urlstring":case"htmltables":case"connection":case"commandtext":case"refreshinfo":case"notitles":case"nextid":case"columninfo":case"overwritecells":case"donotpromptforfile":case"textwizardsettings":case"source":case"number":case"decimal":case"thousandseparator":case"trailingminusnumbers":case"formatsettings":case"fieldtype":case"delimiters":case"tab":case"comma":case"autoformatname":case"versionlastedit":case"versionlastrefresh":break;default:rt=!1}break;case"datavalidation":switch(o[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":case"cellrangelist":break;default:rt=!1}break;case"sorting":case"conditionalformatting":switch(o[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"cellrangelist":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":break;default:rt=!1}break;case"mapinfo":case"schema":case"data":switch(o[3]){case"map":case"entry":case"range":case"xpath":case"field":case"xsdtype":case"filteron":case"aggregate":case"elementtype":case"attributetype":case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:rt=!1}break;case"smarttags":break;default:rt=!1}if(rt)break;if(o[3].match(/!\[CDATA/))break;if(!h[h.length-1][1])throw"Unrecognized tag: "+o[3]+"|"+h.join("|");if("customdocumentproperties"===h[h.length-1][0]){if("/>"===o[0].slice(-2))break;"/"===o[1]?Cl(P,G,I,i.slice(L,o.index)):(I=o,L=o.index+o[0].length);break}if(n.WTF)throw"Unrecognized tag: "+o[3]+"|"+h.join("|")}var it={};return n.bookSheets||n.bookProps||(it.Sheets=v),it.SheetNames=g,it.Workbook=q,it.SSF=qt(M),it.Props=R,it.Custprops=P,it}function jl(t,e){switch(ef(e=e||{}),e.type||"base64"){case"base64":return Fl(m(t),e);case"binary":case"buffer":case"file":return Fl(t,e);case"array":return Fl(T(t),e)}}function Dl(t,e){var r=[];return t.Props&&r.push(function(t,e){var r=[];return Nt(fi).map((function(t){for(var e=0;e<Qn.length;++e)if(Qn[e][1]==t)return Qn[e];for(e=0;e<ii.length;++e)if(ii[e][1]==t)return ii[e];throw t})).forEach((function(n){if(null!=t[n[1]]){var i=e&&e.Props&&null!=e.Props[n[1]]?e.Props[n[1]]:t[n[1]];"date"===n[2]&&(i=new Date(i).toISOString().replace(/\.\d*Z/,"Z")),"number"==typeof i?i=String(i):!0===i||!1===i?i=i?"1":"0":i instanceof Date&&(i=new Date(i).toISOString().replace(/\.\d*Z/,"")),r.push(Ue(fi[n[1]]||n[1],i))}})),ze("DocumentProperties",r.join(""),{xmlns:Ye.o})}(t.Props,e)),t.Custprops&&r.push(function(t,e){var r=["Worksheets","SheetNames"],n="CustomDocumentProperties",i=[];return t&&Nt(t).forEach((function(e){if(Object.prototype.hasOwnProperty.call(t,e)){for(var n=0;n<Qn.length;++n)if(e==Qn[n][1])return;for(n=0;n<ii.length;++n)if(e==ii[n][1])return;for(n=0;n<r.length;++n)if(e==r[n])return;var o=t[e],a="string";"number"==typeof o?(a="float",o=String(o)):!0===o||!1===o?(a="boolean",o=o?"1":"0"):o=String(o),i.push(ze(ke(e),o,{"dt:dt":a}))}})),e&&Nt(e).forEach((function(r){if(Object.prototype.hasOwnProperty.call(e,r)&&(!t||!Object.prototype.hasOwnProperty.call(t,r))){var n=e[r],o="string";"number"==typeof n?(o="float",n=String(n)):!0===n||!1===n?(o="boolean",n=n?"1":"0"):n instanceof Date?(o="dateTime.tz",n=n.toISOString()):n=String(n),i.push(ze(ke(r),n,{"dt:dt":o}))}})),"<"+n+' xmlns="'+Ye.o+'">'+i.join("")+"</"+n+">"}(t.Props,t.Custprops)),r.join("")}function Ml(t){return ze("NamedRange",null,{"ss:Name":t.Name,"ss:RefersTo":"="+gs(t.Ref,{r:0,c:0})})}function Bl(t,e,r,n,i,o,a){if(!t||null==t.v&&null==t.f)return"";var s={};if(t.f&&(s["ss:Formula"]="="+xe(gs(t.f,a))),t.F&&t.F.slice(0,e.length)==e){var c=zr(t.F.slice(e.length+1));s["ss:ArrayRange"]="RC:R"+(c.r==a.r?"":"["+(c.r-a.r)+"]")+"C"+(c.c==a.c?"":"["+(c.c-a.c)+"]")}if(t.l&&t.l.Target&&(s["ss:HRef"]=xe(t.l.Target),t.l.Tooltip&&(s["x:HRefScreenTip"]=xe(t.l.Tooltip))),r["!merges"])for(var l=r["!merges"],u=0;u!=l.length;++u)l[u].s.c==a.c&&l[u].s.r==a.r&&(l[u].e.c>l[u].s.c&&(s["ss:MergeAcross"]=l[u].e.c-l[u].s.c),l[u].e.r>l[u].s.r&&(s["ss:MergeDown"]=l[u].e.r-l[u].s.r));var f="",h="";switch(t.t){case"z":if(!n.sheetStubs)return"";break;case"n":f="Number",h=String(t.v);break;case"b":f="Boolean",h=t.v?"1":"0";break;case"e":f="Error",h=Bn[t.v];break;case"d":f="DateTime",h=new Date(t.v).toISOString(),null==t.z&&(t.z=t.z||M[14]);break;case"s":f="String",h=function(t){return(t+"").replace(we,(function(t){return be[t]})).replace(Te,(function(t){return"&#x"+t.charCodeAt(0).toString(16).toUpperCase()+";"}))}(t.v||"")}var d=pc(n.cellXfs,t,n);s["ss:StyleID"]="s"+(21+d),s["ss:Index"]=a.c+1;var p=null!=t.v?h:"",v="z"==t.t?"":'<Data ss:Type="'+f+'">'+p+"</Data>";return(t.c||[]).length>0&&(v+=function(t){return t.map((function(t){var e=function(t){return t.replace(/(\r\n|[\r\n])/g," ")}(t.t||""),r=ze("ss:Data",e,{xmlns:"http://www.w3.org/TR/REC-html40"});return ze("Comment",r,{"ss:Author":t.a})})).join("")}(t.c)),ze("Cell",v,s)}function Wl(t,e){var r='<Row ss:Index="'+(t+1)+'"';return e&&(e.hpt&&!e.hpx&&(e.hpx=Ta(e.hpt)),e.hpx&&(r+=' ss:AutoFitHeight="0" ss:Height="'+e.hpx+'"'),e.hidden&&(r+=' ss:Hidden="1"')),r+">"}function Ul(t,e,r){var n=[],i=r.SheetNames[t],o=r.Sheets[i],a=o?function(t,e,r,n){if(!t)return"";if(!((n||{}).Workbook||{}).Names)return"";for(var i=n.Workbook.Names,o=[],a=0;a<i.length;++a){var s=i[a];s.Sheet==r&&(s.Name.match(/^_xlfn\./)||o.push(Ml(s)))}return o.join("")}(o,0,t,r):"";return a.length>0&&n.push("<Names>"+a+"</Names>"),a=o?function(t,e,r,n){if(!t["!ref"])return"";var i=Gr(t["!ref"]),o=t["!merges"]||[],a=0,s=[];t["!cols"]&&t["!cols"].forEach((function(t,e){Sa(t);var r=!!t.width,n=hc(e,t),i={"ss:Index":e+1};r&&(i["ss:Width"]=ga(n.width)),t.hidden&&(i["ss:Hidden"]="1"),s.push(ze("Column",null,i))}));for(var c=Array.isArray(t),l=i.s.r;l<=i.e.r;++l){for(var u=[Wl(l,(t["!rows"]||[])[l])],f=i.s.c;f<=i.e.c;++f){var h=!1;for(a=0;a!=o.length;++a)if(!(o[a].s.c>f||o[a].s.r>l||o[a].e.c<f||o[a].e.r<l)){o[a].s.c==f&&o[a].s.r==l||(h=!0);break}if(!h){var d={r:l,c:f},p=Vr(d),v=c?(t[l]||[])[f]:t[p];u.push(Bl(v,p,t,e,0,0,d))}}u.push("</Row>"),u.length>2&&s.push(u.join(""))}return s.join("")}(o,e):"",a.length>0&&n.push("<Table>"+a+"</Table>"),n.push(function(t,e,r,n){if(!t)return"";var i=[];if(t["!margins"]&&(i.push("<PageSetup>"),t["!margins"].header&&i.push(ze("Header",null,{"x:Margin":t["!margins"].header})),t["!margins"].footer&&i.push(ze("Footer",null,{"x:Margin":t["!margins"].footer})),i.push(ze("PageMargins",null,{"x:Bottom":t["!margins"].bottom||"0.75","x:Left":t["!margins"].left||"0.7","x:Right":t["!margins"].right||"0.7","x:Top":t["!margins"].top||"0.75"})),i.push("</PageSetup>")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[r])if(n.Workbook.Sheets[r].Hidden)i.push(ze("Visible",1==n.Workbook.Sheets[r].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var o=0;o<r&&(!n.Workbook.Sheets[o]||n.Workbook.Sheets[o].Hidden);++o);o==r&&i.push("<Selected/>")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&i.push("<DisplayRightToLeft/>"),t["!protect"]&&(i.push(Ue("ProtectContents","True")),t["!protect"].objects&&i.push(Ue("ProtectObjects","True")),t["!protect"].scenarios&&i.push(Ue("ProtectScenarios","True")),null==t["!protect"].selectLockedCells||t["!protect"].selectLockedCells?null==t["!protect"].selectUnlockedCells||t["!protect"].selectUnlockedCells||i.push(Ue("EnableSelection","UnlockedCells")):i.push(Ue("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach((function(e){t["!protect"][e[0]]&&i.push("<"+e[1]+"/>")}))),0==i.length?"":ze("WorksheetOptions",i.join(""),{xmlns:Ye.x})}(o,0,t,r)),n.join("")}function Hl(t,e){e||(e={}),t.SSF||(t.SSF=qt(M)),t.SSF&&(wt(),yt(t.SSF),e.revssf=Pt(t.SSF),e.revssf[t.SSF[65535]]=0,e.ssf=t.SSF,e.cellXfs=[],pc(e.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(Dl(t,e)),r.push(""),r.push(""),r.push("");for(var n=0;n<t.SheetNames.length;++n)r.push(ze("Worksheet",Ul(n,e,t),{"ss:Name":xe(t.SheetNames[n])}));return r[2]=function(t,e){var r=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return e.cellXfs.forEach((function(t,e){var n=[];n.push(ze("NumberFormat",null,{"ss:Format":xe(M[t.numFmtId])}));var i={"ss:ID":"s"+(21+e)};r.push(ze("Style",n.join(""),i))})),ze("Styles",r.join(""))}(0,e),r[3]=function(t){if(!((t||{}).Workbook||{}).Names)return"";for(var e=t.Workbook.Names,r=[],n=0;n<e.length;++n){var i=e[n];null==i.Sheet&&(i.Name.match(/^_xlfn\./)||r.push(Ml(i)))}return ze("Names",r.join(""))}(t),le+ze("Workbook",r.join(""),{xmlns:Ye.ss,"xmlns:o":Ye.o,"xmlns:x":Ye.x,"xmlns:ss":Ye.ss,"xmlns:dt":Ye.dt,"xmlns:html":Ye.html})}function zl(t){var e={},r=t.content;if(r.l=28,e.AnsiUserType=r._R(0,"lpstr-ansi"),e.AnsiClipboardFormat=function(t){return En(t,1)}(r),r.length-r.l<=4)return e;var n=r._R(4);return 0==n||n>40?e:(r.l-=4,e.Reserved1=r._R(0,"lpstr-ansi"),r.length-r.l<=4||1907505652!==(n=r._R(4))?e:(e.UnicodeClipboardFormat=function(t){return En(t,2)}(r),0==(n=r._R(4))||n>40?e:(r.l-=4,void(e.Reserved2=r._R(0,"lpwstr")))))}var Vl=[60,1084,2066,2165,2175];function ql(t,e,r,n,i){var o=n,a=[],s=r.slice(r.l,r.l+o);if(i&&i.enc&&i.enc.insitu&&s.length>0)switch(t){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:case 133:break;default:i.enc.insitu(s)}a.push(s),r.l+=o;for(var c=br(r,r.l),l=Ql[c],u=0;null!=l&&Vl.indexOf(c)>-1;)o=br(r,r.l+2),u=r.l+4,2066==c?u+=4:2165!=c&&2175!=c||(u+=12),s=r.slice(u,r.l+4+o),a.push(s),r.l+=4+o,l=Ql[c=br(r,r.l)];var f=E(a);Nr(f,0);var h=0;f.lens=[];for(var d=0;d<a.length;++d)f.lens.push(h),h+=a[d].length;if(f.length<n)throw"XLS Record 0x"+t.toString(16)+" Truncated: "+f.length+" < "+n;return e.f(f,f.length,i)}function $l(t,e,r){if("z"!==t.t&&t.XF){var n=0;try{n=t.z||t.XF.numFmtId||0,e.cellNF&&(t.z=M[n])}catch(t){if(e.WTF)throw t}if(!e||!1!==e.cellText)try{"e"===t.t?t.w=t.w||Bn[t.v]:0===n||"General"==n?"n"===t.t?(0|t.v)===t.v?t.w=t.v.toString(10):t.w=Y(t.v):t.w=K(t.v):t.w=mt(n,t.v,{date1904:!!r,dateNF:e&&e.dateNF})}catch(t){if(e.WTF)throw t}if(e.cellDates&&n&&"n"==t.t&&dt(M[n]||String(n))){var i=H(t.v);i&&(t.t="d",t.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}}function Gl(t,e,r){return{v:t,ixfe:e,t:r}}function Xl(t,e){var r={opts:{}},n={};null!=p&&null==e.dense&&(e.dense=p);var i,o,a,c,l,u,f,h,d=e.dense?[]:{},v={},g={},m=null,b=[],y="",w={},S="",x={},k=[],T=[],A=[],E={Sheets:[],WBProps:{date1904:!1},Views:[{}]},_={},O=function(t){return t<8?Mn[t]:t<64&&A[t-8]||Mn[t]},N=function(t,e,r){if(!(W>1||r.sheetRows&&t.r>=r.sheetRows)){if(r.cellStyles&&e.XF&&e.XF.data&&function(t,e,r){var n,i=e.XF.data;i&&i.patternType&&r&&r.cellStyles&&(e.s={},e.s.patternType=i.patternType,(n=ua(O(i.icvFore)))&&(e.s.fgColor={rgb:n}),(n=ua(O(i.icvBack)))&&(e.s.bgColor={rgb:n}))}(0,e,r),delete e.ixfe,delete e.XF,i=t,S=Vr(t),g&&g.s&&g.e||(g={s:{r:0,c:0},e:{r:0,c:0}}),t.r<g.s.r&&(g.s.r=t.r),t.c<g.s.c&&(g.s.c=t.c),t.r+1>g.e.r&&(g.e.r=t.r+1),t.c+1>g.e.c&&(g.e.c=t.c+1),r.cellFormula&&e.f)for(var n=0;n<k.length;++n)if(!(k[n][0].s.c>t.c||k[n][0].s.r>t.r||k[n][0].e.c<t.c||k[n][0].e.r<t.r)){e.F=$r(k[n][0]),k[n][0].s.c==t.c&&k[n][0].s.r==t.r||delete e.f,e.f&&(e.f=""+qs(k[n][1],0,t,j,C));break}r.dense?(d[t.r]||(d[t.r]=[]),d[t.r][t.c]=e):d[S]=e}},C={enc:!1,sbcch:0,snames:[],sharedf:x,arrayf:k,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!e&&!!e.cellStyles,WTF:!!e&&!!e.wtf};e.password&&(C.password=e.password);var R=[],P=[],L=[],I=[],F=!1,j=[];j.SheetNames=C.snames,j.sharedf=C.sharedf,j.arrayf=C.arrayf,j.names=[],j.XTI=[];var D,B=0,W=0,U=0,H=[],z=[];C.codepage=1200,s(1200);for(var V=!1;t.l<t.length-1;){var q=t.l,$=t._R(2);if(0===$&&10===B)break;var G=t.l===t.length?0:t._R(2),X=Ql[$];if(X&&X.f){if(e.bookSheets&&133===B&&133!==$)break;if(B=$,2===X.r||12==X.r){var Y=t._R(2);if(G-=2,!C.enc&&Y!==$&&((255&Y)<<8|Y>>8)!==$)throw new Error("rt mismatch: "+Y+"!="+$);12==X.r&&(t.l+=10,G-=10)}var K={};if(K=10===$?X.f(t,G,C):ql($,X,t,G,C),0==W&&-1===[9,521,1033,2057].indexOf(B))continue;switch($){case 34:r.opts.Date1904=E.WBProps.date1904=K;break;case 134:r.opts.WriteProtect=!0;break;case 47:if(C.enc||(t.l=0),C.enc=K,!e.password)throw new Error("File is password-protected");if(null==K.valid)throw new Error("Encryption scheme unsupported");if(!K.valid)throw new Error("Password is incorrect");break;case 92:C.lastuser=K;break;case 66:var J=Number(K);switch(J){case 21010:J=1200;break;case 32768:J=1e4;break;case 32769:J=1252}s(C.codepage=J),V=!0;break;case 317:C.rrtabid=K;break;case 25:C.winlocked=K;break;case 439:r.opts.RefreshAll=K;break;case 12:r.opts.CalcCount=K;break;case 16:r.opts.CalcDelta=K;break;case 17:r.opts.CalcIter=K;break;case 13:r.opts.CalcMode=K;break;case 14:r.opts.CalcPrecision=K;break;case 95:r.opts.CalcSaveRecalc=K;break;case 15:C.CalcRefMode=K;break;case 2211:r.opts.FullCalc=K;break;case 129:K.fDialog&&(d["!type"]="dialog"),K.fBelow||((d["!outline"]||(d["!outline"]={})).above=!0),K.fRight||((d["!outline"]||(d["!outline"]={})).left=!0);break;case 224:T.push(K);break;case 430:j.push([K]),j[j.length-1].XTI=[];break;case 35:case 547:j[j.length-1].push(K);break;case 24:case 536:D={Name:K.Name,Ref:qs(K.rgce,0,null,j,C)},K.itab>0&&(D.Sheet=K.itab-1),j.names.push(D),j[0]||(j[0]=[],j[0].XTI=[]),j[j.length-1].push(K),"_xlnm._FilterDatabase"==K.Name&&K.itab>0&&K.rgce&&K.rgce[0]&&K.rgce[0][0]&&"PtgArea3d"==K.rgce[0][0][0]&&(z[K.itab-1]={ref:$r(K.rgce[0][0][1][2])});break;case 22:C.ExternCount=K;break;case 23:0==j.length&&(j[0]=[],j[0].XTI=[]),j[j.length-1].XTI=j[j.length-1].XTI.concat(K),j.XTI=j.XTI.concat(K);break;case 2196:if(C.biff<8)break;null!=D&&(D.Comment=K[1]);break;case 18:d["!protect"]=K;break;case 19:0!==K&&C.WTF&&console.error("Password verifier: "+K);break;case 133:v[K.pos]=K,C.snames.push(K.name);break;case 10:if(--W)break;if(g.e){if(g.e.r>0&&g.e.c>0){if(g.e.r--,g.e.c--,d["!ref"]=$r(g),e.sheetRows&&e.sheetRows<=g.e.r){var Z=g.e.r;g.e.r=e.sheetRows-1,d["!fullref"]=d["!ref"],d["!ref"]=$r(g),g.e.r=Z}g.e.r++,g.e.c++}R.length>0&&(d["!merges"]=R),P.length>0&&(d["!objects"]=P),L.length>0&&(d["!cols"]=L),I.length>0&&(d["!rows"]=I),E.Sheets.push(_)}""===y?w=d:n[y]=d,d=e.dense?[]:{};break;case 9:case 521:case 1033:case 2057:if(8===C.biff&&(C.biff={9:2,521:3,1033:4}[$]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[K.BIFFVer]||8),C.biffguess=0==K.BIFFVer,0==K.BIFFVer&&4096==K.dt&&(C.biff=5,V=!0,s(C.codepage=28591)),8==C.biff&&0==K.BIFFVer&&16==K.dt&&(C.biff=2),W++)break;if(d=e.dense?[]:{},C.biff<8&&!V&&(V=!0,s(C.codepage=e.codepage||1252)),C.biff<5||0==K.BIFFVer&&4096==K.dt){""===y&&(y="Sheet1"),g={s:{r:0,c:0},e:{r:0,c:0}};var Q={pos:t.l-G,name:y};v[Q.pos]=Q,C.snames.push(y)}else y=(v[q]||{name:""}).name;32==K.dt&&(d["!type"]="chart"),64==K.dt&&(d["!type"]="macro"),R=[],P=[],C.arrayf=k=[],L=[],I=[],F=!1,_={Hidden:(v[q]||{hs:0}).hs,name:y};break;case 515:case 3:case 2:"chart"==d["!type"]&&(e.dense?(d[K.r]||[])[K.c]:d[Vr({c:K.c,r:K.r})])&&++K.c,u={ixfe:K.ixfe,XF:T[K.ixfe]||{},v:K.val,t:"n"},U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,e,r.opts.Date1904),N({c:K.c,r:K.r},u,e);break;case 5:case 517:u={ixfe:K.ixfe,XF:T[K.ixfe],v:K.val,t:K.t},U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,e,r.opts.Date1904),N({c:K.c,r:K.r},u,e);break;case 638:u={ixfe:K.ixfe,XF:T[K.ixfe],v:K.rknum,t:"n"},U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,e,r.opts.Date1904),N({c:K.c,r:K.r},u,e);break;case 189:for(var tt=K.c;tt<=K.C;++tt){var et=K.rkrec[tt-K.c][0];u={ixfe:et,XF:T[et],v:K.rkrec[tt-K.c][1],t:"n"},U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,e,r.opts.Date1904),N({c:tt,r:K.r},u,e)}break;case 6:case 518:case 1030:if("String"==K.val){m=K;break}if((u=Gl(K.val,K.cell.ixfe,K.tt)).XF=T[u.ixfe],e.cellFormula){var rt=K.formula;if(rt&&rt[0]&&rt[0][0]&&"PtgExp"==rt[0][0][0]){var nt=rt[0][0][1][0],it=rt[0][0][1][1],ot=Vr({r:nt,c:it});x[ot]?u.f=""+qs(K.formula,0,K.cell,j,C):u.F=((e.dense?(d[nt]||[])[it]:d[ot])||{}).F}else u.f=""+qs(K.formula,0,K.cell,j,C)}U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,e,r.opts.Date1904),N(K.cell,u,e),m=K;break;case 7:case 519:if(!m)throw new Error("String record expects Formula");m.val=K,(u=Gl(K,m.cell.ixfe,"s")).XF=T[u.ixfe],e.cellFormula&&(u.f=""+qs(m.formula,0,m.cell,j,C)),U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,e,r.opts.Date1904),N(m.cell,u,e),m=null;break;case 33:case 545:k.push(K);var at=Vr(K[0].s);if(o=e.dense?(d[K[0].s.r]||[])[K[0].s.c]:d[at],e.cellFormula&&o){if(!m)break;if(!at||!o)break;o.f=""+qs(K[1],0,K[0],j,C),o.F=$r(K[0])}break;case 1212:if(!e.cellFormula)break;if(S){if(!m)break;x[Vr(m.cell)]=K[0],((o=e.dense?(d[m.cell.r]||[])[m.cell.c]:d[Vr(m.cell)])||{}).f=""+qs(K[0],0,i,j,C)}break;case 253:u=Gl(b[K.isst].t,K.ixfe,"s"),b[K.isst].h&&(u.h=b[K.isst].h),u.XF=T[u.ixfe],U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,e,r.opts.Date1904),N({c:K.c,r:K.r},u,e);break;case 513:e.sheetStubs&&(u={ixfe:K.ixfe,XF:T[K.ixfe],t:"z"},U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,e,r.opts.Date1904),N({c:K.c,r:K.r},u,e));break;case 190:if(e.sheetStubs)for(var st=K.c;st<=K.C;++st){var ct=K.ixfe[st-K.c];u={ixfe:ct,XF:T[ct],t:"z"},U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,e,r.opts.Date1904),N({c:st,r:K.r},u,e)}break;case 214:case 516:case 4:(u=Gl(K.val,K.ixfe,"s")).XF=T[u.ixfe],U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,e,r.opts.Date1904),N({c:K.c,r:K.r},u,e);break;case 0:case 512:1===W&&(g=K);break;case 252:b=K;break;case 1054:if(4==C.biff){H[U++]=K[1];for(var lt=0;lt<U+163&&M[lt]!=K[1];++lt);lt>=163&&bt(K[1],U+163)}else bt(K[1],K[0]);break;case 30:H[U++]=K;for(var ut=0;ut<U+163&&M[ut]!=K;++ut);ut>=163&&bt(K,U+163);break;case 229:R=R.concat(K);break;case 93:P[K.cmo[0]]=C.lastobj=K;break;case 438:C.lastobj.TxO=K;break;case 127:C.lastobj.ImData=K;break;case 440:for(l=K[0].s.r;l<=K[0].e.r;++l)for(c=K[0].s.c;c<=K[0].e.c;++c)(o=e.dense?(d[l]||[])[c]:d[Vr({c:c,r:l})])&&(o.l=K[1]);break;case 2048:for(l=K[0].s.r;l<=K[0].e.r;++l)for(c=K[0].s.c;c<=K[0].e.c;++c)(o=e.dense?(d[l]||[])[c]:d[Vr({c:c,r:l})])&&o.l&&(o.l.Tooltip=K[1]);break;case 28:if(C.biff<=5&&C.biff>=2)break;o=e.dense?(d[K[0].r]||[])[K[0].c]:d[Vr(K[0])];var ft=P[K[2]];o||(e.dense?(d[K[0].r]||(d[K[0].r]=[]),o=d[K[0].r][K[0].c]={t:"z"}):o=d[Vr(K[0])]={t:"z"},g.e.r=Math.max(g.e.r,K[0].r),g.s.r=Math.min(g.s.r,K[0].r),g.e.c=Math.max(g.e.c,K[0].c),g.s.c=Math.min(g.s.c,K[0].c)),o.c||(o.c=[]),a={a:K[1],t:ft.TxO.t},o.c.push(a);break;case 2173:rs(T[K.ixfe],K.ext);break;case 125:if(!C.cellStyles)break;for(;K.e>=K.s;)L[K.e--]={width:K.w/256,level:K.level||0,hidden:!!(1&K.flags)},F||(F=!0,wa(K.w/256)),Sa(L[K.e+1]);break;case 520:var ht={};null!=K.level&&(I[K.r]=ht,ht.level=K.level),K.hidden&&(I[K.r]=ht,ht.hidden=!0),K.hpt&&(I[K.r]=ht,ht.hpt=K.hpt,ht.hpx=Ta(K.hpt));break;case 38:case 39:case 40:case 41:d["!margins"]||dc(d["!margins"]={}),d["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[$]]=K;break;case 161:d["!margins"]||dc(d["!margins"]={}),d["!margins"].header=K.header,d["!margins"].footer=K.footer;break;case 574:K.RTL&&(E.Views[0].RTL=!0);break;case 146:A=K;break;case 2198:h=K;break;case 140:f=K;break;case 442:y?_.CodeName=K||_.name:E.WBProps.CodeName=K||"ThisWorkbook"}}else X||console.error("Missing Info for XLS Record 0x"+$.toString(16)),t.l+=G}return r.SheetNames=Nt(v).sort((function(t,e){return Number(t)-Number(e)})).map((function(t){return v[t].name})),e.bookSheets||(r.Sheets=n),!r.SheetNames.length&&w["!ref"]?(r.SheetNames.push("Sheet1"),r.Sheets&&(r.Sheets.Sheet1=w)):r.Preamble=w,r.Sheets&&z.forEach((function(t,e){r.Sheets[r.SheetNames[e]]["!autofilter"]=t})),r.Strings=b,r.SSF=qt(M),C.enc&&(r.Encryption=C.enc),h&&(r.Themes=h),r.Metadata={},void 0!==f&&(r.Metadata.Country=f),j.names.length>0&&(E.Names=j.names),r.Workbook=E,r}var Yl={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function Kl(t,e){var r,n,i,o;if(e||(e={}),ef(e),c(),e.codepage&&a(e.codepage),t.FullPaths){if(Et.find(t,"/encryption"))throw new Error("File is password-protected");r=Et.find(t,"!CompObj"),n=Et.find(t,"/Workbook")||Et.find(t,"/Book")}else{switch(e.type){case"base64":t=x(m(t));break;case"binary":t=x(t);break;case"buffer":break;case"array":Array.isArray(t)||(t=Array.prototype.slice.call(t))}Nr(t,0),n={content:t}}if(r&&zl(r),e.bookProps&&!e.bookSheets)i={};else{var s=b?"buffer":"array";if(n&&n.content)i=Xl(n.content,e);else if((o=Et.find(t,"PerfectOffice_MAIN"))&&o.content)i=Fo.to_workbook(o.content,(e.type=s,e));else{if(!(o=Et.find(t,"NativeContent_MAIN"))||!o.content)throw(o=Et.find(t,"MN0"))&&o.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");i=Fo.to_workbook(o.content,(e.type=s,e))}e.bookVBA&&t.FullPaths&&Et.find(t,"/_VBA_PROJECT_CUR/VBA/dir")&&(i.vbaraw=function(t){var e=Et.utils.cfb_new({root:"R"});return t.FullPaths.forEach((function(r,n){if("/"!==r.slice(-1)&&r.match(/_VBA_PROJECT_CUR/)){var i=r.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Et.utils.cfb_add(e,i,t.FileIndex[n].content)}})),Et.write(e)}(t))}var l={};return t.FullPaths&&function(t,e,r){var n=Et.find(t,"/!DocumentSummaryInformation");if(n&&n.size>0)try{var i=_i(n,Ln,Yl.DSI);for(var o in i)e[o]=i[o]}catch(t){if(r.WTF)throw t}var a=Et.find(t,"/!SummaryInformation");if(a&&a.size>0)try{var s=_i(a,In,Yl.SI);for(var c in s)null==e[c]&&(e[c]=s[c])}catch(t){if(r.WTF)throw t}e.HeadingPairs&&e.TitlesOfParts&&(ai(e.HeadingPairs,e.TitlesOfParts,e,r),delete e.HeadingPairs,delete e.TitlesOfParts)}(t,l,e),i.Props=i.Custprops=l,e.bookFiles&&(i.cfb=t),i}function Jl(t,e){var r=e||{},n=Et.utils.cfb_new({root:"R"}),i="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":i="/Workbook",r.biff=8;break;case"biff5":i="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return Et.utils.cfb_add(n,i,lu(t,r)),8==r.biff&&(t.Props||t.Custprops)&&function(t,e){var r,n=[],i=[],o=[],a=0,s=Ct(Ln,"n"),c=Ct(In,"n");if(t.Props)for(r=Nt(t.Props),a=0;a<r.length;++a)(Object.prototype.hasOwnProperty.call(s,r[a])?n:Object.prototype.hasOwnProperty.call(c,r[a])?i:o).push([r[a],t.Props[r[a]]]);if(t.Custprops)for(r=Nt(t.Custprops),a=0;a<r.length;++a)Object.prototype.hasOwnProperty.call(t.Props||{},r[a])||(Object.prototype.hasOwnProperty.call(s,r[a])?n:Object.prototype.hasOwnProperty.call(c,r[a])?i:o).push([r[a],t.Custprops[r[a]]]);var l=[];for(a=0;a<o.length;++a)Ti.indexOf(o[a][0])>-1||oi.indexOf(o[a][0])>-1||null!=o[a][1]&&l.push(o[a]);i.length&&Et.utils.cfb_add(e,"/SummaryInformation",Oi(i,Yl.SI,c,In)),(n.length||l.length)&&Et.utils.cfb_add(e,"/DocumentSummaryInformation",Oi(n,Yl.DSI,s,Ln,l.length?l:null,Yl.UDI))}(t,n),8==r.biff&&t.vbaraw&&function(t,e){e.FullPaths.forEach((function(r,n){if(0!=n){var i=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==i.slice(-1)&&Et.utils.cfb_add(t,i,e.FileIndex[n].content)}}))}(n,Et.read(t.vbaraw,{type:"string"==typeof t.vbaraw?"binary":"buffer"})),n}var Zl={0:{f:function(t,e){var r={},n=t.l+e;r.r=t._R(4),t.l+=4;var i=t._R(2);t.l+=1;var o=t._R(1);return t.l=n,7&o&&(r.level=7&o),16&o&&(r.hidden=!0),32&o&&(r.hpt=i/20),r}},1:{f:function(t){return[sn(t)]}},2:{f:function(t){return[sn(t),bn(t),"n"]}},3:{f:function(t){return[sn(t),t._R(1),"e"]}},4:{f:function(t){return[sn(t),t._R(1),"b"]}},5:{f:function(t){return[sn(t),kn(t),"n"]}},6:{f:function(t){return[sn(t),tn(t),"str"]}},7:{f:function(t){return[sn(t),t._R(4),"s"]}},8:{f:function(t,e,r){var n=t.l+e,i=sn(t);i.r=r["!row"];var o=[i,tn(t),"str"];if(r.cellFormula){t.l+=2;var a=Zs(t,n-t.l,r);o[3]=qs(a,0,i,r.supbooks,r)}else t.l=n;return o}},9:{f:function(t,e,r){var n=t.l+e,i=sn(t);i.r=r["!row"];var o=[i,kn(t),"n"];if(r.cellFormula){t.l+=2;var a=Zs(t,n-t.l,r);o[3]=qs(a,0,i,r.supbooks,r)}else t.l=n;return o}},10:{f:function(t,e,r){var n=t.l+e,i=sn(t);i.r=r["!row"];var o=[i,t._R(1),"b"];if(r.cellFormula){t.l+=2;var a=Zs(t,n-t.l,r);o[3]=qs(a,0,i,r.supbooks,r)}else t.l=n;return o}},11:{f:function(t,e,r){var n=t.l+e,i=sn(t);i.r=r["!row"];var o=[i,t._R(1),"e"];if(r.cellFormula){t.l+=2;var a=Zs(t,n-t.l,r);o[3]=qs(a,0,i,r.supbooks,r)}else t.l=n;return o}},12:{f:function(t){return[ln(t)]}},13:{f:function(t){return[ln(t),bn(t),"n"]}},14:{f:function(t){return[ln(t),t._R(1),"e"]}},15:{f:function(t){return[ln(t),t._R(1),"b"]}},16:{f:Mc},17:{f:function(t){return[ln(t),tn(t),"str"]}},18:{f:function(t){return[ln(t),t._R(4),"s"]}},19:{f:nn},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:function(t,e,r){var n=t.l+e;t.l+=4,t.l+=1;var i=t._R(4),o=vn(t),a=Qs(t,0,r),s=dn(t);t.l=n;var c={Name:o,Ptg:a};return i<268435455&&(c.Sheet=i),s&&(c.Comment=s),c}},40:{},42:{},43:{f:function(t,e,r){var n={};n.sz=t._R(2)/20;var i=function(t){var e=t._R(1);return t.l++,{fBold:1&e,fItalic:2&e,fUnderline:4&e,fStrikeout:8&e,fOutline:16&e,fShadow:32&e,fCondense:64&e,fExtend:128&e}}(t);switch(i.fItalic&&(n.italic=1),i.fCondense&&(n.condense=1),i.fExtend&&(n.extend=1),i.fShadow&&(n.shadow=1),i.fOutline&&(n.outline=1),i.fStrikeout&&(n.strike=1),700===t._R(2)&&(n.bold=1),t._R(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript"}var o=t._R(1);0!=o&&(n.underline=o);var a=t._R(1);a>0&&(n.family=a);var s=t._R(1);switch(s>0&&(n.charset=s),t.l++,n.color=function(t){var e={},r=t._R(1)>>>1,n=t._R(1),i=t._R(2,"i"),o=t._R(1),a=t._R(1),s=t._R(1);switch(t.l++,r){case 0:e.auto=1;break;case 1:e.index=n;var c=Mn[n];c&&(e.rgb=ua(c));break;case 2:e.rgb=ua([o,a,s]);break;case 3:e.theme=n}return 0!=i&&(e.tint=i>0?i/32767:i/32768),e}(t),t._R(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor"}return n.name=tn(t),n}},44:{f:function(t,e){return[t._R(2),tn(t)]}},45:{f:Fa},46:{f:Ba},47:{f:function(t,e){var r=t.l+e,n=t._R(2),i=t._R(2);return t.l=r,{ixfe:n,numFmtId:i}}},48:{},49:{f:function(t){return t._R(4,"i")}},50:{},51:{f:function(t){for(var e=[],r=t._R(4);r-- >0;)e.push([t._R(4),t._R(4)]);return e}},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:Ao},62:{f:function(t){return[sn(t),nn(t),"is"]}},63:{f:function(t){var e={};e.i=t._R(4);var r={};r.r=t._R(4),r.c=t._R(4),e.r=Vr(r);var n=t._R(1);return 2&n&&(e.l="1"),8&n&&(e.a="1"),e}},64:{f:function(){}},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Cr,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:function(t){var e=t._R(2);return t.l+=28,{RTL:32&e}}},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:function(t,e){var r={},n=t[t.l];return++t.l,r.above=!(64&n),r.left=!(128&n),t.l+=18,r.name=fn(t,e-19),r}},148:{f:jc,p:16},151:{f:function(){}},152:{},153:{f:function(t,e){var r={},n=t._R(4);r.defaultThemeVersion=t._R(4);var i=e>8?tn(t):"";return i.length>0&&(r.CodeName=i),r.autoCompressPictures=!!(65536&n),r.backupFile=!!(64&n),r.checkCompatibility=!!(4096&n),r.date1904=!!(1&n),r.filterPrivacy=!!(8&n),r.hidePivotFieldList=!!(1024&n),r.promptedSolutions=!!(16&n),r.publishItems=!!(2048&n),r.refreshAllConnections=!!(262144&n),r.saveExternalLinkValues=!!(128&n),r.showBorderUnselectedTables=!!(4&n),r.showInkAnnotation=!!(32&n),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(32768&n),r.updateLinks=["userSet","never","always"][n>>8&3],r}},154:{},155:{},156:{f:function(t,e){var r={};return r.Hidden=t._R(4),r.iTabID=t._R(4),r.strRelID=gn(t,e-8),r.name=tn(t),r}},157:{},158:{},159:{T:1,f:function(t){return[t._R(4),t._R(4)]}},160:{T:-1},161:{T:1,f:Sn},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:Bc},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:function(t,e){return{flags:t._R(4),version:t._R(4),name:tn(t)}}},336:{T:-1},337:{f:function(t){return t.l+=4,0!=t._R(4)},T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:gn},357:{},358:{},359:{},360:{T:1},361:{},362:{f:wo},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:function(t,e,r){var n=t.l+e,i=wn(t),o=t._R(1),a=[i];if(a[2]=o,r.cellFormula){var s=Js(t,n-t.l,r);a[1]=s}else t.l=n;return a}},427:{f:function(t,e,r){var n=t.l+e,i=[Sn(t,16)];if(r.cellFormula){var o=tc(t,n-t.l,r);i[1]=o,t.l=n}else t.l=n;return i}},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:function(t){var e={};return Uc.forEach((function(r){e[r]=kn(t)})),e}},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:function(){}},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:function(t,e){var r=t.l+e,n=Sn(t,16),i=dn(t),o=tn(t),a=tn(t),s=tn(t);t.l=r;var c={rfx:n,relId:i,loc:o,display:s};return a&&(c.Tooltip=a),c}},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:gn},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:us},633:{T:1},634:{T:-1},635:{T:1,f:function(t){var e={};e.iauthor=t._R(4);var r=Sn(t,16);return e.rfx=r.s,e.ref=Vr(r.s),t.l+=16,e}},636:{T:-1},637:{f:on},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:function(t,e){return t.l+=10,{name:tn(t)}}},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:function(){}},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},Ql={6:{f:Xs},10:{f:Ni},12:{f:Pi},13:{f:Pi},14:{f:Ci},15:{f:Ci},16:{f:kn},17:{f:Ci},18:{f:Ci},19:{f:Pi},20:{f:go},21:{f:go},23:{f:wo},24:{f:yo},25:{f:Ci},26:{},27:{},28:{f:function(t,e,r){return function(t,e,r){if(!(r.biff<8)){var n=t._R(2),i=t._R(2),o=t._R(2),a=t._R(2),s=Ui(t,0,r);return r.biff<8&&t._R(1),[{r:n,c:i},s,a,o]}}(t,0,r)}},29:{},34:{f:Ci},35:{f:mo},38:{f:kn},39:{f:kn},40:{f:kn},41:{f:kn},42:{f:Ci},43:{f:Ci},47:{f:function(t,e,r){var n={Type:r.biff>=8?t._R(2):0};return n.Type?ca(t,e-2,n):function(t,e,r,n){var i={key:Pi(t),verificationBytes:Pi(t)};r.password&&(i.verifier=oa(r.password)),n.valid=i.verificationBytes===i.verifier,n.valid&&(n.insitu=sa(r.password))}(t,r.biff,r,n),n}},49:{f:function(t,e,r){var n={dyHeight:t._R(2),fl:t._R(2)};switch(r&&r.biff||8){case 2:break;case 3:case 4:t.l+=2;break;default:t.l+=10}return n.name=ji(t,0,r),n}},51:{f:Pi},60:{},61:{f:function(t){return{Pos:[t._R(2),t._R(2)],Dim:[t._R(2),t._R(2)],Flags:t._R(2),CurTab:t._R(2),FirstTab:t._R(2),Selected:t._R(2),TabRatio:t._R(2)}}},64:{f:Ci},65:{f:function(){}},66:{f:Pi},77:{},80:{},81:{},82:{},85:{f:Pi},89:{},90:{},91:{},92:{f:function(t,e,r){if(r.enc)return t.l+=e,"";var n=t.l,i=Ui(t,0,r);return t._R(e+n-t.l),i}},93:{f:function(t,e,r){if(r&&r.biff<8)return function(t,e,r){t.l+=4;var n=t._R(2),i=t._R(2),o=t._R(2);t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=6,e-=36;var a=[];return a.push((xo[n]||Cr)(t,e,r)),{cmo:[i,n,o],ft:a}}(t,e,r);var n=no(t),i=function(t,e){for(var r=t.l+e,n=[];t.l<r;){var i=t._R(2);t.l-=2;try{n.push(oo[i](t,r-t.l))}catch(e){return t.l=r,n}}return t.l!=r&&(t.l=r),n}(t,e-22,n[1]);return{cmo:n,ft:i}}},94:{},95:{f:Ci},96:{},97:{},99:{f:Ci},125:{f:Ao},128:{f:function(t){t.l+=4;var e=[t._R(2),t._R(2)];if(0!==e[0]&&e[0]--,0!==e[1]&&e[1]--,e[0]>7||e[1]>7)throw new Error("Bad Gutters: "+e.join("|"));return e}},129:{f:function(t,e,r){var n=r&&8==r.biff||2==e?t._R(2):(t.l+=e,0);return{fDialog:16&n,fBelow:64&n,fRight:128&n}}},130:{f:Pi},131:{f:Ci},132:{f:Ci},133:{f:function(t,e,r){var n=t._R(4),i=3&t._R(1),o=t._R(1);switch(o){case 0:o="Worksheet";break;case 1:o="Macrosheet";break;case 2:o="Chartsheet";break;case 6:o="VBAModule"}var a=ji(t,0,r);return 0===a.length&&(a="Sheet1"),{pos:n,hs:i,dt:o,name:a}}},134:{},140:{f:function(t){var e,r=[0,0];return e=t._R(2),r[0]=Fn[e]||e,e=t._R(2),r[1]=Fn[e]||e,r}},141:{f:Pi},144:{},146:{f:function(t){for(var e=t._R(2),r=[];e-- >0;)r.push(Xi(t));return r}},151:{},152:{},153:{},154:{},155:{},156:{f:Pi},157:{},158:{},160:{f:_o},161:{f:function(t,e){var r={};return e<32||(t.l+=16,r.header=kn(t),r.footer=kn(t),t.l+=2),r}},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:function(t,e){for(var r=t.l+e-2,n=t._R(2),i=t._R(2),o=[];t.l<r;)o.push(Zi(t));if(t.l!==r)throw new Error("MulRK read error");var a=t._R(2);if(o.length!=a-i+1)throw new Error("MulRK length mismatch");return{r:n,c:i,C:a,rkrec:o}}},190:{f:function(t,e){for(var r=t.l+e-2,n=t._R(2),i=t._R(2),o=[];t.l<r;)o.push(t._R(2));if(t.l!==r)throw new Error("MulBlank read error");var a=t._R(2);if(o.length!=a-i+1)throw new Error("MulBlank length mismatch");return{r:n,c:i,C:a,ixfe:o}}},193:{f:Ni},197:{},198:{},199:{},200:{},201:{},202:{f:Ci},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:Pi},220:{},221:{f:Ci},222:{},224:{f:function(t,e,r){var n={};return n.ifnt=t._R(2),n.numFmtId=t._R(2),n.flags=t._R(2),n.fStyle=n.flags>>2&1,6,n.data=function(t,e,r,n){var i={},o=t._R(4),a=t._R(4),s=t._R(4),c=t._R(2);return i.patternType=jn[s>>26],n.cellStyles?(i.alc=7&o,i.fWrap=o>>3&1,i.alcV=o>>4&7,i.fJustLast=o>>7&1,i.trot=o>>8&255,i.cIndent=o>>16&15,i.fShrinkToFit=o>>20&1,i.iReadOrder=o>>22&2,i.fAtrNum=o>>26&1,i.fAtrFnt=o>>27&1,i.fAtrAlc=o>>28&1,i.fAtrBdr=o>>29&1,i.fAtrPat=o>>30&1,i.fAtrProt=o>>31&1,i.dgLeft=15&a,i.dgRight=a>>4&15,i.dgTop=a>>8&15,i.dgBottom=a>>12&15,i.icvLeft=a>>16&127,i.icvRight=a>>23&127,i.grbitDiag=a>>30&3,i.icvTop=127&s,i.icvBottom=s>>7&127,i.icvDiag=s>>14&127,i.dgDiag=s>>21&15,i.icvFore=127&c,i.icvBack=c>>7&127,i.fsxButton=c>>14&1,i):i}(t,0,n.fStyle,r),n}},225:{f:function(t,e){return 0===e||t._R(2),1200}},226:{f:Ni},227:{},229:{f:function(t,e){for(var r=[],n=t._R(2);n--;)r.push(Qi(t));return r}},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:function(t,e){for(var r=t.l+e,n=t._R(4),i=t._R(4),o=[],a=0;a!=i&&t.l<r;++a)o.push(Di(t));return o.Count=n,o.Unique=i,o}},253:{f:function(t){var e=Yi(t);return e.isst=t._R(4),e}},255:{f:function(t,e){var r={};return r.dsst=t._R(2),t.l+=e-2,r}},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:Ii},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:Ci},353:{f:Ni},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:function(t,e,r){var n=t.l+e,i=t._R(2),o=t._R(2);if(r.sbcch=o,1025==o||14849==o)return[o,i];if(o<1||o>255)throw new Error("Unexpected SupBook type: "+o);for(var a=Bi(t,o),s=[];n>t.l;)s.push(Wi(t));return[o,i,a,s]}},431:{f:Ci},432:{},433:{},434:{},437:{},438:{f:function(t,e,r){var n=t.l,i="";try{t.l+=4;var o=(r.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(o)?t.l+=6:function(t){var e=t._R(1);t.l++;var r=t._R(2);return t.l+=2,[e,r]}(t);var a=t._R(2);t._R(2),Pi(t);var s=t._R(2);t.l+=s;for(var c=1;c<t.lens.length-1;++c){if(t.l-n!=t.lens[c])throw new Error("TxO: bad continue record");var l=t[t.l];if((i+=Bi(t,t.lens[c+1]-t.lens[c]-1)).length>=(l?a:2*a))break}if(i.length!==a&&i.length!==2*a)throw new Error("cchText: "+a+" != "+i.length);return t.l=n+e,{t:i}}catch(r){return t.l=n+e,{t:i}}}},439:{f:Ci},440:{f:function(t,e){var r=Qi(t);t.l+=16;var n=function(t,e){var r=t.l+e,n=t._R(4);if(2!==n)throw new Error("Unrecognized streamVersion: "+n);var i=t._R(2);t.l+=2;var o,a,s,c,l,u,f="";16&i&&(o=Vi(t,t.l)),128&i&&(a=Vi(t,t.l)),257&~i||(s=Vi(t,t.l)),1==(257&i)&&(c=zi(t,t.l)),8&i&&(f=Vi(t,t.l)),32&i&&(l=t._R(16)),64&i&&(u=di(t)),t.l=r;var h=a||s||c||"";h&&f&&(h+="#"+f),h||(h="#"+f),2&i&&"/"==h.charAt(0)&&"/"!=h.charAt(1)&&(h="file://"+h);var d={Target:h};return l&&(d.guid=l),u&&(d.time=u),o&&(d.Tooltip=o),d}(t,e-24);return[r,n]}},441:{},442:{f:Wi},443:{},444:{f:Pi},445:{},446:{},448:{f:Ni},449:{f:function(t){return t._R(2),t._R(4)},r:2},450:{f:Ni},512:{f:ho},513:{f:Eo},515:{f:function(t,e,r){r.biffguess&&2==r.biff&&(r.biff=5);var n=Yi(t),i=kn(t);return n.val=i,n}},516:{f:function(t,e,r){r.biffguess&&2==r.biff&&(r.biff=5),t.l;var n=Yi(t);2==r.biff&&t.l++;var i=Wi(t,t.l,r);return n.val=i,n}},517:{f:vo},519:{f:Oo},520:{f:function(t){var e={};e.r=t._R(2),e.c=t._R(2),e.cnt=t._R(2)-e.c;var r=t._R(2);t.l+=4;var n=t._R(1);return t.l+=3,7&n&&(e.level=7&n),32&n&&(e.hidden=!0),64&n&&(e.hpt=r/20),e}},523:{},545:{f:So},549:{f:lo},566:{},574:{f:function(t,e,r){return r&&r.biff>=2&&r.biff<5?{}:{RTL:64&t._R(2)}}},638:{f:function(t){var e=t._R(2),r=t._R(2),n=Zi(t);return{r:e,c:r,ixfe:n[0],rknum:n[1]}}},659:{},1048:{},1054:{f:function(t,e,r){return[t._R(2),Ui(t,0,r)]}},1084:{},1212:{f:function(t,e,r){var n=eo(t);t.l++;var i=t._R(1);return[Gs(t,e-=8,r),i,n]}},2048:{f:function(t,e){t._R(2);var r=Qi(t),n=t._R((e-10)/2,"dbcs-cont");return[r,n=n.replace(_,"")]}},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:ao},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:Ni},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:function(t){t.l+=2;var e={cxfs:0,crc:0};return e.cxfs=t._R(2),e.crc=t._R(4),e},r:12},2173:{f:function(t,e){t.l,t.l+=2;var r=t._R(2);t.l+=2;for(var n=t._R(2),i=[];n-- >0;)i.push(es(t,t.l));return{ixfe:r,ext:i}},r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:Ci,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:function(t,e,r){if(!(r.biff<8)){var n=t._R(2),i=t._R(2);return[Bi(t,n,r),Bi(t,i,r)]}t.l+=e},r:12},2197:{},2198:{f:function(t,e,r){var n=t.l+e;if(124226!==t._R(4))if(r.cellStyles){var i,o=t.slice(t.l);t.l=n;try{i=se(o,{type:"array"})}catch(t){return}var a=re(i,"theme/theme/theme1.xml",!0);if(a)return Za(a,r)}else t.l=n},r:12},2199:{},2200:{},2201:{},2202:{f:function(t){return[0!==t._R(4),0!==t._R(4),t._R(4)]},r:12},2203:{f:Ni},2204:{},2205:{},2206:{},2207:{},2211:{f:function(t){var e=function(t){var e=t._R(2),r=t._R(2);return t.l+=8,{type:e,flags:r}}(t);if(2211!=e.type)throw new Error("Invalid Future Record "+e.type);return 0!==t._R(4)}},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:Pi},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:function(t,e,r){var n={area:!1};if(5!=r.biff)return t.l+=e,n;var i=t._R(1);return t.l+=3,16&i&&(n.area=!0),n}},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:function(t){for(var e=t._R(2),r=[];e-- >0;)r.push(Xi(t));return r}},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:ho},1:{},2:{f:function(t){var e=Yi(t);++t.l;var r=t._R(2);return e.t="n",e.val=r,e}},3:{f:function(t){var e=Yi(t);++t.l;var r=kn(t);return e.t="n",e.val=r,e}},4:{f:function(t,e,r){r.biffguess&&5==r.biff&&(r.biff=2);var n=Yi(t);++t.l;var i=Ui(t,0,r);return n.t="str",n.val=i,n}},5:{f:vo},7:{f:function(t){var e=t._R(1);return 0===e?(t.l++,""):t._R(e,"sbcs-cont")}},8:{},9:{f:ao},11:{},22:{f:Pi},30:{f:fo},31:{},32:{},33:{f:So},36:{},37:{f:lo},50:{f:function(t,e){t.l+=6,t.l+=2,t.l+=1,t.l+=3,t.l+=1,t.l+=e-13}},62:{},52:{},67:{},68:{f:Pi},69:{},86:{},126:{},127:{f:function(t){var e=t._R(2),r=t._R(2),n=t._R(4),i={fmt:e,env:r,len:n,data:t.slice(t.l,t.l+n)};return t.l+=n,i}},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:function(t,e,r){var n=t.l+e,i=Yi(t),o=t._R(2),a=Bi(t,o,r);return t.l=n,i.t="str",i.val=a,i}},223:{},234:{},354:{},421:{},518:{f:Xs},521:{f:ao},536:{f:yo},547:{f:mo},561:{},579:{},1030:{f:Xs},1033:{f:ao},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function tu(t,e,r,n){var i=e;if(!isNaN(i)){var o=n||(r||[]).length||0,a=t.next(4);a._W(2,i),a._W(2,o),o>0&&gr(r)&&t.push(r)}}function eu(t,e,r){return t||(t=Rr(7)),t._W(2,e),t._W(2,r),t._W(2,0),t._W(1,0),t}function ru(t,e,r,n){if(null!=e.v)switch(e.t){case"d":case"n":var i="d"==e.t?It(zt(e.v)):e.v;return void(i==(0|i)&&i>=0&&i<65536?tu(t,2,function(t,e,r){var n=Rr(9);return eu(n,t,e),n._W(2,r),n}(r,n,i)):tu(t,3,function(t,e,r){var n=Rr(15);return eu(n,t,e),n._W(8,r,"f"),n}(r,n,i)));case"b":case"e":return void tu(t,5,function(t,e,r,n){var i=Rr(9);return eu(i,t,e),Fi(r,n||"b",i),i}(r,n,e.v,e.t));case"s":case"str":return void tu(t,4,function(t,e,r){var n=Rr(8+2*r.length);return eu(n,t,e),n._W(1,r.length),n._W(r.length,r,"sbcs"),n.l<n.length?n.slice(0,n.l):n}(r,n,(e.v||"").slice(0,255)))}tu(t,1,eu(null,r,n))}function nu(t,e){var r=e||{};null!=p&&null==r.dense&&(r.dense=p);for(var n=Lr(),i=0,o=0;o<t.SheetNames.length;++o)t.SheetNames[o]==r.sheet&&(i=o);if(0==i&&r.sheet&&t.SheetNames[0]!=r.sheet)throw new Error("Sheet not found: "+r.sheet);return tu(n,4==r.biff?1033:3==r.biff?521:9,so(0,16,r)),function(t,e,r,n){var i,o=Array.isArray(e),a=Gr(e["!ref"]||"A1"),s="",c=[];if(a.e.c>255||a.e.r>16383){if(n.WTF)throw new Error("Range "+(e["!ref"]||"A1")+" exceeds format limit A1:IV16384");a.e.c=Math.min(a.e.c,255),a.e.r=Math.min(a.e.c,16383),i=$r(a)}for(var l=a.s.r;l<=a.e.r;++l){s=Wr(l);for(var u=a.s.c;u<=a.e.c;++u){l===a.s.r&&(c[u]=Hr(u)),i=c[u]+s;var f=o?(e[l]||[])[u]:e[i];f&&ru(t,f,l,u)}}}(n,t.Sheets[t.SheetNames[i]],0,r),tu(n,10),n.end()}function iu(t,e,r){tu(t,49,function(t,e){var r=t.name||"Arial",n=e&&5==e.biff,i=Rr(n?15+r.length:16+2*r.length);return i._W(2,20*(t.sz||12)),i._W(4,0),i._W(2,400),i._W(4,0),i._W(2,0),i._W(1,r.length),n||i._W(1,1),i._W((n?1:2)*r.length,r,n?"sbcs":"utf16le"),i}({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},r))}function ou(t,e){if(e){var r=0;e.forEach((function(e,n){++r<=256&&e&&tu(t,125,function(t,e){var r=Rr(12);r._W(2,e),r._W(2,e),r._W(2,256*t.width),r._W(2,0);var n=0;return t.hidden&&(n|=1),r._W(1,n),n=t.level||0,r._W(1,n),r._W(2,0),r}(hc(n,e),n))}))}}function au(t,e,r,n,i){var o=16+pc(i.cellXfs,e,i);if(null!=e.v||e.bf)if(e.bf)tu(t,6,Ys(e,r,n,0,o));else switch(e.t){case"d":case"n":tu(t,515,function(t,e,r,n){var i=Rr(14);return Ki(t,e,n,i),Tn(r,i),i}(r,n,"d"==e.t?It(zt(e.v)):e.v,o));break;case"b":case"e":tu(t,517,function(t,e,r,n,i,o){var a=Rr(8);return Ki(t,e,n,a),Fi(r,o,a),a}(r,n,e.v,o,0,e.t));break;case"s":case"str":if(i.bookSST)tu(t,253,function(t,e,r,n){var i=Rr(10);return Ki(t,e,n,i),i._W(4,r),i}(r,n,fc(i.Strings,e.v,i.revStrings),o));else tu(t,516,function(t,e,r,n,i){var o=!i||8==i.biff,a=Rr(+o+8+(1+o)*r.length);return Ki(t,e,n,a),a._W(2,r.length),o&&a._W(1,1),a._W((1+o)*r.length,r,o?"utf16le":"sbcs"),a}(r,n,(e.v||"").slice(0,255),o,i));break;default:tu(t,513,Ki(r,n,o))}else tu(t,513,Ki(r,n,o))}function su(t,e,r){var n,i=Lr(),o=r.SheetNames[t],a=r.Sheets[o]||{},s=(r||{}).Workbook||{},c=(s.Sheets||[])[t]||{},l=Array.isArray(a),u=8==e.biff,f="",h=[],d=Gr(a["!ref"]||"A1"),p=u?65536:16384;if(d.e.c>255||d.e.r>=p){if(e.WTF)throw new Error("Range "+(a["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255),d.e.r=Math.min(d.e.c,p-1)}tu(i,2057,so(0,16,e)),tu(i,13,Li(1)),tu(i,12,Li(100)),tu(i,15,Ri(!0)),tu(i,17,Ri(!1)),tu(i,16,Tn(.001)),tu(i,95,Ri(!0)),tu(i,42,Ri(!1)),tu(i,43,Ri(!1)),tu(i,130,Li(1)),tu(i,128,function(t){var e=Rr(8);return e._W(4,0),e._W(2,t[0]?t[0]+1:0),e._W(2,t[1]?t[1]+1:0),e}([0,0])),tu(i,131,Ri(!1)),tu(i,132,Ri(!1)),u&&ou(i,a["!cols"]),tu(i,512,function(t,e){var r=8!=e.biff&&e.biff?2:4,n=Rr(2*r+6);return n._W(r,t.s.r),n._W(r,t.e.r+1),n._W(2,t.s.c),n._W(2,t.e.c+1),n._W(2,0),n}(d,e)),u&&(a["!links"]=[]);for(var v=d.s.r;v<=d.e.r;++v){f=Wr(v);for(var g=d.s.c;g<=d.e.c;++g){v===d.s.r&&(h[g]=Hr(g)),n=h[g]+f;var m=l?(a[v]||[])[g]:a[n];m&&(au(i,m,v,g,e),u&&m.l&&a["!links"].push([n,m.l]))}}var b=c.CodeName||c.name||o;return u&&tu(i,574,function(t){var e=Rr(18),r=1718;return t&&t.RTL&&(r|=64),e._W(2,r),e._W(4,0),e._W(4,64),e._W(4,0),e._W(4,0),e}((s.Views||[])[0])),u&&(a["!merges"]||[]).length&&tu(i,229,function(t){var e=Rr(2+8*t.length);e._W(2,t.length);for(var r=0;r<t.length;++r)to(t[r],e);return e}(a["!merges"])),u&&function(t,e){for(var r=0;r<e["!links"].length;++r){var n=e["!links"][r];tu(t,440,ko(n)),n[1].Tooltip&&tu(t,2048,To(n))}delete e["!links"]}(i,a),tu(i,442,Hi(b)),u&&function(t,e){var r=Rr(19);r._W(4,2151),r._W(4,0),r._W(4,0),r._W(2,3),r._W(1,1),r._W(4,0),tu(t,2151,r),(r=Rr(39))._W(4,2152),r._W(4,0),r._W(4,0),r._W(2,3),r._W(1,0),r._W(4,0),r._W(2,1),r._W(4,4),r._W(2,0),to(Gr(e["!ref"]||"A1"),r),r._W(4,4),tu(t,2152,r)}(i,a),tu(i,10),i.end()}function cu(t,e,r){var n=Lr(),i=(t||{}).Workbook||{},o=i.Sheets||[],a=i.WBProps||{},s=8==r.biff,c=5==r.biff;(tu(n,2057,so(0,5,r)),"xla"==r.bookType&&tu(n,135),tu(n,225,s?Li(1200):null),tu(n,193,function(t,e){e||(e=Rr(t));for(var r=0;r<t;++r)e._W(1,0);return e}(2)),c&&tu(n,191),c&&tu(n,192),tu(n,226),tu(n,92,function(t,e){var r=!e||8==e.biff,n=Rr(r?112:54);for(n._W(8==e.biff?2:1,7),r&&n._W(1,0),n._W(4,859007059),n._W(4,5458548|(r?0:536870912));n.l<n.length;)n._W(1,r?0:32);return n}(0,r)),tu(n,66,Li(s?1200:1252)),s&&tu(n,353,Li(0)),s&&tu(n,448),tu(n,317,function(t){for(var e=Rr(2*t),r=0;r<t;++r)e._W(2,r+1);return e}(t.SheetNames.length)),s&&t.vbaraw&&tu(n,211),s&&t.vbaraw)&&tu(n,442,Hi(a.CodeName||"ThisWorkbook"));tu(n,156,Li(17)),tu(n,25,Ri(!1)),tu(n,18,Ri(!1)),tu(n,19,Li(0)),s&&tu(n,431,Ri(!1)),s&&tu(n,444,Li(0)),tu(n,61,function(){var t=Rr(18);return t._W(2,0),t._W(2,0),t._W(2,29280),t._W(2,17600),t._W(2,56),t._W(2,0),t._W(2,0),t._W(2,1),t._W(2,500),t}()),tu(n,64,Ri(!1)),tu(n,141,Li(0)),tu(n,34,Ri("true"==function(t){return t.Workbook&&t.Workbook.WBProps&&_e(t.Workbook.WBProps.date1904)?"true":"false"}(t))),tu(n,14,Ri(!0)),s&&tu(n,439,Ri(!1)),tu(n,218,Li(0)),iu(n,0,r),function(t,e,r){e&&[[5,8],[23,26],[41,44],[50,392]].forEach((function(n){for(var i=n[0];i<=n[1];++i)null!=e[i]&&tu(t,1054,uo(i,e[i],r))}))}(n,t.SSF,r),function(t,e){for(var r=0;r<16;++r)tu(t,224,po({numFmtId:0,style:!0},0,e));e.cellXfs.forEach((function(r){tu(t,224,po(r,0,e))}))}(n,r),s&&tu(n,352,Ri(!1));var l=n.end(),u=Lr();s&&tu(u,140,function(t){return t||(t=Rr(4)),t._W(2,1),t._W(2,1),t}()),s&&r.Strings&&function(t,e,r,n){var i=n||(r||[]).length||0;if(i<=8224)return tu(t,e,r,i);var o=e;if(!isNaN(o)){for(var a=r.parts||[],s=0,c=0,l=0;l+(a[s]||8224)<=8224;)l+=a[s]||8224,s++;var u=t.next(4);for(u._W(2,o),u._W(2,l),t.push(r.slice(c,c+l)),c+=l;c<i;){for((u=t.next(4))._W(2,60),l=0;l+(a[s]||8224)<=8224;)l+=a[s]||8224,s++;u._W(2,l),t.push(r.slice(c,c+l)),c+=l}}}(u,252,function(t,e){var r=Rr(8);r._W(4,t.Count),r._W(4,t.Unique);for(var n=[],i=0;i<t.length;++i)n[i]=Mi(t[i]);var o=E([r].concat(n));return o.parts=[r.length].concat(n.map((function(t){return t.length}))),o}(r.Strings)),tu(u,10);var f=u.end(),h=Lr(),d=0,p=0;for(p=0;p<t.SheetNames.length;++p)d+=(s?12:11)+(s?2:1)*t.SheetNames[p].length;var v=l.length+d+f.length;for(p=0;p<t.SheetNames.length;++p){tu(h,133,co({pos:v,hs:(o[p]||{}).Hidden||0,dt:0,name:t.SheetNames[p]},r)),v+=e[p].length}var g=h.end();if(d!=g.length)throw new Error("BS8 "+d+" != "+g.length);var m=[];return l.length&&m.push(l),g.length&&m.push(g),f.length&&m.push(f),E(m)}function lu(t,e){for(var r=0;r<=t.SheetNames.length;++r){var n=t.Sheets[t.SheetNames[r]];if(n&&n["!ref"])qr(n["!ref"]).e.c>255&&"undefined"!=typeof console&&console.error&&console.error("Worksheet '"+t.SheetNames[r]+"' extends beyond column IV (255). Data may be lost.")}var i=e||{};switch(i.biff||2){case 8:case 5:return function(t,e){var r=e||{},n=[];t&&!t.SSF&&(t.SSF=qt(M)),t&&t.SSF&&(wt(),yt(t.SSF),r.revssf=Pt(t.SSF),r.revssf[t.SSF[65535]]=0,r.ssf=t.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,rf(r),r.cellXfs=[],pc(r.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={});for(var i=0;i<t.SheetNames.length;++i)n[n.length]=su(i,r,t);return n.unshift(cu(t,n,r)),E(n)}(t,e);case 4:case 3:case 2:return nu(t,e)}throw new Error("invalid type "+i.bookType+" for BIFF")}function uu(t,e){var r=e||{};null!=p&&null==r.dense&&(r.dense=p);var n=r.dense?[]:{},i=(t=t.replace(/<!--.*?-->/g,"")).match(/<table/i);if(!i)throw new Error("Invalid HTML: could not find <table>");var o=t.match(/<\/table/i),a=i.index,s=o&&o.index||t.length,c=Kt(t.slice(a,s),/(:?<tr[^>]*>)/i,"<tr>"),l=-1,u=0,f=0,h=0,d={s:{r:1e7,c:1e7},e:{r:0,c:0}},v=[];for(a=0;a<c.length;++a){var g=c[a].trim(),m=g.slice(0,3).toLowerCase();if("<tr"!=m){if("<td"==m||"<th"==m){var b=g.split(/<\/t[dh]>/i);for(s=0;s<b.length;++s){var y=b[s].trim();if(y.match(/<t[dh]/i)){for(var w=y,S=0;"<"==w.charAt(0)&&(S=w.indexOf(">"))>-1;)w=w.slice(S+1);for(var x=0;x<v.length;++x){var k=v[x];k.s.c==u&&k.s.r<l&&l<=k.e.r&&(u=k.e.c+1,x=-1)}var T=ve(y.slice(0,y.indexOf(">")));h=T.colspan?+T.colspan:1,((f=+T.rowspan)>1||h>1)&&v.push({s:{r:l,c:u},e:{r:l+(f||1)-1,c:u+h-1}});var A=T.t||T["data-t"]||"";if(w.length)if(w=Fe(w),d.s.r>l&&(d.s.r=l),d.e.r<l&&(d.e.r=l),d.s.c>u&&(d.s.c=u),d.e.c<u&&(d.e.c=u),w.length){var E={t:"s",v:w};r.raw||!w.trim().length||"s"==A||("TRUE"===w?E={t:"b",v:!0}:"FALSE"===w?E={t:"b",v:!1}:isNaN(Gt(w))?isNaN(Yt(w).getDate())||(E={t:"d",v:zt(w)},r.cellDates||(E={t:"n",v:It(E.v)}),E.z=r.dateNF||M[14]):E={t:"n",v:Gt(w)}),r.dense?(n[l]||(n[l]=[]),n[l][u]=E):n[Vr({r:l,c:u})]=E,u+=h}else u+=h;else u+=h}}}}else{if(++l,r.sheetRows&&r.sheetRows<=l){--l;break}u=0}}return n["!ref"]=$r(d),v.length&&(n["!merges"]=v),n}function fu(t,e,r,n){for(var i=t["!merges"]||[],o=[],a=e.s.c;a<=e.e.c;++a){for(var s=0,c=0,l=0;l<i.length;++l)if(!(i[l].s.r>r||i[l].s.c>a||i[l].e.r<r||i[l].e.c<a)){if(i[l].s.r<r||i[l].s.c<a){s=-1;break}s=i[l].e.r-i[l].s.r+1,c=i[l].e.c-i[l].s.c+1;break}if(!(s<0)){var u=Vr({r:r,c:a}),f=n.dense?(t[r]||[])[a]:t[u],h=f&&null!=f.v&&(f.h||Ae(f.w||(Yr(f),f.w)||""))||"",d={};s>1&&(d.rowspan=s),c>1&&(d.colspan=c),n.editable?h='<span contenteditable="true">'+h+"</span>":f&&(d["data-t"]=f&&f.t||"z",null!=f.v&&(d["data-v"]=f.v),null!=f.z&&(d["data-z"]=f.z),f.l&&"#"!=(f.l.Target||"#").charAt(0)&&(h='<a href="'+f.l.Target+'">'+h+"</a>")),d.id=(n.id||"sjs")+"-"+u,o.push(ze("td",h,d))}}return"<tr>"+o.join("")+"</tr>"}var hu='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',du="</body></html>";function pu(t,e,r){return[].join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}function vu(t,e){var r=e||{},n=null!=r.header?r.header:hu,i=null!=r.footer?r.footer:du,o=[n],a=qr(t["!ref"]);r.dense=Array.isArray(t),o.push(pu(0,0,r));for(var s=a.s.r;s<=a.e.r;++s)o.push(fu(t,a,s,r));return o.push("</table>"+i),o.join("")}function gu(t,e,r){var n=r||{};null!=p&&(n.dense=p);var i=0,o=0;if(null!=n.origin)if("number"==typeof n.origin)i=n.origin;else{var a="string"==typeof n.origin?zr(n.origin):n.origin;i=a.r,o=a.c}var s=e.getElementsByTagName("tr"),c=Math.min(n.sheetRows||1e7,s.length),l={s:{r:0,c:0},e:{r:i,c:o}};if(t["!ref"]){var u=qr(t["!ref"]);l.s.r=Math.min(l.s.r,u.s.r),l.s.c=Math.min(l.s.c,u.s.c),l.e.r=Math.max(l.e.r,u.e.r),l.e.c=Math.max(l.e.c,u.e.c),-1==i&&(l.e.r=i=u.e.r+1)}var f=[],h=0,d=t["!rows"]||(t["!rows"]=[]),v=0,g=0,m=0,b=0,y=0,w=0;for(t["!cols"]||(t["!cols"]=[]);v<s.length&&g<c;++v){var S=s[v];if(bu(S)){if(n.display)continue;d[g]={hidden:!0}}var x=S.children;for(m=b=0;m<x.length;++m){var k=x[m];if(!n.display||!bu(k)){var T=k.hasAttribute("data-v")?k.getAttribute("data-v"):k.hasAttribute("v")?k.getAttribute("v"):Fe(k.innerHTML),A=k.getAttribute("data-z")||k.getAttribute("z");for(h=0;h<f.length;++h){var E=f[h];E.s.c==b+o&&E.s.r<g+i&&g+i<=E.e.r&&(b=E.e.c+1-o,h=-1)}w=+k.getAttribute("colspan")||1,((y=+k.getAttribute("rowspan")||1)>1||w>1)&&f.push({s:{r:g+i,c:b+o},e:{r:g+i+(y||1)-1,c:b+o+(w||1)-1}});var _={t:"s",v:T},O=k.getAttribute("data-t")||k.getAttribute("t")||"";null!=T&&(0==T.length?_.t=O||"z":n.raw||0==T.trim().length||"s"==O||("TRUE"===T?_={t:"b",v:!0}:"FALSE"===T?_={t:"b",v:!1}:isNaN(Gt(T))?isNaN(Yt(T).getDate())||(_={t:"d",v:zt(T)},n.cellDates||(_={t:"n",v:It(_.v)}),_.z=n.dateNF||M[14]):_={t:"n",v:Gt(T)})),void 0===_.z&&null!=A&&(_.z=A);var N="",C=k.getElementsByTagName("A");if(C&&C.length)for(var R=0;R<C.length&&(!C[R].hasAttribute("href")||"#"==(N=C[R].getAttribute("href")).charAt(0));++R);N&&"#"!=N.charAt(0)&&(_.l={Target:N}),n.dense?(t[g+i]||(t[g+i]=[]),t[g+i][b+o]=_):t[Vr({c:b+o,r:g+i})]=_,l.e.c<b+o&&(l.e.c=b+o),b+=w}}++g}return f.length&&(t["!merges"]=(t["!merges"]||[]).concat(f)),l.e.r=Math.max(l.e.r,g-1+i),t["!ref"]=$r(l),g>=c&&(t["!fullref"]=$r((l.e.r=s.length-v+g-1+i,l))),t}function mu(t,e){return gu((e||{}).dense?[]:{},t,e)}function bu(t){var e="",r=function(t){return t.ownerDocument.defaultView&&"function"==typeof t.ownerDocument.defaultView.getComputedStyle?t.ownerDocument.defaultView.getComputedStyle:"function"==typeof getComputedStyle?getComputedStyle:null}(t);return r&&(e=r(t).getPropertyValue("display")),e||(e=t.style&&t.style.display),"none"===e}function yu(t){var e=t.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,(function(t,e){return Array(parseInt(e,10)+1).join(" ")})).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n");return[ye(e.replace(/<[^>]*>/g,""))]}var wu={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function Su(t,e){var r=e||{};null!=p&&null==r.dense&&(r.dense=p);var n,i,o,a,s,c,l=qe(t),u=[],f={name:""},h="",d=0,v={},g=[],m=r.dense?[]:{},b={value:""},y="",w=0,S=[],x=-1,k=-1,T={s:{r:1e6,c:1e7},e:{r:0,c:0}},A=0,E={},_=[],O={},N=[],C=1,R=1,P=[],L={Names:[]},I={},F=["",""],j=[],D={},M="",B=0,W=!1,U=!1,H=0;for($e.lastIndex=0,l=l.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");s=$e.exec(l);)switch(s[3]=s[3].replace(/_.*$/,"")){case"table":case"工作表":"/"===s[1]?(T.e.c>=T.s.c&&T.e.r>=T.s.r?m["!ref"]=$r(T):m["!ref"]="A1:A1",r.sheetRows>0&&r.sheetRows<=T.e.r&&(m["!fullref"]=m["!ref"],T.e.r=r.sheetRows-1,m["!ref"]=$r(T)),_.length&&(m["!merges"]=_),N.length&&(m["!rows"]=N),o.name=o["名称"]||o.name,"undefined"!=typeof JSON&&JSON.stringify(o),g.push(o.name),v[o.name]=m,U=!1):"/"!==s[0].charAt(s[0].length-2)&&(o=ve(s[0],!1),x=k=-1,T.s.r=T.s.c=1e7,T.e.r=T.e.c=0,m=r.dense?[]:{},_=[],N=[],U=!0);break;case"table-row-group":"/"===s[1]?--A:++A;break;case"table-row":case"行":if("/"===s[1]){x+=C,C=1;break}if((a=ve(s[0],!1))["行号"]?x=a["行号"]-1:-1==x&&(x=0),(C=+a["number-rows-repeated"]||1)<10)for(H=0;H<C;++H)A>0&&(N[x+H]={level:A});k=-1;break;case"covered-table-cell":"/"!==s[1]&&++k,r.sheetStubs&&(r.dense?(m[x]||(m[x]=[]),m[x][k]={t:"z"}):m[Vr({r:x,c:k})]={t:"z"}),y="",S=[];break;case"table-cell":case"数据":if("/"===s[0].charAt(s[0].length-2))++k,b=ve(s[0],!1),R=parseInt(b["number-columns-repeated"]||"1",10),c={t:"z",v:null},b.formula&&0!=r.cellFormula&&(c.f=ic(ye(b.formula))),"string"==(b["数据类型"]||b["value-type"])&&(c.t="s",c.v=ye(b["string-value"]||""),r.dense?(m[x]||(m[x]=[]),m[x][k]=c):m[Vr({r:x,c:k})]=c),k+=R-1;else if("/"!==s[1]){y="",w=0,S=[],R=1;var z=C?x+C-1:x;if(++k>T.e.c&&(T.e.c=k),k<T.s.c&&(T.s.c=k),x<T.s.r&&(T.s.r=x),z>T.e.r&&(T.e.r=z),j=[],D={},c={t:(b=ve(s[0],!1))["数据类型"]||b["value-type"],v:null},r.cellFormula)if(b.formula&&(b.formula=ye(b.formula)),b["number-matrix-columns-spanned"]&&b["number-matrix-rows-spanned"]&&(O={s:{r:x,c:k},e:{r:x+(parseInt(b["number-matrix-rows-spanned"],10)||0)-1,c:k+(parseInt(b["number-matrix-columns-spanned"],10)||0)-1}},c.F=$r(O),P.push([O,c.F])),b.formula)c.f=ic(b.formula);else for(H=0;H<P.length;++H)x>=P[H][0].s.r&&x<=P[H][0].e.r&&k>=P[H][0].s.c&&k<=P[H][0].e.c&&(c.F=P[H][1]);switch((b["number-columns-spanned"]||b["number-rows-spanned"])&&(O={s:{r:x,c:k},e:{r:x+(parseInt(b["number-rows-spanned"],10)||0)-1,c:k+(parseInt(b["number-columns-spanned"],10)||0)-1}},_.push(O)),b["number-columns-repeated"]&&(R=parseInt(b["number-columns-repeated"],10)),c.t){case"boolean":c.t="b",c.v=_e(b["boolean-value"]);break;case"float":case"percentage":case"currency":c.t="n",c.v=parseFloat(b.value);break;case"date":c.t="d",c.v=zt(b["date-value"]),r.cellDates||(c.t="n",c.v=It(c.v)),c.z="m/d/yy";break;case"time":c.t="n",c.v=Bt(b["time-value"])/86400,r.cellDates&&(c.t="d",c.v=Mt(c.v)),c.z="HH:MM:SS";break;case"number":c.t="n",c.v=parseFloat(b["数据数值"]);break;default:if("string"!==c.t&&"text"!==c.t&&c.t)throw new Error("Unsupported value type "+c.t);c.t="s",null!=b["string-value"]&&(y=ye(b["string-value"]),S=[])}}else{if(W=!1,"s"===c.t&&(c.v=y||"",S.length&&(c.R=S),W=0==w),I.Target&&(c.l=I),j.length>0&&(c.c=j,j=[]),y&&!1!==r.cellText&&(c.w=y),W&&(c.t="z",delete c.v),(!W||r.sheetStubs)&&!(r.sheetRows&&r.sheetRows<=x))for(var V=0;V<C;++V){if(R=parseInt(b["number-columns-repeated"]||"1",10),r.dense)for(m[x+V]||(m[x+V]=[]),m[x+V][k]=0==V?c:qt(c);--R>0;)m[x+V][k+R]=qt(c);else for(m[Vr({r:x+V,c:k})]=c;--R>0;)m[Vr({r:x+V,c:k+R})]=qt(c);T.e.c<=k&&(T.e.c=k)}k+=(R=parseInt(b["number-columns-repeated"]||"1",10))-1,R=0,c={},y="",S=[]}I={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!0]);break;case"annotation":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n;D.t=y,S.length&&(D.R=S),D.a=M,j.push(D)}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!1]);M="",B=0,y="",w=0,S=[];break;case"creator":"/"===s[1]?M=l.slice(B,s.index):B=s.index+s[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!1]);y="",w=0,S=[];break;case"scientific-number":case"currency-symbol":case"currency-style":case"script":case"libraries":case"automatic-styles":case"default-style":case"page-layout":case"style":case"map":case"font-face":case"paragraph-properties":case"table-properties":case"table-column-properties":case"table-row-properties":case"table-cell-properties":case"fraction":case"boolean-style":case"boolean":case"text-style":case"text-content":case"text-properties":case"embedded-text":case"body":case"电子表格":case"forms":case"table-column":case"table-header-rows":case"table-rows":case"table-column-group":case"table-header-columns":case"table-columns":case"null-date":case"graphic-properties":case"calculation-settings":case"named-expressions":case"label-range":case"label-ranges":case"named-expression":case"sort":case"sort-by":case"sort-groups":case"tab":case"line-break":case"span":case"s":case"date":case"object":case"title":case"标题":case"desc":case"binary-data":case"table-source":case"scenario":case"iteration":case"content-validations":case"content-validation":case"help-message":case"error-message":case"database-ranges":case"filter":case"filter-and":case"filter-or":case"filter-condition":case"list-level-style-bullet":case"list-level-style-number":case"list-level-properties":case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":case"event-listener":case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":case"config-item":case"page-number":case"page-count":case"time":case"cell-range-source":case"detective":case"operation":case"highlighted-range":case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":case"rect":case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":case"properties":case"property":case"table-protection":case"data-pilot-grand-total":case"office-document-common-attrs":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if("/"===s[1]){if(E[f.name]=h,(n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&(h="",f=ve(s[0],!1),u.push([s[3],!0]));break;case"number":case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(u[u.length-1][0]){case"time-style":case"date-style":i=ve(s[0],!1),h+=wu[s[3]]["long"===i.style?1:0]}break;case"text":if("/>"===s[0].slice(-2))break;if("/"===s[1])switch(u[u.length-1][0]){case"number-style":case"date-style":case"time-style":h+=l.slice(d,s.index)}else d=s.index+s[0].length;break;case"named-range":F=ac((i=ve(s[0],!1))["cell-range-address"]);var q={Name:i.name,Ref:F[0]+"!"+F[1]};U&&(q.Sheet=g.length),L.Names.push(q);break;case"p":case"文本串":if(["master-styles"].indexOf(u[u.length-1][0])>-1)break;if("/"!==s[1]||b&&b["string-value"])ve(s[0],!1),w=s.index+s[0].length;else{var $=yu(l.slice(w,s.index));y=(y.length>0?y+"\n":"")+$[0]}break;case"database-range":if("/"===s[1])break;try{v[(F=ac(ve(s[0])["target-range-address"]))[0]]["!autofilter"]={ref:F[1]}}catch(t){}break;case"a":if("/"!==s[1]){if(!(I=ve(s[0],!1)).href)break;I.Target=ye(I.href),delete I.href,"#"==I.Target.charAt(0)&&I.Target.indexOf(".")>-1?(F=ac(I.Target.slice(1)),I.Target="#"+F[0]+"!"+F[1]):I.Target.match(/^\.\.[\\\/]/)&&(I.Target=I.Target.slice(3))}break;default:switch(s[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(r.WTF)throw new Error(s)}}var G={Sheets:v,SheetNames:g,Workbook:L};return r.bookSheets&&delete G.Sheets,G}function xu(t,e){e=e||{},Qt(t,"META-INF/manifest.xml")&&function(t,e){for(var r,n,i=qe(t);r=$e.exec(i);)switch(r[3]){case"manifest":break;case"file-entry":if("/"==(n=ve(r[0],!1)).path&&n.type!==Yn)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(e&&e.WTF)throw r}}(ee(t,"META-INF/manifest.xml"),e);var r=re(t,"content.xml");if(!r)throw new Error("Missing content.xml in ODS / UOF file");var n=Su(Pe(r),e);return Qt(t,"meta.xml")&&(n.Props=ei(ee(t,"meta.xml"))),n}function ku(t,e){return Su(t,e)}var Tu=function(){var t=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join(""),e="<office:document-styles "+He({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+t+"</office:document-styles>";return function(){return le+e}}(),Au=function(){var t=function(t){return xe(t).replace(/ +/g,(function(t){return'<text:s text:c="'+t.length+'"/>'})).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},e=" <table:table-cell />\n",r=function(r,n,i){var o=[];o.push(' <table:table table:name="'+xe(n.SheetNames[i])+'" table:style-name="ta1">\n');var a=0,s=0,c=qr(r["!ref"]||"A1"),l=r["!merges"]||[],u=0,f=Array.isArray(r);if(r["!cols"])for(s=0;s<=c.e.c;++s)o.push(" <table:table-column"+(r["!cols"][s]?' table:style-name="co'+r["!cols"][s].ods+'"':"")+"></table:table-column>\n");var h="",d=r["!rows"]||[];for(a=0;a<c.s.r;++a)h=d[a]?' table:style-name="ro'+d[a].ods+'"':"",o.push(" <table:table-row"+h+"></table:table-row>\n");for(;a<=c.e.r;++a){for(h=d[a]?' table:style-name="ro'+d[a].ods+'"':"",o.push(" <table:table-row"+h+">\n"),s=0;s<c.s.c;++s)o.push(e);for(;s<=c.e.c;++s){var p=!1,v={},g="";for(u=0;u!=l.length;++u)if(!(l[u].s.c>s||l[u].s.r>a||l[u].e.c<s||l[u].e.r<a)){l[u].s.c==s&&l[u].s.r==a||(p=!0),v["table:number-columns-spanned"]=l[u].e.c-l[u].s.c+1,v["table:number-rows-spanned"]=l[u].e.r-l[u].s.r+1;break}if(p)o.push(" <table:covered-table-cell/>\n");else{var m=Vr({r:a,c:s}),b=f?(r[a]||[])[s]:r[m];if(b&&b.f&&(v["table:formula"]=xe(oc(b.f)),b.F&&b.F.slice(0,m.length)==m)){var y=qr(b.F);v["table:number-matrix-columns-spanned"]=y.e.c-y.s.c+1,v["table:number-matrix-rows-spanned"]=y.e.r-y.s.r+1}if(b){switch(b.t){case"b":g=b.v?"TRUE":"FALSE",v["office:value-type"]="boolean",v["office:boolean-value"]=b.v?"true":"false";break;case"n":g=b.w||String(b.v||0),v["office:value-type"]="float",v["office:value"]=b.v||0;break;case"s":case"str":g=null==b.v?"":b.v,v["office:value-type"]="string";break;case"d":g=b.w||zt(b.v).toISOString(),v["office:value-type"]="date",v["office:date-value"]=zt(b.v).toISOString(),v["table:style-name"]="ce1";break;default:o.push(e);continue}var w=t(g);if(b.l&&b.l.Target){var S=b.l.Target;"#"==(S="#"==S.charAt(0)?"#"+sc(S.slice(1)):S).charAt(0)||S.match(/^\w+:/)||(S="../"+S),w=ze("text:a",w,{"xlink:href":S.replace(/&/g,"&")})}o.push(" "+ze("table:table-cell",ze("text:p",w,{}),v)+"\n")}else o.push(e)}}o.push(" </table:table-row>\n")}return o.push(" </table:table>\n"),o.join("")};return function(t,e){var n=[le],i=He({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),o=He({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==e.bookType?(n.push("<office:document"+i+o+">\n"),n.push(Zn().replace(/office:document-meta/g,"office:meta"))):n.push("<office:document-content"+i+">\n"),function(t,e){t.push(" <office:automatic-styles>\n"),t.push(' <number:date-style style:name="N37" number:automatic-order="true">\n'),t.push(' <number:month number:style="long"/>\n'),t.push(" <number:text>/</number:text>\n"),t.push(' <number:day number:style="long"/>\n'),t.push(" <number:text>/</number:text>\n"),t.push(" <number:year/>\n"),t.push(" </number:date-style>\n");var r=0;e.SheetNames.map((function(t){return e.Sheets[t]})).forEach((function(e){if(e&&e["!cols"])for(var n=0;n<e["!cols"].length;++n)if(e["!cols"][n]){var i=e["!cols"][n];if(null==i.width&&null==i.wpx&&null==i.wch)continue;Sa(i),i.ods=r;var o=e["!cols"][n].wpx+"px";t.push(' <style:style style:name="co'+r+'" style:family="table-column">\n'),t.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+o+'"/>\n'),t.push(" </style:style>\n"),++r}}));var n=0;e.SheetNames.map((function(t){return e.Sheets[t]})).forEach((function(e){if(e&&e["!rows"])for(var r=0;r<e["!rows"].length;++r)if(e["!rows"][r]){e["!rows"][r].ods=n;var i=e["!rows"][r].hpx+"px";t.push(' <style:style style:name="ro'+n+'" style:family="table-row">\n'),t.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+i+'"/>\n'),t.push(" </style:style>\n"),++n}})),t.push(' <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">\n'),t.push(' <style:table-properties table:display="true" style:writing-mode="lr-tb"/>\n'),t.push(" </style:style>\n"),t.push(' <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>\n'),t.push(" </office:automatic-styles>\n")}(n,t),n.push(" <office:body>\n"),n.push(" <office:spreadsheet>\n");for(var a=0;a!=t.SheetNames.length;++a)n.push(r(t.Sheets[t.SheetNames[a]],t,a));return n.push(" </office:spreadsheet>\n"),n.push(" </office:body>\n"),"fods"==e.bookType?n.push("</office:document>"):n.push("</office:document-content>"),n.join("")}}();function Eu(t,e){if("fods"==e.bookType)return Au(t,e);var r=ae(),n="",i=[],o=[];return oe(r,n="mimetype","application/vnd.oasis.opendocument.spreadsheet"),oe(r,n="content.xml",Au(t,e)),i.push([n,"text/xml"]),o.push([n,"ContentFile"]),oe(r,n="styles.xml",Tu(t,e)),i.push([n,"text/xml"]),o.push([n,"StylesFile"]),oe(r,n="meta.xml",le+Zn()),i.push([n,"text/xml"]),o.push([n,"MetadataFile"]),oe(r,n="manifest.rdf",function(t){var e=[le];e.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var r=0;r!=t.length;++r)e.push(Kn(t[r][0],t[r][1])),e.push(Jn("",t[r][0]));return e.push(Kn("","Document","pkg")),e.push("</rdf:RDF>"),e.join("")}(o)),i.push([n,"application/rdf+xml"]),oe(r,n="META-INF/manifest.xml",function(t){var e=[le];e.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n'),e.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');for(var r=0;r<t.length;++r)e.push(' <manifest:file-entry manifest:full-path="'+t[r][0]+'" manifest:media-type="'+t[r][1]+'"/>\n');return e.push("</manifest:manifest>"),e.join("")}(i)),r}function _u(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function Ou(t){return"undefined"!=typeof TextDecoder?(new TextDecoder).decode(t):Pe(T(t))}function Nu(t){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(t):x(Le(t))}function Cu(t){var e=t.reduce((function(t,e){return t+e.length}),0),r=new Uint8Array(e),n=0;return t.forEach((function(t){r.set(t,n),n+=t.length})),r}function Ru(t){return 16843009*((t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135)>>>24}function Pu(t,e){var r=e?e[0]:0,n=127&t[r];t:if(t[r++]>=128){if(n|=(127&t[r])<<7,t[r++]<128)break t;if(n|=(127&t[r])<<14,t[r++]<128)break t;if(n|=(127&t[r])<<21,t[r++]<128)break t;if(n+=(127&t[r])*Math.pow(2,28),++r,t[r++]<128)break t;if(n+=(127&t[r])*Math.pow(2,35),++r,t[r++]<128)break t;if(n+=(127&t[r])*Math.pow(2,42),++r,t[r++]<128)break t}return e&&(e[0]=r),n}function Lu(t){var e=new Uint8Array(7);e[0]=127&t;var r=1;t:if(t>127){if(e[r-1]|=128,e[r]=t>>7&127,++r,t<=16383)break t;if(e[r-1]|=128,e[r]=t>>14&127,++r,t<=2097151)break t;if(e[r-1]|=128,e[r]=t>>21&127,++r,t<=268435455)break t;if(e[r-1]|=128,e[r]=t/256>>>21&127,++r,t<=34359738367)break t;if(e[r-1]|=128,e[r]=t/65536>>>21&127,++r,t<=4398046511103)break t;e[r-1]|=128,e[r]=t/16777216>>>21&127,++r}return e.slice(0,r)}function Iu(t){var e=0,r=127&t[e];t:if(t[e++]>=128){if(r|=(127&t[e])<<7,t[e++]<128)break t;if(r|=(127&t[e])<<14,t[e++]<128)break t;if(r|=(127&t[e])<<21,t[e++]<128)break t;r|=(127&t[e])<<28}return r}function Fu(t){for(var e=[],r=[0];r[0]<t.length;){var n,i=r[0],o=Pu(t,r),a=7&o,s=0;if(0==(o=Math.floor(o/8)))break;switch(a){case 0:for(var c=r[0];t[r[0]++]>=128;);n=t.slice(c,r[0]);break;case 5:s=4,n=t.slice(r[0],r[0]+s),r[0]+=s;break;case 1:s=8,n=t.slice(r[0],r[0]+s),r[0]+=s;break;case 2:s=Pu(t,r),n=t.slice(r[0],r[0]+s),r[0]+=s;break;default:throw new Error("PB Type ".concat(a," for Field ").concat(o," at offset ").concat(i))}var l={data:n,type:a};null==e[o]?e[o]=[l]:e[o].push(l)}return e}function ju(t){var e=[];return t.forEach((function(t,r){t.forEach((function(t){t.data&&(e.push(Lu(8*r+t.type)),2==t.type&&e.push(Lu(t.data.length)),e.push(t.data))}))})),Cu(e)}function Du(t,e){return(null==t?void 0:t.map((function(t){return e(t.data)})))||[]}function Mu(t){for(var e,r=[],n=[0];n[0]<t.length;){var i=Pu(t,n),o=Fu(t.slice(n[0],n[0]+i));n[0]+=i;var a={id:Iu(o[1][0].data),messages:[]};o[2].forEach((function(e){var r=Fu(e.data),i=Iu(r[3][0].data);a.messages.push({meta:r,data:t.slice(n[0],n[0]+i)}),n[0]+=i})),(null==(e=o[3])?void 0:e[0])&&(a.merge=Iu(o[3][0].data)>>>0>0),r.push(a)}return r}function Bu(t){var e=[];return t.forEach((function(t){var r=[];r[1]=[{data:Lu(t.id),type:0}],r[2]=[],null!=t.merge&&(r[3]=[{data:Lu(+!!t.merge),type:0}]);var n=[];t.messages.forEach((function(t){n.push(t.data),t.meta[3]=[{type:0,data:Lu(t.data.length)}],r[2].push({data:ju(t.meta),type:2})}));var i=ju(r);e.push(Lu(i.length)),e.push(i),n.forEach((function(t){return e.push(t)}))})),Cu(e)}function Wu(t,e){if(0!=t)throw new Error("Unexpected Snappy chunk type ".concat(t));for(var r=[0],n=Pu(e,r),i=[];r[0]<e.length;){var o=3&e[r[0]];if(0!=o){var a=0,s=0;if(1==o?(s=4+(e[r[0]]>>2&7),a=(224&e[r[0]++])<<3,a|=e[r[0]++]):(s=1+(e[r[0]++]>>2),2==o?(a=e[r[0]]|e[r[0]+1]<<8,r[0]+=2):(a=(e[r[0]]|e[r[0]+1]<<8|e[r[0]+2]<<16|e[r[0]+3]<<24)>>>0,r[0]+=4)),i=[Cu(i)],0==a)throw new Error("Invalid offset 0");if(a>i[0].length)throw new Error("Invalid offset beyond length");if(s>=a)for(i.push(i[0].slice(-a)),s-=a;s>=i[i.length-1].length;)i.push(i[i.length-1]),s-=i[i.length-1].length;i.push(i[0].slice(-a,-a+s))}else{var c=e[r[0]++]>>2;if(c<60)++c;else{var l=c-59;c=e[r[0]],l>1&&(c|=e[r[0]+1]<<8),l>2&&(c|=e[r[0]+2]<<16),l>3&&(c|=e[r[0]+3]<<24),c>>>=0,c++,r[0]+=l}i.push(e.slice(r[0],r[0]+c)),r[0]+=c}}var u=Cu(i);if(u.length!=n)throw new Error("Unexpected length: ".concat(u.length," != ").concat(n));return u}function Uu(t){for(var e=[],r=0;r<t.length;){var n=t[r++],i=t[r]|t[r+1]<<8|t[r+2]<<16;r+=3,e.push(Wu(n,t.slice(r,r+i))),r+=i}if(r!==t.length)throw new Error("data is not a valid framed stream!");return Cu(e)}function Hu(t){for(var e=[],r=0;r<t.length;){var n=Math.min(t.length-r,268435455),i=new Uint8Array(4);e.push(i);var o=Lu(n),a=o.length;e.push(o),n<=60?(a++,e.push(new Uint8Array([n-1<<2]))):n<=256?(a+=2,e.push(new Uint8Array([240,n-1&255]))):n<=65536?(a+=3,e.push(new Uint8Array([244,n-1&255,n-1>>8&255]))):n<=16777216?(a+=4,e.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(a+=5,e.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),e.push(t.slice(r,r+n)),a+=n,i[0]=0,i[1]=255&a,i[2]=a>>8&255,i[3]=a>>16&255,r+=n}return Cu(e)}function zu(t,e,r){var n,i=_u(t),o=i.getUint32(8,!0),a=12,s=-1,c=-1,l=NaN,u=NaN,f=new Date(2001,0,1);switch(1&o&&(l=function(t,e){for(var r=(127&t[e+15])<<7|t[e+14]>>1,n=1&t[e+14],i=e+13;i>=e;--i)n=256*n+t[i];return(128&t[e+15]?-n:n)*Math.pow(10,r-6176)}(t,a),a+=16),2&o&&(u=i.getFloat64(a,!0),a+=8),4&o&&(f.setTime(f.getTime()+1e3*i.getFloat64(a,!0)),a+=8),8&o&&(c=i.getUint32(a,!0),a+=4),16&o&&(s=i.getUint32(a,!0),a+=4),t[1]){case 0:break;case 2:case 10:n={t:"n",v:l};break;case 3:n={t:"s",v:e[c]};break;case 5:n={t:"d",v:f};break;case 6:n={t:"b",v:u>0};break;case 7:n={t:"n",v:u/86400};break;case 8:n={t:"e",v:0};break;case 9:if(!(s>-1))throw new Error("Unsupported cell type ".concat(t[1]," : ").concat(31&o," : ").concat(t.slice(0,4)));n={t:"s",v:r[s]};break;default:throw new Error("Unsupported cell type ".concat(t[1]," : ").concat(31&o," : ").concat(t.slice(0,4)))}return n}function Vu(t,e){var r=new Uint8Array(32),n=_u(r),i=12,o=0;switch(r[0]=5,t.t){case"n":r[1]=2,function(t,e,r){var n=Math.floor(0==r?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,i=r/Math.pow(10,n-6176);t[e+15]|=n>>7,t[e+14]|=(127&n)<<1;for(var o=0;i>=1;++o,i/=256)t[e+o]=255&i;t[e+15]|=r>=0?0:128}(r,i,t.v),o|=1,i+=16;break;case"b":r[1]=6,n.setFloat64(i,t.v?1:0,!0),o|=2,i+=8;break;case"s":if(-1==e.indexOf(t.v))throw new Error("Value ".concat(t.v," missing from SST!"));r[1]=3,n.setUint32(i,e.indexOf(t.v),!0),o|=8,i+=4;break;default:throw"unsupported cell type "+t.t}return n.setUint32(8,o,!0),r.slice(0,i)}function qu(t,e){var r=new Uint8Array(32),n=_u(r),i=12,o=0;switch(r[0]=3,t.t){case"n":r[2]=2,n.setFloat64(i,t.v,!0),o|=32,i+=8;break;case"b":r[2]=6,n.setFloat64(i,t.v?1:0,!0),o|=32,i+=8;break;case"s":if(-1==e.indexOf(t.v))throw new Error("Value ".concat(t.v," missing from SST!"));r[2]=3,n.setUint32(i,e.indexOf(t.v),!0),o|=16,i+=4;break;default:throw"unsupported cell type "+t.t}return n.setUint32(4,o,!0),r.slice(0,i)}function $u(t,e,r){switch(t[0]){case 0:case 1:case 2:case 3:return function(t,e,r,n){var i,o=_u(t),a=o.getUint32(4,!0),s=(n>1?12:8)+4*Ru(a&(n>1?3470:398)),c=-1,l=-1,u=NaN,f=new Date(2001,0,1);switch(512&a&&(c=o.getUint32(s,!0),s+=4),s+=4*Ru(a&(n>1?12288:4096)),16&a&&(l=o.getUint32(s,!0),s+=4),32&a&&(u=o.getFloat64(s,!0),s+=8),64&a&&(f.setTime(f.getTime()+1e3*o.getFloat64(s,!0)),s+=8),t[2]){case 0:break;case 2:i={t:"n",v:u};break;case 3:i={t:"s",v:e[l]};break;case 5:i={t:"d",v:f};break;case 6:i={t:"b",v:u>0};break;case 7:i={t:"n",v:u/86400};break;case 8:i={t:"e",v:0};break;case 9:if(c>-1)i={t:"s",v:r[c]};else if(l>-1)i={t:"s",v:e[l]};else{if(isNaN(u))throw new Error("Unsupported cell type ".concat(t.slice(0,4)));i={t:"n",v:u}}break;default:throw new Error("Unsupported cell type ".concat(t.slice(0,4)))}return i}(t,e,r,t[0]);case 5:return zu(t,e,r);default:throw new Error("Unsupported payload version ".concat(t[0]))}}function Gu(t){return Pu(Fu(t)[1][0].data)}function Xu(t,e){var r=Fu(e.data),n=Iu(r[1][0].data),i=r[3],o=[];return(i||[]).forEach((function(e){var r=Fu(e.data),i=Iu(r[1][0].data)>>>0;switch(n){case 1:o[i]=Ou(r[3][0].data);break;case 8:var a=Fu(t[Gu(r[9][0].data)][0].data),s=t[Gu(a[1][0].data)][0],c=Iu(s.meta[1][0].data);if(2001!=c)throw new Error("2000 unexpected reference to ".concat(c));var l=Fu(s.data);o[i]=l[3].map((function(t){return Ou(t.data)})).join("")}})),o}function Yu(t,e){var r,n=Fu(e.data),i=(null==(r=null==n?void 0:n[7])?void 0:r[0])?Iu(n[7][0].data)>>>0>0?1:0:-1,o=Du(n[5],(function(t){return function(t,e){var r,n,i,o,a,s,c,l,u,f,h,d,p,v,g,m,b=Fu(t),y=Iu(b[1][0].data)>>>0,w=Iu(b[2][0].data)>>>0,S=(null==(n=null==(r=b[8])?void 0:r[0])?void 0:n.data)&&Iu(b[8][0].data)>0||!1;if((null==(o=null==(i=b[7])?void 0:i[0])?void 0:o.data)&&0!=e)g=null==(s=null==(a=b[7])?void 0:a[0])?void 0:s.data,m=null==(l=null==(c=b[6])?void 0:c[0])?void 0:l.data;else{if(!(null==(f=null==(u=b[4])?void 0:u[0])?void 0:f.data)||1==e)throw"NUMBERS Tile missing ".concat(e," cell storage");g=null==(d=null==(h=b[4])?void 0:h[0])?void 0:d.data,m=null==(v=null==(p=b[3])?void 0:p[0])?void 0:v.data}for(var x=S?4:1,k=_u(g),T=[],A=0;A<g.length/2;++A){var E=k.getUint16(2*A,!0);E<65535&&T.push([A,E])}if(T.length!=w)throw"Expected ".concat(w," cells, found ").concat(T.length);var _=[];for(A=0;A<T.length-1;++A)_[T[A][0]]=m.subarray(T[A][1]*x,T[A+1][1]*x);return T.length>=1&&(_[T[T.length-1][0]]=m.subarray(T[T.length-1][1]*x)),{R:y,cells:_}}(t,i)}));return{nrows:Iu(n[4][0].data)>>>0,data:o.reduce((function(t,e){return t[e.R]||(t[e.R]=[]),e.cells.forEach((function(r,n){if(t[e.R][n])throw new Error("Duplicate cell r=".concat(e.R," c=").concat(n));t[e.R][n]=r})),t}),[])}}function Ku(t,e){var r={"!ref":"A1"},n=t[Gu(Fu(e.data)[2][0].data)],i=Iu(n[0].meta[1][0].data);if(6001!=i)throw new Error("6000 unexpected reference to ".concat(i));return function(t,e,r){var n,i=Fu(e.data),o={s:{r:0,c:0},e:{r:0,c:0}};if(o.e.r=(Iu(i[6][0].data)>>>0)-1,o.e.r<0)throw new Error("Invalid row varint ".concat(i[6][0].data));if(o.e.c=(Iu(i[7][0].data)>>>0)-1,o.e.c<0)throw new Error("Invalid col varint ".concat(i[7][0].data));r["!ref"]=$r(o);var a=Fu(i[4][0].data),s=Xu(t,t[Gu(a[4][0].data)][0]),c=(null==(n=a[17])?void 0:n[0])?Xu(t,t[Gu(a[17][0].data)][0]):[],l=Fu(a[3][0].data),u=0;l[1].forEach((function(e){var n=Fu(e.data),i=t[Gu(n[2][0].data)][0],o=Iu(i.meta[1][0].data);if(6002!=o)throw new Error("6001 unexpected reference to ".concat(o));var a=Yu(0,i);a.data.forEach((function(t,e){t.forEach((function(t,n){var i=Vr({r:u+e,c:n}),o=$u(t,s,c);o&&(r[i]=o)}))})),u+=a.nrows}))}(t,n[0],r),r}function Ju(t,e){var r={SheetNames:[],Sheets:{}};if(Du(Fu(e.data)[1],Gu).forEach((function(e){t[e].forEach((function(e){if(2==Iu(e.meta[1][0].data)){var n=function(t,e){var r,n=Fu(e.data),i={name:(null==(r=n[1])?void 0:r[0])?Ou(n[1][0].data):"",sheets:[]};return Du(n[2],Gu).forEach((function(e){t[e].forEach((function(e){6e3==Iu(e.meta[1][0].data)&&i.sheets.push(Ku(t,e))}))})),i}(t,e);n.sheets.forEach((function(t,e){If(r,t,0==e?n.name:n.name+"_"+e,!0)}))}}))})),0==r.SheetNames.length)throw new Error("Empty NUMBERS file");return r}function Zu(t){var e,r,n,i,o={},a=[];if(t.FullPaths.forEach((function(t){if(t.match(/\.iwpv2/))throw new Error("Unsupported password protection")})),t.FileIndex.forEach((function(t){if(t.name.match(/\.iwa$/)){var e,r;try{e=Uu(t.content)}catch(e){return console.log("?? "+t.content.length+" "+(e.message||e))}try{r=Mu(e)}catch(t){return console.log("## "+(t.message||t))}r.forEach((function(t){o[t.id]=t.messages,a.push(t.id)}))}})),!a.length)throw new Error("File has no messages");var s=(null==(i=null==(n=null==(r=null==(e=null==o?void 0:o[1])?void 0:e[0])?void 0:r.meta)?void 0:n[1])?void 0:i[0].data)&&1==Iu(o[1][0].meta[1][0].data)&&o[1][0];if(s||a.forEach((function(t){o[t].forEach((function(t){if(1==Iu(t.meta[1][0].data)>>>0){if(s)throw new Error("Document has multiple roots");s=t}}))})),!s)throw new Error("Cannot find Document root");return Ju(o,s)}function Qu(t,e,r){var n,i,o,a;if(!(null==(n=t[6])?void 0:n[0])||!(null==(i=t[7])?void 0:i[0]))throw"Mutation only works on post-BNC storages!";if((null==(a=null==(o=t[8])?void 0:o[0])?void 0:a.data)&&Iu(t[8][0].data)>0||!1)throw"Math only works with normal offsets";for(var s=0,c=_u(t[7][0].data),l=0,u=[],f=_u(t[4][0].data),h=0,d=[],p=0;p<e.length;++p)if(null!=e[p]){var v,g;switch(c.setUint16(2*p,l,!0),f.setUint16(2*p,h,!0),typeof e[p]){case"string":v=Vu({t:"s",v:e[p]},r),g=qu({t:"s",v:e[p]},r);break;case"number":v=Vu({t:"n",v:e[p]},r),g=qu({t:"n",v:e[p]},r);break;case"boolean":v=Vu({t:"b",v:e[p]},r),g=qu({t:"b",v:e[p]},r);break;default:throw new Error("Unsupported value "+e[p])}u.push(v),l+=v.length,d.push(g),h+=g.length,++s}else c.setUint16(2*p,65535,!0),f.setUint16(2*p,65535);for(t[2][0].data=Lu(s);p<t[7][0].data.length/2;++p)c.setUint16(2*p,65535,!0),f.setUint16(2*p,65535,!0);return t[6][0].data=Cu(u),t[3][0].data=Cu(d),s}function tf(t){return function(e){for(var r=0;r!=t.length;++r){var n=t[r];void 0===e[n[0]]&&(e[n[0]]=n[1]),"n"===n[2]&&(e[n[0]]=Number(e[n[0]]))}}}function ef(t){tf([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(t)}function rf(t){tf([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(t)}function nf(t){return Vn.WS.indexOf(t)>-1?"sheet":Vn.CS&&t==Vn.CS?"chart":Vn.DS&&t==Vn.DS?"dialog":Vn.MS&&t==Vn.MS?"macro":t&&t.length?t:"sheet"}function of(t,e,r,n,i,o,a,s,c,l,u,f){try{o[n]=$n(re(t,r,!0),e);var h,d=ee(t,e);switch(s){case"sheet":h=vl(d,e,i,c,o[n],l,u,f);break;case"chart":if(!(h=gl(d,e,i,c,o[n],l))||!h["!drawel"])break;var p=ce(h["!drawel"].Target,e),v=qn(p),g=function(t,e){if(!t)return"??";var r=(t.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return e["!id"][r].Target}(re(t,p,!0),$n(re(t,v,!0),p)),m=ce(g,p),b=qn(m);h=Kc(re(t,m,!0),0,0,$n(re(t,b,!0),m),0,h);break;case"macro":h=function(t,e,r,n,i,o,a,s){return e.slice(-4),{"!type":"macro"}}(0,e,0,0,o[n]);break;case"dialog":h=function(t,e,r,n,i,o,a,s){return e.slice(-4),{"!type":"dialog"}}(0,e,0,0,o[n]);break;default:throw new Error("Unrecognized sheet type "+s)}a[n]=h;var y=[];o&&o[n]&&Nt(o[n]).forEach((function(r){var i="";if(o[n][r].Type==Vn.CMNT){i=ce(o[n][r].Target,e);var a=yl(ee(t,i,!0),i,c);if(!a||!a.length)return;ss(h,a,!1)}o[n][r].Type==Vn.TCMNT&&(i=ce(o[n][r].Target,e),y=y.concat(function(t,e){var r=[],n=!1,i={},o=0;return t.replace(he,(function(a,s){var c=ve(a);switch(ge(c[0])){case"<?xml":case"<ThreadedComments":case"</ThreadedComments>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<threadedComment":i={author:c.personId,guid:c.id,ref:c.ref,T:1};break;case"</threadedComment>":null!=i.t&&r.push(i);break;case"<text>":case"<text":o=s+a.length;break;case"</text>":i.t=t.slice(o,s).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"<mentions":case"<mentions>":case"<ext":n=!0;break;case"</mentions>":case"</ext>":n=!1;break;default:if(!n&&e.WTF)throw new Error("unrecognized "+c[0]+" in threaded comments")}return a})),r}(ee(t,i,!0),c)))})),y&&y.length&&ss(h,y,!0,c.people||[])}catch(t){if(c.WTF)throw t}}function af(t){return"/"==t.charAt(0)?t.slice(1):t}function sf(t,e){if(wt(),ef(e=e||{}),Qt(t,"META-INF/manifest.xml"))return xu(t,e);if(Qt(t,"objectdata.xml"))return xu(t,e);if(Qt(t,"Index/Document.iwa")){if("undefined"==typeof Uint8Array)throw new Error("NUMBERS file parsing requires Uint8Array support");if(void 0!==Zu){if(t.FileIndex)return Zu(t);var r=Et.utils.cfb_new();return ie(t).forEach((function(e){oe(r,e,ne(t,e))})),Zu(r)}throw new Error("Unsupported NUMBERS file")}if(!Qt(t,"[Content_Types].xml")){if(Qt(t,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(Qt(t,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var n,i,o=ie(t),a=function(t){var e={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};if(!t||!t.match)return e;var r={};if((t.match(he)||[]).forEach((function(t){var n=ve(t);switch(n[0].replace(de,"<")){case"<?xml":break;case"<Types":e.xmlns=n["xmlns"+(n[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":r[n.Extension]=n.ContentType;break;case"<Override":void 0!==e[Un[n.ContentType]]&&e[Un[n.ContentType]].push(n.PartName)}})),e.xmlns!==Ge.CT)throw new Error("Unknown Namespace: "+e.xmlns);return e.calcchain=e.calcchains.length>0?e.calcchains[0]:"",e.sst=e.strs.length>0?e.strs[0]:"",e.style=e.styles.length>0?e.styles[0]:"",e.defaults=r,delete e.calcchains,e}(re(t,"[Content_Types].xml")),s=!1;if(0===a.workbooks.length&&ee(t,i="xl/workbook.xml",!0)&&a.workbooks.push(i),0===a.workbooks.length){if(!ee(t,i="xl/workbook.bin",!0))throw new Error("Could not find workbook");a.workbooks.push(i),s=!0}"bin"==a.workbooks[0].slice(-3)&&(s=!0);var c={},l={};if(!e.bookSheets&&!e.bookProps){if(cc=[],a.sst)try{cc=bl(ee(t,af(a.sst)),a.sst,e)}catch(t){if(e.WTF)throw t}e.cellStyles&&a.themes.length&&(c=function(t,e,r){return Za(t,r)}(re(t,a.themes[0].replace(/^\//,""),!0)||"",a.themes[0],e)),a.style&&(l=ml(ee(t,af(a.style)),a.style,c,e))}a.links.map((function(r){try{$n(re(t,qn(af(r))),r);return Sl(ee(t,af(r)),0,r,e)}catch(t){}}));var u=pl(ee(t,af(a.workbooks[0])),a.workbooks[0],e),f={},h="";a.coreprops.length&&((h=ee(t,af(a.coreprops[0]),!0))&&(f=ei(h)),0!==a.extprops.length&&(h=ee(t,af(a.extprops[0]),!0))&&function(t,e,r){var n={};e||(e={}),t=Pe(t),ii.forEach((function(r){var i=(t.match(Ie(r[0]))||[])[1];switch(r[2]){case"string":i&&(e[r[1]]=ye(i));break;case"bool":e[r[1]]="true"===i;break;case"raw":var o=t.match(new RegExp("<"+r[0]+"[^>]*>([\\s\\S]*?)</"+r[0]+">"));o&&o.length>0&&(n[r[1]]=o[1])}})),n.HeadingPairs&&n.TitlesOfParts&&ai(n.HeadingPairs,n.TitlesOfParts,e,r)}(h,f,e));var d={};e.bookSheets&&!e.bookProps||0!==a.custprops.length&&(h=re(t,af(a.custprops[0]),!0))&&(d=function(t,e){var r={},n="",i=t.match(ci);if(i)for(var o=0;o!=i.length;++o){var a=i[o],s=ve(a);switch(s[0]){case"<?xml":case"<Properties":break;case"<property":n=ye(s.name);break;case"</property>":n=null;break;default:if(0===a.indexOf("<vt:")){var c=a.split(">"),l=c[0].slice(4),u=c[1];switch(l){case"lpstr":case"bstr":case"lpwstr":case"cy":case"error":r[n]=ye(u);break;case"bool":r[n]=_e(u);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[n]=parseInt(u,10);break;case"r4":case"r8":case"decimal":r[n]=parseFloat(u);break;case"filetime":case"date":r[n]=zt(u);break;default:if("/"==l.slice(-1))break;e.WTF&&"undefined"!=typeof console&&console.warn("Unexpected",a,l,c)}}else if("</"===a.slice(0,2));else if(e.WTF)throw new Error(a)}}return r}(h,e));var p={};if((e.bookSheets||e.bookProps)&&(u.Sheets?n=u.Sheets.map((function(t){return t.name})):f.Worksheets&&f.SheetNames.length>0&&(n=f.SheetNames),e.bookProps&&(p.Props=f,p.Custprops=d),e.bookSheets&&void 0!==n&&(p.SheetNames=n),e.bookSheets?p.SheetNames:e.bookProps))return p;n={};var v={};e.bookDeps&&a.calcchain&&(v=wl(ee(t,af(a.calcchain)),a.calcchain));var g,m,b=0,y={},w=u.Sheets;f.Worksheets=w.length,f.SheetNames=[];for(var S=0;S!=w.length;++S)f.SheetNames[S]=w[S].name;var x=s?"bin":"xml",k=a.workbooks[0].lastIndexOf("/"),T=(a.workbooks[0].slice(0,k+1)+"_rels/"+a.workbooks[0].slice(k+1)+".rels").replace(/^\//,"");Qt(t,T)||(T="xl/_rels/workbook."+x+".rels");var A=$n(re(t,T,!0),T.replace(/_rels.*/,"s5s"));(a.metadata||[]).length>=1&&(e.xlmeta=xl(ee(t,af(a.metadata[0])),a.metadata[0],e)),(a.people||[]).length>=1&&(e.people=function(t,e){var r=[],n=!1;return t.replace(he,(function(t){var i=ve(t);switch(ge(i[0])){case"<?xml":case"<personList":case"</personList>":case"</person>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<person":r.push({name:i.displayname,id:i.id});break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(!n&&e.WTF)throw new Error("unrecognized "+i[0]+" in threaded comments")}return t})),r}(ee(t,af(a.people[0])),e)),A&&(A=function(t,e){if(!t)return 0;try{t=e.map((function(e){return e.id||(e.id=e.strRelID),[e.name,t["!id"][e.id].Target,nf(t["!id"][e.id].Type)]}))}catch(t){return null}return t&&0!==t.length?t:null}(A,u.Sheets));var E=ee(t,"xl/worksheets/sheet.xml",!0)?1:0;t:for(b=0;b!=f.Worksheets;++b){var _="sheet";if(A&&A[b]?(g="xl/"+A[b][1].replace(/[\/]?xl\//,""),Qt(t,g)||(g=A[b][1]),Qt(t,g)||(g=T.replace(/_rels\/.*$/,"")+A[b][1]),_=A[b][2]):g=(g="xl/worksheets/sheet"+(b+1-E)+"."+x).replace(/sheet0\./,"sheet."),m=g.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),e&&null!=e.sheets)switch(typeof e.sheets){case"number":if(b!=e.sheets)continue t;break;case"string":if(f.SheetNames[b].toLowerCase()!=e.sheets.toLowerCase())continue t;break;default:if(Array.isArray&&Array.isArray(e.sheets)){for(var O=!1,N=0;N!=e.sheets.length;++N)"number"==typeof e.sheets[N]&&e.sheets[N]==b&&(O=1),"string"==typeof e.sheets[N]&&e.sheets[N].toLowerCase()==f.SheetNames[b].toLowerCase()&&(O=1);if(!O)continue t}}of(t,g,m,f.SheetNames[b],b,y,n,_,e,u,c,l)}return p={Directory:a,Workbook:u,Props:f,Custprops:d,Deps:v,Sheets:n,SheetNames:f.SheetNames,Strings:cc,Styles:l,Themes:c,SSF:qt(M)},e&&e.bookFiles&&(t.files?(p.keys=o,p.files=t.files):(p.keys=[],p.files={},t.FullPaths.forEach((function(e,r){e=e.replace(/^Root Entry[\/]/,""),p.keys.push(e),p.files[e]=t.FileIndex[r]})))),e&&e.bookVBA&&(a.vba.length>0?p.vbaraw=ee(t,af(a.vba[0]),!0):a.defaults&&a.defaults.bin===hs&&(p.vbaraw=ee(t,"xl/vbaProject.bin",!0))),p}function cf(t,e){var r=e||{},n="Workbook",i=Et.find(t,n);try{if(n="/!DataSpaces/Version",!(i=Et.find(t,n))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(function(t){var e={};e.id=t._R(0,"lpp4"),e.R=Jo(t,4),e.U=Jo(t,4),e.W=Jo(t,4)}(i.content),n="/!DataSpaces/DataSpaceMap",!(i=Et.find(t,n))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var o=function(t){var e=[];t.l+=4;for(var r=t._R(4);r-- >0;)e.push(Zo(t));return e}(i.content);if(1!==o.length||1!==o[0].comps.length||0!==o[0].comps[0].t||"StrongEncryptionDataSpace"!==o[0].name||"EncryptedPackage"!==o[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",!(i=Et.find(t,n))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var a=function(t){var e=[];t.l+=4;for(var r=t._R(4);r-- >0;)e.push(t._R(0,"lpp4"));return e}(i.content);if(1!=a.length||"StrongEncryptionTransform"!=a[0])throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",!(i=Et.find(t,n))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);Qo(i.content)}catch(t){}if(n="/EncryptionInfo",!(i=Et.find(t,n))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var s=function(t){var e=Jo(t);switch(e.Minor){case 2:return[e.Minor,ra(t)];case 3:return[e.Minor,na()];case 4:return[e.Minor,ia(t)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+e.Minor)}(i.content);if(n="/EncryptedPackage",!(i=Et.find(t,n))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(4==s[0]&&"undefined"!=typeof decrypt_agile)return decrypt_agile(s[1],i.content,r.password||"",r);if(2==s[0]&&"undefined"!=typeof decrypt_std76)return decrypt_std76(s[1],i.content,r.password||"",r);throw new Error("File is password-protected")}function lf(t,e){return"ods"==e.bookType?Eu(t,e):"numbers"==e.bookType?function(t,e){if(!e||!e.numbers)throw new Error("Must pass a `numbers` option -- check the README");var r=t.Sheets[t.SheetNames[0]];t.SheetNames.length>1&&console.error("The Numbers writer currently writes only the first table");var n=qr(r["!ref"]);n.s.r=n.s.c=0;var i=!1;n.e.c>9&&(i=!0,n.e.c=9),n.e.r>49&&(i=!0,n.e.r=49),i&&console.error("The Numbers writer is currently limited to ".concat($r(n)));var o=Ef(r,{range:n,header:1}),a=["~Sh33tJ5~"];o.forEach((function(t){return t.forEach((function(t){"string"==typeof t&&a.push(t)}))}));var s={},c=[],l=Et.read(e.numbers,{type:"base64"});l.FileIndex.map((function(t,e){return[t,l.FullPaths[e]]})).forEach((function(t){var e=t[0],r=t[1];2==e.type&&e.name.match(/\.iwa/)&&Mu(Uu(e.content)).forEach((function(t){c.push(t.id),s[t.id]={deps:[],location:r,type:Iu(t.messages[0].meta[1][0].data)}}))})),c.sort((function(t,e){return t-e}));var u=c.filter((function(t){return t>1})).map((function(t){return[t,Lu(t)]}));l.FileIndex.map((function(t,e){return[t,l.FullPaths[e]]})).forEach((function(t){var e=t[0];t[1],e.name.match(/\.iwa/)&&Mu(Uu(e.content)).forEach((function(t){t.messages.forEach((function(e){u.forEach((function(e){t.messages.some((function(t){return 11006!=Iu(t.meta[1][0].data)&&function(t,e){t:for(var r=0;r<=t.length-e.length;++r){for(var n=0;n<e.length;++n)if(t[r+n]!=e[n])continue t;return!0}return!1}(t.data,e[1])}))&&s[e[0]].deps.push(t.id)}))}))}))}));for(var f,h=Et.find(l,s[1].location),d=Mu(Uu(h.content)),p=0;p<d.length;++p){var v=d[p];1==v.id&&(f=v)}var g=Gu(Fu(f.messages[0].data)[1][0].data);for(d=Mu(Uu((h=Et.find(l,s[g].location)).content)),p=0;p<d.length;++p)(v=d[p]).id==g&&(f=v);for(g=Gu(Fu(f.messages[0].data)[2][0].data),d=Mu(Uu((h=Et.find(l,s[g].location)).content)),p=0;p<d.length;++p)(v=d[p]).id==g&&(f=v);for(g=Gu(Fu(f.messages[0].data)[2][0].data),d=Mu(Uu((h=Et.find(l,s[g].location)).content)),p=0;p<d.length;++p)(v=d[p]).id==g&&(f=v);var m=Fu(f.messages[0].data);m[6][0].data=Lu(n.e.r+1),m[7][0].data=Lu(n.e.c+1);for(var b=Gu(m[46][0].data),y=Et.find(l,s[b].location),w=Mu(Uu(y.content)),S=0;S<w.length&&w[S].id!=b;++S);if(w[S].id!=b)throw"Bad ColumnRowUIDMapArchive";var x=Fu(w[S].messages[0].data);x[1]=[],x[2]=[],x[3]=[];for(var k=0;k<=n.e.c;++k){var T=[];T[1]=T[2]=[{type:0,data:Lu(k+420690)}],x[1].push({type:2,data:ju(T)}),x[2].push({type:0,data:Lu(k)}),x[3].push({type:0,data:Lu(k)})}x[4]=[],x[5]=[],x[6]=[];for(var A=0;A<=n.e.r;++A)(T=[])[1]=T[2]=[{type:0,data:Lu(A+726270)}],x[4].push({type:2,data:ju(T)}),x[5].push({type:0,data:Lu(A)}),x[6].push({type:0,data:Lu(A)});w[S].messages[0].data=ju(x),y.content=Hu(Bu(w)),y.size=y.content.length,delete m[46];var E=Fu(m[4][0].data);E[7][0].data=Lu(n.e.r+1);var _=Gu(Fu(E[1][0].data)[2][0].data);if((w=Mu(Uu((y=Et.find(l,s[_].location)).content)))[0].id!=_)throw"Bad HeaderStorageBucket";var O=Fu(w[0].messages[0].data);for(A=0;A<o.length;++A){var N=Fu(O[2][0].data);N[1][0].data=Lu(A),N[4][0].data=Lu(o[A].length),O[2][A]={type:O[2][0].type,data:ju(N)}}w[0].messages[0].data=ju(O),y.content=Hu(Bu(w)),y.size=y.content.length;var C=Gu(E[2][0].data);if((w=Mu(Uu((y=Et.find(l,s[C].location)).content)))[0].id!=C)throw"Bad HeaderStorageBucket";for(O=Fu(w[0].messages[0].data),k=0;k<=n.e.c;++k)(N=Fu(O[2][0].data))[1][0].data=Lu(k),N[4][0].data=Lu(n.e.r+1),O[2][k]={type:O[2][0].type,data:ju(N)};w[0].messages[0].data=ju(O),y.content=Hu(Bu(w)),y.size=y.content.length;var R=Gu(E[4][0].data);!function(){for(var t,e=Et.find(l,s[R].location),r=Mu(Uu(e.content)),n=0;n<r.length;++n){var i=r[n];i.id==R&&(t=i)}var o=Fu(t.messages[0].data);o[3]=[];var c=[];a.forEach((function(t,e){c[1]=[{type:0,data:Lu(e)}],c[2]=[{type:0,data:Lu(1)}],c[3]=[{type:2,data:Nu(t)}],o[3].push({type:2,data:ju(c)})})),t.messages[0].data=ju(o);var u=Hu(Bu(r));e.content=u,e.size=e.content.length}();var P=Fu(E[3][0].data),L=P[1][0];delete P[2];var I=Fu(L.data),F=Gu(I[2][0].data);!function(){for(var t,e=Et.find(l,s[F].location),r=Mu(Uu(e.content)),i=0;i<r.length;++i){var c=r[i];c.id==F&&(t=c)}var u=Fu(t.messages[0].data);delete u[6],delete P[7];var f=new Uint8Array(u[5][0].data);u[5]=[];for(var h=0,d=0;d<=n.e.r;++d){var p=Fu(f);h+=Qu(p,o[d],a),p[1][0].data=Lu(d),u[5].push({data:ju(p),type:2})}u[1]=[{type:0,data:Lu(n.e.c+1)}],u[2]=[{type:0,data:Lu(n.e.r+1)}],u[3]=[{type:0,data:Lu(h)}],u[4]=[{type:0,data:Lu(n.e.r+1)}],t.messages[0].data=ju(u);var v=Hu(Bu(r));e.content=v,e.size=e.content.length}(),L.data=ju(I),E[3][0].data=ju(P),m[4][0].data=ju(E),f.messages[0].data=ju(m);var j=Hu(Bu(d));return h.content=j,h.size=h.content.length,l}(t,e):"xlsb"==e.bookType?function(t,e){os=1024,t&&!t.SSF&&(t.SSF=qt(M));t&&t.SSF&&(wt(),yt(t.SSF),e.revssf=Pt(t.SSF),e.revssf[t.SSF[65535]]=0,e.ssf=t.SSF);e.rels={},e.wbrels={},e.Strings=[],e.Strings.Count=0,e.Strings.Unique=0,uc?e.revStrings=new Map:(e.revStrings={},e.revStrings.foo=[],delete e.revStrings.foo);var r="xlsb"==e.bookType?"bin":"xml",n=ds.indexOf(e.bookType)>-1,i={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};rf(e=e||{});var o=ae(),a="",s=0;e.cellXfs=[],pc(e.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={});if(a="docProps/core.xml",oe(o,a,ni(t.Props,e)),i.coreprops.push(a),Xn(e.rels,2,a,Vn.CORE_PROPS),a="docProps/app.xml",t.Props&&t.Props.SheetNames);else if(t.Workbook&&t.Workbook.Sheets){for(var c=[],l=0;l<t.SheetNames.length;++l)2!=(t.Workbook.Sheets[l]||{}).Hidden&&c.push(t.SheetNames[l]);t.Props.SheetNames=c}else t.Props.SheetNames=t.SheetNames;t.Props.Worksheets=t.Props.SheetNames.length,oe(o,a,si(t.Props)),i.extprops.push(a),Xn(e.rels,3,a,Vn.EXT_PROPS),t.Custprops!==t.Props&&Nt(t.Custprops||{}).length>0&&(oe(o,a="docProps/custom.xml",li(t.Custprops)),i.custprops.push(a),Xn(e.rels,4,a,Vn.CUST_PROPS));for(s=1;s<=t.SheetNames.length;++s){var u={"!id":{}},f=t.Sheets[t.SheetNames[s-1]];(f||{})["!type"];if(oe(o,a="xl/worksheets/sheet"+s+"."+r,kl(s-1,a,e,t,u)),i.sheets.push(a),Xn(e.wbrels,-1,"worksheets/sheet"+s+"."+r,Vn.WS[0]),f){var h=f["!comments"],d=!1,p="";h&&h.length>0&&(oe(o,p="xl/comments"+s+"."+r,Tl(h,p,e)),i.comments.push(p),Xn(u,-1,"../comments"+s+"."+r,Vn.CMNT),d=!0),f["!legacy"]&&d&&oe(o,"xl/drawings/vmlDrawing"+s+".vml",as(s,f["!comments"])),delete f["!comments"],delete f["!legacy"]}u["!id"].rId1&&oe(o,qn(a),Gn(u))}null!=e.Strings&&e.Strings.length>0&&(oe(o,a="xl/sharedStrings."+r,function(t,e,r){return(".bin"===e.slice(-4)?Yo:Go)(t,r)}(e.Strings,a,e)),i.strs.push(a),Xn(e.wbrels,-1,"sharedStrings."+r,Vn.SST));a="xl/workbook."+r,oe(o,a,function(t,e,r){return(".bin"===e.slice(-4)?dl:cl)(t,r)}(t,a,e)),i.workbooks.push(a),Xn(e.rels,1,a,Vn.WB),a="xl/theme/theme1.xml",oe(o,a,Qa(t.Themes,e)),i.themes.push(a),Xn(e.wbrels,-1,"theme/theme1.xml",Vn.THEME),a="xl/styles."+r,oe(o,a,function(t,e,r){return(".bin"===e.slice(-4)?za:Ca)(t,r)}(t,a,e)),i.styles.push(a),Xn(e.wbrels,-1,"styles."+r,Vn.STY),t.vbaraw&&n&&(oe(o,a="xl/vbaProject.bin",t.vbaraw),i.vba.push(a),Xn(e.wbrels,-1,"vbaProject.bin",Vn.VBA));return a="xl/metadata."+r,oe(o,a,function(t){return(".bin"===t.slice(-4)?ns:is)()}(a)),i.metadata.push(a),Xn(e.wbrels,-1,"metadata."+r,Vn.XLMETA),oe(o,"[Content_Types].xml",zn(i,e)),oe(o,"_rels/.rels",Gn(e.rels)),oe(o,"xl/_rels/workbook."+r+".rels",Gn(e.wbrels)),delete e.revssf,delete e.ssf,o}(t,e):uf(t,e)}function uf(t,e){os=1024,t&&!t.SSF&&(t.SSF=qt(M)),t&&t.SSF&&(wt(),yt(t.SSF),e.revssf=Pt(t.SSF),e.revssf[t.SSF[65535]]=0,e.ssf=t.SSF),e.rels={},e.wbrels={},e.Strings=[],e.Strings.Count=0,e.Strings.Unique=0,uc?e.revStrings=new Map:(e.revStrings={},e.revStrings.foo=[],delete e.revStrings.foo);var r="xml",n=ds.indexOf(e.bookType)>-1,i={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};rf(e=e||{});var o=ae(),a="",s=0;if(e.cellXfs=[],pc(e.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={}),oe(o,a="docProps/core.xml",ni(t.Props,e)),i.coreprops.push(a),Xn(e.rels,2,a,Vn.CORE_PROPS),a="docProps/app.xml",t.Props&&t.Props.SheetNames);else if(t.Workbook&&t.Workbook.Sheets){for(var c=[],l=0;l<t.SheetNames.length;++l)2!=(t.Workbook.Sheets[l]||{}).Hidden&&c.push(t.SheetNames[l]);t.Props.SheetNames=c}else t.Props.SheetNames=t.SheetNames;t.Props.Worksheets=t.Props.SheetNames.length,oe(o,a,si(t.Props)),i.extprops.push(a),Xn(e.rels,3,a,Vn.EXT_PROPS),t.Custprops!==t.Props&&Nt(t.Custprops||{}).length>0&&(oe(o,a="docProps/custom.xml",li(t.Custprops)),i.custprops.push(a),Xn(e.rels,4,a,Vn.CUST_PROPS));var u=["SheetJ5"];for(e.tcid=0,s=1;s<=t.SheetNames.length;++s){var f={"!id":{}},h=t.Sheets[t.SheetNames[s-1]];(h||{})["!type"];if(oe(o,a="xl/worksheets/sheet"+s+"."+r,Ic(s-1,e,t,f)),i.sheets.push(a),Xn(e.wbrels,-1,"worksheets/sheet"+s+"."+r,Vn.WS[0]),h){var d=h["!comments"],p=!1,v="";if(d&&d.length>0){var g=!1;d.forEach((function(t){t[1].forEach((function(t){1==t.T&&(g=!0)}))})),g&&(oe(o,v="xl/threadedComments/threadedComment"+s+"."+r,ls(d,u,e)),i.threadedcomments.push(v),Xn(f,-1,"../threadedComments/threadedComment"+s+"."+r,Vn.TCMNT)),oe(o,v="xl/comments"+s+"."+r,cs(d)),i.comments.push(v),Xn(f,-1,"../comments"+s+"."+r,Vn.CMNT),p=!0}h["!legacy"]&&p&&oe(o,"xl/drawings/vmlDrawing"+s+".vml",as(s,h["!comments"])),delete h["!comments"],delete h["!legacy"]}f["!id"].rId1&&oe(o,qn(a),Gn(f))}return null!=e.Strings&&e.Strings.length>0&&(oe(o,a="xl/sharedStrings."+r,Go(e.Strings,e)),i.strs.push(a),Xn(e.wbrels,-1,"sharedStrings."+r,Vn.SST)),oe(o,a="xl/workbook."+r,cl(t)),i.workbooks.push(a),Xn(e.rels,1,a,Vn.WB),oe(o,a="xl/theme/theme1.xml",Qa(t.Themes,e)),i.themes.push(a),Xn(e.wbrels,-1,"theme/theme1.xml",Vn.THEME),oe(o,a="xl/styles."+r,Ca(t,e)),i.styles.push(a),Xn(e.wbrels,-1,"styles."+r,Vn.STY),t.vbaraw&&n&&(oe(o,a="xl/vbaProject.bin",t.vbaraw),i.vba.push(a),Xn(e.wbrels,-1,"vbaProject.bin",Vn.VBA)),oe(o,a="xl/metadata."+r,is()),i.metadata.push(a),Xn(e.wbrels,-1,"metadata."+r,Vn.XLMETA),u.length>1&&(oe(o,a="xl/persons/person.xml",function(t){var e=[le,ze("personList",null,{xmlns:Ge.TCMNT,"xmlns:x":Xe[0]}).replace(/[\/]>/,">")];return t.forEach((function(t,r){e.push(ze("person",null,{displayName:t,id:"{54EE7950-7262-4200-6969-"+("000000000000"+r).slice(-12)+"}",userId:t,providerId:"None"}))})),e.push("</personList>"),e.join("")}(u)),i.people.push(a),Xn(e.wbrels,-1,"persons/person.xml",Vn.PEOPLE)),oe(o,"[Content_Types].xml",zn(i,e)),oe(o,"_rels/.rels",Gn(e.rels)),oe(o,"xl/_rels/workbook.xml.rels",Gn(e.wbrels)),delete e.revssf,delete e.ssf,o}function ff(t,e){var r="";switch((e||{}).type||"base64"){case"buffer":case"array":return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]];case"base64":r=m(t.slice(0,12));break;case"binary":r=t;break;default:throw new Error("Unrecognized type "+(e&&e.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function hf(t,e){var r=0;t:for(;r<t.length;)switch(t.charCodeAt(r)){case 10:case 13:case 32:++r;break;case 60:return jl(t.slice(r),e);default:break t}return Io.to_workbook(t,e)}function df(t,r){var n=t;return"base64"==r.type&&(n=m(n)),n=e.utils.decode(1200,n.slice(2),"str"),r.type="binary",hf(n,r)}function pf(t,e,r,n){return n?(r.type="string",Io.to_workbook(t,r)):Io.to_workbook(e,r)}function vf(t,e){c();var r=e||{};if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer)return vf(new Uint8Array(t),((r=qt(r)).type="array",r));"undefined"!=typeof Uint8Array&&t instanceof Uint8Array&&!r.type&&(r.type="undefined"!=typeof Deno?"buffer":"array");var n,i=t,o=!1;if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),lc={},r.dateNF&&(lc.dateNF=r.dateNF),r.type||(r.type=b&&Buffer.isBuffer(t)?"buffer":"base64"),"file"==r.type&&(r.type=b?"buffer":"binary",i=function(t){if(void 0!==Tt)return Tt.readFileSync(t);if("undefined"!=typeof Deno)return Deno.readFileSync(t);if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var e=File(t);e.open("r"),e.encoding="binary";var r=e.read();return e.close(),r}catch(t){if(!t.message||!t.message.match(/onstruct/))throw t}throw new Error("Cannot access file "+t)}(t),"undefined"==typeof Uint8Array||b||(r.type="array")),"string"==r.type&&(o=!0,r.type="binary",r.codepage=65001,i=function(t){return t.match(/[^\x00-\x7F]/)?Le(t):t}(t)),"array"==r.type&&"undefined"!=typeof Uint8Array&&t instanceof Uint8Array&&"undefined"!=typeof ArrayBuffer){var a=new ArrayBuffer(3),s=new Uint8Array(a);if(s.foo="bar",!s.foo)return(r=qt(r)).type="array",vf(A(i),r)}switch((n=ff(i,r))[0]){case 208:if(207===n[1]&&17===n[2]&&224===n[3]&&161===n[4]&&177===n[5]&&26===n[6]&&225===n[7])return function(t,e){return Et.find(t,"EncryptedPackage")?cf(t,e):Kl(t,e)}(Et.read(i,r),r);break;case 9:if(n[1]<=8)return Kl(i,r);break;case 60:return jl(i,r);case 73:if(73===n[1]&&42===n[2]&&0===n[3])throw new Error("TIFF Image File is not a spreadsheet");if(68===n[1])return function(t,e){var r=e||{},n=!!r.WTF;r.WTF=!0;try{var i=Ro.to_workbook(t,r);return r.WTF=n,i}catch(i){if(r.WTF=n,!i.message.match(/SYLK bad record ID/)&&n)throw i;return Io.to_workbook(t,e)}}(i,r);break;case 84:if(65===n[1]&&66===n[2]&&76===n[3])return Po.to_workbook(i,r);break;case 80:return 75===n[1]&&n[2]<9&&n[3]<9?function(t,e){var r=t,n=e||{};return n.type||(n.type=b&&Buffer.isBuffer(t)?"buffer":"base64"),sf(se(r,n),n)}(i,r):pf(t,i,r,o);case 239:return 60===n[3]?jl(i,r):pf(t,i,r,o);case 255:if(254===n[1])return df(i,r);if(0===n[1]&&2===n[2]&&0===n[3])return Fo.to_workbook(i,r);break;case 0:if(0===n[1]){if(n[2]>=2&&0===n[3])return Fo.to_workbook(i,r);if(0===n[2]&&(8===n[3]||9===n[3]))return Fo.to_workbook(i,r)}break;case 3:case 131:case 139:case 140:return Co.to_workbook(i,r);case 123:if(92===n[1]&&114===n[2]&&116===n[3])return la.to_workbook(i,r);break;case 10:case 13:case 32:return function(t,e){var r="",n=ff(t,e);switch(e.type){case"base64":r=m(t);break;case"binary":r=t;break;case"buffer":r=t.toString("binary");break;case"array":r=Vt(t);break;default:throw new Error("Unrecognized type "+e.type)}return 239==n[0]&&187==n[1]&&191==n[2]&&(r=Pe(r)),e.type="binary",hf(r,e)}(i,r);case 137:if(80===n[1]&&78===n[2]&&71===n[3])throw new Error("PNG Image File is not a spreadsheet")}return No.indexOf(n[0])>-1&&n[2]<=12&&n[3]<=31?Co.to_workbook(i,r):pf(t,i,r,o)}function gf(t,e){var r=e||{};return r.type="file",vf(t,r)}function mf(t,e){switch(e.type){case"base64":case"binary":break;case"buffer":case"array":e.type="";break;case"file":return Ot(e.file,Et.write(t,{type:b?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+e.bookType+"' files");default:throw new Error("Unrecognized type "+e.type)}return Et.write(t,e)}function bf(t,e){var r={},n=b?"nodebuffer":"undefined"!=typeof Uint8Array?"array":"string";if(e.compression&&(r.compression="DEFLATE"),e.password)r.type=n;else switch(e.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+e.bookType+"' files");case"buffer":case"file":r.type=n;break;default:throw new Error("Unrecognized type "+e.type)}var i=t.FullPaths?Et.write(t,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!e.compression}):t.generate(r);if("undefined"!=typeof Deno&&"string"==typeof i){if("binary"==e.type||"base64"==e.type)return i;i=new Uint8Array(k(i))}return e.password&&"undefined"!=typeof encrypt_agile?mf(encrypt_agile(i,e.password),e):"file"===e.type?Ot(e.file,i):"string"==e.type?Pe(i):i}function yf(t,e,r){r||(r="");var n=r+t;switch(e.type){case"base64":return g(Le(n));case"binary":return Le(n);case"string":return t;case"file":return Ot(e.file,n,"utf8");case"buffer":return b?y(n,"utf8"):"undefined"!=typeof TextEncoder?(new TextEncoder).encode(n):yf(n,{type:"binary"}).split("").map((function(t){return t.charCodeAt(0)}))}throw new Error("Unrecognized type "+e.type)}function wf(t,e){switch(e.type){case"string":case"base64":case"binary":for(var r="",n=0;n<t.length;++n)r+=String.fromCharCode(t[n]);return"base64"==e.type?g(r):"string"==e.type?Pe(r):r;case"file":return Ot(e.file,t);case"buffer":return t;default:throw new Error("Unrecognized type "+e.type)}}function Sf(t,e){c(),al(t);var r=qt(e||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),"array"==r.type){r.type="binary";var n=Sf(t,r);return r.type="array",k(n)}return function(t,e){var r=qt(e||{});return bf(uf(t,r),r)}(t,r)}function xf(t,e){c(),al(t);var r=qt(e||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),"array"==r.type){r.type="binary";var n=xf(t,r);return r.type="array",k(n)}var i=0;if(r.sheet&&(i="number"==typeof r.sheet?r.sheet:t.SheetNames.indexOf(r.sheet),!t.SheetNames[i]))throw new Error("Sheet not found: "+r.sheet+" : "+typeof r.sheet);switch(r.bookType||"xlsb"){case"xml":case"xlml":return yf(Hl(t,r),r);case"slk":case"sylk":return yf(Ro.from_sheet(t.Sheets[t.SheetNames[i]],r),r);case"htm":case"html":return yf(vu(t.Sheets[t.SheetNames[i]],r),r);case"txt":return function(t,e){switch(e.type){case"base64":return g(t);case"binary":case"string":return t;case"file":return Ot(e.file,t,"binary");case"buffer":return b?y(t,"binary"):t.split("").map((function(t){return t.charCodeAt(0)}))}throw new Error("Unrecognized type "+e.type)}(Cf(t.Sheets[t.SheetNames[i]],r),r);case"csv":return yf(Nf(t.Sheets[t.SheetNames[i]],r),r,"\ufeff");case"dif":return yf(Po.from_sheet(t.Sheets[t.SheetNames[i]],r),r);case"dbf":return wf(Co.from_sheet(t.Sheets[t.SheetNames[i]],r),r);case"prn":return yf(Io.from_sheet(t.Sheets[t.SheetNames[i]],r),r);case"rtf":return yf(la.from_sheet(t.Sheets[t.SheetNames[i]],r),r);case"eth":return yf(Lo.from_sheet(t.Sheets[t.SheetNames[i]],r),r);case"fods":return yf(Eu(t,r),r);case"wk1":return wf(Fo.sheet_to_wk1(t.Sheets[t.SheetNames[i]],r),r);case"wk3":return wf(Fo.book_to_wk3(t,r),r);case"biff2":r.biff||(r.biff=2);case"biff3":r.biff||(r.biff=3);case"biff4":return r.biff||(r.biff=4),wf(lu(t,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),function(t,e){var r=e||{};return mf(Jl(t,r),r)}(t,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return function(t,e){var r=qt(e||{});return bf(lf(t,r),r)}(t,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function kf(t){if(!t.bookType){var e=t.file.slice(t.file.lastIndexOf(".")).toLowerCase();e.match(/^\.[a-z]+$/)&&(t.bookType=e.slice(1)),t.bookType={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"}[t.bookType]||t.bookType}}function Tf(t,e,r){var n=r||{};return n.type="file",n.file=e,kf(n),xf(t,n)}function Af(t,e,r,n,i,o,a,s){var c=Wr(r),l=s.defval,u=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),f=!0,h=1===i?[]:{};if(1!==i)if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:r,enumerable:!1})}catch(t){h.__rowNum__=r}else h.__rowNum__=r;if(!a||t[r])for(var d=e.s.c;d<=e.e.c;++d){var p=a?t[r][d]:t[n[d]+c];if(void 0!==p&&void 0!==p.t){var v=p.v;switch(p.t){case"z":if(null==v)break;continue;case"e":v=0==v?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=o[d]){if(null==v)if("e"==p.t&&null===v)h[o[d]]=null;else if(void 0!==l)h[o[d]]=l;else{if(!u||null!==v)continue;h[o[d]]=null}else h[o[d]]=u&&("n"!==p.t||"n"===p.t&&!1!==s.rawNumbers)?v:Yr(p,v,s);null!=v&&(f=!1)}}else{if(void 0===l)continue;null!=o[d]&&(h[o[d]]=l)}}return{row:h,isempty:f}}function Ef(t,e){if(null==t||null==t["!ref"])return[];var r={t:"n",v:0},n=0,i=1,o=[],a=0,s="",c={s:{r:0,c:0},e:{r:0,c:0}},l=e||{},u=null!=l.range?l.range:t["!ref"];switch(1===l.header?n=1:"A"===l.header?n=2:Array.isArray(l.header)?n=3:null==l.header&&(n=0),typeof u){case"string":c=Gr(u);break;case"number":(c=Gr(t["!ref"])).s.r=u;break;default:c=u}n>0&&(i=0);var f=Wr(c.s.r),h=[],d=[],p=0,v=0,g=Array.isArray(t),m=c.s.r,b=0,y={};g&&!t[m]&&(t[m]=[]);var w=l.skipHidden&&t["!cols"]||[],S=l.skipHidden&&t["!rows"]||[];for(b=c.s.c;b<=c.e.c;++b)if(!(w[b]||{}).hidden)switch(h[b]=Hr(b),r=g?t[m][b]:t[h[b]+f],n){case 1:o[b]=b-c.s.c;break;case 2:o[b]=h[b];break;case 3:o[b]=l.header[b-c.s.c];break;default:if(null==r&&(r={w:"__EMPTY",t:"s"}),s=a=Yr(r,null,l),v=y[a]||0){do{s=a+"_"+v++}while(y[s]);y[a]=v,y[s]=1}else y[a]=1;o[b]=s}for(m=c.s.r+i;m<=c.e.r;++m)if(!(S[m]||{}).hidden){var x=Af(t,c,m,h,n,o,g,l);(!1===x.isempty||(1===n?!1!==l.blankrows:l.blankrows))&&(d[p++]=x.row)}return d.length=p,d}var _f=/"/g;function Of(t,e,r,n,i,o,a,s){for(var c=!0,l=[],u="",f=Wr(r),h=e.s.c;h<=e.e.c;++h)if(n[h]){var d=s.dense?(t[r]||[])[h]:t[n[h]+f];if(null==d)u="";else if(null!=d.v){c=!1,u=""+(s.rawNumbers&&"n"==d.t?d.v:Yr(d,null,s));for(var p=0,v=0;p!==u.length;++p)if((v=u.charCodeAt(p))===i||v===o||34===v||s.forceQuotes){u='"'+u.replace(_f,'""')+'"';break}"ID"==u&&(u='"ID"')}else null==d.f||d.F?u="":(c=!1,(u="="+d.f).indexOf(",")>=0&&(u='"'+u.replace(_f,'""')+'"'));l.push(u)}return!1===s.blankrows&&c?null:l.join(a)}function Nf(t,e){var r=[],n=null==e?{}:e;if(null==t||null==t["!ref"])return"";var i=Gr(t["!ref"]),o=void 0!==n.FS?n.FS:",",a=o.charCodeAt(0),s=void 0!==n.RS?n.RS:"\n",c=s.charCodeAt(0),l=new RegExp(("|"==o?"\\|":o)+"+$"),u="",f=[];n.dense=Array.isArray(t);for(var h=n.skipHidden&&t["!cols"]||[],d=n.skipHidden&&t["!rows"]||[],p=i.s.c;p<=i.e.c;++p)(h[p]||{}).hidden||(f[p]=Hr(p));for(var v=0,g=i.s.r;g<=i.e.r;++g)(d[g]||{}).hidden||null!=(u=Of(t,i,g,f,a,c,o,n))&&(n.strip&&(u=u.replace(l,"")),(u||!1!==n.blankrows)&&r.push((v++?s:"")+u));return delete n.dense,r.join("")}function Cf(t,r){r||(r={}),r.FS="\t",r.RS="\n";var n=Nf(t,r);if(void 0===e||"string"==r.type)return n;var i=e.utils.encode(1200,n,"str");return String.fromCharCode(255)+String.fromCharCode(254)+i}function Rf(t,e,r){var n,i=r||{},o=+!i.skipHeader,a=t||{},s=0,c=0;if(a&&null!=i.origin)if("number"==typeof i.origin)s=i.origin;else{var l="string"==typeof i.origin?zr(i.origin):i.origin;s=l.r,c=l.c}var u={s:{c:0,r:0},e:{c:c,r:s+e.length-1+o}};if(a["!ref"]){var f=Gr(a["!ref"]);u.e.c=Math.max(u.e.c,f.e.c),u.e.r=Math.max(u.e.r,f.e.r),-1==s&&(s=f.e.r+1,u.e.r=s+e.length-1+o)}else-1==s&&(s=0,u.e.r=e.length-1+o);var h=i.header||[],d=0;e.forEach((function(t,e){Nt(t).forEach((function(r){-1==(d=h.indexOf(r))&&(h[d=h.length]=r);var l=t[r],u="z",f="",p=Vr({c:c+d,r:s+e+o});n=Pf(a,p),!l||"object"!=typeof l||l instanceof Date?("number"==typeof l?u="n":"boolean"==typeof l?u="b":"string"==typeof l?u="s":l instanceof Date?(u="d",i.cellDates||(u="n",l=It(l)),f=i.dateNF||M[14]):null===l&&i.nullError&&(u="e",l=0),n?(n.t=u,n.v=l,delete n.w,delete n.R,f&&(n.z=f)):a[p]=n={t:u,v:l},f&&(n.z=f)):a[p]=l}))})),u.e.c=Math.max(u.e.c,c+h.length-1);var p=Wr(s);if(o)for(d=0;d<h.length;++d)a[Hr(d+c)+p]={t:"s",v:h[d]};return a["!ref"]=$r(u),a}function Pf(t,e,r){if("string"==typeof e){if(Array.isArray(t)){var n=zr(e);return t[n.r]||(t[n.r]=[]),t[n.r][n.c]||(t[n.r][n.c]={t:"z"})}return t[e]||(t[e]={t:"z"})}return Pf(t,Vr("number"!=typeof e?e:{r:e,c:r||0}))}function Lf(){return{SheetNames:[],Sheets:{}}}function If(t,e,r,n){var i=1;if(!r)for(;i<=65535&&-1!=t.SheetNames.indexOf(r="Sheet"+i);++i,r=void 0);if(!r||t.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&t.SheetNames.indexOf(r)>=0){var o=r.match(/(^.*?)(\d+)$/);i=o&&+o[2]||0;var a=o&&o[1]||r;for(++i;i<=65535&&-1!=t.SheetNames.indexOf(r=a+i);++i);}if(ol(r),t.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return t.SheetNames.push(r),t.Sheets[r]=e,r}function Ff(t,e,r){return e?(t.l={Target:e},r&&(t.l.Tooltip=r)):delete t.l,t}var jf,Df={encode_col:Hr,encode_row:Wr,encode_cell:Vr,encode_range:$r,decode_col:Ur,decode_row:Br,split_cell:function(t){return t.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")},decode_cell:zr,decode_range:qr,format_cell:Yr,sheet_add_aoa:Jr,sheet_add_json:Rf,sheet_add_dom:gu,aoa_to_sheet:Zr,json_to_sheet:function(t,e){return Rf(null,t,e)},table_to_sheet:mu,table_to_book:function(t,e){return Kr(mu(t,e),e)},sheet_to_csv:Nf,sheet_to_txt:Cf,sheet_to_json:Ef,sheet_to_html:vu,sheet_to_formulae:function(t){var e,r="",n="";if(null==t||null==t["!ref"])return[];var i,o=Gr(t["!ref"]),a="",s=[],c=[],l=Array.isArray(t);for(i=o.s.c;i<=o.e.c;++i)s[i]=Hr(i);for(var u=o.s.r;u<=o.e.r;++u)for(a=Wr(u),i=o.s.c;i<=o.e.c;++i)if(r=s[i]+a,n="",void 0!==(e=l?(t[u]||[])[i]:t[r])){if(null!=e.F){if(r=e.F,!e.f)continue;n=e.f,-1==r.indexOf(":")&&(r=r+":"+r)}if(null!=e.f)n=e.f;else{if("z"==e.t)continue;if("n"==e.t&&null!=e.v)n=""+e.v;else if("b"==e.t)n=e.v?"TRUE":"FALSE";else if(void 0!==e.w)n="'"+e.w;else{if(void 0===e.v)continue;n="s"==e.t?"'"+e.v:""+e.v}}c[c.length]=r+"="+n}return c},sheet_to_row_object_array:Ef,sheet_get_cell:Pf,book_new:Lf,book_append_sheet:If,book_set_sheet_visibility:function(t,e,r){t.Workbook||(t.Workbook={}),t.Workbook.Sheets||(t.Workbook.Sheets=[]);var n=function(t,e){if("number"==typeof e){if(e>=0&&t.SheetNames.length>e)return e;throw new Error("Cannot find sheet # "+e)}if("string"==typeof e){var r=t.SheetNames.indexOf(e);if(r>-1)return r;throw new Error("Cannot find sheet name |"+e+"|")}throw new Error("Cannot find sheet |"+e+"|")}(t,e);switch(t.Workbook.Sheets[n]||(t.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}t.Workbook.Sheets[n].Hidden=r},cell_set_number_format:function(t,e){return t.z=e,t},cell_set_hyperlink:Ff,cell_set_internal_link:function(t,e,r){return Ff(t,"#"+e,r)},cell_add_comment:function(t,e,r){t.c||(t.c=[]),t.c.push({t:e,a:r||"SheetJS"})},sheet_set_array_formula:function(t,e,r,n){for(var i="string"!=typeof e?e:Gr(e),o="string"==typeof e?e:$r(e),a=i.s.r;a<=i.e.r;++a)for(var s=i.s.c;s<=i.e.c;++s){var c=Pf(t,a,s);c.t="n",c.F=o,delete c.v,a==i.s.r&&s==i.s.c&&(c.f=r,n&&(c.D=!0))}return t},consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};function Mf(t){jf=t}var Bf={to_json:function(t,e){var r=jf({objectMode:!0});if(null==t||null==t["!ref"])return r.push(null),r;var n={t:"n",v:0},i=0,o=1,a=[],s=0,c="",l={s:{r:0,c:0},e:{r:0,c:0}},u=e||{},f=null!=u.range?u.range:t["!ref"];switch(1===u.header?i=1:"A"===u.header?i=2:Array.isArray(u.header)&&(i=3),typeof f){case"string":l=Gr(f);break;case"number":(l=Gr(t["!ref"])).s.r=f;break;default:l=f}i>0&&(o=0);var h=Wr(l.s.r),d=[],p=0,v=Array.isArray(t),g=l.s.r,m=0,b={};v&&!t[g]&&(t[g]=[]);var y=u.skipHidden&&t["!cols"]||[],w=u.skipHidden&&t["!rows"]||[];for(m=l.s.c;m<=l.e.c;++m)if(!(y[m]||{}).hidden)switch(d[m]=Hr(m),n=v?t[g][m]:t[d[m]+h],i){case 1:a[m]=m-l.s.c;break;case 2:a[m]=d[m];break;case 3:a[m]=u.header[m-l.s.c];break;default:if(null==n&&(n={w:"__EMPTY",t:"s"}),c=s=Yr(n,null,u),p=b[s]||0){do{c=s+"_"+p++}while(b[c]);b[s]=p,b[c]=1}else b[s]=1;a[m]=c}return g=l.s.r+o,r._read=function(){for(;g<=l.e.r;)if(!(w[g-1]||{}).hidden){var e=Af(t,l,g,d,i,a,v,u);if(++g,!1===e.isempty||(1===i?!1!==u.blankrows:u.blankrows))return void r.push(e.row)}return r.push(null)},r},to_html:function(t,e){var r=jf(),n=e||{},i=null!=n.header?n.header:hu,o=null!=n.footer?n.footer:du;r.push(i);var a=qr(t["!ref"]);n.dense=Array.isArray(t),r.push(pu(0,0,n));var s=a.s.r,c=!1;return r._read=function(){if(s>a.e.r)return c||(c=!0,r.push("</table>"+o)),r.push(null);for(;s<=a.e.r;){r.push(fu(t,a,s,n)),++s;break}},r},to_csv:function(t,e){var r=jf(),n=null==e?{}:e;if(null==t||null==t["!ref"])return r.push(null),r;var i=Gr(t["!ref"]),o=void 0!==n.FS?n.FS:",",a=o.charCodeAt(0),s=void 0!==n.RS?n.RS:"\n",c=s.charCodeAt(0),l=new RegExp(("|"==o?"\\|":o)+"+$"),u="",f=[];n.dense=Array.isArray(t);for(var h=n.skipHidden&&t["!cols"]||[],d=n.skipHidden&&t["!rows"]||[],p=i.s.c;p<=i.e.c;++p)(h[p]||{}).hidden||(f[p]=Hr(p));var v=i.s.r,g=!1,m=0;return r._read=function(){if(!g)return g=!0,r.push("\ufeff");for(;v<=i.e.r;)if(++v,!(d[v-1]||{}).hidden&&null!=(u=Of(t,i,v-1,f,a,c,o,n))&&(n.strip&&(u=u.replace(l,"")),u||!1!==n.blankrows))return r.push((m++?s:"")+u);return r.push(null)},r},set_readable:Mf};if(void 0!==Kl&&(t.parse_xlscfb=Kl),t.parse_zip=sf,t.read=vf,t.readFile=gf,t.readFileSync=gf,t.write=xf,t.writeFile=Tf,t.writeFileSync=Tf,t.writeFileAsync=function(t,e,r,n){var i=r||{};i.type="file",i.file=t,kf(i),i.type="buffer";var o=n;return o instanceof Function||(o=r),Tt.writeFile(t,xf(e,i),o)},t.utils=Df,t.writeXLSX=Sf,t.writeFileXLSX=function(t,e,r){var n=r||{};return n.type="file",n.file=e,kf(n),Sf(t,n)},t.SSF=St,void 0!==Bf&&(t.stream=Bf),void 0!==Et&&(t.CFB=Et),"undefined"!=typeof require){var Wf=void 0;({}).Readable&&Mf(Wf.Readable)}}if("undefined"!=typeof exports?make_xlsx_lib(exports):"undefined"!=typeof module&&module.exports?make_xlsx_lib(module.exports):"function"==typeof define&&define.amd?define("xlsx",(function(){return XLSX.version||make_xlsx_lib(XLSX),XLSX})):make_xlsx_lib(XLSX),"undefined"!=typeof window&&!window.XLSX)try{window.XLSX=XLSX}catch(t){}!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function e(t,e,r){return e=i(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,o()?Reflect.construct(e,r||[],i(t).constructor):e.apply(t,r))}function r(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,c(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function n(){return n="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=i(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}},n.apply(null,arguments)}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}function o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(o=function(){return!!t})()}function a(t,e){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},a(t,e)}function s(t,e,r,o){var a=n(i(t.prototype),e,r);return function(t){return a.apply(r,t)}}function c(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof e?e:e+""}var l,u,f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},h={};function d(){if(u)return l;u=1;var t=function(t){return t&&t.Math===Math&&t};return l=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof f&&f)||t("object"==typeof l&&l)||function(){return this}()||Function("return this")()}var p,v,g,m,b,y,w,S,x={};function k(){return v?p:(v=1,p=function(t){try{return!!t()}catch(t){return!0}})}function T(){if(m)return g;m=1;var t=k();return g=!t((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function A(){if(y)return b;y=1;var t=k();return b=!t((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function E(){if(S)return w;S=1;var t=A(),e=Function.prototype.call;return w=t?e.bind(e):function(){return e.apply(e,arguments)},w}var _,O,N,C,R,P,L,I,F,j,D,M,B,W,U,H,z,V,q,$,G,X,Y,K,J,Z,Q,tt,et,rt,nt,it,ot,at,st,ct,lt,ut,ft,ht,dt,pt={};function vt(){if(_)return pt;_=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return pt.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,pt}function gt(){return N?O:(N=1,O=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function mt(){if(R)return C;R=1;var t=A(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return C=t?n:function(t){return function(){return r.apply(t,arguments)}},C}function bt(){if(L)return P;L=1;var t=mt(),e=t({}.toString),r=t("".slice);return P=function(t){return r(e(t),8,-1)}}function yt(){if(F)return I;F=1;var t=mt(),e=k(),r=bt(),n=Object,i=t("".split);return I=e((function(){return!n("z").propertyIsEnumerable(0)}))?function(t){return"String"===r(t)?i(t,""):n(t)}:n}function wt(){return D?j:(D=1,j=function(t){return null==t})}function St(){if(B)return M;B=1;var t=wt(),e=TypeError;return M=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function xt(){if(U)return W;U=1;var t=yt(),e=St();return W=function(r){return t(e(r))}}function kt(){if(z)return H;z=1;var t="object"==typeof document&&document.all;return H=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function Tt(){if(q)return V;q=1;var t=kt();return V=function(e){return"object"==typeof e?null!==e:t(e)}}function At(){if(G)return $;G=1;var t=d(),e=kt();return $=function(r,n){return arguments.length<2?(i=t[r],e(i)?i:void 0):t[r]&&t[r][n];var i},$}function Et(){if(Q)return Z;Q=1;var t,e,r=d(),n=function(){if(J)return K;J=1;var t=d().navigator,e=t&&t.userAgent;return K=e?String(e):""}(),i=r.process,o=r.Deno,a=i&&i.versions||o&&o.version,s=a&&a.v8;return s&&(e=(t=s.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),Z=e}function _t(){if(et)return tt;et=1;var t=Et(),e=k(),r=d().String;return tt=!!Object.getOwnPropertySymbols&&!e((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function Ot(){if(nt)return rt;nt=1;var t=_t();return rt=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Nt(){if(ot)return it;ot=1;var t=At(),e=kt(),r=function(){if(Y)return X;Y=1;var t=mt();return X=t({}.isPrototypeOf)}(),n=Ot(),i=Object;return it=n?function(t){return"symbol"==typeof t}:function(n){var o=t("Symbol");return e(o)&&r(o.prototype,i(n))}}function Ct(){if(st)return at;st=1;var t=String;return at=function(e){try{return t(e)}catch(t){return"Object"}}}function Rt(){if(lt)return ct;lt=1;var t=kt(),e=Ct(),r=TypeError;return ct=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function Pt(){if(ft)return ut;ft=1;var t=Rt(),e=wt();return ut=function(r,n){var i=r[n];return e(i)?void 0:t(i)}}function Lt(){if(dt)return ht;dt=1;var t=E(),e=kt(),r=Tt(),n=TypeError;return ht=function(i,o){var a,s;if("string"===o&&e(a=i.toString)&&!r(s=t(a,i)))return s;if(e(a=i.valueOf)&&!r(s=t(a,i)))return s;if("string"!==o&&e(a=i.toString)&&!r(s=t(a,i)))return s;throw new n("Can't convert object to primitive value")}}var It,Ft,jt,Dt,Mt,Bt,Wt,Ut,Ht,zt,Vt,qt,$t,Gt,Xt,Yt,Kt,Jt,Zt,Qt,te,ee,re,ne,ie={exports:{}};function oe(){if(Dt)return jt;Dt=1;var t=d(),e=Object.defineProperty;return jt=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function ae(){if(Mt)return ie.exports;Mt=1;var t=Ft?It:(Ft=1,It=!1),e=d(),r=oe(),n="__core-js_shared__",i=ie.exports=e[n]||r(n,{});return(i.versions||(i.versions=[])).push({version:"3.38.1",mode:t?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"}),ie.exports}function se(){if(Wt)return Bt;Wt=1;var t=ae();return Bt=function(e,r){return t[e]||(t[e]=r||{})}}function ce(){if(Ht)return Ut;Ht=1;var t=St(),e=Object;return Ut=function(r){return e(t(r))}}function le(){if(Vt)return zt;Vt=1;var t=mt(),e=ce(),r=t({}.hasOwnProperty);return zt=Object.hasOwn||function(t,n){return r(e(t),n)}}function ue(){if($t)return qt;$t=1;var t=mt(),e=0,r=Math.random(),n=t(1..toString);return qt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function fe(){if(Xt)return Gt;Xt=1;var t=d(),e=se(),r=le(),n=ue(),i=_t(),o=Ot(),a=t.Symbol,s=e("wks"),c=o?a.for||a:a&&a.withoutSetter||n;return Gt=function(t){return r(s,t)||(s[t]=i&&r(a,t)?a[t]:c("Symbol."+t)),s[t]}}function he(){if(Kt)return Yt;Kt=1;var t=E(),e=Tt(),r=Nt(),n=Pt(),i=Lt(),o=fe(),a=TypeError,s=o("toPrimitive");return Yt=function(o,c){if(!e(o)||r(o))return o;var l,u=n(o,s);if(u){if(void 0===c&&(c="default"),l=t(u,o,c),!e(l)||r(l))return l;throw new a("Can't convert object to primitive value")}return void 0===c&&(c="number"),i(o,c)}}function de(){if(Zt)return Jt;Zt=1;var t=he(),e=Nt();return Jt=function(r){var n=t(r,"string");return e(n)?n:n+""}}function pe(){if(te)return Qt;te=1;var t=d(),e=Tt(),r=t.document,n=e(r)&&e(r.createElement);return Qt=function(t){return n?r.createElement(t):{}}}function ve(){if(re)return ee;re=1;var t=T(),e=k(),r=pe();return ee=!t&&!e((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))}function ge(){if(ne)return x;ne=1;var t=T(),e=E(),r=vt(),n=gt(),i=xt(),o=de(),a=le(),s=ve(),c=Object.getOwnPropertyDescriptor;return x.f=t?c:function(t,l){if(t=i(t),l=o(l),s)try{return c(t,l)}catch(t){}if(a(t,l))return n(!e(r.f,t,l),t[l])},x}var me,be,ye,we,Se,xe,ke,Te={};function Ae(){if(be)return me;be=1;var t=T(),e=k();return me=t&&e((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}function Ee(){if(we)return ye;we=1;var t=Tt(),e=String,r=TypeError;return ye=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function _e(){if(Se)return Te;Se=1;var t=T(),e=ve(),r=Ae(),n=Ee(),i=de(),o=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c="enumerable",l="configurable",u="writable";return Te.f=t?r?function(t,e,r){if(n(t),e=i(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&u in r&&!r[u]){var o=s(t,e);o&&o[u]&&(t[e]=r.value,r={configurable:l in r?r[l]:o[l],enumerable:c in r?r[c]:o[c],writable:!1})}return a(t,e,r)}:a:function(t,r,s){if(n(t),r=i(r),n(s),e)try{return a(t,r,s)}catch(t){}if("get"in s||"set"in s)throw new o("Accessors not supported");return"value"in s&&(t[r]=s.value),t},Te}function Oe(){if(ke)return xe;ke=1;var t=T(),e=_e(),r=gt();return xe=t?function(t,n,i){return e.f(t,n,r(1,i))}:function(t,e,r){return t[e]=r,t}}var Ne,Ce,Re,Pe,Le,Ie,Fe,je,De,Me,Be,We,Ue,He,ze,Ve={exports:{}};function qe(){if(Pe)return Re;Pe=1;var t=mt(),e=kt(),r=ae(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),Re=r.inspectSource}function $e(){if(je)return Fe;je=1;var t=se(),e=ue(),r=t("keys");return Fe=function(t){return r[t]||(r[t]=e(t))}}function Ge(){return Me?De:(Me=1,De={})}function Xe(){if(We)return Be;We=1;var t,e,r,n=function(){if(Ie)return Le;Ie=1;var t=d(),e=kt(),r=t.WeakMap;return Le=e(r)&&/native code/.test(String(r))}(),i=d(),o=Tt(),a=Oe(),s=le(),c=ae(),l=$e(),u=Ge(),f="Object already initialized",h=i.TypeError,p=i.WeakMap;if(n||c.state){var v=c.state||(c.state=new p);v.get=v.get,v.has=v.has,v.set=v.set,t=function(t,e){if(v.has(t))throw new h(f);return e.facade=t,v.set(t,e),e},e=function(t){return v.get(t)||{}},r=function(t){return v.has(t)}}else{var g=l("state");u[g]=!0,t=function(t,e){if(s(t,g))throw new h(f);return e.facade=t,a(t,g,e),e},e=function(t){return s(t,g)?t[g]:{}},r=function(t){return s(t,g)}}return Be={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!o(r)||(n=e(r)).type!==t)throw new h("Incompatible receiver, "+t+" required");return n}}}}function Ye(){if(Ue)return Ve.exports;Ue=1;var t=mt(),e=k(),r=kt(),n=le(),i=T(),o=function(){if(Ce)return Ne;Ce=1;var t=T(),e=le(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,i=e(r,"name"),o=i&&"something"===function(){}.name,a=i&&(!t||t&&n(r,"name").configurable);return Ne={EXISTS:i,PROPER:o,CONFIGURABLE:a}}().CONFIGURABLE,a=qe(),s=Xe(),c=s.enforce,l=s.get,u=String,f=Object.defineProperty,h=t("".slice),d=t("".replace),p=t([].join),v=i&&!e((function(){return 8!==f((function(){}),"length",{value:8}).length})),g=String(String).split("String"),m=Ve.exports=function(t,e,r){"Symbol("===h(u(e),0,7)&&(e="["+d(u(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||o&&t.name!==e)&&(i?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?i&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=c(t);return n(a,"source")||(a.source=p(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=m((function(){return r(this)&&l(this).source||a(this)}),"toString"),Ve.exports}function Ke(){if(ze)return He;ze=1;var t=kt(),e=_e(),r=Ye(),n=oe();return He=function(i,o,a,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:o;if(t(a)&&r(a,l,s),s.global)c?i[o]=a:n(o,a);else{try{s.unsafe?i[o]&&(c=!0):delete i[o]}catch(t){}c?i[o]=a:e.f(i,o,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return i}}var Je,Ze,Qe,tr,er,rr,nr,ir,or,ar,sr,cr,lr,ur,fr,hr,dr,pr={};function vr(){if(tr)return Qe;tr=1;var t=function(){if(Ze)return Je;Ze=1;var t=Math.ceil,e=Math.floor;return Je=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return Qe=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function gr(){if(rr)return er;rr=1;var t=vr(),e=Math.max,r=Math.min;return er=function(n,i){var o=t(n);return o<0?e(o+i,0):r(o,i)}}function mr(){if(ir)return nr;ir=1;var t=vr(),e=Math.min;return nr=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function br(){if(ar)return or;ar=1;var t=mr();return or=function(e){return t(e.length)}}function yr(){if(ur)return lr;ur=1;var t=mt(),e=le(),r=xt(),n=function(){if(cr)return sr;cr=1;var t=xt(),e=gr(),r=br(),n=function(n){return function(i,o,a){var s=t(i),c=r(s);if(0===c)return!n&&-1;var l,u=e(a,c);if(n&&o!=o){for(;c>u;)if((l=s[u++])!=l)return!0}else for(;c>u;u++)if((n||u in s)&&s[u]===o)return n||u||0;return!n&&-1}};return sr={includes:n(!0),indexOf:n(!1)}}().indexOf,i=Ge(),o=t([].push);return lr=function(t,a){var s,c=r(t),l=0,u=[];for(s in c)!e(i,s)&&e(c,s)&&o(u,s);for(;a.length>l;)e(c,s=a[l++])&&(~n(u,s)||o(u,s));return u}}function wr(){return hr?fr:(hr=1,fr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var Sr,xr,kr,Tr,Ar,Er,_r,Or,Nr,Cr,Rr,Pr,Lr,Ir,Fr,jr,Dr,Mr,Br,Wr,Ur,Hr,zr,Vr,qr,$r,Gr,Xr={};function Yr(){return Sr||(Sr=1,Xr.f=Object.getOwnPropertySymbols),Xr}function Kr(){if(kr)return xr;kr=1;var t=At(),e=mt(),r=function(){if(dr)return pr;dr=1;var t=yr(),e=wr().concat("length","prototype");return pr.f=Object.getOwnPropertyNames||function(r){return t(r,e)},pr}(),n=Yr(),i=Ee(),o=e([].concat);return xr=t("Reflect","ownKeys")||function(t){var e=r.f(i(t)),a=n.f;return a?o(e,a(t)):e}}function Jr(){if(Ar)return Tr;Ar=1;var t=le(),e=Kr(),r=ge(),n=_e();return Tr=function(i,o,a){for(var s=e(o),c=n.f,l=r.f,u=0;u<s.length;u++){var f=s[u];t(i,f)||a&&t(a,f)||c(i,f,l(o,f))}}}function Zr(){if(Nr)return Or;Nr=1;var t=d(),e=ge().f,r=Oe(),n=Ke(),i=oe(),o=Jr(),a=function(){if(_r)return Er;_r=1;var t=k(),e=kt(),r=/#|\.prototype\./,n=function(r,n){var c=o[i(r)];return c===s||c!==a&&(e(n)?t(n):!!n)},i=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},o=n.data={},a=n.NATIVE="N",s=n.POLYFILL="P";return Er=n}();return Or=function(s,c){var l,u,f,h,d,p=s.target,v=s.global,g=s.stat;if(l=v?t:g?t[p]||i(p,{}):t[p]&&t[p].prototype)for(u in c){if(h=c[u],f=s.dontCallGetSet?(d=e(l,u))&&d.value:l[u],!a(v?u:p+(g?".":"#")+u,s.forced)&&void 0!==f){if(typeof h==typeof f)continue;o(h,f)}(s.sham||f&&f.sham)&&r(h,"sham",!0),n(l,u,h,s)}}}function Qr(){if(Lr)return Pr;Lr=1;var t=function(){if(Rr)return Cr;Rr=1;var t=bt(),e=mt();return Cr=function(r){if("Function"===t(r))return e(r)}}(),e=Rt(),r=A(),n=t(t.bind);return Pr=function(t,i){return e(t),void 0===i?t:r?n(t,i):function(){return t.apply(i,arguments)}},Pr}function tn(){if(Fr)return Ir;Fr=1;var t=bt();return Ir=Array.isArray||function(e){return"Array"===t(e)}}function en(){if(Dr)return jr;Dr=1;var t={};return t[fe()("toStringTag")]="z",jr="[object z]"===String(t)}function rn(){if(Br)return Mr;Br=1;var t=en(),e=kt(),r=bt(),n=fe()("toStringTag"),i=Object,o="Arguments"===r(function(){return arguments}());return Mr=t?r:function(t){var a,s,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(s=function(t,e){try{return t[e]}catch(t){}}(a=i(t),n))?s:o?r(a):"Object"===(c=r(a))&&e(a.callee)?"Arguments":c}}function nn(){if(Ur)return Wr;Ur=1;var t=mt(),e=k(),r=kt(),n=rn(),i=At(),o=qe(),a=function(){},s=i("Reflect","construct"),c=/^\s*(?:class|function)\b/,l=t(c.exec),u=!c.test(a),f=function(t){if(!r(t))return!1;try{return s(a,[],t),!0}catch(t){return!1}},h=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return u||!!l(c,o(t))}catch(t){return!0}};return h.sham=!0,Wr=!s||e((function(){var t;return f(f.call)||!f(Object)||!f((function(){t=!0}))||t}))?h:f}function on(){if(zr)return Hr;zr=1;var t=tn(),e=nn(),r=Tt(),n=fe()("species"),i=Array;return Hr=function(o){var a;return t(o)&&(a=o.constructor,(e(a)&&(a===i||t(a.prototype))||r(a)&&null===(a=a[n]))&&(a=void 0)),void 0===a?i:a}}function an(){if(qr)return Vr;qr=1;var t=on();return Vr=function(e,r){return new(t(e))(0===r?0:r)}}var sn,cn,ln,un,fn,hn,dn,pn,vn,gn,mn={};function bn(){if(cn)return sn;cn=1;var t=yr(),e=wr();return sn=Object.keys||function(r){return t(r,e)}}function yn(){if(fn)return un;fn=1;var t=At();return un=t("document","documentElement")}function wn(){if(dn)return hn;dn=1;var t,e=Ee(),r=function(){if(ln)return mn;ln=1;var t=T(),e=Ae(),r=_e(),n=Ee(),i=xt(),o=bn();return mn.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var a,s=i(e),c=o(e),l=c.length,u=0;l>u;)r.f(t,a=c[u++],s[a]);return t},mn}(),n=wr(),i=Ge(),o=yn(),a=pe(),s=$e(),c="prototype",l="script",u=s("IE_PROTO"),f=function(){},h=function(t){return"<"+l+">"+t+"</"+l+">"},d=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,i;p="undefined"!=typeof document?document.domain&&t?d(t):(r=a("iframe"),i="java"+l+":",r.style.display="none",o.appendChild(r),r.src=String(i),(e=r.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):d(t);for(var s=n.length;s--;)delete p[c][n[s]];return p()};return i[u]=!0,hn=Object.create||function(t,n){var i;return null!==t?(f[c]=e(t),i=new f,f[c]=null,i[u]=t):i=p(),void 0===n?i:r.f(i,n)}}function Sn(){if(vn)return pn;vn=1;var t=fe(),e=wn(),r=_e().f,n=t("unscopables"),i=Array.prototype;return void 0===i[n]&&r(i,n,{configurable:!0,value:e(null)}),pn=function(t){i[n][t]=!0}}!function(){if(gn)return h;gn=1;var t=Zr(),e=function(){if(Gr)return $r;Gr=1;var t=Qr(),e=mt(),r=yt(),n=ce(),i=br(),o=an(),a=e([].push),s=function(e){var s=1===e,c=2===e,l=3===e,u=4===e,f=6===e,h=7===e,d=5===e||f;return function(p,v,g,m){for(var b,y,w=n(p),S=r(w),x=i(S),k=t(v,g),T=0,A=m||o,E=s?A(p,x):c||h?A(p,0):void 0;x>T;T++)if((d||T in S)&&(y=k(b=S[T],T,w),e))if(s)E[T]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return T;case 2:a(E,b)}else switch(e){case 4:return!1;case 7:a(E,b)}return f?-1:l||u?u:E}};return $r={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}}().find,r=Sn(),n="find",i=!0;n in[]&&Array(1)[n]((function(){i=!1})),t({target:"Array",proto:!0,forced:i},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)}();var xn,kn,Tn,An={};!function(){if(Tn)return An;Tn=1;var t=Zr(),e=function(){if(kn)return xn;kn=1;var t=T(),e=mt(),r=E(),n=k(),i=bn(),o=Yr(),a=vt(),s=ce(),c=yt(),l=Object.assign,u=Object.defineProperty,f=e([].concat);return xn=!l||n((function(){if(t&&1!==l({b:1},l(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(t){r[t]=t})),7!==l({},e)[n]||i(l({},r)).join("")!==o}))?function(e,n){for(var l=s(e),u=arguments.length,h=1,d=o.f,p=a.f;u>h;)for(var v,g=c(arguments[h++]),m=d?f(i(g),d(g)):i(g),b=m.length,y=0;b>y;)v=m[y++],t&&!r(p,g,v)||(l[v]=g[v]);return l}:l,xn}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var En,_n,On,Nn={};!function(){if(On)return Nn;On=1;var t=en(),e=Ke(),r=function(){if(_n)return En;_n=1;var t=en(),e=rn();return En=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var Cn=t.fn.bootstrapTable.utils;Object.assign(t.fn.bootstrapTable.defaults,{stickyHeader:!1,stickyHeaderOffsetY:0,stickyHeaderOffsetLeft:0,stickyHeaderOffsetRight:0}),t.BootstrapTable=function(n){function i(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),e(this,i,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&a(t,e)}(i,n),r(i,[{key:"initHeader",value:function(){for(var e=this,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];if(s(i,"initHeader",this)(n),this.options.stickyHeader){this.$tableBody.find(".sticky-header-container,.sticky_anchor_begin,.sticky_anchor_end").remove(),this.$el.before('<div class="sticky-header-container"></div>'),this.$el.before('<div class="sticky_anchor_begin"></div>'),this.$el.after('<div class="sticky_anchor_end"></div>'),this.$header.addClass("sticky-header"),this.$stickyContainer=this.$tableBody.find(".sticky-header-container"),this.$stickyBegin=this.$tableBody.find(".sticky_anchor_begin"),this.$stickyEnd=this.$tableBody.find(".sticky_anchor_end"),this.$stickyHeader=this.$header.clone(!0,!0);var a=Cn.getEventName("resize.sticky-header-table",this.$el.attr("id")),c=Cn.getEventName("scroll.sticky-header-table",this.$el.attr("id"));t(window).off(a).on(a,(function(){return e.renderStickyHeader()})),t(window).off(c).on(c,(function(){return e.renderStickyHeader()})),this.$tableBody.off("scroll").on("scroll",(function(){return e.matchPositionX()}))}}},{key:"onColumnSearch",value:function(t){var e=t.currentTarget,r=t.keyCode;s(i,"onColumnSearch",this)([{currentTarget:e,keyCode:r}]),this.options.stickyHeader&&this.renderStickyHeader()}},{key:"resetView",value:function(){for(var e=this,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];s(i,"resetView",this)(n),this.options.stickyHeader&&t(".bootstrap-table.fullscreen").off("scroll").on("scroll",(function(){return e.renderStickyHeader()}))}},{key:"getCaret",value:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];if(s(i,"getCaret",this)(r),this.options.stickyHeader&&this.$stickyHeader){var o=this.$stickyHeader.find("th");this.$header.find("th").each((function(e,r){o.eq(e).find(".sortable").attr("class",t(r).find(".sortable").attr("class"))}))}}},{key:"horizontalScroll",value:function(){var t=this;s(i,"horizontalScroll",this)([]),this.options.stickyHeader&&this.$tableBody.on("scroll",(function(){return t.matchPositionX()}))}},{key:"renderStickyHeader",value:function(){var e=this,r=this;this.$stickyHeader=this.$header.clone(!0,!0),this.options.filterControl&&t(this.$stickyHeader).off("keyup change mouseup").on("keyup change mouse",(function(e){var n=t(e.target),i=n.val(),o=n.parents("th").data("field"),a=r.$header.find('th[data-field="'.concat(o,'"]'));if(n.is("input"))a.find("input").val(i);else if(n.is("select")){var s=a.find("select");s.find("option[selected]").removeAttr("selected"),s.find('option[value="'.concat(i,'"]')).attr("selected",!0)}r.triggerSearch()}));var n=t(window).scrollTop(),i=this.$stickyBegin.offset().top-this.options.stickyHeaderOffsetY,o=this.$stickyEnd.offset().top-this.options.stickyHeaderOffsetY-this.$header.height();if(n>i&&n<=o){this.$stickyHeader.find("tr").each((function(r,n){t(n).find("th").each((function(n,i){t(i).css("min-width",e.$header.find("tr:eq(".concat(r,")")).find("th:eq(".concat(n,")")).css("width"))}))})),this.$stickyContainer.show().addClass("fix-sticky fixed-table-container");var a=this.$tableBody[0].getBoundingClientRect(),s="100%",c=this.options.stickyHeaderOffsetLeft,l=this.options.stickyHeaderOffsetRight;c||(c=a.left),l||(s="".concat(a.width,"px")),this.$el.closest(".bootstrap-table").hasClass("fullscreen")&&(c=0,l=0,s="100%"),this.$stickyContainer.css("top","".concat(this.options.stickyHeaderOffsetY,"px")),this.$stickyContainer.css("left","".concat(c,"px")),this.$stickyContainer.css("right","".concat(l,"px")),this.$stickyContainer.css("width","".concat(s)),this.$stickyTable=t("<table/>"),this.$stickyTable.addClass(this.options.classes),this.$stickyContainer.html(this.$stickyTable.append(this.$stickyHeader)),this.matchPositionX()}else this.$stickyContainer.removeClass("fix-sticky").hide()}},{key:"matchPositionX",value:function(){this.$stickyContainer.scrollLeft(this.$tableBody.scrollLeft())}}])}(t.BootstrapTable)})),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function r(t,e,r){return e=o(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,a()?Reflect.construct(e,r||[],o(t).constructor):e.apply(t,r))}function n(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,f(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=o(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}},i.apply(null,arguments)}function o(t){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},o(t)}function a(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(a=function(){return!!t})()}function s(t,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},s(t,e)}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],c=!0,l=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(c=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(t,e)||h(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e,r,n){var a=i(o(t.prototype),e,r);return function(t){return a.apply(r,t)}}function u(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||h(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof e?e:e+""}function h(t,r){if(t){if("string"==typeof t)return e(t,r);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}var d,p,v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},g={};function m(){if(p)return d;p=1;var t=function(t){return t&&t.Math===Math&&t};return d=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof v&&v)||t("object"==typeof d&&d)||function(){return this}()||Function("return this")()}var b,y,w,S,x,k,T,A,E={};function _(){return y?b:(y=1,b=function(t){try{return!!t()}catch(t){return!0}})}function O(){if(S)return w;S=1;var t=_();return w=!t((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function N(){if(k)return x;k=1;var t=_();return x=!t((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function C(){if(A)return T;A=1;var t=N(),e=Function.prototype.call;return T=t?e.bind(e):function(){return e.apply(e,arguments)},T}var R,P,L,I,F,j,D,M,B,W,U,H,z,V,q,$,G,X,Y,K,J,Z,Q,tt,et,rt,nt,it,ot,at,st,ct,lt,ut,ft,ht,dt,pt,vt,gt,mt,bt={};function yt(){if(R)return bt;R=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return bt.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,bt}function wt(){return L?P:(L=1,P=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function St(){if(F)return I;F=1;var t=N(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return I=t?n:function(t){return function(){return r.apply(t,arguments)}},I}function xt(){if(D)return j;D=1;var t=St(),e=t({}.toString),r=t("".slice);return j=function(t){return r(e(t),8,-1)}}function kt(){if(B)return M;B=1;var t=St(),e=_(),r=xt(),n=Object,i=t("".split);return M=e((function(){return!n("z").propertyIsEnumerable(0)}))?function(t){return"String"===r(t)?i(t,""):n(t)}:n}function Tt(){return U?W:(U=1,W=function(t){return null==t})}function At(){if(z)return H;z=1;var t=Tt(),e=TypeError;return H=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function Et(){if(q)return V;q=1;var t=kt(),e=At();return V=function(r){return t(e(r))}}function _t(){if(G)return $;G=1;var t="object"==typeof document&&document.all;return $=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function Ot(){if(Y)return X;Y=1;var t=_t();return X=function(e){return"object"==typeof e?null!==e:t(e)}}function Nt(){if(J)return K;J=1;var t=m(),e=_t();return K=function(r,n){return arguments.length<2?(i=t[r],e(i)?i:void 0):t[r]&&t[r][n];var i},K}function Ct(){if(nt)return rt;nt=1;var t,e,r=m(),n=function(){if(et)return tt;et=1;var t=m().navigator,e=t&&t.userAgent;return tt=e?String(e):""}(),i=r.process,o=r.Deno,a=i&&i.versions||o&&o.version,s=a&&a.v8;return s&&(e=(t=s.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),rt=e}function Rt(){if(ot)return it;ot=1;var t=Ct(),e=_(),r=m().String;return it=!!Object.getOwnPropertySymbols&&!e((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function Pt(){if(st)return at;st=1;var t=Rt();return at=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Lt(){if(lt)return ct;lt=1;var t=Nt(),e=_t(),r=function(){if(Q)return Z;Q=1;var t=St();return Z=t({}.isPrototypeOf)}(),n=Pt(),i=Object;return ct=n?function(t){return"symbol"==typeof t}:function(n){var o=t("Symbol");return e(o)&&r(o.prototype,i(n))}}function It(){if(ft)return ut;ft=1;var t=String;return ut=function(e){try{return t(e)}catch(t){return"Object"}}}function Ft(){if(dt)return ht;dt=1;var t=_t(),e=It(),r=TypeError;return ht=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function jt(){if(vt)return pt;vt=1;var t=Ft(),e=Tt();return pt=function(r,n){var i=r[n];return e(i)?void 0:t(i)}}function Dt(){if(mt)return gt;mt=1;var t=C(),e=_t(),r=Ot(),n=TypeError;return gt=function(i,o){var a,s;if("string"===o&&e(a=i.toString)&&!r(s=t(a,i)))return s;if(e(a=i.valueOf)&&!r(s=t(a,i)))return s;if("string"!==o&&e(a=i.toString)&&!r(s=t(a,i)))return s;throw new n("Can't convert object to primitive value")}}var Mt,Bt,Wt,Ut,Ht,zt,Vt,qt,$t,Gt,Xt,Yt,Kt,Jt,Zt,Qt,te,ee,re,ne,ie,oe,ae,se,ce={exports:{}};function le(){if(Ut)return Wt;Ut=1;var t=m(),e=Object.defineProperty;return Wt=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function ue(){if(Ht)return ce.exports;Ht=1;var t=Bt?Mt:(Bt=1,Mt=!1),e=m(),r=le(),n="__core-js_shared__",i=ce.exports=e[n]||r(n,{});return(i.versions||(i.versions=[])).push({version:"3.38.1",mode:t?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"}),ce.exports}function fe(){if(Vt)return zt;Vt=1;var t=ue();return zt=function(e,r){return t[e]||(t[e]=r||{})}}function he(){if($t)return qt;$t=1;var t=At(),e=Object;return qt=function(r){return e(t(r))}}function de(){if(Xt)return Gt;Xt=1;var t=St(),e=he(),r=t({}.hasOwnProperty);return Gt=Object.hasOwn||function(t,n){return r(e(t),n)}}function pe(){if(Kt)return Yt;Kt=1;var t=St(),e=0,r=Math.random(),n=t(1..toString);return Yt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function ve(){if(Zt)return Jt;Zt=1;var t=m(),e=fe(),r=de(),n=pe(),i=Rt(),o=Pt(),a=t.Symbol,s=e("wks"),c=o?a.for||a:a&&a.withoutSetter||n;return Jt=function(t){return r(s,t)||(s[t]=i&&r(a,t)?a[t]:c("Symbol."+t)),s[t]}}function ge(){if(te)return Qt;te=1;var t=C(),e=Ot(),r=Lt(),n=jt(),i=Dt(),o=ve(),a=TypeError,s=o("toPrimitive");return Qt=function(o,c){if(!e(o)||r(o))return o;var l,u=n(o,s);if(u){if(void 0===c&&(c="default"),l=t(u,o,c),!e(l)||r(l))return l;throw new a("Can't convert object to primitive value")}return void 0===c&&(c="number"),i(o,c)}}function me(){if(re)return ee;re=1;var t=ge(),e=Lt();return ee=function(r){var n=t(r,"string");return e(n)?n:n+""}}function be(){if(ie)return ne;ie=1;var t=m(),e=Ot(),r=t.document,n=e(r)&&e(r.createElement);return ne=function(t){return n?r.createElement(t):{}}}function ye(){if(ae)return oe;ae=1;var t=O(),e=_(),r=be();return oe=!t&&!e((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))}function we(){if(se)return E;se=1;var t=O(),e=C(),r=yt(),n=wt(),i=Et(),o=me(),a=de(),s=ye(),c=Object.getOwnPropertyDescriptor;return E.f=t?c:function(t,l){if(t=i(t),l=o(l),s)try{return c(t,l)}catch(t){}if(a(t,l))return n(!e(r.f,t,l),t[l])},E}var Se,xe,ke,Te,Ae,Ee,_e,Oe={};function Ne(){if(xe)return Se;xe=1;var t=O(),e=_();return Se=t&&e((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}function Ce(){if(Te)return ke;Te=1;var t=Ot(),e=String,r=TypeError;return ke=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function Re(){if(Ae)return Oe;Ae=1;var t=O(),e=ye(),r=Ne(),n=Ce(),i=me(),o=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c="enumerable",l="configurable",u="writable";return Oe.f=t?r?function(t,e,r){if(n(t),e=i(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&u in r&&!r[u]){var o=s(t,e);o&&o[u]&&(t[e]=r.value,r={configurable:l in r?r[l]:o[l],enumerable:c in r?r[c]:o[c],writable:!1})}return a(t,e,r)}:a:function(t,r,s){if(n(t),r=i(r),n(s),e)try{return a(t,r,s)}catch(t){}if("get"in s||"set"in s)throw new o("Accessors not supported");return"value"in s&&(t[r]=s.value),t},Oe}function Pe(){if(_e)return Ee;_e=1;var t=O(),e=Re(),r=wt();return Ee=t?function(t,n,i){return e.f(t,n,r(1,i))}:function(t,e,r){return t[e]=r,t}}var Le,Ie,Fe,je,De,Me,Be,We,Ue,He,ze,Ve,qe,$e,Ge,Xe={exports:{}};function Ye(){if(Ie)return Le;Ie=1;var t=O(),e=de(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,i=e(r,"name"),o=i&&"something"===function(){}.name,a=i&&(!t||t&&n(r,"name").configurable);return Le={EXISTS:i,PROPER:o,CONFIGURABLE:a}}function Ke(){if(je)return Fe;je=1;var t=St(),e=_t(),r=ue(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),Fe=r.inspectSource}function Je(){if(We)return Be;We=1;var t=fe(),e=pe(),r=t("keys");return Be=function(t){return r[t]||(r[t]=e(t))}}function Ze(){return He?Ue:(He=1,Ue={})}function Qe(){if(Ve)return ze;Ve=1;var t,e,r,n=function(){if(Me)return De;Me=1;var t=m(),e=_t(),r=t.WeakMap;return De=e(r)&&/native code/.test(String(r))}(),i=m(),o=Ot(),a=Pe(),s=de(),c=ue(),l=Je(),u=Ze(),f="Object already initialized",h=i.TypeError,d=i.WeakMap;if(n||c.state){var p=c.state||(c.state=new d);p.get=p.get,p.has=p.has,p.set=p.set,t=function(t,e){if(p.has(t))throw new h(f);return e.facade=t,p.set(t,e),e},e=function(t){return p.get(t)||{}},r=function(t){return p.has(t)}}else{var v=l("state");u[v]=!0,t=function(t,e){if(s(t,v))throw new h(f);return e.facade=t,a(t,v,e),e},e=function(t){return s(t,v)?t[v]:{}},r=function(t){return s(t,v)}}return ze={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!o(r)||(n=e(r)).type!==t)throw new h("Incompatible receiver, "+t+" required");return n}}}}function tr(){if(qe)return Xe.exports;qe=1;var t=St(),e=_(),r=_t(),n=de(),i=O(),o=Ye().CONFIGURABLE,a=Ke(),s=Qe(),c=s.enforce,l=s.get,u=String,f=Object.defineProperty,h=t("".slice),d=t("".replace),p=t([].join),v=i&&!e((function(){return 8!==f((function(){}),"length",{value:8}).length})),g=String(String).split("String"),m=Xe.exports=function(t,e,r){"Symbol("===h(u(e),0,7)&&(e="["+d(u(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||o&&t.name!==e)&&(i?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?i&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=c(t);return n(a,"source")||(a.source=p(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=m((function(){return r(this)&&l(this).source||a(this)}),"toString"),Xe.exports}function er(){if(Ge)return $e;Ge=1;var t=_t(),e=Re(),r=tr(),n=le();return $e=function(i,o,a,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:o;if(t(a)&&r(a,l,s),s.global)c?i[o]=a:n(o,a);else{try{s.unsafe?i[o]&&(c=!0):delete i[o]}catch(t){}c?i[o]=a:e.f(i,o,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return i}}var rr,nr,ir,or,ar,sr,cr,lr,ur,fr,hr,dr,pr,vr,gr,mr,br,yr={};function wr(){if(or)return ir;or=1;var t=function(){if(nr)return rr;nr=1;var t=Math.ceil,e=Math.floor;return rr=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return ir=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function Sr(){if(sr)return ar;sr=1;var t=wr(),e=Math.max,r=Math.min;return ar=function(n,i){var o=t(n);return o<0?e(o+i,0):r(o,i)}}function xr(){if(lr)return cr;lr=1;var t=wr(),e=Math.min;return cr=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function kr(){if(fr)return ur;fr=1;var t=xr();return ur=function(e){return t(e.length)}}function Tr(){if(dr)return hr;dr=1;var t=Et(),e=Sr(),r=kr(),n=function(n){return function(i,o,a){var s=t(i),c=r(s);if(0===c)return!n&&-1;var l,u=e(a,c);if(n&&o!=o){for(;c>u;)if((l=s[u++])!=l)return!0}else for(;c>u;u++)if((n||u in s)&&s[u]===o)return n||u||0;return!n&&-1}};return hr={includes:n(!0),indexOf:n(!1)}}function Ar(){if(vr)return pr;vr=1;var t=St(),e=de(),r=Et(),n=Tr().indexOf,i=Ze(),o=t([].push);return pr=function(t,a){var s,c=r(t),l=0,u=[];for(s in c)!e(i,s)&&e(c,s)&&o(u,s);for(;a.length>l;)e(c,s=a[l++])&&(~n(u,s)||o(u,s));return u}}function Er(){return mr?gr:(mr=1,gr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var _r,Or,Nr,Cr,Rr,Pr,Lr,Ir,Fr,jr,Dr,Mr,Br,Wr,Ur,Hr,zr,Vr,qr,$r,Gr,Xr,Yr,Kr,Jr,Zr,Qr,tn,en={};function rn(){return _r||(_r=1,en.f=Object.getOwnPropertySymbols),en}function nn(){if(Nr)return Or;Nr=1;var t=Nt(),e=St(),r=function(){if(br)return yr;br=1;var t=Ar(),e=Er().concat("length","prototype");return yr.f=Object.getOwnPropertyNames||function(r){return t(r,e)},yr}(),n=rn(),i=Ce(),o=e([].concat);return Or=t("Reflect","ownKeys")||function(t){var e=r.f(i(t)),a=n.f;return a?o(e,a(t)):e}}function on(){if(Rr)return Cr;Rr=1;var t=de(),e=nn(),r=we(),n=Re();return Cr=function(i,o,a){for(var s=e(o),c=n.f,l=r.f,u=0;u<s.length;u++){var f=s[u];t(i,f)||a&&t(a,f)||c(i,f,l(o,f))}}}function an(){if(Fr)return Ir;Fr=1;var t=m(),e=we().f,r=Pe(),n=er(),i=le(),o=on(),a=function(){if(Lr)return Pr;Lr=1;var t=_(),e=_t(),r=/#|\.prototype\./,n=function(r,n){var c=o[i(r)];return c===s||c!==a&&(e(n)?t(n):!!n)},i=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},o=n.data={},a=n.NATIVE="N",s=n.POLYFILL="P";return Pr=n}();return Ir=function(s,c){var l,u,f,h,d,p=s.target,v=s.global,g=s.stat;if(l=v?t:g?t[p]||i(p,{}):t[p]&&t[p].prototype)for(u in c){if(h=c[u],f=s.dontCallGetSet?(d=e(l,u))&&d.value:l[u],!a(v?u:p+(g?".":"#")+u,s.forced)&&void 0!==f){if(typeof h==typeof f)continue;o(h,f)}(s.sham||f&&f.sham)&&r(h,"sham",!0),n(l,u,h,s)}}}function sn(){if(Dr)return jr;Dr=1;var t=xt();return jr=Array.isArray||function(e){return"Array"===t(e)}}function cn(){if(Br)return Mr;Br=1;var t=TypeError;return Mr=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}function ln(){if(Ur)return Wr;Ur=1;var t=O(),e=Re(),r=wt();return Wr=function(n,i,o){t?e.f(n,i,r(0,o)):n[i]=o}}function un(){if(zr)return Hr;zr=1;var t={};return t[ve()("toStringTag")]="z",Hr="[object z]"===String(t)}function fn(){if(qr)return Vr;qr=1;var t=un(),e=_t(),r=xt(),n=ve()("toStringTag"),i=Object,o="Arguments"===r(function(){return arguments}());return Vr=t?r:function(t){var a,s,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(s=function(t,e){try{return t[e]}catch(t){}}(a=i(t),n))?s:o?r(a):"Object"===(c=r(a))&&e(a.callee)?"Arguments":c}}function hn(){if(Gr)return $r;Gr=1;var t=St(),e=_(),r=_t(),n=fn(),i=Nt(),o=Ke(),a=function(){},s=i("Reflect","construct"),c=/^\s*(?:class|function)\b/,l=t(c.exec),u=!c.test(a),f=function(t){if(!r(t))return!1;try{return s(a,[],t),!0}catch(t){return!1}},h=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return u||!!l(c,o(t))}catch(t){return!0}};return h.sham=!0,$r=!s||e((function(){var t;return f(f.call)||!f(Object)||!f((function(){t=!0}))||t}))?h:f}function dn(){if(Yr)return Xr;Yr=1;var t=sn(),e=hn(),r=Ot(),n=ve()("species"),i=Array;return Xr=function(o){var a;return t(o)&&(a=o.constructor,(e(a)&&(a===i||t(a.prototype))||r(a)&&null===(a=a[n]))&&(a=void 0)),void 0===a?i:a}}function pn(){if(Jr)return Kr;Jr=1;var t=dn();return Kr=function(e,r){return new(t(e))(0===r?0:r)}}function vn(){if(Qr)return Zr;Qr=1;var t=_(),e=ve(),r=Ct(),n=e("species");return Zr=function(e){return r>=51||!t((function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}}!function(){if(tn)return g;tn=1;var t=an(),e=_(),r=sn(),n=Ot(),i=he(),o=kr(),a=cn(),s=ln(),c=pn(),l=vn(),u=ve(),f=Ct(),h=u("isConcatSpreadable"),d=f>=51||!e((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),p=function(t){if(!n(t))return!1;var e=t[h];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!d||!l("concat")},{concat:function(t){var e,r,n,l,u,f=i(this),h=c(f,0),d=0;for(e=-1,n=arguments.length;e<n;e++)if(p(u=-1===e?f:arguments[e]))for(l=o(u),a(d+l),r=0;r<l;r++,d++)r in u&&s(h,d,u[r]);else a(d+1),s(h,d++,u);return h.length=d,h}})}();var gn,mn,bn,yn,wn,Sn,xn,kn={};function Tn(){if(mn)return gn;mn=1;var t=xt(),e=St();return gn=function(r){if("Function"===t(r))return e(r)}}function An(){if(Sn)return wn;Sn=1;var t=function(){if(yn)return bn;yn=1;var t=Tn(),e=Ft(),r=N(),n=t(t.bind);return bn=function(t,i){return e(t),void 0===i?t:r?n(t,i):function(){return t.apply(i,arguments)}},bn}(),e=St(),r=kt(),n=he(),i=kr(),o=pn(),a=e([].push),s=function(e){var s=1===e,c=2===e,l=3===e,u=4===e,f=6===e,h=7===e,d=5===e||f;return function(p,v,g,m){for(var b,y,w=n(p),S=r(w),x=i(S),k=t(v,g),T=0,A=m||o,E=s?A(p,x):c||h?A(p,0):void 0;x>T;T++)if((d||T in S)&&(y=k(b=S[T],T,w),e))if(s)E[T]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return T;case 2:a(E,b)}else switch(e){case 4:return!1;case 7:a(E,b)}return f?-1:l||u?u:E}};return wn={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}}!function(){if(xn)return kn;xn=1;var t=an(),e=An().filter;t({target:"Array",proto:!0,forced:!vn()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var En,_n,On,Nn,Cn,Rn,Pn,Ln,In,Fn,jn={},Dn={};function Mn(){if(_n)return En;_n=1;var t=Ar(),e=Er();return En=Object.keys||function(r){return t(r,e)}}function Bn(){if(Cn)return Nn;Cn=1;var t=Nt();return Nn=t("document","documentElement")}function Wn(){if(Pn)return Rn;Pn=1;var t,e=Ce(),r=function(){if(On)return Dn;On=1;var t=O(),e=Ne(),r=Re(),n=Ce(),i=Et(),o=Mn();return Dn.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var a,s=i(e),c=o(e),l=c.length,u=0;l>u;)r.f(t,a=c[u++],s[a]);return t},Dn}(),n=Er(),i=Ze(),o=Bn(),a=be(),s=Je(),c="prototype",l="script",u=s("IE_PROTO"),f=function(){},h=function(t){return"<"+l+">"+t+"</"+l+">"},d=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,i;p="undefined"!=typeof document?document.domain&&t?d(t):(r=a("iframe"),i="java"+l+":",r.style.display="none",o.appendChild(r),r.src=String(i),(e=r.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):d(t);for(var s=n.length;s--;)delete p[c][n[s]];return p()};return i[u]=!0,Rn=Object.create||function(t,n){var i;return null!==t?(f[c]=e(t),i=new f,f[c]=null,i[u]=t):i=p(),void 0===n?i:r.f(i,n)}}function Un(){if(In)return Ln;In=1;var t=ve(),e=Wn(),r=Re().f,n=t("unscopables"),i=Array.prototype;return void 0===i[n]&&r(i,n,{configurable:!0,value:e(null)}),Ln=function(t){i[n][t]=!0}}!function(){if(Fn)return jn;Fn=1;var t=an(),e=An().find,r=Un(),n="find",i=!0;n in[]&&Array(1)[n]((function(){i=!1})),t({target:"Array",proto:!0,forced:i},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)}();var Hn,zn={};!function(){if(Hn)return zn;Hn=1;var t=an(),e=Tr().includes,r=_(),n=Un();t({target:"Array",proto:!0,forced:r((function(){return!Array(1).includes()}))},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")}();var Vn,qn,$n,Gn={};function Xn(){if(qn)return Vn;qn=1;var t=_();return Vn=function(e,r){var n=[][e];return!!n&&t((function(){n.call(null,r||function(){return 1},1)}))}}!function(){if($n)return Gn;$n=1;var t=an(),e=Tn(),r=Tr().indexOf,n=Xn(),i=e([].indexOf),o=!!i&&1/i([1],1,-0)<0;t({target:"Array",proto:!0,forced:o||!n("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return o?i(this,t,e)||0:r(this,t,e)}})}();var Yn,Kn={};!function(){if(Yn)return Kn;Yn=1;var t=an(),e=St(),r=kt(),n=Et(),i=Xn(),o=e([].join);t({target:"Array",proto:!0,forced:r!==Object||!i("join",",")},{join:function(t){return o(n(this),void 0===t?",":t)}})}();var Jn,Zn,Qn,ti={};!function(){if(Qn)return ti;Qn=1;var t=an(),e=function(){if(Zn)return Jn;Zn=1;var t=O(),e=St(),r=C(),n=_(),i=Mn(),o=rn(),a=yt(),s=he(),c=kt(),l=Object.assign,u=Object.defineProperty,f=e([].concat);return Jn=!l||n((function(){if(t&&1!==l({b:1},l(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(t){r[t]=t})),7!==l({},e)[n]||i(l({},r)).join("")!==o}))?function(e,n){for(var l=s(e),u=arguments.length,h=1,d=o.f,p=a.f;u>h;)for(var v,g=c(arguments[h++]),m=d?f(i(g),d(g)):i(g),b=m.length,y=0;b>y;)v=m[y++],t&&!r(p,g,v)||(l[v]=g[v]);return l}:l,Jn}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var ei,ri,ni,ii,oi,ai,si,ci={};function li(){if(ii)return ni;ii=1;var t=de(),e=_t(),r=he(),n=Je(),i=function(){if(ri)return ei;ri=1;var t=_();return ei=!t((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))}(),o=n("IE_PROTO"),a=Object,s=a.prototype;return ni=i?a.getPrototypeOf:function(n){var i=r(n);if(t(i,o))return i[o];var c=i.constructor;return e(c)&&i instanceof c?c.prototype:i instanceof a?s:null}}!function(){if(si)return ci;si=1;var t=an(),e=function(){if(ai)return oi;ai=1;var t=O(),e=_(),r=St(),n=li(),i=Mn(),o=Et(),a=r(yt().f),s=r([].push),c=t&&e((function(){var t=Object.create(null);return t[2]=2,!a(t,2)})),l=function(e){return function(r){for(var l,u=o(r),f=i(u),h=c&&null===n(u),d=f.length,p=0,v=[];d>p;)l=f[p++],t&&!(h?l in u:a(u,l))||s(v,e?[l,u[l]]:u[l]);return v}};return oi={entries:l(!0),values:l(!1)}}().entries;t({target:"Object",stat:!0},{entries:function(t){return e(t)}})}();var ui,fi,hi,di={};!function(){if(hi)return di;hi=1;var t=un(),e=er(),r=function(){if(fi)return ui;fi=1;var t=un(),e=fn();return ui=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var pi,vi,gi,mi,bi,yi,wi,Si,xi,ki,Ti,Ai,Ei,_i={};function Oi(){if(vi)return pi;vi=1;var t=fn(),e=String;return pi=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}function Ni(){if(mi)return gi;mi=1;var t=Ce();return gi=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}function Ci(){if(Ai)return Ti;Ai=1;var t,e,r=C(),n=St(),i=Oi(),o=Ni(),a=function(){if(yi)return bi;yi=1;var t=_(),e=m().RegExp,r=t((function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),n=r||t((function(){return!e("a","y").sticky})),i=r||t((function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));return bi={BROKEN_CARET:i,MISSED_STICKY:n,UNSUPPORTED_Y:r}}(),s=fe(),c=Wn(),l=Qe().get,u=function(){if(Si)return wi;Si=1;var t=_(),e=m().RegExp;return wi=t((function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))}(),f=function(){if(ki)return xi;ki=1;var t=_(),e=m().RegExp;return xi=t((function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))}(),h=s("native-string-replace",String.prototype.replace),d=RegExp.prototype.exec,p=d,v=n("".charAt),g=n("".indexOf),b=n("".replace),y=n("".slice),w=(e=/b*/g,r(d,t=/a/,"a"),r(d,e,"a"),0!==t.lastIndex||0!==e.lastIndex),S=a.BROKEN_CARET,x=void 0!==/()??/.exec("")[1];return(w||x||S||u||f)&&(p=function(t){var e,n,a,s,u,f,m,k=this,T=l(k),A=i(t),E=T.raw;if(E)return E.lastIndex=k.lastIndex,e=r(p,E,A),k.lastIndex=E.lastIndex,e;var _=T.groups,O=S&&k.sticky,N=r(o,k),C=k.source,R=0,P=A;if(O&&(N=b(N,"y",""),-1===g(N,"g")&&(N+="g"),P=y(A,k.lastIndex),k.lastIndex>0&&(!k.multiline||k.multiline&&"\n"!==v(A,k.lastIndex-1))&&(C="(?: "+C+")",P=" "+P,R++),n=new RegExp("^(?:"+C+")",N)),x&&(n=new RegExp("^"+C+"$(?!\\s)",N)),w&&(a=k.lastIndex),s=r(d,O?n:k,P),O?s?(s.input=y(s.input,R),s[0]=y(s[0],R),s.index=k.lastIndex,k.lastIndex+=s[0].length):k.lastIndex=0:w&&s&&(k.lastIndex=k.global?s.index+s[0].length:a),x&&s&&s.length>1&&r(h,s[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(s[u]=void 0)})),s&&_)for(s.groups=f=c(null),u=0;u<_.length;u++)f[(m=_[u])[0]]=s[m[1]];return s}),Ti=p}function Ri(){if(Ei)return _i;Ei=1;var t=an(),e=Ci();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),_i}Ri();var Pi,Li,Ii,Fi,ji,Di,Mi,Bi={};function Wi(){if(Fi)return Ii;Fi=1;var t=function(){if(Li)return Pi;Li=1;var t=Ot(),e=xt(),r=ve()("match");return Pi=function(n){var i;return t(n)&&(void 0!==(i=n[r])?!!i:"RegExp"===e(n))}}(),e=TypeError;return Ii=function(r){if(t(r))throw new e("The method doesn't accept regular expressions");return r}}!function(){if(Mi)return Bi;Mi=1;var t=an(),e=St(),r=Wi(),n=At(),i=Oi(),o=function(){if(Di)return ji;Di=1;var t=ve()("match");return ji=function(e){var r=/./;try{"/./"[e](r)}catch(n){try{return r[t]=!1,"/./"[e](r)}catch(t){}}return!1}}(),a=e("".indexOf);t({target:"String",proto:!0,forced:!o("includes")},{includes:function(t){return!!~a(i(n(this)),i(r(t)),arguments.length>1?arguments[1]:void 0)}})}();var Ui,Hi,zi,Vi,qi,$i,Gi,Xi={};function Yi(){return Vi?zi:(Vi=1,zi=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e})}!function(){if(Gi)return Xi;Gi=1;var t=C(),e=function(){if(Hi)return Ui;Hi=1,Ri();var t=C(),e=er(),r=Ci(),n=_(),i=ve(),o=Pe(),a=i("species"),s=RegExp.prototype;return Ui=function(c,l,u,f){var h=i(c),d=!n((function(){var t={};return t[h]=function(){return 7},7!==""[c](t)})),p=d&&!n((function(){var t=!1,e=/a/;return"split"===c&&((e={}).constructor={},e.constructor[a]=function(){return e},e.flags="",e[h]=/./[h]),e.exec=function(){return t=!0,null},e[h](""),!t}));if(!d||!p||u){var v=/./[h],g=l(h,""[c],(function(e,n,i,o,a){var c=n.exec;return c===r||c===s.exec?d&&!a?{done:!0,value:t(v,n,i,o)}:{done:!0,value:t(e,i,n,o)}:{done:!1}}));e(String.prototype,c,g[0]),e(s,h,g[1])}f&&o(s[h],"sham",!0)}}(),r=Ce(),n=Tt(),i=At(),o=Yi(),a=Oi(),s=jt(),c=function(){if($i)return qi;$i=1;var t=C(),e=Ce(),r=_t(),n=xt(),i=Ci(),o=TypeError;return qi=function(a,s){var c=a.exec;if(r(c)){var l=t(c,a,s);return null!==l&&e(l),l}if("RegExp"===n(a))return t(i,a,s);throw new o("RegExp#exec called on incompatible receiver")}}();e("search",(function(e,l,u){return[function(r){var o=i(this),c=n(r)?void 0:s(r,e);return c?t(c,r,o):new RegExp(r)[e](a(o))},function(t){var e=r(this),n=a(t),i=u(l,e,n);if(i.done)return i.value;var s=e.lastIndex;o(s,0)||(e.lastIndex=0);var f=c(e,n);return o(e.lastIndex,s)||(e.lastIndex=s),null===f?-1:f.index}]}))}();var Ki,Ji,Zi,Qi,to,eo,ro,no={};function io(){return Ji?Ki:(Ji=1,Ki="\t\n\v\f\r \u2028\u2029\ufeff")}!function(){if(ro)return no;ro=1;var t=an(),e=function(){if(Qi)return Zi;Qi=1;var t=St(),e=At(),r=Oi(),n=io(),i=t("".replace),o=RegExp("^["+n+"]+"),a=RegExp("(^|[^"+n+"])["+n+"]+$"),s=function(t){return function(n){var s=r(e(n));return 1&t&&(s=i(s,o,"")),2&t&&(s=i(s,a,"$1")),s}};return Zi={start:s(1),end:s(2),trim:s(3)}}().trim,r=function(){if(eo)return to;eo=1;var t=Ye().PROPER,e=_(),r=io();return to=function(n){return e((function(){return!!r[n]()||"
"!=="
"[n]()||t&&r[n].name!==n}))}}();t({target:"String",proto:!0,forced:r("trim")},{trim:function(){return e(this)}})}();var oo=t.fn.bootstrapTable.utils,ao={bootstrap3:{icons:{advancedSearchIcon:"glyphicon-chevron-down"},classes:{},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">\n <div class="modal-dialog modal-xs">\n <div class="modal-content">\n <div class="modal-header">\n <button class="close toolbar-modal-close" data-dismiss="modal" aria-label="Close">\n <span aria-hidden="true">×</span>\n </button>\n <h4 class="modal-title toolbar-modal-title"></h4>\n </div>\n <div class="modal-body toolbar-modal-body"></div>\n <div class="modal-footer toolbar-modal-footer">\n <button class="btn btn-%s toolbar-modal-close"></button>\n </div>\n </div>\n </div>\n </div>\n '}},bootstrap4:{icons:{advancedSearchIcon:"fa-chevron-down"},classes:{},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">\n <div class="modal-dialog modal-xs">\n <div class="modal-content">\n <div class="modal-header">\n <h4 class="modal-title toolbar-modal-title"></h4>\n <button class="close toolbar-modal-close" data-dismiss="modal" aria-label="Close">\n <span aria-hidden="true">×</span>\n </button>\n </div>\n <div class="modal-body toolbar-modal-body"></div>\n <div class="modal-footer toolbar-modal-footer">\n <button class="btn btn-%s toolbar-modal-close"></button>\n </div>\n </div>\n </div>\n </div>\n '}},bootstrap5:{icons:{advancedSearchIcon:"bi-chevron-down"},classes:{formGroup:"mb-3"},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" aria-hidden="true">\n <div class="modal-dialog modal-xs">\n <div class="modal-content">\n <div class="modal-header">\n <h5 class="modal-title toolbar-modal-title"></h5>\n <button class="btn-close toolbar-modal-close" data-bs-dismiss="modal" aria-label="Close"></button>\n </div>\n <div class="modal-body toolbar-modal-body"></div>\n <div class="modal-footer toolbar-modal-footer">\n <button class="btn btn-%s toolbar-modal-close"></button>\n </div>\n </div>\n </div>\n </div>\n '}},bulma:{icons:{advancedSearchIcon:"fa-chevron-down"},classes:{},html:{modal:'\n <div class="modal" id="avdSearchModal_%s">\n <div class="modal-background"></div>\n <div class="modal-card">\n <header class="modal-card-head">\n <p class="modal-card-title toolbar-modal-title"></p>\n <button class="delete toolbar-modal-close"></button>\n </header>\n <section class="modal-card-body toolbar-modal-body"></section>\n <footer class="modal-card-foot toolbar-modal-footer">\n <button class="button button-%s toolbar-modal-close"></button>\n </footer>\n </div>\n </div>\n '}},foundation:{icons:{advancedSearchIcon:"fa-chevron-down"},classes:{},html:{modal:'\n <div class="reveal" id="avdSearchModal_%s" data-reveal>\n <h1 class="toolbar-modal-title"></h1>\n <div class="toolbar-modal-body"></div>\n <button class="close-button toolbar-modal-close" data-close aria-label="Close modal">\n <span aria-hidden="true">×</span>\n </button>\n <div class="toolbar-modal-footer">\n <button class="button button-%s toolbar-modal-close"></button>\n </div>\n </div>\n '}},materialize:{icons:{advancedSearchIcon:"expand_more"},classes:{},html:{modal:'\n <div id="avdSearchModal_%s" class="modal">\n <div class="modal-content">\n <h4 class="toolbar-modal-title"></h4>\n <div class="toolbar-modal-body"></div>\n </div>\n <div class="modal-footer toolbar-modal-footer">\n <a href="javascript:void(0)" class="modal-close waves-effect waves-green btn-flat btn-%s toolbar-modal-close"></a>\n </div>\n </div>\n '}},semantic:{icons:{advancedSearchIcon:"fa-chevron-down"},classes:{},html:{modal:'\n <div class="ui modal" id="avdSearchModal_%s">\n <i class="close icon toolbar-modal-close"></i>\n <div class="header toolbar-modal-title""></div>\n <div class="image content ui form toolbar-modal-body"></div>\n <div class="actions toolbar-modal-footer">\n <div class="ui black deny button button-%s toolbar-modal-close"></div>\n </div>\n </div>\n '}}}[t.fn.bootstrapTable.theme];Object.assign(t.fn.bootstrapTable.defaults,{advancedSearch:!1,idForm:"advancedSearch",actionForm:"",idTable:void 0,onColumnAdvancedSearch:function(t,e){return!1}}),Object.assign(t.fn.bootstrapTable.defaults.icons,{advancedSearchIcon:ao.icons.advancedSearchIcon}),Object.assign(t.fn.bootstrapTable.events,{"column-advanced-search.bs.table":"onColumnAdvancedSearch"}),Object.assign(t.fn.bootstrapTable.locales,{formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"}}),Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales),t.BootstrapTable=function(e){function i(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r(this,i,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(i,e),n(i,[{key:"initToolbar",value:function(){this.showToolbar=this.showToolbar||this.options.search&&this.options.advancedSearch&&this.options.idTable,this.showToolbar&&(this.buttons=Object.assign(this.buttons,{advancedSearch:{text:this.options.formatAdvancedSearch(),icon:this.options.icons.advancedSearchIcon,event:this.showAdvancedSearch,attributes:{"aria-label":this.options.formatAdvancedSearch(),title:this.options.formatAdvancedSearch()}}}),oo.isEmptyObject(this.filterColumnsPartial)&&(this.filterColumnsPartial={})),l(i,"initToolbar",this)([])}},{key:"showAdvancedSearch",value:function(){var e=this;this.$toolbarModal=t("#avdSearchModal_".concat(this.options.idTable)),this.$toolbarModal.length<=0&&(t("body").append(oo.sprintf(ao.html.modal,this.options.idTable,this.options.buttonsClass)),this.$toolbarModal=t("#avdSearchModal_".concat(this.options.idTable)),this.$toolbarModal.find(".toolbar-modal-close").off("click").on("click",(function(){return e.hideToolbarModal()}))),this.initToolbarModalBody(),this.showToolbarModal()}},{key:"initToolbarModalBody",value:function(){var t=this;this.$toolbarModal.find(".toolbar-modal-title").html(this.options.formatAdvancedSearch()),this.$toolbarModal.find(".toolbar-modal-footer .toolbar-modal-close").html(this.options.formatAdvancedCloseButton()),this.$toolbarModal.find(".toolbar-modal-body").html(this.createToolbarForm()).off("keyup blur","input").on("keyup blur","input",(function(e){t.onColumnAdvancedSearch(e)}))}},{key:"showToolbarModal",value:function(){var e=t.fn.bootstrapTable.theme;["bootstrap3","bootstrap4"].includes(e)?this.$toolbarModal.modal():"bootstrap5"===e?(this.toolbarModal||(this.toolbarModal=new window.bootstrap.Modal(this.$toolbarModal[0],{})),this.toolbarModal.show()):"bulma"===e?this.$toolbarModal.toggleClass("is-active"):"foundation"===e?(this.toolbarModal||(this.toolbarModal=new window.Foundation.Reveal(this.$toolbarModal)),this.toolbarModal.open()):"materialize"===e?this.$toolbarModal.modal().modal("open"):"semantic"===e&&this.$toolbarModal.modal("show")}},{key:"hideToolbarModal",value:function(){var e=t.fn.bootstrapTable.theme;["bootstrap3","bootstrap4"].includes(e)?this.$toolbarModal.modal("hide"):"bootstrap5"===e?this.toolbarModal.hide():"bulma"===e?(t("html").toggleClass("is-clipped"),this.$toolbarModal.toggleClass("is-active")):"foundation"===e?this.toolbarModal.close():"materialize"===e?this.$toolbarModal.modal("open"):"semantic"===e&&this.$toolbarModal.modal("close"),"server"===this.options.sidePagination&&(this.options.pageNumber=1,this.updatePagination(),this.trigger("column-advanced-search",this.filterColumnsPartial))}},{key:"createToolbarForm",value:function(){var e,r=['<form class="form-horizontal toolbar-model-form" action="'.concat(this.options.actionForm,'">')],n=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=h(t))||e){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}(this.columns);try{for(n.s();!(e=n.n()).done;){var i=e.value;if(!i.checkbox&&i.visible&&i.searchable){var o=t("<div/>").html(i.title).text().trim(),a=this.filterColumnsPartial[i.field]||"";r.push('\n <div class="form-group row '.concat(ao.classes.formGroup||"",'">\n <label class="col-sm-4 control-label">').concat(o,'</label>\n <div class="col-sm-6">\n <input type="text" class="form-control ').concat(this.constants.classes.input,'"\n name="').concat(i.field,'" placeholder="').concat(o,'" value="').concat(a,'">\n </div>\n </div>\n '))}}}catch(t){n.e(t)}finally{n.f()}return r.push("</form>"),r.join("")}},{key:"initSearch",value:function(){var e=this;if(l(i,"initSearch",this)([]),this.options.advancedSearch&&"server"!==this.options.sidePagination){var r=oo.isEmptyObject(this.filterColumnsPartial)?null:this.filterColumnsPartial;this.data=r?this.data.filter((function(n,i){for(var o=0,a=Object.entries(r);o<a.length;o++){var s=c(a[o],2),l=s[0],u=s[1].toLowerCase(),f=n[l],h=e.header.fields.indexOf(l);if(f=oo.calculateObjectValue(e.header,e.header.formatters[h],[f,n,i],f),e.header.formatters[h]&&(f=t("<div>").html(f).text()),-1===h||"string"!=typeof f&&"number"!=typeof f||!"".concat(f).toLowerCase().includes(u))return!1}return!0})):this.data,this.unsortedData=u(this.data)}}},{key:"onColumnAdvancedSearch",value:function(e){var r=t(e.currentTarget).val().trim(),n=t(e.currentTarget).attr("name");r?this.filterColumnsPartial[n]=r:delete this.filterColumnsPartial[n],"server"!==this.options.sidePagination&&(this.options.pageNumber=1,this.initSearch(),this.updatePagination(),this.trigger("column-advanced-search",n,r))}}])}(t.BootstrapTable)}));
|