snipe-it/public/js/dist/bootstrap-table.js
snipe f4ef828332 Fixex js table export
Signed-off-by: snipe <[email protected]>
2021-12-24 11:17:36 -08:00

2 lines
1.1 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).BootstrapTable=t(e.jQuery)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||c(e,t)||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(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||c(e)||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 c(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=c(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},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 a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}var h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function d(e,t){return e(t={exports:{}},t.exports),t.exports}var p=function(e){return e&&e.Math==Math&&e},g=p("object"==typeof globalThis&&globalThis)||p("object"==typeof window&&window)||p("object"==typeof self&&self)||p("object"==typeof h&&h)||function(){return this}()||Function("return this")(),m=function(e){try{return!!e()}catch(e){return!0}},v=!m((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),b={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,w=y&&!b.call({1:2},1)?function(e){var t=y(this,e);return!!t&&t.enumerable}:b,S={f:w},x=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},E={}.toString,_=function(e){return E.call(e).slice(8,-1)},A="".split,C=m((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==_(e)?A.call(e,""):Object(e)}:Object,k=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},T=function(e){return C(k(e))},R=function(e){return"object"==typeof e?null!==e:"function"==typeof e},N=function(e,t){if(!R(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!R(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!R(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!R(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},I={}.hasOwnProperty,B=function(e,t){return I.call(e,t)},O=g.document,P=R(O)&&R(O.createElement),L=function(e){return P?O.createElement(e):{}},F=!v&&!m((function(){return 7!=Object.defineProperty(L("div"),"a",{get:function(){return 7}}).a})),D=Object.getOwnPropertyDescriptor,M={f:v?D:function(e,t){if(e=T(e),t=N(t,!0),F)try{return D(e,t)}catch(e){}if(B(e,t))return x(!S.f.call(e,t),e[t])}},j=function(e){if(!R(e))throw TypeError(String(e)+" is not an object");return e},W=Object.defineProperty,U={f:v?W:function(e,t,n){if(j(e),t=N(t,!0),j(n),F)try{return W(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},z=v?function(e,t,n){return U.f(e,t,x(1,n))}:function(e,t,n){return e[t]=n,e},H=function(e,t){try{z(g,e,t)}catch(n){g[e]=t}return t},V="__core-js_shared__",q=g[V]||H(V,{}),G=Function.toString;"function"!=typeof q.inspectSource&&(q.inspectSource=function(e){return G.call(e)});var X,$,Y,K=q.inspectSource,J=g.WeakMap,Z="function"==typeof J&&/native code/.test(K(J)),Q=d((function(e){(e.exports=function(e,t){return q[e]||(q[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.10.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),ee=0,te=Math.random(),ne=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++ee+te).toString(36)},re=Q("keys"),ie=function(e){return re[e]||(re[e]=ne(e))},ae={},oe=g.WeakMap;if(Z){var se=q.state||(q.state=new oe),le=se.get,ce=se.has,ue=se.set;X=function(e,t){return t.facade=e,ue.call(se,e,t),t},$=function(e){return le.call(se,e)||{}},Y=function(e){return ce.call(se,e)}}else{var fe=ie("state");ae[fe]=!0,X=function(e,t){return t.facade=e,z(e,fe,t),t},$=function(e){return B(e,fe)?e[fe]:{}},Y=function(e){return B(e,fe)}}var he={set:X,get:$,has:Y,enforce:function(e){return Y(e)?$(e):X(e,{})},getterFor:function(e){return function(t){var n;if(!R(t)||(n=$(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},de=d((function(e){var t=he.get,n=he.enforce,r=String(String).split("String");(e.exports=function(e,t,i,a){var o,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof t||B(i,"name")||z(i,"name",t),(o=n(i)).source||(o.source=r.join("string"==typeof t?t:""))),e!==g?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=i:z(e,t,i)):l?e[t]=i:H(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||K(this)}))})),pe=g,ge=function(e){return"function"==typeof e?e:void 0},me=function(e,t){return arguments.length<2?ge(pe[e])||ge(g[e]):pe[e]&&pe[e][t]||g[e]&&g[e][t]},ve=Math.ceil,be=Math.floor,ye=function(e){return isNaN(e=+e)?0:(e>0?be:ve)(e)},we=Math.min,Se=function(e){return e>0?we(ye(e),9007199254740991):0},xe=Math.max,Ee=Math.min,_e=function(e,t){var n=ye(e);return n<0?xe(n+t,0):Ee(n,t)},Ae=function(e){return function(t,n,r){var i,a=T(t),o=Se(a.length),s=_e(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},Ce={includes:Ae(!0),indexOf:Ae(!1)},ke=Ce.indexOf,Te=function(e,t){var n,r=T(e),i=0,a=[];for(n in r)!B(ae,n)&&B(r,n)&&a.push(n);for(;t.length>i;)B(r,n=t[i++])&&(~ke(a,n)||a.push(n));return a},Re=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ne=Re.concat("length","prototype"),Ie={f:Object.getOwnPropertyNames||function(e){return Te(e,Ne)}},Be={f:Object.getOwnPropertySymbols},Oe=me("Reflect","ownKeys")||function(e){var t=Ie.f(j(e)),n=Be.f;return n?t.concat(n(e)):t},Pe=function(e,t){for(var n=Oe(t),r=U.f,i=M.f,a=0;a<n.length;a++){var o=n[a];B(e,o)||r(e,o,i(t,o))}},Le=/#|\.prototype\./,Fe=function(e,t){var n=Me[De(e)];return n==We||n!=je&&("function"==typeof t?m(t):!!t)},De=Fe.normalize=function(e){return String(e).replace(Le,".").toLowerCase()},Me=Fe.data={},je=Fe.NATIVE="N",We=Fe.POLYFILL="P",Ue=Fe,ze=M.f,He=function(e,t){var n,r,i,a,o,s=e.target,l=e.global,c=e.stat;if(n=l?g:c?g[s]||H(s,{}):(g[s]||{}).prototype)for(r in t){if(a=t[r],i=e.noTargetGet?(o=ze(n,r))&&o.value:n[r],!Ue(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof a==typeof i)continue;Pe(a,i)}(e.sham||i&&i.sham)&&z(a,"sham",!0),de(n,r,a,e)}},Ve="\t\n\v\f\r    \u2028\u2029\ufeff",qe="["+Ve+"]",Ge=RegExp("^"+qe+qe+"*"),Xe=RegExp(qe+qe+"*$"),$e=function(e){return function(t){var n=String(k(t));return 1&e&&(n=n.replace(Ge,"")),2&e&&(n=n.replace(Xe,"")),n}},Ye={start:$e(1),end:$e(2),trim:$e(3)},Ke=Ye.trim;He({target:"String",proto:!0,forced:function(e){return m((function(){return!!Ve[e]()||"…"!="…"[e]()||Ve[e].name!==e}))}("trim")},{trim:function(){return Ke(this)}});var Je=function(e,t){var n=[][e];return!!n&&m((function(){n.call(null,t||function(){throw 1},1)}))},Ze=[].join,Qe=C!=Object,et=Je("join",",");He({target:"Array",proto:!0,forced:Qe||!et},{join:function(e){return Ze.call(T(this),void 0===e?",":e)}});var tt=function(){var e=j(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function nt(e,t){return RegExp(e,t)}var rt={UNSUPPORTED_Y:m((function(){var e=nt("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET:m((function(){var e=nt("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},it=RegExp.prototype.exec,at=Q("native-string-replace",String.prototype.replace),ot=it,st=function(){var e=/a/,t=/b*/g;return it.call(e,"a"),it.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),lt=rt.UNSUPPORTED_Y||rt.BROKEN_CARET,ct=void 0!==/()??/.exec("")[1];(st||ct||lt)&&(ot=function(e){var t,n,r,i,a=this,o=lt&&a.sticky,s=tt.call(a),l=a.source,c=0,u=e;return o&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),ct&&(n=new RegExp("^"+l+"$(?!\\s)",s)),st&&(t=a.lastIndex),r=it.call(o?n:a,u),o?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:st&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),ct&&r&&r.length>1&&at.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var ut=ot;He({target:"RegExp",proto:!0,forced:/./.exec!==ut},{exec:ut});var ft,ht,dt="process"==_(g.process),pt=me("navigator","userAgent")||"",gt=g.process,mt=gt&&gt.versions,vt=mt&&mt.v8;vt?ht=(ft=vt.split("."))[0]+ft[1]:pt&&(!(ft=pt.match(/Edge\/(\d+)/))||ft[1]>=74)&&(ft=pt.match(/Chrome\/(\d+)/))&&(ht=ft[1]);var bt=ht&&+ht,yt=!!Object.getOwnPropertySymbols&&!m((function(){return!Symbol.sham&&(dt?38===bt:bt>37&&bt<41)})),wt=yt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,St=Q("wks"),xt=g.Symbol,Et=wt?xt:xt&&xt.withoutSetter||ne,_t=function(e){return B(St,e)&&(yt||"string"==typeof St[e])||(yt&&B(xt,e)?St[e]=xt[e]:St[e]=Et("Symbol."+e)),St[e]},At=_t("species"),Ct=!m((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),kt="$0"==="a".replace(/./,"$0"),Tt=_t("replace"),Rt=!!/./[Tt]&&""===/./[Tt]("a","$0"),Nt=!m((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),It=function(e,t,n,r){var i=_t(e),a=!m((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),o=a&&!m((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[At]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!a||!o||"replace"===e&&(!Ct||!kt||Rt)||"split"===e&&!Nt){var s=/./[i],l=n(i,""[e],(function(e,t,n,r,i){return t.exec===RegExp.prototype.exec?a&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:kt,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Rt}),c=l[0],u=l[1];de(String.prototype,e,c),de(RegExp.prototype,i,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}r&&z(RegExp.prototype[i],"sham",!0)},Bt=_t("match"),Ot=function(e){var t;return R(e)&&(void 0!==(t=e[Bt])?!!t:"RegExp"==_(e))},Pt=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Lt=_t("species"),Ft=function(e){return function(t,n){var r,i,a=String(k(t)),o=ye(n),s=a.length;return o<0||o>=s?e?"":void 0:(r=a.charCodeAt(o))<55296||r>56319||o+1===s||(i=a.charCodeAt(o+1))<56320||i>57343?e?a.charAt(o):r:e?a.slice(o,o+2):i-56320+(r-55296<<10)+65536}},Dt={codeAt:Ft(!1),charAt:Ft(!0)}.charAt,Mt=function(e,t,n){return t+(n?Dt(e,t).length:1)},jt=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==_(e))throw TypeError("RegExp#exec called on incompatible receiver");return ut.call(e,t)},Wt=rt.UNSUPPORTED_Y,Ut=[].push,zt=Math.min,Ht=4294967295;It("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(k(this)),i=void 0===n?Ht:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!Ot(e))return t.call(r,e,i);for(var a,o,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,f=new RegExp(e.source,c+"g");(a=ut.call(f,r))&&!((o=f.lastIndex)>u&&(l.push(r.slice(u,a.index)),a.length>1&&a.index<r.length&&Ut.apply(l,a.slice(1)),s=a[0].length,u=o,l.length>=i));)f.lastIndex===a.index&&f.lastIndex++;return u===r.length?!s&&f.test("")||l.push(""):l.push(r.slice(u)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=k(this),a=null==t?void 0:t[e];return void 0!==a?a.call(t,i,n):r.call(String(i),t,n)},function(e,i){var a=n(r,e,this,i,r!==t);if(a.done)return a.value;var o=j(e),s=String(this),l=function(e,t){var n,r=j(e).constructor;return void 0===r||null==(n=j(r)[Lt])?t:Pt(n)}(o,RegExp),c=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Wt?"g":"y"),f=new l(Wt?"^(?:"+o.source+")":o,u),h=void 0===i?Ht:i>>>0;if(0===h)return[];if(0===s.length)return null===jt(f,s)?[s]:[];for(var d=0,p=0,g=[];p<s.length;){f.lastIndex=Wt?0:p;var m,v=jt(f,Wt?s.slice(p):s);if(null===v||(m=zt(Se(f.lastIndex+(Wt?p:0)),s.length))===d)p=Mt(s,p,c);else{if(g.push(s.slice(d,p)),g.length===h)return g;for(var b=1;b<=v.length-1;b++)if(g.push(v[b]),g.length===h)return g;p=d=m}}return g.push(s.slice(d)),g}]}),Wt);var Vt=Object.keys||function(e){return Te(e,Re)},qt=S.f,Gt=function(e){return function(t){for(var n,r=T(t),i=Vt(r),a=i.length,o=0,s=[];a>o;)n=i[o++],v&&!qt.call(r,n)||s.push(e?[n,r[n]]:r[n]);return s}},Xt={entries:Gt(!0),values:Gt(!1)}.entries;He({target:"Object",stat:!0},{entries:function(e){return Xt(e)}});var $t,Yt=v?Object.defineProperties:function(e,t){j(e);for(var n,r=Vt(t),i=r.length,a=0;i>a;)U.f(e,n=r[a++],t[n]);return e},Kt=me("document","documentElement"),Jt=ie("IE_PROTO"),Zt=function(){},Qt=function(e){return"<script>"+e+"</"+"script>"},en=function(){try{$t=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;en=$t?function(e){e.write(Qt("")),e.close();var t=e.parentWindow.Object;return e=null,t}($t):((t=L("iframe")).style.display="none",Kt.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Qt("document.F=Object")),e.close(),e.F);for(var n=Re.length;n--;)delete en.prototype[Re[n]];return en()};ae[Jt]=!0;var tn=Object.create||function(e,t){var n;return null!==e?(Zt.prototype=j(e),n=new Zt,Zt.prototype=null,n[Jt]=e):n=en(),void 0===t?n:Yt(n,t)},nn=_t("unscopables"),rn=Array.prototype;null==rn[nn]&&U.f(rn,nn,{configurable:!0,value:tn(null)});var an=function(e){rn[nn][e]=!0},on=Ce.includes;He({target:"Array",proto:!0},{includes:function(e){return on(this,e,arguments.length>1?arguments[1]:void 0)}}),an("includes");var sn=Array.isArray||function(e){return"Array"==_(e)},ln=function(e){return Object(k(e))},cn=function(e,t,n){var r=N(t);r in e?U.f(e,r,x(0,n)):e[r]=n},un=_t("species"),fn=function(e,t){var n;return sn(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!sn(n.prototype)?R(n)&&null===(n=n[un])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},hn=_t("species"),dn=function(e){return bt>=51||!m((function(){var t=[];return(t.constructor={})[hn]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},pn=_t("isConcatSpreadable"),gn=9007199254740991,mn="Maximum allowed index exceeded",vn=bt>=51||!m((function(){var e=[];return e[pn]=!1,e.concat()[0]!==e})),bn=dn("concat"),yn=function(e){if(!R(e))return!1;var t=e[pn];return void 0!==t?!!t:sn(e)};He({target:"Array",proto:!0,forced:!vn||!bn},{concat:function(e){var t,n,r,i,a,o=ln(this),s=fn(o,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(yn(a=-1===t?o:arguments[t])){if(l+(i=Se(a.length))>gn)throw TypeError(mn);for(n=0;n<i;n++,l++)n in a&&cn(s,l,a[n])}else{if(l>=gn)throw TypeError(mn);cn(s,l++,a)}return s.length=l,s}});var wn=[].push,Sn=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,a=6==e,o=7==e,s=5==e||a;return function(l,c,u,f){for(var h,d,p=ln(l),g=C(p),m=function(e,t,n){if(Pt(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}(c,u,3),v=Se(g.length),b=0,y=f||fn,w=t?y(l,v):n||o?y(l,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:wn.call(w,h)}else switch(e){case 4:return!1;case 7:wn.call(w,h)}return a?-1:r||i?i:w}},xn={forEach:Sn(0),map:Sn(1),filter:Sn(2),some:Sn(3),every:Sn(4),find:Sn(5),findIndex:Sn(6),filterOut:Sn(7)},En=xn.find,_n="find",An=!0;_n in[]&&Array(1).find((function(){An=!1})),He({target:"Array",proto:!0,forced:An},{find:function(e){return En(this,e,arguments.length>1?arguments[1]:void 0)}}),an(_n);var Cn=function(e){if(Ot(e))throw TypeError("The method doesn't accept regular expressions");return e},kn=_t("match"),Tn=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[kn]=!1,"/./"[e](t)}catch(e){}}return!1};He({target:"String",proto:!0,forced:!Tn("includes")},{includes:function(e){return!!~String(k(this)).indexOf(Cn(e),arguments.length>1?arguments[1]:void 0)}});var Rn={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},Nn=xn.forEach,In=Je("forEach")?[].forEach:function(e){return Nn(this,e,arguments.length>1?arguments[1]:void 0)};for(var Bn in Rn){var On=g[Bn],Pn=On&&On.prototype;if(Pn&&Pn.forEach!==In)try{z(Pn,"forEach",In)}catch(e){Pn.forEach=In}}var Ln=Ye.trim,Fn=g.parseFloat,Dn=1/Fn(Ve+"-0")!=-1/0?function(e){var t=Ln(String(e)),n=Fn(t);return 0===n&&"-"==t.charAt(0)?-0:n}:Fn;He({global:!0,forced:parseFloat!=Dn},{parseFloat:Dn});var Mn=Ce.indexOf,jn=[].indexOf,Wn=!!jn&&1/[1].indexOf(1,-0)<0,Un=Je("indexOf");He({target:"Array",proto:!0,forced:Wn||!Un},{indexOf:function(e){return Wn?jn.apply(this,arguments)||0:Mn(this,e,arguments.length>1?arguments[1]:void 0)}});var zn=[],Hn=zn.sort,Vn=m((function(){zn.sort(void 0)})),qn=m((function(){zn.sort(null)})),Gn=Je("sort");He({target:"Array",proto:!0,forced:Vn||!qn||!Gn},{sort:function(e){return void 0===e?Hn.call(ln(this)):Hn.call(ln(this),Pt(e))}});var Xn=Math.floor,$n="".replace,Yn=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Kn=/\$([$&'`]|\d{1,2})/g,Jn=function(e,t,n,r,i,a){var o=n+e.length,s=r.length,l=Kn;return void 0!==i&&(i=ln(i),l=Yn),$n.call(a,l,(function(a,l){var c;switch(l.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(o);case"<":c=i[l.slice(1,-1)];break;default:var u=+l;if(0===u)return a;if(u>s){var f=Xn(u/10);return 0===f?a:f<=s?void 0===r[f-1]?l.charAt(1):r[f-1]+l.charAt(1):a}c=r[u-1]}return void 0===c?"":c}))},Zn=Math.max,Qn=Math.min;It("replace",2,(function(e,t,n,r){var i=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,a=r.REPLACE_KEEPS_$0,o=i?"$":"$0";return[function(n,r){var i=k(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!i&&a||"string"==typeof r&&-1===r.indexOf(o)){var s=n(t,e,this,r);if(s.done)return s.value}var l=j(e),c=String(this),u="function"==typeof r;u||(r=String(r));var f=l.global;if(f){var h=l.unicode;l.lastIndex=0}for(var d=[];;){var p=jt(l,c);if(null===p)break;if(d.push(p),!f)break;""===String(p[0])&&(l.lastIndex=Mt(c,Se(l.lastIndex),h))}for(var g,m="",v=0,b=0;b<d.length;b++){p=d[b];for(var y=String(p[0]),w=Zn(Qn(ye(p.index),c.length),0),S=[],x=1;x<p.length;x++)S.push(void 0===(g=p[x])?g:String(g));var E=p.groups;if(u){var _=[y].concat(S,w,c);void 0!==E&&_.push(E);var A=String(r.apply(void 0,_))}else A=Jn(y,c,w,S,E,r);w>=v&&(m+=c.slice(v,w)+A,v=w+y.length)}return m+c.slice(v)}]}));var er=Object.assign,tr=Object.defineProperty,nr=!er||m((function(){if(v&&1!==er({b:1},er(tr({},"a",{enumerable:!0,get:function(){tr(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=er({},e)[n]||Vt(er({},t)).join("")!=r}))?function(e,t){for(var n=ln(e),r=arguments.length,i=1,a=Be.f,o=S.f;r>i;)for(var s,l=C(arguments[i++]),c=a?Vt(l).concat(a(l)):Vt(l),u=c.length,f=0;u>f;)s=c[f++],v&&!o.call(l,s)||(n[s]=l[s]);return n}:er;He({target:"Object",stat:!0,forced:Object.assign!==nr},{assign:nr});var rr=xn.filter,ir=dn("filter");He({target:"Array",proto:!0,forced:!ir},{filter:function(e){return rr(this,e,arguments.length>1?arguments[1]:void 0)}});var ar=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};It("search",1,(function(e,t,n){return[function(t){var n=k(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=j(e),a=String(this),o=i.lastIndex;ar(o,0)||(i.lastIndex=0);var s=jt(i,a);return ar(i.lastIndex,o)||(i.lastIndex=o),null===s?-1:s.index}]}));var or=Ye.trim,sr=g.parseInt,lr=/^[+-]?0[Xx]/,cr=8!==sr(Ve+"08")||22!==sr(Ve+"0x16")?function(e,t){var n=or(String(e));return sr(n,t>>>0||(lr.test(n)?16:10))}:sr;He({global:!0,forced:parseInt!=cr},{parseInt:cr});var ur=xn.map,fr=dn("map");He({target:"Array",proto:!0,forced:!fr},{map:function(e){return ur(this,e,arguments.length>1?arguments[1]:void 0)}});var hr=xn.findIndex,dr="findIndex",pr=!0;dr in[]&&Array(1).findIndex((function(){pr=!1})),He({target:"Array",proto:!0,forced:pr},{findIndex:function(e){return hr(this,e,arguments.length>1?arguments[1]:void 0)}}),an(dr);var gr=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return j(n),function(e){if(!R(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),mr=function(e,t,n){var r,i;return gr&&"function"==typeof(r=t.constructor)&&r!==n&&R(i=r.prototype)&&i!==n.prototype&&gr(e,i),e},vr=_t("species"),br=U.f,yr=Ie.f,wr=he.set,Sr=_t("match"),xr=g.RegExp,Er=xr.prototype,_r=/a/g,Ar=/a/g,Cr=new xr(_r)!==_r,kr=rt.UNSUPPORTED_Y;if(v&&Ue("RegExp",!Cr||kr||m((function(){return Ar[Sr]=!1,xr(_r)!=_r||xr(Ar)==Ar||"/a/i"!=xr(_r,"i")})))){for(var Tr=function(e,t){var n,r=this instanceof Tr,i=Ot(e),a=void 0===t;if(!r&&i&&e.constructor===Tr&&a)return e;Cr?i&&!a&&(e=e.source):e instanceof Tr&&(a&&(t=tt.call(e)),e=e.source),kr&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var o=mr(Cr?new xr(e,t):xr(e,t),r?this:Er,Tr);return kr&&n&&wr(o,{sticky:n}),o},Rr=function(e){e in Tr||br(Tr,e,{configurable:!0,get:function(){return xr[e]},set:function(t){xr[e]=t}})},Nr=yr(xr),Ir=0;Nr.length>Ir;)Rr(Nr[Ir++]);Er.constructor=Tr,Tr.prototype=Er,de(g,"RegExp",Tr)}!function(e){var t=me(e),n=U.f;v&&t&&!t[vr]&&n(t,vr,{configurable:!0,get:function(){return this}})}("RegExp");var Br="toString",Or=RegExp.prototype,Pr=Or.toString,Lr=m((function(){return"/a/b"!=Pr.call({source:"a",flags:"b"})})),Fr=Pr.name!=Br;(Lr||Fr)&&de(RegExp.prototype,Br,(function(){var e=j(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in Or)?tt.call(e):n)}),{unsafe:!0});var Dr={};Dr[_t("toStringTag")]="z";var Mr="[object z]"===String(Dr),jr=_t("toStringTag"),Wr="Arguments"==_(function(){return arguments}()),Ur=Mr?_:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),jr))?n:Wr?_(t):"Object"==(r=_(t))&&"function"==typeof t.callee?"Arguments":r},zr=Mr?{}.toString:function(){return"[object "+Ur(this)+"]"};Mr||de(Object.prototype,"toString",zr,{unsafe:!0});var Hr=dn("slice"),Vr=_t("species"),qr=[].slice,Gr=Math.max;He({target:"Array",proto:!0,forced:!Hr},{slice:function(e,t){var n,r,i,a=T(this),o=Se(a.length),s=_e(e,o),l=_e(void 0===t?o:t,o);if(sn(a)&&("function"!=typeof(n=a.constructor)||n!==Array&&!sn(n.prototype)?R(n)&&null===(n=n[Vr])&&(n=void 0):n=void 0,n===Array||void 0===n))return qr.call(a,s,l);for(r=new(void 0===n?Array:n)(Gr(l-s,0)),i=0;s<l;s++,i++)s in a&&cn(r,i,a[s]);return r.length=i,r}});var Xr,$r,Yr,Kr=!m((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Jr=ie("IE_PROTO"),Zr=Object.prototype,Qr=Kr?Object.getPrototypeOf:function(e){return e=ln(e),B(e,Jr)?e[Jr]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Zr:null},ei=_t("iterator"),ti=!1;[].keys&&("next"in(Yr=[].keys())?($r=Qr(Qr(Yr)))!==Object.prototype&&(Xr=$r):ti=!0);var ni=null==Xr||m((function(){var e={};return Xr[ei].call(e)!==e}));ni&&(Xr={}),B(Xr,ei)||z(Xr,ei,(function(){return this}));var ri={IteratorPrototype:Xr,BUGGY_SAFARI_ITERATORS:ti},ii=U.f,ai=_t("toStringTag"),oi=function(e,t,n){e&&!B(e=n?e:e.prototype,ai)&&ii(e,ai,{configurable:!0,value:t})},si=ri.IteratorPrototype,li=ri.IteratorPrototype,ci=ri.BUGGY_SAFARI_ITERATORS,ui=_t("iterator"),fi="keys",hi="values",di="entries",pi=function(){return this},gi="Array Iterator",mi=he.set,vi=he.getterFor(gi),bi=function(e,t,n,r,i,a,o){!function(e,t,n){var r=t+" Iterator";e.prototype=tn(si,{next:x(1,n)}),oi(e,r,!1)}(n,t,r);var s,l,c,u=function(e){if(e===i&&g)return g;if(!ci&&e in d)return d[e];switch(e){case fi:case hi:case di:return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",h=!1,d=e.prototype,p=d[ui]||d["@@iterator"]||i&&d[i],g=!ci&&p||u(i),m="Array"==t&&d.entries||p;if(m&&(s=Qr(m.call(new e)),li!==Object.prototype&&s.next&&(Qr(s)!==li&&(gr?gr(s,li):"function"!=typeof s[ui]&&z(s,ui,pi)),oi(s,f,!0))),i==hi&&p&&p.name!==hi&&(h=!0,g=function(){return p.call(this)}),d[ui]!==g&&z(d,ui,g),i)if(l={values:u(hi),keys:a?g:u(fi),entries:u(di)},o)for(c in l)(ci||h||!(c in d))&&de(d,c,l[c]);else He({target:t,proto:!0,forced:ci||h},l);return l}(Array,"Array",(function(e,t){mi(this,{type:gi,target:T(e),index:0,kind:t})}),(function(){var e=vi(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");an("keys"),an("values"),an("entries");var yi=_t("iterator"),wi=_t("toStringTag"),Si=bi.values;for(var xi in Rn){var Ei=g[xi],_i=Ei&&Ei.prototype;if(_i){if(_i[yi]!==Si)try{z(_i,yi,Si)}catch(e){_i[yi]=Si}if(_i[wi]||z(_i,wi,xi),Rn[xi])for(var Ai in bi)if(_i[Ai]!==bi[Ai])try{z(_i,Ai,bi[Ai])}catch(e){_i[Ai]=bi[Ai]}}}var Ci=dn("splice"),ki=Math.max,Ti=Math.min,Ri=9007199254740991,Ni="Maximum allowed length exceeded";He({target:"Array",proto:!0,forced:!Ci},{splice:function(e,t){var n,r,i,a,o,s,l=ln(this),c=Se(l.length),u=_e(e,c),f=arguments.length;if(0===f?n=r=0:1===f?(n=0,r=c-u):(n=f-2,r=Ti(ki(ye(t),0),c-u)),c+n-r>Ri)throw TypeError(Ni);for(i=fn(l,r),a=0;a<r;a++)(o=u+a)in l&&cn(i,a,l[o]);if(i.length=r,n<r){for(a=u;a<c-r;a++)s=a+n,(o=a+r)in l?l[s]=l[o]:delete l[s];for(a=c;a>c-r+n;a--)delete l[a-1]}else if(n>r)for(a=c-r;a>u;a--)s=a+n-1,(o=a+r-1)in l?l[s]=l[o]:delete l[s];for(a=0;a<n;a++)l[a+u]=arguments[a+2];return l.length=c-r+n,i}});var Ii=Ie.f,Bi=M.f,Oi=U.f,Pi=Ye.trim,Li="Number",Fi=g.Number,Di=Fi.prototype,Mi=_(tn(Di))==Li,ji=function(e){var t,n,r,i,a,o,s,l,c=N(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=Pi(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+c}for(o=(a=c.slice(2)).length,s=0;s<o;s++)if((l=a.charCodeAt(s))<48||l>i)return NaN;return parseInt(a,r)}return+c};if(Ue(Li,!Fi(" 0o1")||!Fi("0b1")||Fi("+0x1"))){for(var Wi,Ui=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof Ui&&(Mi?m((function(){Di.valueOf.call(n)})):_(n)!=Li)?mr(new Fi(ji(t)),n,Ui):ji(t)},zi=v?Ii(Fi):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),Hi=0;zi.length>Hi;Hi++)B(Fi,Wi=zi[Hi])&&!B(Ui,Wi)&&Oi(Ui,Wi,Bi(Fi,Wi));Ui.prototype=Di,Di.constructor=Ui,de(g,Li,Ui)}var Vi=[].reverse,qi=[1,2];He({target:"Array",proto:!0,forced:String(qi)===String(qi.reverse())},{reverse:function(){return sn(this)&&(this.length=this.length),Vi.call(this)}});var Gi=4;try{var Xi=n.default.fn.dropdown.Constructor.VERSION;void 0!==Xi&&(Gi=parseInt(Xi,10))}catch(e){}try{var $i=bootstrap.Tooltip.VERSION;void 0!==$i&&(Gi=parseInt($i,10))}catch(e){}var Yi={3:{iconsPrefix:"glyphicon",icons:{paginationSwitchDown:"glyphicon-collapse-down icon-chevron-down",paginationSwitchUp:"glyphicon-collapse-up icon-chevron-up",refresh:"glyphicon-refresh icon-refresh",toggleOff:"glyphicon-list-alt icon-list-alt",toggleOn:"glyphicon-list-alt icon-list-alt",columns:"glyphicon-th icon-th",detailOpen:"glyphicon-plus icon-plus",detailClose:"glyphicon-minus icon-minus",fullscreen:"glyphicon-fullscreen",search:"glyphicon-search",clearSearch:"glyphicon-trash"},classes:{buttonsPrefix:"btn",buttons:"default",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"pull",inputGroup:"input-group",inputPrefix:"input-",input:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{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>',pageDropdown:['<ul class="dropdown-menu" role="menu">',"</ul>"],pageDropdownItem:'<li role="menuitem" class="%s"><a href="#">%s</a></li>',dropdownCaret:'<span class="caret"></span>',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>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s<span class="input-group-btn">%s</span></div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',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>'}},4:{iconsPrefix:"fa",icons:{paginationSwitchDown:"fa-caret-square-down",paginationSwitchUp:"fa-caret-square-up",refresh:"fa-sync",toggleOff:"fa-toggle-off",toggleOn:"fa-toggle-on",columns:"fa-th-list",detailOpen:"fa-plus",detailClose:"fa-minus",fullscreen:"fa-arrows-alt",search:"fa-search",clearSearch:"fa-trash"},classes:{buttonsPrefix:"btn",buttons:"secondary",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"float",inputGroup:"btn-group",inputPrefix:"form-control-",input:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{toolbarDropdown:['<div class="dropdown-menu dropdown-menu-right">',"</div>"],toolbarDropdownItem:'<label class="dropdown-item dropdown-item-marker">%s</label>',pageDropdown:['<div class="dropdown-menu">',"</div>"],pageDropdownItem:'<a class="dropdown-item %s" href="#">%s</a>',toolbarDropdownSeparator:'<div class="dropdown-divider"></div>',dropdownCaret:'<span class="caret"></span>',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>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s<div class="input-group-append">%s</div></div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',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>'}},5:{iconsPrefix:"bi",icons:{paginationSwitchDown:"bi-caret-down-square",paginationSwitchUp:"bi-caret-up-square",refresh:"bi-arrow-clockwise",toggleOff:"bi-toggle-off",toggleOn:"bi-toggle-on",columns:"bi-list-ul",detailOpen:"bi-plus",detailClose:"bi-dash",fullscreen:"bi-arrows-move",search:"bi-search",clearSearch:"bi-trash"},classes:{buttonsPrefix:"btn",buttons:"secondary",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"float",inputGroup:"btn-group",inputPrefix:"form-control-",input:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{dataToggle:"data-bs-toggle",toolbarDropdown:['<div class="dropdown-menu dropdown-menu-right">',"</div>"],toolbarDropdownItem:'<label class="dropdown-item dropdown-item-marker">%s</label>',pageDropdown:['<div class="dropdown-menu">',"</div>"],pageDropdownItem:'<a class="dropdown-item %s" href="#">%s</a>',toolbarDropdownSeparator:'<div class="dropdown-divider"></div>',dropdownCaret:'<span class="caret"></span>',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>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s%s</div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',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>'}}}[Gi],Ki={height:void 0,classes:"table table-bordered table-hover",buttons:{},theadClasses:"",headerStyle:function(e){return{}},rowStyle:function(e,t){return{}},rowAttributes:function(e,t){return{}},undefinedText:"-",locale:void 0,virtualScroll:!1,virtualScrollItemHeight:void 0,sortable:!0,sortClass:void 0,silentSort:!0,sortName:void 0,sortOrder:void 0,sortReset:!1,sortStable:!1,rememberOrder:!1,serverSort:!0,customSort:void 0,columns:[[]],data:[],url:void 0,method:"get",cache:!0,contentType:"application/json",dataType:"json",ajax:void 0,ajaxOptions:{},queryParams:function(e){return e},queryParamsType:"limit",responseHandler:function(e){return e},totalField:"total",totalNotFilteredField:"totalNotFiltered",dataField:"rows",footerField:"footer",pagination:!1,paginationParts:["pageInfo","pageSize","pageList"],showExtendedPagination:!1,paginationLoop:!0,sidePagination:"client",totalRows:0,totalNotFiltered:0,pageNumber:1,pageSize:10,pageList:[10,25,50,100],paginationHAlign:"right",paginationVAlign:"bottom",paginationDetailHAlign:"left",paginationPreText:"&lsaquo;",paginationNextText:"&rsaquo;",paginationSuccessivelySize:5,paginationPagesBySide:1,paginationUseIntermediate:!1,search:!1,searchHighlight:!1,searchOnEnterKey:!1,strictSearch:!1,regexSearch:!1,searchSelector:!1,visibleSearch:!1,showButtonIcons:!0,showButtonText:!1,showSearchButton:!1,showSearchClearButton:!1,trimOnSearch:!0,searchAlign:"right",searchTimeOut:500,searchText:"",customSearch:void 0,showHeader:!0,showFooter:!1,footerStyle:function(e){return{}},searchAccentNeutralise:!1,showColumns:!1,showColumnsToggleAll:!1,showColumnsSearch:!1,minimumCountColumns:1,showPaginationSwitch:!1,showRefresh:!1,showToggle:!1,showFullscreen:!1,smartDisplay:!0,escape:!1,filterOptions:{filterAlgorithm:"and"},idField:void 0,selectItemName:"btSelectItem",clickToSelect:!1,ignoreClickToSelectOn:function(e){var t=e.tagName;return["A","BUTTON"].includes(t)},singleSelect:!1,checkboxHeader:!0,maintainMetaData:!1,multipleSelectRow:!1,uniqueId:void 0,cardView:!1,detailView:!1,detailViewIcon:!0,detailViewByClick:!1,detailViewAlign:"left",detailFormatter:function(e,t){return""},detailFilter:function(e,t){return!0},toolbar:void 0,toolbarAlign:"left",buttonsToolbar:void 0,buttonsAlign:"right",buttonsOrder:["paginationSwitch","refresh","toggle","fullscreen","columns"],buttonsPrefix:Yi.classes.buttonsPrefix,buttonsClass:Yi.classes.buttons,icons:Yi.icons,iconSize:void 0,iconsPrefix:Yi.iconsPrefix,loadingFontSize:"auto",loadingTemplate:function(e){return'<span class="loading-wrap">\n <span class="loading-text">'.concat(e,'</span>\n <span class="animation-wrap"><span class="animation-dot"></span></span>\n </span>\n ')},onAll:function(e,t){return!1},onClickCell:function(e,t,n,r){return!1},onDblClickCell:function(e,t,n,r){return!1},onClickRow:function(e,t){return!1},onDblClickRow:function(e,t){return!1},onSort:function(e,t){return!1},onCheck:function(e){return!1},onUncheck:function(e){return!1},onCheckAll:function(e){return!1},onUncheckAll:function(e){return!1},onCheckSome:function(e){return!1},onUncheckSome:function(e){return!1},onLoadSuccess:function(e){return!1},onLoadError:function(e){return!1},onColumnSwitch:function(e,t){return!1},onPageChange:function(e,t){return!1},onSearch:function(e){return!1},onToggle:function(e){return!1},onPreBody:function(e){return!1},onPostBody:function(){return!1},onPostHeader:function(){return!1},onPostFooter:function(){return!1},onExpandRow:function(e,t,n){return!1},onCollapseRow:function(e,t){return!1},onRefreshOptions:function(e){return!1},onRefresh:function(e){return!1},onResetView:function(){return!1},onScrollBody:function(){return!1},onTogglePagination:function(e){return!1}},Ji={formatLoadingMessage:function(){return"Loading, please wait"},formatRecordsPerPage:function(e){return"".concat(e," rows per page")},formatShowingRows:function(e,t,n,r){return void 0!==r&&r>0&&r>n?"Showing ".concat(e," to ").concat(t," of ").concat(n," rows (filtered from ").concat(r," total rows)"):"Showing ".concat(e," to ").concat(t," of ").concat(n," rows")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(e){return"to page ".concat(e)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(e){return"Showing ".concat(e," 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"},formatToggle:function(){return"Toggle"},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"}},Zi={field:void 0,title:void 0,titleTooltip:void 0,class:void 0,width:void 0,widthUnit:"px",rowspan:void 0,colspan:void 0,align:void 0,halign:void 0,falign:void 0,valign:void 0,cellStyle:void 0,radio:!1,checkbox:!1,checkboxEnabled:!0,clickToSelect:!0,showSelectTitle:!1,sortable:!1,sortName:void 0,order:"asc",sorter:void 0,visible:!0,switchable:!0,cardVisible:!0,searchable:!0,formatter:void 0,footerFormatter:void 0,detailFormatter:void 0,searchFormatter:!0,searchHighlightFormatter:!1,escape:!1,events:void 0};Object.assign(Ki,Ji);var Qi={VERSION:"1.19.1",THEME:"bootstrap".concat(Gi),CONSTANTS:Yi,DEFAULTS:Ki,COLUMN_DEFAULTS:Zi,METHODS:["getOptions","refreshOptions","getData","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","scrollTo","getScrollPosition","selectPage","prevPage","nextPage","toggleDetailView","expandRow","collapseRow","expandRowByUniqueId","collapseRowByUniqueId","expandAllRows","collapseAllRows","updateColumnTitle","updateFormatText"],EVENTS:{"all.bs.table":"onAll","click-row.bs.table":"onClickRow","dbl-click-row.bs.table":"onDblClickRow","click-cell.bs.table":"onClickCell","dbl-click-cell.bs.table":"onDblClickCell","sort.bs.table":"onSort","check.bs.table":"onCheck","uncheck.bs.table":"onUncheck","check-all.bs.table":"onCheckAll","uncheck-all.bs.table":"onUncheckAll","check-some.bs.table":"onCheckSome","uncheck-some.bs.table":"onUncheckSome","load-success.bs.table":"onLoadSuccess","load-error.bs.table":"onLoadError","column-switch.bs.table":"onColumnSwitch","page-change.bs.table":"onPageChange","search.bs.table":"onSearch","toggle.bs.table":"onToggle","pre-body.bs.table":"onPreBody","post-body.bs.table":"onPostBody","post-header.bs.table":"onPostHeader","post-footer.bs.table":"onPostFooter","expand-row.bs.table":"onExpandRow","collapse-row.bs.table":"onCollapseRow","refresh-options.bs.table":"onRefreshOptions","reset-view.bs.table":"onResetView","refresh.bs.table":"onRefresh","scroll-body.bs.table":"onScrollBody","toggle-pagination.bs.table":"onTogglePagination","virtual-scroll.bs.table":"onVirtualScroll"},LOCALES:{en:Ji,"en-US":Ji}},ea=m((function(){Vt(1)}));He({target:"Object",stat:!0,forced:ea},{keys:function(e){return Vt(ln(e))}}),It("match",1,(function(e,t,n){return[function(t){var n=k(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=j(e),a=String(this);if(!i.global)return jt(i,a);var o=i.unicode;i.lastIndex=0;for(var s,l=[],c=0;null!==(s=jt(i,a));){var u=String(s[0]);l[c]=u,""===u&&(i.lastIndex=Mt(a,Se(i.lastIndex),o)),c++}return 0===c?null:l}]}));var ta,na=M.f,ra="".startsWith,ia=Math.min,aa=Tn("startsWith"),oa=!(aa||(ta=na(String.prototype,"startsWith"),!ta||ta.writable));He({target:"String",proto:!0,forced:!oa&&!aa},{startsWith:function(e){var t=String(k(this));Cn(e);var n=Se(ia(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return ra?ra.call(t,r,n):t.slice(n,n+r.length)===r}});var sa=M.f,la="".endsWith,ca=Math.min,ua=Tn("endsWith"),fa=!ua&&!!function(){var e=sa(String.prototype,"endsWith");return e&&!e.writable}();He({target:"String",proto:!0,forced:!fa&&!ua},{endsWith:function(e){var t=String(k(this));Cn(e);var n=arguments.length>1?arguments[1]:void 0,r=Se(t.length),i=void 0===n?r:ca(Se(n),r),a=String(e);return la?la.call(t,a,i):t.slice(i-a.length,i)===a}});var ha={getSearchInput:function(e){return"string"==typeof e.options.searchSelector?n.default(e.options.searchSelector):e.$toolbar.find(".search input")},sprintf:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=!0,a=0,o=e.replace(/%s/g,(function(){var e=n[a++];return void 0===e?(i=!1,""):e}));return i?o:""},isObject:function(e){return e instanceof Object&&!Array.isArray(e)},isEmptyObject:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 0===Object.entries(e).length&&e.constructor===Object},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},getFieldTitle:function(e,t){var n,r=f(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.field===t)return i.title}}catch(e){r.e(e)}finally{r.f()}return""},setFieldIndex:function(e){var t,n=0,r=[],i=f(e[0]);try{for(i.s();!(t=i.n()).done;){n+=t.value.colspan||1}}catch(e){i.e(e)}finally{i.f()}for(var a=0;a<e.length;a++){r[a]=[];for(var o=0;o<n;o++)r[a][o]=!1}for(var s=0;s<e.length;s++){var l,c=f(e[s]);try{for(c.s();!(l=c.n()).done;){var u=l.value,h=u.rowspan||1,d=u.colspan||1,p=r[s].indexOf(!1);u.colspanIndex=p,1===d?(u.fieldIndex=p,void 0===u.field&&(u.field=p)):u.colspanGroup=u.colspan;for(var g=0;g<h;g++)for(var m=0;m<d;m++)r[s+g][p+m]=!0}}catch(e){c.e(e)}finally{c.f()}}},normalizeAccent:function(e){return"string"!=typeof e?e:e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")},updateFieldGroup:function(e){var t,n,r=(t=[]).concat.apply(t,l(e)),i=f(e);try{for(i.s();!(n=i.n()).done;){var a,o=f(n.value);try{for(o.s();!(a=o.n()).done;){var s=a.value;if(s.colspanGroup>1){for(var c=0,u=function(e){r.find((function(t){return t.fieldIndex===e})).visible&&c++},h=s.colspanIndex;h<s.colspanIndex+s.colspanGroup;h++)u(h);s.colspan=c,s.visible=c>0}}}catch(e){o.e(e)}finally{o.f()}}}catch(e){i.e(e)}finally{i.f()}},getScrollBarWidth:function(){if(void 0===this.cachedWidth){var e=n.default("<div/>").addClass("fixed-table-scroll-inner"),t=n.default("<div/>").addClass("fixed-table-scroll-outer");t.append(e),n.default("body").append(t);var r=e[0].offsetWidth;t.css("overflow","scroll");var i=e[0].offsetWidth;r===i&&(i=t[0].clientWidth),t.remove(),this.cachedWidth=r-i}return this.cachedWidth},calculateObjectValue:function(e,t,n,i){var a=t;if("string"==typeof t){var o=t.split(".");if(o.length>1){a=window;var s,c=f(o);try{for(c.s();!(s=c.n()).done;){a=a[s.value]}}catch(e){c.e(e)}finally{c.f()}}else a=window[t]}return null!==a&&"object"===r(a)?a:"function"==typeof a?a.apply(e,n||[]):!a&&"string"==typeof t&&this.sprintf.apply(this,[t].concat(l(n)))?this.sprintf.apply(this,[t].concat(l(n))):i},compareObjects:function(e,t,n){var r=Object.keys(e),i=Object.keys(t);if(n&&r.length!==i.length)return!1;for(var a=0,o=r;a<o.length;a++){var s=o[a];if(i.includes(s)&&e[s]!==t[s])return!1}return!0},regexCompare:function(e,t){try{var n=t.match(/^\/(.*?)\/([gim]*)$/);if(-1!==e.toString().search(n?new RegExp(n[1],n[2]):new RegExp(t,"gim")))return!0}catch(e){return!1}},escapeHTML:function(e){return e?e.toString().replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"):e},unescapeHTML:function(e){return e?e.toString().replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#39;/g,"'"):e},getRealDataAttr:function(e){for(var t=0,n=Object.entries(e);t<n.length;t++){var r=s(n[t],2),i=r[0],a=r[1],o=i.split(/(?=[A-Z])/).join("-").toLowerCase();o!==i&&(e[o]=a,delete e[i])}return e},getItemField:function(e,t,n){var r=e;if("string"!=typeof t||e.hasOwnProperty(t))return n?this.escapeHTML(e[t]):e[t];var i,a=f(t.split("."));try{for(a.s();!(i=a.n()).done;){var o=i.value;r=r&&r[o]}}catch(e){a.e(e)}finally{a.f()}return n?this.escapeHTML(r):r},isIEBrowser:function(){return navigator.userAgent.includes("MSIE ")||/Trident.*rv:11\./.test(navigator.userAgent)},findIndex:function(e,t){var n,r=f(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(JSON.stringify(i)===JSON.stringify(t))return e.indexOf(i)}}catch(e){r.e(e)}finally{r.f()}return-1},trToData:function(e,t){var r=this,i=[],a=[];return t.each((function(t,o){var s=n.default(o),l={};l._id=s.attr("id"),l._class=s.attr("class"),l._data=r.getRealDataAttr(s.data()),l._style=s.attr("style"),s.find(">td,>th").each((function(i,o){for(var s=n.default(o),c=+s.attr("colspan")||1,u=+s.attr("rowspan")||1,f=i;a[t]&&a[t][f];f++);for(var h=f;h<f+c;h++)for(var d=t;d<t+u;d++)a[d]||(a[d]=[]),a[d][h]=!0;var p=e[f].field;l[p]=s.html().trim(),l["_".concat(p,"_id")]=s.attr("id"),l["_".concat(p,"_class")]=s.attr("class"),l["_".concat(p,"_rowspan")]=s.attr("rowspan"),l["_".concat(p,"_colspan")]=s.attr("colspan"),l["_".concat(p,"_title")]=s.attr("title"),l["_".concat(p,"_data")]=r.getRealDataAttr(s.data()),l["_".concat(p,"_style")]=s.attr("style")})),i.push(l)})),i},sort:function(e,t,n,r,i,a){return null==e&&(e=""),null==t&&(t=""),r&&e===t&&(e=i,t=a),this.isNumeric(e)&&this.isNumeric(t)?(e=parseFloat(e))<(t=parseFloat(t))?-1*n:e>t?n:0:e===t?0:("string"!=typeof e&&(e=e.toString()),-1===e.localeCompare(t)?-1*n:n)},getEventName:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t=t||"".concat(+new Date).concat(~~(1e6*Math.random())),"".concat(e,"-").concat(t)},hasDetailViewIcon:function(e){return e.detailView&&e.detailViewIcon&&!e.cardView},getDetailViewIndexOffset:function(e){return this.hasDetailViewIcon(e)&&"right"!==e.detailViewAlign?1:0},checkAutoMergeCells:function(e){var t,n=f(e);try{for(n.s();!(t=n.n()).done;)for(var r=t.value,i=0,a=Object.keys(r);i<a.length;i++){var o=a[i];if(o.startsWith("_")&&(o.endsWith("_rowspan")||o.endsWith("_colspan")))return!0}}catch(e){n.e(e)}finally{n.f()}return!1},deepCopy:function(e){return void 0===e?e:n.default.extend(!0,Array.isArray(e)?[]:{},e)}},da=function(){function e(t){var n=this;i(this,e),this.rows=t.rows,this.scrollEl=t.scrollEl,this.contentEl=t.contentEl,this.callback=t.callback,this.itemHeight=t.itemHeight,this.cache={},this.scrollTop=this.scrollEl.scrollTop,this.initDOM(this.rows,t.fixedScroll),this.scrollEl.scrollTop=this.scrollTop,this.lastCluster=0;var r=function(){n.lastCluster!==(n.lastCluster=n.getNum())&&(n.initDOM(n.rows),n.callback(n.startIndex,n.endIndex))};this.scrollEl.addEventListener("scroll",r,!1),this.destroy=function(){n.contentEl.innerHtml="",n.scrollEl.removeEventListener("scroll",r,!1)}}return o(e,[{key:"initDOM",value:function(e,t){void 0===this.clusterHeight&&(this.cache.scrollTop=this.scrollEl.scrollTop,this.cache.data=this.contentEl.innerHTML=e[0]+e[0]+e[0],this.getRowsHeight(e));var n=this.initData(e,this.getNum(t)),r=n.rows.join(""),i=this.checkChanges("data",r),a=this.checkChanges("top",n.topOffset),o=this.checkChanges("bottom",n.bottomOffset),s=[];i&&a?(n.topOffset&&s.push(this.getExtra("top",n.topOffset)),s.push(r),n.bottomOffset&&s.push(this.getExtra("bottom",n.bottomOffset)),this.startIndex=n.start,this.endIndex=n.end,this.contentEl.innerHTML=s.join(""),t&&(this.contentEl.scrollTop=this.cache.scrollTop)):o&&(this.contentEl.lastChild.style.height="".concat(n.bottomOffset,"px"))}},{key:"getRowsHeight",value:function(){if(void 0===this.itemHeight){var e=this.contentEl.children,t=e[Math.floor(e.length/2)];this.itemHeight=t.offsetHeight}this.blockHeight=50*this.itemHeight,this.clusterRows=200,this.clusterHeight=4*this.blockHeight}},{key:"getNum",value:function(e){return this.scrollTop=e?this.cache.scrollTop:this.scrollEl.scrollTop,Math.floor(this.scrollTop/(this.clusterHeight-this.blockHeight))||0}},{key:"initData",value:function(e,t){if(e.length<50)return{topOffset:0,bottomOffset:0,rowsAbove:0,rows:e};var n=Math.max((this.clusterRows-50)*t,0),r=n+this.clusterRows,i=Math.max(n*this.itemHeight,0),a=Math.max((e.length-r)*this.itemHeight,0),o=[],s=n;i<1&&s++;for(var l=n;l<r;l++)e[l]&&o.push(e[l]);return{start:n,end:r,topOffset:i,bottomOffset:a,rowsAbove:s,rows:o}}},{key:"checkChanges",value:function(e,t){var n=t!==this.cache[e];return this.cache[e]=t,n}},{key:"getExtra",value:function(e,t){var n=document.createElement("tr");return n.className="virtual-scroll-".concat(e),t&&(n.style.height="".concat(t,"px")),n.outerHTML}}]),e}(),pa=function(){function e(t,r){i(this,e),this.options=r,this.$el=n.default(t),this.$el_=this.$el.clone(),this.timeoutId_=0,this.timeoutFooter_=0}return o(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=Qi.CONSTANTS,this.constants.theme=n.default.fn.bootstrapTable.theme,this.constants.dataToggle=this.constants.html.dataToggle||"data-toggle";var t=e.buttonsPrefix?"".concat(e.buttonsPrefix,"-"):"";this.constants.buttonsClass=[e.buttonsPrefix,t+e.buttonsClass,ha.sprintf("".concat(t,"%s"),e.iconSize)].join(" ").trim(),this.buttons=ha.calculateObjectValue(this,e.buttons,[],{}),"object"!==r(this.buttons)&&(this.buttons={}),"string"==typeof e.icons&&(e.icons=ha.calculateObjectValue(null,e.icons))}},{key:"initLocale",value:function(){if(this.options.locale){var t=n.default.fn.bootstrapTable.locales,r=this.options.locale.split(/-|_/);r[0]=r[0].toLowerCase(),r[1]&&(r[1]=r[1].toUpperCase());var i={};t[this.options.locale]?i=t[this.options.locale]:t[r.join("-")]?i=t[r.join("-")]:t[r[0]]&&(i=t[r[0]]);for(var a=0,o=Object.entries(i);a<o.length;a++){var l=s(o[a],2),c=l[0],u=l[1];this.options[c]===e.DEFAULTS[c]&&(this.options[c]=u)}}}},{key:"initContainer",value:function(){var e=["top","both"].includes(this.options.paginationVAlign)?'<div class="fixed-table-pagination clearfix"></div>':"",t=["bottom","both"].includes(this.options.paginationVAlign)?'<div class="fixed-table-pagination"></div>':"",r=ha.calculateObjectValue(this.options,this.options.loadingTemplate,[this.options.formatLoadingMessage()]);this.$container=n.default('\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(r,'\n </div>\n </div>\n <div class="fixed-table-footer"></div>\n </div>\n ').concat(t,"\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=n.default("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 t=this,r=[];if(this.$header=this.$el.find(">thead"),this.$header.length?this.options.theadClasses&&this.$header.addClass(this.options.theadClasses):this.$header=n.default('<thead class="'.concat(this.options.theadClasses,'"></thead>')).appendTo(this.$el),this._headerTrClasses=[],this._headerTrStyles=[],this.$header.find("tr").each((function(e,i){var a=n.default(i),o=[];a.find("th").each((function(e,t){var r=n.default(t);void 0!==r.data("field")&&r.data("field","".concat(r.data("field"))),o.push(n.default.extend({},{title:r.html(),class:r.attr("class"),titleTooltip:r.attr("title"),rowspan:r.attr("rowspan")?+r.attr("rowspan"):void 0,colspan:r.attr("colspan")?+r.attr("colspan"):void 0},r.data()))})),r.push(o),a.attr("class")&&t._headerTrClasses.push(a.attr("class")),a.attr("style")&&t._headerTrStyles.push(a.attr("style"))})),Array.isArray(this.options.columns[0])||(this.options.columns=[this.options.columns]),this.options.columns=n.default.extend(!0,[],r,this.options.columns),this.columns=[],this.fieldsColumnsIndex=[],ha.setFieldIndex(this.options.columns),this.options.columns.forEach((function(r,i){r.forEach((function(r,a){var o=n.default.extend({},e.COLUMN_DEFAULTS,r);void 0!==o.fieldIndex&&(t.columns[o.fieldIndex]=o,t.fieldsColumnsIndex[o.field]=o.fieldIndex),t.options.columns[i][a]=o}))})),!this.options.data.length){var i=ha.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=ha.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,t={},r=[];this.header={fields:[],styles:[],classes:[],formatters:[],detailFormatters:[],events:[],sorters:[],sortNames:[],cellStyles:[],searchables:[]},ha.updateFieldGroup(this.options.columns),this.options.columns.forEach((function(n,i){var a=[];a.push("<tr".concat(ha.sprintf(' class="%s"',e._headerTrClasses[i])," ").concat(ha.sprintf(' style="%s"',e._headerTrStyles[i]),">"));var o="";if(0===i&&ha.hasDetailViewIcon(e.options)){var l=e.options.columns.length>1?' rowspan="'.concat(e.options.columns.length,'"'):"";o='<th class="detail"'.concat(l,'>\n <div class="fht-cell"></div>\n </th>')}o&&"right"!==e.options.detailViewAlign&&a.push(o),n.forEach((function(n,r){var o=ha.sprintf(' class="%s"',n.class),l=n.widthUnit,c=parseFloat(n.width),u=ha.sprintf("text-align: %s; ",n.halign?n.halign:n.align),f=ha.sprintf("text-align: %s; ",n.align),h=ha.sprintf("vertical-align: %s; ",n.valign);if(h+=ha.sprintf("width: %s; ",!n.checkbox&&!n.radio||c?c?c+l:void 0:n.showSelectTitle?void 0:"36px"),void 0!==n.fieldIndex||n.visible){var d=ha.calculateObjectValue(null,e.options.headerStyle,[n]),p=[],g="";if(d&&d.css)for(var m=0,v=Object.entries(d.css);m<v.length;m++){var b=s(v[m],2),y=b[0],w=b[1];p.push("".concat(y,": ").concat(w))}if(d&&d.classes&&(g=ha.sprintf(' class="%s"',n.class?[n.class,d.classes].join(" "):d.classes)),void 0!==n.fieldIndex){if(e.header.fields[n.fieldIndex]=n.field,e.header.styles[n.fieldIndex]=f+h,e.header.classes[n.fieldIndex]=o,e.header.formatters[n.fieldIndex]=n.formatter,e.header.detailFormatters[n.fieldIndex]=n.detailFormatter,e.header.events[n.fieldIndex]=n.events,e.header.sorters[n.fieldIndex]=n.sorter,e.header.sortNames[n.fieldIndex]=n.sortName,e.header.cellStyles[n.fieldIndex]=n.cellStyle,e.header.searchables[n.fieldIndex]=n.searchable,!n.visible)return;if(e.options.cardView&&!n.cardVisible)return;t[n.field]=n}a.push("<th".concat(ha.sprintf(' title="%s"',n.titleTooltip)),n.checkbox||n.radio?ha.sprintf(' class="bs-checkbox %s"',n.class||""):g||o,ha.sprintf(' style="%s"',u+h+p.join("; ")),ha.sprintf(' rowspan="%s"',n.rowspan),ha.sprintf(' colspan="%s"',n.colspan),ha.sprintf(' data-field="%s"',n.field),0===r&&i>0?" data-not-first-th":"",">"),a.push(ha.sprintf('<div class="th-inner %s">',e.options.sortable&&n.sortable?"sortable both":""));var S=e.options.escape?ha.escapeHTML(n.title):n.title,x=S;n.checkbox&&(S="",!e.options.singleSelect&&e.options.checkboxHeader&&(S='<label><input name="btSelectAll" type="checkbox" /><span></span></label>'),e.header.stateField=n.field),n.radio&&(S="",e.header.stateField=n.field),!S&&n.showSelectTitle&&(S+=x),a.push(S),a.push("</div>"),a.push('<div class="fht-cell"></div>'),a.push("</div>"),a.push("</th>")}})),o&&"right"===e.options.detailViewAlign&&a.push(o),a.push("</tr>"),a.length>3&&r.push(a.join(""))})),this.$header.html(r.join("")),this.$header.find("th[data-field]").each((function(e,r){n.default(r).data(t[n.default(r).data("field")])})),this.$container.off("click",".th-inner").on("click",".th-inner",(function(t){var r=n.default(t.currentTarget);if(e.options.detailView&&!r.parent().hasClass("bs-checkbox")&&r.closest(".bootstrap-table")[0]!==e.$container[0])return!1;e.options.sortable&&r.parent().data().sortable&&e.onSort(t)}));var i=ha.getEventName("resize.bootstrap-table",this.$el.attr("id"));n.default(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(),n.default(window).on(i,(function(){return e.resetView()}))),this.$selectAll=this.$header.find('[name="btSelectAll"]'),this.$selectAll.off("click").on("click",(function(t){t.stopPropagation();var r=n.default(t.currentTarget).prop("checked");e[r?"checkAll":"uncheckAll"](),e.updateSelected()}))}},{key:"initData",value:function(e,t){"append"===t?this.options.data=this.options.data.concat(e):"prepend"===t?this.options.data=[].concat(e).concat(this.options.data):(e=e||ha.deepCopy(this.options.data),this.options.data=Array.isArray(e)?e:e[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 e=this,t=this.options.sortName,n="desc"===this.options.sortOrder?-1:1,r=this.header.fields.indexOf(this.options.sortName),i=0;-1!==r?(this.options.sortStable&&this.data.forEach((function(e,t){e.hasOwnProperty("_position")||(e._position=t)})),this.options.customSort?ha.calculateObjectValue(this.options,this.options.customSort,[this.options.sortName,this.options.sortOrder,this.data]):this.data.sort((function(i,a){e.header.sortNames[r]&&(t=e.header.sortNames[r]);var o=ha.getItemField(i,t,e.options.escape),s=ha.getItemField(a,t,e.options.escape),l=ha.calculateObjectValue(e.header,e.header.sorters[r],[o,s,i,a]);return void 0!==l?e.options.sortStable&&0===l?n*(i._position-a._position):n*l:ha.sort(o,s,n,e.options.sortStable,i._position,a._position)})),void 0!==this.options.sortClass&&(clearTimeout(i),i=setTimeout((function(){e.$el.removeClass(e.options.sortClass);var t=e.$header.find('[data-field="'.concat(e.options.sortName,'"]')).index();e.$el.find("tr td:nth-child(".concat(t+1,")")).addClass(e.options.sortClass)}),250))):this.options.sortReset&&(this.data=l(this.unsortedData))}},{key:"onSort",value:function(e){var t=e.type,r=e.currentTarget,i="keypress"===t?n.default(r):n.default(r).parent(),a=this.$header.find("th").eq(i.index());if(this.$header.add(this.$header_).find("span.order").remove(),this.options.sortName===i.data("field")){var o=this.options.sortOrder;void 0===o?this.options.sortOrder="asc":"asc"===o?this.options.sortOrder="desc":"desc"===this.options.sortOrder&&(this.options.sortOrder=this.options.sortReset?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;if(this.trigger("sort",this.options.sortName,this.options.sortOrder),i.add(a).data("order",this.options.sortOrder),this.getCaret(),"server"===this.options.sidePagination&&this.options.serverSort)return this.options.pageNumber=1,void this.initServer(this.options.silentSort);this.initSort(),this.initBody()}},{key:"initToolbar",value:function(){var e,t=this,i=this.options,a=[],o=0,l=0;this.$toolbar.find(".bs-bars").children().length&&n.default("body").append(n.default(i.toolbar)),this.$toolbar.html(""),"string"!=typeof i.toolbar&&"object"!==r(i.toolbar)||n.default(ha.sprintf('<div class="bs-bars %s-%s"></div>',this.constants.classes.pull,i.toolbarAlign)).appendTo(this.$toolbar).append(n.default(i.toolbar)),a=['<div class="'.concat(["columns","columns-".concat(i.buttonsAlign),this.constants.classes.buttonsGroup,"".concat(this.constants.classes.pull,"-").concat(i.buttonsAlign)].join(" "),'">')],"string"==typeof i.buttonsOrder&&(i.buttonsOrder=i.buttonsOrder.replace(/\[|\]| |'/g,"").split(",")),this.buttons=Object.assign(this.buttons,{paginationSwitch:{text:i.pagination?i.formatPaginationSwitchUp():i.formatPaginationSwitchDown(),icon:i.pagination?i.icons.paginationSwitchDown:i.icons.paginationSwitchUp,render:!1,event:this.togglePagination,attributes:{"aria-label":i.formatPaginationSwitch(),title:i.formatPaginationSwitch()}},refresh:{text:i.formatRefresh(),icon:i.icons.refresh,render:!1,event:this.refresh,attributes:{"aria-label":i.formatRefresh(),title:i.formatRefresh()}},toggle:{text:i.formatToggle(),icon:i.icons.toggleOff,render:!1,event:this.toggleView,attributes:{"aria-label":i.formatToggleOn(),title:i.formatToggleOn()}},fullscreen:{text:i.formatFullscreen(),icon:i.icons.fullscreen,render:!1,event:this.toggleFullscreen,attributes:{"aria-label":i.formatFullscreen(),title:i.formatFullscreen()}},columns:{render:!1,html:function(){var e=[];if(e.push('<div class="keep-open '.concat(t.constants.classes.buttonsDropdown,'" title="').concat(i.formatColumns(),'">\n <button class="').concat(t.constants.buttonsClass,' dropdown-toggle" type="button" ').concat(t.constants.dataToggle,'="dropdown"\n aria-label="Columns" title="').concat(i.formatColumns(),'">\n ').concat(i.showButtonIcons?ha.sprintf(t.constants.html.icon,i.iconsPrefix,i.icons.columns):"","\n ").concat(i.showButtonText?i.formatColumns():"","\n ").concat(t.constants.html.dropdownCaret,"\n </button>\n ").concat(t.constants.html.toolbarDropdown[0])),i.showColumnsSearch&&(e.push(ha.sprintf(t.constants.html.toolbarDropdownItem,ha.sprintf('<input type="text" class="%s" name="columnsSearch" placeholder="%s" autocomplete="off">',t.constants.classes.input,i.formatSearch()))),e.push(t.constants.html.toolbarDropdownSeparator)),i.showColumnsToggleAll){var n=t.getVisibleColumns().length===t.columns.filter((function(e){return!t.isSelectionColumn(e)})).length;e.push(ha.sprintf(t.constants.html.toolbarDropdownItem,ha.sprintf('<input type="checkbox" class="toggle-all" %s> <span>%s</span>',n?'checked="checked"':"",i.formatColumnsToggleAll()))),e.push(t.constants.html.toolbarDropdownSeparator)}var r=0;return t.columns.forEach((function(e){e.visible&&r++})),t.columns.forEach((function(n,a){if(!t.isSelectionColumn(n)&&(!i.cardView||n.cardVisible)){var o=n.visible?' checked="checked"':"",s=r<=i.minimumCountColumns&&o?' disabled="disabled"':"";n.switchable&&(e.push(ha.sprintf(t.constants.html.toolbarDropdownItem,ha.sprintf('<input type="checkbox" data-field="%s" value="%s"%s%s> <span>%s</span>',n.field,a,o,s,n.title))),l++)}})),e.push(t.constants.html.toolbarDropdown[1],"</div>"),e.join("")}}});for(var c={},u=0,h=Object.entries(this.buttons);u<h.length;u++){var d=s(h[u],2),p=d[0],g=d[1],m=void 0;if(g.hasOwnProperty("html"))"function"==typeof g.html?m=g.html():"string"==typeof g.html&&(m=g.html);else{if(m='<button class="'.concat(this.constants.buttonsClass,'" type="button" name="').concat(p,'"'),g.hasOwnProperty("attributes"))for(var v=0,b=Object.entries(g.attributes);v<b.length;v++){var y=s(b[v],2),w=y[0],S=y[1];m+=" ".concat(w,'="').concat(S,'"')}m+=">",i.showButtonIcons&&g.hasOwnProperty("icon")&&(m+="".concat(ha.sprintf(this.constants.html.icon,i.iconsPrefix,g.icon)," ")),i.showButtonText&&g.hasOwnProperty("text")&&(m+=g.text),m+="</button>"}c[p]=m;var x="show".concat(p.charAt(0).toUpperCase()).concat(p.substring(1)),E=i[x];!(!g.hasOwnProperty("render")||g.hasOwnProperty("render")&&g.render)||void 0!==E&&!0!==E||(i[x]=!0),i.buttonsOrder.includes(p)||i.buttonsOrder.push(p)}var _,A=f(i.buttonsOrder);try{for(A.s();!(_=A.n()).done;){var C=_.value;i["show".concat(C.charAt(0).toUpperCase()).concat(C.substring(1))]&&a.push(c[C])}}catch(e){A.e(e)}finally{A.f()}a.push("</div>"),(this.showToolbar||a.length>2)&&this.$toolbar.append(a.join(""));for(var k=0,T=Object.entries(this.buttons);k<T.length;k++){var R=s(T[k],2),N=R[0],I=R[1];if(I.hasOwnProperty("event")){if("function"==typeof I.event||"string"==typeof I.event)if("continue"===function(){var e="string"==typeof I.event?window[I.event]:I.event;return t.$toolbar.find('button[name="'.concat(N,'"]')).off("click").on("click",(function(){return e.call(t)})),"continue"}())continue;for(var B=function(){var e=s(P[O],2),n=e[0],r=e[1],i="string"==typeof r?window[r]:r;t.$toolbar.find('button[name="'.concat(N,'"]')).off(n).on(n,(function(){return i.call(t)}))},O=0,P=Object.entries(I.event);O<P.length;O++)B()}}if(i.showColumns){var L=(e=this.$toolbar.find(".keep-open")).find('input[type="checkbox"]:not(".toggle-all")'),F=e.find('input[type="checkbox"].toggle-all');if(l<=i.minimumCountColumns&&e.find("input").prop("disabled",!0),e.find("li, label").off("click").on("click",(function(e){e.stopImmediatePropagation()})),L.off("click").on("click",(function(e){var r=e.currentTarget,i=n.default(r);t._toggleColumn(i.val(),i.prop("checked"),!1),t.trigger("column-switch",i.data("field"),i.prop("checked")),F.prop("checked",L.filter(":checked").length===t.columns.filter((function(e){return!t.isSelectionColumn(e)})).length)})),F.off("click").on("click",(function(e){var r=e.currentTarget;t._toggleAllColumns(n.default(r).prop("checked"))})),i.showColumnsSearch){var D=e.find('[name="columnsSearch"]'),M=e.find(".dropdown-item-marker");D.on("keyup paste change",(function(e){var t=e.currentTarget,r=n.default(t).val().toLowerCase();M.show(),L.each((function(e,t){var i=n.default(t).parents(".dropdown-item-marker");i.text().toLowerCase().includes(r)||i.hide()}))}))}}var j=function(e){var n="keyup drop blur mouseup";e.off(n).on(n,(function(e){i.searchOnEnterKey&&13!==e.keyCode||[37,38,39,40].includes(e.keyCode)||(clearTimeout(o),o=setTimeout((function(){t.onSearch({currentTarget:e.currentTarget})}),i.searchTimeOut))}))};if((i.search||this.showSearchClearButton)&&"string"!=typeof i.searchSelector){a=[];var W=ha.sprintf(this.constants.html.searchButton,this.constants.buttonsClass,i.formatSearch(),i.showButtonIcons?ha.sprintf(this.constants.html.icon,i.iconsPrefix,i.icons.search):"",i.showButtonText?i.formatSearch():""),U=ha.sprintf(this.constants.html.searchClearButton,this.constants.buttonsClass,i.formatClearSearch(),i.showButtonIcons?ha.sprintf(this.constants.html.icon,i.iconsPrefix,i.icons.clearSearch):"",i.showButtonText?i.formatClearSearch():""),z='<input class="'.concat(this.constants.classes.input,"\n ").concat(ha.sprintf(" %s%s",this.constants.classes.inputPrefix,i.iconSize),'\n search-input" type="search" placeholder="').concat(i.formatSearch(),'" autocomplete="off">'),H=z;if(i.showSearchButton||i.showSearchClearButton){var V=(i.showSearchButton?W:"")+(i.showSearchClearButton?U:"");H=i.search?ha.sprintf(this.constants.html.inputGroup,z,V):V}a.push(ha.sprintf('\n <div class="'.concat(this.constants.classes.pull,"-").concat(i.searchAlign," search ").concat(this.constants.classes.inputGroup,'">\n %s\n </div>\n '),H)),this.$toolbar.append(a.join(""));var q=ha.getSearchInput(this);i.showSearchButton?(this.$toolbar.find(".search button[name=search]").off("click").on("click",(function(){clearTimeout(o),o=setTimeout((function(){t.onSearch({currentTarget:q})}),i.searchTimeOut)})),i.searchOnEnterKey&&j(q)):j(q),i.showSearchClearButton&&this.$toolbar.find(".search button[name=clearSearch]").click((function(){t.resetSearch()}))}else if("string"==typeof i.searchSelector){j(ha.getSearchInput(this))}}},{key:"onSearch",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.currentTarget,r=e.firedByInitSearchText,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(void 0!==t&&n.default(t).length&&i){var a=n.default(t).val().trim();if(this.options.trimOnSearch&&n.default(t).val()!==a&&n.default(t).val(a),this.searchText===a)return;var o=ha.getSearchInput(this),s=t instanceof jQuery?t:n.default(t);(s.is(o)||s.hasClass("search-input"))&&(this.searchText=a,this.options.searchText=a)}r||(this.options.pageNumber=1),this.initSearch(),r?"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=ha.calculateObjectValue(this.options,this.options.customSearch,[this.options.data,this.searchText,this.filterColumns]),void(this.options.sortReset&&(this.unsortedData=l(this.data)));var t=this.searchText&&(this.fromHtml?ha.escapeHTML(this.searchText):this.searchText),n=t?t.toLowerCase():"",r=ha.isEmptyObject(this.filterColumns)?null:this.filterColumns;this.options.searchAccentNeutralise&&(n=ha.normalizeAccent(n)),"function"==typeof this.filterOptions.filterAlgorithm?this.data=this.options.data.filter((function(t){return e.filterOptions.filterAlgorithm.apply(null,[t,r])})):"string"==typeof this.filterOptions.filterAlgorithm&&(this.data=r?this.options.data.filter((function(t){var n=e.filterOptions.filterAlgorithm;if("and"===n){for(var i in r)if(Array.isArray(r[i])&&!r[i].includes(t[i])||!Array.isArray(r[i])&&t[i]!==r[i])return!1}else if("or"===n){var a=!1;for(var o in r)(Array.isArray(r[o])&&r[o].includes(t[o])||!Array.isArray(r[o])&&t[o]===r[o])&&(a=!0);return a}return!0})):l(this.options.data));var i=this.getVisibleFields();this.data=n?this.data.filter((function(r,a){for(var o=0;o<e.header.fields.length;o++)if(e.header.searchables[o]&&(!e.options.visibleSearch||-1!==i.indexOf(e.header.fields[o]))){var s=ha.isNumeric(e.header.fields[o])?parseInt(e.header.fields[o],10):e.header.fields[o],l=e.columns[e.fieldsColumnsIndex[s]],c=void 0;if("string"==typeof s){c=r;for(var u=s.split("."),f=0;f<u.length;f++)null!==c[u[f]]&&(c=c[u[f]])}else c=r[s];if(e.options.searchAccentNeutralise&&(c=ha.normalizeAccent(c)),l&&l.searchFormatter&&(c=ha.calculateObjectValue(l,e.header.formatters[o],[c,r,a,l.field],c)),"string"==typeof c||"number"==typeof c){if(e.options.strictSearch&&"".concat(c).toLowerCase()===n||e.options.regexSearch&&ha.regexCompare(c,t))return!0;var h=/(?:(<=|=>|=<|>=|>|<)(?:\s+)?(-?\d+)?|(-?\d+)?(\s+)?(<=|=>|=<|>=|>|<))/gm.exec(e.searchText),d=!1;if(h){var p=h[1]||"".concat(h[5],"l"),g=h[2]||h[3],m=parseInt(c,10),v=parseInt(g,10);switch(p){case">":case"<l":d=m>v;break;case"<":case">l":d=m<v;break;case"<=":case"=<":case">=l":case"=>l":d=m<=v;break;case">=":case"=>":case"<=l":case"=<l":d=m>=v}}if(d||"".concat(c).toLowerCase().includes(n))return!0}}return!1})):this.data,this.options.sortReset&&(this.unsortedData=l(this.data)),this.initSort()}}},{key:"initPagination",value:function(){var e=this,t=this.options;if(t.pagination){this.$pagination.show();var n,r,i,a,o,s,l,c=[],u=!1,f=this.getData({includeHiddenRows:!1}),h=t.pageList;if("string"==typeof h&&(h=h.replace(/\[|\]| /g,"").toLowerCase().split(",")),h=h.map((function(e){return"string"==typeof e?e.toLowerCase()===t.formatAllRows().toLowerCase()||["all","unlimited"].includes(e.toLowerCase())?t.formatAllRows():+e:e})),this.paginationParts=t.paginationParts,"string"==typeof this.paginationParts&&(this.paginationParts=this.paginationParts.replace(/\[|\]| |'/g,"").split(",")),"server"!==t.sidePagination&&(t.totalRows=f.length),this.totalPages=0,t.totalRows&&(t.pageSize===t.formatAllRows()&&(t.pageSize=t.totalRows,u=!0),this.totalPages=1+~~((t.totalRows-1)/t.pageSize),t.totalPages=this.totalPages),this.totalPages>0&&t.pageNumber>this.totalPages&&(t.pageNumber=this.totalPages),this.pageFrom=(t.pageNumber-1)*t.pageSize+1,this.pageTo=t.pageNumber*t.pageSize,this.pageTo>t.totalRows&&(this.pageTo=t.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"))&&c.push('<div class="'.concat(this.constants.classes.pull,"-").concat(t.paginationDetailHAlign,' pagination-detail">')),this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")){var d=this.paginationParts.includes("pageInfoShort")?t.formatDetailPagination(t.totalRows):t.formatShowingRows(this.pageFrom,this.pageTo,t.totalRows,t.totalNotFiltered);c.push('<span class="pagination-info">\n '.concat(d,"\n </span>"))}if(this.paginationParts.includes("pageSize")){c.push('<div class="page-list">');var p=['<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?t.formatAllRows():t.pageSize,"\n </span>\n ").concat(this.constants.html.dropdownCaret,"\n </button>\n ").concat(this.constants.html.pageDropdown[0])];h.forEach((function(n,r){var i;(!t.smartDisplay||0===r||h[r-1]<t.totalRows||n===t.formatAllRows())&&(i=u?n===t.formatAllRows()?e.constants.classes.dropdownActive:"":n===t.pageSize?e.constants.classes.dropdownActive:"",p.push(ha.sprintf(e.constants.html.pageDropdownItem,i,n)))})),p.push("".concat(this.constants.html.pageDropdown[1],"</div>")),c.push(t.formatRecordsPerPage(p.join("")))}if((this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")||this.paginationParts.includes("pageSize"))&&c.push("</div></div>"),this.paginationParts.includes("pageList")){c.push('<div class="'.concat(this.constants.classes.pull,"-").concat(t.paginationHAlign,' pagination">'),ha.sprintf(this.constants.html.pagination[0],ha.sprintf(" pagination-%s",t.iconSize)),ha.sprintf(this.constants.html.paginationItem," page-pre",t.formatSRPaginationPreText(),t.paginationPreText)),this.totalPages<t.paginationSuccessivelySize?(r=1,i=this.totalPages):i=(r=t.pageNumber-t.paginationPagesBySide)+2*t.paginationPagesBySide,t.pageNumber<t.paginationSuccessivelySize-1&&(i=t.paginationSuccessivelySize),t.paginationSuccessivelySize>this.totalPages-r&&(r=r-(t.paginationSuccessivelySize-(this.totalPages-r))+1),r<1&&(r=1),i>this.totalPages&&(i=this.totalPages);var g=Math.round(t.paginationPagesBySide/2),m=function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return ha.sprintf(e.constants.html.paginationItem,r+(n===t.pageNumber?" ".concat(e.constants.classes.paginationActive):""),t.formatSRPaginationPageText(n),n)};if(r>1){var v=t.paginationPagesBySide;for(v>=r&&(v=r-1),n=1;n<=v;n++)c.push(m(n));r-1===v+1?(n=r-1,c.push(m(n))):r-1>v&&(r-2*t.paginationPagesBySide>t.paginationPagesBySide&&t.paginationUseIntermediate?(n=Math.round((r-g)/2+g),c.push(m(n," page-intermediate"))):c.push(ha.sprintf(this.constants.html.paginationItem," page-first-separator disabled","","...")))}for(n=r;n<=i;n++)c.push(m(n));if(this.totalPages>i){var b=this.totalPages-(t.paginationPagesBySide-1);for(i>=b&&(b=i+1),i+1===b-1?(n=i+1,c.push(m(n))):b>i+1&&(this.totalPages-i>2*t.paginationPagesBySide&&t.paginationUseIntermediate?(n=Math.round((this.totalPages-g-i)/2+i),c.push(m(n," page-intermediate"))):c.push(ha.sprintf(this.constants.html.paginationItem," page-last-separator disabled","","..."))),n=b;n<=this.totalPages;n++)c.push(m(n))}c.push(ha.sprintf(this.constants.html.paginationItem," page-next",t.formatSRPaginationNextText(),t.paginationNextText)),c.push(this.constants.html.pagination[1],"</div>")}this.$pagination.html(c.join(""));var y=["bottom","both"].includes(t.paginationVAlign)?" ".concat(this.constants.classes.dropup):"";this.$pagination.last().find(".page-list > div").addClass(y),t.onlyInfoPagination||(a=this.$pagination.find(".page-list a"),o=this.$pagination.find(".page-pre"),s=this.$pagination.find(".page-next"),l=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(),t.smartDisplay&&(h.length<2||t.totalRows<=h[0])&&this.$pagination.find("div.page-list").hide(),this.$pagination[this.getData().length?"show":"hide"](),t.paginationLoop||(1===t.pageNumber&&o.addClass("disabled"),t.pageNumber===this.totalPages&&s.addClass("disabled")),u&&(t.pageSize=t.formatAllRows()),a.off("click").on("click",(function(t){return e.onPageListChange(t)})),o.off("click").on("click",(function(t){return e.onPagePre(t)})),s.off("click").on("click",(function(t){return e.onPageNext(t)})),l.off("click").on("click",(function(t){return e.onPageNumber(t)})))}else this.$pagination.hide()}},{key:"updatePagination",value:function(e){e&&n.default(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?this.initServer():this.initBody())}},{key:"onPageListChange",value:function(e){e.preventDefault();var t=n.default(e.currentTarget);return t.parent().addClass(this.constants.classes.dropdownActive).siblings().removeClass(this.constants.classes.dropdownActive),this.options.pageSize=t.text().toUpperCase()===this.options.formatAllRows().toUpperCase()?this.options.formatAllRows():+t.text(),this.$toolbar.find(".page-size").text(this.options.pageSize),this.updatePagination(e),!1}},{key:"onPagePre",value:function(e){if(!n.default(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(!n.default(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!==+n.default(e.currentTarget).text())return this.options.pageNumber=+n.default(e.currentTarget).text(),this.updatePagination(e),!1}},{key:"initRow",value:function(e,t,n,i){var a=this,o=[],l={},c=[],u="",f={},h=[];if(!(ha.findIndex(this.hiddenRows,e)>-1)){if((l=ha.calculateObjectValue(this.options,this.options.rowStyle,[e,t],l))&&l.css)for(var d=0,p=Object.entries(l.css);d<p.length;d++){var g=s(p[d],2),m=g[0],v=g[1];c.push("".concat(m,": ").concat(v))}if(f=ha.calculateObjectValue(this.options,this.options.rowAttributes,[e,t],f))for(var b=0,y=Object.entries(f);b<y.length;b++){var w=s(y[b],2),S=w[0],x=w[1];h.push("".concat(S,'="').concat(ha.escapeHTML(x),'"'))}if(e._data&&!ha.isEmptyObject(e._data))for(var E=0,_=Object.entries(e._data);E<_.length;E++){var A=s(_[E],2),C=A[0],k=A[1];if("index"===C)return;u+=" data-".concat(C,"='").concat("object"===r(k)?JSON.stringify(k):k,"'")}o.push("<tr",ha.sprintf(" %s",h.length?h.join(" "):void 0),ha.sprintf(' id="%s"',Array.isArray(e)?void 0:e._id),ha.sprintf(' class="%s"',l.classes||(Array.isArray(e)?void 0:e._class)),ha.sprintf(' style="%s"',Array.isArray(e)?void 0:e._style),' data-index="'.concat(t,'"'),ha.sprintf(' data-uniqueid="%s"',ha.getItemField(e,this.options.uniqueId,!1)),ha.sprintf(' data-has-detail-view="%s"',this.options.detailView&&ha.calculateObjectValue(null,this.options.detailFilter,[t,e])?"true":void 0),ha.sprintf("%s",u),">"),this.options.cardView&&o.push('<td colspan="'.concat(this.header.fields.length,'"><div class="card-views">'));var T="";return ha.hasDetailViewIcon(this.options)&&(T="<td>",ha.calculateObjectValue(null,this.options.detailFilter,[t,e])&&(T+='\n <a class="detail-icon" href="#">\n '.concat(ha.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailOpen),"\n </a>\n ")),T+="</td>"),T&&"right"!==this.options.detailViewAlign&&o.push(T),this.header.fields.forEach((function(n,r){var i="",l=ha.getItemField(e,n,a.options.escape),u="",f="",h={},d="",p=a.header.classes[r],g="",m="",v="",b="",y="",w="",S=a.columns[r];if((!a.fromHtml&&!a.autoMergeCells||void 0!==l||S.checkbox||S.radio)&&S.visible&&(!a.options.cardView||S.cardVisible)){if(S.escape&&(l=ha.escapeHTML(l)),c.concat([a.header.styles[r]]).length&&(m+="".concat(c.concat([a.header.styles[r]]).join("; "))),e["_".concat(n,"_style")]&&(m+="".concat(e["_".concat(n,"_style")])),m&&(g=' style="'.concat(m,'"')),e["_".concat(n,"_id")]&&(d=ha.sprintf(' id="%s"',e["_".concat(n,"_id")])),e["_".concat(n,"_class")]&&(p=ha.sprintf(' class="%s"',e["_".concat(n,"_class")])),e["_".concat(n,"_rowspan")]&&(b=ha.sprintf(' rowspan="%s"',e["_".concat(n,"_rowspan")])),e["_".concat(n,"_colspan")]&&(y=ha.sprintf(' colspan="%s"',e["_".concat(n,"_colspan")])),e["_".concat(n,"_title")]&&(w=ha.sprintf(' title="%s"',e["_".concat(n,"_title")])),(h=ha.calculateObjectValue(a.header,a.header.cellStyles[r],[l,e,t,n],h)).classes&&(p=' class="'.concat(h.classes,'"')),h.css){for(var x=[],E=0,_=Object.entries(h.css);E<_.length;E++){var A=s(_[E],2),C=A[0],k=A[1];x.push("".concat(C,": ").concat(k))}g=' style="'.concat(x.concat(a.header.styles[r]).join("; "),'"')}if(u=ha.calculateObjectValue(S,a.header.formatters[r],[l,e,t,n],l),S.checkbox||S.radio||(u=null==u?a.options.undefinedText:u),S.searchable&&a.searchText&&a.options.searchHighlight&&!S.checkbox&&!S.radio){var T="",R=new RegExp("(".concat(a.searchText.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),")"),"gim"),N="<mark>$1</mark>";if(u&&/<(?=.*? .*?\/ ?>|br|hr|input|!--|wbr)[a-z]+.*?>|<([a-z]+).*?<\/\1>/i.test(u)){var I=(new DOMParser).parseFromString(u.toString(),"text/html").documentElement.textContent,B=I.replace(R,N);I=I.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),T=u.replace(new RegExp("(>\\s*)(".concat(I,")(\\s*)"),"gm"),"$1".concat(B,"$3"))}else T=u.toString().replace(R,N);u=ha.calculateObjectValue(S,S.searchHighlightFormatter,[u,a.searchText],T)}if(e["_".concat(n,"_data")]&&!ha.isEmptyObject(e["_".concat(n,"_data")]))for(var O=0,P=Object.entries(e["_".concat(n,"_data")]);O<P.length;O++){var L=s(P[O],2),F=L[0],D=L[1];if("index"===F)return;v+=" data-".concat(F,'="').concat(D,'"')}if(S.checkbox||S.radio){f=S.checkbox?"checkbox":f,f=S.radio?"radio":f;var M=S.class||"",j=ha.isObject(u)&&u.hasOwnProperty("checked")?u.checked:(!0===u||l)&&!1!==u,W=!S.checkboxEnabled||u&&u.disabled;i=[a.options.cardView?'<div class="card-view '.concat(M,'">'):'<td class="bs-checkbox '.concat(M,'"').concat(p).concat(g,">"),'<label>\n <input\n data-index="'.concat(t,'"\n name="').concat(a.options.selectItemName,'"\n type="').concat(f,'"\n ').concat(ha.sprintf('value="%s"',e[a.options.idField]),"\n ").concat(ha.sprintf('checked="%s"',j?"checked":void 0),"\n ").concat(ha.sprintf('disabled="%s"',W?"disabled":void 0)," />\n <span></span>\n </label>"),a.header.formatters[r]&&"string"==typeof u?u:"",a.options.cardView?"</div>":"</td>"].join(""),e[a.header.stateField]=!0===u||!!l||u&&u.checked}else if(a.options.cardView){var U=a.options.showHeader?'<span class="card-view-title '.concat(h.classes,'"').concat(g,">").concat(ha.getFieldTitle(a.columns,n),"</span>"):"";i='<div class="card-view">'.concat(U,'<span class="card-view-value ').concat(h.classes,'"').concat(g,">").concat(u,"</span></div>"),a.options.smartDisplay&&""===u&&(i='<div class="card-view"></div>')}else i="<td".concat(d).concat(p).concat(g).concat(v).concat(b).concat(y).concat(w,">").concat(u,"</td>");o.push(i)}})),T&&"right"===this.options.detailViewAlign&&o.push(T),this.options.cardView&&o.push("</div></td>"),o.push("</tr>"),o.join("")}}},{key:"initBody",value:function(e,t){var r=this,i=this.getData();this.trigger("pre-body",i),this.$body=this.$el.find(">tbody"),this.$body.length||(this.$body=n.default("<tbody></tbody>").appendTo(this.$el)),this.options.pagination&&"server"!==this.options.sidePagination||(this.pageFrom=1,this.pageTo=i.length);var a=[],o=n.default(document.createDocumentFragment()),s=!1,l=[];this.autoMergeCells=ha.checkAutoMergeCells(i.slice(this.pageFrom-1,this.pageTo));for(var c=this.pageFrom-1;c<this.pageTo;c++){var u=i[c],f=this.initRow(u,c,i,o);if(s=s||!!f,f&&"string"==typeof f){var h=this.options.uniqueId;if(h&&u.hasOwnProperty(h)){var d=u[h],p=this.$body.find(ha.sprintf('> tr[data-uniqueid="%s"][data-has-detail-view]',d)).next();p.is("tr.detail-view")&&(l.push(c),t&&d===t||(f+=p[0].outerHTML))}this.options.virtualScroll?a.push(f):o.append(f)}}s?this.options.virtualScroll?(this.virtualScroll&&this.virtualScroll.destroy(),this.virtualScroll=new da({rows:a,fixedScroll:e,scrollEl:this.$tableBody[0],contentEl:this.$body[0],itemHeight:this.options.virtualScrollItemHeight,callback:function(e,t){r.fitHeader(),r.initBodyEvent(),r.trigger("virtual-scroll",e,t)}})):this.$body.html(o):this.$body.html('<tr class="no-records-found">'.concat(ha.sprintf('<td colspan="%s">%s</td>',this.getVisibleFields().length+ha.getDetailViewIndexOffset(this.options),this.options.formatNoMatches()),"</tr>")),l.forEach((function(e){r.expandRow(e)})),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(t){var r=n.default(t.currentTarget),i=r.parent(),a=n.default(t.target).parents(".card-views").children(),o=n.default(t.target).parents(".card-view"),s=i.data("index"),l=e.data[s],c=e.options.cardView?a.index(o):r[0].cellIndex,u=e.getVisibleFields()[c-ha.getDetailViewIndexOffset(e.options)],f=e.columns[e.fieldsColumnsIndex[u]],h=ha.getItemField(l,u,e.options.escape);if(!r.find(".detail-icon").length){if(e.trigger("click"===t.type?"click-cell":"dbl-click-cell",u,h,l,r),e.trigger("click"===t.type?"click-row":"dbl-click-row",l,i,u),"click"===t.type&&e.options.clickToSelect&&f.clickToSelect&&!ha.calculateObjectValue(e.options,e.options.ignoreClickToSelectOn,[t.target])){var d=i.find(ha.sprintf('[name="%s"]',e.options.selectItemName));d.length&&d[0].click()}"click"===t.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(t){return t.preventDefault(),e.toggleDetailView(n.default(t.currentTarget).parent().parent().data("index")),!1})),this.$selectItem=this.$body.find(ha.sprintf('[name="%s"]',this.options.selectItemName)),this.$selectItem.off("click").on("click",(function(t){t.stopImmediatePropagation();var r=n.default(t.currentTarget);e._toggleCheck(r.prop("checked"),r.data("index"))})),this.header.events.forEach((function(t,r){var i=t;if(i){"string"==typeof i&&(i=ha.calculateObjectValue(null,i));var a=e.header.fields[r],o=e.getVisibleFields().indexOf(a);if(-1!==o){o+=ha.getDetailViewIndexOffset(e.options);var s=function(t){if(!i.hasOwnProperty(t))return"continue";var r=i[t];e.$body.find(">tr:not(.no-records-found)").each((function(i,s){var l=n.default(s),c=l.find(e.options.cardView?".card-views>.card-view":">td").eq(o),u=t.indexOf(" "),f=t.substring(0,u),h=t.substring(u+1);c.find(h).off(f).on(f,(function(t){var n=l.data("index"),i=e.data[n],o=i[a];r.apply(e,[t,o,i,n])}))}))};for(var l in i)s(l)}}}))}},{key:"initServer",value:function(e,t,r){var i=this,a={},o=this.header.fields.indexOf(this.options.sortName),s={searchText:this.searchText,sortName:this.options.sortName,sortOrder:this.options.sortOrder};if(this.header.sortNames[o]&&(s.sortName=this.header.sortNames[o]),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),r||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.columns.filter((function(e){return!e.searchable})).length){s.searchable=[];var l,c=f(this.columns);try{for(c.s();!(l=c.n()).done;){var u=l.value;!u.checkbox&&u.searchable&&(this.options.visibleSearch&&u.visible||!this.options.visibleSearch)&&s.searchable.push(u.field)}}catch(e){c.e(e)}finally{c.f()}}if(ha.isEmptyObject(this.filterColumnsPartial)||(s.filter=JSON.stringify(this.filterColumnsPartial,null)),n.default.extend(s,t||{}),!1!==(a=ha.calculateObjectValue(this.options,this.options.queryParams,[s],a))){e||this.showLoading();var h=n.default.extend({},ha.calculateObjectValue(null,this.options.ajaxOptions),{type:this.options.method,url:r||this.options.url,data:"application/json"===this.options.contentType&&"post"===this.options.method?JSON.stringify(a):a,cache:this.options.cache,contentType:this.options.contentType,dataType:this.options.dataType,success:function(t,n,r){var a=ha.calculateObjectValue(i.options,i.options.responseHandler,[t,r],t);i.load(a),i.trigger("load-success",a,r&&r.status,r),e||i.hideLoading(),"server"===i.options.sidePagination&&i.options.pageNumber>1&&a[i.options.totalField]>0&&!a[i.options.dataField].length&&i.updatePagination()},error:function(t){if(t&&0===t.status&&i._xhrAbort)i._xhrAbort=!1;else{var n=[];"server"===i.options.sidePagination&&((n={})[i.options.totalField]=0,n[i.options.dataField]=[]),i.load(n),i.trigger("load-error",t&&t.status,t),e||i.$tableLoading.hide()}}});return this.options.ajax?ha.calculateObjectValue(this,this.options.ajax,[h],null):(this._xhr&&4!==this._xhr.readyState&&(this._xhrAbort=!0,this._xhr.abort()),this._xhr=n.default.ajax(h)),a}}}},{key:"initSearchText",value:function(){if(this.options.search&&(this.searchText="",""!==this.options.searchText)){var e=ha.getSearchInput(this);e.val(this.options.searchText),this.onSearch({currentTarget:e,firedByInitSearchText:!0})}}},{key:"getCaret",value:function(){var e=this;this.$header.find("th").each((function(t,r){n.default(r).find(".sortable").removeClass("desc asc").addClass(n.default(r).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,t){n.default(t).closest("tr")[n.default(t).prop("checked")?"addClass":"removeClass"]("selected")}))}},{key:"updateRows",value:function(){var e=this;this.$selectItem.each((function(t,r){e.data[n.default(r).data("index")][e.header.stateField]=n.default(r).prop("checked")}))}},{key:"resetRows",value:function(){var e,t=f(this.data);try{for(t.s();!(e=t.n()).done;){var n=e.value;this.$selectAll.prop("checked",!1),this.$selectItem.prop("checked",!1),this.header.stateField&&(n[this.header.stateField]=!1)}}catch(e){t.e(e)}finally{t.f()}this.initHiddenRows()}},{key:"trigger",value:function(t){for(var r,i,a="".concat(t,".bs.table"),o=arguments.length,s=new Array(o>1?o-1:0),l=1;l<o;l++)s[l-1]=arguments[l];(r=this.options)[e.EVENTS[a]].apply(r,[].concat(s,[this])),this.$el.trigger(n.default.Event(a,{sender:this}),s),(i=this.options).onAll.apply(i,[a].concat([].concat(s,[this]))),this.$el.trigger(n.default.Event("all.bs.table",{sender:this}),[a,s])}},{key:"resetHeader",value:function(){var e=this;clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout((function(){return e.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 t=this.$tableBody.get(0),r=t.scrollWidth>t.clientWidth&&t.scrollHeight>t.clientHeight+this.$header.outerHeight()?ha.getScrollBarWidth():0;this.$el.css("margin-top",-this.$header.outerHeight());var i=n.default(":focus");if(i.length>0){var a=i.parents("th");if(a.length>0){var o=a.attr("data-field");if(void 0!==o){var s=this.$header.find("[data-field='".concat(o,"']"));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",r).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 l=n.default(".focus-temp:visible:eq(0)");l.length>0&&(l.focus(),this.$header.find(".focus-temp").removeClass("focus-temp")),this.$header.find("th[data-field]").each((function(t,r){e.$header_.find(ha.sprintf('th[data-field="%s"]',n.default(r).data("field"))).data(n.default(r).data())}));for(var c=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(t,r){var i=n.default(r);if(ha.hasDetailViewIcon(e.options)&&(0===t&&"right"!==e.options.detailViewAlign||t===h-1&&"right"===e.options.detailViewAlign)){var a=u.filter(".detail"),o=a.innerWidth()-a.find(".fht-cell").width();a.find(".fht-cell").width(i.innerWidth()-o)}else{var s=t-ha.getDetailViewIndexOffset(e.options),l=e.$header_.find(ha.sprintf('th[data-field="%s"]',c[s]));l.length>1&&(l=n.default(u[i[0].cellIndex]));var f=l.innerWidth()-l.find(".fht-cell").width();l.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 e=this.getData(),t=[],n="";ha.hasDetailViewIcon(this.options)&&(n='<th class="detail"><div class="th-inner"></div><div class="fht-cell"></div></th>'),n&&"right"!==this.options.detailViewAlign&&t.push(n);var r,i=f(this.columns);try{for(i.s();!(r=i.n()).done;){var a,o,l=r.value,c=[],u={},h=ha.sprintf(' class="%s"',l.class);if(!(!l.visible||this.footerData&&this.footerData.length>0&&!(l.field in this.footerData[0]))){if(this.options.cardView&&!l.cardVisible)return;if(a=ha.sprintf("text-align: %s; ",l.falign?l.falign:l.align),o=ha.sprintf("vertical-align: %s; ",l.valign),(u=ha.calculateObjectValue(null,this.options.footerStyle,[l]))&&u.css)for(var d=0,p=Object.entries(u.css);d<p.length;d++){var g=s(p[d],2),m=g[0],v=g[1];c.push("".concat(m,": ").concat(v))}u&&u.classes&&(h=ha.sprintf(' class="%s"',l.class?[l.class,u.classes].join(" "):u.classes)),t.push("<th",h,ha.sprintf(' style="%s"',a+o+c.concat().join("; ")));var b=0;this.footerData&&this.footerData.length>0&&(b=this.footerData[0]["_".concat(l.field,"_colspan")]||0),b&&t.push(' colspan="'.concat(b,'" ')),t.push(">"),t.push('<div class="th-inner">');var y="";this.footerData&&this.footerData.length>0&&(y=this.footerData[0][l.field]||""),t.push(ha.calculateObjectValue(l,l.footerFormatter,[e,y],y)),t.push("</div>"),t.push('<div class="fht-cell"></div>'),t.push("</div>"),t.push("</th>")}}}catch(e){i.e(e)}finally{i.f()}n&&"right"===this.options.detailViewAlign&&t.push(n),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(t.join("")),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 t=this.$tableBody.get(0),r=t.scrollWidth>t.clientWidth&&t.scrollHeight>t.clientHeight+this.$header.outerHeight()?ha.getScrollBarWidth():0;this.$tableFooter.css("margin-right",r).find("table").css("width",this.$el.outerWidth()).attr("class",this.$el.attr("class"));var i=this.$tableFooter.find("th"),a=this.$body.find(">tr:first-child:not(.no-records-found)");for(i.find(".fht-cell").width("auto");a.length&&a.find('>td[colspan]:not([colspan="1"])').length;)a=a.next();var o=a.find("> *").length;a.find("> *").each((function(t,r){var a=n.default(r);if(ha.hasDetailViewIcon(e.options)&&(0===t&&"left"===e.options.detailViewAlign||t===o-1&&"right"===e.options.detailViewAlign)){var s=i.filter(".detail"),l=s.innerWidth()-s.find(".fht-cell").width();s.find(".fht-cell").width(a.innerWidth()-l)}else{var c=i.eq(t),u=c.innerWidth()-c.find(".fht-cell").width();c.find(".fht-cell").width(a.innerWidth()-u)}})),this.horizontalScroll()}}},{key:"horizontalScroll",value:function(){var e=this;this.$tableBody.off("scroll").on("scroll",(function(){var t=e.$tableBody.scrollLeft();e.options.showHeader&&e.options.height&&e.$tableHeader.scrollLeft(t),e.options.showFooter&&!e.options.cardView&&e.$tableFooter.scrollLeft(t),e.trigger("scroll-body",e.$tableBody)}))}},{key:"getVisibleFields",value:function(){var e,t=[],n=f(this.header.fields);try{for(n.s();!(e=n.n()).done;){var r=e.value,i=this.columns[this.fieldsColumnsIndex[r]];i&&i.visible&&t.push(r)}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"initHiddenRows",value:function(){this.hiddenRows=[]}},{key:"getOptions",value:function(){var e=n.default.extend({},this.options);return delete e.data,n.default.extend(!0,{},e)}},{key:"refreshOptions",value:function(e){ha.compareObjects(this.options,e,!0)||(this.options=n.default.extend(this.options,e),this.trigger("refresh-options",this.options),this.destroy(),this.init())}},{key:"getData",value:function(e){var t=this,n=this.options.data;if(!(this.searchText||this.options.customSearch||void 0!==this.options.sortName||this.enableCustomSort)&&ha.isEmptyObject(this.filterColumns)&&ha.isEmptyObject(this.filterColumnsPartial)||e&&e.unfiltered||(n=this.data),e&&e.useCurrentPage&&(n=n.slice(this.pageFrom-1,this.pageTo)),e&&!e.includeHiddenRows){var r=this.getHiddenRows();n=n.filter((function(e){return-1===ha.findIndex(r,e)}))}return e&&e.formatted&&n.forEach((function(e){for(var n=0,r=Object.entries(e);n<r.length;n++){var i=s(r[n],2),a=i[0],o=i[1],l=t.columns[t.fieldsColumnsIndex[a]];if(!l)return;e[a]=ha.calculateObjectValue(l,t.header.formatters[l.fieldIndex],[o,e,e.index,l.field],o)}})),n}},{key:"getSelections",value:function(){var e=this;return(this.options.maintainMetaData?this.options.data:this.data).filter((function(t){return!0===t[e.header.stateField]}))}},{key:"load",value:function(e){var t,n=e;this.options.pagination&&"server"===this.options.sidePagination&&(this.options.totalRows=n[this.options.totalField],this.options.totalNotFiltered=n[this.options.totalNotFilteredField],this.footerData=n[this.options.footerField]?[n[this.options.footerField]]:void 0),t=n.fixedScroll,n=Array.isArray(n)?n:n[this.options.dataField],this.initData(n),this.initSearch(),this.initPagination(),this.initBody(t)}},{key:"append",value:function(e){this.initData(e,"append"),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"prepend",value:function(e){this.initData(e,"prepend"),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"remove",value:function(e){for(var t=0,n=this.options.data.length-1;n>=0;n--){var r=this.options.data[n];(r.hasOwnProperty(e.field)||"$index"===e.field)&&((!r.hasOwnProperty(e.field)&&"$index"===e.field&&e.values.includes(n)||e.values.includes(r[e.field]))&&(t++,this.options.data.splice(n,1)))}t&&("server"===this.options.sidePagination&&(this.options.totalRows-=t,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.options.data.splice(0,this.options.data.length),this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"insertRow",value:function(e){e.hasOwnProperty("index")&&e.hasOwnProperty("row")&&(this.options.data.splice(e.index,0,e.row),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0))}},{key:"updateRow",value:function(e){var t,r=f(Array.isArray(e)?e:[e]);try{for(r.s();!(t=r.n()).done;){var i=t.value;i.hasOwnProperty("index")&&i.hasOwnProperty("row")&&(i.hasOwnProperty("replace")&&i.replace?this.options.data[i.index]=i.row:n.default.extend(this.options.data[i.index],i.row))}}catch(e){r.e(e)}finally{r.f()}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"getRowByUniqueId",value:function(e){var t,n,r,i=this.options.uniqueId,a=e,o=null;for(t=this.options.data.length-1;t>=0;t--){if((n=this.options.data[t]).hasOwnProperty(i))r=n[i];else{if(!n._data||!n._data.hasOwnProperty(i))continue;r=n._data[i]}if("string"==typeof r?a=a.toString():"number"==typeof r&&(Number(r)===r&&r%1==0?a=parseInt(a,10):r===Number(r)&&0!==r&&(a=parseFloat(a))),r===a){o=n;break}}return o}},{key:"updateByUniqueId",value:function(e){var t,r=null,i=f(Array.isArray(e)?e:[e]);try{for(i.s();!(t=i.n()).done;){var a=t.value;if(a.hasOwnProperty("id")&&a.hasOwnProperty("row")){var o=this.options.data.indexOf(this.getRowByUniqueId(a.id));-1!==o&&(a.hasOwnProperty("replace")&&a.replace?this.options.data[o]=a.row:n.default.extend(this.options.data[o],a.row),r=a.id)}}}catch(e){i.e(e)}finally{i.f()}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0,r)}},{key:"removeByUniqueId",value:function(e){var t=this.options.data.length,n=this.getRowByUniqueId(e);n&&this.options.data.splice(this.options.data.indexOf(n),1),t!==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:"updateCell",value:function(e){e.hasOwnProperty("index")&&e.hasOwnProperty("field")&&e.hasOwnProperty("value")&&(this.data[e.index][e.field]=e.value,!1!==e.reinit&&(this.initSort(),this.initBody(!0)))}},{key:"updateCellByUniqueId",value:function(e){var t=this;(Array.isArray(e)?e:[e]).forEach((function(e){var n=e.id,r=e.field,i=e.value,a=t.options.data.indexOf(t.getRowByUniqueId(n));-1!==a&&(t.options.data[a][r]=i)})),!1!==e.reinit&&(this.initSort(),this.initBody(!0))}},{key:"showRow",value:function(e){this._toggleRow(e,!0)}},{key:"hideRow",value:function(e){this._toggleRow(e,!1)}},{key:"_toggleRow",value:function(e,t){var n;if(e.hasOwnProperty("index")?n=this.getData()[e.index]:e.hasOwnProperty("uniqueId")&&(n=this.getRowByUniqueId(e.uniqueId)),n){var r=ha.findIndex(this.hiddenRows,n);t||-1!==r?t&&r>-1&&this.hiddenRows.splice(r,1):this.hiddenRows.push(n),this.initBody(!0),this.initPagination()}}},{key:"getHiddenRows",value:function(e){if(e)return this.initHiddenRows(),this.initBody(!0),void this.initPagination();var t,n=[],r=f(this.getData());try{for(r.s();!(t=r.n()).done;){var i=t.value;this.hiddenRows.includes(i)&&n.push(i)}}catch(e){r.e(e)}finally{r.f()}return this.hiddenRows=n,n}},{key:"showColumn",value:function(e){var t=this;(Array.isArray(e)?e:[e]).forEach((function(e){t._toggleColumn(t.fieldsColumnsIndex[e],!0,!0)}))}},{key:"hideColumn",value:function(e){var t=this;(Array.isArray(e)?e:[e]).forEach((function(e){t._toggleColumn(t.fieldsColumnsIndex[e],!1,!0)}))}},{key:"_toggleColumn",value:function(e,t,n){if(-1!==e&&this.columns[e].visible!==t&&(this.columns[e].visible=t,this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns)){var r=this.$toolbar.find('.keep-open input:not(".toggle-all")').prop("disabled",!1);n&&r.filter(ha.sprintf('[value="%s"]',e)).prop("checked",t),r.filter(":checked").length<=this.options.minimumCountColumns&&r.filter(":checked").prop("disabled",!0)}}},{key:"getVisibleColumns",value:function(){var e=this;return this.columns.filter((function(t){return t.visible&&!e.isSelectionColumn(t)}))}},{key:"getHiddenColumns",value:function(){return this.columns.filter((function(e){return!e.visible}))}},{key:"isSelectionColumn",value:function(e){return e.radio||e.checkbox}},{key:"showAllColumns",value:function(){this._toggleAllColumns(!0)}},{key:"hideAllColumns",value:function(){this._toggleAllColumns(!1)}},{key:"_toggleAllColumns",value:function(e){var t,r=this,i=f(this.columns.slice().reverse());try{for(i.s();!(t=i.n()).done;){var a=t.value;if(a.switchable){if(!e&&this.options.showColumns&&this.getVisibleColumns().length===this.options.minimumCountColumns)continue;a.visible=e}}}catch(e){i.e(e)}finally{i.f()}if(this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns){var o=this.$toolbar.find('.keep-open input[type="checkbox"]:not(".toggle-all")').prop("disabled",!1);e?o.prop("checked",e):o.get().reverse().forEach((function(t){o.filter(":checked").length>r.options.minimumCountColumns&&n.default(t).prop("checked",e)})),o.filter(":checked").length<=this.options.minimumCountColumns&&o.filter(":checked").prop("disabled",!0)}}},{key:"mergeCells",value:function(e){var t,n,r=e.index,i=this.getVisibleFields().indexOf(e.field),a=e.rowspan||1,o=e.colspan||1,s=this.$body.find(">tr[data-index]");i+=ha.getDetailViewIndexOffset(this.options);var l=s.eq(r).find(">td").eq(i);if(!(r<0||i<0||r>=this.data.length)){for(t=r;t<r+a;t++)for(n=i;n<i+o;n++)s.eq(t).find(">td").eq(n).hide();l.attr("rowspan",a).attr("colspan",o).show()}}},{key:"checkAll",value:function(){this._toggleCheckAll(!0)}},{key:"uncheckAll",value:function(){this._toggleCheckAll(!1)}},{key:"_toggleCheckAll",value:function(e){var t=this.getSelections();this.$selectAll.add(this.$selectAll_).prop("checked",e),this.$selectItem.filter(":enabled").prop("checked",e),this.updateRows(),this.updateSelected();var n=this.getSelections();e?this.trigger("check-all",n,t):this.trigger("uncheck-all",n,t)}},{key:"checkInvert",value:function(){var e=this.$selectItem.filter(":enabled"),t=e.filter(":checked");e.each((function(e,t){n.default(t).prop("checked",!n.default(t).prop("checked"))})),this.updateRows(),this.updateSelected(),this.trigger("uncheck-some",t),t=this.getSelections(),this.trigger("check-some",t)}},{key:"check",value:function(e){this._toggleCheck(!0,e)}},{key:"uncheck",value:function(e){this._toggleCheck(!1,e)}},{key:"_toggleCheck",value:function(e,t){var n=this.$selectItem.filter('[data-index="'.concat(t,'"]')),r=this.data[t];if(n.is(":radio")||this.options.singleSelect||this.options.multipleSelectRow&&!this.multipleSelectRowCtrlKey&&!this.multipleSelectRowShiftKey){var i,a=f(this.options.data);try{for(a.s();!(i=a.n()).done;){i.value[this.header.stateField]=!1}}catch(e){a.e(e)}finally{a.f()}this.$selectItem.filter(":checked").not(n).prop("checked",!1)}if(r[this.header.stateField]=e,this.options.multipleSelectRow){if(this.multipleSelectRowShiftKey&&this.multipleSelectRowLastSelectedIndex>=0)for(var o=s(this.multipleSelectRowLastSelectedIndex<t?[this.multipleSelectRowLastSelectedIndex,t]:[t,this.multipleSelectRowLastSelectedIndex],2),l=o[0],c=o[1],u=l+1;u<c;u++)this.data[u][this.header.stateField]=!0,this.$selectItem.filter('[data-index="'.concat(u,'"]')).prop("checked",!0);this.multipleSelectRowCtrlKey=!1,this.multipleSelectRowShiftKey=!1,this.multipleSelectRowLastSelectedIndex=e?t:-1}n.prop("checked",e),this.updateSelected(),this.trigger(e?"check":"uncheck",this.data[t],n)}},{key:"checkBy",value:function(e){this._toggleCheckBy(!0,e)}},{key:"uncheckBy",value:function(e){this._toggleCheckBy(!1,e)}},{key:"_toggleCheckBy",value:function(e,t){var n=this;if(t.hasOwnProperty("field")&&t.hasOwnProperty("values")){var r=[];this.data.forEach((function(i,a){if(!i.hasOwnProperty(t.field))return!1;if(t.values.includes(i[t.field])){var o=n.$selectItem.filter(":enabled").filter(ha.sprintf('[data-index="%s"]',a)),s=!!t.hasOwnProperty("onlyCurrentPage")&&t.onlyCurrentPage;if(!(o=e?o.not(":checked"):o.filter(":checked")).length&&s)return;o.prop("checked",e),i[n.header.stateField]=e,r.push(i),n.trigger(e?"check":"uncheck",i,o)}})),this.updateSelected(),this.trigger(e?"check-some":"uncheck-some",r)}}},{key:"refresh",value:function(e){e&&e.url&&(this.options.url=e.url),e&&e.pageNumber&&(this.options.pageNumber=e.pageNumber),e&&e.pageSize&&(this.options.pageSize=e.pageSize),this.trigger("refresh",this.initServer(e&&e.silent,e&&e.query,e&&e.url))}},{key:"destroy",value:function(){this.$el.insertBefore(this.$container),n.default(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")||"")}},{key:"resetView",value:function(e){var t=0;if(e&&e.height&&(this.options.height=e.height),this.$tableContainer.toggleClass("has-card-view",this.options.cardView),!this.options.cardView&&this.options.showHeader&&this.options.height?(this.$tableHeader.show(),this.resetHeader(),t+=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&&(t+=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),r=this.$pagination.outerHeight(!0),i=this.options.height-n-r,a=this.$tableBody.find(">table"),o=a.outerHeight();if(this.$tableContainer.css("height","".concat(i,"px")),this.$tableBorder&&a.is(":visible")){var s=i-o-2;this.$tableBody[0].scrollWidth-this.$tableBody.innerWidth()&&(s-=ha.getScrollBarWidth()),this.$tableBorder.css("width","".concat(a.outerWidth(),"px")),this.$tableBorder.css("height","".concat(s,"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(t,"px"))),this.trigger("reset-view")}},{key:"showLoading",value:function(){this.$tableLoading.toggleClass("open",!0);var e=this.options.loadingFontSize;"auto"===this.options.loadingFontSize&&(e=.04*this.$tableLoading.width(),e=Math.max(12,e),e=Math.min(32,e),e="".concat(e,"px")),this.$tableLoading.find(".loading-text").css("font-size",e)}},{key:"hideLoading",value:function(){this.$tableLoading.toggleClass("open",!1)}},{key:"togglePagination",value:function(){this.options.pagination=!this.options.pagination;var e=this.options.showButtonIcons?this.options.pagination?this.options.icons.paginationSwitchDown:this.options.icons.paginationSwitchUp:"",t=this.options.showButtonText?this.options.pagination?this.options.formatPaginationSwitchUp():this.options.formatPaginationSwitchDown():"";this.$toolbar.find('button[name="paginationSwitch"]').html("".concat(ha.sprintf(this.constants.html.icon,this.options.iconsPrefix,e)," ").concat(t)),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 e=this.options.showButtonIcons?this.options.cardView?this.options.icons.toggleOn:this.options.icons.toggleOff:"",t=this.options.showButtonText?this.options.cardView?this.options.formatToggleOff():this.options.formatToggleOn():"";this.$toolbar.find('button[name="toggle"]').html("".concat(ha.sprintf(this.constants.html.icon,this.options.iconsPrefix,e)," ").concat(t)),this.initBody(),this.trigger("toggle",this.options.cardView)}},{key:"resetSearch",value:function(e){var t=ha.getSearchInput(this);t.val(e||""),this.onSearch({currentTarget:t})}},{key:"filterBy",value:function(e,t){this.filterOptions=ha.isEmptyObject(t)?this.options.filterOptions:n.default.extend(this.options.filterOptions,t),this.filterColumns=ha.isEmptyObject(e)?{}:e,this.options.pageNumber=1,this.initSearch(),this.updatePagination()}},{key:"scrollTo",value:function(e){var t={unit:"px",value:0};"object"===r(e)?t=Object.assign(t,e):"string"==typeof e&&"bottom"===e?t.value=this.$tableBody[0].scrollHeight:"string"!=typeof e&&"number"!=typeof e||(t.value=e);var i=t.value;"rows"===t.unit&&(i=0,this.$body.find("> tr:lt(".concat(t.value,")")).each((function(e,t){i+=n.default(t).outerHeight(!0)}))),this.$tableBody.scrollTop(i)}},{key:"getScrollPosition",value:function(){return this.$tableBody.scrollTop()}},{key:"selectPage",value:function(e){e>0&&e<=this.options.totalPages&&(this.options.pageNumber=e,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(e,t){this.$body.find(ha.sprintf('> tr[data-index="%s"]',e)).next().is("tr.detail-view")?this.collapseRow(e):this.expandRow(e,t),this.resetView()}},{key:"expandRow",value:function(e,t){var n=this.data[e],r=this.$body.find(ha.sprintf('> tr[data-index="%s"][data-has-detail-view]',e));if(this.options.detailViewIcon&&r.find("a.detail-icon").html(ha.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailClose)),!r.next().is("tr.detail-view")){r.after(ha.sprintf('<tr class="detail-view"><td colspan="%s"></td></tr>',r.children("td").length));var i=r.next().find("td"),a=t||this.options.detailFormatter,o=ha.calculateObjectValue(this.options,a,[e,n,i],"");1===i.length&&i.append(o),this.trigger("expand-row",e,n,i)}}},{key:"expandRowByUniqueId",value:function(e){var t=this.getRowByUniqueId(e);t&&this.expandRow(this.data.indexOf(t))}},{key:"collapseRow",value:function(e){var t=this.data[e],n=this.$body.find(ha.sprintf('> tr[data-index="%s"][data-has-detail-view]',e));n.next().is("tr.detail-view")&&(this.options.detailViewIcon&&n.find("a.detail-icon").html(ha.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailOpen)),this.trigger("collapse-row",e,t,n.next()),n.next().remove())}},{key:"collapseRowByUniqueId",value:function(e){var t=this.getRowByUniqueId(e);t&&this.collapseRow(this.data.indexOf(t))}},{key:"expandAllRows",value:function(){for(var e=this.$body.find("> tr[data-index][data-has-detail-view]"),t=0;t<e.length;t++)this.expandRow(n.default(e[t]).data("index"))}},{key:"collapseAllRows",value:function(){for(var e=this.$body.find("> tr[data-index][data-has-detail-view]"),t=0;t<e.length;t++)this.collapseRow(n.default(e[t]).data("index"))}},{key:"updateColumnTitle",value:function(e){e.hasOwnProperty("field")&&e.hasOwnProperty("title")&&(this.columns[this.fieldsColumnsIndex[e.field]].title=this.options.escape?ha.escapeHTML(e.title):e.title,this.columns[this.fieldsColumnsIndex[e.field]].visible&&(this.$header.find("th[data-field]").each((function(t,r){if(n.default(r).data("field")===e.field)return n.default(n.default(r).find(".th-inner")[0]).text(e.title),!1})),this.resetView()))}},{key:"updateFormatText",value:function(e,t){/^format/.test(e)&&this.options[e]&&("string"==typeof t?this.options[e]=function(){return t}:"function"==typeof t&&(this.options[e]=t),this.initToolbar(),this.initPagination(),this.initBody())}}]),e}();return pa.VERSION=Qi.VERSION,pa.DEFAULTS=Qi.DEFAULTS,pa.LOCALES=Qi.LOCALES,pa.COLUMN_DEFAULTS=Qi.COLUMN_DEFAULTS,pa.METHODS=Qi.METHODS,pa.EVENTS=Qi.EVENTS,n.default.BootstrapTable=pa,n.default.fn.bootstrapTable=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];var o;return this.each((function(t,a){var s=n.default(a).data("bootstrap.table"),l=n.default.extend({},pa.DEFAULTS,n.default(a).data(),"object"===r(e)&&e);if("string"==typeof e){var c;if(!Qi.METHODS.includes(e))throw new Error("Unknown method: ".concat(e));if(!s)return;o=(c=s)[e].apply(c,i),"destroy"===e&&n.default(a).removeData("bootstrap.table")}s||(s=new n.default.BootstrapTable(a,l),n.default(a).data("bootstrap.table",s),s.init())})),void 0===o?this:o},n.default.fn.bootstrapTable.Constructor=pa,n.default.fn.bootstrapTable.theme=Qi.THEME,n.default.fn.bootstrapTable.VERSION=Qi.VERSION,n.default.fn.bootstrapTable.defaults=pa.DEFAULTS,n.default.fn.bootstrapTable.columnDefaults=pa.COLUMN_DEFAULTS,n.default.fn.bootstrapTable.events=pa.EVENTS,n.default.fn.bootstrapTable.locales=pa.LOCALES,n.default.fn.bootstrapTable.methods=pa.METHODS,n.default.fn.bootstrapTable.utils=ha,n.default((function(){n.default('[data-toggle="table"]').bootstrapTable()})),pa})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var i=a(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function c(e,t,n){return c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=a(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}},c(e,t,n||e)}var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function f(e,t){return e(t={exports:{}},t.exports),t.exports}var h=function(e){return e&&e.Math==Math&&e},d=h("object"==typeof globalThis&&globalThis)||h("object"==typeof window&&window)||h("object"==typeof self&&self)||h("object"==typeof u&&u)||function(){return this}()||Function("return this")(),p=function(e){try{return!!e()}catch(e){return!0}},g=!p((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),m={}.propertyIsEnumerable,v=Object.getOwnPropertyDescriptor,b={f:v&&!m.call({1:2},1)?function(e){var t=v(this,e);return!!t&&t.enumerable}:m},y=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w={}.toString,S=function(e){return w.call(e).slice(8,-1)},x="".split,E=p((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==S(e)?x.call(e,""):Object(e)}:Object,_=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},A=function(e){return E(_(e))},C=function(e){return"object"==typeof e?null!==e:"function"==typeof e},k=function(e,t){if(!C(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!C(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!C(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!C(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},T={}.hasOwnProperty,R=function(e,t){return T.call(e,t)},N=d.document,I=C(N)&&C(N.createElement),B=function(e){return I?N.createElement(e):{}},O=!g&&!p((function(){return 7!=Object.defineProperty(B("div"),"a",{get:function(){return 7}}).a})),P=Object.getOwnPropertyDescriptor,L={f:g?P:function(e,t){if(e=A(e),t=k(t,!0),O)try{return P(e,t)}catch(e){}if(R(e,t))return y(!b.f.call(e,t),e[t])}},F=function(e){if(!C(e))throw TypeError(String(e)+" is not an object");return e},D=Object.defineProperty,M={f:g?D:function(e,t,n){if(F(e),t=k(t,!0),F(n),O)try{return D(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},j=g?function(e,t,n){return M.f(e,t,y(1,n))}:function(e,t,n){return e[t]=n,e},W=function(e,t){try{j(d,e,t)}catch(n){d[e]=t}return t},U="__core-js_shared__",z=d[U]||W(U,{}),H=Function.toString;"function"!=typeof z.inspectSource&&(z.inspectSource=function(e){return H.call(e)});var V,q,G,X=z.inspectSource,$=d.WeakMap,Y="function"==typeof $&&/native code/.test(X($)),K=f((function(e){(e.exports=function(e,t){return z[e]||(z[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.10.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),J=0,Z=Math.random(),Q=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++J+Z).toString(36)},ee=K("keys"),te=function(e){return ee[e]||(ee[e]=Q(e))},ne={},re=d.WeakMap;if(Y){var ie=z.state||(z.state=new re),ae=ie.get,oe=ie.has,se=ie.set;V=function(e,t){return t.facade=e,se.call(ie,e,t),t},q=function(e){return ae.call(ie,e)||{}},G=function(e){return oe.call(ie,e)}}else{var le=te("state");ne[le]=!0,V=function(e,t){return t.facade=e,j(e,le,t),t},q=function(e){return R(e,le)?e[le]:{}},G=function(e){return R(e,le)}}var ce,ue,fe={set:V,get:q,has:G,enforce:function(e){return G(e)?q(e):V(e,{})},getterFor:function(e){return function(t){var n;if(!C(t)||(n=q(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},he=f((function(e){var t=fe.get,n=fe.enforce,r=String(String).split("String");(e.exports=function(e,t,i,a){var o,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof t||R(i,"name")||j(i,"name",t),(o=n(i)).source||(o.source=r.join("string"==typeof t?t:""))),e!==d?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=i:j(e,t,i)):l?e[t]=i:W(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||X(this)}))})),de=d,pe=function(e){return"function"==typeof e?e:void 0},ge=function(e,t){return arguments.length<2?pe(de[e])||pe(d[e]):de[e]&&de[e][t]||d[e]&&d[e][t]},me=Math.ceil,ve=Math.floor,be=function(e){return isNaN(e=+e)?0:(e>0?ve:me)(e)},ye=Math.min,we=function(e){return e>0?ye(be(e),9007199254740991):0},Se=Math.max,xe=Math.min,Ee=function(e){return function(t,n,r){var i,a=A(t),o=we(a.length),s=function(e,t){var n=be(e);return n<0?Se(n+t,0):xe(n,t)}(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},_e={includes:Ee(!0),indexOf:Ee(!1)},Ae=_e.indexOf,Ce=function(e,t){var n,r=A(e),i=0,a=[];for(n in r)!R(ne,n)&&R(r,n)&&a.push(n);for(;t.length>i;)R(r,n=t[i++])&&(~Ae(a,n)||a.push(n));return a},ke=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Te=ke.concat("length","prototype"),Re={f:Object.getOwnPropertyNames||function(e){return Ce(e,Te)}},Ne={f:Object.getOwnPropertySymbols},Ie=ge("Reflect","ownKeys")||function(e){var t=Re.f(F(e)),n=Ne.f;return n?t.concat(n(e)):t},Be=function(e,t){for(var n=Ie(t),r=M.f,i=L.f,a=0;a<n.length;a++){var o=n[a];R(e,o)||r(e,o,i(t,o))}},Oe=/#|\.prototype\./,Pe=function(e,t){var n=Fe[Le(e)];return n==Me||n!=De&&("function"==typeof t?p(t):!!t)},Le=Pe.normalize=function(e){return String(e).replace(Oe,".").toLowerCase()},Fe=Pe.data={},De=Pe.NATIVE="N",Me=Pe.POLYFILL="P",je=Pe,We=L.f,Ue=function(e,t){var n,r,i,a,o,s=e.target,l=e.global,c=e.stat;if(n=l?d:c?d[s]||W(s,{}):(d[s]||{}).prototype)for(r in t){if(a=t[r],i=e.noTargetGet?(o=We(n,r))&&o.value:n[r],!je(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof a==typeof i)continue;Be(a,i)}(e.sham||i&&i.sham)&&j(a,"sham",!0),he(n,r,a,e)}},ze=Array.isArray||function(e){return"Array"==S(e)},He=function(e){return Object(_(e))},Ve=function(e,t,n){var r=k(t);r in e?M.f(e,r,y(0,n)):e[r]=n},qe="process"==S(d.process),Ge=ge("navigator","userAgent")||"",Xe=d.process,$e=Xe&&Xe.versions,Ye=$e&&$e.v8;Ye?ue=(ce=Ye.split("."))[0]+ce[1]:Ge&&(!(ce=Ge.match(/Edge\/(\d+)/))||ce[1]>=74)&&(ce=Ge.match(/Chrome\/(\d+)/))&&(ue=ce[1]);var Ke,Je=ue&&+ue,Ze=!!Object.getOwnPropertySymbols&&!p((function(){return!Symbol.sham&&(qe?38===Je:Je>37&&Je<41)})),Qe=Ze&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,et=K("wks"),tt=d.Symbol,nt=Qe?tt:tt&&tt.withoutSetter||Q,rt=function(e){return R(et,e)&&(Ze||"string"==typeof et[e])||(Ze&&R(tt,e)?et[e]=tt[e]:et[e]=nt("Symbol."+e)),et[e]},it=rt("species"),at=function(e,t){var n;return ze(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!ze(n.prototype)?C(n)&&null===(n=n[it])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},ot=rt("species"),st=rt("isConcatSpreadable"),lt=9007199254740991,ct="Maximum allowed index exceeded",ut=Je>=51||!p((function(){var e=[];return e[st]=!1,e.concat()[0]!==e})),ft=(Ke="concat",Je>=51||!p((function(){var e=[];return(e.constructor={})[ot]=function(){return{foo:1}},1!==e[Ke](Boolean).foo}))),ht=function(e){if(!C(e))return!1;var t=e[st];return void 0!==t?!!t:ze(e)};Ue({target:"Array",proto:!0,forced:!ut||!ft},{concat:function(e){var t,n,r,i,a,o=He(this),s=at(o,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(ht(a=-1===t?o:arguments[t])){if(l+(i=we(a.length))>lt)throw TypeError(ct);for(n=0;n<i;n++,l++)n in a&&Ve(s,l,a[n])}else{if(l>=lt)throw TypeError(ct);Ve(s,l++,a)}return s.length=l,s}});var dt,pt=Object.keys||function(e){return Ce(e,ke)},gt=g?Object.defineProperties:function(e,t){F(e);for(var n,r=pt(t),i=r.length,a=0;i>a;)M.f(e,n=r[a++],t[n]);return e},mt=ge("document","documentElement"),vt=te("IE_PROTO"),bt=function(){},yt=function(e){return"<script>"+e+"</"+"script>"},wt=function(){try{dt=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;wt=dt?function(e){e.write(yt("")),e.close();var t=e.parentWindow.Object;return e=null,t}(dt):((t=B("iframe")).style.display="none",mt.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(yt("document.F=Object")),e.close(),e.F);for(var n=ke.length;n--;)delete wt.prototype[ke[n]];return wt()};ne[vt]=!0;var St=Object.create||function(e,t){var n;return null!==e?(bt.prototype=F(e),n=new bt,bt.prototype=null,n[vt]=e):n=wt(),void 0===t?n:gt(n,t)},xt=rt("unscopables"),Et=Array.prototype;null==Et[xt]&&M.f(Et,xt,{configurable:!0,value:St(null)});var _t,At=_e.includes;Ue({target:"Array",proto:!0},{includes:function(e){return At(this,e,arguments.length>1?arguments[1]:void 0)}}),_t="includes",Et[xt][_t]=!0;var Ct=function(e,t,n){if(function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function")}(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},kt=[].push,Tt=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,a=6==e,o=7==e,s=5==e||a;return function(l,c,u,f){for(var h,d,p=He(l),g=E(p),m=Ct(c,u,3),v=we(g.length),b=0,y=f||at,w=t?y(l,v):n||o?y(l,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:kt.call(w,h)}else switch(e){case 4:return!1;case 7:kt.call(w,h)}return a?-1:r||i?i:w}},Rt={forEach:Tt(0),map:Tt(1),filter:Tt(2),some:Tt(3),every:Tt(4),find:Tt(5),findIndex:Tt(6),filterOut:Tt(7)}.forEach,Nt=function(e,t){var n=[][e];return!!n&&p((function(){n.call(null,t||function(){throw 1},1)}))}("forEach"),It=Nt?[].forEach:function(e){return Rt(this,e,arguments.length>1?arguments[1]:void 0)};for(var Bt in{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}){var Ot=d[Bt],Pt=Ot&&Ot.prototype;if(Pt&&Pt.forEach!==It)try{j(Pt,"forEach",It)}catch(e){Pt.forEach=It}}var Lt=rt("match"),Ft=function(e){if(function(e){var t;return C(e)&&(void 0!==(t=e[Lt])?!!t:"RegExp"==S(e))}(e))throw TypeError("The method doesn't accept regular expressions");return e},Dt=rt("match");Ue({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Dt]=!1,"/./"[e](t)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~String(_(this)).indexOf(Ft(e),arguments.length>1?arguments[1]:void 0)}});var Mt=function(e,t){var n=0;return function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];var o=function(){n=0,e.apply(void 0,i)};clearTimeout(n),n=setTimeout(o,t)}};n.default.extend(n.default.fn.bootstrapTable.defaults,{mobileResponsive:!1,minWidth:562,minHeight:void 0,heightThreshold:100,checkOnInit:!0,columnsHidden:[]}),n.default.BootstrapTable=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(h,e);var t,s,u,f=l(h);function h(){return r(this,h),f.apply(this,arguments)}return t=h,s=[{key:"init",value:function(){for(var e,t=this,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];if((e=c(a(h.prototype),"init",this)).call.apply(e,[this].concat(i)),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 s={width:n.default(window).width(),height:n.default(window).height()};if(n.default(window).on("resize orientationchange",Mt((function(){var e=n.default(window).width(),r=n.default(window).height(),i=n.default(document.activeElement);i.length&&["INPUT","SELECT","TEXTAREA"].includes(i.prop("nodeName"))||(Math.abs(s.height-r)>t.options.heightThreshold||s.width!==e)&&(t.changeView(e,r),s={width:e,height:r})}),200)),this.options.checkOnInit){var l=n.default(window).width(),u=n.default(window).height();this.changeView(l,u),s={width:l,height:u}}}}},{key:"conditionCardView",value:function(){this.changeTableView(!1),this.showHideColumns(!1)}},{key:"conditionFullView",value:function(){this.changeTableView(!0),this.showHideColumns(!0)}},{key:"changeTableView",value:function(e){this.options.cardView=e,this.toggleView()}},{key:"showHideColumns",value:function(e){var t=this;this.options.columnsHidden.length>0&&this.columns.forEach((function(n){t.options.columnsHidden.includes(n.field)&&n.visible!==e&&t._toggleColumn(t.fieldsColumnsIndex[n.field],e,!0)}))}},{key:"changeView",value:function(e,t){this.options.minHeight?e<=this.options.minWidth&&t<=this.options.minHeight?this.conditionCardView():e>this.options.minWidth&&t>this.options.minHeight&&this.conditionFullView():e<=this.options.minWidth?this.conditionCardView():e>this.options.minWidth&&this.conditionFullView(),this.resetView()}}],s&&i(t.prototype,s),u&&i(t,u),h}(n.default.BootstrapTable)})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function l(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=o(e);if(t){var i=o(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}function u(e,t,n){return u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}},u(e,t,n||e)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},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 a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}var d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function p(e,t){return e(t={exports:{}},t.exports),t.exports}var g=function(e){return e&&e.Math==Math&&e},m=g("object"==typeof globalThis&&globalThis)||g("object"==typeof window&&window)||g("object"==typeof self&&self)||g("object"==typeof d&&d)||function(){return this}()||Function("return this")(),v=function(e){try{return!!e()}catch(e){return!0}},b=!v((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),y={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,S={f:w&&!y.call({1:2},1)?function(e){var t=w(this,e);return!!t&&t.enumerable}:y},x=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},E={}.toString,_=function(e){return E.call(e).slice(8,-1)},A="".split,C=v((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==_(e)?A.call(e,""):Object(e)}:Object,k=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},T=function(e){return C(k(e))},R=function(e){return"object"==typeof e?null!==e:"function"==typeof e},N=function(e,t){if(!R(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!R(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!R(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!R(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},I={}.hasOwnProperty,B=function(e,t){return I.call(e,t)},O=m.document,P=R(O)&&R(O.createElement),L=function(e){return P?O.createElement(e):{}},F=!b&&!v((function(){return 7!=Object.defineProperty(L("div"),"a",{get:function(){return 7}}).a})),D=Object.getOwnPropertyDescriptor,M={f:b?D:function(e,t){if(e=T(e),t=N(t,!0),F)try{return D(e,t)}catch(e){}if(B(e,t))return x(!S.f.call(e,t),e[t])}},j=function(e){if(!R(e))throw TypeError(String(e)+" is not an object");return e},W=Object.defineProperty,U={f:b?W:function(e,t,n){if(j(e),t=N(t,!0),j(n),F)try{return W(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},z=b?function(e,t,n){return U.f(e,t,x(1,n))}:function(e,t,n){return e[t]=n,e},H=function(e,t){try{z(m,e,t)}catch(n){m[e]=t}return t},V="__core-js_shared__",q=m[V]||H(V,{}),G=Function.toString;"function"!=typeof q.inspectSource&&(q.inspectSource=function(e){return G.call(e)});var X,$,Y,K=q.inspectSource,J=m.WeakMap,Z="function"==typeof J&&/native code/.test(K(J)),Q=p((function(e){(e.exports=function(e,t){return q[e]||(q[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.10.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),ee=0,te=Math.random(),ne=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++ee+te).toString(36)},re=Q("keys"),ie=function(e){return re[e]||(re[e]=ne(e))},ae={},oe=m.WeakMap;if(Z){var se=q.state||(q.state=new oe),le=se.get,ce=se.has,ue=se.set;X=function(e,t){return t.facade=e,ue.call(se,e,t),t},$=function(e){return le.call(se,e)||{}},Y=function(e){return ce.call(se,e)}}else{var fe=ie("state");ae[fe]=!0,X=function(e,t){return t.facade=e,z(e,fe,t),t},$=function(e){return B(e,fe)?e[fe]:{}},Y=function(e){return B(e,fe)}}var he,de,pe={set:X,get:$,has:Y,enforce:function(e){return Y(e)?$(e):X(e,{})},getterFor:function(e){return function(t){var n;if(!R(t)||(n=$(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},ge=p((function(e){var t=pe.get,n=pe.enforce,r=String(String).split("String");(e.exports=function(e,t,i,a){var o,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof t||B(i,"name")||z(i,"name",t),(o=n(i)).source||(o.source=r.join("string"==typeof t?t:""))),e!==m?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=i:z(e,t,i)):l?e[t]=i:H(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||K(this)}))})),me=m,ve=function(e){return"function"==typeof e?e:void 0},be=function(e,t){return arguments.length<2?ve(me[e])||ve(m[e]):me[e]&&me[e][t]||m[e]&&m[e][t]},ye=Math.ceil,we=Math.floor,Se=function(e){return isNaN(e=+e)?0:(e>0?we:ye)(e)},xe=Math.min,Ee=function(e){return e>0?xe(Se(e),9007199254740991):0},_e=Math.max,Ae=Math.min,Ce=function(e,t){var n=Se(e);return n<0?_e(n+t,0):Ae(n,t)},ke=function(e){return function(t,n,r){var i,a=T(t),o=Ee(a.length),s=Ce(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},Te={includes:ke(!0),indexOf:ke(!1)}.indexOf,Re=function(e,t){var n,r=T(e),i=0,a=[];for(n in r)!B(ae,n)&&B(r,n)&&a.push(n);for(;t.length>i;)B(r,n=t[i++])&&(~Te(a,n)||a.push(n));return a},Ne=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ie=Ne.concat("length","prototype"),Be={f:Object.getOwnPropertyNames||function(e){return Re(e,Ie)}},Oe={f:Object.getOwnPropertySymbols},Pe=be("Reflect","ownKeys")||function(e){var t=Be.f(j(e)),n=Oe.f;return n?t.concat(n(e)):t},Le=function(e,t){for(var n=Pe(t),r=U.f,i=M.f,a=0;a<n.length;a++){var o=n[a];B(e,o)||r(e,o,i(t,o))}},Fe=/#|\.prototype\./,De=function(e,t){var n=je[Me(e)];return n==Ue||n!=We&&("function"==typeof t?v(t):!!t)},Me=De.normalize=function(e){return String(e).replace(Fe,".").toLowerCase()},je=De.data={},We=De.NATIVE="N",Ue=De.POLYFILL="P",ze=De,He=M.f,Ve=function(e,t){var n,r,i,a,o,s=e.target,l=e.global,c=e.stat;if(n=l?m:c?m[s]||H(s,{}):(m[s]||{}).prototype)for(r in t){if(a=t[r],i=e.noTargetGet?(o=He(n,r))&&o.value:n[r],!ze(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof a==typeof i)continue;Le(a,i)}(e.sham||i&&i.sham)&&z(a,"sham",!0),ge(n,r,a,e)}},qe=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Ge=function(e){return Object(k(e))},Xe=Array.isArray||function(e){return"Array"==_(e)},$e="process"==_(m.process),Ye=be("navigator","userAgent")||"",Ke=m.process,Je=Ke&&Ke.versions,Ze=Je&&Je.v8;Ze?de=(he=Ze.split("."))[0]+he[1]:Ye&&(!(he=Ye.match(/Edge\/(\d+)/))||he[1]>=74)&&(he=Ye.match(/Chrome\/(\d+)/))&&(de=he[1]);var Qe,et=de&&+de,tt=!!Object.getOwnPropertySymbols&&!v((function(){return!Symbol.sham&&($e?38===et:et>37&&et<41)})),nt=tt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,rt=Q("wks"),it=m.Symbol,at=nt?it:it&&it.withoutSetter||ne,ot=function(e){return B(rt,e)&&(tt||"string"==typeof rt[e])||(tt&&B(it,e)?rt[e]=it[e]:rt[e]=at("Symbol."+e)),rt[e]},st=ot("species"),lt=function(e,t){var n;return Xe(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!Xe(n.prototype)?R(n)&&null===(n=n[st])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},ct=[].push,ut=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,a=6==e,o=7==e,s=5==e||a;return function(l,c,u,f){for(var h,d,p=Ge(l),g=C(p),m=function(e,t,n){if(qe(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}(c,u,3),v=Ee(g.length),b=0,y=f||lt,w=t?y(l,v):n||o?y(l,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:ct.call(w,h)}else switch(e){case 4:return!1;case 7:ct.call(w,h)}return a?-1:r||i?i:w}},ft={forEach:ut(0),map:ut(1),filter:ut(2),some:ut(3),every:ut(4),find:ut(5),findIndex:ut(6),filterOut:ut(7)},ht=Object.keys||function(e){return Re(e,Ne)},dt=b?Object.defineProperties:function(e,t){j(e);for(var n,r=ht(t),i=r.length,a=0;i>a;)U.f(e,n=r[a++],t[n]);return e},pt=be("document","documentElement"),gt=ie("IE_PROTO"),mt=function(){},vt=function(e){return"<script>"+e+"</"+"script>"},bt=function(){try{Qe=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;bt=Qe?function(e){e.write(vt("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Qe):((t=L("iframe")).style.display="none",pt.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(vt("document.F=Object")),e.close(),e.F);for(var n=Ne.length;n--;)delete bt.prototype[Ne[n]];return bt()};ae[gt]=!0;var yt=Object.create||function(e,t){var n;return null!==e?(mt.prototype=j(e),n=new mt,mt.prototype=null,n[gt]=e):n=bt(),void 0===t?n:dt(n,t)},wt=ot("unscopables"),St=Array.prototype;null==St[wt]&&U.f(St,wt,{configurable:!0,value:yt(null)});var xt,Et=ft.find,_t="find",At=!0;_t in[]&&Array(1).find((function(){At=!1})),Ve({target:"Array",proto:!0,forced:At},{find:function(e){return Et(this,e,arguments.length>1?arguments[1]:void 0)}}),xt=_t,St[wt][xt]=!0;var Ct=function(){var e=j(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function kt(e,t){return RegExp(e,t)}var Tt,Rt,Nt={UNSUPPORTED_Y:v((function(){var e=kt("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET:v((function(){var e=kt("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},It=RegExp.prototype.exec,Bt=Q("native-string-replace",String.prototype.replace),Ot=It,Pt=(Tt=/a/,Rt=/b*/g,It.call(Tt,"a"),It.call(Rt,"a"),0!==Tt.lastIndex||0!==Rt.lastIndex),Lt=Nt.UNSUPPORTED_Y||Nt.BROKEN_CARET,Ft=void 0!==/()??/.exec("")[1];(Pt||Ft||Lt)&&(Ot=function(e){var t,n,r,i,a=this,o=Lt&&a.sticky,s=Ct.call(a),l=a.source,c=0,u=e;return o&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),Ft&&(n=new RegExp("^"+l+"$(?!\\s)",s)),Pt&&(t=a.lastIndex),r=It.call(o?n:a,u),o?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:Pt&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),Ft&&r&&r.length>1&&Bt.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var Dt=Ot;Ve({target:"RegExp",proto:!0,forced:/./.exec!==Dt},{exec:Dt});var Mt=ot("species"),jt=!v((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),Wt="$0"==="a".replace(/./,"$0"),Ut=ot("replace"),zt=!!/./[Ut]&&""===/./[Ut]("a","$0"),Ht=!v((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Vt=function(e,t,n,r){var i=ot(e),a=!v((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),o=a&&!v((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[Mt]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!a||!o||"replace"===e&&(!jt||!Wt||zt)||"split"===e&&!Ht){var s=/./[i],l=n(i,""[e],(function(e,t,n,r,i){return t.exec===RegExp.prototype.exec?a&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:Wt,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:zt}),c=l[0],u=l[1];ge(String.prototype,e,c),ge(RegExp.prototype,i,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}r&&z(RegExp.prototype[i],"sham",!0)},qt=ot("match"),Gt=ot("species"),Xt=function(e){return function(t,n){var r,i,a=String(k(t)),o=Se(n),s=a.length;return o<0||o>=s?e?"":void 0:(r=a.charCodeAt(o))<55296||r>56319||o+1===s||(i=a.charCodeAt(o+1))<56320||i>57343?e?a.charAt(o):r:e?a.slice(o,o+2):i-56320+(r-55296<<10)+65536}},$t={codeAt:Xt(!1),charAt:Xt(!0)}.charAt,Yt=function(e,t,n){return t+(n?$t(e,t).length:1)},Kt=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==_(e))throw TypeError("RegExp#exec called on incompatible receiver");return Dt.call(e,t)},Jt=Nt.UNSUPPORTED_Y,Zt=[].push,Qt=Math.min,en=4294967295;Vt("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r,i,a=String(k(this)),o=void 0===n?en:n>>>0;if(0===o)return[];if(void 0===e)return[a];if(!R(r=e)||!(void 0!==(i=r[qt])?i:"RegExp"==_(r)))return t.call(a,e,o);for(var s,l,c,u=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,d=new RegExp(e.source,f+"g");(s=Dt.call(d,a))&&!((l=d.lastIndex)>h&&(u.push(a.slice(h,s.index)),s.length>1&&s.index<a.length&&Zt.apply(u,s.slice(1)),c=s[0].length,h=l,u.length>=o));)d.lastIndex===s.index&&d.lastIndex++;return h===a.length?!c&&d.test("")||u.push(""):u.push(a.slice(h)),u.length>o?u.slice(0,o):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=k(this),a=null==t?void 0:t[e];return void 0!==a?a.call(t,i,n):r.call(String(i),t,n)},function(e,i){var a=n(r,e,this,i,r!==t);if(a.done)return a.value;var o=j(e),s=String(this),l=function(e,t){var n,r=j(e).constructor;return void 0===r||null==(n=j(r)[Gt])?t:qe(n)}(o,RegExp),c=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Jt?"g":"y"),f=new l(Jt?"^(?:"+o.source+")":o,u),h=void 0===i?en:i>>>0;if(0===h)return[];if(0===s.length)return null===Kt(f,s)?[s]:[];for(var d=0,p=0,g=[];p<s.length;){f.lastIndex=Jt?0:p;var m,v=Kt(f,Jt?s.slice(p):s);if(null===v||(m=Qt(Ee(f.lastIndex+(Jt?p:0)),s.length))===d)p=Yt(s,p,c);else{if(g.push(s.slice(d,p)),g.length===h)return g;for(var b=1;b<=v.length-1;b++)if(g.push(v[b]),g.length===h)return g;p=d=m}}return g.push(s.slice(d)),g}]}),Jt);var tn=Math.floor,nn="".replace,rn=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,an=/\$([$&'`]|\d{1,2})/g,on=function(e,t,n,r,i,a){var o=n+e.length,s=r.length,l=an;return void 0!==i&&(i=Ge(i),l=rn),nn.call(a,l,(function(a,l){var c;switch(l.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(o);case"<":c=i[l.slice(1,-1)];break;default:var u=+l;if(0===u)return a;if(u>s){var f=tn(u/10);return 0===f?a:f<=s?void 0===r[f-1]?l.charAt(1):r[f-1]+l.charAt(1):a}c=r[u-1]}return void 0===c?"":c}))},sn=Math.max,ln=Math.min;Vt("replace",2,(function(e,t,n,r){var i=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,a=r.REPLACE_KEEPS_$0,o=i?"$":"$0";return[function(n,r){var i=k(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!i&&a||"string"==typeof r&&-1===r.indexOf(o)){var s=n(t,e,this,r);if(s.done)return s.value}var l=j(e),c=String(this),u="function"==typeof r;u||(r=String(r));var f=l.global;if(f){var h=l.unicode;l.lastIndex=0}for(var d=[];;){var p=Kt(l,c);if(null===p)break;if(d.push(p),!f)break;""===String(p[0])&&(l.lastIndex=Yt(c,Ee(l.lastIndex),h))}for(var g,m="",v=0,b=0;b<d.length;b++){p=d[b];for(var y=String(p[0]),w=sn(ln(Se(p.index),c.length),0),S=[],x=1;x<p.length;x++)S.push(void 0===(g=p[x])?g:String(g));var E=p.groups;if(u){var _=[y].concat(S,w,c);void 0!==E&&_.push(E);var A=String(r.apply(void 0,_))}else A=on(y,c,w,S,E,r);w>=v&&(m+=c.slice(v,w)+A,v=w+y.length)}return m+c.slice(v)}]}));var cn=function(e,t,n){var r=N(t);r in e?U.f(e,r,x(0,n)):e[r]=n},un=ot("species"),fn=function(e){return et>=51||!v((function(){var t=[];return(t.constructor={})[un]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},hn=fn("slice"),dn=ot("species"),pn=[].slice,gn=Math.max;Ve({target:"Array",proto:!0,forced:!hn},{slice:function(e,t){var n,r,i,a=T(this),o=Ee(a.length),s=Ce(e,o),l=Ce(void 0===t?o:t,o);if(Xe(a)&&("function"!=typeof(n=a.constructor)||n!==Array&&!Xe(n.prototype)?R(n)&&null===(n=n[dn])&&(n=void 0):n=void 0,n===Array||void 0===n))return pn.call(a,s,l);for(r=new(void 0===n?Array:n)(gn(l-s,0)),i=0;s<l;s++,i++)s in a&&cn(r,i,a[s]);return r.length=i,r}});var mn=ft.map;Ve({target:"Array",proto:!0,forced:!fn("map")},{map:function(e){return mn(this,e,arguments.length>1?arguments[1]:void 0)}});var vn=Object.assign,bn=Object.defineProperty,yn=!vn||v((function(){if(b&&1!==vn({b:1},vn(bn({},"a",{enumerable:!0,get:function(){bn(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=vn({},e)[n]||ht(vn({},t)).join("")!=r}))?function(e,t){for(var n=Ge(e),r=arguments.length,i=1,a=Oe.f,o=S.f;r>i;)for(var s,l=C(arguments[i++]),c=a?ht(l).concat(a(l)):ht(l),u=c.length,f=0;u>f;)s=c[f++],b&&!o.call(l,s)||(n[s]=l[s]);return n}:vn;Ve({target:"Object",stat:!0,forced:Object.assign!==yn},{assign:yn});var wn=ot("isConcatSpreadable"),Sn=9007199254740991,xn="Maximum allowed index exceeded",En=et>=51||!v((function(){var e=[];return e[wn]=!1,e.concat()[0]!==e})),_n=fn("concat"),An=function(e){if(!R(e))return!1;var t=e[wn];return void 0!==t?!!t:Xe(e)};Ve({target:"Array",proto:!0,forced:!En||!_n},{concat:function(e){var t,n,r,i,a,o=Ge(this),s=lt(o,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(An(a=-1===t?o:arguments[t])){if(l+(i=Ee(a.length))>Sn)throw TypeError(xn);for(n=0;n<i;n++,l++)n in a&&cn(s,l,a[n])}else{if(l>=Sn)throw TypeError(xn);cn(s,l++,a)}return s.length=l,s}});var Cn=function(e,t){var n=[][e];return!!n&&v((function(){n.call(null,t||function(){throw 1},1)}))},kn=[].join,Tn=C!=Object,Rn=Cn("join",",");Ve({target:"Array",proto:!0,forced:Tn||!Rn},{join:function(e){return kn.call(T(this),void 0===e?",":e)}});var Nn=ft.forEach,In=Cn("forEach")?[].forEach:function(e){return Nn(this,e,arguments.length>1?arguments[1]:void 0)};for(var Bn in{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}){var On=m[Bn],Pn=On&&On.prototype;if(Pn&&Pn.forEach!==In)try{z(Pn,"forEach",In)}catch(e){Pn.forEach=In}}var Ln=n.default.fn.bootstrapTable.utils,Fn={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"};n.default.extend(n.default.fn.bootstrapTable.defaults,{showExport:!1,exportDataType:"basic",exportTypes:["json","xml","csv","txt","sql","excel"],exportOptions:{onCellHtmlData:function(e,t,n,r){return e.is("th")?e.find(".th-inner").text():r}},exportFooter:!1}),n.default.extend(n.default.fn.bootstrapTable.columnDefaults,{forceExport:!1,forceHide:!1}),n.default.extend(n.default.fn.bootstrapTable.defaults.icons,{export:{bootstrap3:"glyphicon-export icon-share",bootstrap5:"bi-download",materialize:"file_download","bootstrap-table":"icon-download"}[n.default.fn.bootstrapTable.theme]||"fa-download"}),n.default.extend(n.default.fn.bootstrapTable.locales,{formatExport:function(){return"Export data"}}),n.default.extend(n.default.fn.bootstrapTable.defaults,n.default.fn.bootstrapTable.locales),n.default.fn.bootstrapTable.methods.push("exportTable"),n.default.extend(n.default.fn.bootstrapTable.defaults,{onExportSaved:function(e){return!1}}),n.default.extend(n.default.fn.bootstrapTable.Constructor.EVENTS,{"export-saved.bs.table":"onExportSaved"}),n.default.BootstrapTable=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(p,e);var t,l,f,d=c(p);function p(){return r(this,p),d.apply(this,arguments)}return t=p,l=[{key:"initToolbar",value:function(){var e,t=this,r=this.options,i=r.exportTypes;if(this.showToolbar=this.showToolbar||r.showExport,this.options.showExport){if("string"==typeof i){var a=i.slice(1,-1).replace(/ /g,"").split(",");i=a.map((function(e){return e.slice(1,-1)}))}if(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===i.length)return'\n <div class="export '.concat(t.constants.classes.buttonsDropdown,'"\n data-type="').concat(i[0],'">\n <button class="').concat(t.constants.buttonsClass,'"\n aria-label="Export"\n type="button"\n title="').concat(r.formatExport(),'">\n ').concat(r.showButtonIcons?Ln.sprintf(t.constants.html.icon,r.iconsPrefix,r.icons.export):"","\n ").concat(r.showButtonText?r.formatExport():"","\n </button>\n </div>\n ");var e=[];e.push('\n <div class="export '.concat(t.constants.classes.buttonsDropdown,'">\n <button class="').concat(t.constants.buttonsClass,' dropdown-toggle"\n aria-label="Export"\n ').concat(t.constants.dataToggle,'="dropdown"\n type="button"\n title="').concat(r.formatExport(),'">\n ').concat(r.showButtonIcons?Ln.sprintf(t.constants.html.icon,r.iconsPrefix,r.icons.export):"","\n ").concat(r.showButtonText?r.formatExport():"","\n ").concat(t.constants.html.dropdownCaret,"\n </button>\n ").concat(t.constants.html.toolbarDropdown[0],"\n "));var a,o=h(i);try{for(o.s();!(a=o.n()).done;){var s=a.value;if(Fn.hasOwnProperty(s)){var l=n.default(Ln.sprintf(t.constants.html.pageDropdownItem,"",Fn[s]));l.attr("data-type",s),e.push(l.prop("outerHTML"))}}}catch(e){o.e(e)}finally{o.f()}return e.push(t.constants.html.toolbarDropdown[1],"</div>"),e.join("")}}})}for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];if((e=u(o(p.prototype),"initToolbar",this)).call.apply(e,[this].concat(l)),this.$export=this.$toolbar.find(">.columns div.export"),this.options.showExport){this.updateExportButton();var f=this.$export.find("[data-type]");1===i.length&&(f=this.$export.find("button")),f.click((function(e){e.preventDefault();var r={type:n.default(e.currentTarget).data("type"),escape:!1};t.exportTable(r)})),this.handleToolbar()}}},{key:"handleToolbar",value:function(){this.$export&&u(o(p.prototype),"handleToolbar",this)&&u(o(p.prototype),"handleToolbar",this).call(this)}},{key:"exportTable",value:function(e){var t=this,r=this.options,i=this.header.stateField,o=r.cardView,s=function(a){i&&t.hideColumn(i),o&&t.toggleView(),t.columns.forEach((function(e){e.forceHide&&t.hideColumn(e.field)}));var s=t.getData();if(r.detailView&&r.detailViewIcon){var l="left"===r.detailViewAlign?0:t.getVisibleFields().length+Ln.getDetailViewIndexOffset(t.options);r.exportOptions.ignoreColumn=[l].concat(r.exportOptions.ignoreColumn||[])}if(r.exportFooter){var c=t.$tableFooter.find("tr").first(),u={},f=[];n.default.each(c.children(),(function(e,r){var i=n.default(r).children(".th-inner").first().html();u[t.columns[e].field]="&nbsp;"===i?null:i,f.push(i)})),t.$body.append(t.$body.children().last()[0].outerHTML);var h=t.$body.children().last();n.default.each(h.children(),(function(e,t){n.default(t).html(f[e])}))}var d=t.getHiddenColumns();d.forEach((function(e){e.forceExport&&t.showColumn(e.field)})),"function"==typeof r.exportOptions.fileName&&(e.fileName=r.exportOptions.fileName()),t.$el.tableExport(n.default.extend({onAfterSaveToFile:function(){r.exportFooter&&t.load(s),i&&t.showColumn(i),o&&t.toggleView(),d.forEach((function(e){e.forceExport&&t.hideColumn(e.field)})),t.columns.forEach((function(e){e.forceHide&&t.showColumn(e.field)})),a&&a()}},r.exportOptions,e))};if("all"===r.exportDataType&&r.pagination){var l="server"===r.sidePagination?"post-body.bs.table":"page-change.bs.table",c=this.options.virtualScroll;this.$el.one(l,(function(){setTimeout((function(){s((function(){t.options.virtualScroll=c,t.togglePagination()}))}),0)})),this.options.virtualScroll=!1,this.togglePagination(),this.trigger("export-saved",this.getData())}else if("selected"===r.exportDataType){var u=this.getData(),f=this.getSelections(),h=r.pagination;if(!f.length)return;"server"===r.sidePagination&&(u=a({total:r.totalRows},this.options.dataField,u),f=a({total:f.length},this.options.dataField,f)),this.load(f),h&&this.togglePagination(),s((function(){h&&t.togglePagination(),t.load(u)})),this.trigger("export-saved",f)}else s(),this.trigger("export-saved",this.getData(!0))}},{key:"updateSelected",value:function(){u(o(p.prototype),"updateSelected",this).call(this),this.updateExportButton()}},{key:"updateExportButton",value:function(){"selected"===this.options.exportDataType&&this.$export.find("> button").prop("disabled",!this.getSelections().length)}}],l&&i(t.prototype,l),f&&i(t,f),p}(n.default.BootstrapTable)})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var i=a(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function c(e,t,n){return c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=a(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}},c(e,t,n||e)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},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 a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}var h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function d(e,t){return e(t={exports:{}},t.exports),t.exports}var p=function(e){return e&&e.Math==Math&&e},g=p("object"==typeof globalThis&&globalThis)||p("object"==typeof window&&window)||p("object"==typeof self&&self)||p("object"==typeof h&&h)||function(){return this}()||Function("return this")(),m=function(e){try{return!!e()}catch(e){return!0}},v=!m((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),b={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,w={f:y&&!b.call({1:2},1)?function(e){var t=y(this,e);return!!t&&t.enumerable}:b},S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},x={}.toString,E=function(e){return x.call(e).slice(8,-1)},_="".split,A=m((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==E(e)?_.call(e,""):Object(e)}:Object,C=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},k=function(e){return A(C(e))},T=function(e){return"object"==typeof e?null!==e:"function"==typeof e},R=function(e,t){if(!T(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!T(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!T(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!T(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},N={}.hasOwnProperty,I=function(e,t){return N.call(e,t)},B=g.document,O=T(B)&&T(B.createElement),P=function(e){return O?B.createElement(e):{}},L=!v&&!m((function(){return 7!=Object.defineProperty(P("div"),"a",{get:function(){return 7}}).a})),F=Object.getOwnPropertyDescriptor,D={f:v?F:function(e,t){if(e=k(e),t=R(t,!0),L)try{return F(e,t)}catch(e){}if(I(e,t))return S(!w.f.call(e,t),e[t])}},M=function(e){if(!T(e))throw TypeError(String(e)+" is not an object");return e},j=Object.defineProperty,W={f:v?j:function(e,t,n){if(M(e),t=R(t,!0),M(n),L)try{return j(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},U=v?function(e,t,n){return W.f(e,t,S(1,n))}:function(e,t,n){return e[t]=n,e},z=function(e,t){try{U(g,e,t)}catch(n){g[e]=t}return t},H="__core-js_shared__",V=g[H]||z(H,{}),q=Function.toString;"function"!=typeof V.inspectSource&&(V.inspectSource=function(e){return q.call(e)});var G,X,$,Y=V.inspectSource,K=g.WeakMap,J="function"==typeof K&&/native code/.test(Y(K)),Z=d((function(e){(e.exports=function(e,t){return V[e]||(V[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.10.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),Q=0,ee=Math.random(),te=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++Q+ee).toString(36)},ne=Z("keys"),re=function(e){return ne[e]||(ne[e]=te(e))},ie={},ae=g.WeakMap;if(J){var oe=V.state||(V.state=new ae),se=oe.get,le=oe.has,ce=oe.set;G=function(e,t){return t.facade=e,ce.call(oe,e,t),t},X=function(e){return se.call(oe,e)||{}},$=function(e){return le.call(oe,e)}}else{var ue=re("state");ie[ue]=!0,G=function(e,t){return t.facade=e,U(e,ue,t),t},X=function(e){return I(e,ue)?e[ue]:{}},$=function(e){return I(e,ue)}}var fe,he,de={set:G,get:X,has:$,enforce:function(e){return $(e)?X(e):G(e,{})},getterFor:function(e){return function(t){var n;if(!T(t)||(n=X(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},pe=d((function(e){var t=de.get,n=de.enforce,r=String(String).split("String");(e.exports=function(e,t,i,a){var o,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof t||I(i,"name")||U(i,"name",t),(o=n(i)).source||(o.source=r.join("string"==typeof t?t:""))),e!==g?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=i:U(e,t,i)):l?e[t]=i:z(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||Y(this)}))})),ge=g,me=function(e){return"function"==typeof e?e:void 0},ve=function(e,t){return arguments.length<2?me(ge[e])||me(g[e]):ge[e]&&ge[e][t]||g[e]&&g[e][t]},be=Math.ceil,ye=Math.floor,we=function(e){return isNaN(e=+e)?0:(e>0?ye:be)(e)},Se=Math.min,xe=function(e){return e>0?Se(we(e),9007199254740991):0},Ee=Math.max,_e=Math.min,Ae=function(e){return function(t,n,r){var i,a=k(t),o=xe(a.length),s=function(e,t){var n=we(e);return n<0?Ee(n+t,0):_e(n,t)}(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},Ce={includes:Ae(!0),indexOf:Ae(!1)}.indexOf,ke=function(e,t){var n,r=k(e),i=0,a=[];for(n in r)!I(ie,n)&&I(r,n)&&a.push(n);for(;t.length>i;)I(r,n=t[i++])&&(~Ce(a,n)||a.push(n));return a},Te=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Re=Te.concat("length","prototype"),Ne={f:Object.getOwnPropertyNames||function(e){return ke(e,Re)}},Ie={f:Object.getOwnPropertySymbols},Be=ve("Reflect","ownKeys")||function(e){var t=Ne.f(M(e)),n=Ie.f;return n?t.concat(n(e)):t},Oe=function(e,t){for(var n=Be(t),r=W.f,i=D.f,a=0;a<n.length;a++){var o=n[a];I(e,o)||r(e,o,i(t,o))}},Pe=/#|\.prototype\./,Le=function(e,t){var n=De[Fe(e)];return n==je||n!=Me&&("function"==typeof t?m(t):!!t)},Fe=Le.normalize=function(e){return String(e).replace(Pe,".").toLowerCase()},De=Le.data={},Me=Le.NATIVE="N",je=Le.POLYFILL="P",We=Le,Ue=D.f,ze=function(e,t){var n,r,i,a,o,s=e.target,l=e.global,c=e.stat;if(n=l?g:c?g[s]||z(s,{}):(g[s]||{}).prototype)for(r in t){if(a=t[r],i=e.noTargetGet?(o=Ue(n,r))&&o.value:n[r],!We(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof a==typeof i)continue;Oe(a,i)}(e.sham||i&&i.sham)&&U(a,"sham",!0),pe(n,r,a,e)}},He=Array.isArray||function(e){return"Array"==E(e)},Ve=function(e){return Object(C(e))},qe=function(e,t,n){var r=R(t);r in e?W.f(e,r,S(0,n)):e[r]=n},Ge="process"==E(g.process),Xe=ve("navigator","userAgent")||"",$e=g.process,Ye=$e&&$e.versions,Ke=Ye&&Ye.v8;Ke?he=(fe=Ke.split("."))[0]+fe[1]:Xe&&(!(fe=Xe.match(/Edge\/(\d+)/))||fe[1]>=74)&&(fe=Xe.match(/Chrome\/(\d+)/))&&(he=fe[1]);var Je=he&&+he,Ze=!!Object.getOwnPropertySymbols&&!m((function(){return!Symbol.sham&&(Ge?38===Je:Je>37&&Je<41)})),Qe=Ze&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,et=Z("wks"),tt=g.Symbol,nt=Qe?tt:tt&&tt.withoutSetter||te,rt=function(e){return I(et,e)&&(Ze||"string"==typeof et[e])||(Ze&&I(tt,e)?et[e]=tt[e]:et[e]=nt("Symbol."+e)),et[e]},it=rt("species"),at=function(e,t){var n;return He(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!He(n.prototype)?T(n)&&null===(n=n[it])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},ot=rt("species"),st=function(e){return Je>=51||!m((function(){var t=[];return(t.constructor={})[ot]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},lt=rt("isConcatSpreadable"),ct=9007199254740991,ut="Maximum allowed index exceeded",ft=Je>=51||!m((function(){var e=[];return e[lt]=!1,e.concat()[0]!==e})),ht=st("concat"),dt=function(e){if(!T(e))return!1;var t=e[lt];return void 0!==t?!!t:He(e)};ze({target:"Array",proto:!0,forced:!ft||!ht},{concat:function(e){var t,n,r,i,a,o=Ve(this),s=at(o,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(dt(a=-1===t?o:arguments[t])){if(l+(i=xe(a.length))>ct)throw TypeError(ut);for(n=0;n<i;n++,l++)n in a&&qe(s,l,a[n])}else{if(l>=ct)throw TypeError(ut);qe(s,l++,a)}return s.length=l,s}});var pt=function(e,t){var n=[][e];return!!n&&m((function(){n.call(null,t||function(){throw 1},1)}))},gt=[].join,mt=A!=Object,vt=pt("join",",");ze({target:"Array",proto:!0,forced:mt||!vt},{join:function(e){return gt.call(k(this),void 0===e?",":e)}});var bt=function(){var e=M(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function yt(e,t){return RegExp(e,t)}var wt,St,xt={UNSUPPORTED_Y:m((function(){var e=yt("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET:m((function(){var e=yt("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},Et=RegExp.prototype.exec,_t=Z("native-string-replace",String.prototype.replace),At=Et,Ct=(wt=/a/,St=/b*/g,Et.call(wt,"a"),Et.call(St,"a"),0!==wt.lastIndex||0!==St.lastIndex),kt=xt.UNSUPPORTED_Y||xt.BROKEN_CARET,Tt=void 0!==/()??/.exec("")[1];(Ct||Tt||kt)&&(At=function(e){var t,n,r,i,a=this,o=kt&&a.sticky,s=bt.call(a),l=a.source,c=0,u=e;return o&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),Tt&&(n=new RegExp("^"+l+"$(?!\\s)",s)),Ct&&(t=a.lastIndex),r=Et.call(o?n:a,u),o?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:Ct&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),Tt&&r&&r.length>1&&_t.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var Rt=At;ze({target:"RegExp",proto:!0,forced:/./.exec!==Rt},{exec:Rt});var Nt=rt("species"),It=!m((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),Bt="$0"==="a".replace(/./,"$0"),Ot=rt("replace"),Pt=!!/./[Ot]&&""===/./[Ot]("a","$0"),Lt=!m((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Ft=function(e,t,n,r){var i=rt(e),a=!m((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),o=a&&!m((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[Nt]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!a||!o||"replace"===e&&(!It||!Bt||Pt)||"split"===e&&!Lt){var s=/./[i],l=n(i,""[e],(function(e,t,n,r,i){return t.exec===RegExp.prototype.exec?a&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:Bt,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Pt}),c=l[0],u=l[1];pe(String.prototype,e,c),pe(RegExp.prototype,i,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}r&&U(RegExp.prototype[i],"sham",!0)},Dt=rt("match"),Mt=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},jt=rt("species"),Wt=function(e){return function(t,n){var r,i,a=String(C(t)),o=we(n),s=a.length;return o<0||o>=s?e?"":void 0:(r=a.charCodeAt(o))<55296||r>56319||o+1===s||(i=a.charCodeAt(o+1))<56320||i>57343?e?a.charAt(o):r:e?a.slice(o,o+2):i-56320+(r-55296<<10)+65536}},Ut={codeAt:Wt(!1),charAt:Wt(!0)}.charAt,zt=function(e,t,n){return t+(n?Ut(e,t).length:1)},Ht=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==E(e))throw TypeError("RegExp#exec called on incompatible receiver");return Rt.call(e,t)},Vt=xt.UNSUPPORTED_Y,qt=[].push,Gt=Math.min,Xt=4294967295;Ft("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r,i,a=String(C(this)),o=void 0===n?Xt:n>>>0;if(0===o)return[];if(void 0===e)return[a];if(!T(r=e)||!(void 0!==(i=r[Dt])?i:"RegExp"==E(r)))return t.call(a,e,o);for(var s,l,c,u=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,d=new RegExp(e.source,f+"g");(s=Rt.call(d,a))&&!((l=d.lastIndex)>h&&(u.push(a.slice(h,s.index)),s.length>1&&s.index<a.length&&qt.apply(u,s.slice(1)),c=s[0].length,h=l,u.length>=o));)d.lastIndex===s.index&&d.lastIndex++;return h===a.length?!c&&d.test("")||u.push(""):u.push(a.slice(h)),u.length>o?u.slice(0,o):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=C(this),a=null==t?void 0:t[e];return void 0!==a?a.call(t,i,n):r.call(String(i),t,n)},function(e,i){var a=n(r,e,this,i,r!==t);if(a.done)return a.value;var o=M(e),s=String(this),l=function(e,t){var n,r=M(e).constructor;return void 0===r||null==(n=M(r)[jt])?t:Mt(n)}(o,RegExp),c=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Vt?"g":"y"),f=new l(Vt?"^(?:"+o.source+")":o,u),h=void 0===i?Xt:i>>>0;if(0===h)return[];if(0===s.length)return null===Ht(f,s)?[s]:[];for(var d=0,p=0,g=[];p<s.length;){f.lastIndex=Vt?0:p;var m,v=Ht(f,Vt?s.slice(p):s);if(null===v||(m=Gt(xe(f.lastIndex+(Vt?p:0)),s.length))===d)p=zt(s,p,c);else{if(g.push(s.slice(d,p)),g.length===h)return g;for(var b=1;b<=v.length-1;b++)if(g.push(v[b]),g.length===h)return g;p=d=m}}return g.push(s.slice(d)),g}]}),Vt);var $t=Math.floor,Yt="".replace,Kt=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Jt=/\$([$&'`]|\d{1,2})/g,Zt=function(e,t,n,r,i,a){var o=n+e.length,s=r.length,l=Jt;return void 0!==i&&(i=Ve(i),l=Kt),Yt.call(a,l,(function(a,l){var c;switch(l.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(o);case"<":c=i[l.slice(1,-1)];break;default:var u=+l;if(0===u)return a;if(u>s){var f=$t(u/10);return 0===f?a:f<=s?void 0===r[f-1]?l.charAt(1):r[f-1]+l.charAt(1):a}c=r[u-1]}return void 0===c?"":c}))},Qt=Math.max,en=Math.min;Ft("replace",2,(function(e,t,n,r){var i=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,a=r.REPLACE_KEEPS_$0,o=i?"$":"$0";return[function(n,r){var i=C(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!i&&a||"string"==typeof r&&-1===r.indexOf(o)){var s=n(t,e,this,r);if(s.done)return s.value}var l=M(e),c=String(this),u="function"==typeof r;u||(r=String(r));var f=l.global;if(f){var h=l.unicode;l.lastIndex=0}for(var d=[];;){var p=Ht(l,c);if(null===p)break;if(d.push(p),!f)break;""===String(p[0])&&(l.lastIndex=zt(c,xe(l.lastIndex),h))}for(var g,m="",v=0,b=0;b<d.length;b++){p=d[b];for(var y=String(p[0]),w=Qt(en(we(p.index),c.length),0),S=[],x=1;x<p.length;x++)S.push(void 0===(g=p[x])?g:String(g));var E=p.groups;if(u){var _=[y].concat(S,w,c);void 0!==E&&_.push(E);var A=String(r.apply(void 0,_))}else A=Zt(y,c,w,S,E,r);w>=v&&(m+=c.slice(v,w)+A,v=w+y.length)}return m+c.slice(v)}]}));var tn=[].push,nn=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,a=6==e,o=7==e,s=5==e||a;return function(l,c,u,f){for(var h,d,p=Ve(l),g=A(p),m=function(e,t,n){if(Mt(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}(c,u,3),v=xe(g.length),b=0,y=f||at,w=t?y(l,v):n||o?y(l,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:tn.call(w,h)}else switch(e){case 4:return!1;case 7:tn.call(w,h)}return a?-1:r||i?i:w}},rn={forEach:nn(0),map:nn(1),filter:nn(2),some:nn(3),every:nn(4),find:nn(5),findIndex:nn(6),filterOut:nn(7)},an=rn.forEach,on=pt("forEach")?[].forEach:function(e){return an(this,e,arguments.length>1?arguments[1]:void 0)};for(var sn in{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}){var ln=g[sn],cn=ln&&ln.prototype;if(cn&&cn.forEach!==on)try{U(cn,"forEach",on)}catch(e){cn.forEach=on}}var un={};un[rt("toStringTag")]="z";var fn="[object z]"===String(un),hn=rt("toStringTag"),dn="Arguments"==E(function(){return arguments}()),pn=fn?E:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),hn))?n:dn?E(t):"Object"==(r=E(t))&&"function"==typeof t.callee?"Arguments":r},gn=fn?{}.toString:function(){return"[object "+pn(this)+"]"};fn||pe(Object.prototype,"toString",gn,{unsafe:!0});var mn="toString",vn=RegExp.prototype,bn=vn.toString,yn=m((function(){return"/a/b"!=bn.call({source:"a",flags:"b"})})),wn=bn.name!=mn;(yn||wn)&&pe(RegExp.prototype,mn,(function(){var e=M(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in vn)?bt.call(e):n)}),{unsafe:!0});var Sn,xn=Object.keys||function(e){return ke(e,Te)},En=v?Object.defineProperties:function(e,t){M(e);for(var n,r=xn(t),i=r.length,a=0;i>a;)W.f(e,n=r[a++],t[n]);return e},_n=ve("document","documentElement"),An=re("IE_PROTO"),Cn=function(){},kn=function(e){return"<script>"+e+"</"+"script>"},Tn=function(){try{Sn=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Tn=Sn?function(e){e.write(kn("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Sn):((t=P("iframe")).style.display="none",_n.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(kn("document.F=Object")),e.close(),e.F);for(var n=Te.length;n--;)delete Tn.prototype[Te[n]];return Tn()};ie[An]=!0;var Rn=Object.create||function(e,t){var n;return null!==e?(Cn.prototype=M(e),n=new Cn,Cn.prototype=null,n[An]=e):n=Tn(),void 0===t?n:En(n,t)},Nn=rt("unscopables"),In=Array.prototype;null==In[Nn]&&W.f(In,Nn,{configurable:!0,value:Rn(null)});var Bn,On=rn.find,Pn="find",Ln=!0;Pn in[]&&Array(1).find((function(){Ln=!1})),ze({target:"Array",proto:!0,forced:Ln},{find:function(e){return On(this,e,arguments.length>1?arguments[1]:void 0)}}),Bn=Pn,In[Nn][Bn]=!0;var Fn=rn.filter;ze({target:"Array",proto:!0,forced:!st("filter")},{filter:function(e){return Fn(this,e,arguments.length>1?arguments[1]:void 0)}});var Dn=rn.map;ze({target:"Array",proto:!0,forced:!st("map")},{map:function(e){return Dn(this,e,arguments.length>1?arguments[1]:void 0)}});var Mn=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};Ft("search",1,(function(e,t,n){return[function(t){var n=C(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=M(e),a=String(this),o=i.lastIndex;Mn(o,0)||(i.lastIndex=0);var s=Ht(i,a);return Mn(i.lastIndex,o)||(i.lastIndex=o),null===s?-1:s.index}]}));var jn=n.default.fn.bootstrapTable.utils,Wn={cookieIds:{sortOrder:"bs.table.sortOrder",sortName:"bs.table.sortName",sortPriority:"bs.table.sortPriority",pageNumber:"bs.table.pageNumber",pageList:"bs.table.pageList",columns:"bs.table.columns",cardView:"bs.table.cardView",searchText:"bs.table.searchText",reorderColumns:"bs.table.reorderColumns",filterControl:"bs.table.filterControl",filterBy:"bs.table.filterBy"},getCurrentHeader:function(e){var t=e.$header;return e.options.height&&(t=e.$tableHeader),t},getCurrentSearchControls:function(e){var t="select, input";return e.options.height&&(t="table select, table input"),t},cookieEnabled:function(){return!!navigator.cookieEnabled},inArrayCookiesEnabled:function(e,t){for(var n=-1,r=0;r<t.length;r++)if(e.toLowerCase()===t[r].toLowerCase()){n=r;break}return n},setCookie:function(e,t,n){if(e.options.cookie&&Wn.cookieEnabled()&&""!==e.options.cookieIdTable&&-1!==Wn.inArrayCookiesEnabled(t,e.options.cookiesEnabled)){switch(t="".concat(e.options.cookieIdTable,".").concat(t),e.options.cookieStorage){case"cookieStorage":document.cookie=[t,"=",encodeURIComponent(n),"; expires=".concat(Wn.calculateExpiration(e.options.cookieExpire)),e.options.cookiePath?"; path=".concat(e.options.cookiePath):"",e.options.cookieDomain?"; domain=".concat(e.options.cookieDomain):"",e.options.cookieSecure?"; secure":"",";SameSite=".concat(e.options.cookieSameSite)].join("");break;case"localStorage":localStorage.setItem(t,n);break;case"sessionStorage":sessionStorage.setItem(t,n);break;case"customStorage":if(!e.options.cookieCustomStorageSet||!e.options.cookieCustomStorageGet||!e.options.cookieCustomStorageDelete)throw new Error("The following options must be set while using the customStorage: cookieCustomStorageSet, cookieCustomStorageGet and cookieCustomStorageDelete");jn.calculateObjectValue(e.options,e.options.cookieCustomStorageSet,[t,n],"");break;default:return!1}return!0}},getCookie:function(e,t,n){if(!n)return null;if(-1===Wn.inArrayCookiesEnabled(n,e.options.cookiesEnabled))return null;switch(n="".concat(t,".").concat(n),e.options.cookieStorage){case"cookieStorage":var r="; ".concat(document.cookie).split("; ".concat(n,"="));return 2===r.length?decodeURIComponent(r.pop().split(";").shift()):null;case"localStorage":return localStorage.getItem(n);case"sessionStorage":return sessionStorage.getItem(n);case"customStorage":if(!e.options.cookieCustomStorageSet||!e.options.cookieCustomStorageGet||!e.options.cookieCustomStorageDelete)throw new Error("The following options must be set while using the customStorage: cookieCustomStorageSet, cookieCustomStorageGet and cookieCustomStorageDelete");return jn.calculateObjectValue(e.options,e.options.cookieCustomStorageGet,[n],"");default:return null}},deleteCookie:function(e,t,n){switch(n="".concat(t,".").concat(n),e.options.cookieStorage){case"cookieStorage":document.cookie=[encodeURIComponent(n),"=","; expires=Thu, 01 Jan 1970 00:00:00 GMT",e.options.cookiePath?"; path=".concat(e.options.cookiePath):"",e.options.cookieDomain?"; domain=".concat(e.options.cookieDomain):"",";SameSite=".concat(e.options.cookieSameSite)].join("");break;case"localStorage":localStorage.removeItem(n);break;case"sessionStorage":sessionStorage.removeItem(n);break;case"customStorage":if(!e.options.cookieCustomStorageSet||!e.options.cookieCustomStorageGet||!e.options.cookieCustomStorageDelete)throw new Error("The following options must be set while using the customStorage: cookieCustomStorageSet, cookieCustomStorageGet and cookieCustomStorageDelete");jn.calculateObjectValue(e.options,e.options.cookieCustomStorageDelete,[n],"");break;default:return!1}return!0},calculateExpiration:function(e){var t=e.replace(/[0-9]*/,"");switch(e=e.replace(/[A-Za-z]{1,2}/,""),t.toLowerCase()){case"s":e=+e;break;case"mi":e*=60;break;case"h":e=60*e*60;break;case"d":e=24*e*60*60;break;case"m":e=30*e*24*60*60;break;case"y":e=365*e*24*60*60;break;default:e=void 0}if(!e)return"";var n=new Date;return n.setTime(n.getTime()+1e3*e),n.toGMTString()},initCookieFilters:function(e){setTimeout((function(){var t=JSON.parse(Wn.getCookie(e,e.options.cookieIdTable,Wn.cookieIds.filterControl));if(!e.options.filterControlValuesLoaded&&t){var r={},i=Wn.getCurrentHeader(e),a=Wn.getCurrentSearchControls(e),o=i;e.options.filterControlContainer&&(o=n.default("".concat(e.options.filterControlContainer))),o.find(a).each((function(){var i=n.default(this).closest("[data-field]").data("field");!function(t,n){n.forEach((function(n){if(""!==n.text&&("radio"!==t.type||t.value.toString()===n.text.toString()))if("INPUT"===t.tagName&&"radio"===t.type&&t.value.toString()===n.text.toString())t.checked=!0,r[n.field]=n.text;else if("INPUT"===t.tagName)t.value=n.text,r[n.field]=n.text;else if("SELECT"===t.tagName&&e.options.filterControlContainer)t.value=n.text,r[n.field]=n.text;else if(""!==n.text&&"SELECT"===t.tagName){for(var i=0;i<t.length;i++){var a=t[i];if(a.value===n.text)return void(a.selected=!0)}var o=document.createElement("option");o.value=n.text,o.text=n.text,t.add(o,t[1]),t.selectedIndex=1,r[n.field]=n.text}}))}(this,t.filter((function(e){return e.field===i})))})),e.initColumnSearch(r),e.options.filterControlValuesLoaded=!0,e.initServer()}}),250)}};n.default.extend(n.default.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.columns","bs.table.searchText","bs.table.filterControl","bs.table.filterBy","bs.table.reorderColumns","bs.table.cardView"],cookieStorage:"cookieStorage",cookieCustomStorageGet:null,cookieCustomStorageSet:null,cookieCustomStorageDelete:null,filterControls:[],filterControlValuesLoaded:!1}),n.default.fn.bootstrapTable.methods.push("getCookies"),n.default.fn.bootstrapTable.methods.push("deleteCookie"),n.default.extend(n.default.fn.bootstrapTable.utils,{setCookie:Wn.setCookie,getCookie:Wn.getCookie}),n.default.BootstrapTable=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(d,e);var t,s,u,h=l(d);function d(){return r(this,d),h.apply(this,arguments)}return t=d,s=[{key:"init",value:function(){if(this.options.cookie){var e=Wn.getCookie(this,this.options.cookieIdTable,Wn.cookieIds.filterBy);if("boolean"==typeof e&&!e)throw new Error("The cookie value of filterBy must be a json!");var t={};try{t=JSON.parse(e)}catch(e){throw new Error("Could not parse the json of the filterBy cookie!")}if(this.filterColumns=t||{},this.options.filterControls=[],this.options.filterControlValuesLoaded=!1,this.options.cookiesEnabled="string"==typeof this.options.cookiesEnabled?this.options.cookiesEnabled.replace("[","").replace("]","").replace(/'/g,"").replace(/ /g,"").toLowerCase().split(","):this.options.cookiesEnabled,this.options.filterControl){var n=this;this.$el.on("column-search.bs.table",(function(e,t,r){for(var i=!0,a=0;a<n.options.filterControls.length;a++)if(n.options.filterControls[a].field===t){n.options.filterControls[a].text=r,i=!1;break}i&&n.options.filterControls.push({field:t,text:r}),Wn.setCookie(n,Wn.cookieIds.filterControl,JSON.stringify(n.options.filterControls))})).on("created-controls.bs.table",Wn.initCookieFilters(n))}}c(a(d.prototype),"init",this).call(this)}},{key:"initServer",value:function(){var e;if(this.options.cookie&&this.options.filterControl&&!this.options.filterControlValuesLoaded){var t=JSON.parse(Wn.getCookie(this,this.options.cookieIdTable,Wn.cookieIds.filterControl));if(t)return}for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];(e=c(a(d.prototype),"initServer",this)).call.apply(e,[this].concat(r))}},{key:"initTable",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=c(a(d.prototype),"initTable",this)).call.apply(e,[this].concat(n)),this.initCookie()}},{key:"onSort",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=c(a(d.prototype),"onSort",this)).call.apply(e,[this].concat(n)),void 0===this.options.sortName||void 0===this.options.sortOrder?(Wn.deleteCookie(this,this.options.cookieIdTable,Wn.cookieIds.sortName),Wn.deleteCookie(this,this.options.cookieIdTable,Wn.cookieIds.sortOrder)):(this.options.sortPriority=null,Wn.deleteCookie(this,this.options.cookieIdTable,Wn.cookieIds.sortPriority),Wn.setCookie(this,Wn.cookieIds.sortOrder,this.options.sortOrder),Wn.setCookie(this,Wn.cookieIds.sortName,this.options.sortName))}},{key:"onMultipleSort",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=c(a(d.prototype),"onMultipleSort",this)).call.apply(e,[this].concat(n)),void 0===this.options.sortPriority?Wn.deleteCookie(this,this.options.cookieIdTable,Wn.cookieIds.sortPriority):(this.options.sortName=void 0,this.options.sortOrder=void 0,Wn.deleteCookie(this,this.options.cookieIdTable,Wn.cookieIds.sortName),Wn.deleteCookie(this,this.options.cookieIdTable,Wn.cookieIds.sortOrder),Wn.setCookie(this,Wn.cookieIds.sortPriority,JSON.stringify(this.options.sortPriority)))}},{key:"onPageNumber",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=c(a(d.prototype),"onPageNumber",this)).call.apply(e,[this].concat(n)),Wn.setCookie(this,Wn.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPageListChange",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=c(a(d.prototype),"onPageListChange",this)).call.apply(e,[this].concat(n)),Wn.setCookie(this,Wn.cookieIds.pageList,this.options.pageSize),Wn.setCookie(this,Wn.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPagePre",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=c(a(d.prototype),"onPagePre",this)).call.apply(e,[this].concat(n)),Wn.setCookie(this,Wn.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPageNext",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=c(a(d.prototype),"onPageNext",this)).call.apply(e,[this].concat(n)),Wn.setCookie(this,Wn.cookieIds.pageNumber,this.options.pageNumber)}},{key:"_toggleColumn",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=c(a(d.prototype),"_toggleColumn",this)).call.apply(e,[this].concat(n)),Wn.setCookie(this,Wn.cookieIds.columns,JSON.stringify(this.getVisibleColumns().map((function(e){return e.field}))))}},{key:"_toggleAllColumns",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=c(a(d.prototype),"_toggleAllColumns",this)).call.apply(e,[this].concat(n)),Wn.setCookie(this,Wn.cookieIds.columns,JSON.stringify(this.getVisibleColumns().map((function(e){return e.field}))))}},{key:"toggleView",value:function(){c(a(d.prototype),"toggleView",this).call(this),Wn.setCookie(this,Wn.cookieIds.cardView,this.options.cardView)}},{key:"selectPage",value:function(e){c(a(d.prototype),"selectPage",this).call(this,e),Wn.setCookie(this,Wn.cookieIds.pageNumber,e)}},{key:"onSearch",value:function(e){c(a(d.prototype),"onSearch",this).call(this,e),this.options.search&&Wn.setCookie(this,Wn.cookieIds.searchText,this.searchText),Wn.setCookie(this,Wn.cookieIds.pageNumber,this.options.pageNumber)}},{key:"initHeader",value:function(){var e;this.options.reorderableColumns&&(this.columnsSortOrder=JSON.parse(Wn.getCookie(this,this.options.cookieIdTable,Wn.cookieIds.reorderColumns)));for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=c(a(d.prototype),"initHeader",this)).call.apply(e,[this].concat(n))}},{key:"persistReorderColumnsState",value:function(e){Wn.setCookie(e,Wn.cookieIds.reorderColumns,JSON.stringify(e.columnsSortOrder))}},{key:"filterBy",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=c(a(d.prototype),"filterBy",this)).call.apply(e,[this].concat(n)),Wn.setCookie(this,Wn.cookieIds.filterBy,JSON.stringify(this.filterColumns))}},{key:"initCookie",value:function(){var e=this;if(this.options.cookie){if(""===this.options.cookieIdTable||""===this.options.cookieExpire||!Wn.cookieEnabled())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=Wn.getCookie(this,this.options.cookieIdTable,Wn.cookieIds.sortOrder),n=Wn.getCookie(this,this.options.cookieIdTable,Wn.cookieIds.sortName),r=Wn.getCookie(this,this.options.cookieIdTable,Wn.cookieIds.sortPriority),i=Wn.getCookie(this,this.options.cookieIdTable,Wn.cookieIds.pageNumber),a=Wn.getCookie(this,this.options.cookieIdTable,Wn.cookieIds.pageList),o=Wn.getCookie(this,this.options.cookieIdTable,Wn.cookieIds.searchText),s=Wn.getCookie(this,this.options.cookieIdTable,Wn.cookieIds.cardView),l=Wn.getCookie(this,this.options.cookieIdTable,Wn.cookieIds.columns);if("boolean"==typeof l&&!l)throw new Error("The cookie value of filterBy must be a json!");var c={};try{c=JSON.parse(l)}catch(e){throw new Error("Could not parse the json of the columns cookie!",l)}try{r=JSON.parse(r)}catch(e){throw new Error("Could not parse the json of the sortPriority cookie!",r)}if(this.options.sortOrder=void 0,this.options.sortName=void 0,r||(this.options.sortOrder=t||this.options.sortOrder,this.options.sortName=n||this.options.sortName),this.options.sortPriority=r||this.options.sortPriority,(this.options.sortOrder||this.options.sortName)&&(this.options.sortPriority=null),this.options.pageNumber=i?+i:this.options.pageNumber,this.options.pageSize=a?a===this.options.formatAllRows()?a:+a:this.options.pageSize,this.options.searchText=o||"",this.options.cardView="true"===s&&s,c){var u,h=f(this.columns);try{var d=function(){var t=u.value,n=c.filter((function(n){return!!e.isSelectionColumn(t)||(n instanceof Object?n.field===t.field:n===t.field)}));t.visible=(n.length>0||!t.switchable)&&t.visible};for(h.s();!(u=h.n()).done;)d()}catch(e){h.e(e)}finally{h.f()}}}}},{key:"getCookies",value:function(){var e=this,t={};return n.default.each(Wn.cookieIds,(function(n,r){t[n]=Wn.getCookie(e,e.options.cookieIdTable,r),"columns"===n&&(t[n]=JSON.parse(t[n]))})),t}},{key:"deleteCookie",value:function(e){""!==e&&Wn.cookieEnabled()&&Wn.deleteCookie(this,this.options.cookieIdTable,Wn.cookieIds[e])}}],s&&i(t.prototype,s),u&&i(t,u),d}(n.default.BootstrapTable)})),jQuery.base64=function(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function n(e){var n,r,i,a,o,s,l,c="",u=0;for(e=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t}(e);u<e.length;)a=(n=e.charCodeAt(u++))>>2,o=(3&n)<<4|(r=e.charCodeAt(u++))>>4,s=(15&r)<<2|(i=e.charCodeAt(u++))>>6,l=63&i,isNaN(r)?s=l=64:isNaN(i)&&(l=64),c=c+t.charAt(a)+t.charAt(o)+t.charAt(s)+t.charAt(l);return c}return{encode:function(e){return n(e)}}}(jQuery),function(e){e.fn.tableExport=function(a){let o;const s={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},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:{}},preserve:{leadingWS:!1,trailingWS:!1},preventInjection:!0,sql:{tableEnclosure:"`",columnEnclosure:"`"},tbodySelector:"tr",tfootSelector:"tr",theadSelector:"tr",tableName:"Table",type:"csv"},l={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]},c={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"}}},u={cellPadding:5,fontSize:10,font:"helvetica",lineColor:200,lineWidth:.1,fontStyle:"normal",overflow:"ellipsize",fillColor:255,textColor:20,halign:"left",valign:"top",fillStyle:"F",rowHeight:20,columnWidth:"auto"},f=1.15,h=this;let d,p=null,g=[],m=[],v=0,b="",y=[],w=[],S=[],x=!1;if(e.extend(!0,s,a),"xlsx"===s.type&&(s.mso.fileFormat=s.type,s.type="excel"),void 0!==s.excelFileFormat&&void 0===s.mso.fileFormat&&(s.mso.fileFormat=s.excelFileFormat),void 0!==s.excelPageFormat&&void 0===s.mso.pageFormat&&(s.mso.pageFormat=s.excelPageFormat),void 0!==s.excelPageOrientation&&void 0===s.mso.pageOrientation&&(s.mso.pageOrientation=s.excelPageOrientation),void 0!==s.excelRTL&&void 0===s.mso.rtl&&(s.mso.rtl=s.excelRTL),void 0!==s.excelstyles&&void 0===s.mso.styles&&(s.mso.styles=s.excelstyles),void 0!==s.onMsoNumberFormat&&void 0===s.mso.onMsoNumberFormat&&(s.mso.onMsoNumberFormat=s.onMsoNumberFormat),void 0!==s.worksheetName&&void 0===s.mso.worksheetName&&(s.mso.worksheetName=s.worksheetName),void 0!==s.mso.xslx&&void 0===s.mso.xlsx&&(s.mso.xlsx=s.mso.xslx),s.mso.pageOrientation="l"===s.mso.pageOrientation.substr(0,1)?"landscape":"portrait",s.date.html=s.date.html||"",s.date.html.length){const e=[];e.dd="(3[01]|[12][0-9]|0?[1-9])",e.mm="(1[012]|0?[1-9])",e.yyyy="((?:1[6-9]|2[0-2])\\d{2})",e.yy="(\\d{2})";const t=s.date.html.match(/[^a-zA-Z0-9]/)[0],n=s.date.html.toLowerCase().split(t);s.date.regex="^\\s*",s.date.regex+=e[n[0]],s.date.regex+="(.)",s.date.regex+=e[n[1]],s.date.regex+="\\2",s.date.regex+=e[n[2]],s.date.regex+="\\s*$",s.date.pattern=new RegExp(s.date.regex,"g");let r=n.indexOf("dd")+1;s.date.match_d=r+(r>1?1:0),r=n.indexOf("mm")+1,s.date.match_m=r+(r>1?1:0),r=(n.indexOf("yyyy")>=0?n.indexOf("yyyy"):n.indexOf("yy"))+1,s.date.match_y=r+(r>1?1:0)}if(y=C(h),"function"==typeof s.onTableExportBegin&&s.onTableExportBegin(),"csv"===s.type||"tsv"===s.type||"txt"===s.type){let t="",n=0;w=[],v=0;const r=function(e,t,n){let r="";if(null!==e){const i=U(e,t,n),a=null===i||""===i?"":i.toString();"tsv"===s.type?(i instanceof Date&&i.toLocaleString(),r=F(a,"\t"," ")):i instanceof Date?r=s.csvEnclosure+i.toLocaleString()+s.csvEnclosure:(r=z(a),r=F(r,s.csvEnclosure,s.csvEnclosure+s.csvEnclosure),(r.indexOf(s.csvSeparator)>=0||/[\r\n ]/g.test(r))&&(r=s.csvEnclosure+r+s.csvEnclosure))}return r},i=function(n,i,a){return n.each((function(){b="",R(this,i,v,a+n.length,(function(e,t,n){b+=r(e,t,n)+("tsv"===s.type?"\t":s.csvSeparator)})),b=e.trim(b).substring(0,b.length-1),b.length>0&&(t.length>0&&(t+="\n"),t+=b),v++})),n.length};if(n+=i(e(h).find("thead").first().find(s.theadSelector),"th,td",n),A(e(h),"tbody").each((function(){n+=i(A(e(this),s.tbodySelector),"td,th",n)})),s.tfootSelector.length&&i(e(h).find("tfoot").first().find(s.tfootSelector),"td,th",n),t+="\n","string"===s.outputMode)return t;if("base64"===s.outputMode)return ne(t);if("window"===s.outputMode)return void te(!1,"data:text/"+("csv"===s.type?"csv":"plain")+";charset=utf-8,",t);ee(t,s.fileName+"."+s.type,"text/"+("csv"===s.type?"csv":"plain"),"utf-8","","csv"===s.type&&s.csvUseBOM)}else if("sql"===s.type){v=0,w=[];let t="INSERT INTO "+s.sql.tableEnclosure+s.tableName+s.sql.tableEnclosure+" (";if(g=E(e(h)),e(g).each((function(){R(this,"th,td",v,g.length,(function(e,n,r){let i=U(e,n,r)||"";i.indexOf(s.sql.columnEnclosure)>-1&&(i=F(i.toString(),s.sql.columnEnclosure,s.sql.columnEnclosure+s.sql.columnEnclosure)),t+=s.sql.columnEnclosure+i+s.sql.columnEnclosure+","})),v++,t=e.trim(t).substring(0,t.length-1)})),t+=") VALUES ",m=_(e(h)),e(m).each((function(){b="",R(this,"td,th",v,g.length+m.length,(function(e,t,n){let r=U(e,t,n)||"";r.indexOf("'")>-1&&(r=F(r.toString(),"'","''")),b+="'"+r+"',"})),b.length>3&&(t+="("+b,t=e.trim(t).substring(0,t.length-1),t+="),"),v++})),t=e.trim(t).substring(0,t.length-1),t+=";","string"===s.outputMode)return t;if("base64"===s.outputMode)return ne(t);ee(t,s.fileName+".sql","application/sql","utf-8","",!1)}else if("json"===s.type){const t=[];w=[],g=E(e(h)),e(g).each((function(){const e=[];R(this,"th,td",v,g.length,(function(t,n,r){e.push(U(t,n,r))})),t.push(e)}));const n=[];let r;if(m=_(e(h)),e(m).each((function(){const r={};let i=0;R(this,"td,th",v,g.length+m.length,(function(e,n,a){t.length?r[t[t.length-1][i]]=U(e,n,a):r[i]=U(e,n,a),i++})),!1===e.isEmptyObject(r)&&n.push(r),v++})),r="head"===s.jsonScope?JSON.stringify(t):"data"===s.jsonScope?JSON.stringify(n):JSON.stringify({header:t,data:n}),"string"===s.outputMode)return r;if("base64"===s.outputMode)return ne(r);ee(r,s.fileName+".json","application/json","utf-8","base64",!1)}else if("xml"===s.type){v=0,w=[];let t='<?xml version="1.0" encoding="utf-8"?>';t+="<tabledata><fields>",g=E(e(h)),e(g).each((function(){R(this,"th,td",v,g.length,(function(e,n,r){t+="<field>"+U(e,n,r)+"</field>"})),v++})),t+="</fields><data>";let n=1;if(m=_(e(h)),e(m).each((function(){let e=1;b="",R(this,"td,th",v,g.length+m.length,(function(t,n,r){b+="<column-"+e+">"+U(t,n,r)+"</column-"+e+">",e++})),b.length>0&&"<column-1></column-1>"!==b&&(t+='<row id="'+n+'">'+b+"</row>",n++),v++})),t+="</data></tabledata>","string"===s.outputMode)return t;if("base64"===s.outputMode)return ne(t);ee(t,s.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===s.type&&"xmlss"===s.mso.fileFormat){const t=[],n=[];e(h).filter((function(){return k(e(this))})).each((function(){const r=e(this);let i="";function a(t,n,r){const i=[];return e(t).each((function(){let n=0,a=0;b="",R(this,"td,th",v,r+t.length,(function(t,r,o){if(null!==t){let s="",l=U(t,r,o),c="String";if(!1!==jQuery.isNumeric(l))c="Number";else{const e=function(e){e.indexOf("%")>-1?!1!==(e=W(e.replace(/%/g,"")))&&(e/=100):e=!1;return e}(l);!1!==e&&(l=e,c="Number",s+=' ss:StyleID="pct1"')}"Number"!==c&&(l=l.replace(/\n/g,"<br>"));let u=G(t),f=X(t);e.each(i,(function(){const e=this;if(v>=e.s.r&&v<=e.e.r&&a>=e.s.c&&a<=e.e.c)for(let t=0;t<=e.e.c-e.s.c;++t)a++,n++})),(f||u)&&(f=f||1,u=u||1,i.push({s:{r:v,c:a},e:{r:v+f-1,c:a+u-1}})),u>1&&(s+=' ss:MergeAcross="'+(u-1)+'"',a+=u-1),f>1&&(s+=' ss:MergeDown="'+(f-1)+'" ss:StyleID="rsp1"'),n>0&&(s+=' ss:Index="'+(a+1)+'"',n=0),b+="<Cell"+s+'><Data ss:Type="'+c+'">'+e("<div />").text(l).html()+"</Data></Cell>\r",a++}})),b.length>0&&(o+='<Row ss:AutoFitHeight="0">\r'+b+"</Row>\r"),v++})),t.length}"string"==typeof s.mso.worksheetName&&s.mso.worksheetName.length?i=s.mso.worksheetName+" "+(n.length+1):void 0!==s.mso.worksheetName[n.length]&&(i=s.mso.worksheetName[n.length]),i.length||(i=r.find("caption").text()||""),i.length||(i="Table "+(n.length+1)),i=e.trim(i.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),n.push(e("<div />").text(i).html()),!1===s.exportHiddenCells&&(S=r.find("tr, th, td").filter(":hidden"),x=S.length>0),v=0,y=C(this),o="<Table>\r";const l=a(E(r),0,0);a(_(r),0,l),o+="</Table>\r",t.push(o)}));const r={},i={};let a,l;for(let e=0,t=n.length;e<t;e++)a=n[e],l=r[a],l=r[a]=null==l?1:l+1,2===l&&(n[i[a]]=n[i[a]].substring(0,29)+"-1"),r[a]>1?n[e]=n[e].substring(0,29)+"-"+r[a]:i[a]=e;let c='<?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';for(let e=0;e<t.length;e++)c+='<Worksheet ss:Name="'+n[e]+'" ss:RightToLeft="'+(s.mso.rtl?"1":"0")+'">\r'+t[e],s.mso.rtl?c+='<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">\r<DisplayRightToLeft/>\r</WorksheetOptions>\r':c+='<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"/>\r',c+="</Worksheet>\r";if(c+="</Workbook>\r","string"===s.outputMode)return c;if("base64"===s.outputMode)return ne(c);ee(c,s.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===s.type&&"xlsx"===s.mso.fileFormat){const t=[],n=XLSX.utils.book_new();e(h).filter((function(){return k(e(this))})).each((function(){const r=e(this),i=function(t){let n;const r={},i=t.getElementsByTagName("tr"),a=Math.min(1e7,i.length),o={s:{r:0,c:0},e:{r:0,c:0}};let l,c=[],u=0,f=0,h=0,d=0,p=0,g=0,m=0;const v=XLSX.SSF.get_table();for(;f<i.length&&h<a;++f){const t=i[f];let a=!1;if("function"==typeof s.onIgnoreRow&&(a=s.onIgnoreRow(e(t),f)),!0===a||0!==s.ignoreRow.length&&(-1!==e.inArray(f,s.ignoreRow)||-1!==e.inArray(f-i.length,s.ignoreRow))||!1===k(e(t)))continue;const b=t.children;let y=0;for(d=0;d<b.length;++d)l=b[d],m=+G(l)||1,y+=m;let w=0;for(d=p=0;d<b.length;++d){l=b[d],m=+G(l)||1;const t=d+w;if(T(e(l),y,t+(t<p?p-t:0)))continue;for(w+=m-1,u=0;u<c.length;++u){const e=c[u];e.s.c==p&&e.s.r<=h&&h<=e.e.r&&(p=e.e.c+1,u=-1)}((g=+X(l))>0||m>1)&&c.push({s:{r:h,c:p},e:{r:h+(g||1)-1,c:p+m-1}});const i={type:""};let a=U(l,f,d+w,i),S={t:"s",v:a},x="";if(""!==(e(l).attr("data-tableexport-cellformat")||"")?(n=parseInt(e(l).attr("data-tableexport-xlsxformatid")||0),0===n&&"function"==typeof s.mso.xslx.formatId.numbers&&(n=s.mso.xslx.formatId.numbers(e(l),f,d+w)),0===n&&"function"==typeof s.mso.xslx.formatId.date&&(n=s.mso.xslx.formatId.date(e(l),f,d+w)),49===n||"@"===n?x="s":"number"===i.type||n>0&&n<14||n>36&&n<41||48===n?x="n":("date"===i.type||n>13&&n<37||n>44&&n<48||56===n)&&(x="d")):x="s",null!=a){let t;if(0===a.length)S.t="z";else if(0===a.trim().length);else if("s"===x);else if("function"===i.type)S={f:a};else if("TRUE"===a)S={t:"b",v:!0};else if("FALSE"===a)S={t:"b",v:!1};else if("n"===x||isFinite(Z(a,s.numbers.output))){const e=Z(a,s.numbers.output);0===n&&"function"!=typeof s.mso.xslx.formatId.numbers&&(n=s.mso.xslx.formatId.numbers),(isFinite(e)||isFinite(a))&&(S={t:"n",v:isFinite(e)?e:a,z:"string"==typeof n?n:n in v?v[n]:"0.00"})}else!1===(t=j(a))&&"d"!==x||(0===n&&"function"!=typeof s.mso.xslx.formatId.date&&(n=s.mso.xslx.formatId.date),S={t:"d",v:!1!==t?t:a,z:"string"==typeof n?n:n in v?v[n]:"m/d/yy"});const r=e(l).find("a");if(r&&r.length){const t=r[0].hasAttribute("href")?r.attr("href"):"",n="href"!==s.htmlHyperlink||""===t?a:"",i=""!==t?'=HYPERLINK("'+t+(n.length?'","'+n:"")+'")':"";""!==i&&("function"==typeof s.mso.xlsx.onHyperlink?(a=s.mso.xlsx.onHyperlink(e(l),f,d,t,n,i),S=0!==a.indexOf("=HYPERLINK")?{t:"s",v:a}:{f:a}):S={f:i})}}r[K({c:p,r:h})]=S,o.e.c<p&&(o.e.c=p),p+=m}++h}c.length&&(r["!merges"]=(r["!merges"]||[]).concat(c));o.e.r=Math.max(o.e.r,h-1),r["!ref"]=J(o),h>=a&&(r["!fullref"]=J((o.e.r=i.length-f+h-1,o)));return r}(this);let a="";"string"==typeof s.mso.worksheetName&&s.mso.worksheetName.length?a=s.mso.worksheetName+" "+(t.length+1):void 0!==s.mso.worksheetName[t.length]&&(a=s.mso.worksheetName[t.length]),a.length||(a=r.find("caption").text()||""),a.length||(a="Table "+(t.length+1)),a=e.trim(a.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),t.push(a),XLSX.utils.book_append_sheet(n,i,a)}));ee(function(e){const t=new ArrayBuffer(e.length),n=new Uint8Array(t);for(let t=0;t!==e.length;++t)n[t]=255&e.charCodeAt(t);return t}(XLSX.write(n,{type:"binary",bookType:s.mso.fileFormat,bookSST:!1})),s.fileName+"."+s.mso.fileFormat,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","UTF-8","",!1)}else if("excel"===s.type||"xls"===s.type||"word"===s.type||"doc"===s.type){const t="excel"===s.type||"xls"===s.type?"excel":"word",n="excel"===t?"xls":"doc",r='xmlns:x="urn:schemas-microsoft-com:office:'+t+'"';o="";let i="";e(h).filter((function(){return k(e(this))})).each((function(){const t=e(this);""===i&&(i=s.mso.worksheetName||t.find("caption").text()||"Table",i=e.trim(i.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31))),!1===s.exportHiddenCells&&(S=t.find("tr, th, td").filter(":hidden"),x=S.length>0),v=0,w=[],y=C(this),o+="<table><thead>",g=E(t),e(g).each((function(){const t=e(this);b="",R(this,"th,td",v,g.length,(function(e,n,r){if(null!==e){let i="";if(b+="<th",s.mso.styles.length){const n=document.defaultView.getComputedStyle(e,null),r=document.defaultView.getComputedStyle(t[0],null);for(let e in s.mso.styles){let t=n[s.mso.styles[e]];""===t&&(t=r[s.mso.styles[e]]),""!==t&&"0px none rgb(0, 0, 0)"!==t&&"rgba(0, 0, 0, 0)"!==t&&(i+=""===i?'style="':";",i+=s.mso.styles[e]+":"+t)}}""!==i&&(b+=" "+i+'"');const a=G(e);a>0&&(b+=' colspan="'+a+'"');const o=X(e);o>0&&(b+=' rowspan="'+o+'"'),b+=">"+U(e,n,r)+"</th>"}})),b.length>0&&(o+="<tr>"+b+"</tr>"),v++})),o+="</thead><tbody>",m=_(t),e(m).each((function(){const t=e(this);b="",R(this,"td,th",v,g.length+m.length,(function(n,r,i){if(null!==n){let a=U(n,r,i),o="",l=e(n).attr("data-tableexport-msonumberformat");if(void 0===l&&"function"==typeof s.mso.onMsoNumberFormat&&(l=s.mso.onMsoNumberFormat(n,r,i)),void 0!==l&&""!==l&&(o="style=\"mso-number-format:'"+l+"'"),s.mso.styles.length){const e=document.defaultView.getComputedStyle(n,null),r=document.defaultView.getComputedStyle(t[0],null);for(let t in s.mso.styles)l=e[s.mso.styles[t]],""===l&&(l=r[s.mso.styles[t]]),""!==l&&"0px none rgb(0, 0, 0)"!==l&&"rgba(0, 0, 0, 0)"!==l&&(o+=""===o?'style="':";",o+=s.mso.styles[t]+":"+l)}b+="<td",""!==o&&(b+=" "+o+'"');const c=G(n);c>0&&(b+=' colspan="'+c+'"');const u=X(n);u>0&&(b+=' rowspan="'+u+'"'),"string"==typeof a&&""!==a&&(a=z(a),a=a.replace(/\n/g,"<br>")),b+=">"+a+"</td>"}})),b.length>0&&(o+="<tr>"+b+"</tr>"),v++})),s.displayTableName&&(o+="<tr><td></td></tr><tr><td></td></tr><tr><td>"+U(e("<p>"+s.tableName+"</p>"))+"</td></tr>"),o+="</tbody></table>"}));let a='<html xmlns:o="urn:schemas-microsoft-com:office:office" '+r+' xmlns="http://www.w3.org/TR/REC-html40">';if(a+='<meta http-equiv="content-type" content="application/vnd.ms-'+t+'; charset=UTF-8">',a+="<head>","excel"===t&&(a+="\x3c!--[if gte mso 9]>",a+="<xml>",a+="<x:ExcelWorkbook>",a+="<x:ExcelWorksheets>",a+="<x:ExcelWorksheet>",a+="<x:Name>",a+=i,a+="</x:Name>",a+="<x:WorksheetOptions>",a+="<x:DisplayGridlines/>",s.mso.rtl&&(a+="<x:DisplayRightToLeft/>"),a+="</x:WorksheetOptions>",a+="</x:ExcelWorksheet>",a+="</x:ExcelWorksheets>",a+="</x:ExcelWorkbook>",a+="</xml>",a+="<![endif]--\x3e"),a+="<style>",a+="@page { size:"+s.mso.pageOrientation+"; mso-page-orientation:"+s.mso.pageOrientation+"; }",a+="@page Section1 {size:"+l[s.mso.pageFormat][0]+"pt "+l[s.mso.pageFormat][1]+"pt",a+="; margin:1.0in 1.25in 1.0in 1.25in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",a+="div.Section1 {page:Section1;}",a+="@page Section2 {size:"+l[s.mso.pageFormat][1]+"pt "+l[s.mso.pageFormat][0]+"pt",a+=";mso-page-orientation:"+s.mso.pageOrientation+";margin:1.25in 1.0in 1.25in 1.0in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",a+="div.Section2 {page:Section2;}",a+="br {mso-data-placement:same-cell;}",a+="</style>",a+="</head>",a+="<body>",a+='<div class="Section'+("landscape"===s.mso.pageOrientation?"2":"1")+'">',a+=o,a+="</div>",a+="</body>",a+="</html>","string"===s.outputMode)return a;if("base64"===s.outputMode)return ne(a);ee(a,s.fileName+"."+n,"application/vnd.ms-"+t,"","base64",!1)}else if("png"===s.type)html2canvas(e(h)[0]).then((function(e){const t=e.toDataURL(),n=atob(t.substring(22)),r=new ArrayBuffer(n.length),i=new Uint8Array(r);for(let e=0;e<n.length;e++)i[e]=n.charCodeAt(e);return"string"===s.outputMode?n:"base64"===s.outputMode?ne(t):void("window"!==s.outputMode?ee(r,s.fileName+".png","image/png","","",!1):window.open(t))}));else if("pdf"===s.type)if(!0===s.pdfmake.enabled){const t={content:[]};e.extend(!0,t,s.pdfmake.docDefinition),w=[],e(h).filter((function(){return k(e(this))})).each((function(){const n=e(this),r=[],i=[];v=0;const a=function(t,n,r){let a=0;return e(t).each((function(){const e=[];R(this,n,v,r,(function(t,r,i){let a;if(null!=t){const e=G(t),n=X(t);a={text:U(t,r,i)||" "},(e>1||n>1)&&(a.colSpan=e||1,a.rowSpan=n||1)}else a={text:" "};n.indexOf("th")>=0&&(a.style="header"),e.push(a)})),e.length&&i.push(e),a<e.length&&(a=e.length),v++})),a};g=E(n);let o=a(g,"th,td",g.length);for(let e=r.length;e<o;e++)r.push("*");m=_(n),o=a(m,"td",g.length+m.length);for(let e=r.length;e<o;e++)r.push("*");t.content.push({table:{headerRows:g.length?g.length:null,widths:r,body:i},layout:{layout:"noBorders",hLineStyle:function(e,t){return 0},vLineWidth:function(e,t){return 0},hLineColor:function(e,t){return e<t.table.headerRows?s.pdfmake.docDefinition.styles.header.background:s.pdfmake.docDefinition.styles.alternateRow.fillColor},vLineColor:function(e,t){return e<t.table.headerRows?s.pdfmake.docDefinition.styles.header.background:s.pdfmake.docDefinition.styles.alternateRow.fillColor},fillColor:function(e,t,n){return e%2==0?s.pdfmake.docDefinition.styles.alternateRow.fillColor:null}},pageBreak:t.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")?(t.defaultStyle.font="Mirza",e.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")?(t.defaultStyle.font="gbsn00lp",e.extend(!0,pdfMake.fonts,{gbsn00lp:{normal:"gbsn00lp.ttf",bold:"gbsn00lp.ttf",italics:"gbsn00lp.ttf",bolditalics:"gbsn00lp.ttf"}})):pdfMake.vfs.hasOwnProperty("ZCOOLXiaoWei-Regular.ttf")&&(t.defaultStyle.font="ZCOOLXiaoWei",e.extend(!0,pdfMake.fonts,{ZCOOLXiaoWei:{normal:"ZCOOLXiaoWei-Regular.ttf",bold:"ZCOOLXiaoWei-Regular.ttf",italics:"ZCOOLXiaoWei-Regular.ttf",bolditalics:"ZCOOLXiaoWei-Regular.ttf"}})),e.extend(!0,pdfMake.fonts,s.pdfmake.fonts),pdfMake.createPdf(t).getBuffer((function(e){ee(e,s.fileName+".pdf","application/pdf","","",!1)})))}else if(!1===s.jspdf.autotable){let e=new jspdf.jsPDF({orientation:s.jspdf.orientation,unit:s.jspdf.unit,format:s.jspdf.format});e.html(h[0],{callback:function(){I(e,!1)},html2canvas:{scale:(e.internal.pageSize.width-2*s.jspdf.margins.left)/h[0].scrollWidth},x:s.jspdf.margins.left,y:s.jspdf.margins.top})}else{const a=s.jspdf.autotable.tableExport;if("string"==typeof s.jspdf.format&&"bestfit"===s.jspdf.format.toLowerCase()){let t="",n="",r=0;e(h).each((function(){if(k(e(this))){const i=Y(e(this).get(0),"width","pt");if(i>r){i>l.a0[0]&&(t="a0",n="l");for(let e in l)l.hasOwnProperty(e)&&l[e][1]>i&&(t=e,n="l",l[e][0]>i&&(n="p"));r=i}}})),s.jspdf.format=""===t?"a4":t,s.jspdf.orientation=""===n?"w":n}null==a.doc&&(a.doc=new jspdf.jsPDF(s.jspdf.orientation,s.jspdf.unit,s.jspdf.format),a.wScaleFactor=1,a.hScaleFactor=1,"function"==typeof s.jspdf.onDocCreated&&s.jspdf.onDocCreated(a.doc)),!0===a.outputImages&&(a.images={}),void 0!==a.images&&(e(h).filter((function(){return k(e(this))})).each((function(){let t=0;w=[],!1===s.exportHiddenCells&&(S=e(this).find("tr, th, td").filter(":hidden"),x=S.length>0),g=E(e(this)),m=_(e(this)),e(m).each((function(){R(this,"td,th",g.length+t,g.length+m.length,(function(t){O(t,e(t).children(),a)})),t++}))})),g=[],m=[]),function(t,n){let r=0,i=0;function a(){n(r)}function o(t){if(t.url)if(t.src){const e=new Image;r=++i,e.crossOrigin="Anonymous",e.onerror=e.onload=function(){if(e.complete&&(0===e.src.indexOf("data:image/")&&(e.width=t.width||e.width||0,e.height=t.height||e.height||0),e.width+e.height)){const n=document.createElement("canvas"),r=n.getContext("2d");n.width=e.width,n.height=e.height,r.drawImage(e,0,0),t.src=n.toDataURL("image/png")}--i||a()},e.src=t.url}else{const n=e(t.url);n.length&&(r=++i,html2canvas(n[0]).then((function(e){t.src=e.toDataURL("image/png"),--i||a()})))}}if(void 0!==t.images)for(let e in t.images)t.images.hasOwnProperty(e)&&o(t.images[e]);i||a()}(a,(function(){e(h).filter((function(){return k(e(this))})).each((function(){let o;if(v=0,w=[],!1===s.exportHiddenCells&&(S=e(this).find("tr, th, td").filter(":hidden"),x=S.length>0),y=C(this),a.columns=[],a.rows=[],a.teCells={},"function"==typeof a.onTable&&!1===a.onTable(e(this),s))return!0;s.jspdf.autotable.tableExport=null;const l=e.extend(!0,{},s.jspdf.autotable);if(s.jspdf.autotable.tableExport=a,l.margin={},e.extend(!0,l.margin,s.jspdf.margins),l.tableExport=a,"function"!=typeof l.createdHeaderCell&&(l.createdHeaderCell=function(e,t){if(void 0!==a.columns[t.column.dataKey]){const n=a.columns[t.column.dataKey];if(void 0!==n.rect){let r;e.contentWidth=n.rect.width,void 0!==a.heightRatio&&0!==a.heightRatio||(r=t.row.raw[t.column.dataKey].rowspan?t.row.raw[t.column.dataKey].rect.height/t.row.raw[t.column.dataKey].rowspan:t.row.raw[t.column.dataKey].rect.height,a.heightRatio=e.styles.rowHeight/r),r=t.row.raw[t.column.dataKey].rect.height*a.heightRatio,r>e.styles.rowHeight&&(e.styles.rowHeight=r)}e.styles.halign="inherit"===l.headerStyles.halign?"center":l.headerStyles.halign,e.styles.valign=l.headerStyles.valign,void 0!==n.style&&!0!==n.style.hidden&&("inherit"===l.headerStyles.halign&&(e.styles.halign=n.style.align),"inherit"===l.styles.fillColor&&(e.styles.fillColor=n.style.bcolor),"inherit"===l.styles.textColor&&(e.styles.textColor=n.style.color),"inherit"===l.styles.fontStyle&&(e.styles.fontStyle=n.style.fstyle))}}),"function"!=typeof l.createdCell&&(l.createdCell=function(e,t){const n=a.teCells[t.row.index+":"+t.column.dataKey];e.styles.halign="inherit"===l.styles.halign?"center":l.styles.halign,e.styles.valign=l.styles.valign,void 0!==n&&void 0!==n.style&&!0!==n.style.hidden&&("inherit"===l.styles.halign&&(e.styles.halign=n.style.align),"inherit"===l.styles.fillColor&&(e.styles.fillColor=n.style.bcolor),"inherit"===l.styles.textColor&&(e.styles.textColor=n.style.color),"inherit"===l.styles.fontStyle&&(e.styles.fontStyle=n.style.fstyle))}),"function"!=typeof l.drawHeaderCell&&(l.drawHeaderCell=function(e,t){const n=a.columns[t.column.dataKey];return(!0!==n.style.hasOwnProperty("hidden")||!0!==n.style.hidden)&&n.rowIndex>=0&&B(e,t,n)}),"function"!=typeof l.drawCell&&(l.drawCell=function(t,n){const r=a.teCells[n.row.index+":"+n.column.dataKey];if(!0!==(void 0!==r&&r.isCanvas)){if(B(t,n,r))if(a.doc.rect(t.x,t.y,t.width,t.height,t.styles.fillStyle),void 0===r||void 0!==r.hasUserDefText&&!0===r.hasUserDefText||void 0===r.elements||!r.elements.length)L(t,{},a);else{const e=t.height/r.rect.height;e>a.hScaleFactor&&(a.hScaleFactor=e),a.wScaleFactor=t.width/r.rect.width;const n=t.textPos.y;P(t,r.elements,a),t.textPos.y=n,L(t,r.elements,a)}}else{const i=r.elements[0],o=e(i).attr("data-tableexport-canvas"),s=i.getBoundingClientRect();t.width=s.width*a.wScaleFactor,t.height=s.height*a.hScaleFactor,n.row.height=t.height,N(t,i,o,a)}return!1}),a.headerrows=[],g=E(e(this)),e(g).each((function(){o=0,a.headerrows[v]=[],R(this,"th,td",v,g.length,(function(e,t,n){const r=q(e);r.title=U(e,t,n),r.key=o++,r.rowIndex=v,a.headerrows[v].push(r)})),v++})),v>0){let t=v-1;for(;t>=0;)e.each(a.headerrows[t],(function(){let e=this;t>0&&null===this.rect&&(e=a.headerrows[t-1][this.key]),null!==e&&e.rowIndex>=0&&(!0!==e.style.hasOwnProperty("hidden")||!0!==e.style.hidden)&&a.columns.push(e)})),t=a.columns.length>0?-1:t-1}let h=0;m=[],m=_(e(this)),e(m).each((function(){const t=[];o=0,R(this,"td,th",v,g.length+m.length,(function(n,r,i){let s;void 0===a.columns[o]&&(s={title:"",key:o,style:{hidden:!0}},a.columns.push(s)),t.push(U(n,r,i)),null!=n?(s=q(n),s.isCanvas=n.hasAttribute("data-tableexport-canvas"),s.elements=s.isCanvas?e(n):e(n).children(),void 0!==e(n).data("teUserDefText")&&(s.hasUserDefText=!0),a.teCells[h+":"+o++]=s):(s=e.extend(!0,{},a.teCells[h+":"+(o-1)]),s.colspan=-1,a.teCells[h+":"+o++]=s)})),t.length&&(a.rows.push(t),h++),v++})),"function"==typeof a.onBeforeAutotable&&a.onBeforeAutotable(e(this),a.columns,a.rows,l),function(a,o,s,l){(function(e,t,n){e&&"object"==typeof e||console.error("The headers should be an object or array, is: "+typeof e);t&&"object"==typeof t||console.error("The data should be an object or array, is: "+typeof t);n&&"object"!=typeof n&&console.error("The data should be an object or array, is: "+typeof t);Array.prototype.forEach||console.error("The current browser does not support Array.prototype.forEach which is required for jsPDF-AutoTable")})(o,s,l),re=a,ae=function(e){const t=ge({theme:"striped",styles:{},headerStyles:{},bodyStyles:{},alternateRowStyles:{},columnStyles:{},startY:!1,margin:40,pageBreak:"auto",tableWidth:"auto",createdHeaderCell:function(e,t){},createdCell:function(e,t){},drawHeaderRow:function(e,t){},drawRow:function(e,t){},drawHeaderCell:function(e,t){},drawCell:function(e,t){},beforePageContent:function(e){},afterPageContent:function(e){}},e);void 0!==t.extendWidth&&(t.tableWidth=t.extendWidth?"auto":"wrap",console.error("Use of deprecated option: extendWidth, use tableWidth instead."));void 0!==t.margins&&(void 0===t.margin&&(t.margin=t.margins),console.error("Use of deprecated option: margins, use margin instead."));[["padding","cellPadding"],["lineHeight","rowHeight"],"fontSize","overflow"].forEach((function(e){const n="string"==typeof e?e:e[0],r="string"==typeof e?e:e[1];void 0!==t[n]&&(void 0===t.styles[r]&&(t.styles[r]=t[n]),console.error("Use of deprecated option: "+n+", use the style "+r+" instead."))}));const n=t.margin;t.margin={},"number"==typeof n.horizontal&&(n.right=n.horizontal,n.left=n.horizontal);"number"==typeof n.vertical&&(n.top=n.vertical,n.bottom=n.vertical);return["top","right","bottom","left"].forEach((function(e,r){if("number"==typeof n)t.margin[e]=n;else{const i=Array.isArray(n)?r:e;t.margin[e]="number"==typeof n[i]?n[i]:40}})),t}(l||{}),oe=1,ie={y:!1===ae.startY?ae.margin.top:ae.startY};const h={textColor:30,fontSize:re.internal.getFontSize(),fontStyle:re.internal.getFont().fontStyle};(function(a,o){(se=new t).x=ae.margin.left;const s=/\r\n|\r|\n/g,l=new n(a);l.index=-1;const f=ge(u,c[ae.theme].table,c[ae.theme].header);l.styles=ge(f,ae.styles,ae.headerStyles),a.forEach((function(t,n){"object"==typeof t&&(n=void 0!==t.dataKey?t.dataKey:t.key),void 0!==t.width&&console.error("Use of deprecated option: column.width, use column.styles.columnWidth instead.");const a=new i(n);a.styles=ae.columnStyles[a.dataKey]||{},se.columns.push(a);const o=new r;o.raw="object"==typeof t?t.title:t,o.styles=e.extend({},l.styles),o.text=""+o.raw,o.contentWidth=2*o.styles.cellPadding+pe(o.text,o.styles),o.text=o.text.split(s),l.cells[n]=o,ae.createdHeaderCell(o,{column:a,row:l,settings:ae})})),se.headerRow=l,o.forEach((function(e,t){const i=new n(e),a=t%2==0,o=ge(u,c[ae.theme].table,a?c[ae.theme].alternateRow:{}),l=ge(ae.styles,ae.bodyStyles,a?ae.alternateRowStyles:{});i.styles=ge(o,l),i.index=t,se.columns.forEach((function(t){const n=new r;n.raw=e[t.dataKey],n.styles=ge(i.styles,t.styles),n.text=void 0!==n.raw?""+n.raw:"",i.cells[t.dataKey]=n,ae.createdCell(n,he({column:t,row:i})),n.contentWidth=2*n.styles.cellPadding+pe(n.text,n.styles),n.text=n.text.split(s)})),se.rows.push(i)}))})(o,s),function(){let e=0;se.columns.forEach((function(t){t.contentWidth=se.headerRow.cells[t.dataKey].contentWidth,se.rows.forEach((function(e){const n=e.cells[t.dataKey].contentWidth;n>t.contentWidth&&(t.contentWidth=n)})),t.width=t.contentWidth,e+=t.contentWidth})),se.contentWidth=e;const t=re.internal.pageSize.width-ae.margin.left-ae.margin.right;let n=t;"number"==typeof ae.tableWidth?n=ae.tableWidth:"wrap"===ae.tableWidth&&(n=se.contentWidth);se.width=n<t?n:t;const r=[];let i=0;const a=se.width/se.columns.length;let o=0;se.columns.forEach((function(e){const t=ge(u,c[ae.theme].table,ae.styles,e.styles);"wrap"===t.columnWidth?e.width=e.contentWidth:"number"==typeof t.columnWidth?e.width=t.columnWidth:(t.columnWidth,e.contentWidth<=a&&se.contentWidth>se.width?e.width=e.contentWidth:(r.push(e),i+=e.contentWidth,e.width=0)),o+=e.width})),ce(r,o,i,a),se.height=0;se.rows.concat(se.headerRow).forEach((function(e,t){let n=0,r=se.x;se.columns.forEach((function(t){const i=e.cells[t.dataKey];t.x=r,fe(i.styles);const a=t.width-2*i.styles.cellPadding;"linebreak"===i.styles.overflow?i.text=re.splitTextToSize(i.text,a+1,{fontSize:i.styles.fontSize}):"ellipsize"===i.styles.overflow?i.text=de(i.text,a,i.styles):"visible"===i.styles.overflow||("hidden"===i.styles.overflow?i.text=de(i.text,a,i.styles,""):"function"==typeof i.styles.overflow?i.text=i.styles.overflow(i.text,a):console.error("Unrecognized overflow type: "+i.styles.overflow));const o=Array.isArray(i.text)?i.text.length-1:0;o>n&&(n=o),r+=t.width})),e.heightStyle=e.styles.rowHeight,e.height=e.heightStyle+n*e.styles.fontSize*f+.42500000000000004*e.styles.fontSize,se.height+=e.height}))}();const d=se.rows[0]&&"auto"===ae.pageBreak?se.rows[0].height:0;let p=ae.startY+ae.margin.bottom+se.headerRow.height+d;"avoid"===ae.pageBreak&&(p+=se.height);("always"===ae.pageBreak&&!1!==ae.startY||!1!==ae.startY&&p>re.internal.pageSize.height)&&(re.addPage(),ie.y=ae.margin.top);fe(h),ae.beforePageContent(he()),!1!==ae.drawHeaderRow(se.headerRow,he({row:se.headerRow}))&&ue(se.headerRow,ae.drawHeaderCell);fe(h),function(){se.rows.forEach((function(e,t){var n;n=e.height,ie.y+n+ae.margin.bottom>=re.internal.pageSize.height&&(ae.afterPageContent(he()),re.addPage(),oe++,ie={x:ae.margin.left,y:ae.margin.top},ae.beforePageContent(he()),!1!==ae.drawHeaderRow(se.headerRow,he({row:se.headerRow}))&&ue(se.headerRow,ae.drawHeaderCell)),e.y=ie.y,!1!==ae.drawRow(e,he({row:e}))&&ue(e,ae.drawCell)}))}(),ae.afterPageContent(he()),fe(h)}(a.doc,a.columns,a.rows,l),"function"==typeof a.onAfterAutotable&&a.onAfterAutotable(e(this),l),s.jspdf.autotable.startY=function(){if(void 0===ie||void 0===ie.y)return 0;return ie.y}()+l.margin.top})),I(a.doc,void 0!==a.images&&!1===jQuery.isEmptyObject(a.images)),void 0!==a.headerrows&&(a.headerrows.length=0),void 0!==a.columns&&(a.columns.length=0),void 0!==a.rows&&(a.rows.length=0),delete a.doc,a.doc=null}))}function E(t){const n=[];return A(t,"thead").each((function(){n.push.apply(n,A(e(this),s.theadSelector).toArray())})),n}function _(t){const n=[];return A(t,"tbody").each((function(){n.push.apply(n,A(e(this),s.tbodySelector).toArray())})),s.tfootSelector.length&&A(t,"tfoot").each((function(){n.push.apply(n,A(e(this),s.tfootSelector).toArray())})),n}function A(t,n){const r=t[0].tagName,i=t.parents(r).length;return t.find(n).filter((function(){return i===e(this).closest(r).parents(r).length}))}function C(t){const n=[];let r=0,i=0,a=0;return e(t).find("thead").first().find("th").each((function(t,o){const s=void 0!==e(o).attr("data-field");void 0!==o.parentNode.rowIndex&&i!==o.parentNode.rowIndex&&(i=o.parentNode.rowIndex,a=0,r=0);const l=G(o);for(r+=l||1;a<r;)n[a]=s?e(o).attr("data-field"):a.toString(),a++})),n}function k(t){let n=void 0!==t[0].rowIndex;const r=!1===n&&void 0!==t[0].cellIndex,i=r||n?function(e){let t=[];x&&(t=S.filter((function(){let t=!1;return this.nodeType===e[0].nodeType&&(void 0!==this.rowIndex&&this.rowIndex===e[0].rowIndex||void 0!==this.cellIndex&&this.cellIndex===e[0].cellIndex&&void 0!==this.parentNode.rowIndex&&void 0!==e[0].parentNode.rowIndex&&this.parentNode.rowIndex===e[0].parentNode.rowIndex)&&(t=!0),t})));return!1===x||0===t.length}(t):t.is(":visible");let a=t.attr("data-tableexport-display");return r&&"none"!==a&&"always"!==a&&(n=void 0!==(t=e(t[0].parentNode))[0].rowIndex,a=t.attr("data-tableexport-display")),n&&"none"!==a&&"always"!==a&&(a=t.closest("table").attr("data-tableexport-display")),"none"!==a&&(!0===i||"always"===a)}function T(t,n,r){let i=!1;return k(t)?s.ignoreColumn.length>0&&(-1!==e.inArray(r,s.ignoreColumn)||-1!==e.inArray(r-n,s.ignoreColumn)||y.length>r&&void 0!==y[r]&&-1!==e.inArray(y[r],s.ignoreColumn))&&(i=!0):i=!0,i}function R(t,n,r,i,a){if("function"==typeof a){let o=!1;if("function"==typeof s.onIgnoreRow&&(o=s.onIgnoreRow(e(t),r)),!1===o&&(0===s.ignoreRow.length||-1===e.inArray(r,s.ignoreRow)&&-1===e.inArray(r-i,s.ignoreRow))&&k(e(t))){const i=A(e(t),n);let o=i.length,s=0,l=0;i.each((function(){const t=e(this);let n,i=G(this),c=X(this);if(e.each(w,(function(){const e=this;if(r>e.s.r&&r<=e.e.r&&s>=e.s.c&&s<=e.e.c)for(n=0;n<=e.e.c-e.s.c;++n)o++,l++,a(null,r,s++)})),(c||i)&&(c=c||1,i=i||1,w.push({s:{r:r,c:s},e:{r:r+c-1,c:s+i-1}})),!1===T(t,o,l++)&&a(this,r,s++),i>1)for(n=0;n<i-1;++n)l++,a(null,r,s++)})),e.each(w,(function(){const e=this;if(r>=e.s.r&&r<=e.e.r&&s>=e.s.c&&s<=e.e.c)for(let t=0;t<=e.e.c-e.s.c;++t)a(null,r,s++)}))}}}function N(e,t,n,r){if(void 0!==r.images){const i=r.images[n];if(void 0!==i){const n=t.getBoundingClientRect(),a=e.width/e.height,o=n.width/n.height;let s=e.width,l=e.height;const c=19.049976/25.4;let u=0;o<=a?(l=Math.min(e.height,n.height),s=n.width*l/n.height):o>a&&(s=Math.min(e.width,n.width),l=n.height*s/n.width),s*=c,l*=c,l<e.height&&(u=(e.height-l)/2);try{r.doc.addImage(i.src,e.textPos.x,e.y+u,s,l)}catch(e){}e.textPos.x+=s}}}function I(e,t){if("string"===s.outputMode)return e.output();if("base64"===s.outputMode)return ne(e.output());if("window"===s.outputMode)return window.URL=window.URL||window.webkitURL,void window.open(window.URL.createObjectURL(e.output("blob")));try{const t=e.output("blob");saveAs(t,s.fileName+".pdf")}catch(n){te(s.fileName+".pdf","data:application/pdf"+(t?"":";base64")+",",t?e.output("blob"):e.output())}}function B(e,t,n){let r=0;if(void 0!==n&&(r=n.colspan),r>=0){let i=e.width,a=e.textPos.x;const o=t.table.columns.indexOf(t.column);for(let e=1;e<r;e++){i+=t.table.columns[o+e].width}if(r>1&&("right"===e.styles.halign?a=e.textPos.x+i-e.width:"center"===e.styles.halign&&(a=e.textPos.x+(i-e.width)/2)),e.width=i,e.textPos.x=a,void 0!==n&&n.rowspan>1&&(e.height=e.height*n.rowspan),"middle"===e.styles.valign||"bottom"===e.styles.valign){const n=("string"==typeof e.text?e.text.split(/\r\n|\r|\n/g):e.text).length||1;n>2&&(e.textPos.y-=.42500000000000004*t.row.styles.fontSize*(n-2)/3)}return!0}return!1}function O(t,n,r){if(null!=t)if(t.hasAttribute("data-tableexport-canvas")){const n=(new Date).getTime();e(t).attr("data-tableexport-canvas",n),r.images[n]={url:'[data-tableexport-canvas="'+n+'"]',src:null}}else"undefined"!==n&&null!=n&&n.each((function(){if(e(this).is("img")){const e=Q(this.src);r.images[e]={url:this.src,src:this.src}}O(t,e(this).children(),r)}))}function P(t,n,r){n.each((function(){if(e(this).is("div")){const e=V($(this,"background-color"),[255,255,255]),n=V($(this,"border-top-color"),[0,0,0]),i=Y(this,"border-top-width",s.jspdf.unit),a=this.getBoundingClientRect(),o=this.offsetLeft*r.wScaleFactor,l=this.offsetTop*r.hScaleFactor,c=a.width*r.wScaleFactor,u=a.height*r.hScaleFactor;r.doc.setDrawColor.apply(void 0,n),r.doc.setFillColor.apply(void 0,e),r.doc.setLineWidth(i),r.doc.rect(t.x+o,t.y+l,c,u,i?"FD":"F")}else if(e(this).is("img")){const e=Q(this.src);N(t,this,e,r)}P(t,e(this).children(),r)}))}function L(t,n,r){if("function"==typeof r.onAutotableText)r.onAutotableText(r.doc,t,n);else{let i=t.textPos.x,a=t.textPos.y;const o={halign:t.styles.halign,valign:t.styles.valign};if(n.length){let l=n[0];for(;l.previousSibling;)l=l.previousSibling;let c=!1,u=!1;for(;l;){let n=l.innerText||l.textContent||"";const f=n.length&&" "===n[0]?" ":"",h=n.length>1&&" "===n[n.length-1]?" ":"";!0!==s.preserve.leadingWS&&(n=f+D(n)),!0!==s.preserve.trailingWS&&(n=M(n)+h),e(l).is("br")&&(i=t.textPos.x,a+=r.doc.internal.getFontSize()),e(l).is("b")?c=!0:e(l).is("i")&&(u=!0),(c||u)&&r.doc.setFont("undefined ",c&&u?"bolditalic":c?"bold":"italic");let d=r.doc.getStringUnitWidth(n)*r.doc.internal.getFontSize();if(d){if("linebreak"===t.styles.overflow&&i>t.textPos.x&&i+d>t.textPos.x+t.width){if(".,!%*;:=-".indexOf(n.charAt(0))>=0){const e=n.charAt(0);d=r.doc.getStringUnitWidth(e)*r.doc.internal.getFontSize(),i+d<=t.textPos.x+t.width&&(le(e,i,a,o),n=n.substring(1,n.length)),d=r.doc.getStringUnitWidth(n)*r.doc.internal.getFontSize()}i=t.textPos.x,a+=r.doc.internal.getFontSize()}if("visible"!==t.styles.overflow)for(;n.length&&i+d>t.textPos.x+t.width;)n=n.substring(0,n.length-1),d=r.doc.getStringUnitWidth(n)*r.doc.internal.getFontSize();le(n,i,a,o),i+=d}(c||u)&&(e(l).is("b")?c=!1:e(l).is("i")&&(u=!1),r.doc.setFont("undefined ",c||u?c?"bold":"italic":"normal")),l=l.nextSibling}t.textPos.x=i,t.textPos.y=a}else le(t.text,t.textPos.x,t.textPos.y,o)}}function F(e,t,n){return null==e?"":e.toString().replace(new RegExp(function(e){return null==e?"":e.toString().replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")}(t),"g"),n)}function D(e){return null==e?"":e.toString().replace(/^\s+/,"")}function M(e){return null==e?"":e.toString().replace(/\s+$/,"")}function j(e){if(0===s.date.html.length)return!1;s.date.pattern.lastIndex=0;const t=s.date.pattern.exec(e);if(null==t)return!1;const n=+t[s.date.match_y];if(n<0||n>8099)return!1;const r=1*t[s.date.match_m],i=1*t[s.date.match_d];if(!isFinite(i))return!1;const a=new Date(n,r-1,i,0,0,0);return a.getFullYear()===n&&a.getMonth()===r-1&&a.getDate()===i&&new Date(Date.UTC(n,r-1,i,0,0,0))}function W(e){return e=e||"0",""!==s.numbers.html.thousandsSeparator&&(e=F(e,s.numbers.html.thousandsSeparator,"")),"."!==s.numbers.html.decimalMark&&(e=F(e,s.numbers.html.decimalMark,".")),("number"==typeof e||!1!==jQuery.isNumeric(e))&&e}function U(t,n,r,i){let a="",o="text";if(null!==t){const i=e(t);let l;if(i.removeData("teUserDefText"),i[0].hasAttribute("data-tableexport-canvas"))l="";else if(i[0].hasAttribute("data-tableexport-value"))l=i.attr("data-tableexport-value"),l=l?l+"":"",i.data("teUserDefText",1);else if(l=i.html(),"function"==typeof s.onCellHtmlData)l=s.onCellHtmlData(i,n,r,l),i.data("teUserDefText",1);else if(""!==l){const t=e.parseHTML(l);let o=0,c=0;l="",e.each(t,(function(){if(e(this).is("input"))l+=i.find("input").eq(o++).val();else if(e(this).is("select"))l+=i.find("select option:selected").eq(c++).text();else if(e(this).is("br"))l+="<br>";else if(void 0===e(this).html()?l+=e(this).text():(void 0===jQuery().bootstrapTable||!1===e(this).hasClass("fht-cell")&&!1===e(this).hasClass("filterControl")&&0===i.parents(".detail-view").length)&&(l+=e(this).html()),e(this).is("a")){const e=i.find("a").attr("href")||"";"function"==typeof s.onCellHtmlHyperlink?a+=s.onCellHtmlHyperlink(i,n,r,e,l):"href"===s.htmlHyperlink?a+=e:a+=l,l=""}}))}if(l&&""!==l&&!0===s.htmlContent)a=e.trim(l);else if(l&&""!==l){if(""!==i.attr("data-tableexport-cellformat")){let t=l.replace(/\n/g,"\u2028").replace(/(<\s*br([^>]*)>)/gi,"");const n=e("<div/>").html(t).contents();let r=!1;if(t="",e.each(n.text().split("\u2028"),(function(e,n){e>0&&(t+=" "),!0!==s.preserve.leadingWS&&(n=D(n)),t+=!0!==s.preserve.trailingWS?M(n):n})),e.each(t.split(""),(function(e,t){e>0&&(a+="\n"),!0!==s.preserve.leadingWS&&(t=D(t)),!0!==s.preserve.trailingWS&&(t=M(t)),a+=t.replace(/\u00AD/g,"")})),a=a.replace(/\u00A0/g," "),"json"===s.type||"excel"===s.type&&"xmlss"===s.mso.fileFormat||!1===s.numbers.output)r=W(a),!1!==r&&(o="number",a=Number(r));else if((s.numbers.html.decimalMark!==s.numbers.output.decimalMark||s.numbers.html.thousandsSeparator!==s.numbers.output.thousandsSeparator)&&(r=W(a),!1!==r)){const e=(""+r.substr(r<0?1:0)).split(".");1===e.length&&(e[1]="");const t=e[0].length>3?e[0].length%3:0;o="number",a=(r<0?"-":"")+(s.numbers.output.thousandsSeparator?(t?e[0].substr(0,t)+s.numbers.output.thousandsSeparator:"")+e[0].substr(t).replace(/(\d{3})(?=\d)/g,"$1"+s.numbers.output.thousandsSeparator):e[0])+(e[1].length?s.numbers.output.decimalMark+e[1]:"")}}else a=l}!0===s.escape&&(a=escape(a)),"function"==typeof s.onCellData&&(a=s.onCellData(i,n,r,a,o),i.data("teUserDefText",1))}return void 0!==i&&(i.type=o),a}function z(e){if(e.length>0&&!0===s.preventInjection){if("=+-@".indexOf(e.charAt(0))>=0)return"'"+e}return e}function H(e,t,n){return t+"-"+n.toLowerCase()}function V(e,t){const n=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/.exec(e);let r=t;return n&&(r=[parseInt(n[1]),parseInt(n[2]),parseInt(n[3])]),r}function q(e){let t=$(e,"text-align");const n=$(e,"font-weight"),r=$(e,"font-style");let i="";"start"===t&&(t="rtl"===$(e,"direction")?"right":"left"),n>=700&&(i="bold"),"italic"===r&&(i+=r),""===i&&(i="normal");const a={style:{align:t,bcolor:V($(e,"background-color"),[255,255,255]),color:V($(e,"color"),[0,0,0]),fstyle:i},colspan:G(e),rowspan:X(e)};if(null!==e){const t=e.getBoundingClientRect();a.rect={width:t.width,height:t.height}}return a}function G(t){let n=e(t).attr("data-tableexport-colspan");return void 0===n&&e(t).is("[colspan]")&&(n=e(t).attr("colspan")),parseInt(n)||0}function X(t){let n=e(t).attr("data-tableexport-rowspan");return void 0===n&&e(t).is("[rowspan]")&&(n=e(t).attr("rowspan")),parseInt(n)||0}function $(e,t){try{return window.getComputedStyle?(t=t.replace(/([a-z])([A-Z])/,H),window.getComputedStyle(e,null).getPropertyValue(t)):e.currentStyle?e.currentStyle[t]:e.style[t]}catch(e){}return""}function Y(e,t,n){let r=$(e,t).match(/\d+/);return null!==r?(r=r[0],function(e,t,n){const r=document.createElement("div");r.style.overflow="hidden",r.style.visibility="hidden",e.appendChild(r),r.style.width=100+n;const i=100/r.offsetWidth;return e.removeChild(r),t*i}(e.parentElement,r,n)):0}function K(e){return function(e){let t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}(e.c)+(""+(e.r+1))}function J(e,t){return void 0===t||"number"==typeof t?J(e.s,e.e):("string"!=typeof e&&(e=K(e)),"string"!=typeof t&&(t=K(t)),e===t?e:e+":"+t)}function Z(e,t){let n=Number(e);if(isFinite(n))return n;let r=1,i=e;return""!==t.thousandsSeparator&&(i=i.replace(new RegExp("([\\d])"+t.thousandsSeparator+"([\\d])","g"),"$1$2")),"."!==t.decimalMark&&(i=i.replace(new RegExp("([\\d])"+t.decimalMark+"([\\d])","g"),"$1.$2")),i=i.replace(/[$]/g,"").replace(/[%]/g,(function(){return r*=100,""})),isFinite(n=Number(i))?n/r:(i=i.replace(/[(](.*)[)]/,(function(e,t){return r=-r,t})),isFinite(n=Number(i))?n/r:n)}function Q(e){let t,n,r,i=0;if(0===e.length)return i;for(t=0,r=e.length;t<r;t++)n=e.charCodeAt(t),i=(i<<5)-i+n,i|=0;return i}function ee(e,t,n,r,i,a){let o=!0;if("function"==typeof s.onBeforeSaveToFile&&(o=s.onBeforeSaveToFile(e,t,n,r,i),"boolean"!=typeof o&&(o=!0)),o)try{d=new Blob([e],{type:n+";charset="+r}),saveAs(d,t,!1===a),"function"==typeof s.onAfterSaveToFile&&s.onAfterSaveToFile(e,t)}catch(o){te(t,"data:"+n+(r.length?";charset="+r:"")+(i.length?";"+i:"")+",",a?"\ufeff"+e:e)}}function te(e,t,n){const r=window.navigator.userAgent;if(!1!==e&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(new Blob([n]),e);else if(!1!==e&&(r.indexOf("MSIE ")>0||r.match(/Trident.*rv\:11\./))){const t=document.createElement("iframe");if(t){document.body.appendChild(t),t.setAttribute("style","display:none"),t.contentDocument.open("txt/plain","replace"),t.contentDocument.write(n),t.contentDocument.close(),t.contentWindow.focus();switch(e.substr(e.lastIndexOf(".")+1)){case"doc":case"json":case"png":case"pdf":case"xls":case"xlsx":e+=".txt"}t.contentDocument.execCommand("SaveAs",!0,e),document.body.removeChild(t)}}else{const r=document.createElement("a");if(r){let i=null;if(r.style.display="none",!1!==e?r.download=e:r.target="_blank","object"==typeof n){window.URL=window.URL||window.webkitURL;const e=[];e.push(n),i=window.URL.createObjectURL(new Blob(e,{type:t})),r.href=i}else t.toLowerCase().indexOf("base64,")>=0?r.href=t+ne(n):r.href=t+encodeURIComponent(n);document.body.appendChild(r),document.createEvent?(null===p&&(p=document.createEvent("MouseEvents")),p.initEvent("click",!0,!1),r.dispatchEvent(p)):document.createEventObject?r.fireEvent("onclick"):"function"==typeof r.onclick&&r.onclick(),setTimeout((function(){i&&window.URL.revokeObjectURL(i),document.body.removeChild(r),"function"==typeof s.onAfterSaveToFile&&s.onAfterSaveToFile(n,e)}),100)}}}function ne(e){let t,n,r,i,a,o,s;const l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let c="",u=0;for(e=function(e){if("string"==typeof e){e=e.replace(/\x0d\x0a/g,"\n");let t="";for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t}return e}(e);u<e.length;)t=e.charCodeAt(u++),n=e.charCodeAt(u++),r=e.charCodeAt(u++),i=t>>2,a=(3&t)<<4|n>>4,o=(15&n)<<2|r>>6,s=63&r,isNaN(n)?o=s=64:isNaN(r)&&(s=64),c=c+l.charAt(i)+l.charAt(a)+l.charAt(o)+l.charAt(s);return c}var re,ie,ae,oe,se;function le(e,t,n,r){"number"==typeof t&&"number"==typeof n||console.error("The x and y parameters are required. Missing for the text: ",e);const i=re.internal.getFontSize()/re.internal.scaleFactor,a=/\r\n|\r|\n/g;let o=null,s=1;if("middle"!==r.valign&&"bottom"!==r.valign&&"center"!==r.halign&&"right"!==r.halign||(o="string"==typeof e?e.split(a):e,s=o.length||1),n+=i*(2-1.15),"middle"===r.valign?n-=s/2*i:"bottom"===r.valign&&(n-=s*i),"center"===r.halign||"right"===r.halign){let a=i;if("center"===r.halign&&(a*=.5),o&&s>=1){for(let e=0;e<o.length;e++)re.text(o[e],t-re.getStringUnitWidth(o[e])*a,n),n+=i;return re}t-=re.getStringUnitWidth(e)*a}return re.text(e,t,n),re}function ce(e,t,n,r){const i=se.width-t-n;for(let a=0;a<e.length;a++){const o=e[a],s=o.contentWidth/n,l=o.contentWidth+i*s<r;if(i<0&&l){e.splice(a,1),n-=o.contentWidth,o.width=r,ce(e,t+=o.width,n,r);break}o.width=o.contentWidth+i*s}}function ue(e,t){for(let n=0;n<se.columns.length;n++){const r=se.columns[n],i=e.cells[r.dataKey];if(!i)continue;fe(i.styles),i.x=r.x,i.y=ie.y,i.height=e.height,i.width=r.width,"top"===i.styles.valign?i.textPos.y=ie.y+i.styles.cellPadding:"bottom"===i.styles.valign?i.textPos.y=ie.y+e.height-i.styles.cellPadding:i.textPos.y=ie.y+e.height/2,"right"===i.styles.halign?i.textPos.x=i.x+i.width-i.styles.cellPadding:"center"===i.styles.halign?i.textPos.x=i.x+i.width/2:i.textPos.x=i.x+i.styles.cellPadding;!1!==t(i,he({column:r,row:e}))&&(re.rect(i.x,i.y,i.width,i.height,i.styles.fillStyle),le(i.text,i.textPos.x,i.textPos.y,{halign:i.styles.halign,valign:i.styles.valign}))}ie.y+=e.height}function fe(e){[{func:re.setFillColor,value:e.fillColor},{func:re.setTextColor,value:e.textColor},{func:re.setFont,value:e.font,style:e.fontStyle},{func:re.setDrawColor,value:e.lineColor},{func:re.setLineWidth,value:e.lineWidth},{func:re.setFont,value:e.font},{func:re.setFontSize,value:e.fontSize}].forEach((function(e){void 0!==e.value&&(e.value.constructor===Array?e.func.apply(re,e.value):void 0!==e.style?e.func(e.value,e.style):e.func(e.value))}))}function he(e){e=e||{};const t={pageCount:oe,settings:ae,table:se,cursor:ie};for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function de(e,t,n,r){if(r=void 0!==r?r:"...",Array.isArray(e))return e.forEach((function(i,a){e[a]=de(i,t,n,r)})),e;if(t>=pe(e,n))return e;for(;t<pe(e+r,n)&&!(e.length<2);)e=e.substring(0,e.length-1);return e.trim()+r}function pe(e,t){fe(t);return re.getStringUnitWidth(e)*t.fontSize}function ge(e){const t={};let n;for(n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);for(let e=1;e<arguments.length;e++){const r=arguments[e];for(n in r)r.hasOwnProperty(n)&&(t[n]=r[n])}return t}return"function"==typeof s.onTableExportEnd&&s.onTableExportEnd(),this};var t=function(){this.height=0,this.width=0,this.x=0,this.y=0,this.contentWidth=0,this.rows=[],this.columns=[],this.headerRow=null,this.settings={}},n=function(e){this.raw=e||{},this.index=0,this.styles={},this.cells={},this.height=0,this.y=0},r=function(e){this.raw=e,this.styles={},this.text="",this.contentWidth=0,this.textPos={},this.height=0,this.width=0,this.x=0,this.y=0},i=function(e){this.dataKey=e,this.options={},this.styles={},this.contentWidth=0,this.width=0,this.x=0}}(jQuery),function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e,t){return e(t={exports:{}},t.exports),t.exports}var n=function(e){return e&&e.Math==Math&&e},r=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")(),i=function(e){try{return!!e()}catch(e){return!0}},a=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),o=function(e){return"object"==typeof e?null!==e:"function"==typeof e},s=r.document,l=o(s)&&o(s.createElement),c=function(e){return l?s.createElement(e):{}},u=!a&&!i((function(){return 7!=Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a})),f=function(e){if(!o(e))throw TypeError(String(e)+" is not an object");return e},h=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},d=Object.defineProperty,p={f:a?d:function(e,t,n){if(f(e),t=h(t,!0),f(n),u)try{return d(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},g=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},m=a?function(e,t,n){return p.f(e,t,g(1,n))}:function(e,t,n){return e[t]=n,e},v=function(e,t){try{m(r,e,t)}catch(n){r[e]=t}return t},b=r["__core-js_shared__"]||v("__core-js_shared__",{}),y=t((function(e){(e.exports=function(e,t){return b[e]||(b[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),w={}.hasOwnProperty,S=function(e,t){return w.call(e,t)},x=0,E=Math.random(),_=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++x+E).toString(36)},A=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),C=A&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,k=y("wks"),T=r.Symbol,R=C?T:T&&T.withoutSetter||_,N=function(e){return S(k,e)||(A&&S(T,e)?k[e]=T[e]:k[e]=R("Symbol."+e)),k[e]},I={};I[N("toStringTag")]="z";var B="[object z]"===String(I),O=Function.toString;"function"!=typeof b.inspectSource&&(b.inspectSource=function(e){return O.call(e)});var P,L,F,D=b.inspectSource,M=r.WeakMap,j="function"==typeof M&&/native code/.test(D(M)),W=y("keys"),U=function(e){return W[e]||(W[e]=_(e))},z={},H=r.WeakMap;if(j){var V=new H,q=V.get,G=V.has,X=V.set;P=function(e,t){return X.call(V,e,t),t},L=function(e){return q.call(V,e)||{}},F=function(e){return G.call(V,e)}}else{var $=U("state");z[$]=!0,P=function(e,t){return m(e,$,t),t},L=function(e){return S(e,$)?e[$]:{}},F=function(e){return S(e,$)}}var Y={set:P,get:L,has:F,enforce:function(e){return F(e)?L(e):P(e,{})},getterFor:function(e){return function(t){var n;if(!o(t)||(n=L(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},K=t((function(e){var t=Y.get,n=Y.enforce,i=String(String).split("String");(e.exports=function(e,t,a,o){var s=!!o&&!!o.unsafe,l=!!o&&!!o.enumerable,c=!!o&&!!o.noTargetGet;"function"==typeof a&&("string"!=typeof t||S(a,"name")||m(a,"name",t),n(a).source=i.join("string"==typeof t?t:"")),e!==r?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=a:m(e,t,a)):l?e[t]=a:v(t,a)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||D(this)}))})),J={}.toString,Z=function(e){return J.call(e).slice(8,-1)},Q=N("toStringTag"),ee="Arguments"==Z(function(){return arguments}()),te=B?Z:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),Q))?n:ee?Z(t):"Object"==(r=Z(t))&&"function"==typeof t.callee?"Arguments":r},ne=B?{}.toString:function(){return"[object "+te(this)+"]"};B||K(Object.prototype,"toString",ne,{unsafe:!0});var re,ie,ae,oe=Math.ceil,se=Math.floor,le=function(e){return isNaN(e=+e)?0:(e>0?se:oe)(e)},ce=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},ue=function(e){return function(t,n){var r,i,a=String(ce(t)),o=le(n),s=a.length;return o<0||o>=s?e?"":void 0:(r=a.charCodeAt(o))<55296||r>56319||o+1===s||(i=a.charCodeAt(o+1))<56320||i>57343?e?a.charAt(o):r:e?a.slice(o,o+2):i-56320+(r-55296<<10)+65536}},fe={codeAt:ue(!1),charAt:ue(!0)},he={}.propertyIsEnumerable,de=Object.getOwnPropertyDescriptor,pe={f:de&&!he.call({1:2},1)?function(e){var t=de(this,e);return!!t&&t.enumerable}:he},ge="".split,me=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==Z(e)?ge.call(e,""):Object(e)}:Object,ve=function(e){return me(ce(e))},be=Object.getOwnPropertyDescriptor,ye={f:a?be:function(e,t){if(e=ve(e),t=h(t,!0),u)try{return be(e,t)}catch(e){}if(S(e,t))return g(!pe.f.call(e,t),e[t])}},we=r,Se=function(e){return"function"==typeof e?e:void 0},xe=function(e,t){return arguments.length<2?Se(we[e])||Se(r[e]):we[e]&&we[e][t]||r[e]&&r[e][t]},Ee=Math.min,_e=function(e){return e>0?Ee(le(e),9007199254740991):0},Ae=Math.max,Ce=Math.min,ke=function(e,t){var n=le(e);return n<0?Ae(n+t,0):Ce(n,t)},Te=function(e){return function(t,n,r){var i,a=ve(t),o=_e(a.length),s=ke(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},Re={includes:Te(!0),indexOf:Te(!1)},Ne=Re.indexOf,Ie=function(e,t){var n,r=ve(e),i=0,a=[];for(n in r)!S(z,n)&&S(r,n)&&a.push(n);for(;t.length>i;)S(r,n=t[i++])&&(~Ne(a,n)||a.push(n));return a},Be=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Oe=Be.concat("length","prototype"),Pe={f:Object.getOwnPropertyNames||function(e){return Ie(e,Oe)}},Le={f:Object.getOwnPropertySymbols},Fe=xe("Reflect","ownKeys")||function(e){var t=Pe.f(f(e)),n=Le.f;return n?t.concat(n(e)):t},De=function(e,t){for(var n=Fe(t),r=p.f,i=ye.f,a=0;a<n.length;a++){var o=n[a];S(e,o)||r(e,o,i(t,o))}},Me=/#|\.prototype\./,je=function(e,t){var n=Ue[We(e)];return n==He||n!=ze&&("function"==typeof t?i(t):!!t)},We=je.normalize=function(e){return String(e).replace(Me,".").toLowerCase()},Ue=je.data={},ze=je.NATIVE="N",He=je.POLYFILL="P",Ve=je,qe=ye.f,Ge=function(e,t){var n,i,a,o,s,l=e.target,c=e.global,u=e.stat;if(n=c?r:u?r[l]||v(l,{}):(r[l]||{}).prototype)for(i in t){if(o=t[i],a=e.noTargetGet?(s=qe(n,i))&&s.value:n[i],!Ve(c?i:l+(u?".":"#")+i,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;De(o,a)}(e.sham||a&&a.sham)&&m(o,"sham",!0),K(n,i,o,e)}},Xe=function(e){return Object(ce(e))},$e=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Ye=U("IE_PROTO"),Ke=Object.prototype,Je=$e?Object.getPrototypeOf:function(e){return e=Xe(e),S(e,Ye)?e[Ye]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Ke:null},Ze=N("iterator"),Qe=!1;[].keys&&("next"in(ae=[].keys())?(ie=Je(Je(ae)))!==Object.prototype&&(re=ie):Qe=!0),null==re&&(re={}),S(re,Ze)||m(re,Ze,(function(){return this}));var et,tt={IteratorPrototype:re,BUGGY_SAFARI_ITERATORS:Qe},nt=Object.keys||function(e){return Ie(e,Be)},rt=a?Object.defineProperties:function(e,t){f(e);for(var n,r=nt(t),i=r.length,a=0;i>a;)p.f(e,n=r[a++],t[n]);return e},it=xe("document","documentElement"),at=U("IE_PROTO"),ot=function(){},st=function(e){return"<script>"+e+"<\/script>"},lt=function(){try{et=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;lt=et?function(e){e.write(st("")),e.close();var t=e.parentWindow.Object;return e=null,t}(et):((t=c("iframe")).style.display="none",it.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(st("document.F=Object")),e.close(),e.F);for(var n=Be.length;n--;)delete lt.prototype[Be[n]];return lt()};z[at]=!0;var ct=Object.create||function(e,t){var n;return null!==e?(ot.prototype=f(e),n=new ot,ot.prototype=null,n[at]=e):n=lt(),void 0===t?n:rt(n,t)},ut=p.f,ft=N("toStringTag"),ht=function(e,t,n){e&&!S(e=n?e:e.prototype,ft)&&ut(e,ft,{configurable:!0,value:t})},dt={},pt=tt.IteratorPrototype,gt=function(){return this},mt=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return f(n),function(e){if(!o(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),vt=tt.IteratorPrototype,bt=tt.BUGGY_SAFARI_ITERATORS,yt=N("iterator"),wt=function(){return this},St=function(e,t,n,r,i,a,o){!function(e,t,n){var r=t+" Iterator";e.prototype=ct(pt,{next:g(1,n)}),ht(e,r,!1),dt[r]=gt}(n,t,r);var s,l,c,u=function(e){if(e===i&&v)return v;if(!bt&&e in d)return d[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",h=!1,d=e.prototype,p=d[yt]||d["@@iterator"]||i&&d[i],v=!bt&&p||u(i),b="Array"==t&&d.entries||p;if(b&&(s=Je(b.call(new e)),vt!==Object.prototype&&s.next&&(Je(s)!==vt&&(mt?mt(s,vt):"function"!=typeof s[yt]&&m(s,yt,wt)),ht(s,f,!0))),"values"==i&&p&&"values"!==p.name&&(h=!0,v=function(){return p.call(this)}),d[yt]!==v&&m(d,yt,v),dt[t]=v,i)if(l={values:u("values"),keys:a?v:u("keys"),entries:u("entries")},o)for(c in l)(bt||h||!(c in d))&&K(d,c,l[c]);else Ge({target:t,proto:!0,forced:bt||h},l);return l},xt=fe.charAt,Et=Y.set,_t=Y.getterFor("String Iterator");St(String,"String",(function(e){Et(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=_t(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=xt(n,r),t.index+=e.length,{value:e,done:!1})}));var At={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},Ct=N("unscopables"),kt=Array.prototype;null==kt[Ct]&&p.f(kt,Ct,{configurable:!0,value:ct(null)});var Tt=function(e){kt[Ct][e]=!0},Rt=Y.set,Nt=Y.getterFor("Array Iterator"),It=St(Array,"Array",(function(e,t){Rt(this,{type:"Array Iterator",target:ve(e),index:0,kind:t})}),(function(){var e=Nt(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");dt.Arguments=dt.Array,Tt("keys"),Tt("values"),Tt("entries");var Bt=N("iterator"),Ot=N("toStringTag"),Pt=It.values;for(var Lt in At){var Ft=r[Lt],Dt=Ft&&Ft.prototype;if(Dt){if(Dt[Bt]!==Pt)try{m(Dt,Bt,Pt)}catch(e){Dt[Bt]=Pt}if(Dt[Ot]||m(Dt,Ot,Lt),At[Lt])for(var Mt in It)if(Dt[Mt]!==It[Mt])try{m(Dt,Mt,It[Mt])}catch(e){Dt[Mt]=It[Mt]}}}var jt=r.Promise,Wt=function(e,t,n){for(var r in t)K(e,r,t[r],n);return e},Ut=N("species"),zt=function(e){var t=xe(e),n=p.f;a&&t&&!t[Ut]&&n(t,Ut,{configurable:!0,get:function(){return this}})},Ht=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Vt=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},qt=N("iterator"),Gt=Array.prototype,Xt=function(e){return void 0!==e&&(dt.Array===e||Gt[qt]===e)},$t=function(e,t,n){if(Ht(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},Yt=N("iterator"),Kt=function(e){if(null!=e)return e[Yt]||e["@@iterator"]||dt[te(e)]},Jt=function(e,t,n,r){try{return r?t(f(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&f(i.call(e)),t}},Zt=t((function(e){var t=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,n,r,i,a){var o,s,l,c,u,h,d,p=$t(n,r,i?2:1);if(a)o=e;else{if("function"!=typeof(s=Kt(e)))throw TypeError("Target is not iterable");if(Xt(s)){for(l=0,c=_e(e.length);c>l;l++)if((u=i?p(f(d=e[l])[0],d[1]):p(e[l]))&&u instanceof t)return u;return new t(!1)}o=s.call(e)}for(h=o.next;!(d=h.call(o)).done;)if("object"==typeof(u=Jt(o,p,d.value,i))&&u&&u instanceof t)return u;return new t(!1)}).stop=function(e){return new t(!0,e)}})),Qt=N("iterator"),en=!1;try{var tn=0,nn={next:function(){return{done:!!tn++}},return:function(){en=!0}};nn[Qt]=function(){return this},Array.from(nn,(function(){throw 2}))}catch(e){}var rn,an,on,sn=function(e,t){if(!t&&!en)return!1;var n=!1;try{var r={};r[Qt]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},ln=N("species"),cn=function(e,t){var n,r=f(e).constructor;return void 0===r||null==(n=f(r)[ln])?t:Ht(n)},un=xe("navigator","userAgent")||"",fn=/(iphone|ipod|ipad).*applewebkit/i.test(un),hn=r.location,dn=r.setImmediate,pn=r.clearImmediate,gn=r.process,mn=r.MessageChannel,vn=r.Dispatch,bn=0,yn={},wn=function(e){if(yn.hasOwnProperty(e)){var t=yn[e];delete yn[e],t()}},Sn=function(e){return function(){wn(e)}},xn=function(e){wn(e.data)},En=function(e){r.postMessage(e+"",hn.protocol+"//"+hn.host)};dn&&pn||(dn=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return yn[++bn]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},rn(bn),bn},pn=function(e){delete yn[e]},"process"==Z(gn)?rn=function(e){gn.nextTick(Sn(e))}:vn&&vn.now?rn=function(e){vn.now(Sn(e))}:mn&&!fn?(on=(an=new mn).port2,an.port1.onmessage=xn,rn=$t(on.postMessage,on,1)):!r.addEventListener||"function"!=typeof postMessage||r.importScripts||i(En)||"file:"===hn.protocol?rn="onreadystatechange"in c("script")?function(e){it.appendChild(c("script")).onreadystatechange=function(){it.removeChild(this),wn(e)}}:function(e){setTimeout(Sn(e),0)}:(rn=En,r.addEventListener("message",xn,!1)));var _n,An,Cn,kn,Tn,Rn,Nn,In,Bn={set:dn,clear:pn},On=ye.f,Pn=Bn.set,Ln=r.MutationObserver||r.WebKitMutationObserver,Fn=r.process,Dn=r.Promise,Mn="process"==Z(Fn),jn=On(r,"queueMicrotask"),Wn=jn&&jn.value;Wn||(_n=function(){var e,t;for(Mn&&(e=Fn.domain)&&e.exit();An;){t=An.fn,An=An.next;try{t()}catch(e){throw An?kn():Cn=void 0,e}}Cn=void 0,e&&e.enter()},Mn?kn=function(){Fn.nextTick(_n)}:Ln&&!fn?(Tn=!0,Rn=document.createTextNode(""),new Ln(_n).observe(Rn,{characterData:!0}),kn=function(){Rn.data=Tn=!Tn}):Dn&&Dn.resolve?(Nn=Dn.resolve(void 0),In=Nn.then,kn=function(){In.call(Nn,_n)}):kn=function(){Pn.call(r,_n)});var Un,zn,Hn=Wn||function(e){var t={fn:e,next:void 0};Cn&&(Cn.next=t),An||(An=t,kn()),Cn=t},Vn=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=Ht(t),this.reject=Ht(n)},qn={f:function(e){return new Vn(e)}},Gn=function(e,t){if(f(e),o(t)&&t.constructor===e)return t;var n=qn.f(e);return(0,n.resolve)(t),n.promise},Xn=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},$n=r.process,Yn=$n&&$n.versions,Kn=Yn&&Yn.v8;Kn?zn=(Un=Kn.split("."))[0]+Un[1]:un&&(!(Un=un.match(/Edge\/(\d+)/))||Un[1]>=74)&&(Un=un.match(/Chrome\/(\d+)/))&&(zn=Un[1]);var Jn,Zn,Qn,er,tr=zn&&+zn,nr=Bn.set,rr=N("species"),ir="Promise",ar=Y.get,or=Y.set,sr=Y.getterFor(ir),lr=jt,cr=r.TypeError,ur=r.document,fr=r.process,hr=xe("fetch"),dr=qn.f,pr=dr,gr="process"==Z(fr),mr=!!(ur&&ur.createEvent&&r.dispatchEvent),vr=Ve(ir,(function(){if(D(lr)===String(lr)){if(66===tr)return!0;if(!gr&&"function"!=typeof PromiseRejectionEvent)return!0}if(tr>=51&&/native code/.test(lr))return!1;var e=lr.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[rr]=t,!(e.then((function(){}))instanceof t)})),br=vr||!sn((function(e){lr.all(e).catch((function(){}))})),yr=function(e){var t;return!(!o(e)||"function"!=typeof(t=e.then))&&t},wr=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;Hn((function(){for(var i=t.value,a=1==t.state,o=0;r.length>o;){var s,l,c,u=r[o++],f=a?u.ok:u.fail,h=u.resolve,d=u.reject,p=u.domain;try{f?(a||(2===t.rejection&&_r(e,t),t.rejection=1),!0===f?s=i:(p&&p.enter(),s=f(i),p&&(p.exit(),c=!0)),s===u.promise?d(cr("Promise-chain cycle")):(l=yr(s))?l.call(s,h,d):h(s)):d(i)}catch(e){p&&!c&&p.exit(),d(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&xr(e,t)}))}},Sr=function(e,t,n){var i,a;mr?((i=ur.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),r.dispatchEvent(i)):i={promise:t,reason:n},(a=r["on"+e])?a(i):"unhandledrejection"===e&&function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},xr=function(e,t){nr.call(r,(function(){var n,r=t.value;if(Er(t)&&(n=Xn((function(){gr?fr.emit("unhandledRejection",r,e):Sr("unhandledrejection",e,r)})),t.rejection=gr||Er(t)?2:1,n.error))throw n.value}))},Er=function(e){return 1!==e.rejection&&!e.parent},_r=function(e,t){nr.call(r,(function(){gr?fr.emit("rejectionHandled",e):Sr("rejectionhandled",e,t.value)}))},Ar=function(e,t,n,r){return function(i){e(t,n,i,r)}},Cr=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,wr(e,t,!0))},kr=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw cr("Promise can't be resolved itself");var i=yr(n);i?Hn((function(){var r={done:!1};try{i.call(n,Ar(kr,e,r,t),Ar(Cr,e,r,t))}catch(n){Cr(e,r,n,t)}})):(t.value=n,t.state=1,wr(e,t,!1))}catch(n){Cr(e,{done:!1},n,t)}}};vr&&(lr=function(e){Vt(this,lr,ir),Ht(e),Jn.call(this);var t=ar(this);try{e(Ar(kr,this,t),Ar(Cr,this,t))}catch(e){Cr(this,t,e)}},(Jn=function(e){or(this,{type:ir,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Wt(lr.prototype,{then:function(e,t){var n=sr(this),r=dr(cn(this,lr));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=gr?fr.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&wr(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),Zn=function(){var e=new Jn,t=ar(e);this.promise=e,this.resolve=Ar(kr,e,t),this.reject=Ar(Cr,e,t)},qn.f=dr=function(e){return e===lr||e===Qn?new Zn(e):pr(e)},"function"==typeof jt&&(er=jt.prototype.then,K(jt.prototype,"then",(function(e,t){var n=this;return new lr((function(e,t){er.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof hr&&Ge({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return Gn(lr,hr.apply(r,arguments))}}))),Ge({global:!0,wrap:!0,forced:vr},{Promise:lr}),ht(lr,ir,!1),zt(ir),Qn=xe(ir),Ge({target:ir,stat:!0,forced:vr},{reject:function(e){var t=dr(this);return t.reject.call(void 0,e),t.promise}}),Ge({target:ir,stat:!0,forced:vr},{resolve:function(e){return Gn(this,e)}}),Ge({target:ir,stat:!0,forced:br},{all:function(e){var t=this,n=dr(t),r=n.resolve,i=n.reject,a=Xn((function(){var n=Ht(t.resolve),a=[],o=0,s=1;Zt(e,(function(e){var l=o++,c=!1;a.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,a[l]=e,--s||r(a))}),i)})),--s||r(a)}));return a.error&&i(a.value),n.promise},race:function(e){var t=this,n=dr(t),r=n.reject,i=Xn((function(){var i=Ht(t.resolve);Zt(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}}),Ge({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=qn.f(t),r=n.resolve,i=n.reject,a=Xn((function(){var n=Ht(t.resolve),i=[],a=0,o=1;Zt(e,(function(e){var s=a++,l=!1;i.push(void 0),o++,n.call(t,e).then((function(e){l||(l=!0,i[s]={status:"fulfilled",value:e},--o||r(i))}),(function(e){l||(l=!0,i[s]={status:"rejected",reason:e},--o||r(i))}))})),--o||r(i)}));return a.error&&i(a.value),n.promise}});var Tr=!!jt&&i((function(){jt.prototype.finally.call({then:function(){}},(function(){}))}));Ge({target:"Promise",proto:!0,real:!0,forced:Tr},{finally:function(e){var t=cn(this,xe("Promise")),n="function"==typeof e;return this.then(n?function(n){return Gn(t,e()).then((function(){return n}))}:e,n?function(n){return Gn(t,e()).then((function(){throw n}))}:e)}}),"function"!=typeof jt||jt.prototype.finally||K(jt.prototype,"finally",xe("Promise").prototype.finally),we.Promise;var Rr=Array.isArray||function(e){return"Array"==Z(e)},Nr=N("species"),Ir=function(e,t){var n;return Rr(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!Rr(n.prototype)?o(n)&&null===(n=n[Nr])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},Br=[].push,Or=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,a=6==e,o=5==e||a;return function(s,l,c,u){for(var f,h,d=Xe(s),p=me(d),g=$t(l,c,3),m=_e(p.length),v=0,b=u||Ir,y=t?b(s,m):n?b(s,0):void 0;m>v;v++)if((o||v in p)&&(h=g(f=p[v],v,d),e))if(t)y[v]=h;else if(h)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:Br.call(y,f)}else if(i)return!1;return a?-1:r||i?i:y}},Pr={forEach:Or(0),map:Or(1),filter:Or(2),some:Or(3),every:Or(4),find:Or(5),findIndex:Or(6)},Lr=N("species"),Fr=Object.defineProperty,Dr={},Mr=function(e){throw e},jr=function(e,t){if(S(Dr,e))return Dr[e];t||(t={});var n=[][e],r=!!S(t,"ACCESSORS")&&t.ACCESSORS,o=S(t,0)?t[0]:Mr,s=S(t,1)?t[1]:void 0;return Dr[e]=!!n&&!i((function(){if(r&&!a)return!0;var e={length:-1};r?Fr(e,1,{enumerable:!0,get:Mr}):e[1]=1,n.call(e,o,s)}))},Wr=Pr.map,Ur=tr>=51||!i((function(){var e=[];return(e.constructor={})[Lr]=function(){return{foo:1}},1!==e.map(Boolean).foo})),zr=jr("map");Ge({target:"Array",proto:!0,forced:!Ur||!zr},{map:function(e){return Wr(this,e,arguments.length>1?arguments[1]:void 0)}});var Hr=Function.call,Vr=function(e,t,n){return $t(Hr,r[e].prototype[t],n)};Vr("Array","map"),Ge({target:"Array",stat:!0},{isArray:Rr}),we.Array.isArray;var qr=function(e){return function(t,n,r,i){Ht(n);var a=Xe(t),o=me(a),s=_e(a.length),l=e?s-1:0,c=e?-1:1;if(r<2)for(;;){if(l in o){i=o[l],l+=c;break}if(l+=c,e?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=c)l in o&&(i=n(i,o[l],l,a));return i}},Gr={left:qr(!1),right:qr(!0)},Xr=function(e,t){var n=[][e];return!!n&&i((function(){n.call(null,t||function(){throw 1},1)}))},$r=Gr.left,Yr=Xr("reduce"),Kr=jr("reduce",{1:0});Ge({target:"Array",proto:!0,forced:!Yr||!Kr},{reduce:function(e){return $r(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}}),Vr("Array","reduce");var Jr=Pr.forEach,Zr=Xr("forEach"),Qr=jr("forEach"),ei=Zr&&Qr?[].forEach:function(e){return Jr(this,e,arguments.length>1?arguments[1]:void 0)};Ge({target:"Array",proto:!0,forced:[].forEach!=ei},{forEach:ei}),Vr("Array","forEach");var ti=Pr.find,ni=!0,ri=jr("find");"find"in[]&&Array(1).find((function(){ni=!1})),Ge({target:"Array",proto:!0,forced:ni||!ri},{find:function(e){return ti(this,e,arguments.length>1?arguments[1]:void 0)}}),Tt("find"),Vr("Array","find"),Ge({target:"Object",stat:!0,sham:!a},{create:ct}),we.Object;var ii=i((function(){nt(1)}));Ge({target:"Object",stat:!0,forced:ii},{keys:function(e){return nt(Xe(e))}}),we.Object.keys;var ai=pe.f,oi=function(e){return function(t){for(var n,r=ve(t),i=nt(r),o=i.length,s=0,l=[];o>s;)n=i[s++],a&&!ai.call(r,n)||l.push(e?[n,r[n]]:r[n]);return l}},si=(oi(!0),oi(!1));Ge({target:"Object",stat:!0},{values:function(e){return si(e)}}),we.Object.values;var li=Object.assign,ci=Object.defineProperty,ui=!li||i((function(){if(a&&1!==li({b:1},li(ci({},"a",{enumerable:!0,get:function(){ci(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=li({},e)[n]||"abcdefghijklmnopqrst"!=nt(li({},t)).join("")}))?function(e,t){for(var n=Xe(e),r=arguments.length,i=1,o=Le.f,s=pe.f;r>i;)for(var l,c=me(arguments[i++]),u=o?nt(c).concat(o(c)):nt(c),f=u.length,h=0;f>h;)l=u[h++],a&&!s.call(c,l)||(n[l]=c[l]);return n}:li;Ge({target:"Object",stat:!0,forced:Object.assign!==ui},{assign:ui}),we.Object.assign;var fi="\t\n\v\f\r    \u2028\u2029\ufeff",hi="["+fi+"]",di=RegExp("^"+hi+hi+"*"),pi=RegExp(hi+hi+"*$"),gi=function(e){return function(t){var n=String(ce(t));return 1&e&&(n=n.replace(di,"")),2&e&&(n=n.replace(pi,"")),n}},mi={start:gi(1),end:gi(2),trim:gi(3)},vi=function(e){return i((function(){return!!fi[e]()||"…"!="…"[e]()||fi[e].name!==e}))},bi=mi.trim;Ge({target:"String",proto:!0,forced:vi("trim")},{trim:function(){return bi(this)}}),Vr("String","trim");var yi=mi.start,wi=vi("trimStart"),Si=wi?function(){return yi(this)}:"".trimStart;Ge({target:"String",proto:!0,forced:wi},{trimStart:Si,trimLeft:Si}),Vr("String","trimLeft");var xi=mi.end,Ei=vi("trimEnd"),_i=Ei?function(){return xi(this)}:"".trimEnd;Ge({target:"String",proto:!0,forced:Ei},{trimEnd:_i,trimRight:_i}),Vr("String","trimRight");var Ai=Math.floor;Ge({target:"Number",stat:!0},{isInteger:function(e){return!o(e)&&isFinite(e)&&Ai(e)===e}}),we.Number.isInteger;var Ci,ki="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,Ti=p.f,Ri=r.Int8Array,Ni=Ri&&Ri.prototype,Ii=r.Uint8ClampedArray,Bi=Ii&&Ii.prototype,Oi=Ri&&Je(Ri),Pi=Ni&&Je(Ni),Li=Object.prototype,Fi=Li.isPrototypeOf,Di=N("toStringTag"),Mi=_("TYPED_ARRAY_TAG"),ji=ki&&!!mt&&"Opera"!==te(r.opera),Wi=!1,Ui={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},zi=function(e){return o(e)&&S(Ui,te(e))};for(Ci in Ui)r[Ci]||(ji=!1);if((!ji||"function"!=typeof Oi||Oi===Function.prototype)&&(Oi=function(){throw TypeError("Incorrect invocation")},ji))for(Ci in Ui)r[Ci]&&mt(r[Ci],Oi);if((!ji||!Pi||Pi===Li)&&(Pi=Oi.prototype,ji))for(Ci in Ui)r[Ci]&&mt(r[Ci].prototype,Pi);if(ji&&Je(Bi)!==Pi&&mt(Bi,Pi),a&&!S(Pi,Di))for(Ci in Wi=!0,Ti(Pi,Di,{get:function(){return o(this)?this[Mi]:void 0}}),Ui)r[Ci]&&m(r[Ci],Mi,Ci);var Hi={NATIVE_ARRAY_BUFFER_VIEWS:ji,TYPED_ARRAY_TAG:Wi&&Mi,aTypedArray:function(e){if(zi(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(mt){if(Fi.call(Oi,e))return e}else for(var t in Ui)if(S(Ui,Ci)){var n=r[t];if(n&&(e===n||Fi.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(a){if(n)for(var i in Ui){var o=r[i];o&&S(o.prototype,e)&&delete o.prototype[e]}Pi[e]&&!n||K(Pi,e,n?t:ji&&Ni[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var i,o;if(a){if(mt){if(n)for(i in Ui)(o=r[i])&&S(o,e)&&delete o[e];if(Oi[e]&&!n)return;try{return K(Oi,e,n?t:ji&&Ri[e]||t)}catch(e){}}for(i in Ui)!(o=r[i])||o[e]&&!n||K(o,e,t)}},isView:function(e){var t=te(e);return"DataView"===t||S(Ui,t)},isTypedArray:zi,TypedArray:Oi,TypedArrayPrototype:Pi},Vi=Hi.NATIVE_ARRAY_BUFFER_VIEWS,qi=r.ArrayBuffer,Gi=r.Int8Array,Xi=!Vi||!i((function(){Gi(1)}))||!i((function(){new Gi(-1)}))||!sn((function(e){new Gi,new Gi(null),new Gi(1.5),new Gi(e)}),!0)||i((function(){return 1!==new Gi(new qi(2),1,void 0).length})),$i=function(e){if(void 0===e)return 0;var t=le(e),n=_e(t);if(t!==n)throw RangeError("Wrong length or index");return n},Yi=Math.abs,Ki=Math.pow,Ji=Math.floor,Zi=Math.log,Qi=Math.LN2,ea=function(e){for(var t=Xe(this),n=_e(t.length),r=arguments.length,i=ke(r>1?arguments[1]:void 0,n),a=r>2?arguments[2]:void 0,o=void 0===a?n:ke(a,n);o>i;)t[i++]=e;return t},ta=Pe.f,na=p.f,ra=Y.get,ia=Y.set,aa=r.ArrayBuffer,oa=aa,sa=r.DataView,la=sa&&sa.prototype,ca=Object.prototype,ua=r.RangeError,fa=function(e,t,n){var r,i,a,o=new Array(n),s=8*n-t-1,l=(1<<s)-1,c=l>>1,u=23===t?Ki(2,-24)-Ki(2,-77):0,f=e<0||0===e&&1/e<0?1:0,h=0;for((e=Yi(e))!=e||e===1/0?(i=e!=e?1:0,r=l):(r=Ji(Zi(e)/Qi),e*(a=Ki(2,-r))<1&&(r--,a*=2),(e+=r+c>=1?u/a:u*Ki(2,1-c))*a>=2&&(r++,a/=2),r+c>=l?(i=0,r=l):r+c>=1?(i=(e*a-1)*Ki(2,t),r+=c):(i=e*Ki(2,c-1)*Ki(2,t),r=0));t>=8;o[h++]=255&i,i/=256,t-=8);for(r=r<<t|i,s+=t;s>0;o[h++]=255&r,r/=256,s-=8);return o[--h]|=128*f,o},ha=function(e,t){var n,r=e.length,i=8*r-t-1,a=(1<<i)-1,o=a>>1,s=i-7,l=r-1,c=e[l--],u=127&c;for(c>>=7;s>0;u=256*u+e[l],l--,s-=8);for(n=u&(1<<-s)-1,u>>=-s,s+=t;s>0;n=256*n+e[l],l--,s-=8);if(0===u)u=1-o;else{if(u===a)return n?NaN:c?-1/0:1/0;n+=Ki(2,t),u-=o}return(c?-1:1)*n*Ki(2,u-t)},da=function(e){return[255&e]},pa=function(e){return[255&e,e>>8&255]},ga=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},ma=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},va=function(e){return fa(e,23,4)},ba=function(e){return fa(e,52,8)},ya=function(e,t){na(e.prototype,t,{get:function(){return ra(this)[t]}})},wa=function(e,t,n,r){var i=$i(n),a=ra(e);if(i+t>a.byteLength)throw ua("Wrong index");var o=ra(a.buffer).bytes,s=i+a.byteOffset,l=o.slice(s,s+t);return r?l:l.reverse()},Sa=function(e,t,n,r,i,a){var o=$i(n),s=ra(e);if(o+t>s.byteLength)throw ua("Wrong index");for(var l=ra(s.buffer).bytes,c=o+s.byteOffset,u=r(+i),f=0;f<t;f++)l[c+f]=u[a?f:t-f-1]};if(ki){if(!i((function(){aa(1)}))||!i((function(){new aa(-1)}))||i((function(){return new aa,new aa(1.5),new aa(NaN),"ArrayBuffer"!=aa.name}))){for(var xa,Ea=(oa=function(e){return Vt(this,oa),new aa($i(e))}).prototype=aa.prototype,_a=ta(aa),Aa=0;_a.length>Aa;)(xa=_a[Aa++])in oa||m(oa,xa,aa[xa]);Ea.constructor=oa}mt&&Je(la)!==ca&&mt(la,ca);var Ca=new sa(new oa(2)),ka=la.setInt8;Ca.setInt8(0,2147483648),Ca.setInt8(1,2147483649),!Ca.getInt8(0)&&Ca.getInt8(1)||Wt(la,{setInt8:function(e,t){ka.call(this,e,t<<24>>24)},setUint8:function(e,t){ka.call(this,e,t<<24>>24)}},{unsafe:!0})}else oa=function(e){Vt(this,oa,"ArrayBuffer");var t=$i(e);ia(this,{bytes:ea.call(new Array(t),0),byteLength:t}),a||(this.byteLength=t)},sa=function(e,t,n){Vt(this,sa,"DataView"),Vt(e,oa,"DataView");var r=ra(e).byteLength,i=le(t);if(i<0||i>r)throw ua("Wrong offset");if(i+(n=void 0===n?r-i:_e(n))>r)throw ua("Wrong length");ia(this,{buffer:e,byteLength:n,byteOffset:i}),a||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},a&&(ya(oa,"byteLength"),ya(sa,"buffer"),ya(sa,"byteLength"),ya(sa,"byteOffset")),Wt(sa.prototype,{getInt8:function(e){return wa(this,1,e)[0]<<24>>24},getUint8:function(e){return wa(this,1,e)[0]},getInt16:function(e){var t=wa(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=wa(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return ma(wa(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return ma(wa(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return ha(wa(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return ha(wa(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){Sa(this,1,e,da,t)},setUint8:function(e,t){Sa(this,1,e,da,t)},setInt16:function(e,t){Sa(this,2,e,pa,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){Sa(this,2,e,pa,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){Sa(this,4,e,ga,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){Sa(this,4,e,ga,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){Sa(this,4,e,va,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){Sa(this,8,e,ba,t,arguments.length>2?arguments[2]:void 0)}});ht(oa,"ArrayBuffer"),ht(sa,"DataView");var Ta={ArrayBuffer:oa,DataView:sa},Ra=function(e,t){var n=function(e){var t=le(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}(e);if(n%t)throw RangeError("Wrong offset");return n},Na=Hi.aTypedArrayConstructor,Ia=function(e){var t,n,r,i,a,o,s=Xe(e),l=arguments.length,c=l>1?arguments[1]:void 0,u=void 0!==c,f=Kt(s);if(null!=f&&!Xt(f))for(o=(a=f.call(s)).next,s=[];!(i=o.call(a)).done;)s.push(i.value);for(u&&l>2&&(c=$t(c,arguments[2],2)),n=_e(s.length),r=new(Na(this))(n),t=0;n>t;t++)r[t]=u?c(s[t],t):s[t];return r};t((function(e){var t=Pe.f,n=Pr.forEach,i=Y.get,s=Y.set,l=p.f,c=ye.f,u=Math.round,f=r.RangeError,d=Ta.ArrayBuffer,v=Ta.DataView,b=Hi.NATIVE_ARRAY_BUFFER_VIEWS,y=Hi.TYPED_ARRAY_TAG,w=Hi.TypedArray,x=Hi.TypedArrayPrototype,E=Hi.aTypedArrayConstructor,_=Hi.isTypedArray,A=function(e,t){for(var n=0,r=t.length,i=new(E(e))(r);r>n;)i[n]=t[n++];return i},C=function(e,t){l(e,t,{get:function(){return i(this)[t]}})},k=function(e){var t;return e instanceof d||"ArrayBuffer"==(t=te(e))||"SharedArrayBuffer"==t},T=function(e,t){return _(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},R=function(e,t){return T(e,t=h(t,!0))?g(2,e[t]):c(e,t)},N=function(e,t,n){return!(T(e,t=h(t,!0))&&o(n)&&S(n,"value"))||S(n,"get")||S(n,"set")||n.configurable||S(n,"writable")&&!n.writable||S(n,"enumerable")&&!n.enumerable?l(e,t,n):(e[t]=n.value,e)};a?(b||(ye.f=R,p.f=N,C(x,"buffer"),C(x,"byteOffset"),C(x,"byteLength"),C(x,"length")),Ge({target:"Object",stat:!0,forced:!b},{getOwnPropertyDescriptor:R,defineProperty:N}),e.exports=function(e,a,c){var h=e.match(/\d+$/)[0]/8,p=e+(c?"Clamped":"")+"Array",g="get"+e,S="set"+e,E=r[p],C=E,T=C&&C.prototype,R={},N=function(e,t){l(e,t,{get:function(){return function(e,t){var n=i(e);return n.view[g](t*h+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var r=i(e);c&&(n=(n=u(n))<0?0:n>255?255:255&n),r.view[S](t*h+r.byteOffset,n,!0)}(this,t,e)},enumerable:!0})};b?Xi&&(C=a((function(e,t,n,r){return Vt(e,C,p),function(e,t,n){var r,i;return mt&&"function"==typeof(r=t.constructor)&&r!==n&&o(i=r.prototype)&&i!==n.prototype&&mt(e,i),e}(o(t)?k(t)?void 0!==r?new E(t,Ra(n,h),r):void 0!==n?new E(t,Ra(n,h)):new E(t):_(t)?A(C,t):Ia.call(C,t):new E($i(t)),e,C)})),mt&&mt(C,w),n(t(E),(function(e){e in C||m(C,e,E[e])})),C.prototype=T):(C=a((function(e,t,n,r){Vt(e,C,p);var i,a,l,c=0,u=0;if(o(t)){if(!k(t))return _(t)?A(C,t):Ia.call(C,t);i=t,u=Ra(n,h);var g=t.byteLength;if(void 0===r){if(g%h)throw f("Wrong length");if((a=g-u)<0)throw f("Wrong length")}else if((a=_e(r)*h)+u>g)throw f("Wrong length");l=a/h}else l=$i(t),i=new d(a=l*h);for(s(e,{buffer:i,byteOffset:u,byteLength:a,length:l,view:new v(i)});c<l;)N(e,c++)})),mt&&mt(C,w),T=C.prototype=ct(x)),T.constructor!==C&&m(T,"constructor",C),y&&m(T,y,p),R[p]=C,Ge({global:!0,forced:C!=E,sham:!b},R),"BYTES_PER_ELEMENT"in C||m(C,"BYTES_PER_ELEMENT",h),"BYTES_PER_ELEMENT"in T||m(T,"BYTES_PER_ELEMENT",h),zt(p)}):e.exports=function(){}}))("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}})),(0,Hi.exportTypedArrayStaticMethod)("from",Ia,Xi);var Ba=Hi.aTypedArrayConstructor;(0,Hi.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,n=new(Ba(this))(t);t>e;)n[e]=arguments[e++];return n}),Xi);var Oa=Math.min,Pa=[].copyWithin||function(e,t){var n=Xe(this),r=_e(n.length),i=ke(e,r),a=ke(t,r),o=arguments.length>2?arguments[2]:void 0,s=Oa((void 0===o?r:ke(o,r))-a,r-i),l=1;for(a<i&&i<a+s&&(l=-1,a+=s-1,i+=s-1);s-- >0;)a in n?n[i]=n[a]:delete n[i],i+=l,a+=l;return n},La=Hi.aTypedArray;(0,Hi.exportTypedArrayMethod)("copyWithin",(function(e,t){return Pa.call(La(this),e,t,arguments.length>2?arguments[2]:void 0)}));var Fa=Pr.every,Da=Hi.aTypedArray;(0,Hi.exportTypedArrayMethod)("every",(function(e){return Fa(Da(this),e,arguments.length>1?arguments[1]:void 0)}));var Ma=Hi.aTypedArray;(0,Hi.exportTypedArrayMethod)("fill",(function(e){return ea.apply(Ma(this),arguments)}));var ja=Pr.filter,Wa=Hi.aTypedArray,Ua=Hi.aTypedArrayConstructor;(0,Hi.exportTypedArrayMethod)("filter",(function(e){for(var t=ja(Wa(this),e,arguments.length>1?arguments[1]:void 0),n=cn(this,this.constructor),r=0,i=t.length,a=new(Ua(n))(i);i>r;)a[r]=t[r++];return a}));var za=Pr.find,Ha=Hi.aTypedArray;(0,Hi.exportTypedArrayMethod)("find",(function(e){return za(Ha(this),e,arguments.length>1?arguments[1]:void 0)}));var Va=Pr.findIndex,qa=Hi.aTypedArray;(0,Hi.exportTypedArrayMethod)("findIndex",(function(e){return Va(qa(this),e,arguments.length>1?arguments[1]:void 0)}));var Ga=Pr.forEach,Xa=Hi.aTypedArray;(0,Hi.exportTypedArrayMethod)("forEach",(function(e){Ga(Xa(this),e,arguments.length>1?arguments[1]:void 0)}));var $a=Re.includes,Ya=Hi.aTypedArray;(0,Hi.exportTypedArrayMethod)("includes",(function(e){return $a(Ya(this),e,arguments.length>1?arguments[1]:void 0)}));var Ka=Re.indexOf,Ja=Hi.aTypedArray;(0,Hi.exportTypedArrayMethod)("indexOf",(function(e){return Ka(Ja(this),e,arguments.length>1?arguments[1]:void 0)}));var Za=Hi.aTypedArray,Qa=[].join;(0,Hi.exportTypedArrayMethod)("join",(function(e){return Qa.apply(Za(this),arguments)}));var eo=Math.min,to=[].lastIndexOf,no=!!to&&1/[1].lastIndexOf(1,-0)<0,ro=Xr("lastIndexOf"),io=jr("indexOf",{ACCESSORS:!0,1:0}),ao=!no&&ro&&io?to:function(e){if(no)return to.apply(this,arguments)||0;var t=ve(this),n=_e(t.length),r=n-1;for(arguments.length>1&&(r=eo(r,le(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1},oo=Hi.aTypedArray;(0,Hi.exportTypedArrayMethod)("lastIndexOf",(function(e){return ao.apply(oo(this),arguments)}));var so=Pr.map,lo=Hi.aTypedArray,co=Hi.aTypedArrayConstructor;(0,Hi.exportTypedArrayMethod)("map",(function(e){return so(lo(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(co(cn(e,e.constructor)))(t)}))}));var uo=Gr.left,fo=Hi.aTypedArray;(0,Hi.exportTypedArrayMethod)("reduce",(function(e){return uo(fo(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}));var ho=Gr.right,po=Hi.aTypedArray;(0,Hi.exportTypedArrayMethod)("reduceRight",(function(e){return ho(po(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}));var go=Hi.aTypedArray,mo=Hi.exportTypedArrayMethod,vo=Math.floor;mo("reverse",(function(){for(var e,t=go(this).length,n=vo(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this}));var bo=Hi.aTypedArray;(0,Hi.exportTypedArrayMethod)("set",(function(e){bo(this);var t=Ra(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=Xe(e),i=_e(r.length),a=0;if(i+t>n)throw RangeError("Wrong length");for(;a<i;)this[t+a]=r[a++]}),i((function(){new Int8Array(1).set({})})));var yo=Hi.aTypedArray,wo=Hi.aTypedArrayConstructor,So=[].slice;(0,Hi.exportTypedArrayMethod)("slice",(function(e,t){for(var n=So.call(yo(this),e,t),r=cn(this,this.constructor),i=0,a=n.length,o=new(wo(r))(a);a>i;)o[i]=n[i++];return o}),i((function(){new Int8Array(1).slice()})));var xo=Pr.some,Eo=Hi.aTypedArray;(0,Hi.exportTypedArrayMethod)("some",(function(e){return xo(Eo(this),e,arguments.length>1?arguments[1]:void 0)}));var _o=Hi.aTypedArray,Ao=[].sort;(0,Hi.exportTypedArrayMethod)("sort",(function(e){return Ao.call(_o(this),e)}));var Co=Hi.aTypedArray;(0,Hi.exportTypedArrayMethod)("subarray",(function(e,t){var n=Co(this),r=n.length,i=ke(e,r);return new(cn(n,n.constructor))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,_e((void 0===t?r:ke(t,r))-i))}));var ko=r.Int8Array,To=Hi.aTypedArray,Ro=Hi.exportTypedArrayMethod,No=[].toLocaleString,Io=[].slice,Bo=!!ko&&i((function(){No.call(new ko(1))}));Ro("toLocaleString",(function(){return No.apply(Bo?Io.call(To(this)):To(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new ko([1,2]).toLocaleString()}))||!i((function(){ko.prototype.toLocaleString.call([1,2])})));var Oo=Hi.exportTypedArrayMethod,Po=r.Uint8Array,Lo=Po&&Po.prototype||{},Fo=[].toString,Do=[].join;i((function(){Fo.call({})}))&&(Fo=function(){return Do.call(this)});var Mo=Lo.toString!=Fo;Oo("toString",Fo,Mo);var jo=N("iterator"),Wo=r.Uint8Array,Uo=It.values,zo=It.keys,Ho=It.entries,Vo=Hi.aTypedArray,qo=Hi.exportTypedArrayMethod,Go=Wo&&Wo.prototype[jo],Xo=!!Go&&("values"==Go.name||null==Go.name),$o=function(){return Uo.call(Vo(this))};qo("entries",(function(){return Ho.call(Vo(this))})),qo("keys",(function(){return zo.call(Vo(this))})),qo("values",$o,!Xo),qo(jo,$o,!Xo),r.Uint8Array;var Yo=function(){return"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this}(),Ko=Yo.BlobBuilder||Yo.WebKitBlobBuilder||Yo.MSBlobBuilder||Yo.MozBlobBuilder;Yo.URL=Yo.URL||Yo.webkitURL||function(e,t){return(t=document.createElement("a")).href=e,t};var Jo=Yo.Blob,Zo=URL.createObjectURL,Qo=URL.revokeObjectURL,es=Yo.Symbol&&Yo.Symbol.toStringTag,ts=!1,ns=!1,rs=!!Yo.ArrayBuffer,is=Ko&&Ko.prototype.append&&Ko.prototype.getBlob;try{ts=2===new Blob(["ä"]).size,ns=2===new Blob([new Uint8Array([1,2])]).size}catch(e){}function as(e){return e.map((function(e){if(e.buffer instanceof ArrayBuffer){var t=e.buffer;if(e.byteLength!==t.byteLength){var n=new Uint8Array(e.byteLength);n.set(new Uint8Array(t,e.byteOffset,e.byteLength)),t=n.buffer}return t}return e}))}function os(e,t){t=t||{};var n=new Ko;return as(e).forEach((function(e){n.append(e)})),t.type?n.getBlob(t.type):n.getBlob()}function ss(e,t){return new Jo(as(e),t||{})}if(Yo.Blob&&(os.prototype=Blob.prototype,ss.prototype=Blob.prototype),es)try{File.prototype[es]="File",Blob.prototype[es]="Blob",FileReader.prototype[es]="FileReader"}catch(e){}function ls(){var e=!!Yo.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,t=Yo.XMLHttpRequest&&Yo.XMLHttpRequest.prototype.send;e&&t&&(XMLHttpRequest.prototype.send=function(e){e instanceof Blob?(this.setRequestHeader("Content-Type",e.type),t.call(this,e)):t.call(this,e)});try{new File([],"")}catch(e){try{var n=new Function('class File extends Blob {constructor(chunks, name, opts) {opts = opts || {};super(chunks, opts || {});this.name = name;this.lastModifiedDate = opts.lastModified ? new Date(opts.lastModified) : new Date;this.lastModified = +this.lastModifiedDate;}};return new File([], ""), File')();Yo.File=n}catch(e){n=function(e,t,n){var r=new Blob(e,n),i=n&&void 0!==n.lastModified?new Date(n.lastModified):new Date;return r.name=t,r.lastModifiedDate=i,r.lastModified=+i,r.toString=function(){return"[object File]"},es&&(r[es]="File"),r},Yo.File=n}}}ts?(ls(),Yo.Blob=ns?Yo.Blob:ss):is?(ls(),Yo.Blob=os):function(){function e(e){for(var t=[],n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t.push(r):r<2048?t.push(192|r>>6,128|63&r):r<55296||r>=57344?t.push(224|r>>12,128|r>>6&63,128|63&r):(n++,r=65536+((1023&r)<<10|1023&e.charCodeAt(n)),t.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r))}return t}function t(e){var t,n,r,i,a,o;for(t="",r=e.length,n=0;n<r;)switch((i=e[n++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:t+=String.fromCharCode(i);break;case 12:case 13:a=e[n++],t+=String.fromCharCode((31&i)<<6|63&a);break;case 14:a=e[n++],o=e[n++],t+=String.fromCharCode((15&i)<<12|(63&a)<<6|(63&o)<<0)}return t}function n(e){for(var t=new Array(e.byteLength),n=new Uint8Array(e),r=t.length;r--;)t[r]=n[r];return t}function r(e){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n=[],r=0;r<e.length;r+=3){var i=e[r],a=r+1<e.length,o=a?e[r+1]:0,s=r+2<e.length,l=s?e[r+2]:0,c=i>>2,u=(3&i)<<4|o>>4,f=(15&o)<<2|l>>6,h=63&l;s||(h=64,a||(f=64)),n.push(t[c],t[u],t[f],t[h])}return n.join("")}var i=Object.create||function(e){function t(){}return t.prototype=e,new t};if(rs)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],o=ArrayBuffer.isView||function(e){return e&&a.indexOf(Object.prototype.toString.call(e))>-1};function s(t,r){for(var i=0,a=(t=t||[]).length;i<a;i++){var l=t[i];l instanceof s?t[i]=l._buffer:"string"==typeof l?t[i]=e(l):rs&&(ArrayBuffer.prototype.isPrototypeOf(l)||o(l))?t[i]=n(l):rs&&(c=l)&&DataView.prototype.isPrototypeOf(c)?t[i]=n(l.buffer):t[i]=e(String(l))}var c;this._buffer=[].concat.apply([],t),this.size=this._buffer.length,this.type=r&&r.type||""}function l(e,t,n){n=n||{};var r=s.call(this,e,n)||this;return r.name=t,r.lastModifiedDate=n.lastModified?new Date(n.lastModified):new Date,r.lastModified=+r.lastModifiedDate,r}if(s.prototype.slice=function(e,t,n){return new s([this._buffer.slice(e||0,t||this._buffer.length)],{type:n})},s.prototype.toString=function(){return"[object Blob]"},l.prototype=i(s.prototype),l.prototype.constructor=l,Object.setPrototypeOf)Object.setPrototypeOf(l,s);else try{l.__proto__=s}catch(e){}function c(){if(!(this instanceof c))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var e=document.createDocumentFragment();this.addEventListener=e.addEventListener,this.dispatchEvent=function(t){var n=this["on"+t.type];"function"==typeof n&&n(t),e.dispatchEvent(t)},this.removeEventListener=e.removeEventListener}function u(e,t,n){if(!(t instanceof s))throw new TypeError("Failed to execute '"+n+"' on 'FileReader': parameter 1 is not of type 'Blob'.");e.result="",setTimeout((function(){this.readyState=c.LOADING,e.dispatchEvent(new Event("load")),e.dispatchEvent(new Event("loadend"))}))}l.prototype.toString=function(){return"[object File]"},c.EMPTY=0,c.LOADING=1,c.DONE=2,c.prototype.error=null,c.prototype.onabort=null,c.prototype.onerror=null,c.prototype.onload=null,c.prototype.onloadend=null,c.prototype.onloadstart=null,c.prototype.onprogress=null,c.prototype.readAsDataURL=function(e){u(this,e,"readAsDataURL"),this.result="data:"+e.type+";base64,"+r(e._buffer)},c.prototype.readAsText=function(e){u(this,e,"readAsText"),this.result=t(e._buffer)},c.prototype.readAsArrayBuffer=function(e){u(this,e,"readAsText"),this.result=e._buffer.slice()},c.prototype.abort=function(){},URL.createObjectURL=function(e){return e instanceof s?"data:"+e.type+";base64,"+r(e._buffer):Zo.call(URL,e)},URL.revokeObjectURL=function(e){Qo&&Qo.call(URL,e)};var f=Yo.XMLHttpRequest&&Yo.XMLHttpRequest.prototype.send;f&&(XMLHttpRequest.prototype.send=function(e){e instanceof s?(this.setRequestHeader("Content-Type",e.type),f.call(this,t(e._buffer))):f.call(this,e)}),Yo.FileReader=c,Yo.File=l,Yo.Blob=s}();var cs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";void 0===Yo.btoa&&(Yo.btoa=function(e){var t,n,r,i,a,o=0,s=0,l="",c=[];if(!e)return e;do{t=(a=e.charCodeAt(o++)<<16|e.charCodeAt(o++)<<8|e.charCodeAt(o++))>>18&63,n=a>>12&63,r=a>>6&63,i=63&a,c[s++]=cs.charAt(t)+cs.charAt(n)+cs.charAt(r)+cs.charAt(i)}while(o<e.length);l=c.join("");var u=e.length%3;return(u?l.slice(0,u-3):l)+"===".slice(u||3)}),void 0===Yo.atob&&(Yo.atob=function(e){var t,n,r,i,a,o,s=0,l=0,c=[];if(!e)return e;e+="";do{t=(o=cs.indexOf(e.charAt(s++))<<18|cs.indexOf(e.charAt(s++))<<12|(i=cs.indexOf(e.charAt(s++)))<<6|(a=cs.indexOf(e.charAt(s++))))>>16&255,n=o>>8&255,r=255&o,c[l++]=64==i?String.fromCharCode(t):64==a?String.fromCharCode(t,n):String.fromCharCode(t,n,r)}while(s<e.length);return c.join("")})})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).jspdf={})}(this,(function(e){"use strict";var t=function(){return"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this}();function n(){t.console&&"function"==typeof t.console.log&&t.console.log.apply(t.console,arguments)}var r={log:n,warn:function(e){t.console&&("function"==typeof t.console.warn?t.console.warn.apply(t.console,arguments):n.call(null,arguments))},error:function(e){t.console&&("function"==typeof t.console.error?t.console.error.apply(t.console,arguments):n(e))}};function i(e,t,n){var i=new XMLHttpRequest;i.open("GET",e),i.responseType="blob",i.onload=function(){c(i.response,t,n)},i.onerror=function(){r.error("could not download file")},i.send()}function a(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function o(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var s,l,c=t.saveAs||("object"!=typeof window||window!==t?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,n,r){var s=t.URL||t.webkitURL,l=document.createElement("a");n=n||e.name||"download",l.download=n,l.rel="noopener","string"==typeof e?(l.href=e,l.origin!==location.origin?a(l.href)?i(e,n,r):o(l,l.target="_blank"):o(l)):(l.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(l.href)}),4e4),setTimeout((function(){o(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download","string"==typeof e)if(a(e))i(e,t,n);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout((function(){o(s)}))}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(r.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,n),t)}:function(e,n,r,a){if((a=a||open("","_blank"))&&(a.document.title=a.document.body.innerText="downloading..."),"string"==typeof e)return i(e,n,r);var o="application/octet-stream"===e.type,s=/constructor/i.test(t.HTMLElement)||t.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||o&&s)&&"object"==typeof FileReader){var c=new FileReader;c.onloadend=function(){var e=c.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),a?a.location.href=e:location=e,a=null},c.readAsDataURL(e)}else{var u=t.URL||t.webkitURL,f=u.createObjectURL(e);a?a.location=f:location.href=f,a=null,setTimeout((function(){u.revokeObjectURL(f)}),4e4)}});function u(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e={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"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],r=0;r<n.length;r++){var i=n[r].re,a=n[r].process,o=i.exec(e);o&&(t=a(o),this.r=t[0],this.g=t[1],this.b=t[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 e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n}}function f(e,t){var n=e[0],r=e[1],i=e[2],a=e[3];n=d(n,r,i,a,t[0],7,-680876936),a=d(a,n,r,i,t[1],12,-389564586),i=d(i,a,n,r,t[2],17,606105819),r=d(r,i,a,n,t[3],22,-1044525330),n=d(n,r,i,a,t[4],7,-176418897),a=d(a,n,r,i,t[5],12,1200080426),i=d(i,a,n,r,t[6],17,-1473231341),r=d(r,i,a,n,t[7],22,-45705983),n=d(n,r,i,a,t[8],7,1770035416),a=d(a,n,r,i,t[9],12,-1958414417),i=d(i,a,n,r,t[10],17,-42063),r=d(r,i,a,n,t[11],22,-1990404162),n=d(n,r,i,a,t[12],7,1804603682),a=d(a,n,r,i,t[13],12,-40341101),i=d(i,a,n,r,t[14],17,-1502002290),n=p(n,r=d(r,i,a,n,t[15],22,1236535329),i,a,t[1],5,-165796510),a=p(a,n,r,i,t[6],9,-1069501632),i=p(i,a,n,r,t[11],14,643717713),r=p(r,i,a,n,t[0],20,-373897302),n=p(n,r,i,a,t[5],5,-701558691),a=p(a,n,r,i,t[10],9,38016083),i=p(i,a,n,r,t[15],14,-660478335),r=p(r,i,a,n,t[4],20,-405537848),n=p(n,r,i,a,t[9],5,568446438),a=p(a,n,r,i,t[14],9,-1019803690),i=p(i,a,n,r,t[3],14,-187363961),r=p(r,i,a,n,t[8],20,1163531501),n=p(n,r,i,a,t[13],5,-1444681467),a=p(a,n,r,i,t[2],9,-51403784),i=p(i,a,n,r,t[7],14,1735328473),n=g(n,r=p(r,i,a,n,t[12],20,-1926607734),i,a,t[5],4,-378558),a=g(a,n,r,i,t[8],11,-2022574463),i=g(i,a,n,r,t[11],16,1839030562),r=g(r,i,a,n,t[14],23,-35309556),n=g(n,r,i,a,t[1],4,-1530992060),a=g(a,n,r,i,t[4],11,1272893353),i=g(i,a,n,r,t[7],16,-155497632),r=g(r,i,a,n,t[10],23,-1094730640),n=g(n,r,i,a,t[13],4,681279174),a=g(a,n,r,i,t[0],11,-358537222),i=g(i,a,n,r,t[3],16,-722521979),r=g(r,i,a,n,t[6],23,76029189),n=g(n,r,i,a,t[9],4,-640364487),a=g(a,n,r,i,t[12],11,-421815835),i=g(i,a,n,r,t[15],16,530742520),n=m(n,r=g(r,i,a,n,t[2],23,-995338651),i,a,t[0],6,-198630844),a=m(a,n,r,i,t[7],10,1126891415),i=m(i,a,n,r,t[14],15,-1416354905),r=m(r,i,a,n,t[5],21,-57434055),n=m(n,r,i,a,t[12],6,1700485571),a=m(a,n,r,i,t[3],10,-1894986606),i=m(i,a,n,r,t[10],15,-1051523),r=m(r,i,a,n,t[1],21,-2054922799),n=m(n,r,i,a,t[8],6,1873313359),a=m(a,n,r,i,t[15],10,-30611744),i=m(i,a,n,r,t[6],15,-1560198380),r=m(r,i,a,n,t[13],21,1309151649),n=m(n,r,i,a,t[4],6,-145523070),a=m(a,n,r,i,t[11],10,-1120210379),i=m(i,a,n,r,t[2],15,718787259),r=m(r,i,a,n,t[9],21,-343485551),e[0]=E(n,e[0]),e[1]=E(r,e[1]),e[2]=E(i,e[2]),e[3]=E(a,e[3])}function h(e,t,n,r,i,a){return t=E(E(t,e),E(r,a)),E(t<<i|t>>>32-i,n)}function d(e,t,n,r,i,a,o){return h(t&n|~t&r,e,t,i,a,o)}function p(e,t,n,r,i,a,o){return h(t&r|n&~r,e,t,i,a,o)}function g(e,t,n,r,i,a,o){return h(t^n^r,e,t,i,a,o)}function m(e,t,n,r,i,a,o){return h(n^(t|~r),e,t,i,a,o)}function v(e){var t,n=e.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)f(r,b(e.substring(t-64,t)));e=e.substring(t-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)i[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(f(r,i),t=0;t<16;t++)i[t]=0;return i[14]=8*n,f(r,i),r}function b(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}s=t.atob.bind(t),l=t.btoa.bind(t);var y="0123456789abcdef".split("");function w(e){for(var t="",n=0;n<4;n++)t+=y[e>>8*n+4&15]+y[e>>8*n&15];return t}function S(e){return String.fromCharCode((255&e)>>0,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function x(e){return function(e){return e.map(S).join("")}(v(e))}function E(e,t){return e+t&4294967295}if("5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=w(e[t]);return e.join("")}(v("hello"))){}function _(e,t){var n,r,i,a;if(e!==n){for(var o=(i=e,a=1+(256/e.length>>0),new Array(a+1).join(i)),s=[],l=0;l<256;l++)s[l]=l;var c=0;for(l=0;l<256;l++){var u=s[l];c=(c+u+o.charCodeAt(l))%256,s[l]=s[c],s[c]=u}n=e,r=s}else s=r;var f=t.length,h=0,d=0,p="";for(l=0;l<f;l++)d=(d+(u=s[h=(h+1)%256]))%256,s[h]=s[d],s[d]=u,o=s[(s[h]+s[d])%256],p+=String.fromCharCode(t.charCodeAt(l)^o);return p}var A={print:4,modify:8,copy:16,"annot-forms":32};function C(e,t,n,r){this.v=1,this.r=2;let i=192;e.forEach((function(e){if(void 0!==A.perm)throw new Error("Invalid permission: "+e);i+=A[e]})),this.padding="(¿N^NuŠAd\0NVÿú\b..\0¶Ðh>€/\f©þdSiz";let a=(t+this.padding).substr(0,32),o=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(a,o),this.P=-(1+(255^i)),this.encryptionKey=x(a+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=_(this.encryptionKey,this.padding)}function k(e){if("object"!=typeof e)throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var n={};this.subscribe=function(e,t,r){if(r=r||!1,"string"!=typeof e||"function"!=typeof t||"boolean"!=typeof r)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");n.hasOwnProperty(e)||(n[e]={});var i=Math.random().toString(35);return n[e][i]=[t,!!r],i},this.unsubscribe=function(e){for(var t in n)if(n[t][e])return delete n[t][e],0===Object.keys(n[t]).length&&delete n[t],!0;return!1},this.publish=function(i){if(n.hasOwnProperty(i)){var a=Array.prototype.slice.call(arguments,1),o=[];for(var s in n[i]){var l=n[i][s];try{l[0].apply(e,a)}catch(e){t.console&&r.error("jsPDF PubSub Error",e.message,e)}l[1]&&o.push(s)}o.length&&o.forEach(this.unsubscribe)}},this.getTopics=function(){return n}}function T(e){if(!(this instanceof T))return new T(e);var t="opacity,stroke-opacity".split(",");for(var n in e)e.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=e[n]);this.id="",this.objectNumber=-1}function R(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function N(e,t,n,r,i){if(!(this instanceof N))return new N(e,t,n,r,i);this.type="axial"===e?2:3,this.coords=t,this.colors=n,R.call(this,r,i)}function I(e,t,n,r,i){if(!(this instanceof I))return new I(e,t,n,r,i);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,R.call(this,r,i)}function B(e){var n,i="string"==typeof arguments[0]?arguments[0]:"p",a=arguments[1],o=arguments[2],s=arguments[3],f=[],h=1,d=16,p="S",g=null;"object"==typeof(e=e||{})&&(i=e.orientation,a=e.unit||a,o=e.format||o,s=e.compress||e.compressPdf||s,null!==(g=e.encryption||null)&&(g.userPassword=g.userPassword||"",g.ownerPassword=g.ownerPassword||"",g.userPermissions=g.userPermissions||[]),h="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(n=e.precision),void 0!==e.floatPrecision&&(d=e.floatPrecision),p=e.defaultPathOperation||"S"),f=e.filters||(!0===s?["FlateEncode"]:f),a=a||"mm",i=(""+(i||"P")).toLowerCase();var m=e.putOnlyUsedFonts||!1,v={},b={internal:{},__private__:{}};b.__private__.PubSub=k;var y="1.3",w=b.__private__.getPdfVersion=function(){return y};b.__private__.setPdfVersion=function(e){y=e};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(e){return S[e]};o=o||"a4";var E={COMPAT:"compat",ADVANCED:"advanced"},_=E.COMPAT;function A(){this.saveGraphicsState(),ce(new He(_e,0,0,-_e,0,Dn()*_e).toString()+" cm"),this.setFontSize(this.getFontSize()/_e),p="n",_=E.ADVANCED}function R(){this.restoreGraphicsState(),p="S",_=E.COMPAT}var O=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&e!==t&&(e=400==t?"italic"==e?"italic":"normal":700==t&&"italic"!==e?"bold":e+""+t),e};b.advancedAPI=function(e){var t=_===E.COMPAT;return t&&A.call(this),"function"!=typeof e||(e(this),t&&R.call(this)),this},b.compatAPI=function(e){var t=_===E.ADVANCED;return t&&R.call(this),"function"!=typeof e||(e(this),t&&A.call(this)),this},b.isAdvancedAPI=function(){return _===E.ADVANCED};var P,L=function(e){if(_!==E.ADVANCED)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},F=b.roundToPrecision=b.__private__.roundToPrecision=function(e,t){var r=n||t;if(isNaN(e)||isNaN(r))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return e.toFixed(r).replace(/0+$/,"")};P=b.hpf=b.__private__.hpf="number"==typeof d?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return F(e,d)}:"smart"===d?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return F(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return F(e,16)};var D=b.f2=b.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return F(e,2)},M=b.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return F(e,3)},j=b.scale=b.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return _===E.COMPAT?e*_e:_===E.ADVANCED?e:void 0},W=function(e){return _===E.COMPAT?Dn()-e:_===E.ADVANCED?e:void 0},U=function(e){return j(W(e))};b.__private__.setPrecision=b.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(n=parseInt(e,10))};var z,H="00000000000000000000000000000000",V=b.__private__.getFileId=function(){return H},q=b.__private__.setFileId=function(e){return H=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():H.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==g&&(qt=new C(g.userPermissions,g.userPassword,g.ownerPassword,H)),H};b.setFileId=function(e){return q(e),this},b.getFileId=function(){return V()};var G=b.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),n=t<0?"+":"-",r=Math.floor(Math.abs(t/60)),i=Math.abs(t%60),a=[n,J(r),"'",J(i),"'"].join("");return["D:",e.getFullYear(),J(e.getMonth()+1),J(e.getDate()),J(e.getHours()),J(e.getMinutes()),J(e.getSeconds()),a].join("")},X=b.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),n=parseInt(e.substr(6,2),10)-1,r=parseInt(e.substr(8,2),10),i=parseInt(e.substr(10,2),10),a=parseInt(e.substr(12,2),10),o=parseInt(e.substr(14,2),10);return new Date(t,n,r,i,a,o,0)},$=b.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=G(e);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(e))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return z=t},Y=b.__private__.getCreationDate=function(e){var t=z;return"jsDate"===e&&(t=X(z)),t};b.setCreationDate=function(e){return $(e),this},b.getCreationDate=function(e){return Y(e)};var K,J=b.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},Z=b.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},Q=0,ee=[],te=[],ne=0,re=[],ie=[],ae=!1,oe=te,se=function(){Q=0,ne=0,te=[],ee=[],re=[],Je=$e(),Ze=$e()};b.__private__.setCustomOutputDestination=function(e){ae=!0,oe=e};var le=function(e){ae||(oe=e)};b.__private__.resetCustomOutputDestination=function(){ae=!1,oe=te};var ce=b.__private__.out=function(e){return e=e.toString(),ne+=e.length+1,oe.push(e),oe},ue=b.__private__.write=function(e){return ce(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},fe=b.__private__.getArrayBuffer=function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n);t--;)r[t]=e.charCodeAt(t);return n},he=[["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 he};var de=e.fontSize||16;b.__private__.setFontSize=b.setFontSize=function(e){return de=_===E.ADVANCED?e/_e:e,this};var pe,ge=b.__private__.getFontSize=b.getFontSize=function(){return _===E.COMPAT?de:de*_e},me=e.R2L||!1;b.__private__.setR2L=b.setR2L=function(e){return me=e,this},b.__private__.getR2L=b.getR2L=function(){return me};var ve,be=b.__private__.setZoomMode=function(e){if(/^\d*\.?\d*%$/.test(e))pe=e;else if(isNaN(e)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');pe=e}else pe=parseInt(e,10)};b.__private__.getZoomMode=function(){return pe};var ye,we=b.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');ve=e};b.__private__.getPageMode=function(){return ve};var Se=b.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');ye=e};b.__private__.getLayoutMode=function(){return ye},b.__private__.setDisplayMode=b.setDisplayMode=function(e,t,n){return be(e),Se(t),we(n),this};var xe={title:"",subject:"",author:"",keywords:"",creator:""};b.__private__.getDocumentProperty=function(e){if(-1===Object.keys(xe).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return xe[e]},b.__private__.getDocumentProperties=function(){return xe},b.__private__.setDocumentProperties=b.setProperties=b.setDocumentProperties=function(e){for(var t in xe)xe.hasOwnProperty(t)&&e[t]&&(xe[t]=e[t]);return this},b.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(xe).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return xe[e]=t};var Ee,_e,Ae,Ce,ke,Te={},Re={},Ne=[],Ie={},Be={},Oe={},Pe={},Le=null,Fe=0,De=[],Me=new k(b),je=e.hotfixes||[],We={},Ue={},ze=[],He=function(e,t,n,r,i,a){if(!(this instanceof He))return new He(e,t,n,r,i,a);isNaN(e)&&(e=1),isNaN(t)&&(t=0),isNaN(n)&&(n=0),isNaN(r)&&(r=1),isNaN(i)&&(i=0),isNaN(a)&&(a=0),this._matrix=[e,t,n,r,i,a]};Object.defineProperty(He.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(He.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(He.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(He.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(He.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(He.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(He.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(He.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(He.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(He.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(He.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(He.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(He.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(He.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(He.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(He.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),He.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(P).join(e)},He.prototype.multiply=function(e){var t=e.sx*this.sx+e.shy*this.shx,n=e.sx*this.shy+e.shy*this.sy,r=e.shx*this.sx+e.sy*this.shx,i=e.shx*this.shy+e.sy*this.sy,a=e.tx*this.sx+e.ty*this.shx+this.tx,o=e.tx*this.shy+e.ty*this.sy+this.ty;return new He(t,n,r,i,a,o)},He.prototype.decompose=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,a=this.ty,o=Math.sqrt(e*e+t*t),s=(e/=o)*n+(t/=o)*r;n-=e*s,r-=t*s;var l=Math.sqrt(n*n+r*r);return s/=l,e*(r/=l)<t*(n/=l)&&(e=-e,t=-t,s=-s,o=-o),{scale:new He(o,0,0,l,0,0),translate:new He(1,0,0,1,i,a),rotate:new He(e,t,-t,e,0,0),skew:new He(1,0,s,1,0,0)}},He.prototype.toString=function(e){return this.join(" ")},He.prototype.inversed=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,a=this.ty,o=1/(e*r-t*n),s=r*o,l=-t*o,c=-n*o,u=e*o;return new He(s,l,c,u,-s*i-c*a,-l*i-u*a)},He.prototype.applyToPoint=function(e){var t=e.x*this.sx+e.y*this.shx+this.tx,n=e.x*this.shy+e.y*this.sy+this.ty;return new Rn(t,n)},He.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),n=this.applyToPoint(new Rn(e.x+e.w,e.y+e.h));return new Nn(t.x,t.y,n.x-t.x,n.y-t.y)},He.prototype.clone=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,a=this.ty;return new He(e,t,n,r,i,a)},b.Matrix=He;var Ve=b.matrixMult=function(e,t){return t.multiply(e)},qe=new He(1,0,0,1,0,0);b.unitMatrix=b.identityMatrix=qe;var Ge=function(e,t){if(!Be[e]){var n=(t instanceof N?"Sh":"P")+(Object.keys(Ie).length+1).toString(10);t.id=n,Be[e]=n,Ie[n]=t,Me.publish("addPattern",t)}};b.ShadingPattern=N,b.TilingPattern=I,b.addShadingPattern=function(e,t){return L("addShadingPattern()"),Ge(e,t),this},b.beginTilingPattern=function(e){L("beginTilingPattern()"),Bn(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},b.endTilingPattern=function(e,t){L("endTilingPattern()"),t.stream=ie[K].join("\n"),Ge(e,t),Me.publish("endTilingPattern",t),ze.pop().restore()};var Xe=b.__private__.newObject=function(){var e=$e();return Ye(e,!0),e},$e=b.__private__.newObjectDeferred=function(){return Q++,ee[Q]=function(){return ne},Q},Ye=function(e,t){return t="boolean"==typeof t&&t,ee[e]=ne,t&&ce(e+" 0 obj"),e},Ke=b.__private__.newAdditionalObject=function(){var e={objId:$e(),content:""};return re.push(e),e},Je=$e(),Ze=$e(),Qe=b.__private__.decodeColorString=function(e){var t=e.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var n=parseFloat(t[0]);t=[n,n,n,"r"]}for(var r="#",i=0;i<3;i++)r+=("0"+Math.floor(255*parseFloat(t[i])).toString(16)).slice(-2);return r},et=b.__private__.encodeColorString=function(e){var t;"string"==typeof e&&(e={ch1:e});var n=e.ch1,r=e.ch2,i=e.ch3,a=e.ch4,o="draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof n&&"#"!==n.charAt(0)){var s=new u(n);if(s.ok)n=s.toHex();else if(!/^\d*\.?\d*$/.test(n))throw new Error('Invalid color "'+n+'" passed to jsPDF.encodeColorString.')}if("string"==typeof n&&/^#[0-9A-Fa-f]{3}$/.test(n)&&(n="#"+n[1]+n[1]+n[2]+n[2]+n[3]+n[3]),"string"==typeof n&&/^#[0-9A-Fa-f]{6}$/.test(n)){var l=parseInt(n.substr(1),16);n=l>>16&255,r=l>>8&255,i=255&l}if(void 0===r||void 0===a&&n===r&&r===i)if("string"==typeof n)t=n+" "+o[0];else if(2===e.precision)t=D(n/255)+" "+o[0];else t=M(n/255)+" "+o[0];else if(void 0===a||"object"==typeof a){if(a&&!isNaN(a.a)&&0===a.a)return["1.","1.","1.",o[1]].join(" ");if("string"==typeof n)t=[n,r,i,o[1]].join(" ");else if(2===e.precision)t=[D(n/255),D(r/255),D(i/255),o[1]].join(" ");else t=[M(n/255),M(r/255),M(i/255),o[1]].join(" ")}else if("string"==typeof n)t=[n,r,i,a,o[2]].join(" ");else if(2===e.precision)t=[D(n),D(r),D(i),D(a),o[2]].join(" ");else t=[M(n),M(r),M(i),M(a),o[2]].join(" ");return t},tt=b.__private__.getFilters=function(){return f},nt=b.__private__.putStream=function(e){var t=(e=e||{}).data||"",n=e.filters||tt(),r=e.alreadyAppliedFilters||[],i=e.addLength1||!1,a=t.length,o=e.objectId,s=function(e){return e};if(null!==g&&void 0===o)throw new Error("ObjectId must be passed to putStream for file encryption");null!==g&&(s=qt.encryptor(o,0));var l={};!0===n&&(n=["FlateEncode"]);var c=e.additionalKeyValues||[],u=(l=void 0!==B.API.processDataByFilters?B.API.processDataByFilters(t,n):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());if(0!==l.data.length&&(c.push({key:"Length",value:l.data.length}),!0===i&&c.push({key:"Length1",value:a})),0!=u.length)if(u.split("/").length-1==1)c.push({key:"Filter",value:u});else{c.push({key:"Filter",value:"["+u+"]"});for(var f=0;f<c.length;f+=1)if("DecodeParms"===c[f].key){for(var h=[],d=0;d<l.reverseChain.split("/").length-1;d+=1)h.push("null");h.push(c[f].value),c[f].value="["+h.join(" ")+"]"}}ce("<<");for(var p=0;p<c.length;p++)ce("/"+c[p].key+" "+c[p].value);ce(">>"),0!==l.data.length&&(ce("stream"),ce(s(l.data)),ce("endstream"))},rt=b.__private__.putPage=function(e){var t=e.number,n=e.data,r=e.objId,i=e.contentsObjId;Ye(r,!0),ce("<</Type /Page"),ce("/Parent "+e.rootDictionaryObjId+" 0 R"),ce("/Resources "+e.resourceDictionaryObjId+" 0 R"),ce("/MediaBox ["+parseFloat(P(e.mediaBox.bottomLeftX))+" "+parseFloat(P(e.mediaBox.bottomLeftY))+" "+P(e.mediaBox.topRightX)+" "+P(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&ce("/CropBox ["+P(e.cropBox.bottomLeftX)+" "+P(e.cropBox.bottomLeftY)+" "+P(e.cropBox.topRightX)+" "+P(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&ce("/BleedBox ["+P(e.bleedBox.bottomLeftX)+" "+P(e.bleedBox.bottomLeftY)+" "+P(e.bleedBox.topRightX)+" "+P(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&ce("/TrimBox ["+P(e.trimBox.bottomLeftX)+" "+P(e.trimBox.bottomLeftY)+" "+P(e.trimBox.topRightX)+" "+P(e.trimBox.topRightY)+"]"),null!==e.artBox&&ce("/ArtBox ["+P(e.artBox.bottomLeftX)+" "+P(e.artBox.bottomLeftY)+" "+P(e.artBox.topRightX)+" "+P(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&ce("/UserUnit "+e.userUnit),Me.publish("putPage",{objId:r,pageContext:De[t],pageNumber:t,page:n}),ce("/Contents "+i+" 0 R"),ce(">>"),ce("endobj");var a=n.join("\n");return _===E.ADVANCED&&(a+="\nQ"),Ye(i,!0),nt({data:a,filters:tt(),objectId:i}),ce("endobj"),r},it=b.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=Fe;e++)De[e].objId=$e(),De[e].contentsObjId=$e();for(e=1;e<=Fe;e++)n.push(rt({number:e,data:ie[e],objId:De[e].objId,contentsObjId:De[e].contentsObjId,mediaBox:De[e].mediaBox,cropBox:De[e].cropBox,bleedBox:De[e].bleedBox,trimBox:De[e].trimBox,artBox:De[e].artBox,userUnit:De[e].userUnit,rootDictionaryObjId:Je,resourceDictionaryObjId:Ze}));Ye(Je,!0),ce("<</Type /Pages");var r="/Kids [";for(t=0;t<Fe;t++)r+=n[t]+" 0 R ";ce(r+"]"),ce("/Count "+Fe),ce(">>"),ce("endobj"),Me.publish("postPutPages")},at=function(e){var t=function(e,t){return-1!==e.indexOf(" ")?"("+Rt(e,t)+")":Rt(e,t)};Me.publish("putFont",{font:e,out:ce,newObject:Xe,putStream:nt,pdfEscapeWithNeededParanthesis:t}),!0!==e.isAlreadyPutted&&(e.objectNumber=Xe(),ce("<<"),ce("/Type /Font"),ce("/BaseFont /"+t(e.postScriptName)),ce("/Subtype /Type1"),"string"==typeof e.encoding&&ce("/Encoding /"+e.encoding),ce("/FirstChar 32"),ce("/LastChar 255"),ce(">>"),ce("endobj"))},ot=function(){for(var e in Te)Te.hasOwnProperty(e)&&(!1===m||!0===m&&v.hasOwnProperty(e))&&at(Te[e])},st=function(e){e.objectNumber=Xe();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[P(e.x),P(e.y),P(e.x+e.width),P(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"});var n=e.pages[1].join("\n");nt({data:n,additionalKeyValues:t,objectId:e.objectNumber}),ce("endobj")},lt=function(){for(var e in We)We.hasOwnProperty(e)&&st(We[e])},ct=function(e,t){var n,r=[],i=1/(t-1);for(n=0;n<1;n+=i)r.push(n);if(r.push(1),0!=e[0].offset){var a={offset:0,color:e[0].color};e.unshift(a)}if(1!=e[e.length-1].offset){var o={offset:1,color:e[e.length-1].color};e.push(o)}for(var s="",l=0,c=0;c<r.length;c++){for(n=r[c];n>e[l+1].offset;)l++;var u=e[l].offset,f=(n-u)/(e[l+1].offset-u),h=e[l].color,d=e[l+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()},ut=function(e,t){t||(t=21);var n=Xe(),r=ct(e.colors,t),i=[];i.push({key:"FunctionType",value:"0"}),i.push({key:"Domain",value:"[0.0 1.0]"}),i.push({key:"Size",value:"["+t+"]"}),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]"}),nt({data:r,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:n}),ce("endobj"),e.objectNumber=Xe(),ce("<< /ShadingType "+e.type),ce("/ColorSpace /DeviceRGB");var a="/Coords ["+P(parseFloat(e.coords[0]))+" "+P(parseFloat(e.coords[1]))+" ";2===e.type?a+=P(parseFloat(e.coords[2]))+" "+P(parseFloat(e.coords[3])):a+=P(parseFloat(e.coords[2]))+" "+P(parseFloat(e.coords[3]))+" "+P(parseFloat(e.coords[4]))+" "+P(parseFloat(e.coords[5])),ce(a+="]"),e.matrix&&ce("/Matrix ["+e.matrix.toString()+"]"),ce("/Function "+n+" 0 R"),ce("/Extend [true true]"),ce(">>"),ce("endobj")},ft=function(e,t){var n=$e(),r=Xe();t.push({resourcesOid:n,objectOid:r}),e.objectNumber=r;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:"["+e.boundingBox.map(P).join(" ")+"]"}),i.push({key:"XStep",value:P(e.xStep)}),i.push({key:"YStep",value:P(e.yStep)}),i.push({key:"Resources",value:n+" 0 R"}),e.matrix&&i.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),nt({data:e.stream,additionalKeyValues:i,objectId:e.objectNumber}),ce("endobj")},ht=function(e){var t;for(t in Ie)Ie.hasOwnProperty(t)&&(Ie[t]instanceof N?ut(Ie[t]):Ie[t]instanceof I&&ft(Ie[t],e))},dt=function(e){for(var t in e.objectNumber=Xe(),ce("<<"),e)switch(t){case"opacity":ce("/ca "+D(e[t]));break;case"stroke-opacity":ce("/CA "+D(e[t]))}ce(">>"),ce("endobj")},pt=function(){var e;for(e in Oe)Oe.hasOwnProperty(e)&&dt(Oe[e])},gt=function(){for(var e in ce("/XObject <<"),We)We.hasOwnProperty(e)&&We[e].objectNumber>=0&&ce("/"+e+" "+We[e].objectNumber+" 0 R");Me.publish("putXobjectDict"),ce(">>")},mt=function(){qt.oid=Xe(),ce("<<"),ce("/Filter /Standard"),ce("/V "+qt.v),ce("/R "+qt.r),ce("/U <"+qt.toHexString(qt.U)+">"),ce("/O <"+qt.toHexString(qt.O)+">"),ce("/P "+qt.P),ce(">>"),ce("endobj")},vt=function(){for(var e in ce("/Font <<"),Te)Te.hasOwnProperty(e)&&(!1===m||!0===m&&v.hasOwnProperty(e))&&ce("/"+e+" "+Te[e].objectNumber+" 0 R");ce(">>")},bt=function(){if(Object.keys(Ie).length>0){for(var e in ce("/Shading <<"),Ie)Ie.hasOwnProperty(e)&&Ie[e]instanceof N&&Ie[e].objectNumber>=0&&ce("/"+e+" "+Ie[e].objectNumber+" 0 R");Me.publish("putShadingPatternDict"),ce(">>")}},yt=function(e){if(Object.keys(Ie).length>0){for(var t in ce("/Pattern <<"),Ie)Ie.hasOwnProperty(t)&&Ie[t]instanceof b.TilingPattern&&Ie[t].objectNumber>=0&&Ie[t].objectNumber<e&&ce("/"+t+" "+Ie[t].objectNumber+" 0 R");Me.publish("putTilingPatternDict"),ce(">>")}},wt=function(){if(Object.keys(Oe).length>0){var e;for(e in ce("/ExtGState <<"),Oe)Oe.hasOwnProperty(e)&&Oe[e].objectNumber>=0&&ce("/"+e+" "+Oe[e].objectNumber+" 0 R");Me.publish("putGStateDict"),ce(">>")}},St=function(e){Ye(e.resourcesOid,!0),ce("<<"),ce("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),vt(),bt(),yt(e.objectOid),wt(),gt(),ce(">>"),ce("endobj")},xt=function(){var e=[];ot(),pt(),lt(),ht(e),Me.publish("putResources"),e.forEach(St),St({resourcesOid:Ze,objectOid:Number.MAX_SAFE_INTEGER}),Me.publish("postPutResources")},Et=function(){Me.publish("putAdditionalObjects");for(var e=0;e<re.length;e++){var t=re[e];Ye(t.objId,!0),ce(t.content),ce("endobj")}Me.publish("postPutAdditionalObjects")},_t=function(e){Re[e.fontName]=Re[e.fontName]||{},Re[e.fontName][e.fontStyle]=e.id},At=function(e,t,n,r,i){var a={id:"F"+(Object.keys(Te).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:n,encoding:r,isStandardFont:i||!1,metadata:{}};return Me.publish("addFont",{font:a,instance:this}),Te[a.id]=a,_t(a),a.id},Ct=function(e){for(var t=0,n=he.length;t<n;t++){var r=At.call(this,e[t][0],e[t][1],e[t][2],he[t][3],!0);!1===m&&(v[r]=!0);var i=e[t][0].split("-");_t({id:r,fontName:i[0],fontStyle:i[1]||""})}Me.publish("addFonts",{fonts:Te,dictionary:Re})},kt=function(e){return e.foo=function(){try{return e.apply(this,arguments)}catch(e){var n=e.stack||"";~n.indexOf(" at ")&&(n=n.split(" at ")[1]);var r="Error in function "+n.split("\n")[0].split("<")[0]+": "+e.message;if(!t.console)throw new Error(r);t.console.error(r,e),t.alert&&alert(r)}},e.foo.bar=e,e.foo},Tt=function(e,t){var n,r,i,a,o,s,l,c,u;if(i=(t=t||{}).sourceEncoding||"Unicode",o=t.outputEncoding,(t.autoencode||o)&&Te[Ee].metadata&&Te[Ee].metadata[i]&&Te[Ee].metadata[i].encoding&&(a=Te[Ee].metadata[i].encoding,!o&&Te[Ee].encoding&&(o=Te[Ee].encoding),!o&&a.codePages&&(o=a.codePages[0]),"string"==typeof o&&(o=a[o]),o)){for(l=!1,s=[],n=0,r=e.length;n<r;n++)(c=o[e.charCodeAt(n)])?s.push(String.fromCharCode(c)):s.push(e[n]),s[n].charCodeAt(0)>>8&&(l=!0);e=s.join("")}for(n=e.length;void 0===l&&0!==n;)e.charCodeAt(n-1)>>8&&(l=!0),n--;if(!l)return e;for(s=t.noBOM?[]:[254,255],n=0,r=e.length;n<r;n++){if((u=(c=e.charCodeAt(n))>>8)>>8)throw new Error("Character at position "+n+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(u),s.push(c-(u<<8))}return String.fromCharCode.apply(void 0,s)},Rt=b.__private__.pdfEscape=b.pdfEscape=function(e,t){return Tt(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Nt=b.__private__.beginPage=function(e){ie[++Fe]=[],De[Fe]={objId:0,contentsObjId:0,userUnit:Number(h),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},Ot(Fe),le(ie[K])},It=function(e,t){var n,a,s;switch(i=t||i,"string"==typeof e&&(n=x(e.toLowerCase()),Array.isArray(n)&&(a=n[0],s=n[1])),Array.isArray(e)&&(a=e[0]*_e,s=e[1]*_e),isNaN(a)&&(a=o[0],s=o[1]),(a>14400||s>14400)&&(r.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),a=Math.min(14400,a),s=Math.min(14400,s)),o=[a,s],i.substr(0,1)){case"l":s>a&&(o=[s,a]);break;case"p":a>s&&(o=[s,a])}Nt(o),hn(fn),ce(wn),0!==Cn&&ce(Cn+" J"),0!==kn&&ce(kn+" j"),Me.publish("addPage",{pageNumber:Fe})},Bt=function(e){e>0&&e<=Fe&&(ie.splice(e,1),De.splice(e,1),Fe--,K>Fe&&(K=Fe),this.setPage(K))},Ot=function(e){e>0&&e<=Fe&&(K=e)},Pt=b.__private__.getNumberOfPages=b.getNumberOfPages=function(){return ie.length-1},Lt=function(e,t,n){var i,a=void 0;return n=n||{},e=void 0!==e?e:Te[Ee].fontName,t=void 0!==t?t:Te[Ee].fontStyle,i=e.toLowerCase(),void 0!==Re[i]&&void 0!==Re[i][t]?a=Re[i][t]:void 0!==Re[e]&&void 0!==Re[e][t]?a=Re[e][t]:!1===n.disableWarning&&r.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),a||n.noFallback||null==(a=Re.times[t])&&(a=Re.times.normal),a},Ft=b.__private__.putInfo=function(){var e=Xe(),t=function(e){return e};for(var n in null!==g&&(t=qt.encryptor(e,0)),ce("<<"),ce("/Producer ("+Rt(t("jsPDF "+B.version))+")"),xe)xe.hasOwnProperty(n)&&xe[n]&&ce("/"+n.substr(0,1).toUpperCase()+n.substr(1)+" ("+Rt(t(xe[n]))+")");ce("/CreationDate ("+Rt(t(z))+")"),ce(">>"),ce("endobj")},Dt=b.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||Je;switch(Xe(),ce("<<"),ce("/Type /Catalog"),ce("/Pages "+t+" 0 R"),pe||(pe="fullwidth"),pe){case"fullwidth":ce("/OpenAction [3 0 R /FitH null]");break;case"fullheight":ce("/OpenAction [3 0 R /FitV null]");break;case"fullpage":ce("/OpenAction [3 0 R /Fit]");break;case"original":ce("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+pe;"%"===n.substr(n.length-1)&&(pe=parseInt(pe)/100),"number"==typeof pe&&ce("/OpenAction [3 0 R /XYZ null null "+D(pe)+"]")}switch(ye||(ye="continuous"),ye){case"continuous":ce("/PageLayout /OneColumn");break;case"single":ce("/PageLayout /SinglePage");break;case"two":case"twoleft":ce("/PageLayout /TwoColumnLeft");break;case"tworight":ce("/PageLayout /TwoColumnRight")}ve&&ce("/PageMode /"+ve),Me.publish("putCatalog"),ce(">>"),ce("endobj")},Mt=b.__private__.putTrailer=function(){ce("trailer"),ce("<<"),ce("/Size "+(Q+1)),ce("/Root "+Q+" 0 R"),ce("/Info "+(Q-1)+" 0 R"),null!==g&&ce("/Encrypt "+qt.oid+" 0 R"),ce("/ID [ <"+H+"> <"+H+"> ]"),ce(">>")},jt=b.__private__.putHeader=function(){ce("%PDF-"+y),ce("%ºß¬à")},Wt=b.__private__.putXRef=function(){var e="0000000000";ce("xref"),ce("0 "+(Q+1)),ce("0000000000 65535 f ");for(var t=1;t<=Q;t++)"function"==typeof ee[t]?ce((e+ee[t]()).slice(-10)+" 00000 n "):void 0!==ee[t]?ce((e+ee[t]).slice(-10)+" 00000 n "):ce("0000000000 00000 n ")},Ut=b.__private__.buildDocument=function(){se(),le(te),Me.publish("buildDocument"),jt(),it(),Et(),xt(),null!==g&&mt(),Ft(),Dt();var e=ne;return Wt(),Mt(),ce("startxref"),ce(""+e),ce("%%EOF"),le(ie[K]),te.join("\n")},zt=b.__private__.getBlob=function(e){return new Blob([fe(e)],{type:"application/pdf"})},Ht=b.output=b.__private__.output=kt((function(e,n){switch("string"==typeof(n=n||{})?n={filename:n}:n.filename=n.filename||"generated.pdf",e){case void 0:return Ut();case"save":b.save(n.filename);break;case"arraybuffer":return fe(Ut());case"blob":return zt(Ut());case"bloburi":case"bloburl":if(void 0!==t.URL&&"function"==typeof t.URL.createObjectURL)return t.URL&&t.URL.createObjectURL(zt(Ut()))||void 0;r.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var i="",a=Ut();try{i=l(a)}catch(e){i=l(unescape(encodeURIComponent(a)))}return"data:application/pdf;filename="+n.filename+";base64,"+i;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(t)){var o='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+(n.pdfObjectUrl||"https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js")+'"><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(n)+");<\/script></body></html>",s=t.open();return null!==s&&s.document.write(o),s}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(t)){var c='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(n.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+n.filename+'" width="500px" height="400px" /></body></html>',u=t.open();if(null!==u){u.document.write(c);var f=this;u.document.documentElement.querySelector("#pdfViewer").onload=function(){u.document.title=n.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(t))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",n)+'"></iframe></body></html>',d=t.open();if(null!==d&&(d.document.write(h),d.document.title=n.filename),d||"undefined"==typeof safari)return d;break;case"datauri":case"dataurl":return t.document.location.href=this.output("datauristring",n);default:return null}})),Vt=function(e){return!0===Array.isArray(je)&&je.indexOf(e)>-1};switch(a){case"pt":_e=1;break;case"mm":_e=72/25.4;break;case"cm":_e=72/2.54;break;case"in":_e=72;break;case"px":_e=1==Vt("px_scaling")?.75:96/72;break;case"pc":case"em":_e=12;break;case"ex":_e=6;break;default:throw new Error("Invalid unit: "+a)}var qt=null;$(),q();var Gt=function(e){return null!==g?qt.encryptor(e,0):function(e){return e}},Xt=b.__private__.getPageInfo=b.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:De[e].objId,pageNumber:e,pageContext:De[e]}},$t=b.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in De)if(De[t].objId===e)break;return Xt(t)},Yt=b.__private__.getCurrentPageInfo=b.getCurrentPageInfo=function(){return{objId:De[K].objId,pageNumber:K,pageContext:De[K]}};b.addPage=function(){return It.apply(this,arguments),this},b.setPage=function(){return Ot.apply(this,arguments),le.call(this,ie[K]),this},b.insertPage=function(e){return this.addPage(),this.movePage(K,e),this},b.movePage=function(e,t){var n,r;if(e>t){n=ie[e],r=De[e];for(var i=e;i>t;i--)ie[i]=ie[i-1],De[i]=De[i-1];ie[t]=n,De[t]=r,this.setPage(t)}else if(e<t){n=ie[e],r=De[e];for(var a=e;a<t;a++)ie[a]=ie[a+1],De[a]=De[a+1];ie[t]=n,De[t]=r,this.setPage(t)}return this},b.deletePage=function(){return Bt.apply(this,arguments),this},b.__private__.text=b.text=function(e,t,n,r,i){var a,o,s,l,c,u,f,h,d=(r=r||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof n||Array.isArray(n))){var p=n;n=t,t=e,e=p}if(arguments[3]instanceof He==0?(s=arguments[4],l=arguments[5],"object"==typeof(f=arguments[3])&&null!==f||("string"==typeof s&&(l=s,s=null),"string"==typeof f&&(l=f,f=null),"number"==typeof f&&(s=f,f=null),r={flags:f,angle:s,align:l})):(L("The transform parameter of text() with a Matrix value"),h=i),isNaN(t)||isNaN(n)||null==e)throw new Error("Invalid arguments passed to jsPDF.text");if(0===e.length)return d;var g="",m=!1,b="number"==typeof r.lineHeightFactor?r.lineHeightFactor:un,y=d.internal.scaleFactor;function w(e){return e=e.split("\t").join(Array(r.TabLen||9).join(" ")),Rt(e,f)}function S(e){for(var t,n=e.concat(),r=[],i=n.length;i--;)"string"==typeof(t=n.shift())?r.push(t):Array.isArray(e)&&(1===t.length||void 0===t[1]&&void 0===t[2])?r.push(t[0]):r.push([t[0],t[1],t[2]]);return r}function x(e,t){var n;if("string"==typeof e)n=t(e)[0];else if(Array.isArray(e)){for(var r,i,a=e.concat(),o=[],s=a.length;s--;)"string"==typeof(r=a.shift())?o.push(t(r)[0]):Array.isArray(r)&&"string"==typeof r[0]&&(i=t(r[0],r[1],r[2]),o.push([i[0],i[1],i[2]]));n=o}return n}var A=!1,C=!0;if("string"==typeof e)A=!0;else if(Array.isArray(e)){var k=e.concat();o=[];for(var T,R=k.length;R--;)("string"!=typeof(T=k.shift())||Array.isArray(T)&&"string"!=typeof T[0])&&(C=!1);A=C}if(!1===A)throw new Error('Type of text must be string or Array. "'+e+'" is not recognized.');"string"==typeof e&&(e=e.match(/[\r?\n]/)?e.split(/\r\n|\r|\n/g):[e]);var N=de/d.internal.scaleFactor,I=N*(un-1);switch(r.baseline){case"bottom":n-=I;break;case"top":n+=N-I;break;case"hanging":n+=N-2*I;break;case"middle":n+=N/2-I}if((u=r.maxWidth||0)>0&&("string"==typeof e?e=d.splitTextToSize(e,u):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(d.splitTextToSize(t,u))}),[]))),a={text:e,x:t,y:n,options:r,mutex:{pdfEscape:Rt,activeFontKey:Ee,fonts:Te,activeFontSize:de}},Me.publish("preProcessText",a),e=a.text,s=(r=a.options).angle,h instanceof He==0&&s&&"number"==typeof s){s*=Math.PI/180,0===r.rotationDirection&&(s=-s),_===E.ADVANCED&&(s=-s);var B=Math.cos(s),O=Math.sin(s);h=new He(B,O,-O,B,0,0)}else s&&s instanceof He&&(h=s);_!==E.ADVANCED||h||(h=qe),void 0!==(c=r.charSpace||_n)&&(g+=P(j(c))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),r.lang;var F=-1,D=void 0!==r.renderingMode?r.renderingMode:r.stroke,M=d.internal.getCurrentPageInfo().pageContext;switch(D){case 0:case!1:case"fill":F=0;break;case 1:case!0:case"stroke":F=1;break;case 2:case"fillThenStroke":F=2;break;case 3:case"invisible":F=3;break;case 4:case"fillAndAddForClipping":F=4;break;case 5:case"strokeAndAddPathForClipping":F=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":F=6;break;case 7:case"addToPathForClipping":F=7}var W=void 0!==M.usedRenderingMode?M.usedRenderingMode:-1;-1!==F?g+=F+" Tr\n":-1!==W&&(g+="0 Tr\n"),-1!==F&&(M.usedRenderingMode=F),l=r.align||"left";var U,z=de*b,H=d.internal.pageSize.getWidth(),V=Te[Ee];c=r.charSpace||_n,u=r.maxWidth||0,f=Object.assign({autoencode:!0,noBOM:!0},r.flags);var q=[];if("[object Array]"===Object.prototype.toString.call(e)){var G;o=S(e),"left"!==l&&(U=o.map((function(e){return d.getStringUnitWidth(e,{font:V,charSpace:c,fontSize:de,doKerning:!1})*de/y})));var X,$=0;if("right"===l){t-=U[0],e=[],R=o.length;for(var Y=0;Y<R;Y++)0===Y?(X=mn(t),G=vn(n)):(X=j($-U[Y]),G=-z),e.push([o[Y],X,G]),$=U[Y]}else if("center"===l){t-=U[0]/2,e=[],R=o.length;for(var K=0;K<R;K++)0===K?(X=mn(t),G=vn(n)):(X=j(($-U[K])/2),G=-z),e.push([o[K],X,G]),$=U[K]}else if("left"===l){e=[],R=o.length;for(var J=0;J<R;J++)e.push(o[J])}else{if("justify"!==l)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');e=[],R=o.length,u=0!==u?u:H;for(var Z=0;Z<R;Z++)G=0===Z?vn(n):-z,X=0===Z?mn(t):0,Z<R-1&&q.push(P(j((u-U[Z])/(o[Z].split(" ").length-1)))),e.push([o[Z],X,G])}}var Q="boolean"==typeof r.R2L?r.R2L:me;!0===Q&&(e=x(e,(function(e,t,n){return[e.split("").reverse().join(""),t,n]}))),a={text:e,x:t,y:n,options:r,mutex:{pdfEscape:Rt,activeFontKey:Ee,fonts:Te,activeFontSize:de}},Me.publish("postProcessText",a),e=a.text,m=a.mutex.isHex||!1;var ee=Te[Ee].encoding;"WinAnsiEncoding"!==ee&&"StandardEncoding"!==ee||(e=x(e,(function(e,t,n){return[w(e),t,n]}))),o=S(e),e=[];for(var te,ne,re,ie=0,ae=1,oe=Array.isArray(o[0])?ae:ie,se="",le=function(e,t,n){var i="";return n instanceof He?(n="number"==typeof r.angle?Ve(n,new He(1,0,0,1,e,t)):Ve(new He(1,0,0,1,e,t),n),_===E.ADVANCED&&(n=Ve(new He(1,0,0,-1,0,0),n)),i=n.join(" ")+" Tm\n"):i=P(e)+" "+P(t)+" Td\n",i},ue=0;ue<o.length;ue++){switch(se="",oe){case ae:re=(m?"<":"(")+o[ue][0]+(m?">":")"),te=parseFloat(o[ue][1]),ne=parseFloat(o[ue][2]);break;case ie:re=(m?"<":"(")+o[ue]+(m?">":")"),te=mn(t),ne=vn(n)}void 0!==q&&void 0!==q[ue]&&(se=q[ue]+" Tw\n"),0===ue?e.push(se+le(te,ne,h)+re):oe===ie?e.push(se+re):oe===ae&&e.push(se+le(te,ne,h)+re)}e=oe===ie?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var fe="BT\n/";return fe+=Ee+" "+de+" Tf\n",fe+=P(de*b)+" TL\n",fe+=xn+"\n",fe+=g,fe+=e,ce(fe+="ET"),v[Ee]=!0,d};var Kt=b.__private__.clip=b.clip=function(e){return ce("evenodd"===e?"W*":"W"),this};b.clipEvenOdd=function(){return Kt("evenodd")},b.__private__.discardPath=b.discardPath=function(){return ce("n"),this};var Jt=b.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(e)&&(t=!0),t};b.__private__.setDefaultPathOperation=b.setDefaultPathOperation=function(e){return Jt(e)&&(p=e),this};var Zt=b.__private__.getStyle=b.getStyle=function(e){var t=p;switch(e){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=e}return t},Qt=b.close=function(){return ce("h"),this};b.stroke=function(){return ce("S"),this},b.fill=function(e){return en("f",e),this},b.fillEvenOdd=function(e){return en("f*",e),this},b.fillStroke=function(e){return en("B",e),this},b.fillStrokeEvenOdd=function(e){return en("B*",e),this};var en=function(e,t){"object"==typeof t?rn(t,e):ce(e)},tn=function(e){null===e||_===E.ADVANCED&&void 0===e||(e=Zt(e),ce(e))};function nn(e,t,n,r,i){var a=new I(t||this.boundingBox,n||this.xStep,r||this.yStep,this.gState,i||this.matrix);a.stream=this.stream;var o=e+"$$"+this.cloneIndex+++"$$";return Ge(o,a),a}var rn=function(e,t){var n=Be[e.key],r=Ie[n];if(r instanceof N)ce("q"),ce(an(t)),r.gState&&b.setGState(r.gState),ce(e.matrix.toString()+" cm"),ce("/"+n+" sh"),ce("Q");else if(r instanceof I){var i=new He(1,0,0,-1,0,Dn());e.matrix&&(i=i.multiply(e.matrix||qe),n=nn.call(r,e.key,e.boundingBox,e.xStep,e.yStep,i).id),ce("q"),ce("/Pattern cs"),ce("/"+n+" scn"),r.gState&&b.setGState(r.gState),ce(t),ce("Q")}},an=function(e){switch(e){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"}},on=b.moveTo=function(e,t){return ce(P(j(e))+" "+P(U(t))+" m"),this},sn=b.lineTo=function(e,t){return ce(P(j(e))+" "+P(U(t))+" l"),this},ln=b.curveTo=function(e,t,n,r,i,a){return ce([P(j(e)),P(U(t)),P(j(n)),P(U(r)),P(j(i)),P(U(a)),"c"].join(" ")),this};b.__private__.line=b.line=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Jt(i))throw new Error("Invalid arguments passed to jsPDF.line");return _===E.COMPAT?this.lines([[n-e,r-t]],e,t,[1,1],i||"S"):this.lines([[n-e,r-t]],e,t,[1,1]).stroke()},b.__private__.lines=b.lines=function(e,t,n,r,i,a){var o,s,l,c,u,f,h,d,p,g,m,v;if("number"==typeof e&&(v=n,n=t,t=e,e=v),r=r||[1,1],a=a||!1,isNaN(t)||isNaN(n)||!Array.isArray(e)||!Array.isArray(r)||!Jt(i)||"boolean"!=typeof a)throw new Error("Invalid arguments passed to jsPDF.lines");for(on(t,n),o=r[0],s=r[1],c=e.length,g=t,m=n,l=0;l<c;l++)2===(u=e[l]).length?(g=u[0]*o+g,m=u[1]*s+m,sn(g,m)):(f=u[0]*o+g,h=u[1]*s+m,d=u[2]*o+g,p=u[3]*s+m,g=u[4]*o+g,m=u[5]*s+m,ln(f,h,d,p,g,m));return a&&Qt(),tn(i),this},b.path=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=n.c;switch(n.op){case"m":on(r[0],r[1]);break;case"l":sn(r[0],r[1]);break;case"c":ln.apply(this,r);break;case"h":Qt()}}return this},b.__private__.rect=b.rect=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Jt(i))throw new Error("Invalid arguments passed to jsPDF.rect");return _===E.COMPAT&&(r=-r),ce([P(j(e)),P(U(t)),P(j(n)),P(j(r)),"re"].join(" ")),tn(i),this},b.__private__.triangle=b.triangle=function(e,t,n,r,i,a,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(a)||!Jt(o))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[n-e,r-t],[i-n,a-r],[e-i,t-a]],e,t,[1,1],o,!0),this},b.__private__.roundedRect=b.roundedRect=function(e,t,n,r,i,a,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(a)||!Jt(o))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return i=Math.min(i,.5*n),a=Math.min(a,.5*r),this.lines([[n-2*i,0],[i*s,0,i,a-a*s,i,a],[0,r-2*a],[0,a*s,-i*s,a,-i,a],[2*i-n,0],[-i*s,0,-i,-a*s,-i,-a],[0,2*a-r],[0,-a*s,i*s,-a,i,-a]],e+i,t,[1,1],o,!0),this},b.__private__.ellipse=b.ellipse=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Jt(i))throw new Error("Invalid arguments passed to jsPDF.ellipse");var a=4/3*(Math.SQRT2-1)*n,o=4/3*(Math.SQRT2-1)*r;return on(e+n,t),ln(e+n,t-o,e+a,t-r,e,t-r),ln(e-a,t-r,e-n,t-o,e-n,t),ln(e-n,t+o,e-a,t+r,e,t+r),ln(e+a,t+r,e+n,t+o,e+n,t),tn(i),this},b.__private__.circle=b.circle=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||!Jt(r))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,n,n,r)},b.setFont=function(e,t,n){return n&&(t=O(t,n)),Ee=Lt(e,t,{disableWarning:!1}),this};var cn=b.__private__.getFont=b.getFont=function(){return Te[Lt.apply(b,arguments)]};b.__private__.getFontList=b.getFontList=function(){var e,t,n={};for(e in Re)if(Re.hasOwnProperty(e))for(t in n[e]=[],Re[e])Re[e].hasOwnProperty(t)&&n[e].push(t);return n},b.addFont=function(e,t,n,r,i){var a=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==a.indexOf(arguments[3])?i=arguments[3]:arguments[3]&&-1==a.indexOf(arguments[3])&&(n=O(n,r)),i=i||"Identity-H",At.call(this,e,t,n,i)};var un,fn=e.lineWidth||.200025,hn=b.__private__.setLineWidth=b.setLineWidth=function(e){return ce(P(j(e))+" w"),this};b.__private__.setLineDash=B.API.setLineDash=B.API.setLineDashPattern=function(e,t){if(e=e||[],t=t||0,isNaN(t)||!Array.isArray(e))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return e=e.map((function(e){return P(j(e))})).join(" "),t=P(j(t)),ce("["+e+"] "+t+" d"),this};var dn=b.__private__.getLineHeight=b.getLineHeight=function(){return de*un};b.__private__.getLineHeight=b.getLineHeight=function(){return de*un};var pn=b.__private__.setLineHeightFactor=b.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(un=e),this},gn=b.__private__.getLineHeightFactor=b.getLineHeightFactor=function(){return un};pn(e.lineHeight);var mn=b.__private__.getHorizontalCoordinate=function(e){return j(e)},vn=b.__private__.getVerticalCoordinate=function(e){return _===E.ADVANCED?e:De[K].mediaBox.topRightY-De[K].mediaBox.bottomLeftY-j(e)},bn=b.__private__.getHorizontalCoordinateString=b.getHorizontalCoordinateString=function(e){return P(mn(e))},yn=b.__private__.getVerticalCoordinateString=b.getVerticalCoordinateString=function(e){return P(vn(e))},wn=e.strokeColor||"0 G";b.__private__.getStrokeColor=b.getDrawColor=function(){return Qe(wn)},b.__private__.setStrokeColor=b.setDrawColor=function(e,t,n,r){return wn=et({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"draw",precision:2}),ce(wn),this};var Sn=e.fillColor||"0 g";b.__private__.getFillColor=b.getFillColor=function(){return Qe(Sn)},b.__private__.setFillColor=b.setFillColor=function(e,t,n,r){return Sn=et({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"fill",precision:2}),ce(Sn),this};var xn=e.textColor||"0 g",En=b.__private__.getTextColor=b.getTextColor=function(){return Qe(xn)};b.__private__.setTextColor=b.setTextColor=function(e,t,n,r){return xn=et({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"text",precision:3}),this};var _n=e.charSpace,An=b.__private__.getCharSpace=b.getCharSpace=function(){return parseFloat(_n||0)};b.__private__.setCharSpace=b.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return _n=e,this};var Cn=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(e){var t=b.CapJoinStyles[e];if(void 0===t)throw new Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Cn=t,ce(t+" J"),this};var kn=0;b.__private__.setLineJoin=b.setLineJoin=function(e){var t=b.CapJoinStyles[e];if(void 0===t)throw new Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return kn=t,ce(t+" j"),this},b.__private__.setLineMiterLimit=b.__private__.setMiterLimit=b.setLineMiterLimit=b.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return ce(P(j(e))+" M"),this},b.GState=T,b.setGState=function(e){(e="string"==typeof e?Oe[Pe[e]]:Tn(null,e)).equals(Le)||(ce("/"+e.id+" gs"),Le=e)};var Tn=function(e,t){if(!e||!Pe[e]){var n=!1;for(var r in Oe)if(Oe.hasOwnProperty(r)&&Oe[r].equals(t)){n=!0;break}if(n)t=Oe[r];else{var i="GS"+(Object.keys(Oe).length+1).toString(10);Oe[i]=t,t.id=i}return e&&(Pe[e]=t.id),Me.publish("addGState",t),t}};b.addGState=function(e,t){return Tn(e,t),this},b.saveGraphicsState=function(){return ce("q"),Ne.push({key:Ee,size:de,color:xn}),this},b.restoreGraphicsState=function(){ce("Q");var e=Ne.pop();return Ee=e.key,de=e.size,xn=e.color,Le=null,this},b.setCurrentTransformationMatrix=function(e){return ce(e.toString()+" cm"),this},b.comment=function(e){return ce("#"+e),this};var Rn=function(e,t){var n=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var r=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}});var i="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return i},set:function(e){i=e.toString()}}),this},Nn=function(e,t,n,r){Rn.call(this,e,t),this.type="rect";var i=n||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return i},set:function(e){isNaN(e)||(i=parseFloat(e))}});var a=r||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return a},set:function(e){isNaN(e)||(a=parseFloat(e))}}),this},In=function(){this.page=Fe,this.currentPage=K,this.pages=ie.slice(0),this.pagesContext=De.slice(0),this.x=Ae,this.y=Ce,this.matrix=ke,this.width=Ln(K),this.height=Dn(K),this.outputDestination=oe,this.id="",this.objectNumber=-1};In.prototype.restore=function(){Fe=this.page,K=this.currentPage,De=this.pagesContext,ie=this.pages,Ae=this.x,Ce=this.y,ke=this.matrix,Fn(K,this.width),Mn(K,this.height),oe=this.outputDestination};var Bn=function(e,t,n,r,i){ze.push(new In),Fe=K=0,ie=[],Ae=e,Ce=t,ke=i,Nt([n,r])},On=function(e){if(!Ue[e]){var t=new In,n="Xo"+(Object.keys(We).length+1).toString(10);t.id=n,Ue[e]=n,We[n]=t,Me.publish("addFormObject",t),ze.pop().restore()}};for(var Pn in b.beginFormObject=function(e,t,n,r,i){return Bn(e,t,n,r,i),this},b.endFormObject=function(e){return On(e),this},b.doFormObject=function(e,t){var n=We[Ue[e]];return ce("q"),ce(t.toString()+" cm"),ce("/"+n.id+" Do"),ce("Q"),this},b.getFormObject=function(e){var t=We[Ue[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},b.save=function(e,n){return e=e||"generated.pdf",(n=n||{}).returnPromise=n.returnPromise||!1,!1===n.returnPromise?(c(zt(Ut()),e),"function"==typeof c.unload&&t.setTimeout&&setTimeout(c.unload,911),this):new Promise((function(n,r){try{var i=c(zt(Ut()),e);"function"==typeof c.unload&&t.setTimeout&&setTimeout(c.unload,911),n(i)}catch(e){r(e.message)}}))},B.API)B.API.hasOwnProperty(Pn)&&("events"===Pn&&B.API.events.length?function(e,t){var n,r,i;for(i=t.length-1;-1!==i;i--)n=t[i][0],r=t[i][1],e.subscribe.apply(e,[n].concat("function"==typeof r?[r]:r))}(Me,B.API.events):b[Pn]=B.API[Pn]);var Ln=b.getPageWidth=function(e){return(De[e=e||K].mediaBox.topRightX-De[e].mediaBox.bottomLeftX)/_e},Fn=b.setPageWidth=function(e,t){De[e].mediaBox.topRightX=t*_e+De[e].mediaBox.bottomLeftX},Dn=b.getPageHeight=function(e){return(De[e=e||K].mediaBox.topRightY-De[e].mediaBox.bottomLeftY)/_e},Mn=b.setPageHeight=function(e,t){De[e].mediaBox.topRightY=t*_e+De[e].mediaBox.bottomLeftY};return b.internal={pdfEscape:Rt,getStyle:Zt,getFont:cn,getFontSize:ge,getCharSpace:An,getTextColor:En,getLineHeight:dn,getLineHeightFactor:gn,write:ue,getHorizontalCoordinate:mn,getVerticalCoordinate:vn,getCoordinateString:bn,getVerticalCoordinateString:yn,collections:{},newObject:Xe,newAdditionalObject:Ke,newObjectDeferred:$e,newObjectDeferredBegin:Ye,getFilters:tt,putStream:nt,events:Me,scaleFactor:_e,pageSize:{getWidth:function(){return Ln(K)},setWidth:function(e){Fn(K,e)},getHeight:function(){return Dn(K)},setHeight:function(e){Mn(K,e)}},encryptionOptions:g,encryption:qt,getEncryptor:Gt,output:Ht,getNumberOfPages:Pt,pages:ie,out:ce,f2:D,f3:M,getPageInfo:Xt,getPageInfoByObjId:$t,getCurrentPageInfo:Yt,getPDFVersion:w,Point:Rn,Rectangle:Nn,Matrix:He,hasHotfix:Vt},Object.defineProperty(b.internal.pageSize,"width",{get:function(){return Ln(K)},set:function(e){Fn(K,e)},enumerable:!0,configurable:!0}),Object.defineProperty(b.internal.pageSize,"height",{get:function(){return Dn(K)},set:function(e){Mn(K,e)},enumerable:!0,configurable:!0}),Ct.call(b,he),Ee="F1",It(o,i),Me.publish("initialized"),b}C.prototype.lsbFirstWord=function(e){return String.fromCharCode(e>>0&255,e>>8&255,e>>16&255,e>>24&255)},C.prototype.toHexString=function(e){return e.split("").map((function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)})).join("")},C.prototype.hexToBytes=function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(String.fromCharCode(parseInt(e.substr(n,2),16)));return t.join("")},C.prototype.processOwnerPassword=function(e,t){return _(x(t).substr(0,5),e)},C.prototype.encryptor=function(e,t){let n=x(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(e){return _(n,e)}},T.prototype.equals=function(e){var t,n="id,objectNumber,equals";if(!e||typeof e!=typeof this)return!1;var r=0;for(t in this)if(!(n.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t))return!1;if(this[t]!==e[t])return!1;r++}for(t in e)e.hasOwnProperty(t)&&n.indexOf(t)<0&&r--;return 0===r},B.API={events:[]},B.version="2.3.1";var O=B.API,P=1,L=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},F=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},D=function(e){return e.toFixed(2)},M=function(e){return e.toFixed(5)};O.__acroform__={};var j=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},W=function(e){return e*P},U=function(e){var t=new re,n=ve.internal.getHeight(e)||0,r=ve.internal.getWidth(e)||0;return t.BBox=[0,0,Number(D(r)),Number(D(n))],t},z=O.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<t},H=O.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},V=O.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(e&1<<t)?0:1},q=O.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return V(e,t-1)},G=O.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return z(e,t-1)},X=O.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return H(e,t-1)},$=O.__acroform__.calculateCoordinates=function(e,t){var n=t.internal.getHorizontalCoordinate,r=t.internal.getVerticalCoordinate,i=e[0],a=e[1],o=e[2],s=e[3],l={};return l.lowerLeft_X=n(i)||0,l.lowerLeft_Y=r(a+s)||0,l.upperRight_X=n(i+o)||0,l.upperRight_Y=r(a)||0,[Number(D(l.lowerLeft_X)),Number(D(l.lowerLeft_Y)),Number(D(l.upperRight_X)),Number(D(l.upperRight_Y))]},Y=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e._V||e.DV,r=K(e,n),i=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+i+" "+D(r.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(r.text),t.push("ET"),t.push("Q"),t.push("EMC");var a=U(e);return a.scope=e.scope,a.stream=t.join("\n"),a}},K=function(e,t){var n=0===e.fontSize?e.maxFontSize:e.fontSize,r={text:"",fontSize:""},i=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" "),a=n,o=ve.internal.getHeight(e)||0;o=o<0?-o:o;var s=ve.internal.getWidth(e)||0;s=s<0?-s:s;var l=function(t,n,r){if(t+1<i.length){var a=n+" "+i[t+1];return J(a,e,r).width<=s-4}return!1};a++;e:for(;a>0;){t="",a--;var c,u,f=J("3",e,a).height,h=e.multiline?o-a:(o-f)/2,d=h+=2,p=0,g=0;if(a<=0){t="(...) Tj\n",t+="% Width of Text: "+J(t,e,a=12).width+", FieldWidth:"+s+"\n";break}var m="",v=0;for(var b in i)if(i.hasOwnProperty(b)){m=" "==(m+=i[b]+" ").substr(m.length-1)?m.substr(0,m.length-1):m;var y=parseInt(b),w=l(y,m,a),S=b>=i.length-1;if(w&&!S){m+=" ";continue}if(w||S){if(S)g=y;else if(e.multiline&&(f+2)*(v+2)+2>o)continue e}else{if(!e.multiline)continue e;if((f+2)*(v+2)+2>o)continue e;g=y}for(var x="",E=p;E<=g;E++)x+=i[E]+" ";switch(x=" "==x.substr(x.length-1)?x.substr(0,x.length-1):x,u=J(x,e,a).width,e.textAlign){case"right":c=s-u-2;break;case"center":c=(s-u)/2;break;default:c=2}t+=D(c)+" "+D(d)+" Td\n",t+="("+L(x)+") Tj\n",t+=-D(c)+" 0 Td\n",d=-(a+2),u=0,p=g+1,v++,m=""}break}return r.text=t,r.fontSize=a,r},J=function(e,t,n){var r=t.scope.internal.getFont(t.fontName,t.fontStyle),i=t.scope.getStringUnitWidth(e,{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:t.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:i}},Z={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Q=function(e,t){var n={type:"reference",object:e};void 0===t.internal.getPageInfo(e.page).pageContext.annotations.find((function(e){return e.type===n.type&&e.object===n.object}))&&t.internal.getPageInfo(e.page).pageContext.annotations.push(n)},ee=O.__acroform__.arrayToPdfArray=function(e,t,n){var r=function(e){return e};if(Array.isArray(e)){for(var i="[",a=0;a<e.length;a++)switch(0!==a&&(i+=" "),typeof e[a]){case"boolean":case"number":case"object":i+=e[a].toString();break;case"string":"/"!==e[a].substr(0,1)?(void 0!==t&&n&&(r=n.internal.getEncryptor(t)),i+="("+L(r(e[a].toString()))+")"):i+=e[a].toString()}return i+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},te=function(e,t,n){var r=function(e){return e};return void 0!==t&&n&&(r=n.internal.getEncryptor(t)),(e=e||"").toString(),"("+L(r(e))+")"},ne=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(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};ne.prototype.toString=function(){return this.objId+" 0 R"},ne.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},ne.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter((function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"scope"!=e&&"objId"!=e&&"_"!=e.substring(0,1)}));for(var n in t)if(!1===Object.getOwnPropertyDescriptor(this,t[n]).configurable){var r=t[n],i=this[r];i&&(Array.isArray(i)?e.push({key:r,value:ee(i,this.objId,this.scope)}):i instanceof ne?(i.scope=this.scope,e.push({key:r,value:i.objId+" 0 R"})):"function"!=typeof i&&e.push({key:r,value:i}))}return e};var re=function(){ne.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 e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};j(re,ne);var ie=function(){ne.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+L(t(e))+")"}},set:function(t){e=t}})};j(ie,ne);var ae=function(){ne.call(this);var e=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){if(isNaN(t))throw new Error('Invalid value "'+t+'" for attribute F supplied.');e=t}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(e,3))},set:function(t){!0===Boolean(t)?this.F=G(e,3):this.F=X(e,3)}});var t=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute Ff supplied.');t=e}});var n=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==n.length)return n},set:function(e){n=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[0])?0:n[0]},set:function(e){n[0]=e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[1])?0:n[1]},set:function(e){n[1]=e}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[2])?0:n[2]},set:function(e){n[2]=e}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[3])?0:n[3]},set:function(e){n[3]=e}});var r="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return r},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":r=e;break;default:throw new Error('Invalid value "'+e+'" 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 de)return;i="FieldObject"+ae.FieldNum++}var e=function(e){return e};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+L(e(i))+")"},set:function(e){i=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(e){i=e}});var a="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return a},set:function(e){a=e}});var o="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return o},set:function(e){o=e}});var s=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return s},set:function(e){s=e}});var l=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===l?50/P:l},set:function(e){l=e}});var c="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return c},set:function(e){c=e}});var u="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!u||this instanceof de||this instanceof ge))return te(u,this.objId,this.scope)},set:function(e){e=e.toString(),u=e}});var f=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof ue==0?te(f,this.objId,this.scope):f},set:function(e){e=e.toString(),f=this instanceof ue==0?"("===e.substr(0,1)?F(e.substr(1,e.length-2)):F(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof ue==1?F(f.substr(1,f.length-1)):f},set:function(e){e=e.toString(),f=this instanceof ue==1?"/"+e:e}});var h=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(h)return h},set:function(e){this.V=e}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof ue==0?te(h,this.objId,this.scope):h},set:function(e){e=e.toString(),h=this instanceof ue==0?"("===e.substr(0,1)?F(e.substr(1,e.length-2)):F(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof ue==1?F(h.substr(1,h.length-1)):h},set:function(e){e=e.toString(),h=this instanceof ue==1?"/"+e:e}}),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(e){e=Boolean(e),p=e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(d)return d},set:function(e){d=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,1))},set:function(e){!0===Boolean(e)?this.Ff=G(this.Ff,1):this.Ff=X(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,2))},set:function(e){!0===Boolean(e)?this.Ff=G(this.Ff,2):this.Ff=X(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,3))},set:function(e){!0===Boolean(e)?this.Ff=G(this.Ff,3):this.Ff=X(this.Ff,3)}});var g=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==g)return g},set:function(e){if(-1===[0,1,2].indexOf(e))throw new Error('Invalid value "'+e+'" for attribute Q supplied.');g=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e;switch(g){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:g=2;break;case"center":case 1:g=1;break;default:g=0}}})};j(ae,ne);var oe=function(){ae.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return ee(t,this.objId,this.scope)},set:function(e){var n,r;r=[],"string"==typeof(n=e)&&(r=function(e,t,n){n||(n=1);for(var r,i=[];r=t.exec(e);)i.push(r[n]);return i}(n,/\((.*?)\)/g)),t=r}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,n){for(n=n||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==n););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,18))},set:function(e){!0===Boolean(e)?this.Ff=G(this.Ff,18):this.Ff=X(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,19))},set:function(e){!0===this.combo&&(!0===Boolean(e)?this.Ff=G(this.Ff,19):this.Ff=X(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=G(this.Ff,20),t.sort()):this.Ff=X(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,22))},set:function(e){!0===Boolean(e)?this.Ff=G(this.Ff,22):this.Ff=X(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=G(this.Ff,23):this.Ff=X(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,27))},set:function(e){!0===Boolean(e)?this.Ff=G(this.Ff,27):this.Ff=X(this.Ff,27)}}),this.hasAppearanceStream=!1};j(oe,ae);var se=function(){oe.call(this),this.fontName="helvetica",this.combo=!1};j(se,oe);var le=function(){se.call(this),this.combo=!0};j(le,se);var ce=function(){le.call(this),this.edit=!0};j(ce,le);var ue=function(){ae.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,15))},set:function(e){!0===Boolean(e)?this.Ff=G(this.Ff,15):this.Ff=X(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,16))},set:function(e){!0===Boolean(e)?this.Ff=G(this.Ff,16):this.Ff=X(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,17))},set:function(e){!0===Boolean(e)?this.Ff=G(this.Ff,17):this.Ff=X(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=G(this.Ff,26):this.Ff=X(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var n,r=[];for(n in r.push("<<"),t)r.push("/"+n+" ("+L(e(t[n]))+")");return r.push(">>"),r.join("\n")}},set:function(e){"object"==typeof e&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}})};j(ue,ae);var fe=function(){ue.call(this),this.pushButton=!0};j(fe,ue);var he=function(){ue.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};j(he,ue);var de=function(){var e,t;ae.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var n,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};this.scope&&(e=this.scope.internal.getEncryptor(this.objId));var t,n=[];for(t in n.push("<<"),r)n.push("/"+t+" ("+L(e(r[t]))+")");return n.push(">>"),n.join("\n")},set:function(e){"object"==typeof e&&(r=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(e){"string"==typeof e&&(r.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(e){n="/"+e}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=ve.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};j(de,ae),he.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var n=this.Kids[t];n.appearanceStreamContent=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},he.prototype.createOption=function(e){var t=new de;return t.Parent=this,t.optionName=e,this.Kids.push(t),be.call(this.scope,t),t};var pe=function(){ue.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=ve.CheckBox.createAppearanceStream()};j(pe,ue);var ge=function(){ae.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=G(this.Ff,13):this.Ff=X(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=G(this.Ff,21):this.Ff=X(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=G(this.Ff,23):this.Ff=X(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=G(this.Ff,24):this.Ff=X(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=G(this.Ff,25):this.Ff=X(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=G(this.Ff,26):this.Ff=X(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};j(ge,ae);var me=function(){ge.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=G(this.Ff,14):this.Ff=X(this.Ff,14)}}),this.password=!0};j(me,ge);var ve={CheckBox:{createAppearanceStream:function(){return{N:{On:ve.CheckBox.YesNormal},D:{On:ve.CheckBox.YesPushDown,Off:ve.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=U(e);t.scope=e.scope;var n=[],r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,i=e.scope.__private__.encodeColorString(e.color),a=K(e,e.caption);return n.push("0.749023 g"),n.push("0 0 "+D(ve.internal.getWidth(e))+" "+D(ve.internal.getHeight(e))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+r+" "+D(a.fontSize)+" Tf "+i),n.push("BT"),n.push(a.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join("\n"),t},YesNormal:function(e){var t=U(e);t.scope=e.scope;var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color),i=[],a=ve.internal.getHeight(e),o=ve.internal.getWidth(e),s=K(e,e.caption);return i.push("1 g"),i.push("0 0 "+D(o)+" "+D(a)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+D(o-1)+" "+D(a-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+n+" "+D(s.fontSize)+" Tf "+r),i.push(s.text),i.push("ET"),i.push("Q"),t.stream=i.join("\n"),t},OffPushDown:function(e){var t=U(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+D(ve.internal.getWidth(e))+" "+D(ve.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:ve.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=ve.RadioButton.Circle.YesNormal,t.D[e]=ve.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=U(e);t.scope=e.scope;var n=[],r=ve.internal.getWidth(e)<=ve.internal.getHeight(e)?ve.internal.getWidth(e)/4:ve.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=ve.internal.Bezier_C,a=Number((r*i).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+M(ve.internal.getWidth(e)/2)+" "+M(ve.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+a+" "+a+" "+r+" 0 "+r+" c"),n.push("-"+a+" "+r+" -"+r+" "+a+" -"+r+" 0 c"),n.push("-"+r+" -"+a+" -"+a+" -"+r+" 0 -"+r+" c"),n.push(a+" -"+r+" "+r+" -"+a+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=U(e);t.scope=e.scope;var n=[],r=ve.internal.getWidth(e)<=ve.internal.getHeight(e)?ve.internal.getWidth(e)/4:ve.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),a=Number((i*ve.internal.Bezier_C).toFixed(5)),o=Number((r*ve.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+M(ve.internal.getWidth(e)/2)+" "+M(ve.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),n.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),n.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),n.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+M(ve.internal.getWidth(e)/2)+" "+M(ve.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),n.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),n.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),n.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=U(e);t.scope=e.scope;var n=[],r=ve.internal.getWidth(e)<=ve.internal.getHeight(e)?ve.internal.getWidth(e)/4:ve.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),a=Number((i*ve.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+M(ve.internal.getWidth(e)/2)+" "+M(ve.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),n.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),n.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),n.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:ve.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=ve.RadioButton.Cross.YesNormal,t.D[e]=ve.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=U(e);t.scope=e.scope;var n=[],r=ve.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+D(ve.internal.getWidth(e)-2)+" "+D(ve.internal.getHeight(e)-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"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=U(e);t.scope=e.scope;var n=ve.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+D(ve.internal.getWidth(e))+" "+D(ve.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+D(ve.internal.getWidth(e)-2)+" "+D(ve.internal.getHeight(e)-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"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=U(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+D(ve.internal.getWidth(e))+" "+D(ve.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+n}};ve.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=ve.internal.getWidth(e),n=ve.internal.getHeight(e),r=Math.min(t,n);return{x1:{x:(t-r)/2,y:(n-r)/2+r},x2:{x:(t-r)/2+r,y:(n-r)/2},x3:{x:(t-r)/2,y:(n-r)/2},x4:{x:(t-r)/2+r,y:(n-r)/2+r}}}},ve.internal.getWidth=function(e){var t=0;return"object"==typeof e&&(t=W(e.Rect[2])),t},ve.internal.getHeight=function(e){var t=0;return"object"==typeof e&&(t=W(e.Rect[3])),t};var be=O.addField=function(e){if(function(e,t){if(t.scope=e,void 0!==e.internal&&(void 0===e.internal.acroformPlugin||!1===e.internal.acroformPlugin.isInitialized)){if(ae.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(Z)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");P=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new ie,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",(function(){!function(e){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0}(e)})),e.internal.events.subscribe("buildDocument",(function(){!function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];r.objId=void 0,r.hasAnnotation&&Q(r,e)}}(e)})),e.internal.events.subscribe("putCatalog",(function(){!function(e){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(e)})),e.internal.events.subscribe("postPutPages",(function(t){!function(e,t){var n=!e;for(var r in e||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(r)){var i=e[r],a=[],o=i.Rect;if(i.Rect&&(i.Rect=$(i.Rect,t)),t.internal.newObjectDeferredBegin(i.objId,!0),i.DA=ve.createDefaultAppearanceStream(i),"object"==typeof i&&"function"==typeof i.getKeyValueListForStream&&(a=i.getKeyValueListForStream()),i.Rect=o,i.hasAppearanceStream&&!i.appearanceStreamContent){var s=Y(i);a.push({key:"AP",value:"<</N "+s+">>"}),t.internal.acroformPlugin.xForms.push(s)}if(i.appearanceStreamContent){var l="";for(var c in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(c)){var u=i.appearanceStreamContent[c];if(l+="/"+c+" ",l+="<<",Object.keys(u).length>=1||Array.isArray(u)){for(var r in u)if(u.hasOwnProperty(r)){var f=u[r];"function"==typeof f&&(f=f.call(t,i)),l+="/"+r+" "+f+" ",t.internal.acroformPlugin.xForms.indexOf(f)>=0||t.internal.acroformPlugin.xForms.push(f)}}else"function"==typeof(f=u)&&(f=f.call(t,i)),l+="/"+r+" "+f,t.internal.acroformPlugin.xForms.indexOf(f)>=0||t.internal.acroformPlugin.xForms.push(f);l+=">>"}a.push({key:"AP",value:"<<\n"+l+">>"})}t.internal.putStream({additionalKeyValues:a,objectId:i.objId}),t.internal.out("endobj")}n&&function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=n,i=e[n];t.internal.newObjectDeferredBegin(i.objId,!0),"object"==typeof i&&"function"==typeof i.putStream&&i.putStream(),delete e[r]}}(t.internal.acroformPlugin.xForms,t)}(t,e)})),e.internal.acroformPlugin.isInitialized=!0}}(this,e),!(e instanceof ae))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=e).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};O.AcroFormChoiceField=oe,O.AcroFormListBox=se,O.AcroFormComboBox=le,O.AcroFormEditBox=ce,O.AcroFormButton=ue,O.AcroFormPushButton=fe,O.AcroFormRadioButton=he,O.AcroFormCheckBox=pe,O.AcroFormTextField=ge,O.AcroFormPasswordField=me,O.AcroFormAppearance=ve,O.AcroForm={ChoiceField:oe,ListBox:se,ComboBox:le,EditBox:ce,Button:ue,PushButton:fe,RadioButton:he,CheckBox:pe,TextField:ge,PasswordField:me,Appearance:ve},B.AcroForm={ChoiceField:oe,ListBox:se,ComboBox:le,EditBox:ce,Button:ue,PushButton:fe,RadioButton:he,CheckBox:pe,TextField:ge,PasswordField:me,Appearance:ve};var ye=B.AcroForm;function we(e){return e.reduce((function(e,t,n){return e[t]=n,e}),{})}!function(e){e.__addimage__={};var t="UNKNOWN",n={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]]},r=e.__addimage__.getImageFileTypeByImageData=function(e,r){var i,a;r=r||t;var o,s,l,c=t;if(_(e))for(l in n)for(o=n[l],i=0;i<o.length;i+=1){for(s=!0,a=0;a<o[i].length;a+=1)if(void 0!==o[i][a]&&o[i][a]!==e[a]){s=!1;break}if(!0===s){c=l;break}}else for(l in n)for(o=n[l],i=0;i<o.length;i+=1){for(s=!0,a=0;a<o[i].length;a+=1)if(void 0!==o[i][a]&&o[i][a]!==e.charCodeAt(a)){s=!1;break}if(!0===s){c=l;break}}return c===t&&r!==t&&(c=r),c},i=function(e){for(var t=this.internal.write,n=this.internal.putStream,r=(0,this.internal.getFilters)();-1!==r.indexOf("FlateEncode");)r.splice(r.indexOf("FlateEncode"),1);e.objectId=this.internal.newObject();var a=[];if(a.push({key:"Type",value:"/XObject"}),a.push({key:"Subtype",value:"/Image"}),a.push({key:"Width",value:e.width}),a.push({key:"Height",value:e.height}),e.colorSpace===b.INDEXED?a.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(e.palette.length/3-1)+" "+("sMask"in e&&void 0!==e.sMask?e.objectId+2:e.objectId+1)+" 0 R]"}):(a.push({key:"ColorSpace",value:"/"+e.colorSpace}),e.colorSpace===b.DEVICE_CMYK&&a.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),a.push({key:"BitsPerComponent",value:e.bitsPerComponent}),"decodeParameters"in e&&void 0!==e.decodeParameters&&a.push({key:"DecodeParms",value:"<<"+e.decodeParameters+">>"}),"transparency"in e&&Array.isArray(e.transparency)){for(var o="",s=0,l=e.transparency.length;s<l;s++)o+=e.transparency[s]+" "+e.transparency[s]+" ";a.push({key:"Mask",value:"["+o+"]"})}void 0!==e.sMask&&a.push({key:"SMask",value:e.objectId+1+" 0 R"});var c=void 0!==e.filter?["/"+e.filter]:void 0;if(n({data:e.data,additionalKeyValues:a,alreadyAppliedFilters:c,objectId:e.objectId}),t("endobj"),"sMask"in e&&void 0!==e.sMask){var u="/Predictor "+e.predictor+" /Colors 1 /BitsPerComponent "+e.bitsPerComponent+" /Columns "+e.width,f={width:e.width,height:e.height,colorSpace:"DeviceGray",bitsPerComponent:e.bitsPerComponent,decodeParameters:u,data:e.sMask};"filter"in e&&(f.filter=e.filter),i.call(this,f)}if(e.colorSpace===b.INDEXED){var h=this.internal.newObject();n({data:C(new Uint8Array(e.palette)),objectId:h}),t("endobj")}},a=function(){var e=this.internal.collections.addImage_images;for(var t in e)i.call(this,e[t])},o=function(){var e,t=this.internal.collections.addImage_images,n=this.internal.write;for(var r in t)n("/I"+(e=t[r]).index,e.objectId,"0","R")},c=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",a),this.internal.events.subscribe("putXobjectDict",o))},u=function(){var e=this.internal.collections.addImage_images;return c.call(this),e},f=function(){return Object.keys(this.internal.collections.addImage_images).length},h=function(t){return"function"==typeof e["process"+t.toUpperCase()]},d=function(e){return"object"==typeof e&&1===e.nodeType},p=function(t,n){if("IMG"===t.nodeName&&t.hasAttribute("src")){var r=""+t.getAttribute("src");if(0===r.indexOf("data:image/"))return s(unescape(r).split("base64,").pop());var i=e.loadFile(r,!0);if(void 0!==i)return i}if("CANVAS"===t.nodeName){var a;switch(n){case"PNG":a="image/png";break;case"WEBP":a="image/webp";break;default:a="image/jpeg"}return s(t.toDataURL(a,1).split("base64,").pop())}},g=function(e){var t=this.internal.collections.addImage_images;if(t)for(var n in t)if(e===t[n].alias)return t[n]},m=function(e,t,n){return e||t||(e=-96,t=-96),e<0&&(e=-1*n.width*72/e/this.internal.scaleFactor),t<0&&(t=-1*n.height*72/t/this.internal.scaleFactor),0===e&&(e=t*n.width/n.height),0===t&&(t=e*n.height/n.width),[e,t]},v=function(e,t,n,r,i,a){var o=m.call(this,n,r,i),s=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,c=u.call(this);if(n=o[0],r=o[1],c[i.index]=i,a){a*=Math.PI/180;var f=Math.cos(a),h=Math.sin(a),d=function(e){return e.toFixed(4)},p=[d(f),d(h),d(-1*h),d(f),0,0,"cm"]}this.internal.write("q"),a?(this.internal.write([1,"0","0",1,s(e),l(t+r),"cm"].join(" ")),this.internal.write(p.join(" ")),this.internal.write([s(n),"0","0",s(r),"0","0","cm"].join(" "))):this.internal.write([s(n),"0","0",s(r),s(e),l(t+r),"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=e.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"};e.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=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},w=e.__addimage__.sHashCode=function(e){var t,n,r=0;if("string"==typeof e)for(n=e.length,t=0;t<n;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;else if(_(e))for(n=e.byteLength/2,t=0;t<n;t++)r=(r<<5)-r+e[t],r|=0;return r},S=e.__addimage__.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(e.substr(-2))&&(t=!1),t},x=e.__addimage__.extractImageFromDataUrl=function(e){var t=(e=e||"").split("base64,"),n=null;if(2===t.length){var r=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(t[0]);Array.isArray(r)&&(n={mimeType:r[1],charset:r[2],data:t[1]})}return n},E=e.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};e.__addimage__.isArrayBuffer=function(e){return E()&&e instanceof ArrayBuffer};var _=e.__addimage__.isArrayBufferView=function(e){return E()&&"undefined"!=typeof Uint32Array&&(e instanceof Int8Array||e instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)},A=e.__addimage__.binaryStringToUint8Array=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n},C=e.__addimage__.arrayBufferToBinaryString=function(e){try{return s(l(String.fromCharCode.apply(null,e)))}catch(t){if("undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.reduce)return new Uint8Array(e).reduce((function(e,t){return e.push(String.fromCharCode(t)),e}),[]).join("")}};e.addImage=function(){var e,n,r,i,a,o,s,l,u;if("number"==typeof arguments[1]?(n=t,r=arguments[1],i=arguments[2],a=arguments[3],o=arguments[4],s=arguments[5],l=arguments[6],u=arguments[7]):(n=arguments[1],r=arguments[2],i=arguments[3],a=arguments[4],o=arguments[5],s=arguments[6],l=arguments[7],u=arguments[8]),"object"==typeof(e=arguments[0])&&!d(e)&&"imageData"in e){var f=e;e=f.imageData,n=f.format||n||t,r=f.x||r||0,i=f.y||i||0,a=f.w||f.width||a,o=f.h||f.height||o,s=f.alias||s,l=f.compression||l,u=f.rotation||f.angle||u}var h=this.internal.getFilters();if(void 0===l&&-1!==h.indexOf("FlateEncode")&&(l="SLOW"),isNaN(r)||isNaN(i))throw new Error("Invalid coordinates passed to jsPDF.addImage");c.call(this);var p=k.call(this,e,n,s,l);return v.call(this,r,i,a,o,p,u),this};var k=function(n,i,a,o){var s,l,c;if("string"==typeof n&&r(n)===t){n=unescape(n);var u=T(n,!1);(""!==u||void 0!==(u=e.loadFile(n,!0)))&&(n=u)}if(d(n)&&(n=p(n,i)),i=r(n,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==(c=a)||0===c.length)&&(a=function(e){return"string"==typeof e||_(e)?w(e):null}(n)),(s=g.call(this,a))||(E()&&(n instanceof Uint8Array||(l=n,n=A(n))),s=this["process"+i.toUpperCase()](n,f.call(this),a,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in e.image_compression?t:y.NONE}(o),l)),!s)throw new Error("An unknown error occurred whilst processing the image.");return s},T=e.__addimage__.convertBase64ToBinaryString=function(e,t){var n;t="boolean"!=typeof t||t;var r,i="";if("string"==typeof e){r=null!==(n=x(e))?n.data:e;try{i=s(r)}catch(e){if(t)throw S(r)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+e.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return i};e.getImageProperties=function(n){var i,a,o="";if(d(n)&&(n=p(n)),"string"==typeof n&&r(n)===t&&(""===(o=T(n,!1))&&(o=e.loadFile(n)||""),n=o),a=r(n),!h(a))throw new Error("addImage does not support files of type '"+a+"', please ensure that a plugin for '"+a+"' support is added.");if(!E()||n instanceof Uint8Array||(n=A(n)),!(i=this["process"+a.toUpperCase()](n)))throw new Error("An unknown error occurred whilst processing the image");return i.fileType=a,i}}(B.API),function(e){var t=function(e){if(void 0!==e&&""!=e)return!0};B.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(e){for(var n,r,i,a=this.internal.getCoordinateString,o=this.internal.getVerticalCoordinateString,s=this.internal.getPageInfoByObjId(e.objId),l=e.pageContext.annotations,c=!1,u=0;u<l.length&&!c;u++)switch((n=l[u]).type){case"link":(t(n.options.url)||t(n.options.pageNumber))&&(c=!0);break;case"reference":case"text":case"freetext":c=!0}if(0!=c){this.internal.write("/Annots [");for(var f=0;f<l.length;f++){n=l[f];var h=this.internal.pdfEscape,d=this.internal.getEncryptor(e.objId);switch(n.type){case"reference":this.internal.write(" "+n.object.objId+" 0 R ");break;case"text":var p=this.internal.newAdditionalObject(),g=this.internal.newAdditionalObject(),m=this.internal.getEncryptor(p.objId),v=n.title||"Note";i="<</Type /Annot /Subtype /Text "+(r="/Rect ["+a(n.bounds.x)+" "+o(n.bounds.y+n.bounds.h)+" "+a(n.bounds.x+n.bounds.w)+" "+o(n.bounds.y)+"] ")+"/Contents ("+h(m(n.contents))+")",i+=" /Popup "+g.objId+" 0 R",i+=" /P "+s.objId+" 0 R",i+=" /T ("+h(m(v))+") >>",p.content=i;var b=p.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(r="/Rect ["+a(n.bounds.x+30)+" "+o(n.bounds.y+n.bounds.h)+" "+a(n.bounds.x+n.bounds.w+30)+" "+o(n.bounds.y)+"] ")+" /Parent "+b,n.open&&(i+=" /Open true"),i+=" >>",g.content=i,this.internal.write(p.objId,"0 R",g.objId,"0 R");break;case"freetext":r="/Rect ["+a(n.bounds.x)+" "+o(n.bounds.y)+" "+a(n.bounds.x+n.bounds.w)+" "+o(n.bounds.y+n.bounds.h)+"] ";var y=n.color||"#000000";i="<</Type /Annot /Subtype /FreeText "+r+"/Contents ("+h(d(n.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(n.options.name){var w=this.annotations._nameMap[n.options.name];n.options.pageNumber=w.page,n.options.top=w.y}else n.options.top||(n.options.top=0);if(r="/Rect ["+n.finalBounds.x+" "+n.finalBounds.y+" "+n.finalBounds.w+" "+n.finalBounds.h+"] ",i="",n.options.url)i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /A <</S /URI /URI ("+h(d(n.options.url))+") >>";else if(n.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(n.options.pageNumber).objId+" 0 R",n.options.magFactor=n.options.magFactor||"XYZ",n.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+n.options.top+"]";break;case"FitV":n.options.left=n.options.left||0,i+=" /FitV "+n.options.left+"]";break;default:var S=o(n.options.top);n.options.left=n.options.left||0,void 0===n.options.zoom&&(n.options.zoom=0),i+=" /XYZ "+n.options.left+" "+S+" "+n.options.zoom+"]"}""!=i&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),e.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},e.link=function(e,t,n,r,i){var a=this.internal.getCurrentPageInfo(),o=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString;a.pageContext.annotations.push({finalBounds:{x:o(e),y:s(t),w:o(e+n),h:s(t+r)},options:i,type:"link"})},e.textWithLink=function(e,t,n,r){var i=this.getTextWidth(e),a=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(e,t,n,r),n+=.2*a,"center"===r.align&&(t-=i/2),"right"===r.align&&(t-=i),this.link(t,n-a,i,a,r),i},e.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor}}(B.API),function(e){var t={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]},n={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}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];e.__arabicParser__={};var a=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},o=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},s=e.__arabicParser__.isArabicEndLetter=function(e){return o(e)&&a(e)&&t[e.charCodeAt(0)].length<=2},l=e.__arabicParser__.isArabicAlfLetter=function(e){return o(e)&&i.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return o(e)&&a(e)&&t[e.charCodeAt(0)].length>=1};var c=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return o(e)&&a(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return o(e)&&a(e)&&t[e.charCodeAt(0)].length>=3};var u=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return o(e)&&a(e)&&4==t[e.charCodeAt(0)].length},f=e.__arabicParser__.resolveLigatures=function(e){var t=0,r=n,i="",a=0;for(t=0;t<e.length;t+=1)void 0!==r[e.charCodeAt(t)]?(a++,"number"==typeof(r=r[e.charCodeAt(t)])&&(i+=String.fromCharCode(r),r=n,a=0),t===e.length-1&&(r=n,i+=e.charAt(t-(a-1)),t-=a-1,a=0)):(r=n,i+=e.charAt(t-a),t-=a,a=0);return i};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==r[e.charCodeAt(0)]};var h=e.__arabicParser__.getCorrectForm=function(e,t,n){return o(e)?!1===a(e)?-1:!c(e)||!o(t)&&!o(n)||!o(n)&&s(t)||s(e)&&!o(t)||s(e)&&l(t)||s(e)&&s(t)?0:u(e)&&o(t)&&!s(t)&&o(n)&&c(n)?3:s(e)||!o(n)?1:2:-1},d=function(e){var n=0,r=0,i=0,a="",s="",l="",c=(e=e||"").split("\\s+"),u=[];for(n=0;n<c.length;n+=1){for(u.push(""),r=0;r<c[n].length;r+=1)a=c[n][r],s=c[n][r-1],l=c[n][r+1],o(a)?(i=h(a,s,l),u[n]+=-1!==i?String.fromCharCode(t[a.charCodeAt(0)][i]):a):u[n]+=a;u[n]=f(u[n])}return u.join(" ")},p=e.__arabicParser__.processArabic=e.processArabic=function(){var e,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,n=[];if(Array.isArray(t)){var r=0;for(n=[],r=0;r<t.length;r+=1)Array.isArray(t[r])?n.push([d(t[r][0]),t[r][1],t[r][2]]):n.push([d(t[r])]);e=n}else e=d(t);return"string"==typeof arguments[0]?e:(arguments[0].text=e,arguments[0])};e.events.push(["preProcessText",p])}(B.API),function(e){e.autoPrint=function(e){var t;if("javascript"===((e=e||{}).variant=e.variant||"non-conform",e.variant))this.addJS("print({});");else this.internal.events.subscribe("postPutResources",(function(){t=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 "+t+" 0 R")}));return this}}(B.API),function(e){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(e){n=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(e){r=e}});var i={};Object.defineProperty(this,"style",{get:function(){return i},set:function(e){i=e}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,t){var n;if("2d"!==(e=e||"2d"))return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(B.API),function(e){var t={left:0,top:0,bottom:0,right:0},n=!1,r=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({},t),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var n=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var r=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var i=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return i},set:function(e){i=e}});var a=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return a},set:function(e){a=e}});var o=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return o},set:function(e){o=e}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(e){return r.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){r.call(this);var n=(t=t||{}).fontSize||this.getFontSize(),i=t.font||this.getFont(),a=t.scaleFactor||this.internal.scaleFactor,o=0,s=0,l=0,c=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}const u=t.maxWidth;u>0?"string"==typeof e?e=this.splitTextToSize(e,u):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(c.splitTextToSize(t,u))}),[])):e=Array.isArray(e)?e:[e];for(var f=0;f<e.length;f++)o<(l=this.getStringUnitWidth(e[f],{font:i})*n)&&(o=l);return 0!==o&&(s=e.length),{w:o/=a,h:Math.max((s*n*this.getLineHeightFactor()-n*(this.getLineHeightFactor()-1))/a,0)}},e.cellAddPage=function(){r.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new a(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var o=e.cell=function(){var e;e=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),r.call(this);var i=this.internal.__cell__.lastCell,o=this.internal.__cell__.padding,s=this.internal.__cell__.margins||t,l=this.internal.__cell__.tableHeaderRow,c=this.internal.__cell__.printHeaders;return void 0!==i.lineNumber&&(i.lineNumber===e.lineNumber?(e.x=(i.x||0)+(i.width||0),e.y=i.y||0):i.y+i.height+e.height+s.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=s.top,c&&l&&(this.printHeaderRow(e.lineNumber,!0),e.y+=l[0].height)):e.y=i.y+i.height||e.y),void 0!==e.text[0]&&(this.rect(e.x,e.y,e.width,e.height,!0===n?"FD":void 0),"right"===e.align?this.text(e.text,e.x+e.width-o,e.y+o,{align:"right",baseline:"top"}):"center"===e.align?this.text(e.text,e.x+e.width/2,e.y+o,{align:"center",baseline:"top",maxWidth:e.width-o-o}):this.text(e.text,e.x+o,e.y+o,{align:"left",baseline:"top",maxWidth:e.width-o-o})),this.internal.__cell__.lastCell=e,this};e.table=function(e,n,l,c,u){if(r.call(this),!l)throw new Error("No data for PDF table.");var f,h,d,p,g=[],m=[],v=[],b={},y={},w=[],S=[],x=(u=u||{}).autoSize||!1,E=!1!==u.printHeaders,_=u.css&&void 0!==u.css["font-size"]?16*u.css["font-size"]:u.fontSize||12,A=u.margins||Object.assign({width:this.getPageWidth()},t),C="number"==typeof u.padding?u.padding:3,k=u.headerBackgroundColor||"#c8c8c8";if(i.call(this),this.internal.__cell__.printHeaders=E,this.internal.__cell__.margins=A,this.internal.__cell__.table_font_size=_,this.internal.__cell__.padding=C,this.internal.__cell__.headerBackgroundColor=k,this.setFontSize(_),null==c)m=g=Object.keys(l[0]),v=g.map((function(){return"left"}));else if(Array.isArray(c)&&"object"==typeof c[0])for(g=c.map((function(e){return e.name})),m=c.map((function(e){return e.prompt||e.name||""})),v=c.map((function(e){return e.align||"left"})),f=0;f<c.length;f+=1)y[c[f].name]=c[f].width*(19.049976/25.4);else Array.isArray(c)&&"string"==typeof c[0]&&(m=g=c,v=g.map((function(){return"left"})));if(x||Array.isArray(c)&&"string"==typeof c[0])for(f=0;f<g.length;f+=1){for(b[p=g[f]]=l.map((function(e){return e[p]})),this.setFont(void 0,"bold"),w.push(this.getTextDimensions(m[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)+C+C,w=[]}if(E){var T={};for(f=0;f<g.length;f+=1)T[g[f]]={},T[g[f]].text=m[f],T[g[f]].align=v[f];var R=s.call(this,T,y);S=g.map((function(t){return new a(e,n,y[t],R,T[t].text,void 0,T[t].align)})),this.setTableHeaderRow(S),this.printHeaderRow(1,!1)}var N=c.reduce((function(e,t){return e[t.name]=t.align,e}),{});for(f=0;f<l.length;f+=1){var I=s.call(this,l[f],y);for(d=0;d<g.length;d+=1)o.call(this,new a(e,n,y[g[d]],I,l[f][g[d]],f+2,N[g[d]]))}return this.internal.__cell__.table_x=e,this.internal.__cell__.table_y=n,this};var s=function(e,t){var n=this.internal.__cell__.padding,r=this.internal.__cell__.table_font_size,i=this.internal.scaleFactor;return Object.keys(e).map((function(r){var i=e[r];return this.splitTextToSize(i.hasOwnProperty("text")?i.text:i,t[r]-n-n)}),this).map((function(e){return this.getLineHeightFactor()*e.length*r/i+n+n}),this).reduce((function(e,t){return Math.max(e,t)}),0)};e.setTableHeaderRow=function(e){r.call(this),this.internal.__cell__.tableHeaderRow=e},e.printHeaderRow=function(e,t){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var i;if(n=!0,"function"==typeof this.internal.__cell__.headerFunction){var s=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(s[0],s[1],s[2],s[3],void 0,-1)}this.setFont(void 0,"bold");for(var l=[],c=0;c<this.internal.__cell__.tableHeaderRow.length;c+=1)i=this.internal.__cell__.tableHeaderRow[c].clone(),t&&(i.y=this.internal.__cell__.margins.top||0,l.push(i)),i.lineNumber=e,this.setFillColor(this.internal.__cell__.headerBackgroundColor),o.call(this,i);l.length>0&&this.setTableHeaderRow(l),this.setFont(void 0,"normal"),n=!1}}(B.API);var Se={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},xe=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Ee=we(xe),_e=[100,200,300,400,500,600,700,800,900],Ae=we(_e);function Ce(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),n=function(e){return Se[e=e||"normal"]?e:"normal"}(e.style),r=function(e){return e?"number"==typeof e?e>=100&&e<=900&&e%100==0?e:400:/^\d00$/.test(e)?parseInt(e):"bold"===e?700:400:400}(e.weight),i=function(e){return"number"==typeof Ee[e=e||"normal"]?e:"normal"}(e.stretch);return{family:t,style:n,weight:r,stretch:i,src:e.src||[],ref:e.ref||{name:t,style:[i,n,r].join(" ")}}}function ke(e,t,n,r){var i;for(i=n;i>=0&&i<t.length;i+=r)if(e[t[i]])return e[t[i]];for(i=n;i>=0&&i<t.length;i-=r)if(e[t[i]])return e[t[i]]}var Te={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Re={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Ne(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function Ie(e){return e.trimLeft()}function Be(e,t){for(var n=0;n<e.length;){if(e.charAt(n)===t)return[e.substring(0,n),e.substring(n+1)];n+=1}return null}function Oe(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],e.substring(t[0].length)]}var Pe=["times"];!function(e){var t,n,i,a,o,s,l,c,f,h=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new c,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new s,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new s,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new d(this),t=this.internal.f2,n=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,a=this.internal.getHorizontalCoordinate,o=this.internal.getVerticalCoordinate,s=this.internal.Point,l=this.internal.Rectangle,c=this.internal.Matrix,f=new h}]);var d=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=e;Object.defineProperty(this,"pdf",{get:function(){return t}});var n=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return n},set:function(e){n=Boolean(e)}});var r=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return r},set:function(e){r=Boolean(e)}});var i=0;Object.defineProperty(this,"posX",{get:function(){return i},set:function(e){isNaN(e)||(i=e)}});var a=0;Object.defineProperty(this,"posY",{get:function(){return a},set:function(e){isNaN(e)||(a=e)}});var o=!1;Object.defineProperty(this,"autoPaging",{get:function(){return o},set:function(e){o=Boolean(e)}});var s=0;Object.defineProperty(this,"lastBreak",{get:function(){return s},set:function(e){s=e}});var l=[];Object.defineProperty(this,"pageBreaks",{get:function(){return l},set:function(e){l=e}}),Object.defineProperty(this,"ctx",{get:function(){return f},set:function(e){e instanceof h&&(f=e)}}),Object.defineProperty(this,"path",{get:function(){return f.path},set:function(e){f.path=e}});var c=[];Object.defineProperty(this,"ctxStack",{get:function(){return c},set:function(e){c=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=p(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=p(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}});var u=null;function d(e,t){if(null===u){var n=function(e){var t=[];return Object.keys(e).forEach((function(n){e[n].forEach((function(e){var r=null;switch(e){case"bold":r={family:n,weight:"bold"};break;case"italic":r={family:n,style:"italic"};break;case"bolditalic":r={family:n,weight:"bold",style:"italic"};break;case"":case"normal":r={family:n}}null!==r&&(r.ref={name:n,style:e},t.push(r))}))})),t}(e.getFontList());u=function(e){for(var t={},n=0;n<e.length;++n){var r=Ce(e[n]),i=r.family,a=r.stretch,o=r.style,s=r.weight;t[i]=t[i]||{},t[i][a]=t[i][a]||{},t[i][a][o]=t[i][a][o]||{},t[i][a][o][s]=r}return t}(n.concat(t))}return u}var g=null;Object.defineProperty(this,"fontFaces",{get:function(){return g},set:function(e){u=null,g=e}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\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(e))){var n=t[1],r=(t[2],t[3]),i=t[4],a=(t[5],t[6]),o=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(i)[2];i="px"===o?Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor):"em"===o?Math.floor(parseFloat(i)*this.pdf.getFontSize()):Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(i);var s=function(e){var t,n,r=[],i=e.trim();if(""===i)return Pe;if(i in Re)return[Re[i]];for(;""!==i;){switch(n=null,t=(i=Ie(i)).charAt(0)){case'"':case"'":n=Be(i.substring(1),t);break;default:n=Oe(i)}if(null===n)return Pe;if(r.push(n[0]),""!==(i=Ie(n[1]))&&","!==i.charAt(0))return Pe;i=i.replace(/^,/,"")}return r}(a);if(this.fontFaces){var l=function(e,t,n){for(var r=(n=n||{}).defaultFontFamily||"times",i=Object.assign({},Te,n.genericFontFamilies||{}),a=null,o=null,s=0;s<t.length;++s)if(i[(a=Ce(t[s])).family]&&(a.family=i[a.family]),e.hasOwnProperty(a.family)){o=e[a.family];break}if(!(o=o||e[r]))throw new Error("Could not find a font-family for the rule '"+Ne(a)+"' and default family '"+r+"'.");if(o=function(e,t){if(t[e])return t[e];var n=Ee[e],r=n<=Ee.normal?-1:1,i=ke(t,xe,n,r);if(!i)throw new Error("Could not find a matching font-stretch value for "+e);return i}(a.stretch,o),o=function(e,t){if(t[e])return t[e];for(var n=Se[e],r=0;r<n.length;++r)if(t[n[r]])return t[n[r]];throw new Error("Could not find a matching font-style for "+e)}(a.style,o),!(o=function(e,t){if(t[e])return t[e];if(400===e&&t[500])return t[500];if(500===e&&t[400])return t[400];var n=Ae[e],r=ke(t,_e,n,e<400?-1:1);if(!r)throw new Error("Could not find a matching font-weight for value "+e);return r}(a.weight,o)))throw new Error("Failed to resolve a font for the rule '"+Ne(a)+"'.");return o}(d(this.pdf,this.fontFaces),s.map((function(e){return{family:e,stretch:"normal",weight:r,style:n}})));this.pdf.setFont(l.ref.name,l.ref.style)}else{var c="";("bold"===r||parseInt(r,10)>=700||"bold"===n)&&(c="bold"),"italic"===n&&(c+="italic"),0===c.length&&(c="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],c,{noFallback:!0,disableWarning:!0})){u=s[h];break}if("bolditalic"===c&&void 0!==this.pdf.internal.getFont(s[h],"bold",{noFallback:!0,disableWarning:!0}))u=s[h],c="bold";else if(void 0!==this.pdf.internal.getFont(s[h],"normal",{noFallback:!0,disableWarning:!0})){u=s[h],c="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,c)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=Boolean(e)}})};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(e,t){if(isNaN(e)||isNaN(t))throw r.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var n=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"mt",x:n.x,y:n.y}),this.ctx.lastPoint=new s(e,t)},d.prototype.closePath=function(){var e=new s(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"==typeof this.path[t+1]&&"number"==typeof this.path[t+1].x){e=new s(this.path[t+1].x,this.path[t+1].y),this.path.push({type:"lt",x:e.x,y:e.y});break}"object"==typeof this.path[t+2]&&"number"==typeof this.path[t+2].x&&this.path.push(JSON.parse(JSON.stringify(this.path[t+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new s(e.x,e.y)},d.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw r.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var n=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"lt",x:n.x,y:n.y}),this.ctx.lastPoint=new s(n.x,n.y)},d.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),S.call(this,null,!0)},d.prototype.quadraticCurveTo=function(e,t,n,i){if(isNaN(n)||isNaN(i)||isNaN(e)||isNaN(t))throw r.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var a=this.ctx.transform.applyToPoint(new s(n,i)),o=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"qct",x1:o.x,y1:o.y,x:a.x,y:a.y}),this.ctx.lastPoint=new s(a.x,a.y)},d.prototype.bezierCurveTo=function(e,t,n,i,a,o){if(isNaN(a)||isNaN(o)||isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i))throw r.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var l=this.ctx.transform.applyToPoint(new s(a,o)),c=this.ctx.transform.applyToPoint(new s(e,t)),u=this.ctx.transform.applyToPoint(new s(n,i));this.path.push({type:"bct",x1:c.x,y1:c.y,x2:u.x,y2:u.y,x:l.x,y:l.y}),this.ctx.lastPoint=new s(l.x,l.y)},d.prototype.arc=function(e,t,n,i,a,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i)||isNaN(a))throw r.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(o=Boolean(o),!this.ctx.transform.isIdentity){var l=this.ctx.transform.applyToPoint(new s(e,t));e=l.x,t=l.y;var c=this.ctx.transform.applyToPoint(new s(0,n)),u=this.ctx.transform.applyToPoint(new s(0,0));n=Math.sqrt(Math.pow(c.x-u.x,2)+Math.pow(c.y-u.y,2))}Math.abs(a-i)>=2*Math.PI&&(i=0,a=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:n,startAngle:i,endAngle:a,counterclockwise:o})},d.prototype.arcTo=function(e,t,n,r,i){throw new Error("arcTo not implemented.")},d.prototype.rect=function(e,t,n,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i))throw r.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+n,t),this.lineTo(e+n,t+i),this.lineTo(e,t+i),this.lineTo(e,t),this.lineTo(e+n,t),this.lineTo(e,t)},d.prototype.fillRect=function(e,t,n,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i))throw r.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!g.call(this)){var a={};"butt"!==this.lineCap&&(a.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(a.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,n,i),this.fill(),a.hasOwnProperty("lineCap")&&(this.lineCap=a.lineCap),a.hasOwnProperty("lineJoin")&&(this.lineJoin=a.lineJoin)}},d.prototype.strokeRect=function(e,t,n,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i))throw r.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");m.call(this)||(this.beginPath(),this.rect(e,t,n,i),this.stroke())},d.prototype.clearRect=function(e,t,n,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i))throw r.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,n,i))},d.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var r=new h(this.ctx);this.ctxStack.push(this.ctx),this.ctx=r}},d.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&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(e){var t,n,r,i;if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))t=0,n=0,r=0,i=0;else{var a=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==a)t=parseInt(a[1]),n=parseInt(a[2]),r=parseInt(a[3]),i=1;else if(null!==(a=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(e)))t=parseInt(a[1]),n=parseInt(a[2]),r=parseInt(a[3]),i=parseFloat(a[4]);else{if(i=1,"string"==typeof e&&"#"!==e.charAt(0)){var o=new u(e);e=o.ok?o.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,n=e.substring(2,3),n+=n,r=e.substring(3,4),r+=r):(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7)),t=parseInt(t,16),n=parseInt(n,16),r=parseInt(r,16)}}return{r:t,g:n,b:r,a:i,style:e}},g=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},m=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};d.prototype.fillText=function(e,t,n,i){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw r.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(i=isNaN(i)?void 0:i,!g.call(this)){n=E.call(this,n);var a=P(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;T.call(this,{text:e,x:t,y:n,scale:o,angle:a,align:this.textAlign,maxWidth:i})}},d.prototype.strokeText=function(e,t,n,i){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw r.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!m.call(this)){i=isNaN(i)?void 0:i,n=E.call(this,n);var a=P(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;T.call(this,{text:e,x:t,y:n,scale:o,renderingMode:"stroke",angle:a,align:this.textAlign,maxWidth:i})}},d.prototype.measureText=function(e){if("string"!=typeof e)throw r.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,n=this.pdf.internal.scaleFactor,i=t.internal.getFontSize(),a=t.getStringUnitWidth(e)*i/t.internal.scaleFactor,o=function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this};return new o({width:a*=Math.round(96*n/72*1e4)/1e4})},d.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw r.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var n=new c(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(n)},d.prototype.rotate=function(e){if(isNaN(e))throw r.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new c(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},d.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw r.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var n=new c(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(n)},d.prototype.transform=function(e,t,n,i,a,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i)||isNaN(a)||isNaN(o))throw r.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var s=new c(e,t,n,i,a,o);this.ctx.transform=this.ctx.transform.multiply(s)},d.prototype.setTransform=function(e,t,n,r,i,a){e=isNaN(e)?1:e,t=isNaN(t)?0:t,n=isNaN(n)?0:n,r=isNaN(r)?1:r,i=isNaN(i)?0:i,a=isNaN(a)?0:a,this.ctx.transform=new c(e,t,n,r,i,a)},d.prototype.drawImage=function(e,t,n,r,i,a,o,s,u){var f=this.pdf.getImageProperties(e),h=1,d=1,p=1,g=1;void 0!==r&&void 0!==s&&(p=s/r,g=u/i,h=f.width/r*s/r,d=f.height/i*u/i),void 0===a&&(a=t,o=n,t=0,n=0),void 0!==r&&void 0===s&&(s=r,u=i),void 0===r&&void 0===s&&(s=f.width,u=f.height);for(var m,b=this.ctx.transform.decompose(),S=P(b.rotate.shx),E=new c,_=(E=(E=(E=E.multiply(b.translate)).multiply(b.skew)).multiply(b.scale)).applyToRectangle(new l(a-t*p,o-n*g,r*h,i*d)),A=v.call(this,_),C=[],k=0;k<A.length;k+=1)-1===C.indexOf(A[k])&&C.push(A[k]);if(w(C),this.autoPaging)for(var T=C[0],R=C[C.length-1],N=T;N<R+1;N++){if(this.pdf.setPage(N),0!==this.ctx.clip_path.length){var I=this.path;m=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(m,this.posX,-1*this.pdf.internal.pageSize.height*(N-1)+this.posY),x.call(this,"fill",!0),this.path=I}var B=JSON.parse(JSON.stringify(_));B=y([B],this.posX,-1*this.pdf.internal.pageSize.height*(N-1)+this.posY)[0],this.pdf.addImage(e,"JPEG",B.x,B.y,B.w,B.h,null,null,S)}else this.pdf.addImage(e,"JPEG",_.x,_.y,_.w,_.h,null,null,S)};var v=function(e,t,n){var r=[];switch(t=t||this.pdf.internal.pageSize.width,n=n||this.pdf.internal.pageSize.height,e.type){default:case"mt":case"lt":r.push(Math.floor((e.y+this.posY)/n)+1);break;case"arc":r.push(Math.floor((e.y+this.posY-e.radius)/n)+1),r.push(Math.floor((e.y+this.posY+e.radius)/n)+1);break;case"qct":var i=L(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);r.push(Math.floor(i.y/n)+1),r.push(Math.floor((i.y+i.h)/n)+1);break;case"bct":var a=F(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);r.push(Math.floor(a.y/n)+1),r.push(Math.floor((a.y+a.h)/n)+1);break;case"rect":r.push(Math.floor((e.y+this.posY)/n)+1),r.push(Math.floor((e.y+e.h+this.posY)/n)+1)}for(var o=0;o<r.length;o+=1)for(;this.pdf.internal.getNumberOfPages()<r[o];)b.call(this);return r},b=function(){var e=this.fillStyle,t=this.strokeStyle,n=this.font,r=this.lineCap,i=this.lineWidth,a=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=n,this.lineCap=r,this.lineWidth=i,this.lineJoin=a},y=function(e,t,n){for(var r=0;r<e.length;r++)switch(e[r].type){case"bct":e[r].x2+=t,e[r].y2+=n;case"qct":e[r].x1+=t,e[r].y1+=n;default:e[r].x+=t,e[r].y+=n}return e},w=function(e){return e.sort((function(e,t){return e-t}))},S=function(e,t){for(var n,r,i=this.fillStyle,a=this.strokeStyle,o=this.lineCap,s=this.lineWidth,l=s*this.ctx.transform.scaleX,c=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=v.call(this,f[d]),g=0;g<p.length;g+=1)-1===h.indexOf(p[g])&&h.push(p[g]);for(var m=0;m<h.length;m++)for(;this.pdf.internal.getNumberOfPages()<h[m];)b.call(this);if(w(h),this.autoPaging)for(var S=h[0],E=h[h.length-1],_=S;_<E+1;_++){if(this.pdf.setPage(_),this.fillStyle=i,this.strokeStyle=a,this.lineCap=o,this.lineWidth=l,this.lineJoin=c,0!==this.ctx.clip_path.length){var A=this.path;n=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(n,this.posX,-1*this.pdf.internal.pageSize.height*(_-1)+this.posY),x.call(this,e,!0),this.path=A}r=JSON.parse(JSON.stringify(u)),this.path=y(r,this.posX,-1*this.pdf.internal.pageSize.height*(_-1)+this.posY),!1!==t&&0!==_||x.call(this,e,t),this.lineWidth=s}else this.lineWidth=l,x.call(this,e,t),this.lineWidth=s;this.path=u},x=function(e,t){if(("stroke"!==e||t||!m.call(this))&&("stroke"===e||t||!g.call(this))){for(var n,r,i=[],a=this.path,o=0;o<a.length;o++){var s=a[o];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 l=i.length;if(!isNaN(a[o-1].x)&&(n=[s.x-a[o-1].x,s.y-a[o-1].y],l>0))for(;l>=0;l--)if(!0!==i[l-1].close&&!0!==i[l-1].begin){i[l-1].deltas.push(n),i[l-1].abs.push(s);break}break;case"bct":n=[s.x1-a[o-1].x,s.y1-a[o-1].y,s.x2-a[o-1].x,s.y2-a[o-1].y,s.x-a[o-1].x,s.y-a[o-1].y],i[i.length-1].deltas.push(n);break;case"qct":var c=a[o-1].x+2/3*(s.x1-a[o-1].x),u=a[o-1].y+2/3*(s.y1-a[o-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;n=[c-a[o-1].x,u-a[o-1].y,f-a[o-1].x,h-a[o-1].y,d-a[o-1].x,p-a[o-1].y],i[i.length-1].deltas.push(n);break;case"arc":i.push({deltas:[],abs:[],arc:!0}),Array.isArray(i[i.length-1].abs)&&i[i.length-1].abs.push(s)}}r=t?null:"stroke"===e?"stroke":"fill";for(var v=0;v<i.length;v++){if(i[v].arc){for(var b=i[v].abs,y=0;y<b.length;y++){var w=b[y];"arc"===w.type?_.call(this,w.x,w.y,w.radius,w.startAngle,w.endAngle,w.counterclockwise,void 0,t):R.call(this,w.x,w.y)}A.call(this,r),this.pdf.internal.out("h")}if(!i[v].arc&&!0!==i[v].close&&!0!==i[v].begin){var S=i[v].start.x,x=i[v].start.y;N.call(this,i[v].deltas,S,x)}}r&&A.call(this,r),t&&C.call(this)}},E=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,n=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-n;case"top":return e+t-n;case"hanging":return e+t-2*n;case"middle":return e+t/2-n;default:return e}};d.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},d.prototype.createPattern=function(){return this.createLinearGradient()},d.prototype.createRadialGradient=function(){return this.createLinearGradient()};var _=function(e,t,n,r,i,a,o,s){for(var l=B.call(this,n,r,i,a),c=0;c<l.length;c++){var u=l[c];0===c&&k.call(this,u.x1+e,u.y1+t),I.call(this,e,t,u.x2,u.y2,u.x3,u.y3,u.x4,u.y4)}s?C.call(this):A.call(this,o)},A=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},C=function(){this.pdf.clip(),this.pdf.discardPath()},k=function(e,t){this.pdf.internal.out(n(e)+" "+i(t)+" m")},T=function(e){var t;switch(e.align){case"right":case"end":t="right";break;case"center":t="center";break;default:t="left"}var n=this.ctx.transform.applyToPoint(new s(e.x,e.y)),r=this.ctx.transform.decompose(),i=new c;i=(i=(i=i.multiply(r.translate)).multiply(r.skew)).multiply(r.scale);for(var a,o,u,f=this.pdf.getTextDimensions(e.text),h=this.ctx.transform.applyToRectangle(new l(e.x,e.y,f.w,f.h)),d=i.applyToRectangle(new l(e.x,e.y-f.h,f.w,f.h)),p=v.call(this,d),g=[],m=0;m<p.length;m+=1)-1===g.indexOf(p[m])&&g.push(p[m]);if(w(g),!0===this.autoPaging)for(var b=g[0],S=g[g.length-1],E=b;E<S+1;E++){if(this.pdf.setPage(E),0!==this.ctx.clip_path.length){var _=this.path;a=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(a,this.posX,-1*this.pdf.internal.pageSize.height*(E-1)+this.posY),x.call(this,"fill",!0),this.path=_}var A=JSON.parse(JSON.stringify(h));A=y([A],this.posX,-1*this.pdf.internal.pageSize.height*(E-1)+this.posY)[0],e.scale>=.01&&(o=this.pdf.internal.getFontSize(),this.pdf.setFontSize(o*e.scale),u=this.lineWidth,this.lineWidth=u*e.scale),this.pdf.text(e.text,A.x,A.y,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(o),this.lineWidth=u)}else e.scale>=.01&&(o=this.pdf.internal.getFontSize(),this.pdf.setFontSize(o*e.scale),u=this.lineWidth,this.lineWidth=u*e.scale),this.pdf.text(e.text,n.x+this.posX,n.y+this.posY,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(o),this.lineWidth=u)},R=function(e,t,r,a){r=r||0,a=a||0,this.pdf.internal.out(n(e+r)+" "+i(t+a)+" l")},N=function(e,t,n){return this.pdf.lines(e,t,n,null,null)},I=function(e,n,r,i,s,l,c,u){this.pdf.internal.out([t(a(r+e)),t(o(i+n)),t(a(s+e)),t(o(l+n)),t(a(c+e)),t(o(u+n)),"c"].join(" "))},B=function(e,t,n,r){for(var i=2*Math.PI,a=Math.PI/2;t>n;)t-=i;var o=Math.abs(n-t);o<i&&r&&(o=i-o);for(var s=[],l=r?-1:1,c=t;o>1e-5;){var u=c+l*Math.min(o,a);s.push(O.call(this,e,c,u)),o-=Math.abs(u-c),c=u}return s},O=function(e,t,n){var r=(n-t)/2,i=e*Math.cos(r),a=e*Math.sin(r),o=i,s=-a,l=o*o+s*s,c=l+o*i+s*a,u=4/3*(Math.sqrt(2*l*c)-c)/(o*a-s*i),f=o-u*s,h=s+u*o,d=f,p=-h,g=r+t,m=Math.cos(g),v=Math.sin(g);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:f*m-h*v,y2:f*v+h*m,x3:d*m-p*v,y3:d*v+p*m,x4:e*Math.cos(n),y4:e*Math.sin(n)}},P=function(e){return 180*e/Math.PI},L=function(e,t,n,r,i,a){var o=e+.5*(n-e),s=t+.5*(r-t),c=i+.5*(n-i),u=a+.5*(r-a),f=Math.min(e,i,o,c),h=Math.max(e,i,o,c),d=Math.min(t,a,s,u),p=Math.max(t,a,s,u);return new l(f,d,h-f,p-d)},F=function(e,t,n,r,i,a,o,s){var c,u,f,h,d,p,g,m,v,b,y,w,S,x,E=n-e,_=r-t,A=i-n,C=a-r,k=o-i,T=s-a;for(u=0;u<41;u++)v=(g=(f=e+(c=u/40)*E)+c*((d=n+c*A)-f))+c*(d+c*(i+c*k-d)-g),b=(m=(h=t+c*_)+c*((p=r+c*C)-h))+c*(p+c*(a+c*T-p)-m),0==u?(y=v,w=b,S=v,x=b):(y=Math.min(y,v),w=Math.min(w,b),S=Math.max(S,v),x=Math.max(x,b));return new l(Math.round(y),Math.round(w),Math.round(S-y),Math.round(x-w))}}(B.API);try{require("worker_threads").Worker}catch(e){}var Le=Uint8Array,Fe=Uint16Array,De=Uint32Array,Me=new Le([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]),je=new Le([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]),We=new Le([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ue=function(e,t){for(var n=new Fe(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var i=new De(n[30]);for(r=1;r<30;++r)for(var a=n[r];a<n[r+1];++a)i[a]=a-n[r]<<5|r;return[n,i]},ze=Ue(Me,2),He=ze[0],Ve=ze[1];He[28]=258,Ve[258]=28;for(var qe=Ue(je,0),Ge=qe[0],Xe=qe[1],$e=new Fe(32768),Ye=0;Ye<32768;++Ye){var Ke=(43690&Ye)>>>1|(21845&Ye)<<1;Ke=(61680&(Ke=(52428&Ke)>>>2|(13107&Ke)<<2))>>>4|(3855&Ke)<<4,$e[Ye]=((65280&Ke)>>>8|(255&Ke)<<8)>>>1}var Je=function(e,t,n){for(var r=e.length,i=0,a=new Fe(t);i<r;++i)++a[e[i]-1];var o,s=new Fe(t);for(i=0;i<t;++i)s[i]=s[i-1]+a[i-1]<<1;if(n){o=new Fe(1<<t);var l=15-t;for(i=0;i<r;++i)if(e[i])for(var c=i<<4|e[i],u=t-e[i],f=s[e[i]-1]++<<u,h=f|(1<<u)-1;f<=h;++f)o[$e[f]>>>l]=c}else for(o=new Fe(r),i=0;i<r;++i)o[i]=$e[s[e[i]-1]++]>>>15-e[i];return o},Ze=new Le(288);for(Ye=0;Ye<144;++Ye)Ze[Ye]=8;for(Ye=144;Ye<256;++Ye)Ze[Ye]=9;for(Ye=256;Ye<280;++Ye)Ze[Ye]=7;for(Ye=280;Ye<288;++Ye)Ze[Ye]=8;var Qe=new Le(32);for(Ye=0;Ye<32;++Ye)Qe[Ye]=5;var et=Je(Ze,9,0),tt=Je(Ze,9,1),nt=Je(Qe,5,0),rt=Je(Qe,5,1),it=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},at=function(e,t,n){var r=t/8>>0;return(e[r]|e[r+1]<<8)>>>(7&t)&n},ot=function(e,t){var n=t/8>>0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>>(7&t)},st=function(e){return(e/8>>0)+(7&e&&1)},lt=function(e,t,n){(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length);var r=new(e instanceof Fe?Fe:e instanceof De?De:Le)(n-t);return r.set(e.subarray(t,n)),r},ct=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8},ut=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},ft=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var i=n.length,a=n.slice();if(!i)return[new Le(0),0];if(1==i){var o=new Le(n[0].s+1);return o[n[0].s]=1,[o,1]}n.sort((function(e,t){return e.f-t.f})),n.push({s:-1,f:25001});var s=n[0],l=n[1],c=0,u=1,f=2;for(n[0]={s:-1,f:s.f+l.f,l:s,r:l};u!=i-1;)s=n[n[c].f<n[f].f?c++:f++],l=n[c!=u&&n[c].f<n[f].f?c++:f++],n[u++]={s:-1,f:s.f+l.f,l:s,r:l};var h=a[0].s;for(r=1;r<i;++r)a[r].s>h&&(h=a[r].s);var d=new Fe(h+1),p=ht(n[u-1],d,0);if(p>t){r=0;var g=0,m=p-t,v=1<<m;for(a.sort((function(e,t){return d[t.s]-d[e.s]||e.f-t.f}));r<i;++r){var b=a[r].s;if(!(d[b]>t))break;g+=v-(1<<p-d[b]),d[b]=t}for(g>>>=m;g>0;){var y=a[r].s;d[y]<t?g-=1<<t-d[y]++-1:++r}for(;r>=0&&g;--r){var w=a[r].s;d[w]==t&&(--d[w],++g)}p=t}return[new Le(d),p]},ht=function(e,t,n){return-1==e.s?Math.max(ht(e.l,t,n+1),ht(e.r,t,n+1)):t[e.s]=n},dt=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new Fe(++t),r=0,i=e[0],a=1,o=function(e){n[r++]=e},s=1;s<=t;++s)if(e[s]==i&&s!=t)++a;else{if(!i&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(i),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(i);a=1,i=e[s]}return[n.subarray(0,r),t]},pt=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},gt=function(e,t,n){var r=n.length,i=st(t+2);e[i]=255&r,e[i+1]=r>>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var a=0;a<r;++a)e[i+a+4]=n[a];return 8*(i+4+r)},mt=function(e,t,n,r,i,a,o,s,l,c,u){ct(t,u++,n),++i[256];for(var f=ft(i,15),h=f[0],d=f[1],p=ft(a,15),g=p[0],m=p[1],v=dt(h),b=v[0],y=v[1],w=dt(g),S=w[0],x=w[1],E=new Fe(19),_=0;_<b.length;++_)E[31&b[_]]++;for(_=0;_<S.length;++_)E[31&S[_]]++;for(var A=ft(E,7),C=A[0],k=A[1],T=19;T>4&&!C[We[T-1]];--T);var R,N,I,B,O=c+5<<3,P=pt(i,Ze)+pt(a,Qe)+o,L=pt(i,h)+pt(a,g)+o+14+3*T+pt(E,C)+(2*E[16]+3*E[17]+7*E[18]);if(O<=P&&O<=L)return gt(t,u,e.subarray(l,l+c));if(ct(t,u,1+(L<P)),u+=2,L<P){R=Je(h,d,0),N=h,I=Je(g,m,0),B=g;var F=Je(C,k,0);for(ct(t,u,y-257),ct(t,u+5,x-1),ct(t,u+10,T-4),u+=14,_=0;_<T;++_)ct(t,u+3*_,C[We[_]]);u+=3*T;for(var D=[b,S],M=0;M<2;++M){var j=D[M];for(_=0;_<j.length;++_){var W=31&j[_];ct(t,u,F[W]),u+=C[W],W>15&&(ct(t,u,j[_]>>>5&127),u+=j[_]>>>12)}}}else R=et,N=Ze,I=nt,B=Qe;for(_=0;_<s;++_)if(r[_]>255){W=r[_]>>>18&31,ut(t,u,R[W+257]),u+=N[W+257],W>7&&(ct(t,u,r[_]>>>23&31),u+=Me[W]);var U=31&r[_];ut(t,u,I[U]),u+=B[U],U>3&&(ut(t,u,r[_]>>>5&8191),u+=je[U])}else ut(t,u,R[r[_]]),u+=N[r[_]];return ut(t,u,R[256]),u+N[256]},vt=new De([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),bt=new Le(0);function yt(e,t){void 0===t&&(t={});var n=function(){var e=1,t=0;return{p:function(n){for(var r=e,i=t,a=n.length,o=0;o!=a;){for(var s=Math.min(o+5552,a);o<s;++o)i+=r+=n[o];r%=65521,i%=65521}e=r,t=i},d:function(){return(e>>>8<<16|(255&t)<<8|t>>>8)+2*((255&e)<<23)}}}();n.p(e);var r=function(e,t,n,r,i){return function(e,t,n,r,i,a){var o=e.length,s=new Le(r+o+5*(1+Math.floor(o/7e3))+i),l=s.subarray(r,s.length-i),c=0;if(!t||o<8)for(var u=0;u<=o;u+=65535){var f=u+65535;f<o?c=gt(l,c,e.subarray(u,f)):(l[u]=a,c=gt(l,c,e.subarray(u,o)))}else{for(var h=vt[t-1],d=h>>>13,p=8191&h,g=(1<<n)-1,m=new Fe(32768),v=new Fe(g+1),b=Math.ceil(n/3),y=2*b,w=function(t){return(e[t]^e[t+1]<<b^e[t+2]<<y)&g},S=new De(25e3),x=new Fe(288),E=new Fe(32),_=0,A=0,C=(u=0,0),k=0,T=0;u<o;++u){var R=w(u),N=32767&u,I=v[R];if(m[N]=I,v[R]=N,k<=u){var B=o-u;if((_>7e3||C>24576)&&B>423){c=mt(e,l,0,S,x,E,A,C,T,u-T,c),C=_=A=0,T=u;for(var O=0;O<286;++O)x[O]=0;for(O=0;O<30;++O)E[O]=0}var P=2,L=0,F=p,D=N-I&32767;if(B>2&&R==w(u-D))for(var M=Math.min(d,B)-1,j=Math.min(32767,u),W=Math.min(258,B);D<=j&&--F&&N!=I;){if(e[u+P]==e[u+P-D]){for(var U=0;U<W&&e[u+U]==e[u+U-D];++U);if(U>P){if(P=U,L=D,U>M)break;var z=Math.min(D,U-2),H=0;for(O=0;O<z;++O){var V=u-D+O+32768&32767,q=V-m[V]+32768&32767;q>H&&(H=q,I=V)}}}D+=(N=I)-(I=m[N])+32768&32767}if(L){S[C++]=268435456|Ve[P]<<18|Xe[L];var G=31&Ve[P],X=31&Xe[L];A+=Me[G]+je[X],++x[257+G],++E[X],k=u+P,++_}else S[C++]=e[u],++x[e[u]]}}c=mt(e,l,a,S,x,E,A,C,T,u-T,c),a||(c=gt(l,c,bt))}return lt(s,0,r+st(c)+i)}(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,n,r,!i)}(e,t,2,4);return function(e,t){var n=t.level,r=0==n?0:n<6?1:9==n?3:2;e[0]=120,e[1]=r<<6|(r?32-2*r:1)}(r,t),function(e,t,n){for(;n;++t)e[t]=n,n>>>=8}(r,r.length-4,n.d()),r}!function(e){var t=function(e){var t,n,r,i,a,o,s,l,c,u;for(/[^\x00-\xFF]/.test(e),n=[],r=0,i=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;i>r;r+=4)0!==(a=(e.charCodeAt(r)<<24)+(e.charCodeAt(r+1)<<16)+(e.charCodeAt(r+2)<<8)+e.charCodeAt(r+3))?(o=(a=((a=((a=((a=(a-(u=a%85))/85)-(c=a%85))/85)-(l=a%85))/85)-(s=a%85))/85)%85,n.push(o+33,s+33,l+33,c+33,u+33)):n.push(122);return function(e,t){for(var n=t;n>0;n--)e.pop()}(n,t.length),String.fromCharCode.apply(String,n)+"~>"},n=function(e){var t,n,r,i,a,o=String,s="length",l=255,c="charCodeAt",u="slice",f="replace";for(e[u](-2),e=e[u](0,-2)[f](/\s/g,"")[f]("z","!!!!!"),r=[],i=0,a=(e+=t="uuuuu"[u](e[s]%5||5))[s];a>i;i+=5)n=52200625*(e[c](i)-33)+614125*(e[c](i+1)-33)+7225*(e[c](i+2)-33)+85*(e[c](i+3)-33)+(e[c](i+4)-33),r.push(l&n>>24,l&n>>16,l&n>>8,l&n);return function(e,t){for(var n=t;n>0;n--)e.pop()}(r,t[s]),o.fromCharCode.apply(o,r)},r=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var n="",r=0;r<e.length;r+=2)n+=String.fromCharCode("0x"+(e[r]+e[r+1]));return n},i=function(e){for(var t=new Uint8Array(e.length),n=e.length;n--;)t[n]=e.charCodeAt(n);return(t=yt(t)).reduce((function(e,t){return e+String.fromCharCode(t)}),"")};e.processDataByFilters=function(e,a){var o=0,s=e||"",l=[];for("string"==typeof(a=a||[])&&(a=[a]),o=0;o<a.length;o+=1)switch(a[o]){case"ASCII85Decode":case"/ASCII85Decode":s=n(s),l.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":s=t(s),l.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":s=r(s),l.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":s=s.split("").map((function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)})).join("")+">",l.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":s=i(s),l.push("/FlateDecode");break;default:throw new Error('The filter: "'+a[o]+'" is not implemented')}return{data:s,reverseChain:l.reverse().join(" ")}}}(B.API),function(e){e.loadFile=function(e,t,n){return function(e,t,n){t=!1!==t,n="function"==typeof n?n:function(){};var r=void 0;try{r=function(e,t,n){var r=new XMLHttpRequest,i=0,a=function(e){var t=e.length,n=[],r=String.fromCharCode;for(i=0;i<t;i+=1)n.push(r(255&e.charCodeAt(i)));return n.join("")};if(r.open("GET",e,!t),r.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(r.onload=function(){200===r.status?n(a(this.responseText)):n(void 0)}),r.send(null),t&&200===r.status)return a(r.responseText)}(e,t,n)}catch(e){}return r}(e,t,n)},e.loadImageFile=e.loadFile}(B.API),function(n){function r(){return(t.html2canvas?Promise.resolve(t.html2canvas):"object"==typeof e&&"undefined"!=typeof module?new Promise((function(e,t){try{e(require("html2canvas"))}catch(e){t(e)}})):"function"==typeof define&&define.amd?new Promise((function(e,t){try{require(["html2canvas"],e)}catch(e){t(e)}})):Promise.reject(new Error("Could not load html2canvas"))).catch((function(e){return Promise.reject(new Error("Could not load html2canvas: "+e))})).then((function(e){return e.default?e.default:e}))}function i(){return(t.DOMPurify?Promise.resolve(t.DOMPurify):"object"==typeof e&&"undefined"!=typeof module?new Promise((function(e,t){try{e(require("dompurify"))}catch(e){t(e)}})):"function"==typeof define&&define.amd?new Promise((function(e,t){try{require(["dompurify"],e)}catch(e){t(e)}})):Promise.reject(new Error("Could not load dompurify"))).catch((function(e){return Promise.reject(new Error("Could not load dompurify: "+e))})).then((function(e){return e.default?e.default:e}))}var a=function(e){var t=typeof e;return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},o=function(e,t){var n=document.createElement(e);for(var r in t.className&&(n.className=t.className),t.innerHTML&&t.dompurify&&(n.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)n.style[r]=t.style[r];return n},s=function(e,t){for(var n=3===e.nodeType?document.createTextNode(e.nodeValue):e.cloneNode(!1),r=e.firstChild;r;r=r.nextSibling)!0!==t&&1===r.nodeType&&"SCRIPT"===r.nodeName||n.appendChild(s(r,t));return 1===e.nodeType&&("CANVAS"===e.nodeName?(n.width=e.width,n.height=e.height,n.getContext("2d").drawImage(e,0,0)):"TEXTAREA"!==e.nodeName&&"SELECT"!==e.nodeName||(n.value=e.value),n.addEventListener("load",(function(){n.scrollTop=e.scrollTop,n.scrollLeft=e.scrollLeft}),!0)),n},l=function e(t){var n=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),r=e.convert(Promise.resolve(),n);return(r=r.setProgress(1,e,1,[e])).set(t)};(l.prototype=Object.create(Promise.prototype)).constructor=l,l.convert=function(e,t){return e.__proto__=t||l.prototype,e},l.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"}},l.prototype.from=function(e,t){return this.then((function(){switch(t=t||function(e){switch(a(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.then(i).then((function(t){return this.set({src:o("div",{innerHTML:e,dompurify:t})})}));case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},l.prototype.to=function(e){switch(e){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.")}},l.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 e={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},t=s(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=o("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=o("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(o("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"}))},l.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(r).then((function(e){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,e(this.prop.container,t)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},l.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(r).then((function(e){var t=this.opt.jsPDF,n=this.opt.fontFaces,r=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 r.onrendered,t.context2d.autoPaging=!0,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.fontFaces=n,n)for(var i=0;i<n.length;++i){var a=n[i],o=a.src.find((function(e){return"truetype"===e.format}));o&&t.addFont(o.url,a.ref.name,a.ref.style)}return r.windowHeight=r.windowHeight||0,r.windowHeight=0==r.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):r.windowHeight,e(this.prop.container,r)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},l.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e}))},l.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},l.prototype.output=function(e,t,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},l.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(e,t)}))},l.prototype.outputImg=function(e){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(e){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 "'+e+'" is not supported.'}}))},l.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},l.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},l.prototype.set=function(e){if("object"!==a(e))return this;var t=Object.keys(e||{}).map((function(t){if(t in l.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}}),this);return this.then((function(){return this.thenList(t)}))},l.prototype.get=function(e,t){return this.then((function(){var n=e in l.template.prop?this.prop[e]:this.opt[e];return t?t(n):n}))},l.prototype.setMargin=function(e){return this.then((function(){switch(a(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e})).then(this.setPageSize)},l.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then((function(){(e=e||B.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e}))},l.prototype.setProgress=function(e,t,n,r){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=n&&(this.progress.n=n),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},l.prototype.updateProgress=function(e,t,n,r){return this.setProgress(e?this.progress.val+e:null,t||null,n?this.progress.n+n:null,r?this.progress.stack.concat(r):null)},l.prototype.then=function(e,t){var n=this;return this.thenCore(e,t,(function(e,t){return n.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,(function(t){return n.updateProgress(null,e),t})).then(e,t).then((function(e){return n.updateProgress(1),e}))}))},l.prototype.thenCore=function(e,t,n){n=n||Promise.prototype.then,e&&(e=e.bind(this)),t&&(t=t.bind(this));var r=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:l.convert(Object.assign({},this),Promise.prototype),i=n.call(r,e,t);return l.convert(i,this.__proto__)},l.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},l.prototype.thenList=function(e){var t=this;return e.forEach((function(e){t=t.thenCore(e)})),t},l.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return l.convert(t,this)},l.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},l.prototype.error=function(e){return this.then((function(){throw new Error(e)}))},l.prototype.using=l.prototype.set,l.prototype.saveAs=l.prototype.save,l.prototype.export=l.prototype.output,l.prototype.run=l.prototype.then,B.getPageSize=function(e,t,n){if("object"==typeof e){var r=e;e=r.orientation,t=r.unit||t,n=r.format||n}t=t||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase();var i,a=(""+n).toLowerCase(),o={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(t){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: "+t}var s,l=0,c=0;if(o.hasOwnProperty(a))l=o[a][1]/i,c=o[a][0]/i;else try{l=n[1],c=n[0]}catch(e){throw new Error("Invalid format: "+n)}if("p"===e||"portrait"===e)e="p",c>l&&(s=c,c=l,l=s);else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",l>c&&(s=c,c=l,l=s)}return{width:c,height:l,unit:t,k:i,orientation:e}},n.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(Ce):null;var n=new l(t);return t.worker?n:n.from(e).doCallback()}}(B.API),function(e){var t,n,r;e.addJS=function(e){return r=e,this.internal.events.subscribe("postPutResources",(function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),n=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+r+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==t&&void 0!==n&&this.internal.out("/Names <</JavaScript "+t+" 0 R>>")})),this}}(B.API),function(e){var t;e.events.push(["postPutResources",function(){var e=this,n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var r=e.outline.render().split(/\r\n/),i=0;i<r.length;i++){var a=r[i],o=n.exec(a);if(null!=o){var s=o[1];e.internal.newObjectDeferredBegin(s,!1)}e.internal.write(a)}if(this.outline.createNamedDestinations){var l=this.internal.pages.length,c=[];for(i=0;i<l;i++){var u=e.internal.newObject();c.push(u);var f=e.internal.getPageInfo(i+1);e.internal.write("<< /D["+f.objId+" 0 R /XYZ null null null]>> endobj")}var h=e.internal.newObject();for(e.internal.write("<< /Names [ "),i=0;i<c.length;i++)e.internal.write("(page_"+(i+1)+")"+c[i]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+h+" 0 R"),e.internal.write(">>","endobj")}}]),e.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 "+t+" 0 R"))}]),e.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,n){var r={title:t,options:n,children:[]};return null==e&&(e=this.root),e.children.push(r),r},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var n=0;n<t.children.length;n++)this.genIds_r(t.children[n])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,r=0;r<t.children.length;r++){var i=t.children[r];this.objStart(i),this.line("/Title "+this.makeString(i.title)),this.line("/Parent "+this.makeRef(t)),r>0&&this.line("/Prev "+this.makeRef(t.children[r-1])),r<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[r+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 a=this.count=this.count_r({count:0},i);if(a>0&&this.line("/Count "+a),i.options&&i.options.pageNumber){var o=e.internal.getPageInfo(i.options.pageNumber);this.line("/Dest ["+o.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var s=0;s<t.children.length;s++)this.renderItems(t.children[s])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var n=0;n<t.children.length;n++)e.count++,this.count_r(e,t.children[n]);return e.count}}])}(B.API),function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(e,n,r,i,a,o){var s,l=this.decode.DCT_DECODE,c=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=a||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,(s=function(e){for(var n,r=256*e.charCodeAt(4)+e.charCodeAt(5),i=e.length,a={width:0,height:0,numcomponents:1},o=4;o<i;o+=2){if(o+=r,-1!==t.indexOf(e.charCodeAt(o+1))){n=256*e.charCodeAt(o+5)+e.charCodeAt(o+6),a={width:256*e.charCodeAt(o+7)+e.charCodeAt(o+8),height:n,numcomponents:e.charCodeAt(o+9)};break}r=256*e.charCodeAt(o+2)+e.charCodeAt(o+3)}return a}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:o=this.color_spaces.DEVICE_GRAY;break;case 4:o=this.color_spaces.DEVICE_CMYK;break;case 3:o=this.color_spaces.DEVICE_RGB}c={data:e,width:s.width,height:s.height,colorSpace:o,bitsPerComponent:8,filter:l,index:n,alias:r}}return c}}(B.API);var wt,St,xt,Et,_t,At=function(){var e,n,r;function i(e){var t,n,r,i,a,o,s,l,c,u,f,h,d,p;for(this.data=e,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},o=null;;){switch(t=this.readUInt32(),c=function(){var e,t;for(t=[],e=0;e<4;++e)t.push(String.fromCharCode(this.data[this.pos++]));return t}.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(t);break;case"fcTL":o&&this.animation.frames.push(o),this.pos+=4,o={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},a=this.readUInt16(),i=this.readUInt16()||100,o.delay=1e3*a/i,o.disposeOp=this.data[this.pos++],o.blendOp=this.data[this.pos++],o.data=[];break;case"IDAT":case"fdAT":for("fdAT"===c&&(this.pos+=4,t-=4),e=(null!=o?o.data:void 0)||this.imgData,h=0;0<=t?h<t:h>t;0<=t?++h:--h)e.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(r=this.palette.length/3,this.transparency.indexed=this.read(t),this.transparency.indexed.length>r)throw new Error("More transparent colors than palette size");if((u=r-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(t)[0];break;case 2:this.transparency.rgb=this.read(t)}break;case"tEXt":s=(f=this.read(t)).indexOf(0),l=String.fromCharCode.apply(String,f.slice(0,s)),this.text[l]=String.fromCharCode.apply(String,f.slice(s+1));break;case"IEND":return o&&this.animation.frames.push(o),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,n=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*n,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+=t}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}i.prototype.read=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;0<=e?++t:--t)n.push(this.data[this.pos++]);return n},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(e){var t=this.pixelBitlength/8,n=new Uint8Array(this.width*this.height*t),r=0,i=this;if(null==e&&(e=this.imgData),0===e.length)return new Uint8Array(0);function a(a,o,s,l){var c,u,f,h,d,p,g,m,v,b,y,w,S,x,E,_,A,C,k,T,R,N=Math.ceil((i.width-a)/s),I=Math.ceil((i.height-o)/l),B=i.width==N&&i.height==I;for(x=t*N,w=B?n:new Uint8Array(x*I),p=e.length,S=0,u=0;S<I&&r<p;){switch(e[r++]){case 0:for(h=A=0;A<x;h=A+=1)w[u++]=e[r++];break;case 1:for(h=C=0;C<x;h=C+=1)c=e[r++],d=h<t?0:w[u-t],w[u++]=(c+d)%256;break;case 2:for(h=k=0;k<x;h=k+=1)c=e[r++],f=(h-h%t)/t,E=S&&w[(S-1)*x+f*t+h%t],w[u++]=(E+c)%256;break;case 3:for(h=T=0;T<x;h=T+=1)c=e[r++],f=(h-h%t)/t,d=h<t?0:w[u-t],E=S&&w[(S-1)*x+f*t+h%t],w[u++]=(c+Math.floor((d+E)/2))%256;break;case 4:for(h=R=0;R<x;h=R+=1)c=e[r++],f=(h-h%t)/t,d=h<t?0:w[u-t],0===S?E=_=0:(E=w[(S-1)*x+f*t+h%t],_=f&&w[(S-1)*x+(f-1)*t+h%t]),g=d+E-_,m=Math.abs(g-d),b=Math.abs(g-E),y=Math.abs(g-_),v=m<=b&&m<=y?d:b<=y?E:_,w[u++]=(c+v)%256;break;default:throw new Error("Invalid filter algorithm: "+e[r-1])}if(!B){var O=((o+S*l)*i.width+a)*t,P=S*x;for(h=0;h<N;h+=1){for(var L=0;L<t;L+=1)n[O++]=w[P++];O+=(s-1)*t}}S++}}return e=function(e,t){return function(e,t,n){var r=e.length,i=!t||n,a=!n||n.i;n||(n={}),t||(t=new Le(3*r));var o=function(e){var n=t.length;if(e>n){var r=new Le(Math.max(2*n,e));r.set(t),t=r}},s=n.f||0,l=n.p||0,c=n.b||0,u=n.l,f=n.d,h=n.m,d=n.n,p=8*r;do{if(!u){n.f=s=at(e,l,1);var g=at(e,l+1,3);if(l+=3,!g){var m=e[(k=st(l)+4)-4]|e[k-3]<<8,v=k+m;if(v>r){if(a)throw"unexpected EOF";break}i&&o(c+m),t.set(e.subarray(k,v),c),n.b=c+=m,n.p=l=8*v;continue}if(1==g)u=tt,f=rt,h=9,d=5;else{if(2!=g)throw"invalid block type";var b=at(e,l,31)+257,y=at(e,l+10,15)+4,w=b+at(e,l+5,31)+1;l+=14;for(var S=new Le(w),x=new Le(19),E=0;E<y;++E)x[We[E]]=at(e,l+3*E,7);l+=3*y;var _=it(x),A=(1<<_)-1;if(!a&&l+w*(_+7)>p)break;var C=Je(x,_,1);for(E=0;E<w;){var k,T=C[at(e,l,A)];if(l+=15&T,(k=T>>>4)<16)S[E++]=k;else{var R=0,N=0;for(16==k?(N=3+at(e,l,3),l+=2,R=S[E-1]):17==k?(N=3+at(e,l,7),l+=3):18==k&&(N=11+at(e,l,127),l+=7);N--;)S[E++]=R}}var I=S.subarray(0,b),B=S.subarray(b);h=it(I),d=it(B),u=Je(I,h,1),f=Je(B,d,1)}if(l>p)throw"unexpected EOF"}i&&o(c+131072);for(var O=(1<<h)-1,P=(1<<d)-1,L=h+d+18;a||l+L<p;){var F=(R=u[ot(e,l)&O])>>>4;if((l+=15&R)>p)throw"unexpected EOF";if(!R)throw"invalid length/literal";if(F<256)t[c++]=F;else{if(256==F){u=null;break}var D=F-254;if(F>264){var M=Me[E=F-257];D=at(e,l,(1<<M)-1)+He[E],l+=M}var j=f[ot(e,l)&P],W=j>>>4;if(!j)throw"invalid distance";if(l+=15&j,B=Ge[W],W>3&&(M=je[W],B+=ot(e,l)&(1<<M)-1,l+=M),l>p)throw"unexpected EOF";i&&o(c+131072);for(var U=c+D;c<U;c+=4)t[c]=t[c-B],t[c+1]=t[c+1-B],t[c+2]=t[c+2-B],t[c+3]=t[c+3-B];c=U}}n.l=u,n.p=l,n.b=c,u&&(s=1,n.m=h,n.d=f,n.n=d)}while(!s);return c==t.length?t:lt(t,0,c)}((function(e){if(8!=(15&e[0])||e[0]>>>4>7||(e[0]<<8|e[1])%31)throw"invalid zlib data";if(32&e[1])throw"invalid zlib data: preset dictionaries not supported"}(e),e.subarray(2,-4)),t)}(e),1==i.interlaceMethod?(a(0,0,8,8),a(4,0,8,8),a(0,4,4,8),a(2,0,4,4),a(0,2,2,4),a(1,0,2,2),a(0,1,1,2)):a(0,0,1,1),n},i.prototype.decodePalette=function(){var e,t,n,r,i,a,o,s,l;for(n=this.palette,a=this.transparency.indexed||[],i=new Uint8Array((a.length||0)+n.length),r=0,e=0,t=o=0,s=n.length;o<s;t=o+=3)i[r++]=n[t],i[r++]=n[t+1],i[r++]=n[t+2],i[r++]=null!=(l=a[e++])?l:255;return i},i.prototype.copyToImageData=function(e,t){var n,r,i,a,o,s,l,c,u,f,h;if(r=this.colors,u=null,n=this.hasAlphaChannel,this.palette.length&&(u=null!=(h=this._decodedPalette)?h:this._decodedPalette=this.decodePalette(),r=4,n=!0),c=(i=e.data||e).length,o=u||t,a=s=0,1===r)for(;a<c;)l=u?4*t[a/4]:s,f=o[l++],i[a++]=f,i[a++]=f,i[a++]=f,i[a++]=n?o[l++]:255,s=l;else for(;a<c;)l=u?4*t[a/4]:s,i[a++]=o[l++],i[a++]=o[l++],i[a++]=o[l++],i[a++]=n?o[l++]:255,s=l},i.prototype.decode=function(){var e;return e=new Uint8Array(this.width*this.height*4),this.copyToImageData(e,this.decodePixels()),e};var a=function(){if("[object Window]"===Object.prototype.toString.call(t)){try{n=t.document.createElement("canvas"),r=n.getContext("2d")}catch(e){return!1}return!0}return!1};return a(),e=function(e){var t;if(!0===a())return r.width=e.width,r.height=e.height,r.clearRect(0,0,e.width,e.height),r.putImageData(e,0,0),(t=new Image).src=n.toDataURL(),t;throw new Error("This method requires a Browser with Canvas-capability.")},i.prototype.decodeFrames=function(t){var n,r,i,a,o,s,l,c;if(this.animation){for(c=[],r=o=0,s=(l=this.animation.frames).length;o<s;r=++o)n=l[r],i=t.createImageData(n.width,n.height),a=this.decodePixels(new Uint8Array(n.data)),this.copyToImageData(i,a),n.imageData=i,c.push(n.image=e(i));return c}},i.prototype.renderFrame=function(e,t){var n,r,i;return n=(r=this.animation.frames)[t],i=r[t-1],0===t&&e.clearRect(0,0,this.width,this.height),1===(null!=i?i.disposeOp:void 0)?e.clearRect(i.xOffset,i.yOffset,i.width,i.height):2===(null!=i?i.disposeOp:void 0)&&e.putImageData(i.imageData,i.xOffset,i.yOffset),0===n.blendOp&&e.clearRect(n.xOffset,n.yOffset,n.width,n.height),e.drawImage(n.image,n.xOffset,n.yOffset)},i.prototype.animate=function(e){var t,n,r,i,a,o,s=this;return n=0,o=this.animation,i=o.numFrames,r=o.frames,a=o.numPlays,(t=function(){var o,l;if(o=n++%i,l=r[o],s.renderFrame(e,o),i>1&&n/i<a)return s.animation._timeout=setTimeout(t,l.delay)})()},i.prototype.stopAnimation=function(){var e;return clearTimeout(null!=(e=this.animation)?e._timeout:void 0)},i.prototype.render=function(e){var t,n;return e._png&&e._png.stopAnimation(),e._png=this,e.width=this.width,e.height=this.height,t=e.getContext("2d"),this.animation?(this.decodeFrames(t),this.animate(t)):(n=t.createImageData(this.width,this.height),this.copyToImageData(n,this.decodePixels()),t.putImageData(n,0,0))},i}();function Ct(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw new Error("Invalid GIF 87a/89a header.");var n=e[t++]|e[t++]<<8,r=e[t++]|e[t++]<<8,i=e[t++],a=i>>7,o=1<<1+(7&i);e[t++],e[t++];var s=null,l=null;a&&(s=t,l=o,t+=3*o);var c=!0,u=[],f=0,h=null,d=0,p=null;for(this.width=n,this.height=r;c&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,p=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((k=e[t++])>=0))throw Error("Invalid block size");if(0===k)break;t+=k}break;case 249:if(4!==e[t++]||0!==e[t+4])throw new Error("Invalid graphics extension block.");var g=e[t++];f=e[t++]|e[t++]<<8,h=e[t++],0==(1&g)&&(h=null),d=g>>2&7,t++;break;case 254:for(;;){if(!((k=e[t++])>=0))throw Error("Invalid block size");if(0===k)break;t+=k}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var m=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,b=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,w=e[t++],S=w>>6&1,x=1<<1+(7&w),E=s,_=l,A=!1;w>>7&&(A=!0,E=t,_=x,t+=3*x);var C=t;for(t++;;){var k;if(!((k=e[t++])>=0))throw Error("Invalid block size");if(0===k)break;t+=k}u.push({x:m,y:v,width:b,height:y,has_local_palette:A,palette_offset:E,palette_size:_,data_offset:C,data_length:t-C,transparent_index:h,interlaced:!!S,delay:f,disposal:d});break;case 59:c=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return p},this.frameInfo=function(e){if(e<0||e>=u.length)throw new Error("Frame index out of range.");return u[e]},this.decodeAndBlitFrameBGRA=function(t,r){var i=this.frameInfo(t),a=i.width*i.height,o=new Uint8Array(a);kt(e,i.data_offset,o,a);var s=i.palette_offset,l=i.transparent_index;null===l&&(l=256);var c=i.width,u=n-c,f=c,h=4*(i.y*n+i.x),d=4*((i.y+i.height)*n+i.x),p=h,g=4*u;!0===i.interlaced&&(g+=4*n*7);for(var m=8,v=0,b=o.length;v<b;++v){var y=o[v];if(0===f&&(f=c,(p+=g)>=d&&(g=4*u+4*n*(m-1),p=h+(c+u)*(m<<1),m>>=1)),y===l)p+=4;else{var w=e[s+3*y],S=e[s+3*y+1],x=e[s+3*y+2];r[p++]=x,r[p++]=S,r[p++]=w,r[p++]=255}--f}},this.decodeAndBlitFrameRGBA=function(t,r){var i=this.frameInfo(t),a=i.width*i.height,o=new Uint8Array(a);kt(e,i.data_offset,o,a);var s=i.palette_offset,l=i.transparent_index;null===l&&(l=256);var c=i.width,u=n-c,f=c,h=4*(i.y*n+i.x),d=4*((i.y+i.height)*n+i.x),p=h,g=4*u;!0===i.interlaced&&(g+=4*n*7);for(var m=8,v=0,b=o.length;v<b;++v){var y=o[v];if(0===f&&(f=c,(p+=g)>=d&&(g=4*u+4*n*(m-1),p=h+(c+u)*(m<<1),m>>=1)),y===l)p+=4;else{var w=e[s+3*y],S=e[s+3*y+1],x=e[s+3*y+2];r[p++]=w,r[p++]=S,r[p++]=x,r[p++]=255}--f}}}function kt(e,t,n,i){for(var a=e[t++],o=1<<a,s=o+1,l=s+1,c=a+1,u=(1<<c)-1,f=0,h=0,d=0,p=e[t++],g=new Int32Array(4096),m=null;;){for(;f<16&&0!==p;)h|=e[t++]<<f,f+=8,1===p?p=e[t++]:--p;if(f<c)break;var v=h&u;if(h>>=c,f-=c,v!==o){if(v===s)break;for(var b=v<l?v:m,y=0,w=b;w>o;)w=g[w]>>8,++y;var S=w;if(d+y+(b!==v?1:0)>i)return void r.log("Warning, gif stream longer than expected.");n[d++]=S;var x=d+=y;for(b!==v&&(n[d++]=S),w=b;y--;)w=g[w],n[--x]=255&w,w>>=8;null!==m&&l<4096&&(g[l++]=m<<8|S,l>=u+1&&c<12&&(++c,u=u<<1|1)),m=v}else l=s+1,u=(1<<(c=a+1))-1,m=null}return d!==i&&r.log("Warning, gif stream shorter than expected."),n}function Tt(e){var t,n,r,i,a,o=Math.floor,s=new Array(64),l=new Array(64),c=new Array(64),u=new Array(64),f=new Array(65535),h=new Array(65535),d=new Array(64),p=new Array(64),g=[],m=0,v=7,b=new Array(64),y=new Array(64),w=new Array(64),S=new Array(256),x=new Array(2048),E=[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],_=[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],C=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],k=[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],T=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],R=[0,1,2,3,4,5,6,7,8,9,10,11],N=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],I=[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 B(e,t){for(var n=0,r=0,i=new Array,a=1;a<=16;a++){for(var o=1;o<=e[a];o++)i[t[r]]=[],i[t[r]][0]=n,i[t[r]][1]=a,r++,n++;n*=2}return i}function O(e){for(var t=e[0],n=e[1]-1;n>=0;)t&1<<n&&(m|=1<<v),n--,--v<0&&(255==m?(P(255),P(0)):P(m),v=7,m=0)}function P(e){g.push(e)}function L(e){P(e>>8&255),P(255&e)}function F(e,t,n,r,i){for(var a,o=i[0],s=i[240],l=function(e,t){var n,r,i,a,o,s,l,c,u,f,h=0;for(u=0;u<8;++u){n=e[h],r=e[h+1],i=e[h+2],a=e[h+3],o=e[h+4],s=e[h+5],l=e[h+6];var p=n+(c=e[h+7]),g=n-c,m=r+l,v=r-l,b=i+s,y=i-s,w=a+o,S=a-o,x=p+w,E=p-w,_=m+b,A=m-b;e[h]=x+_,e[h+4]=x-_;var C=.707106781*(A+E);e[h+2]=E+C,e[h+6]=E-C;var k=.382683433*((x=S+y)-(A=v+g)),T=.5411961*x+k,R=1.306562965*A+k,N=.707106781*(_=y+v),I=g+N,B=g-N;e[h+5]=B+T,e[h+3]=B-T,e[h+1]=I+R,e[h+7]=I-R,h+=8}for(h=0,u=0;u<8;++u){n=e[h],r=e[h+8],i=e[h+16],a=e[h+24],o=e[h+32],s=e[h+40],l=e[h+48];var O=n+(c=e[h+56]),P=n-c,L=r+l,F=r-l,D=i+s,M=i-s,j=a+o,W=a-o,U=O+j,z=O-j,H=L+D,V=L-D;e[h]=U+H,e[h+32]=U-H;var q=.707106781*(V+z);e[h+16]=z+q,e[h+48]=z-q;var G=.382683433*((U=W+M)-(V=F+P)),X=.5411961*U+G,$=1.306562965*V+G,Y=.707106781*(H=M+F),K=P+Y,J=P-Y;e[h+40]=J+X,e[h+24]=J-X,e[h+8]=K+$,e[h+56]=K-$,h++}for(u=0;u<64;++u)f=e[u]*t[u],d[u]=f>0?f+.5|0:f-.5|0;return d}(e,t),c=0;c<64;++c)p[E[c]]=l[c];var u=p[0]-n;n=p[0],0==u?O(r[0]):(O(r[h[a=32767+u]]),O(f[a]));for(var g=63;g>0&&0==p[g];)g--;if(0==g)return O(o),n;for(var m,v=1;v<=g;){for(var b=v;0==p[v]&&v<=g;)++v;var y=v-b;if(y>=16){m=y>>4;for(var w=1;w<=m;++w)O(s);y&=15}a=32767+p[v],O(i[(y<<4)+h[a]]),O(f[a]),v++}return 63!=g&&O(o),n}function D(e){e=Math.min(Math.max(e,1),100),a!=e&&(function(e){for(var t=[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],n=0;n<64;n++){var r=o((t[n]*e+50)/100);r=Math.min(Math.max(r,1),255),s[E[n]]=r}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],a=0;a<64;a++){var f=o((i[a]*e+50)/100);f=Math.min(Math.max(f,1),255),l[E[a]]=f}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],d=0,p=0;p<8;p++)for(var g=0;g<8;g++)c[d]=1/(s[E[d]]*h[p]*h[g]*8),u[d]=1/(l[E[d]]*h[p]*h[g]*8),d++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),a=e)}this.encode=function(e,a){a&&D(a),g=new Array,m=0,v=7,L(65496),L(65504),L(16),P(74),P(70),P(73),P(70),P(0),P(1),P(1),P(0),L(1),L(1),P(0),P(0),function(){L(65499),L(132),P(0);for(var e=0;e<64;e++)P(s[e]);P(1);for(var t=0;t<64;t++)P(l[t])}(),function(e,t){L(65472),L(17),P(8),L(t),L(e),P(3),P(1),P(17),P(0),P(2),P(17),P(1),P(3),P(17),P(1)}(e.width,e.height),function(){L(65476),L(418),P(0);for(var e=0;e<16;e++)P(_[e+1]);for(var t=0;t<=11;t++)P(A[t]);P(16);for(var n=0;n<16;n++)P(C[n+1]);for(var r=0;r<=161;r++)P(k[r]);P(1);for(var i=0;i<16;i++)P(T[i+1]);for(var a=0;a<=11;a++)P(R[a]);P(17);for(var o=0;o<16;o++)P(N[o+1]);for(var s=0;s<=161;s++)P(I[s])}(),L(65498),L(12),P(3),P(1),P(0),P(2),P(17),P(3),P(17),P(0),P(63),P(0);var o=0,f=0,h=0;m=0,v=7,this.encode.displayName="_encode_";for(var d,p,S,E,B,M,j,W,U,z=e.data,H=e.width,V=e.height,q=4*H,G=0;G<V;){for(d=0;d<q;){for(B=q*G+d,j=-1,W=0,U=0;U<64;U++)M=B+(W=U>>3)*q+(j=4*(7&U)),G+W>=V&&(M-=q*(G+1+W-V)),d+j>=q&&(M-=d+j-q+4),p=z[M++],S=z[M++],E=z[M++],b[U]=(x[p]+x[S+256>>0]+x[E+512>>0]>>16)-128,y[U]=(x[p+768>>0]+x[S+1024>>0]+x[E+1280>>0]>>16)-128,w[U]=(x[p+1280>>0]+x[S+1536>>0]+x[E+1792>>0]>>16)-128;o=F(b,c,o,t,r),f=F(y,u,f,n,i),h=F(w,u,h,n,i),d+=32}G+=8}if(v>=0){var X=[];X[1]=v+1,X[0]=(1<<v+1)-1,O(X)}return L(65497),new Uint8Array(g)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)S[t]=e(t)}(),t=B(_,A),n=B(T,R),r=B(C,k),i=B(N,I),function(){for(var e=1,t=2,n=1;n<=15;n++){for(var r=e;r<t;r++)h[32767+r]=n,f[32767+r]=[],f[32767+r][1]=n,f[32767+r][0]=r;for(var i=-(t-1);i<=-e;i++)h[32767+i]=n,f[32767+i]=[],f[32767+i][1]=n,f[32767+i][0]=t-1+i;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)x[e]=19595*e,x[e+256>>0]=38470*e,x[e+512>>0]=7471*e+32768,x[e+768>>0]=-11059*e,x[e+1024>>0]=-21709*e,x[e+1280>>0]=32768*e+8421375,x[e+1536>>0]=-27439*e,x[e+1792>>0]=-5329*e}(),D(e)}function Rt(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,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 Nt(e){function t(e){if(!e)throw Error("assert :P")}function n(e,t,n){for(var r=0;4>r;r++)if(e[t+r]!=n.charCodeAt(r))return!0;return!1}function r(e,t,n,r,i){for(var a=0;a<i;a++)e[t+a]=n[r+a]}function i(e,t,n,r){for(var i=0;i<r;i++)e[t+i]=n}function a(e){return new Int32Array(e)}function o(e,t){for(var n=[],r=0;r<e;r++)n.push(new t);return n}function s(e,t){var n=[];return function e(n,r,i){for(var a=i[r],o=0;o<a&&(n.push(i.length>r+1?[]:new t),!(i.length<r+1));o++)e(n[o],r+1,i)}(n,0,e),n}function l(e,t){for(var n="",r=0;r<4;r++)n+=String.fromCharCode(e[t++]);return n}function c(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16)>>>0}function u(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}new(Nt=function(){var e=this;function l(e,t){for(var n=1<<t-1>>>0;e&n;)n>>>=1;return n?(e&n-1)+n:e}function c(e,n,r,i,a){t(!(i%r));do{e[n+(i-=r)]=a}while(0<i)}function u(e,n,r,i,o){if(t(2328>=o),512>=o)var s=a(512);else if(null==(s=a(o)))return 0;return function(e,n,r,i,o,s){var u,h,d=n,p=1<<r,g=a(16),m=a(16);for(t(0!=o),t(null!=i),t(null!=e),t(0<r),h=0;h<o;++h){if(15<i[h])return 0;++g[i[h]]}if(g[0]==o)return 0;for(m[1]=0,u=1;15>u;++u){if(g[u]>1<<u)return 0;m[u+1]=m[u]+g[u]}for(h=0;h<o;++h)u=i[h],0<i[h]&&(s[m[u]++]=h);if(1==m[15])return(i=new f).g=0,i.value=s[0],c(e,d,1,p,i),p;var v,b=-1,y=p-1,w=0,S=1,x=1,E=1<<r;for(h=0,u=1,o=2;u<=r;++u,o<<=1){if(S+=x<<=1,0>(x-=g[u]))return 0;for(;0<g[u];--g[u])(i=new f).g=u,i.value=s[h++],c(e,d+w,o,E,i),w=l(w,u)}for(u=r+1,o=2;15>=u;++u,o<<=1){if(S+=x<<=1,0>(x-=g[u]))return 0;for(;0<g[u];--g[u]){if(i=new f,(w&y)!=b){for(d+=E,v=1<<(b=u)-r;15>b&&!(0>=(v-=g[b]));)++b,v<<=1;p+=E=1<<(v=b-r),e[n+(b=w&y)].g=v+r,e[n+b].value=d-n-b}i.g=u-r,i.value=s[h++],c(e,d+(w>>r),o,E,i),w=l(w,u)}}return S!=2*m[15]-1?0:p}(e,n,r,i,o,s)}function f(){this.value=this.g=0}function h(){this.value=this.g=0}function d(){this.G=o(5,f),this.H=a(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=o(jn,h)}function p(e,n,r,i){t(null!=e),t(null!=n),t(2147483648>i),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=n,e.pa=r,e.Jd=n,e.Yc=r+i,e.Zc=4<=i?r+i-4+1:r,C(e)}function g(e,t){for(var n=0;0<t--;)n|=T(e,128)<<t;return n}function m(e,t){var n=g(e,t);return k(e)?-n:n}function v(e,n,r,i){var a,o=0;for(t(null!=e),t(null!=n),t(4294967288>i),e.Sb=i,e.Ra=0,e.u=0,e.h=0,4<i&&(i=4),a=0;a<i;++a)o+=n[r+a]<<8*a;e.Ra=o,e.bb=i,e.oa=n,e.pa=r}function b(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<zn-8>>>0,++e.bb,e.u-=8;E(e)&&(e.h=1,e.u=0)}function y(e,n){if(t(0<=n),!e.h&&n<=Un){var r=x(e)&Wn[n];return e.u+=n,b(e),r}return e.h=1,e.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(e){return e.Ra>>>(e.u&zn-1)>>>0}function E(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>zn}function _(e,t){e.u=t,e.h=E(e)}function A(e){e.u>=Hn&&(t(e.u>=Hn),b(e))}function C(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function k(e){return g(e,1)}function T(e,t){var n=e.Ca;0>e.b&&C(e);var r=e.b,i=n*t>>>8,a=(e.I>>>r>i)+0;for(a?(n-=i,e.I-=i+1<<r>>>0):n=i+1,r=n,i=0;256<=r;)i+=8,r>>=8;return r=7^i+Vn[r],e.b-=r,e.Ca=(n<<r)-1,a}function R(e,t,n){e[t+0]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=n>>0&255}function N(e,t){return e[t+0]<<0|e[t+1]<<8}function I(e,t){return N(e,t)|e[t+2]<<16}function B(e,t){return N(e,t)|N(e,t+2)<<16}function O(e,n){var r=1<<n;return t(null!=e),t(0<n),e.X=a(r),null==e.X?0:(e.Mb=32-n,e.Xa=n,1)}function P(e,n){t(null!=e),t(null!=n),t(e.Xa==n.Xa),r(n.X,0,e.X,0,1<<n.Xa)}function L(){this.X=[],this.Xa=this.Mb=0}function F(e,n,r,i){t(null!=r),t(null!=i);var a=r[0],o=i[0];return 0==a&&(a=(e*o+n/2)/n),0==o&&(o=(n*a+e/2)/e),0>=a||0>=o?0:(r[0]=a,i[0]=o,1)}function D(e,t){return e+(1<<t)-1>>>t}function M(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16711935&e)+(16711935&t)>>>0&16711935)>>>0}function j(t,n){e[n]=function(n,r,i,a,o,s,l){var c;for(c=0;c<o;++c){var u=e[t](s[l+c-1],i,a+c);s[l+c]=M(n[r+c],u)}}}function W(){this.ud=this.hd=this.jd=0}function U(e,t){return((4278124286&(e^t))>>>1)+(e&t)>>>0}function z(e){return 0<=e&&256>e?e:0>e?0:255<e?255:void 0}function H(e,t){return z(e+(e-t+.5>>1))}function V(e,t,n){return Math.abs(t-n)-Math.abs(e-n)}function q(e,t,n,r,i,a,o){for(r=a[o-1],n=0;n<i;++n)a[o+n]=r=M(e[t+n],r)}function G(e,t,n,r,i){var a;for(a=0;a<n;++a){var o=e[t+a],s=o>>8&255,l=16711935&(l=(l=16711935&o)+((s<<16)+s));r[i+a]=(4278255360&o)+l>>>0}}function X(e,t){t.jd=e>>0&255,t.hd=e>>8&255,t.ud=e>>16&255}function $(e,t,n,r,i,a){var o;for(o=0;o<r;++o){var s=t[n+o],l=s>>>8,c=s,u=255&(u=(u=s>>>16)+((e.jd<<24>>24)*(l<<24>>24)>>>5));c=255&(c=(c+=(e.hd<<24>>24)*(l<<24>>24)>>>5)+((e.ud<<24>>24)*(u<<24>>24)>>>5)),i[a+o]=(4278255360&s)+(u<<16)+c}}function Y(t,n,r,i,a){e[n]=function(e,t,n,r,o,s,l,c,u){for(r=l;r<c;++r)for(l=0;l<u;++l)o[s++]=a(n[i(e[t++])])},e[t]=function(t,n,o,s,l,c,u){var f=8>>t.b,h=t.Ea,d=t.K[0],p=t.w;if(8>f)for(t=(1<<t.b)-1,p=(1<<f)-1;n<o;++n){var g,m=0;for(g=0;g<h;++g)g&t||(m=i(s[l++])),c[u++]=a(d[m&p]),m>>=f}else e["VP8LMapColor"+r](s,l,d,p,c,u,n,o,h)}}function K(e,t,n,r,i){for(n=t+n;t<n;){var a=e[t++];r[i++]=a>>16&255,r[i++]=a>>8&255,r[i++]=a>>0&255}}function J(e,t,n,r,i){for(n=t+n;t<n;){var a=e[t++];r[i++]=a>>16&255,r[i++]=a>>8&255,r[i++]=a>>0&255,r[i++]=a>>24&255}}function Z(e,t,n,r,i){for(n=t+n;t<n;){var a=(o=e[t++])>>16&240|o>>12&15,o=o>>0&240|o>>28&15;r[i++]=a,r[i++]=o}}function Q(e,t,n,r,i){for(n=t+n;t<n;){var a=(o=e[t++])>>16&248|o>>13&7,o=o>>5&224|o>>3&31;r[i++]=a,r[i++]=o}}function ee(e,t,n,r,i){for(n=t+n;t<n;){var a=e[t++];r[i++]=a>>0&255,r[i++]=a>>8&255,r[i++]=a>>16&255}}function te(e,t,n,i,a,o){if(0==o)for(n=t+n;t<n;)R(i,((o=e[t++])[0]>>24|o[1]>>8&65280|o[2]<<8&16711680|o[3]<<24)>>>0),a+=32;else r(i,a,e,t,n)}function ne(t,n){e[n][0]=e[t+"0"],e[n][1]=e[t+"1"],e[n][2]=e[t+"2"],e[n][3]=e[t+"3"],e[n][4]=e[t+"4"],e[n][5]=e[t+"5"],e[n][6]=e[t+"6"],e[n][7]=e[t+"7"],e[n][8]=e[t+"8"],e[n][9]=e[t+"9"],e[n][10]=e[t+"10"],e[n][11]=e[t+"11"],e[n][12]=e[t+"12"],e[n][13]=e[t+"13"],e[n][14]=e[t+"0"],e[n][15]=e[t+"0"]}function re(e){return e==Hr||e==Vr||e==qr||e==Gr}function ie(){this.eb=[],this.size=this.A=this.fb=0}function ae(){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 oe(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ie,this.f.kb=new ae,this.sd=null}function se(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function le(){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 ce(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function ue(e,t){var n=e.T,i=t.ba.f.RGBA,a=i.eb,o=i.fb+e.ka*i.A,s=vi[t.ba.S],l=e.y,c=e.O,u=e.f,f=e.N,h=e.ea,d=e.W,p=t.cc,g=t.dc,m=t.Mc,v=t.Nc,b=e.ka,y=e.ka+e.T,w=e.U,S=w+1>>1;for(0==b?s(l,c,null,null,u,f,h,d,u,f,h,d,a,o,null,null,w):(s(t.ec,t.fc,l,c,p,g,m,v,u,f,h,d,a,o-i.A,a,o,w),++n);b+2<y;b+=2)p=u,g=f,m=h,v=d,f+=e.Rc,d+=e.Rc,o+=2*i.A,s(l,(c+=2*e.fa)-e.fa,l,c,p,g,m,v,u,f,h,d,a,o-i.A,a,o,w);return c+=e.fa,e.j+y<e.o?(r(t.ec,t.fc,l,c,w),r(t.cc,t.dc,u,f,S),r(t.Mc,t.Nc,h,d,S),n--):1&y||s(l,c,null,null,u,f,h,d,u,f,h,d,a,o+i.A,null,null,w),n}function fe(e,n,r){var i=e.F,a=[e.J];if(null!=i){var o=e.U,s=n.ba.S,l=s==Wr||s==qr;n=n.ba.f.RGBA;var c=[0],u=e.ka;c[0]=e.T,e.Kb&&(0==u?--c[0]:(--u,a[0]-=e.width),e.j+e.ka+e.T==e.o&&(c[0]=e.o-e.j-u));var f=n.eb;u=n.fb+u*n.A,e=Ar(i,a[0],e.width,o,c,f,u+(l?0:3),n.A),t(r==c),e&&re(s)&&Er(f,u,l,o,c,n.A)}return 0}function he(e){var t=e.ma,n=t.ba.S,r=11>n,i=n==Dr||n==jr||n==Wr||n==Ur||12==n||re(n);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!Fn(t.Oa,e,i?11:12))return 0;if(i&&re(n)&&yn(),e.da)alert("todo:use_scaling");else{if(r){if(t.Ib=ce,e.Kb){if(n=e.U+1>>1,t.memory=a(e.U+2*n),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+e.U,t.Mc=t.cc,t.Nc=t.dc+n,t.Ib=ue,yn()}}else alert("todo:EmitYUV");i&&(t.Jb=fe,r&&vn())}if(r&&!Ii){for(e=0;256>e;++e)Bi[e]=89858*(e-128)+Ci>>Ai,Li[e]=-22014*(e-128)+Ci,Pi[e]=-45773*(e-128),Oi[e]=113618*(e-128)+Ci>>Ai;for(e=ki;e<Ti;++e)t=76283*(e-16)+Ci>>Ai,Fi[e-ki]=qe(t,255),Di[e-ki]=qe(t+8>>4,15);Ii=1}return 1}function de(e){var n=e.ma,r=e.U,i=e.T;return t(!(1&e.ka)),0>=r||0>=i?0:(r=n.Ib(e,n),null!=n.Jb&&n.Jb(e,n,r),n.Dc+=r,1)}function pe(e){e.ma.memory=null}function ge(e,t,n,r){return 47!=y(e,8)?0:(t[0]=y(e,14)+1,n[0]=y(e,14)+1,r[0]=y(e,1),0!=y(e,3)?0:!e.h)}function me(e,t){if(4>e)return e+1;var n=e-2>>1;return(2+(1&e)<<n)+y(t,n)+1}function ve(e,t){return 120<t?t-120:1<=(n=((n=Zr[t-1])>>4)*e+(8-(15&n)))?n:1;var n}function be(e,t,n){var r=x(n),i=e[t+=255&r].g-8;return 0<i&&(_(n,n.u+8),r=x(n),t+=e[t].value,t+=r&(1<<i)-1),_(n,n.u+e[t].g),e[t].value}function ye(e,n,r){return r.g+=e.g,r.value+=e.value<<n>>>0,t(8>=r.g),e.g}function we(e,n,r){var i=e.xc;return t((n=0==i?0:e.vc[e.md*(r>>i)+(n>>i)])<e.Wb),e.Ya[n]}function Se(e,n,i,a){var o=e.ab,s=e.c*n,l=e.C;n=l+n;var c=i,u=a;for(a=e.Ta,i=e.Ua;0<o--;){var f=e.gc[o],h=l,d=n,p=c,g=u,m=(u=a,c=i,f.Ea);switch(t(h<d),t(d<=f.nc),f.hc){case 2:Xn(p,g,(d-h)*m,u,c);break;case 0:var v=h,b=d,y=u,w=c,S=(C=f).Ea;0==v&&(qn(p,g,null,null,1,y,w),q(p,g+1,0,0,S-1,y,w+1),g+=S,w+=S,++v);for(var x=1<<C.b,E=x-1,_=D(S,C.b),A=C.K,C=C.w+(v>>C.b)*_;v<b;){var k=A,T=C,R=1;for(Gn(p,g,y,w-S,1,y,w);R<S;){var N=(R&~E)+x;N>S&&(N=S),(0,Zn[k[T++]>>8&15])(p,g+ +R,y,w+R-S,N-R,y,w+R),R=N}g+=S,w+=S,++v&E||(C+=_)}d!=f.nc&&r(u,c-m,u,c+(d-h-1)*m,m);break;case 1:for(m=p,b=g,S=(p=f.Ea)-(w=p&~(y=(g=1<<f.b)-1)),v=D(p,f.b),x=f.K,f=f.w+(h>>f.b)*v;h<d;){for(E=x,_=f,A=new W,C=b+w,k=b+p;b<C;)X(E[_++],A),Qn(A,m,b,g,u,c),b+=g,c+=g;b<k&&(X(E[_++],A),Qn(A,m,b,S,u,c),b+=S,c+=S),++h&y||(f+=v)}break;case 3:if(p==u&&g==c&&0<f.b){for(b=u,p=m=c+(d-h)*m-(w=(d-h)*D(f.Ea,f.b)),g=u,y=c,v=[],w=(S=w)-1;0<=w;--w)v[w]=g[y+w];for(w=S-1;0<=w;--w)b[p+w]=v[w];$n(f,h,d,u,m,u,c)}else $n(f,h,d,p,g,u,c)}c=a,u=i}u!=i&&r(a,i,c,u,s)}function xe(e,n){var r=e.V,i=e.Ba+e.c*e.C,a=n-e.C;if(t(n<=e.l.o),t(16>=a),0<a){var o=e.l,s=e.Ta,l=e.Ua,c=o.width;if(Se(e,a,r,i),a=l=[l],t((r=e.C)<(i=n)),t(o.v<o.va),i>o.o&&(i=o.o),r<o.j){var u=o.j-r;r=o.j,a[0]+=u*c}if(r>=i?r=0:(a[0]+=4*o.v,o.ka=r-o.j,o.U=o.va-o.v,o.T=i-r,r=1),r){if(l=l[0],11>(r=e.ca).S){var f=r.f.RGBA,h=(i=r.S,a=o.U,o=o.T,u=f.eb,f.A),d=o;for(f=f.fb+e.Ma*f.A;0<d--;){var p=s,g=l,m=a,v=u,b=f;switch(i){case Fr:er(p,g,m,v,b);break;case Dr:tr(p,g,m,v,b);break;case Hr:tr(p,g,m,v,b),Er(v,b,0,m,1,0);break;case Mr:ir(p,g,m,v,b);break;case jr:te(p,g,m,v,b,1);break;case Vr:te(p,g,m,v,b,1),Er(v,b,0,m,1,0);break;case Wr:te(p,g,m,v,b,0);break;case qr:te(p,g,m,v,b,0),Er(v,b,1,m,1,0);break;case Ur:nr(p,g,m,v,b);break;case Gr:nr(p,g,m,v,b),_r(v,b,m,1,0);break;case zr:rr(p,g,m,v,b);break;default:t(0)}l+=c,f+=h}e.Ma+=o}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=r.height)}}e.C=n,t(e.C<=e.i)}function Ee(e){var t;if(0<e.ua)return 0;for(t=0;t<e.Wb;++t){var n=e.Ya[t].G,r=e.Ya[t].H;if(0<n[1][r[1]+0].g||0<n[2][r[2]+0].g||0<n[3][r[3]+0].g)return 0}return 1}function _e(e,n,r,i,a,o){if(0!=e.Z){var s=e.qd,l=e.rd;for(t(null!=mi[e.Z]);n<r;++n)mi[e.Z](s,l,i,a,i,a,o),s=i,l=a,a+=o;e.qd=s,e.rd=l}}function Ae(e,n){var r=e.l.ma,i=0==r.Z||1==r.Z?e.l.j:e.C;if(i=e.C<i?i:e.C,t(n<=e.l.o),n>i){var a=e.l.width,o=r.ca,s=r.tb+a*i,l=e.V,c=e.Ba+e.c*i,u=e.gc;t(1==e.ab),t(3==u[0].hc),Kn(u[0],i,n,l,c,o,s),_e(r,i,n,o,s,a)}e.C=e.Ma=n}function Ce(e,n,r,i,a,o,s){var l=e.$/i,c=e.$%i,u=e.m,f=e.s,h=r+e.$,d=h;a=r+i*a;var p=r+i*o,g=280+f.ua,m=e.Pb?l:16777216,v=0<f.ua?f.Wa:null,b=f.wc,y=h<p?we(f,c,l):null;t(e.C<o),t(p<=a);var w=!1;e:for(;;){for(;w||h<p;){var S=0;if(l>=m){var C=h-r;t((m=e).Pb),m.wd=m.m,m.xd=C,0<m.s.ua&&P(m.s.Wa,m.s.vb),m=l+ei}if(c&b||(y=we(f,c,l)),t(null!=y),y.Qb&&(n[h]=y.qb,w=!0),!w)if(A(u),y.jc){S=u,C=n;var k=h,T=y.pd[x(S)&jn-1];t(y.jc),256>T.g?(_(S,S.u+T.g),C[k]=T.value,S=0):(_(S,S.u+T.g-256),t(256<=T.value),S=T.value),0==S&&(w=!0)}else S=be(y.G[0],y.H[0],u);if(u.h)break;if(w||256>S){if(!w)if(y.nd)n[h]=(y.qb|S<<8)>>>0;else{if(A(u),w=be(y.G[1],y.H[1],u),A(u),C=be(y.G[2],y.H[2],u),k=be(y.G[3],y.H[3],u),u.h)break;n[h]=(k<<24|w<<16|S<<8|C)>>>0}if(w=!1,++h,++c>=i&&(c=0,++l,null!=s&&l<=o&&!(l%16)&&s(e,l),null!=v))for(;d<h;)S=n[d++],v.X[(506832829*S&4294967295)>>>v.Mb]=S}else if(280>S){if(S=me(S-256,u),C=be(y.G[4],y.H[4],u),A(u),C=ve(i,C=me(C,u)),u.h)break;if(h-r<C||a-h<S)break e;for(k=0;k<S;++k)n[h+k]=n[h+k-C];for(h+=S,c+=S;c>=i;)c-=i,++l,null!=s&&l<=o&&!(l%16)&&s(e,l);if(t(h<=a),c&b&&(y=we(f,c,l)),null!=v)for(;d<h;)S=n[d++],v.X[(506832829*S&4294967295)>>>v.Mb]=S}else{if(!(S<g))break e;for(w=S-280,t(null!=v);d<h;)S=n[d++],v.X[(506832829*S&4294967295)>>>v.Mb]=S;S=h,t(!(w>>>(C=v).Xa)),n[S]=C.X[w],w=!0}w||t(u.h==E(u))}if(e.Pb&&u.h&&h<a)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&P(e.s.vb,e.s.Wa);else{if(u.h)break e;null!=s&&s(e,l>o?o:l),e.a=0,e.$=h-r}return 1}return e.a=3,0}function ke(e){t(null!=e),e.vc=null,e.yc=null,e.Ya=null;var n=e.Wa;null!=n&&(n.X=null),e.vb=null,t(null!=e)}function Te(){var t=new sn;return null==t?null:(t.a=0,t.xb=gi,ne("Predictor","VP8LPredictors"),ne("Predictor","VP8LPredictors_C"),ne("PredictorAdd","VP8LPredictorsAdd"),ne("PredictorAdd","VP8LPredictorsAdd_C"),Xn=G,Qn=$,er=K,tr=J,nr=Z,rr=Q,ir=ee,e.VP8LMapColor32b=Yn,e.VP8LMapColor8b=Jn,t)}function Re(e,n,r,s,l){var c=1,h=[e],p=[n],g=s.m,m=s.s,v=null,b=0;e:for(;;){if(r)for(;c&&y(g,1);){var w=h,S=p,E=s,C=1,k=E.m,T=E.gc[E.ab],R=y(k,2);if(E.Oc&1<<R)c=0;else{switch(E.Oc|=1<<R,T.hc=R,T.Ea=w[0],T.nc=S[0],T.K=[null],++E.ab,t(4>=E.ab),R){case 0:case 1:T.b=y(k,3)+2,C=Re(D(T.Ea,T.b),D(T.nc,T.b),0,E,T.K),T.K=T.K[0];break;case 3:var N,I=y(k,8)+1,B=16<I?0:4<I?1:2<I?2:3;if(w[0]=D(T.Ea,B),T.b=B,N=C=Re(I,1,0,E,T.K)){var P,L=I,F=T,j=1<<(8>>F.b),W=a(j);if(null==W)N=0;else{var U=F.K[0],z=F.w;for(W[0]=F.K[0][0],P=1;P<1*L;++P)W[P]=M(U[z+P],W[P-1]);for(;P<4*j;++P)W[P]=0;F.K[0]=null,F.K[0]=W,N=1}}C=N;break;case 2:break;default:t(0)}c=C}}if(h=h[0],p=p[0],c&&y(g,1)&&!(c=1<=(b=y(g,4))&&11>=b)){s.a=3;break e}var H;if(H=c)t:{var V,q,G,X=s,$=h,Y=p,K=b,J=r,Z=X.m,Q=X.s,ee=[null],te=1,ne=0,re=Qr[K];n:for(;;){if(J&&y(Z,1)){var ie=y(Z,3)+2,ae=D($,ie),oe=D(Y,ie),se=ae*oe;if(!Re(ae,oe,0,X,ee))break n;for(ee=ee[0],Q.xc=ie,V=0;V<se;++V){var le=ee[V]>>8&65535;ee[V]=le,le>=te&&(te=le+1)}}if(Z.h)break n;for(q=0;5>q;++q){var ce=Yr[q];!q&&0<K&&(ce+=1<<K),ne<ce&&(ne=ce)}var ue=o(te*re,f),fe=te,he=o(fe,d);if(null==he)var de=null;else t(65536>=fe),de=he;var pe=a(ne);if(null==de||null==pe||null==ue){X.a=1;break n}var ge=ue;for(V=G=0;V<te;++V){var me=de[V],ve=me.G,be=me.H,we=0,Se=1,xe=0;for(q=0;5>q;++q){ce=Yr[q],ve[q]=ge,be[q]=G,!q&&0<K&&(ce+=1<<K);r:{var Ee,_e=ce,Ae=X,Te=pe,Ne=ge,Ie=G,Be=0,Oe=Ae.m,Pe=y(Oe,1);if(i(Te,0,0,_e),Pe){var Le=y(Oe,1)+1,Fe=y(Oe,1),De=y(Oe,0==Fe?1:8);Te[De]=1,2==Le&&(Te[De=y(Oe,8)]=1);var Me=1}else{var je=a(19),We=y(Oe,4)+4;if(19<We){Ae.a=3;var Ue=0;break r}for(Ee=0;Ee<We;++Ee)je[Jr[Ee]]=y(Oe,3);var ze=void 0,He=void 0,Ve=Ae,qe=je,Ge=_e,Xe=Te,$e=0,Ye=Ve.m,Ke=8,Je=o(128,f);i:for(;u(Je,0,7,qe,19);){if(y(Ye,1)){var Ze=2+2*y(Ye,3);if((ze=2+y(Ye,Ze))>Ge)break i}else ze=Ge;for(He=0;He<Ge&&ze--;){A(Ye);var Qe=Je[0+(127&x(Ye))];_(Ye,Ye.u+Qe.g);var et=Qe.value;if(16>et)Xe[He++]=et,0!=et&&(Ke=et);else{var tt=16==et,nt=et-16,rt=$r[nt],it=y(Ye,Xr[nt])+rt;if(He+it>Ge)break i;for(var at=tt?Ke:0;0<it--;)Xe[He++]=at}}$e=1;break i}$e||(Ve.a=3),Me=$e}(Me=Me&&!Oe.h)&&(Be=u(Ne,Ie,8,Te,_e)),Me&&0!=Be?Ue=Be:(Ae.a=3,Ue=0)}if(0==Ue)break n;if(Se&&1==Kr[q]&&(Se=0==ge[G].g),we+=ge[G].g,G+=Ue,3>=q){var ot,st=pe[0];for(ot=1;ot<ce;++ot)pe[ot]>st&&(st=pe[ot]);xe+=st}}if(me.nd=Se,me.Qb=0,Se&&(me.qb=(ve[3][be[3]+0].value<<24|ve[1][be[1]+0].value<<16|ve[2][be[2]+0].value)>>>0,0==we&&256>ve[0][be[0]+0].value&&(me.Qb=1,me.qb+=ve[0][be[0]+0].value<<8)),me.jc=!me.Qb&&6>xe,me.jc){var lt,ct=me;for(lt=0;lt<jn;++lt){var ut=lt,ft=ct.pd[ut],ht=ct.G[0][ct.H[0]+ut];256<=ht.value?(ft.g=ht.g+256,ft.value=ht.value):(ft.g=0,ft.value=0,ut>>=ye(ht,8,ft),ut>>=ye(ct.G[1][ct.H[1]+ut],16,ft),ut>>=ye(ct.G[2][ct.H[2]+ut],0,ft),ye(ct.G[3][ct.H[3]+ut],24,ft))}}}Q.vc=ee,Q.Wb=te,Q.Ya=de,Q.yc=ue,H=1;break t}H=0}if(!(c=H)){s.a=3;break e}if(0<b){if(m.ua=1<<b,!O(m.Wa,b)){s.a=1,c=0;break e}}else m.ua=0;var dt=s,pt=h,gt=p,mt=dt.s,vt=mt.xc;if(dt.c=pt,dt.i=gt,mt.md=D(pt,vt),mt.wc=0==vt?-1:(1<<vt)-1,r){s.xb=pi;break e}if(null==(v=a(h*p))){s.a=1,c=0;break e}c=(c=Ce(s,v,0,h,p,p,null))&&!g.h;break e}return c?(null!=l?l[0]=v:(t(null==v),t(r)),s.$=0,r||ke(m)):ke(m),c}function Ne(e,n){var r=e.c*e.i,i=r+n+16*n;return t(e.c<=n),e.V=a(i),null==e.V?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+r+n,1)}function Ie(e,n){var r=e.C,i=n-r,a=e.V,o=e.Ba+e.c*r;for(t(n<=e.l.o);0<i;){var s=16<i?16:i,l=e.l.ma,c=e.l.width,u=c*s,f=l.ca,h=l.tb+c*r,d=e.Ta,p=e.Ua;Se(e,s,a,o),Cr(d,p,f,h,u),_e(l,r,r+s,f,h,c),i-=s,a+=s*e.c,r+=s}t(r==n),e.C=e.Ma=n}function Be(){this.ub=this.yd=this.td=this.Rb=0}function Oe(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Pe(){this.Fb=this.Bb=this.Cb=0,this.Zb=a(4),this.Lb=a(4)}function Le(){this.Yb=function(){var e=[];return function e(t,n,r){for(var i=r[n],a=0;a<i&&(t.push(r.length>n+1?[]:0),!(r.length<n+1));a++)e(t[a],n+1,r)}(e,0,[3,11]),e}()}function Fe(){this.jb=a(3),this.Wc=s([4,8],Le),this.Xc=s([4,17],Le)}function De(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new a(4),this.od=new a(4)}function Me(){this.ld=this.La=this.dd=this.tc=0}function je(){this.Na=this.la=0}function We(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ue(){this.ad=a(384),this.Za=0,this.Ob=a(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function ze(){this.uc=this.M=this.Nb=0,this.wa=Array(new Me),this.Y=0,this.ya=Array(new Ue),this.aa=0,this.l=new Ge}function He(){this.y=a(16),this.f=a(8),this.ea=a(8)}function Ve(){this.cb=this.a=0,this.sc="",this.m=new w,this.Od=new Be,this.Kc=new Oe,this.ed=new De,this.Qa=new Pe,this.Ic=this.$c=this.Aa=0,this.D=new ze,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=o(8,w),this.ia=0,this.pb=o(4,We),this.Pa=new Fe,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new He),this.Hd=0,this.rb=Array(new je),this.sb=0,this.wa=Array(new Me),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 Ue),this.L=this.aa=0,this.gd=s([4,2],Me),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 qe(e,t){return 0>e?0:e>t?t:e}function Ge(){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 Xe(){var e=new Ve;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,ri||(ri=Je)),e}function $e(e,t,n){return 0==e.a&&(e.a=t,e.sc=n,e.cb=0),0}function Ye(e,t,n){return 3<=n&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function Ke(e,n){if(null==e)return 0;if(e.a=0,e.sc="OK",null==n)return $e(e,2,"null VP8Io passed to VP8GetHeaders()");var r=n.data,a=n.w,o=n.ha;if(4>o)return $e(e,7,"Truncated header.");var s=r[a+0]|r[a+1]<<8|r[a+2]<<16,l=e.Od;if(l.Rb=!(1&s),l.td=s>>1&7,l.yd=s>>4&1,l.ub=s>>5,3<l.td)return $e(e,3,"Incorrect keyframe parameters.");if(!l.yd)return $e(e,4,"Frame not displayable.");a+=3,o-=3;var c=e.Kc;if(l.Rb){if(7>o)return $e(e,7,"cannot parse picture header");if(!Ye(r,a,o))return $e(e,3,"Bad code word");c.c=16383&(r[a+4]<<8|r[a+3]),c.Td=r[a+4]>>6,c.i=16383&(r[a+6]<<8|r[a+5]),c.Ud=r[a+6]>>6,a+=7,o-=7,e.za=c.c+15>>4,e.Ub=c.i+15>>4,n.width=c.c,n.height=c.i,n.Da=0,n.j=0,n.v=0,n.va=n.width,n.o=n.height,n.da=0,n.ib=n.width,n.hb=n.height,n.U=n.width,n.T=n.height,i((s=e.Pa).jb,0,255,s.jb.length),t(null!=(s=e.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(l.ub>o)return $e(e,7,"bad partition length");p(s=e.m,r,a,l.ub),a+=l.ub,o-=l.ub,l.Rb&&(c.Ld=k(s),c.Kd=k(s)),c=e.Qa;var u,f=e.Pa;if(t(null!=s),t(null!=c),c.Cb=k(s),c.Cb){if(c.Bb=k(s),k(s)){for(c.Fb=k(s),u=0;4>u;++u)c.Zb[u]=k(s)?m(s,7):0;for(u=0;4>u;++u)c.Lb[u]=k(s)?m(s,6):0}if(c.Bb)for(u=0;3>u;++u)f.jb[u]=k(s)?g(s,8):255}else c.Bb=0;if(s.Ka)return $e(e,3,"cannot parse segment header");if((c=e.ed).zd=k(s),c.Tb=g(s,6),c.wb=g(s,3),c.Pc=k(s),c.Pc&&k(s)){for(f=0;4>f;++f)k(s)&&(c.vd[f]=m(s,6));for(f=0;4>f;++f)k(s)&&(c.od[f]=m(s,6))}if(e.L=0==c.Tb?0:c.zd?1:2,s.Ka)return $e(e,3,"cannot parse filter header");var h=o;if(o=u=a,a=u+h,c=h,e.Xb=(1<<g(e.m,2))-1,h<3*(f=e.Xb))r=7;else{for(u+=3*f,c-=3*f,h=0;h<f;++h){var d=r[o+0]|r[o+1]<<8|r[o+2]<<16;d>c&&(d=c),p(e.Jc[+h],r,u,d),u+=d,c-=d,o+=3}p(e.Jc[+f],r,u,c),r=u<a?0:5}if(0!=r)return $e(e,r,"cannot parse partitions");for(r=g(u=e.m,7),o=k(u)?m(u,4):0,a=k(u)?m(u,4):0,c=k(u)?m(u,4):0,f=k(u)?m(u,4):0,u=k(u)?m(u,4):0,h=e.Qa,d=0;4>d;++d){if(h.Cb){var v=h.Zb[d];h.Fb||(v+=r)}else{if(0<d){e.pb[d]=e.pb[0];continue}v=r}var b=e.pb[d];b.Sc[0]=ti[qe(v+o,127)],b.Sc[1]=ni[qe(v+0,127)],b.Eb[0]=2*ti[qe(v+a,127)],b.Eb[1]=101581*ni[qe(v+c,127)]>>16,8>b.Eb[1]&&(b.Eb[1]=8),b.Qc[0]=ti[qe(v+f,117)],b.Qc[1]=ni[qe(v+u,127)],b.lc=v+u}if(!l.Rb)return $e(e,4,"Not a key frame.");for(k(s),l=e.Pa,r=0;4>r;++r){for(o=0;8>o;++o)for(a=0;3>a;++a)for(c=0;11>c;++c)f=T(s,ci[r][o][a][c])?g(s,8):si[r][o][a][c],l.Wc[r][o].Yb[a][c]=f;for(o=0;17>o;++o)l.Xc[r][o]=l.Wc[r][ui[o]]}return e.kc=k(s),e.kc&&(e.Bd=g(s,8)),e.cb=1}function Je(e,t,n,r,i,a,o){var s=t[i].Yb[n];for(n=0;16>i;++i){if(!T(e,s[n+0]))return i;for(;!T(e,s[n+1]);)if(s=t[++i].Yb[0],n=0,16==i)return 16;var l=t[i+1].Yb;if(T(e,s[n+2])){var c=e,u=0;if(T(c,(h=s)[(f=n)+3]))if(T(c,h[f+6])){for(s=0,f=2*(u=T(c,h[f+8]))+(h=T(c,h[f+9+u])),u=0,h=ii[f];h[s];++s)u+=u+T(c,h[s]);u+=3+(8<<f)}else T(c,h[f+7])?(u=7+2*T(c,165),u+=T(c,145)):u=5+T(c,159);else u=T(c,h[f+4])?3+T(c,h[f+5]):2;s=l[2]}else u=1,s=l[1];l=o+ai[i],0>(c=e).b&&C(c);var f,h=c.b,d=(f=c.Ca>>1)-(c.I>>h)>>31;--c.b,c.Ca+=d,c.Ca|=1,c.I-=(f+1&d)<<h,a[l]=((u^d)-d)*r[(0<i)+0]}return 16}function Ze(e){var t=e.rb[e.sb-1];t.la=0,t.Na=0,i(e.zc,0,0,e.zc.length),e.ja=0}function Qe(e,n){if(null==e)return 0;if(null==n)return $e(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!Ke(e,n))return 0;if(t(e.cb),null==n.ac||n.ac(n)){n.ob&&(e.L=0);var s=ji[e.L];if(2==e.L?(e.yb=0,e.zb=0):(e.yb=n.v-s>>4,e.zb=n.j-s>>4,0>e.yb&&(e.yb=0),0>e.zb&&(e.zb=0)),e.Va=n.o+15+s>>4,e.Hb=n.va+15+s>>4,e.Hb>e.za&&(e.Hb=e.za),e.Va>e.Ub&&(e.Va=e.Ub),0<e.L){var l=e.ed;for(s=0;4>s;++s){var c;if(e.Qa.Cb){var u=e.Qa.Lb[s];e.Qa.Fb||(u+=l.Tb)}else u=l.Tb;for(c=0;1>=c;++c){var f=e.gd[s][c],h=u;if(l.Pc&&(h+=l.vd[0],c&&(h+=l.od[0])),0<(h=0>h?0:63<h?63:h)){var d=h;0<l.wb&&(d=4<l.wb?d>>2:d>>1)>9-l.wb&&(d=9-l.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=c}}}s=0}else $e(e,6,"Frame setup failed"),s=e.a;if(s=0==s){if(s){e.$c=0,0<e.Aa||(e.Ic=Ui);e:{s=e.Ic,l=4*(d=e.za);var p=32*d,g=d+1,m=0<e.L?d*(0<e.Aa?2:1):0,v=(2==e.Aa?2:1)*d;if((f=l+832+(c=3*(16*s+ji[e.L])/2*p)+(u=null!=e.Fa&&0<e.Fa.length?e.Kc.c*e.Kc.i:0))!=f)s=0;else{if(f>e.Vb){if(e.Vb=0,e.Ec=a(f),e.Fc=0,null==e.Ec){s=$e(e,1,"no memory during frame initialization.");break e}e.Vb=f}f=e.Ec,h=e.Fc,e.Ac=f,e.Bc=h,h+=l,e.Gd=o(p,He),e.Hd=0,e.rb=o(g+1,je),e.sb=1,e.wa=m?o(m,Me):null,e.Y=0,e.D.Nb=0,e.D.wa=e.wa,e.D.Y=e.Y,0<e.Aa&&(e.D.Y+=d),t(!0),e.oc=f,e.pc=h,h+=832,e.ya=o(v,Ue),e.aa=0,e.D.ya=e.ya,e.D.aa=e.aa,2==e.Aa&&(e.D.aa+=d),e.R=16*d,e.B=8*d,d=(p=ji[e.L])*e.R,p=p/2*e.B,e.sa=f,e.ta=h+d,e.qa=e.sa,e.ra=e.ta+16*s*e.R+p,e.Ha=e.qa,e.Ia=e.ra+8*s*e.B+p,e.$c=0,h+=c,e.mb=u?f:null,e.nb=u?h:null,t(h+u<=e.Fc+e.Vb),Ze(e),i(e.Ac,e.Bc,0,l),s=1}}if(s){if(n.ka=0,n.y=e.sa,n.O=e.ta,n.f=e.qa,n.N=e.ra,n.ea=e.Ha,n.Vd=e.Ia,n.fa=e.R,n.Rc=e.B,n.F=null,n.J=0,!Ir){for(s=-255;255>=s;++s)kr[255+s]=0>s?-s:s;for(s=-1020;1020>=s;++s)Tr[1020+s]=-128>s?-128:127<s?127:s;for(s=-112;112>=s;++s)Rr[112+s]=-16>s?-16:15<s?15:s;for(s=-255;510>=s;++s)Nr[255+s]=0>s?0:255<s?255:s;Ir=1}ar=ct,or=at,lr=ot,cr=st,ur=lt,sr=it,fr=$t,hr=Yt,dr=Zt,pr=Qt,gr=Kt,mr=Jt,vr=en,br=tn,yr=zt,wr=Ht,Sr=Vt,xr=qt,hi[0]=_t,hi[1]=ft,hi[2]=xt,hi[3]=Et,hi[4]=At,hi[5]=kt,hi[6]=Ct,hi[7]=Tt,hi[8]=Nt,hi[9]=Rt,fi[0]=vt,fi[1]=dt,fi[2]=pt,fi[3]=gt,fi[4]=bt,fi[5]=yt,fi[6]=wt,di[0]=Pt,di[1]=ht,di[2]=It,di[3]=Bt,di[4]=Ft,di[5]=Lt,di[6]=Dt,s=1}else s=0}s&&(s=function(e,n){for(e.M=0;e.M<e.Va;++e.M){var o,s=e.Jc[e.M&e.Xb],l=e.m,c=e;for(o=0;o<c.za;++o){var u=l,f=c,h=f.Ac,d=f.Bc+4*o,p=f.zc,g=f.ya[f.aa+o];if(f.Qa.Bb?g.$b=T(u,f.Pa.jb[0])?2+T(u,f.Pa.jb[2]):T(u,f.Pa.jb[1]):g.$b=0,f.kc&&(g.Ad=T(u,f.Bd)),g.Za=!T(u,145)+0,g.Za){var m=g.Ob,v=0;for(f=0;4>f;++f){var b,y=p[0+f];for(b=0;4>b;++b){y=li[h[d+b]][y];for(var w=oi[T(u,y[0])];0<w;)w=oi[2*w+T(u,y[w])];y=-w,h[d+b]=y}r(m,v,h,d,4),v+=4,p[0+f]=y}}else y=T(u,156)?T(u,128)?1:3:T(u,163)?2:0,g.Ob[0]=y,i(h,d,y,4),i(p,0,y,4);g.Dd=T(u,142)?T(u,114)?T(u,183)?1:3:2:0}if(c.m.Ka)return $e(e,7,"Premature end-of-partition0 encountered.");for(;e.ja<e.za;++e.ja){if(c=s,u=(l=e).rb[l.sb-1],h=l.rb[l.sb+l.ja],o=l.ya[l.aa+l.ja],d=l.kc?o.Ad:0)u.la=h.la=0,o.Za||(u.Na=h.Na=0),o.Hc=0,o.Gc=0,o.ia=0;else{var S,x;if(u=h,h=c,d=l.Pa.Xc,p=l.ya[l.aa+l.ja],g=l.pb[p.$b],f=p.ad,m=0,v=l.rb[l.sb-1],y=b=0,i(f,m,0,384),p.Za)var E=0,_=d[3];else{w=a(16);var A=u.Na+v.Na;if(A=ri(h,d[1],A,g.Eb,0,w,0),u.Na=v.Na=(0<A)+0,1<A)ar(w,0,f,m);else{var C=w[0]+3>>3;for(w=0;256>w;w+=16)f[m+w]=C}E=1,_=d[0]}var k=15&u.la,R=15&v.la;for(w=0;4>w;++w){var N=1&R;for(C=x=0;4>C;++C)k=k>>1|(N=(A=ri(h,_,A=N+(1&k),g.Sc,E,f,m))>E)<<7,x=x<<2|(3<A?3:1<A?2:0!=f[m+0]),m+=16;k>>=4,R=R>>1|N<<7,b=(b<<8|x)>>>0}for(_=k,E=R>>4,S=0;4>S;S+=2){for(x=0,k=u.la>>4+S,R=v.la>>4+S,w=0;2>w;++w){for(N=1&R,C=0;2>C;++C)A=N+(1&k),k=k>>1|(N=0<(A=ri(h,d[2],A,g.Qc,0,f,m)))<<3,x=x<<2|(3<A?3:1<A?2:0!=f[m+0]),m+=16;k>>=2,R=R>>1|N<<5}y|=x<<4*S,_|=k<<4<<S,E|=(240&R)<<S}u.la=_,v.la=E,p.Hc=b,p.Gc=y,p.ia=43690&y?0:g.ia,d=!(b|y)}if(0<l.L&&(l.wa[l.Y+l.ja]=l.gd[o.$b][o.Za],l.wa[l.Y+l.ja].La|=!d),c.Ka)return $e(e,7,"Premature end-of-file encountered.")}if(Ze(e),l=n,c=1,o=(s=e).D,u=0<s.L&&s.M>=s.zb&&s.M<=s.Va,0==s.Aa)e:{if(o.M=s.M,o.uc=u,Pn(s,o),c=1,o=(x=s.D).Nb,u=(y=ji[s.L])*s.R,h=y/2*s.B,w=16*o*s.R,C=8*o*s.B,d=s.sa,p=s.ta-u+w,g=s.qa,f=s.ra-h+C,m=s.Ha,v=s.Ia-h+C,R=0==(k=x.M),b=k>=s.Va-1,2==s.Aa&&Pn(s,x),x.uc)for(N=(A=s).D.M,t(A.D.uc),x=A.yb;x<A.Hb;++x){E=x,_=N;var I=(B=(U=A).D).Nb;S=U.R;var B=B.wa[B.Y+E],O=U.sa,P=U.ta+16*I*S+16*E,L=B.dd,F=B.tc;if(0!=F)if(t(3<=F),1==U.L)0<E&&wr(O,P,S,F+4),B.La&&xr(O,P,S,F),0<_&&yr(O,P,S,F+4),B.La&&Sr(O,P,S,F);else{var D=U.B,M=U.qa,j=U.ra+8*I*D+8*E,W=U.Ha,U=U.Ia+8*I*D+8*E;I=B.ld,0<E&&(hr(O,P,S,F+4,L,I),pr(M,j,W,U,D,F+4,L,I)),B.La&&(mr(O,P,S,F,L,I),br(M,j,W,U,D,F,L,I)),0<_&&(fr(O,P,S,F+4,L,I),dr(M,j,W,U,D,F+4,L,I)),B.La&&(gr(O,P,S,F,L,I),vr(M,j,W,U,D,F,L,I))}}if(s.ia&&alert("todo:DitherRow"),null!=l.put){if(x=16*k,k=16*(k+1),R?(l.y=s.sa,l.O=s.ta+w,l.f=s.qa,l.N=s.ra+C,l.ea=s.Ha,l.W=s.Ia+C):(x-=y,l.y=d,l.O=p,l.f=g,l.N=f,l.ea=m,l.W=v),b||(k-=y),k>l.o&&(k=l.o),l.F=null,l.J=null,null!=s.Fa&&0<s.Fa.length&&x<k&&(l.J=hn(s,l,x,k-x),l.F=s.mb,null==l.F&&0==l.F.length)){c=$e(s,3,"Could not decode alpha data.");break e}x<l.j&&(y=l.j-x,x=l.j,t(!(1&y)),l.O+=s.R*y,l.N+=s.B*(y>>1),l.W+=s.B*(y>>1),null!=l.F&&(l.J+=l.width*y)),x<k&&(l.O+=l.v,l.N+=l.v>>1,l.W+=l.v>>1,null!=l.F&&(l.J+=l.v),l.ka=x-l.j,l.U=l.va-l.v,l.T=k-x,c=l.put(l))}o+1!=s.Ic||b||(r(s.sa,s.ta-u,d,p+16*s.R,u),r(s.qa,s.ra-h,g,f+8*s.B,h),r(s.Ha,s.Ia-h,m,v+8*s.B,h))}if(!c)return $e(e,6,"Output aborted.")}return 1}(e,n)),null!=n.bc&&n.bc(n),s&=1}return s?(e.cb=0,s):0}function et(e,t,n,r,i){i=e[t+n+32*r]+(i>>3),e[t+n+32*r]=-256&i?0>i?0:255:i}function tt(e,t,n,r,i,a){et(e,t,0,n,r+i),et(e,t,1,n,r+a),et(e,t,2,n,r-a),et(e,t,3,n,r-i)}function nt(e){return(20091*e>>16)+e}function rt(e,t,n,r){var i,o=0,s=a(16);for(i=0;4>i;++i){var l=e[t+0]+e[t+8],c=e[t+0]-e[t+8],u=(35468*e[t+4]>>16)-nt(e[t+12]),f=nt(e[t+4])+(35468*e[t+12]>>16);s[o+0]=l+f,s[o+1]=c+u,s[o+2]=c-u,s[o+3]=l-f,o+=4,t++}for(i=o=0;4>i;++i)l=(e=s[o+0]+4)+s[o+8],c=e-s[o+8],u=(35468*s[o+4]>>16)-nt(s[o+12]),et(n,r,0,0,l+(f=nt(s[o+4])+(35468*s[o+12]>>16))),et(n,r,1,0,c+u),et(n,r,2,0,c-u),et(n,r,3,0,l-f),o++,r+=32}function it(e,t,n,r){var i=e[t+0]+4,a=35468*e[t+4]>>16,o=nt(e[t+4]),s=35468*e[t+1]>>16;tt(n,r,0,i+o,e=nt(e[t+1]),s),tt(n,r,1,i+a,e,s),tt(n,r,2,i-a,e,s),tt(n,r,3,i-o,e,s)}function at(e,t,n,r,i){rt(e,t,n,r),i&&rt(e,t+16,n,r+4)}function ot(e,t,n,r){or(e,t+0,n,r,1),or(e,t+32,n,r+128,1)}function st(e,t,n,r){var i;for(e=e[t+0]+4,i=0;4>i;++i)for(t=0;4>t;++t)et(n,r,t,i,e)}function lt(e,t,n,r){e[t+0]&&cr(e,t+0,n,r),e[t+16]&&cr(e,t+16,n,r+4),e[t+32]&&cr(e,t+32,n,r+128),e[t+48]&&cr(e,t+48,n,r+128+4)}function ct(e,t,n,r){var i,o=a(16);for(i=0;4>i;++i){var s=e[t+0+i]+e[t+12+i],l=e[t+4+i]+e[t+8+i],c=e[t+4+i]-e[t+8+i],u=e[t+0+i]-e[t+12+i];o[0+i]=s+l,o[8+i]=s-l,o[4+i]=u+c,o[12+i]=u-c}for(i=0;4>i;++i)s=(e=o[0+4*i]+3)+o[3+4*i],l=o[1+4*i]+o[2+4*i],c=o[1+4*i]-o[2+4*i],u=e-o[3+4*i],n[r+0]=s+l>>3,n[r+16]=u+c>>3,n[r+32]=s-l>>3,n[r+48]=u-c>>3,r+=64}function ut(e,t,n){var r,i=t-32,a=Pr,o=255-e[i-1];for(r=0;r<n;++r){var s,l=a,c=o+e[t-1];for(s=0;s<n;++s)e[t+s]=l[c+e[i+s]];t+=32}}function ft(e,t){ut(e,t,4)}function ht(e,t){ut(e,t,8)}function dt(e,t){ut(e,t,16)}function pt(e,t){var n;for(n=0;16>n;++n)r(e,t+32*n,e,t-32,16)}function gt(e,t){var n;for(n=16;0<n;--n)i(e,t,e[t-1],16),t+=32}function mt(e,t,n){var r;for(r=0;16>r;++r)i(t,n+32*r,e,16)}function vt(e,t){var n,r=16;for(n=0;16>n;++n)r+=e[t-1+32*n]+e[t+n-32];mt(r>>5,e,t)}function bt(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t-1+32*n];mt(r>>4,e,t)}function yt(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t+n-32];mt(r>>4,e,t)}function wt(e,t){mt(128,e,t)}function St(e,t,n){return e+2*t+n+2>>2}function xt(e,t){var n,i=t-32;for(i=new Uint8Array([St(e[i-1],e[i+0],e[i+1]),St(e[i+0],e[i+1],e[i+2]),St(e[i+1],e[i+2],e[i+3]),St(e[i+2],e[i+3],e[i+4])]),n=0;4>n;++n)r(e,t+32*n,i,0,i.length)}function Et(e,t){var n=e[t-1],r=e[t-1+32],i=e[t-1+64],a=e[t-1+96];R(e,t+0,16843009*St(e[t-1-32],n,r)),R(e,t+32,16843009*St(n,r,i)),R(e,t+64,16843009*St(r,i,a)),R(e,t+96,16843009*St(i,a,a))}function _t(e,t){var n,r=4;for(n=0;4>n;++n)r+=e[t+n-32]+e[t-1+32*n];for(r>>=3,n=0;4>n;++n)i(e,t+32*n,r,4)}function At(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],a=e[t-1-32],o=e[t+0-32],s=e[t+1-32],l=e[t+2-32],c=e[t+3-32];e[t+0+96]=St(r,i,e[t-1+96]),e[t+1+96]=e[t+0+64]=St(n,r,i),e[t+2+96]=e[t+1+64]=e[t+0+32]=St(a,n,r),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=St(o,a,n),e[t+3+64]=e[t+2+32]=e[t+1+0]=St(s,o,a),e[t+3+32]=e[t+2+0]=St(l,s,o),e[t+3+0]=St(c,l,s)}function Ct(e,t){var n=e[t+1-32],r=e[t+2-32],i=e[t+3-32],a=e[t+4-32],o=e[t+5-32],s=e[t+6-32],l=e[t+7-32];e[t+0+0]=St(e[t+0-32],n,r),e[t+1+0]=e[t+0+32]=St(n,r,i),e[t+2+0]=e[t+1+32]=e[t+0+64]=St(r,i,a),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=St(i,a,o),e[t+3+32]=e[t+2+64]=e[t+1+96]=St(a,o,s),e[t+3+64]=e[t+2+96]=St(o,s,l),e[t+3+96]=St(s,l,l)}function kt(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],a=e[t-1-32],o=e[t+0-32],s=e[t+1-32],l=e[t+2-32],c=e[t+3-32];e[t+0+0]=e[t+1+64]=a+o+1>>1,e[t+1+0]=e[t+2+64]=o+s+1>>1,e[t+2+0]=e[t+3+64]=s+l+1>>1,e[t+3+0]=l+c+1>>1,e[t+0+96]=St(i,r,n),e[t+0+64]=St(r,n,a),e[t+0+32]=e[t+1+96]=St(n,a,o),e[t+1+32]=e[t+2+96]=St(a,o,s),e[t+2+32]=e[t+3+96]=St(o,s,l),e[t+3+32]=St(s,l,c)}function Tt(e,t){var n=e[t+0-32],r=e[t+1-32],i=e[t+2-32],a=e[t+3-32],o=e[t+4-32],s=e[t+5-32],l=e[t+6-32],c=e[t+7-32];e[t+0+0]=n+r+1>>1,e[t+1+0]=e[t+0+64]=r+i+1>>1,e[t+2+0]=e[t+1+64]=i+a+1>>1,e[t+3+0]=e[t+2+64]=a+o+1>>1,e[t+0+32]=St(n,r,i),e[t+1+32]=e[t+0+96]=St(r,i,a),e[t+2+32]=e[t+1+96]=St(i,a,o),e[t+3+32]=e[t+2+96]=St(a,o,s),e[t+3+64]=St(o,s,l),e[t+3+96]=St(s,l,c)}function Rt(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],a=e[t-1+96];e[t+0+0]=n+r+1>>1,e[t+2+0]=e[t+0+32]=r+i+1>>1,e[t+2+32]=e[t+0+64]=i+a+1>>1,e[t+1+0]=St(n,r,i),e[t+3+0]=e[t+1+32]=St(r,i,a),e[t+3+32]=e[t+1+64]=St(i,a,a),e[t+3+64]=e[t+2+64]=e[t+0+96]=e[t+1+96]=e[t+2+96]=e[t+3+96]=a}function Nt(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],a=e[t-1+96],o=e[t-1-32],s=e[t+0-32],l=e[t+1-32],c=e[t+2-32];e[t+0+0]=e[t+2+32]=n+o+1>>1,e[t+0+32]=e[t+2+64]=r+n+1>>1,e[t+0+64]=e[t+2+96]=i+r+1>>1,e[t+0+96]=a+i+1>>1,e[t+3+0]=St(s,l,c),e[t+2+0]=St(o,s,l),e[t+1+0]=e[t+3+32]=St(n,o,s),e[t+1+32]=e[t+3+64]=St(r,n,o),e[t+1+64]=e[t+3+96]=St(i,r,n),e[t+1+96]=St(a,i,r)}function It(e,t){var n;for(n=0;8>n;++n)r(e,t+32*n,e,t-32,8)}function Bt(e,t){var n;for(n=0;8>n;++n)i(e,t,e[t-1],8),t+=32}function Ot(e,t,n){var r;for(r=0;8>r;++r)i(t,n+32*r,e,8)}function Pt(e,t){var n,r=8;for(n=0;8>n;++n)r+=e[t+n-32]+e[t-1+32*n];Ot(r>>4,e,t)}function Lt(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t+n-32];Ot(r>>3,e,t)}function Ft(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t-1+32*n];Ot(r>>3,e,t)}function Dt(e,t){Ot(128,e,t)}function Mt(e,t,n){var r=e[t-n],i=e[t+0],a=3*(i-r)+Br[1020+e[t-2*n]-e[t+n]],o=Or[112+(a+4>>3)];e[t-n]=Pr[255+r+Or[112+(a+3>>3)]],e[t+0]=Pr[255+i-o]}function jt(e,t,n,r){var i=e[t+0],a=e[t+n];return Lr[255+e[t-2*n]-e[t-n]]>r||Lr[255+a-i]>r}function Wt(e,t,n,r){return 4*Lr[255+e[t-n]-e[t+0]]+Lr[255+e[t-2*n]-e[t+n]]<=r}function Ut(e,t,n,r,i){var a=e[t-3*n],o=e[t-2*n],s=e[t-n],l=e[t+0],c=e[t+n],u=e[t+2*n],f=e[t+3*n];return 4*Lr[255+s-l]+Lr[255+o-c]>r?0:Lr[255+e[t-4*n]-a]<=i&&Lr[255+a-o]<=i&&Lr[255+o-s]<=i&&Lr[255+f-u]<=i&&Lr[255+u-c]<=i&&Lr[255+c-l]<=i}function zt(e,t,n,r){var i=2*r+1;for(r=0;16>r;++r)Wt(e,t+r,n,i)&&Mt(e,t+r,n)}function Ht(e,t,n,r){var i=2*r+1;for(r=0;16>r;++r)Wt(e,t+r*n,1,i)&&Mt(e,t+r*n,1)}function Vt(e,t,n,r){var i;for(i=3;0<i;--i)zt(e,t+=4*n,n,r)}function qt(e,t,n,r){var i;for(i=3;0<i;--i)Ht(e,t+=4,n,r)}function Gt(e,t,n,r,i,a,o,s){for(a=2*a+1;0<i--;){if(Ut(e,t,n,a,o))if(jt(e,t,n,s))Mt(e,t,n);else{var l=e,c=t,u=n,f=l[c-2*u],h=l[c-u],d=l[c+0],p=l[c+u],g=l[c+2*u],m=27*(b=Br[1020+3*(d-h)+Br[1020+f-p]])+63>>7,v=18*b+63>>7,b=9*b+63>>7;l[c-3*u]=Pr[255+l[c-3*u]+b],l[c-2*u]=Pr[255+f+v],l[c-u]=Pr[255+h+m],l[c+0]=Pr[255+d-m],l[c+u]=Pr[255+p-v],l[c+2*u]=Pr[255+g-b]}t+=r}}function Xt(e,t,n,r,i,a,o,s){for(a=2*a+1;0<i--;){if(Ut(e,t,n,a,o))if(jt(e,t,n,s))Mt(e,t,n);else{var l=e,c=t,u=n,f=l[c-u],h=l[c+0],d=l[c+u],p=Or[112+(4+(g=3*(h-f))>>3)],g=Or[112+(g+3>>3)],m=p+1>>1;l[c-2*u]=Pr[255+l[c-2*u]+m],l[c-u]=Pr[255+f+g],l[c+0]=Pr[255+h-p],l[c+u]=Pr[255+d-m]}t+=r}}function $t(e,t,n,r,i,a){Gt(e,t,n,1,16,r,i,a)}function Yt(e,t,n,r,i,a){Gt(e,t,1,n,16,r,i,a)}function Kt(e,t,n,r,i,a){var o;for(o=3;0<o;--o)Xt(e,t+=4*n,n,1,16,r,i,a)}function Jt(e,t,n,r,i,a){var o;for(o=3;0<o;--o)Xt(e,t+=4,1,n,16,r,i,a)}function Zt(e,t,n,r,i,a,o,s){Gt(e,t,i,1,8,a,o,s),Gt(n,r,i,1,8,a,o,s)}function Qt(e,t,n,r,i,a,o,s){Gt(e,t,1,i,8,a,o,s),Gt(n,r,1,i,8,a,o,s)}function en(e,t,n,r,i,a,o,s){Xt(e,t+4*i,i,1,8,a,o,s),Xt(n,r+4*i,i,1,8,a,o,s)}function tn(e,t,n,r,i,a,o,s){Xt(e,t+4,1,i,8,a,o,s),Xt(n,r+4,1,i,8,a,o,s)}function nn(){this.ba=new oe,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new le,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function rn(){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 an(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function on(){this.ua=0,this.Wa=new L,this.vb=new L,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new d,this.yc=new f}function sn(){this.xb=this.a=0,this.l=new Ge,this.ca=new oe,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 on,this.ab=0,this.gc=o(4,an),this.Oc=0}function ln(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Ge,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function cn(e,t,n,r,i,a,o){for(e=null==e?0:e[t+0],t=0;t<o;++t)i[a+t]=e+n[r+t]&255,e=i[a+t]}function un(e,t,n,r,i,a,o){var s;if(null==e)cn(null,null,n,r,i,a,o);else for(s=0;s<o;++s)i[a+s]=e[t+s]+n[r+s]&255}function fn(e,t,n,r,i,a,o){if(null==e)cn(null,null,n,r,i,a,o);else{var s,l=e[t+0],c=l,u=l;for(s=0;s<o;++s)c=u+(l=e[t+s])-c,u=n[r+s]+(-256&c?0>c?0:255:c)&255,c=l,i[a+s]=u}}function hn(e,n,i,o){var s=n.width,l=n.o;if(t(null!=e&&null!=n),0>i||0>=o||i+o>l)return null;if(!e.Cc){if(null==e.ga){var c;if(e.ga=new ln,(c=null==e.ga)||(c=n.width*n.o,t(0==e.Gb.length),e.Gb=a(c),e.Uc=0,null==e.Gb?c=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,c=1),c=!c),!c){c=e.ga;var u=e.Fa,f=e.P,h=e.qc,d=e.mb,p=e.nb,g=f+1,m=h-1,b=c.l;if(t(null!=u&&null!=d&&null!=n),mi[0]=null,mi[1]=cn,mi[2]=un,mi[3]=fn,c.ca=d,c.tb=p,c.c=n.width,c.i=n.height,t(0<c.c&&0<c.i),1>=h)n=0;else if(c.$a=u[f+0]>>0&3,c.Z=u[f+0]>>2&3,c.Lc=u[f+0]>>4&3,f=u[f+0]>>6&3,0>c.$a||1<c.$a||4<=c.Z||1<c.Lc||f)n=0;else if(b.put=de,b.ac=he,b.bc=pe,b.ma=c,b.width=n.width,b.height=n.height,b.Da=n.Da,b.v=n.v,b.va=n.va,b.j=n.j,b.o=n.o,c.$a)e:{t(1==c.$a),n=Te();t:for(;;){if(null==n){n=0;break e}if(t(null!=c),c.mc=n,n.c=c.c,n.i=c.i,n.l=c.l,n.l.ma=c,n.l.width=c.c,n.l.height=c.i,n.a=0,v(n.m,u,g,m),!Re(c.c,c.i,1,n,null))break t;if(1==n.ab&&3==n.gc[0].hc&&Ee(n.s)?(c.ic=1,u=n.c*n.i,n.Ta=null,n.Ua=0,n.V=a(u),n.Ba=0,null==n.V?(n.a=1,n=0):n=1):(c.ic=0,n=Ne(n,c.c)),!n)break t;n=1;break e}c.mc=null,n=0}else n=m>=c.c*c.i;c=!n}if(c)return null;1!=e.ga.Lc?e.Ga=0:o=l-i}t(null!=e.ga),t(i+o<=l);e:{if(n=(u=e.ga).c,l=u.l.o,0==u.$a){if(g=e.rc,m=e.Vc,b=e.Fa,f=e.P+1+i*n,h=e.mb,d=e.nb+i*n,t(f<=e.P+e.qc),0!=u.Z)for(t(null!=mi[u.Z]),c=0;c<o;++c)mi[u.Z](g,m,b,f,h,d,n),g=h,m=d,d+=n,f+=n;else for(c=0;c<o;++c)r(h,d,b,f,n),g=h,m=d,d+=n,f+=n;e.rc=g,e.Vc=m}else{if(t(null!=u.mc),n=i+o,t(null!=(c=u.mc)),t(n<=c.i),c.C>=n)n=1;else if(u.ic||vn(),u.ic){u=c.V,g=c.Ba,m=c.c;var y=c.i,w=(b=1,f=c.$/m,h=c.$%m,d=c.m,p=c.s,c.$),S=m*y,x=m*n,_=p.wc,C=w<x?we(p,h,f):null;t(w<=S),t(n<=y),t(Ee(p));t:for(;;){for(;!d.h&&w<x;){if(h&_||(C=we(p,h,f)),t(null!=C),A(d),256>(y=be(C.G[0],C.H[0],d)))u[g+w]=y,++w,++h>=m&&(h=0,++f<=n&&!(f%16)&&Ae(c,f));else{if(!(280>y)){b=0;break t}y=me(y-256,d);var k,T=be(C.G[4],C.H[4],d);if(A(d),!(w>=(T=ve(m,T=me(T,d)))&&S-w>=y)){b=0;break t}for(k=0;k<y;++k)u[g+w+k]=u[g+w+k-T];for(w+=y,h+=y;h>=m;)h-=m,++f<=n&&!(f%16)&&Ae(c,f);w<x&&h&_&&(C=we(p,h,f))}t(d.h==E(d))}Ae(c,f>n?n:f);break t}!b||d.h&&w<S?(b=0,c.a=d.h?5:3):c.$=w,n=b}else n=Ce(c,c.V,c.Ba,c.c,c.i,n,Ie);if(!n){o=0;break e}}i+o>=l&&(e.Cc=1),o=1}if(!o)return null;if(e.Cc&&(null!=(o=e.ga)&&(o.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+i*s}function dn(e,t,n,r,i,a){for(;0<i--;){var o,s=e,l=t+(n?1:0),c=e,u=t+(n?0:3);for(o=0;o<r;++o){var f=c[u+4*o];255!=f&&(f*=32897,s[l+4*o+0]=s[l+4*o+0]*f>>23,s[l+4*o+1]=s[l+4*o+1]*f>>23,s[l+4*o+2]=s[l+4*o+2]*f>>23)}t+=a}}function pn(e,t,n,r,i){for(;0<r--;){var a;for(a=0;a<n;++a){var o=e[t+2*a+0],s=15&(c=e[t+2*a+1]),l=4369*s,c=(240&c|c>>4)*l>>16;e[t+2*a+0]=(240&o|o>>4)*l>>16&240|(15&o|o<<4)*l>>16>>4&15,e[t+2*a+1]=240&c|s}t+=i}}function gn(e,t,n,r,i,a,o,s){var l,c,u=255;for(c=0;c<i;++c){for(l=0;l<r;++l){var f=e[t+l];a[o+4*l]=f,u&=f}t+=n,o+=s}return 255!=u}function mn(e,t,n,r,i){var a;for(a=0;a<i;++a)n[r+a]=e[t+a]>>8}function vn(){Er=dn,_r=pn,Ar=gn,Cr=mn}function bn(n,r,i){e[n]=function(e,n,a,o,s,l,c,u,f,h,d,p,g,m,v,b,y){var w,S=y-1>>1,x=s[l+0]|c[u+0]<<16,E=f[h+0]|d[p+0]<<16;t(null!=e);var _=3*x+E+131074>>2;for(r(e[n+0],255&_,_>>16,g,m),null!=a&&(_=3*E+x+131074>>2,r(a[o+0],255&_,_>>16,v,b)),w=1;w<=S;++w){var A=s[l+w]|c[u+w]<<16,C=f[h+w]|d[p+w]<<16,k=x+A+E+C+524296,T=k+2*(A+E)>>3;_=T+x>>1,x=(k=k+2*(x+C)>>3)+A>>1,r(e[n+2*w-1],255&_,_>>16,g,m+(2*w-1)*i),r(e[n+2*w-0],255&x,x>>16,g,m+(2*w-0)*i),null!=a&&(_=k+E>>1,x=T+C>>1,r(a[o+2*w-1],255&_,_>>16,v,b+(2*w-1)*i),r(a[o+2*w+0],255&x,x>>16,v,b+(2*w+0)*i)),x=A,E=C}1&y||(_=3*x+E+131074>>2,r(e[n+y-1],255&_,_>>16,g,m+(y-1)*i),null!=a&&(_=3*E+x+131074>>2,r(a[o+y-1],255&_,_>>16,v,b+(y-1)*i)))}}function yn(){vi[Fr]=bi,vi[Dr]=wi,vi[Mr]=yi,vi[jr]=Si,vi[Wr]=xi,vi[Ur]=Ei,vi[zr]=_i,vi[Hr]=wi,vi[Vr]=Si,vi[qr]=xi,vi[Gr]=Ei}function wn(e){return e&~Ni?0>e?0:255:e>>Ri}function Sn(e,t){return wn((19077*e>>8)+(26149*t>>8)-14234)}function xn(e,t,n){return wn((19077*e>>8)-(6419*t>>8)-(13320*n>>8)+8708)}function En(e,t){return wn((19077*e>>8)+(33050*t>>8)-17685)}function _n(e,t,n,r,i){r[i+0]=Sn(e,n),r[i+1]=xn(e,t,n),r[i+2]=En(e,t)}function An(e,t,n,r,i){r[i+0]=En(e,t),r[i+1]=xn(e,t,n),r[i+2]=Sn(e,n)}function Cn(e,t,n,r,i){var a=xn(e,t,n);t=a<<3&224|En(e,t)>>3,r[i+0]=248&Sn(e,n)|a>>5,r[i+1]=t}function kn(e,t,n,r,i){var a=240&En(e,t)|15;r[i+0]=240&Sn(e,n)|xn(e,t,n)>>4,r[i+1]=a}function Tn(e,t,n,r,i){r[i+0]=255,_n(e,t,n,r,i+1)}function Rn(e,t,n,r,i){An(e,t,n,r,i),r[i+3]=255}function Nn(e,t,n,r,i){_n(e,t,n,r,i),r[i+3]=255}function qe(e,t){return 0>e?0:e>t?t:e}function In(t,n,r){e[t]=function(e,t,i,a,o,s,l,c,u){for(var f=c+(-2&u)*r;c!=f;)n(e[t+0],i[a+0],o[s+0],l,c),n(e[t+1],i[a+0],o[s+0],l,c+r),t+=2,++a,++s,c+=2*r;1&u&&n(e[t+0],i[a+0],o[s+0],l,c)}}function Bn(e,t,n){return 0==n?0==e?0==t?6:5:0==t?4:0:n}function On(e,t,n,r,i){switch(e>>>30){case 3:or(t,n,r,i,0);break;case 2:sr(t,n,r,i);break;case 1:cr(t,n,r,i)}}function Pn(e,t){var n,a,o=t.M,s=t.Nb,l=e.oc,c=e.pc+40,u=e.oc,f=e.pc+584,h=e.oc,d=e.pc+600;for(n=0;16>n;++n)l[c+32*n-1]=129;for(n=0;8>n;++n)u[f+32*n-1]=129,h[d+32*n-1]=129;for(0<o?l[c-1-32]=u[f-1-32]=h[d-1-32]=129:(i(l,c-32-1,127,21),i(u,f-32-1,127,9),i(h,d-32-1,127,9)),a=0;a<e.za;++a){var p=t.ya[t.aa+a];if(0<a){for(n=-1;16>n;++n)r(l,c+32*n-4,l,c+32*n+12,4);for(n=-1;8>n;++n)r(u,f+32*n-4,u,f+32*n+4,4),r(h,d+32*n-4,h,d+32*n+4,4)}var g=e.Gd,m=e.Hd+a,v=p.ad,b=p.Hc;if(0<o&&(r(l,c-32,g[m].y,0,16),r(u,f-32,g[m].f,0,8),r(h,d-32,g[m].ea,0,8)),p.Za){var y=l,w=c-32+16;for(0<o&&(a>=e.za-1?i(y,w,g[m].y[15],4):r(y,w,g[m+1].y,0,4)),n=0;4>n;n++)y[w+128+n]=y[w+256+n]=y[w+384+n]=y[w+0+n];for(n=0;16>n;++n,b<<=2)y=l,w=c+Mi[n],hi[p.Ob[n]](y,w),On(b,v,16*+n,y,w)}else if(y=Bn(a,o,p.Ob[0]),fi[y](l,c),0!=b)for(n=0;16>n;++n,b<<=2)On(b,v,16*+n,l,c+Mi[n]);for(n=p.Gc,y=Bn(a,o,p.Dd),di[y](u,f),di[y](h,d),b=v,y=u,w=f,255&(p=n>>0)&&(170&p?lr(b,256,y,w):ur(b,256,y,w)),p=h,b=d,255&(n>>=8)&&(170&n?lr(v,320,p,b):ur(v,320,p,b)),o<e.Ub-1&&(r(g[m].y,0,l,c+480,16),r(g[m].f,0,u,f+224,8),r(g[m].ea,0,h,d+224,8)),n=8*s*e.B,g=e.sa,m=e.ta+16*a+16*s*e.R,v=e.qa,p=e.ra+8*a+n,b=e.Ha,y=e.Ia+8*a+n,n=0;16>n;++n)r(g,m+n*e.R,l,c+32*n,16);for(n=0;8>n;++n)r(v,p+n*e.B,u,f+32*n,8),r(b,y+n*e.B,h,d+32*n,8)}}function Ln(e,r,i,a,o,s,l,c,u){var f=[0],h=[0],d=0,p=null!=u?u.kd:0,g=null!=u?u:new rn;if(null==e||12>i)return 7;g.data=e,g.w=r,g.ha=i,r=[r],i=[i],g.gb=[g.gb];e:{var m=r,b=i,y=g.gb;if(t(null!=e),t(null!=b),t(null!=y),y[0]=0,12<=b[0]&&!n(e,m[0],"RIFF")){if(n(e,m[0]+8,"WEBP")){y=3;break e}var w=B(e,m[0]+4);if(12>w||4294967286<w){y=3;break e}if(p&&w>b[0]-8){y=7;break e}y[0]=w,m[0]+=12,b[0]-=12}y=0}if(0!=y)return y;for(w=0<g.gb[0],i=i[0];;){e:{var x=e;b=r,y=i;var E=f,_=h,A=m=[0];if((T=d=[d])[0]=0,8>y[0])y=7;else{if(!n(x,b[0],"VP8X")){if(10!=B(x,b[0]+4)){y=3;break e}if(18>y[0]){y=7;break e}var C=B(x,b[0]+8),k=1+I(x,b[0]+12);if(2147483648<=k*(x=1+I(x,b[0]+15))){y=3;break e}null!=A&&(A[0]=C),null!=E&&(E[0]=k),null!=_&&(_[0]=x),b[0]+=18,y[0]-=18,T[0]=1}y=0}}if(d=d[0],m=m[0],0!=y)return y;if(b=!!(2&m),!w&&d)return 3;if(null!=s&&(s[0]=!!(16&m)),null!=l&&(l[0]=b),null!=c&&(c[0]=0),l=f[0],m=h[0],d&&b&&null==u){y=0;break}if(4>i){y=7;break}if(w&&d||!w&&!d&&!n(e,r[0],"ALPH")){i=[i],g.na=[g.na],g.P=[g.P],g.Sa=[g.Sa];e:{C=e,y=r,w=i;var T=g.gb;E=g.na,_=g.P,A=g.Sa,k=22,t(null!=C),t(null!=w),x=y[0];var R=w[0];for(t(null!=E),t(null!=A),E[0]=null,_[0]=null,A[0]=0;;){if(y[0]=x,w[0]=R,8>R){y=7;break e}var N=B(C,x+4);if(4294967286<N){y=3;break e}var O=8+N+1&-2;if(k+=O,0<T&&k>T){y=3;break e}if(!n(C,x,"VP8 ")||!n(C,x,"VP8L")){y=0;break e}if(R[0]<O){y=7;break e}n(C,x,"ALPH")||(E[0]=C,_[0]=x+8,A[0]=N),x+=O,R-=O}}if(i=i[0],g.na=g.na[0],g.P=g.P[0],g.Sa=g.Sa[0],0!=y)break}i=[i],g.Ja=[g.Ja],g.xa=[g.xa];e:if(T=e,y=r,w=i,E=g.gb[0],_=g.Ja,A=g.xa,C=y[0],x=!n(T,C,"VP8 "),k=!n(T,C,"VP8L"),t(null!=T),t(null!=w),t(null!=_),t(null!=A),8>w[0])y=7;else{if(x||k){if(T=B(T,C+4),12<=E&&T>E-12){y=3;break e}if(p&&T>w[0]-8){y=7;break e}_[0]=T,y[0]+=8,w[0]-=8,A[0]=k}else A[0]=5<=w[0]&&47==T[C+0]&&!(T[C+4]>>5),_[0]=w[0];y=0}if(i=i[0],g.Ja=g.Ja[0],g.xa=g.xa[0],r=r[0],0!=y)break;if(4294967286<g.Ja)return 3;if(null==c||b||(c[0]=g.xa?2:1),l=[l],m=[m],g.xa){if(5>i){y=7;break}c=l,p=m,b=s,null==e||5>i?e=0:5<=i&&47==e[r+0]&&!(e[r+4]>>5)?(w=[0],T=[0],E=[0],v(_=new S,e,r,i),ge(_,w,T,E)?(null!=c&&(c[0]=w[0]),null!=p&&(p[0]=T[0]),null!=b&&(b[0]=E[0]),e=1):e=0):e=0}else{if(10>i){y=7;break}c=m,null==e||10>i||!Ye(e,r+3,i-3)?e=0:(p=e[r+0]|e[r+1]<<8|e[r+2]<<16,b=16383&(e[r+7]<<8|e[r+6]),e=16383&(e[r+9]<<8|e[r+8]),1&p||3<(p>>1&7)||!(p>>4&1)||p>>5>=g.Ja||!b||!e?e=0:(l&&(l[0]=b),c&&(c[0]=e),e=1))}if(!e)return 3;if(l=l[0],m=m[0],d&&(f[0]!=l||h[0]!=m))return 3;null!=u&&(u[0]=g,u.offset=r-u.w,t(4294967286>r-u.w),t(u.offset==u.ha-i));break}return 0==y||7==y&&d&&null==u?(null!=s&&(s[0]|=null!=g.na&&0<g.na.length),null!=a&&(a[0]=l),null!=o&&(o[0]=m),0):y}function Fn(e,t,n){var r=t.width,i=t.height,a=0,o=0,s=r,l=i;if(t.Da=null!=e&&0<e.Da,t.Da&&(s=e.cd,l=e.bd,a=e.v,o=e.j,11>n||(a&=-2,o&=-2),0>a||0>o||0>=s||0>=l||a+s>r||o+l>i))return 0;if(t.v=a,t.j=o,t.va=a+s,t.o=o+l,t.U=s,t.T=l,t.da=null!=e&&0<e.da,t.da){if(!F(s,l,n=[e.ib],a=[e.hb]))return 0;t.ib=n[0],t.hb=a[0]}return t.ob=null!=e&&e.ob,t.Kb=null==e||!e.Sd,t.da&&(t.ob=t.ib<3*r/4&&t.hb<3*i/4,t.Kb=0),1}function Dn(e){if(null==e)return 2;if(11>e.S){var t=e.f.RGBA;t.fb+=(e.height-1)*t.A,t.A=-t.A}else t=e.f.kb,e=e.height,t.O+=(e-1)*t.fa,t.fa=-t.fa,t.N+=(e-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(e-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(e-1)*t.lb,t.lb=-t.lb);return 0}function Mn(e,t,n,r){if(null==r||0>=e||0>=t)return 2;if(null!=n){if(n.Da){var i=n.cd,o=n.bd,s=-2&n.v,l=-2&n.j;if(0>s||0>l||0>=i||0>=o||s+i>e||l+o>t)return 2;e=i,t=o}if(n.da){if(!F(e,t,i=[n.ib],o=[n.hb]))return 2;e=i[0],t=o[0]}}r.width=e,r.height=t;e:{var c=r.width,u=r.height;if(e=r.S,0>=c||0>=u||!(e>=Fr&&13>e))e=2;else{if(0>=r.Rd&&null==r.sd){s=o=i=t=0;var f=(l=c*zi[e])*u;if(11>e||(o=(u+1)/2*(t=(c+1)/2),12==e&&(s=(i=c)*u)),null==(u=a(f+2*o+s))){e=1;break e}r.sd=u,11>e?((c=r.f.RGBA).eb=u,c.fb=0,c.A=l,c.size=f):((c=r.f.kb).y=u,c.O=0,c.fa=l,c.Fd=f,c.f=u,c.N=0+f,c.Ab=t,c.Cd=o,c.ea=u,c.W=0+f+o,c.Db=t,c.Ed=o,12==e&&(c.F=u,c.J=0+f+2*o),c.Tc=s,c.lb=i)}if(t=1,i=r.S,o=r.width,s=r.height,i>=Fr&&13>i)if(11>i)e=r.f.RGBA,t&=(l=Math.abs(e.A))*(s-1)+o<=e.size,t&=l>=o*zi[i],t&=null!=e.eb;else{e=r.f.kb,l=(o+1)/2,f=(s+1)/2,c=Math.abs(e.fa),u=Math.abs(e.Ab);var h=Math.abs(e.Db),d=Math.abs(e.lb),p=d*(s-1)+o;t&=c*(s-1)+o<=e.Fd,t&=u*(f-1)+l<=e.Cd,t=(t&=h*(f-1)+l<=e.Ed)&c>=o&u>=l&h>=l,t&=null!=e.y,t&=null!=e.f,t&=null!=e.ea,12==i&&(t&=d>=o,t&=p<=e.Tc,t&=null!=e.F)}else t=0;e=t?0:2}}return 0!=e||null!=n&&n.fd&&(e=Dn(r)),e}var jn=64,Wn=[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],Un=24,zn=32,Hn=8,Vn=[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];j("Predictor0","PredictorAdd0"),e.Predictor0=function(){return 4278190080},e.Predictor1=function(e){return e},e.Predictor2=function(e,t,n){return t[n+0]},e.Predictor3=function(e,t,n){return t[n+1]},e.Predictor4=function(e,t,n){return t[n-1]},e.Predictor5=function(e,t,n){return U(U(e,t[n+1]),t[n+0])},e.Predictor6=function(e,t,n){return U(e,t[n-1])},e.Predictor7=function(e,t,n){return U(e,t[n+0])},e.Predictor8=function(e,t,n){return U(t[n-1],t[n+0])},e.Predictor9=function(e,t,n){return U(t[n+0],t[n+1])},e.Predictor10=function(e,t,n){return U(U(e,t[n-1]),U(t[n+0],t[n+1]))},e.Predictor11=function(e,t,n){var r=t[n+0];return 0>=V(r>>24&255,e>>24&255,(t=t[n-1])>>24&255)+V(r>>16&255,e>>16&255,t>>16&255)+V(r>>8&255,e>>8&255,t>>8&255)+V(255&r,255&e,255&t)?r:e},e.Predictor12=function(e,t,n){var r=t[n+0];return(z((e>>24&255)+(r>>24&255)-((t=t[n-1])>>24&255))<<24|z((e>>16&255)+(r>>16&255)-(t>>16&255))<<16|z((e>>8&255)+(r>>8&255)-(t>>8&255))<<8|z((255&e)+(255&r)-(255&t)))>>>0},e.Predictor13=function(e,t,n){var r=t[n-1];return(H((e=U(e,t[n+0]))>>24&255,r>>24&255)<<24|H(e>>16&255,r>>16&255)<<16|H(e>>8&255,r>>8&255)<<8|H(e>>0&255,r>>0&255))>>>0};var qn=e.PredictorAdd0;e.PredictorAdd1=q,j("Predictor2","PredictorAdd2"),j("Predictor3","PredictorAdd3"),j("Predictor4","PredictorAdd4"),j("Predictor5","PredictorAdd5"),j("Predictor6","PredictorAdd6"),j("Predictor7","PredictorAdd7"),j("Predictor8","PredictorAdd8"),j("Predictor9","PredictorAdd9"),j("Predictor10","PredictorAdd10"),j("Predictor11","PredictorAdd11"),j("Predictor12","PredictorAdd12"),j("Predictor13","PredictorAdd13");var Gn=e.PredictorAdd2;Y("ColorIndexInverseTransform","MapARGB","32b",(function(e){return e>>8&255}),(function(e){return e})),Y("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(e){return e}),(function(e){return e>>8&255}));var Xn,$n=e.ColorIndexInverseTransform,Yn=e.MapARGB,Kn=e.VP8LColorIndexInverseTransformAlpha,Jn=e.MapAlpha,Zn=e.VP8LPredictorsAdd=[];Zn.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var Qn,er,tr,nr,rr,ir,ar,or,sr,lr,cr,ur,fr,hr,dr,pr,gr,mr,vr,br,yr,wr,Sr,xr,Er,_r,Ar,Cr,kr=a(511),Tr=a(2041),Rr=a(225),Nr=a(767),Ir=0,Br=Tr,Or=Rr,Pr=Nr,Lr=kr,Fr=0,Dr=1,Mr=2,jr=3,Wr=4,Ur=5,zr=6,Hr=7,Vr=8,qr=9,Gr=10,Xr=[2,3,7],$r=[3,3,11],Yr=[280,256,256,256,40],Kr=[0,1,1,1,0],Jr=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Zr=[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],Qr=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ei=8,ti=[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],ni=[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],ri=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]],ai=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],oi=[-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]]]],li=[[[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]]],ci=[[[[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,gi=2,mi=[],vi=[];bn("UpsampleRgbLinePair",_n,3),bn("UpsampleBgrLinePair",An,3),bn("UpsampleRgbaLinePair",Nn,4),bn("UpsampleBgraLinePair",Rn,4),bn("UpsampleArgbLinePair",Tn,4),bn("UpsampleRgba4444LinePair",kn,2),bn("UpsampleRgb565LinePair",Cn,2);var bi=e.UpsampleRgbLinePair,yi=e.UpsampleBgrLinePair,wi=e.UpsampleRgbaLinePair,Si=e.UpsampleBgraLinePair,xi=e.UpsampleArgbLinePair,Ei=e.UpsampleRgba4444LinePair,_i=e.UpsampleRgb565LinePair,Ai=16,Ci=1<<Ai-1,ki=-227,Ti=482,Ri=6,Ni=(256<<Ri)-1,Ii=0,Bi=a(256),Oi=a(256),Pi=a(256),Li=a(256),Fi=a(Ti-ki),Di=a(Ti-ki);In("YuvToRgbRow",_n,3),In("YuvToBgrRow",An,3),In("YuvToRgbaRow",Nn,4),In("YuvToBgraRow",Rn,4),In("YuvToArgbRow",Tn,4),In("YuvToRgba4444Row",kn,2),In("YuvToRgb565Row",Cn,2);var Mi=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],ji=[0,2,8],Wi=[8,7,6,4,4,2,2,2,1,1,1,1],Ui=1;this.WebPDecodeRGBA=function(e,n,r,i,a){var o=Dr,s=new nn,l=new oe;s.ba=l,l.S=o,l.width=[l.width],l.height=[l.height];var c=l.width,u=l.height,f=new se;if(null==f||null==e)var h=2;else t(null!=f),h=Ln(e,n,r,f.width,f.height,f.Pd,f.Qd,f.format,null);if(0!=h?c=0:(null!=c&&(c[0]=f.width[0]),null!=u&&(u[0]=f.height[0]),c=1),c){l.width=l.width[0],l.height=l.height[0],null!=i&&(i[0]=l.width),null!=a&&(a[0]=l.height);e:{if(i=new Ge,(a=new rn).data=e,a.w=n,a.ha=r,a.kd=1,n=[0],t(null!=a),(0==(e=Ln(a.data,a.w,a.ha,null,null,null,n,null,a))||7==e)&&n[0]&&(e=4),0==(n=e)){if(t(null!=s),i.data=a.data,i.w=a.w+a.offset,i.ha=a.ha-a.offset,i.put=de,i.ac=he,i.bc=pe,i.ma=s,a.xa){if(null==(e=Te())){s=1;break e}if(function(e,n){var r=[0],i=[0],a=[0];t:for(;;){if(null==e)return 0;if(null==n)return e.a=2,0;if(e.l=n,e.a=0,v(e.m,n.data,n.w,n.ha),!ge(e.m,r,i,a)){e.a=3;break t}if(e.xb=gi,n.width=r[0],n.height=i[0],!Re(r[0],i[0],1,e,null))break t;return 1}return t(0!=e.a),0}(e,i)){if(i=0==(n=Mn(i.width,i.height,s.Oa,s.ba))){t:{i=e;n:for(;;){if(null==i){i=0;break t}if(t(null!=i.s.yc),t(null!=i.s.Ya),t(0<i.s.Wb),t(null!=(r=i.l)),t(null!=(a=r.ma)),0!=i.xb){if(i.ca=a.ba,i.tb=a.tb,t(null!=i.ca),!Fn(a.Oa,r,jr)){i.a=2;break n}if(!Ne(i,r.width))break n;if(r.da)break n;if((r.da||re(i.ca.S))&&vn(),11>i.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=i.ca.f.kb.F&&vn()),i.Pb&&0<i.s.ua&&null==i.s.vb.X&&!O(i.s.vb,i.s.Wa.Xa)){i.a=1;break n}i.xb=0}if(!Ce(i,i.V,i.Ba,i.c,i.i,r.o,xe))break n;a.Dc=i.Ma,i=1;break t}t(0!=i.a),i=0}i=!i}i&&(n=e.a)}else n=e.a}else{if(null==(e=new Xe)){s=1;break e}if(e.Fa=a.na,e.P=a.P,e.qc=a.Sa,Ke(e,i)){if(0==(n=Mn(i.width,i.height,s.Oa,s.ba))){if(e.Aa=0,r=s.Oa,t(null!=(a=e)),null!=r){if(0<(c=0>(c=r.Md)?0:100<c?255:255*c/100)){for(u=f=0;4>u;++u)12>(h=a.pb[u]).lc&&(h.ia=c*Wi[0>h.lc?0:h.lc]>>3),f|=h.ia;f&&(alert("todo:VP8InitRandom"),a.ia=1)}a.Ga=r.Id,100<a.Ga?a.Ga=100:0>a.Ga&&(a.Ga=0)}Qe(e,i)||(n=e.a)}}else n=e.a}0==n&&null!=s.Oa&&s.Oa.fd&&(n=Dn(s.ba))}s=n}o=0!=s?null:11>o?l.f.RGBA.eb:l.f.kb.y}else o=null;return o};var zi=[3,4,3,4,4,2,2,4,4,4,2,1,1]});var f=[0],h=[0],d=[],p=new Nt,g=e,m=function(e,t){var n={},r=0,i=!1,a=0,o=0;if(n.frames=[],!function(e,t,n,r){for(var i=0;i<4;i++)if(e[t+i]!="RIFF".charCodeAt(i))return!0;return!1}(e,t)){var s,f;for(u(e,t+=4),t+=8;t<e.length;){var h=l(e,t),d=u(e,t+=4);t+=4;var p=d+(1&d);switch(h){case"VP8 ":case"VP8L":void 0===n.frames[r]&&(n.frames[r]={}),(v=n.frames[r]).src_off=i?o:t-8,v.src_size=a+d+8,r++,i&&(i=!1,a=0,o=0);break;case"VP8X":(v=n.header={}).feature_flags=e[t];var g=t+4;v.canvas_width=1+c(e,g),g+=3,v.canvas_height=1+c(e,g),g+=3;break;case"ALPH":i=!0,a=p+8,o=t-8;break;case"ANIM":(v=n.header).bgcolor=u(e,t),g=t+4,v.loop_count=(s=e)[(f=g)+0]<<0|s[f+1]<<8,g+=2;break;case"ANMF":var m,v;(v=n.frames[r]={}).offset_x=2*c(e,t),t+=3,v.offset_y=2*c(e,t),t+=3,v.width=1+c(e,t),t+=3,v.height=1+c(e,t),t+=3,v.duration=c(e,t),t+=3,m=e[t++],v.dispose=1&m,v.blend=m>>1&1}"ANMF"!=h&&(t+=p)}return n}}(g,0);m.response=g,m.rgbaoutput=!0,m.dataurl=!1;var v=m.header?m.header:null,b=m.frames?m.frames:null;if(v){v.loop_counter=v.loop_count,f=[v.canvas_height],h=[v.canvas_width];for(var y=0;y<b.length&&0!=b[y].blend;y++);}var w=b[0],S=p.WebPDecodeRGBA(g,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(e){var t=function(t,r,l,c){var u=4,f=a;switch(c){case e.image_compression.FAST:u=1,f=i;break;case e.image_compression.MEDIUM:u=6,f=o;break;case e.image_compression.SLOW:u=9,f=s}var h=yt(t=n(t,r,l,f),{level:u});return e.__addimage__.arrayBufferToBinaryString(h)},n=function(e,t,n,r){for(var i,a,o,s=e.length/t,l=new Uint8Array(e.length+s),f=c(),h=0;h<s;h+=1){if(o=h*t,i=e.subarray(o,o+t),r)l.set(r(i,n,a),o+h);else{for(var d,p=f.length,g=[];d<p;d+=1)g[d]=f[d](i,n,a);var m=u(g.concat());l.set(g[m],o+h)}a=i}return l},r=function(e){var t=Array.apply([],e);return t.unshift(0),t},i=function(e,t){var n,r=[],i=e.length;r[0]=1;for(var a=0;a<i;a+=1)n=e[a-t]||0,r[a+1]=e[a]-n+256&255;return r},a=function(e,t,n){var r,i=[],a=e.length;i[0]=2;for(var o=0;o<a;o+=1)r=n&&n[o]||0,i[o+1]=e[o]-r+256&255;return i},o=function(e,t,n){var r,i,a=[],o=e.length;a[0]=3;for(var s=0;s<o;s+=1)r=e[s-t]||0,i=n&&n[s]||0,a[s+1]=e[s]+256-(r+i>>>1)&255;return a},s=function(e,t,n){var r,i,a,o,s=[],c=e.length;s[0]=4;for(var u=0;u<c;u+=1)r=e[u-t]||0,i=n&&n[u]||0,a=n&&n[u-t]||0,o=l(r,i,a),s[u+1]=e[u]-o+256&255;return s},l=function(e,t,n){if(e===t&&t===n)return e;var r=Math.abs(t-n),i=Math.abs(e-n),a=Math.abs(e+t-n-n);return r<=i&&r<=a?e:i<=a?t:n},c=function(){return[r,i,a,o,s]},u=function(e){var t=e.map((function(e){return e.reduce((function(e,t){return e+Math.abs(t)}),0)}));return t.indexOf(Math.min.apply(null,t))};e.processPNG=function(n,r,i,a){var o,s,l,c,u,f,h,d,p,g,m,v,b,y,w,S=this.decode.FLATE_DECODE,x="";if(this.__addimage__.isArrayBuffer(n)&&(n=new Uint8Array(n)),this.__addimage__.isArrayBufferView(n)){if(n=(l=new At(n)).imgData,s=l.bits,o=l.colorSpace,u=l.colors,-1!==[4,6].indexOf(l.colorType)){if(8===l.bits){p=(d=32==l.pixelBitlength?new Uint32Array(l.decodePixels().buffer):16==l.pixelBitlength?new Uint16Array(l.decodePixels().buffer):new Uint8Array(l.decodePixels().buffer)).length,m=new Uint8Array(p*l.colors),g=new Uint8Array(p);var E,_=l.pixelBitlength-l.bits;for(y=0,w=0;y<p;y++){for(b=d[y],E=0;E<_;)m[w++]=b>>>E&255,E+=l.bits;g[y]=b>>>E&255}}if(16===l.bits){p=(d=new Uint32Array(l.decodePixels().buffer)).length,m=new Uint8Array(p*(32/l.pixelBitlength)*l.colors),g=new Uint8Array(p*(32/l.pixelBitlength)),v=l.colors>1,y=0,w=0;for(var A=0;y<p;)b=d[y++],m[w++]=b>>>0&255,v&&(m[w++]=b>>>16&255,b=d[y++],m[w++]=b>>>0&255),g[A++]=b>>>16&255;s=8}a!==e.image_compression.NONE?(n=t(m,l.width*l.colors,l.colors,a),h=t(g,l.width,1,a)):(n=m,h=g,S=void 0)}if(3===l.colorType&&(o=this.color_spaces.INDEXED,f=l.palette,l.transparency.indexed)){var C=l.transparency.indexed,k=0;for(y=0,p=C.length;y<p;++y)k+=C[y];if((k/=255)==p-1&&-1!==C.indexOf(0))c=[C.indexOf(0)];else if(k!==p){for(d=l.decodePixels(),g=new Uint8Array(d.length),y=0,p=d.length;y<p;y++)g[y]=C[d[y]];h=t(g,l.width,1)}}var T=function(t){var n;switch(t){case e.image_compression.FAST:n=11;break;case e.image_compression.MEDIUM:n=13;break;case e.image_compression.SLOW:n=14;break;default:n=12}return n}(a);return S===this.decode.FLATE_DECODE&&(x="/Predictor "+T+" "),x+="/Colors "+u+" /BitsPerComponent "+s+" /Columns "+l.width,(this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n))&&(n=this.__addimage__.arrayBufferToBinaryString(n)),(h&&this.__addimage__.isArrayBuffer(h)||this.__addimage__.isArrayBufferView(h))&&(h=this.__addimage__.arrayBufferToBinaryString(h)),{alias:i,data:n,index:r,filter:S,decodeParameters:x,transparency:c,palette:f,sMask:h,predictor:T,width:l.width,height:l.height,bitsPerComponent:s,colorSpace:o}}}}(B.API),function(e){e.processGIF89A=function(t,n,r,i){var a=new Ct(t),o=a.width,s=a.height,l=[];a.decodeAndBlitFrameRGBA(0,l);var c={data:l,width:o,height:s},u=new Tt(100).encode(c,100);return e.processJPEG.call(this,u,n,r,i)},e.processGIF87A=e.processGIF89A}(B.API),Rt.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 e=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:i,green:r,blue:n,quad:a}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Rt.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(e){r.log("bit decode error:"+e)}},Rt.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),n=t%4;for(e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<t;i++)for(var a=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+8*i*4,s=0;s<8&&8*i+s<this.width;s++){var l=this.palette[a>>7-s&1];this.data[o+4*s]=l.blue,this.data[o+4*s+1]=l.green,this.data[o+4*s+2]=l.red,this.data[o+4*s+3]=255}0!==n&&(this.pos+=4-n)}},Rt.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<e;i++){var a=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+2*i*4,s=a>>4,l=15&a,c=this.palette[s];if(this.data[o]=c.blue,this.data[o+1]=c.green,this.data[o+2]=c.red,this.data[o+3]=255,2*i+1>=this.width)break;c=this.palette[l],this.data[o+4]=c.blue,this.data[o+4+1]=c.green,this.data[o+4+2]=c.red,this.data[o+4+3]=255}0!==t&&(this.pos+=4-t)}},Rt.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),a=n*this.width*4+4*r;if(i<this.palette.length){var o=this.palette[i];this.data[a]=o.red,this.data[a+1]=o.green,this.data[a+2]=o.blue,this.data[a+3]=255}else this.data[a]=255,this.data[a+1]=255,this.data[a+2]=255,this.data[a+3]=255}0!==e&&(this.pos+=4-e)}},Rt.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<this.width;i++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(a&t)/t*255|0,s=(a>>5&t)/t*255|0,l=(a>>10&t)/t*255|0,c=a>>15?255:0,u=r*this.width*4+4*i;this.data[u]=l,this.data[u+1]=s,this.data[u+2]=o,this.data[u+3]=c}this.pos+=e}},Rt.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,a=0;a<this.width;a++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(o&t)/t*255|0,l=(o>>5&n)/n*255|0,c=(o>>11)/t*255|0,u=i*this.width*4+4*a;this.data[u]=c,this.data[u+1]=l,this.data[u+2]=s,this.data[u+3]=255}this.pos+=e}},Rt.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=t*this.width*4+4*n;this.data[o]=a,this.data[o+1]=i,this.data[o+2]=r,this.data[o+3]=255}this.pos+=this.width%4}},Rt.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*n;this.data[s]=a,this.data[s+1]=i,this.data[s+2]=r,this.data[s+3]=o}},Rt.prototype.getData=function(){return this.data},function(e){e.processBMP=function(t,n,r,i){var a=new Rt(t,!1),o=a.width,s=a.height,l={data:a.getData(),width:o,height:s},c=new Tt(100).encode(l,100);return e.processJPEG.call(this,c,n,r,i)}}(B.API),Nt.prototype.getData=function(){return this.data},function(e){e.processWEBP=function(t,n,r,i){var a=new Nt(t,!1),o=a.width,s=a.height,l={data:a.getData(),width:o,height:s},c=new Tt(100).encode(l,100);return e.processJPEG.call(this,c,n,r,i)}}(B.API),function(e){e.setLanguage=function(e){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"}[e]&&(this.internal.languageSettings.languageCode=e,!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}}(B.API),wt=B.API,St=wt.getCharWidthsArray=function(e,t){var n,r,i=(t=t||{}).font||this.internal.getFont(),a=t.fontSize||this.internal.getFontSize(),o=t.charSpace||this.internal.getCharSpace(),s=t.widths?t.widths:i.metadata.Unicode.widths,l=s.fof?s.fof:1,c=t.kerning?t.kerning:i.metadata.Unicode.kerning,u=c.fof?c.fof:1,f=!1!==t.doKerning,h=0,d=e.length,p=0,g=s[0]||l,m=[];for(n=0;n<d;n++)r=e.charCodeAt(n),"function"==typeof i.metadata.widthOfString?m.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(r))+o*(1e3/a)||0)/1e3):(h=f&&"object"==typeof c[r]&&!isNaN(parseInt(c[r][p],10))?c[r][p]/u:0,m.push((s[r]||g)/l+h)),p=r;return m},xt=wt.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),i=t.charSpace||this.internal.getCharSpace();return wt.processArabic&&(e=wt.processArabic(e)),"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(e,n,i)/n:St.apply(this,arguments).reduce((function(e,t){return e+t}),0)},Et=function(e,t,n,r){for(var i=[],a=0,o=e.length,s=0;a!==o&&s+t[a]<n;)s+=t[a],a++;i.push(e.slice(0,a));var l=a;for(s=0;a!==o;)s+t[a]>r&&(i.push(e.slice(l,a)),s=0,l=a),s+=t[a],a++;return l!==a&&i.push(e.slice(l,a)),i},_t=function(e,t,n){n||(n={});var r,i,a,o,s,l,c,u=[],f=[u],h=n.textIndent||0,d=0,p=0,g=e.split(" "),m=St.apply(this,[" ",n])[0];if(l=-1===n.lineIndent?g[0].length+2:n.lineIndent||0){var v=Array(l).join(" "),b=[];g.map((function(e){(e=e.split(/\s*\n/)).length>1?b=b.concat(e.map((function(e,t){return(t&&e.length?"\n":"")+e}))):b.push(e[0])})),g=b,l=xt.apply(this,[v,n])}for(a=0,o=g.length;a<o;a++){var y=0;if(r=g[a],l&&"\n"==r[0]&&(r=r.substr(1),y=1),h+d+(p=(i=St.apply(this,[r,n])).reduce((function(e,t){return e+t}),0))>t||y){if(p>t){for(s=Et.apply(this,[r,i,t-(h+d),t]),u.push(s.shift()),u=[s.pop()];s.length;)f.push([s.shift()]);p=i.slice(r.length-(u[0]?u[0].length:0)).reduce((function(e,t){return e+t}),0)}else u=[r];f.push(u),h=p+l,d=m}else u.push(r),h+=d+p,d=m}return c=l?function(e,t){return(t?v:"")+e.join(" ")}:function(e){return e.join(" ")},f.map(c)},wt.splitTextToSize=function(e,t,n){var r,i=(n=n||{}).fontSize||this.internal.getFontSize(),a=function(e){if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var t=this.internal.getFont(e.fontName,e.fontStyle);return t.metadata.Unicode?{widths:t.metadata.Unicode.widths||{0:1},kerning:t.metadata.Unicode.kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,n);r=Array.isArray(e)?e:String(e).split(/\r?\n/);var o=1*this.internal.scaleFactor*t/i;a.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/i:0,a.lineIndent=n.lineIndent;var s,l,c=[];for(s=0,l=r.length;s<l;s++)c=c.concat(_t.apply(this,[r[s],o,a]));return c},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",n={},r={},i=0;i<t.length;i++)n[t[i]]="0123456789abcdef"[i],r["0123456789abcdef"[i]]=t[i];var a=function(e){return"0x"+parseInt(e,10).toString(16)},o=e.__fontmetrics__.compress=function(e){var t,n,i,s,l=["{"];for(var c in e){if(t=e[c],isNaN(parseInt(c,10))?n="'"+c+"'":(c=parseInt(c,10),n=(n=a(c).slice(2)).slice(0,-1)+r[n.slice(-1)]),"number"==typeof t)t<0?(i=a(t).slice(3),s="-"):(i=a(t).slice(2),s=""),i=s+i.slice(0,-1)+r[i.slice(-1)];else{if("object"!=typeof t)throw new Error("Don't know what to do with value type "+typeof t+".");i=o(t)}l.push(n+i)}return l.push("}"),l.join("")},s=e.__fontmetrics__.uncompress=function(e){if("string"!=typeof e)throw new Error("Invalid argument passed to uncompress.");for(var t,r,i,a,o={},s=1,l=o,c=[],u="",f="",h=e.length-1,d=1;d<h;d+=1)"'"==(a=e[d])?t?(i=t.join(""),t=void 0):t=[]:t?t.push(a):"{"==a?(c.push([l,i]),l={},i=void 0):"}"==a?((r=c.pop())[0][r[1]]=l,i=void 0,l=r[0]):"-"==a?s=-1:void 0===i?n.hasOwnProperty(a)?(u+=n[a],i=parseInt(u,16)*s,s=1,u=""):u+=a:n.hasOwnProperty(a)?(f+=n[a],l[i]=parseInt(f,16)*s,s=1,i=void 0,f=""):f+=a;return o},l={codePages:["WinAnsiEncoding"],WinAnsiEncoding:s("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},c={Unicode:{Courier:l,"Courier-Bold":l,"Courier-BoldOblique":l,"Courier-Oblique":l,Helvetica:l,"Helvetica-Bold":l,"Helvetica-BoldOblique":l,"Helvetica-Oblique":l,"Times-Roman":l,"Times-Bold":l,"Times-BoldItalic":l,"Times-Italic":l}},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}}}")}};e.events.push(["addFont",function(e){var t=e.font,n=u.Unicode[t.postScriptName];n&&(t.metadata.Unicode={},t.metadata.Unicode.widths=n.widths,t.metadata.Unicode.kerning=n.kerning);var r=c.Unicode[t.postScriptName];r&&(t.metadata.Unicode.encoding=r,t.encoding=r.codePages[0])}])}(B.API),function(e){var t=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n};e.API.events.push(["addFont",function(n){var r=void 0,i=n.font,a=n.instance;if(!i.isStandardFont){if(void 0===a)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if("string"!=typeof(r=!1===a.existsFileInVFS(i.postScriptName)?a.loadFile(i.postScriptName):a.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(n,r){r=/^\x00\x01\x00\x00/.test(r)?t(r):t(s(r)),n.metadata=e.API.TTFFont.open(r),n.metadata.Unicode=n.metadata.Unicode||{encoding:{},kerning:{},widths:[]},n.metadata.glyIdsUsed=[0]}(i,r)}}])}(B),function(n){function i(){return(t.canvg?Promise.resolve(t.canvg):"object"==typeof e&&"undefined"!=typeof module?new Promise((function(e,t){try{e(require("canvg"))}catch(e){t(e)}})):"function"==typeof define&&define.amd?new Promise((function(e,t){try{require(["canvg"],e)}catch(e){t(e)}})):Promise.reject(new Error("Could not load canvg"))).catch((function(e){return Promise.reject(new Error("Could not load canvg: "+e))})).then((function(e){return e.default?e.default:e}))}n.addSvgAsImage=function(e,t,n,a,o,s,l,c){if(isNaN(t)||isNaN(n))throw r.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(a)||isNaN(o))throw r.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=a,u.height=o;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(t){return t.fromString(f,e,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(e){return e.render(h)})).then((function(){d.addImage(u.toDataURL("image/jpeg",1),t,n,a,o,l,c)}))}}(B.API),function(e){e.putTotalPages=function(e){var t,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),n=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(t,n);return this}}(B.API),function(e){e.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var r,i,a,o={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(o),l=[],c=0,u=0,f=0;function h(e,t){var n,r=!1;for(n=0;n<e.length;n+=1)e[n]===t&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===t){var d=s.length;for(f=0;f<d;f+=1)n[s[f]].value=n[s[f]].defaultValue,n[s[f]].explicitSet=!1}if("object"==typeof e)for(i in e)if(a=e[i],h(s,i)&&void 0!==a){if("boolean"===n[i].type&&"boolean"==typeof a)n[i].value=a;else if("name"===n[i].type&&h(n[i].valueSet,a))n[i].value=a;else if("integer"===n[i].type&&Number.isInteger(a))n[i].value=a;else if("array"===n[i].type){for(c=0;c<a.length;c+=1)if(r=!0,1===a[c].length&&"number"==typeof a[c][0])l.push(String(a[c]-1));else if(a[c].length>1){for(u=0;u<a[c].length;u+=1)"number"!=typeof a[c][u]&&(r=!1);!0===r&&l.push([a[c][0]-1,a[c][1]-1].join(" "))}n[i].value="["+l.join(" ")+"]"}else n[i].value=n[i].defaultValue;n[i].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var e,t=[];for(e in n)!0===n[e].explicitSet&&("name"===n[e].type?t.push("/"+e+" /"+n[e].value):t.push("/"+e+" "+n[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this}}(B.API),function(e){var t=function(){var e='<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>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),n=unescape(encodeURIComponent(e)),r=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),i=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),a=unescape(encodeURIComponent("</x:xmpmeta>")),o=n.length+r.length+i.length+t.length+a.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+o+" >>"),this.internal.write("stream"),this.internal.write(t+n+r+i+a),this.internal.write("endstream"),this.internal.write("endobj")},n=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(e,r){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:r||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",n),this.internal.events.subscribe("postPutResources",t)),this}}(B.API),function(e){var t=e.API,n=t.pdfEscape16=function(e,t){for(var n,r=t.metadata.Unicode.widths,i=["","0","00","000","0000"],a=[""],o=0,s=e.length;o<s;++o){if(n=t.metadata.characterToGlyph(e.charCodeAt(o)),t.metadata.glyIdsUsed.push(n),t.metadata.toUnicode[n]=e.charCodeAt(o),-1==r.indexOf(n)&&(r.push(n),r.push([parseInt(t.metadata.widthOfGlyph(n),10)])),"0"==n)return a.join("");n=n.toString(16),a.push(i[4-n.length],n)}return a.join("")},r=function(e){var t,n,r,i,a,o,s;for(a="/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",r=[],o=0,s=(n=Object.keys(e).sort((function(e,t){return e-t}))).length;o<s;o++)t=n[o],r.length>=100&&(a+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar",r=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(i=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),r.push("<"+t+"><"+i+">"));return r.length&&(a+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),a+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var n=t.font,i=t.out,a=t.newObject,o=t.putStream,s=t.pdfEscapeWithNeededParanthesis;if(n.metadata instanceof e.API.TTFFont&&"Identity-H"===n.encoding){for(var l=n.metadata.Unicode.widths,c=n.metadata.subset.encode(n.metadata.glyIdsUsed,1),u="",f=0;f<c.length;f++)u+=String.fromCharCode(c[f]);var h=a();o({data:u,addLength1:!0,objectId:h}),i("endobj");var d=a();o({data:r(n.metadata.toUnicode),addLength1:!0,objectId:d}),i("endobj");var p=a();i("<<"),i("/Type /FontDescriptor"),i("/FontName /"+s(n.fontName)),i("/FontFile2 "+h+" 0 R"),i("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),i("/Flags "+n.metadata.flags),i("/StemV "+n.metadata.stemV),i("/ItalicAngle "+n.metadata.italicAngle),i("/Ascent "+n.metadata.ascender),i("/Descent "+n.metadata.decender),i("/CapHeight "+n.metadata.capHeight),i(">>"),i("endobj");var g=a();i("<<"),i("/Type /Font"),i("/BaseFont /"+s(n.fontName)),i("/FontDescriptor "+p+" 0 R"),i("/W "+e.API.PDFObject.convert(l)),i("/CIDToGIDMap /Identity"),i("/DW 1000"),i("/Subtype /CIDFontType2"),i("/CIDSystemInfo"),i("<<"),i("/Supplement 0"),i("/Registry (Adobe)"),i("/Ordering ("+n.encoding+")"),i(">>"),i(">>"),i("endobj"),n.objectNumber=a(),i("<<"),i("/Type /Font"),i("/Subtype /Type0"),i("/ToUnicode "+d+" 0 R"),i("/BaseFont /"+s(n.fontName)),i("/Encoding /"+n.encoding),i("/DescendantFonts ["+g+" 0 R]"),i(">>"),i("endobj"),n.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var n=t.font,i=t.out,a=t.newObject,o=t.putStream,s=t.pdfEscapeWithNeededParanthesis;if(n.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===n.encoding){for(var l=n.metadata.rawData,c="",u=0;u<l.length;u++)c+=String.fromCharCode(l[u]);var f=a();o({data:c,addLength1:!0,objectId:f}),i("endobj");var h=a();o({data:r(n.metadata.toUnicode),addLength1:!0,objectId:h}),i("endobj");var d=a();i("<<"),i("/Descent "+n.metadata.decender),i("/CapHeight "+n.metadata.capHeight),i("/StemV "+n.metadata.stemV),i("/Type /FontDescriptor"),i("/FontFile2 "+f+" 0 R"),i("/Flags 96"),i("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),i("/FontName /"+s(n.fontName)),i("/ItalicAngle "+n.metadata.italicAngle),i("/Ascent "+n.metadata.ascender),i(">>"),i("endobj"),n.objectNumber=a();for(var p=0;p<n.metadata.hmtx.widths.length;p++)n.metadata.hmtx.widths[p]=parseInt(n.metadata.hmtx.widths[p]*(1e3/n.metadata.head.unitsPerEm));i("<</Subtype/TrueType/Type/Font/ToUnicode "+h+" 0 R/BaseFont/"+s(n.fontName)+"/FontDescriptor "+d+" 0 R/Encoding/"+n.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(n.metadata.hmtx.widths)+">>"),i("endobj"),n.isAlreadyPutted=!0}}(t)}]);var i=function(e){var t,r=e.text||"",i=e.x,a=e.y,o=e.options||{},s=e.mutex||{},l=s.pdfEscape,c=s.activeFontKey,u=s.fonts,f=c,h="",d=0,p="",g=u[f].encoding;if("Identity-H"!==u[f].encoding)return{text:r,x:i,y:a,options:o,mutex:s};for(p=r,f=c,Array.isArray(r)&&(p=r[0]),d=0;d<p.length;d+=1)u[f].metadata.hasOwnProperty("cmap")&&(t=u[f].metadata.cmap.unicode.codeMap[p[d].charCodeAt(0)]),t||p[d].charCodeAt(0)<256&&u[f].metadata.hasOwnProperty("Unicode")?h+=p[d]:h+="";var m="";return parseInt(f.slice(1))<14||"WinAnsiEncoding"===g?m=l(h,f).split("").map((function(e){return e.charCodeAt(0).toString(16)})).join(""):"Identity-H"===g&&(m=n(h,u[f])),s.isHex=!0,{text:m,x:i,y:a,options:o,mutex:s}};t.events.push(["postProcessText",function(e){var t=e.text||"",n=[],r={text:t,x:e.x,y:e.y,options:e.options,mutex:e.mutex};if(Array.isArray(t)){var a=0;for(a=0;a<t.length;a+=1)Array.isArray(t[a])&&3===t[a].length?n.push([i(Object.assign({},r,{text:t[a][0]})).text,t[a][1],t[a][2]]):n.push(i(Object.assign({},r,{text:t[a]})).text);e.text=n}else e.text=i(Object.assign({},r,{text:t})).text}])}(B),function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},e.addFileToVFS=function(e,n){return t.call(this),this.internal.vFS[e]=n,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(B.API),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,r,i,a,o,s,l,c=t,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=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","","","","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],g=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)$/),m=!1,v=0;this.__bidiEngine__={};var b=function(e){var t=e.charCodeAt(),n=t>>8,r=d[n];return void 0!==r?c[256*r+(255&t)]:252===n||253===n?"AL":g.test(n)?"L":8===n?"R":"N"},y=function(e){for(var t,n=0;n<e.length;n++){if("L"===(t=b(e.charAt(n))))return!1;if("R"===t)return!0}return!1},w=function(e,t,o,s){var l,c,u,f,h=t[s];switch(h){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":m=!1;break;case"N":case"AN":break;case"EN":m&&(h="AN");break;case"AL":m=!0,h="R";break;case"WS":case"BN":h="N";break;case"CS":s<1||s+1>=t.length||"EN"!==(l=o[s-1])&&"AN"!==l||"EN"!==(c=t[s+1])&&"AN"!==c?h="N":m&&(c="AN"),h=c===l?c:"N";break;case"ES":h="EN"===(l=s>0?o[s-1]:"B")&&s+1<t.length&&"EN"===t[s+1]?"EN":"N";break;case"ET":if(s>0&&"EN"===o[s-1]){h="EN";break}if(m){h="N";break}for(u=s+1,f=t.length;u<f&&"ET"===t[u];)u++;h=u<f&&"EN"===t[u]?"EN":"N";break;case"NSM":if(i&&!a){for(f=t.length,u=s+1;u<f&&"NSM"===t[u];)u++;if(u<f){var d=e[s],p=d>=1425&&d<=2303||64286===d;if(l=t[u],p&&("R"===l||"AL"===l)){h="R";break}}}h=s<1||"B"===(l=t[s-1])?"N":o[s-1];break;case"B":m=!1,n=!0,h=v;break;case"S":r=!0,h="N"}return h},S=function(e,t,n){var r=e.split("");return n&&x(r,n,{hiLevel:v}),r.reverse(),t&&t.reverse(),r.join("")},x=function(e,t,i){var a,o,s,l,c,d=-1,p=e.length,g=0,y=[],S=v?f:u,x=[];for(m=!1,n=!1,r=!1,o=0;o<p;o++)x[o]=b(e[o]);for(s=0;s<p;s++){if(c=g,y[s]=w(e,x,y,s),a=240&(g=S[c][h[y[s]]]),g&=15,t[s]=l=S[g][5],a>0)if(16===a){for(o=d;o<s;o++)t[o]=1;d=-1}else d=-1;if(S[g][6])-1===d&&(d=s);else if(d>-1){for(o=d;o<s;o++)t[o]=l;d=-1}"B"===x[s]&&(t[s]=0),i.hiLevel|=l}r&&function(e,t,n){for(var r=0;r<n;r++)if("S"===e[r]){t[r]=v;for(var i=r-1;i>=0&&"WS"===e[i];i--)t[i]=v}}(x,t,p)},E=function(e,t,r,i,a){if(!(a.hiLevel<e)){if(1===e&&1===v&&!n)return t.reverse(),void(r&&r.reverse());for(var o,s,l,c,u=t.length,f=0;f<u;){if(i[f]>=e){for(l=f+1;l<u&&i[l]>=e;)l++;for(c=f,s=l-1;c<s;c++,s--)o=t[c],t[c]=t[s],t[s]=o,r&&(o=r[c],r[c]=r[s],r[s]=o);f=l}f++}}},_=function(e,t,n){var r=e.split(""),i={hiLevel:v};return n||(n=[]),x(r,n,i),function(e,t,n){if(0!==n.hiLevel&&l)for(var r,i=0;i<e.length;i++)1===t[i]&&(r=p.indexOf(e[i]))>=0&&(e[i]=p[r+1])}(r,n,i),E(2,r,t,n,i),E(1,r,t,n,i),r.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,n){if(function(e,t){if(t)for(var n=0;n<e.length;n++)t[n]=n;void 0===a&&(a=y(e)),void 0===s&&(s=y(e))}(e,t),i||!o||s)if(i&&o&&a^s)v=a?1:0,e=S(e,t,n);else if(!i&&o&&s)v=a?1:0,e=_(e,t,n),e=S(e,t);else if(!i||a||o||s){if(i&&!o&&a^s)e=S(e,t),a?(v=0,e=_(e,t,n)):(v=1,e=_(e,t,n),e=S(e,t));else if(i&&a&&!o&&s)v=1,e=_(e,t,n),e=S(e,t);else if(!i&&!o&&a^s){var r=l;a?(v=1,e=_(e,t,n),v=0,l=!1,e=_(e,t,n),l=r):(v=0,e=_(e,t,n),e=S(e,t),v=1,l=!1,e=_(e,t,n),l=r,e=S(e,t))}}else v=0,e=_(e,t,n);else v=a?1:0,e=_(e,t,n);return e},this.__bidiEngine__.setOptions=function(e){e&&(i=e.isInputVisual,o=e.isOutputVisual,a=e.isInputRtl,s=e.isOutputRtl,l=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=["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"],n=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text,r=(e.x,e.y,e.options||{}),i=(e.mutex,r.lang,[]);if(r.isInputVisual="boolean"!=typeof r.isInputVisual||r.isInputVisual,n.setOptions(r),"[object Array]"===Object.prototype.toString.call(t)){var a=0;for(i=[],a=0;a<t.length;a+=1)"[object Array]"===Object.prototype.toString.call(t[a])?i.push([n.doBidiReorder(t[a][0]),t[a][1],t[a][2]]):i.push([n.doBidiReorder(t[a])]);e.text=i}else e.text=n.doBidiReorder(t);n.setOptions({isInputVisual:!0})}])}(B),B.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new Bt(e),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new Jt(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new Ot(this.contents),this.head=new Ft(this),this.name=new Ht(this),this.cmap=new Mt(this),this.toUnicode={},this.hhea=new jt(this),this.maxp=new Vt(this),this.hmtx=new qt(this),this.post=new Ut(this),this.os2=new Wt(this),this.loca=new Kt(this),this.glyf=new Xt(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]},e.prototype.registerTTF=function(){var e,t,n,r,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,n,r,i;for(i=[],t=0,n=(r=this.bbox).length;t<n;t++)e=r[t],i.push(Math.round(e*this.scaleFactor));return i}.call(this),this.stemV=0,this.post.exists?(n=255&(r=this.post.italic_angle),0!=(32768&(t=r>>16))&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+n)):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")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,n){var r,i,a,o;for(a=0,i=0,o=(e=""+e).length;0<=o?i<o:i>o;i=0<=o?++i:--i)r=e.charCodeAt(i),a+=this.widthOfGlyph(this.characterToGlyph(r))+n*(1e3/t)||0;return a*(t/1e3)},e.prototype.lineHeight=function(e,t){var n;return null==t&&(t=!1),n=t?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},e}();var It,Bt=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)n[t]=String.fromCharCode(this.readByte());return n.join("")},e.prototype.writeString=function(e){var t,n,r;for(r=[],t=0,n=e.length;0<=n?t<n:t>n;t=0<=n?++t:--t)r.push(this.writeByte(e.charCodeAt(t)));return r},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,n,r,i,a,o,s;return e=this.readByte(),t=this.readByte(),n=this.readByte(),r=this.readByte(),i=this.readByte(),a=this.readByte(),o=this.readByte(),s=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^n)+4294967296*(255^r)+16777216*(255^i)+65536*(255^a)+256*(255^o)+(255^s)+1):72057594037927940*e+281474976710656*t+1099511627776*n+4294967296*r+16777216*i+65536*a+256*o+s},e.prototype.writeLongLong=function(e){var t,n;return t=Math.floor(e/4294967296),n=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,n;for(t=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)t.push(this.readByte());return t},e.prototype.write=function(e){var t,n,r,i;for(i=[],n=0,r=e.length;n<r;n++)t=e[n],i.push(this.writeByte(t));return i},e}(),Ot=function(){var e;function t(e){var t,n,r;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,r=this.tableCount;0<=r?n<r:n>r;n=0<=r?++n:--n)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var n,r,i,a,o,s,l,c,u,f,h,d,p;for(p in h=Object.keys(t).length,s=Math.log(2),u=16*Math.floor(Math.log(h)/s),a=Math.floor(u/s),c=16*h-u,(r=new Bt).writeInt(this.scalarType),r.writeShort(h),r.writeShort(u),r.writeShort(a),r.writeShort(c),i=16*h,l=r.pos+i,o=null,d=[],t)for(f=t[p],r.writeString(p),r.writeInt(e(f)),r.writeInt(l),r.writeInt(f.length),d=d.concat(f),"head"===p&&(o=l),l+=f.length;l%4;)d.push(0),l++;return r.write(d),n=2981146554-e(r.data),r.pos=o+8,r.writeUInt32(n),r.data},e=function(e){var t,n,r,i;for(e=Gt.call(e);e.length%4;)e.push(0);for(r=new Bt(e),n=0,t=0,i=e.length;t<i;t=t+=4)n+=r.readUInt32();return 4294967295&n},t}(),Pt={}.hasOwnProperty,Lt=function(e,t){for(var n in t)Pt.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},Ft=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Lt(t,e),t.prototype.tag="head",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},t.prototype.encode=function(e){var t;return(t=new Bt).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},t}(It=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}()),Dt=function(){function e(e,t){var n,r,i,a,o,s,l,c,u,f,h,d,p,g,m,v,b;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),u=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.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]=e.readByte();break;case 4:for(h=e.readUInt16(),f=h/2,e.pos+=6,i=function(){var t,n;for(n=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)n.push(e.readUInt16());return n}(),e.pos+=2,p=function(){var t,n;for(n=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)n.push(e.readUInt16());return n}(),l=function(){var t,n;for(n=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)n.push(e.readUInt16());return n}(),c=function(){var t,n;for(n=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)n.push(e.readUInt16());return n}(),r=(this.length-e.pos+this.offset)/2,o=function(){var t,n;for(n=[],s=t=0;0<=r?t<r:t>r;s=0<=r?++t:--t)n.push(e.readUInt16());return n}(),s=m=0,b=i.length;m<b;s=++m)for(g=i[s],n=v=d=p[s];d<=g?v<=g:v>=g;n=d<=g?++v:--v)0===c[s]?a=n+l[s]:0!==(a=o[c[s]/2+(n-d)-(f-s)]||0)&&(a+=l[s]),this.codeMap[n]=65535&a}e.pos=u}return e.encode=function(e,t){var n,r,i,a,o,s,l,c,u,f,h,d,p,g,m,v,b,y,w,S,x,E,_,A,C,k,T,R,N,I,B,O,P,L,F,D,M,j,W,U,z,H,V,q,G,X;switch(R=new Bt,a=Object.keys(e).sort((function(e,t){return e-t})),t){case"macroman":for(p=0,g=function(){var e=[];for(d=0;d<256;++d)e.push(0);return e}(),v={0:0},i={},N=0,P=a.length;N<P;N++)null==v[V=e[r=a[N]]]&&(v[V]=++p),i[r]={old:e[r],new:v[e[r]]},g[r]=v[e[r]];return R.writeUInt16(1),R.writeUInt16(0),R.writeUInt32(12),R.writeUInt16(0),R.writeUInt16(262),R.writeUInt16(0),R.write(g),{charMap:i,subtable:R.data,maxGlyphID:p+1};case"unicode":for(k=[],u=[],b=0,v={},n={},m=l=null,I=0,L=a.length;I<L;I++)null==v[w=e[r=a[I]]]&&(v[w]=++b),n[r]={old:w,new:v[w]},o=v[w]-r,null!=m&&o===l||(m&&u.push(m),k.push(r),l=o),m=r;for(m&&u.push(m),u.push(65535),k.push(65535),A=2*(_=k.length),E=2*Math.pow(Math.log(_)/Math.LN2,2),f=Math.log(E/2)/Math.LN2,x=2*_-E,s=[],S=[],h=[],d=B=0,F=k.length;B<F;d=++B){if(C=k[d],c=u[d],65535===C){s.push(0),S.push(0);break}if(C-(T=n[C].new)>=32768)for(s.push(0),S.push(2*(h.length+_-d)),r=O=C;C<=c?O<=c:O>=c;r=C<=c?++O:--O)h.push(n[r].new);else s.push(T-C),S.push(0)}for(R.writeUInt16(3),R.writeUInt16(1),R.writeUInt32(12),R.writeUInt16(4),R.writeUInt16(16+8*_+2*h.length),R.writeUInt16(0),R.writeUInt16(A),R.writeUInt16(E),R.writeUInt16(f),R.writeUInt16(x),z=0,D=u.length;z<D;z++)r=u[z],R.writeUInt16(r);for(R.writeUInt16(0),H=0,M=k.length;H<M;H++)r=k[H],R.writeUInt16(r);for(q=0,j=s.length;q<j;q++)o=s[q],R.writeUInt16(o);for(G=0,W=S.length;G<W;G++)y=S[G],R.writeUInt16(y);for(X=0,U=h.length;X<U;X++)p=h[X],R.writeUInt16(p);return{charMap:n,subtable:R.data,maxGlyphID:b+1}}},e}(),Mt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Lt(t,e),t.prototype.tag="cmap",t.prototype.parse=function(e){var t,n,r;for(e.pos=this.offset,this.version=e.readUInt16(),r=e.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=r?n<r:n>r;n=0<=r?++n:--n)t=new Dt(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},t.encode=function(e,t){var n,r;return null==t&&(t="macroman"),n=Dt.encode(e,t),(r=new Bt).writeUInt16(0),r.writeUInt16(1),n.table=r.data.concat(n.subtable),n},t}(It),jt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Lt(t,e),t.prototype.tag="hhea",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},t}(It),Wt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Lt(t,e),t.prototype.tag="OS/2",t.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,n;for(n=[],t=0;t<10;++t)n.push(e.readByte());return n}(),this.charRange=function(){var t,n;for(n=[],t=0;t<4;++t)n.push(e.readInt());return n}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,n;for(n=[],t=0;t<2;t=++t)n.push(e.readInt());return n}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},t}(It),Ut=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Lt(t,e),t.prototype.tag="post",t.prototype.parse=function(e){var t,n,r;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:var i;for(n=e.readUInt16(),this.glyphNameIndex=[],i=0;0<=n?i<n:i>n;i=0<=n?++i:--i)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],r=[];e.pos<this.offset+this.length;)t=e.readByte(),r.push(this.names.push(e.readString(t)));return r;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 262144:return this.map=function(){var t,n,r;for(r=[],i=t=0,n=this.file.maxp.numGlyphs;0<=n?t<n:t>n;i=0<=n?++t:--t)r.push(e.readUInt32());return r}.call(this)}},t}(It),zt=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},Ht=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Lt(t,e),t.prototype.tag="name",t.prototype.parse=function(e){var t,n,r,i,a,o,s,l,c,u,f;for(e.pos=this.offset,e.readShort(),t=e.readShort(),o=e.readShort(),n=[],i=0;0<=t?i<t:i>t;i=0<=t?++i:--i)n.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+o+e.readShort()});for(s={},i=c=0,u=n.length;c<u;i=++c)r=n[i],e.pos=r.offset,l=e.readString(r.length),a=new zt(l,r),null==s[f=r.nameID]&&(s[f]=[]),s[r.nameID].push(a);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(e){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]},t}(It),Vt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Lt(t,e),t.prototype.tag="maxp",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},t}(It),qt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Lt(t,e),t.prototype.tag="hmtx",t.prototype.parse=function(e){var t,n,r,i,a,o,s;for(e.pos=this.offset,this.metrics=[],t=0,o=this.file.hhea.numberOfMetrics;0<=o?t<o:t>o;t=0<=o?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var n,i;for(i=[],t=n=0;0<=r?n<r:n>r;t=0<=r?++n:--n)i.push(e.readInt16());return i}(),this.widths=function(){var e,t,n,r;for(r=[],e=0,t=(n=this.metrics).length;e<t;e++)i=n[e],r.push(i.advance);return r}.call(this),n=this.widths[this.widths.length-1],s=[],t=a=0;0<=r?a<r:a>r;t=0<=r?++a:--a)s.push(this.widths.push(n));return s},t.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},t}(It),Gt=[].slice,Xt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Lt(t,e),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(e){var t,n,r,i,a,o,s,l,c,u;return e in this.cache?this.cache[e]:(i=this.file.loca,t=this.file.contents,n=i.indexOf(e),0===(r=i.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+n,a=(o=new Bt(t.read(r))).readShort(),l=o.readShort(),u=o.readShort(),s=o.readShort(),c=o.readShort(),this.cache[e]=-1===a?new Yt(o,l,u,s,c):new $t(o,a,l,u,s,c),this.cache[e]))},t.prototype.encode=function(e,t,n){var r,i,a,o,s;for(a=[],i=[],o=0,s=t.length;o<s;o++)r=e[t[o]],i.push(a.length),r&&(a=a.concat(r.encode(n)));return i.push(a.length),{table:a,offsets:i}},t}(It),$t=function(){function e(e,t,n,r,i,a){this.raw=e,this.numberOfContours=t,this.xMin=n,this.yMin=r,this.xMax=i,this.yMax=a,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),Yt=function(){function e(e,t,n,r,i){var a,o;for(this.raw=e,this.xMin=t,this.yMin=n,this.xMax=r,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],a=this.raw;o=a.readShort(),this.glyphOffsets.push(a.pos),this.glyphIDs.push(a.readUInt16()),32&o;)a.pos+=1&o?4:2,128&o?a.pos+=8:64&o?a.pos+=4:8&o&&(a.pos+=2)}return e.prototype.encode=function(){var e,t,n;for(t=new Bt(Gt.call(this.raw.data)),e=0,n=this.glyphIDs.length;e<n;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),Kt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Lt(t,e),t.prototype.tag="loca",t.prototype.parse=function(e){var t,n;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=2)r.push(2*e.readUInt16());return r}.call(this):function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=4)r.push(e.readUInt32());return r}.call(this)},t.prototype.indexOf=function(e){return this.offsets[e]},t.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},t.prototype.encode=function(e,t){for(var n=new Uint32Array(this.offsets.length),r=0,i=0,a=0;a<n.length;++a)if(n[a]=r,i<t.length&&t[i]==a){++i,n[a]=r;var o=this.offsets[a],s=this.offsets[a+1]-o;s>0&&(r+=s)}for(var l=new Array(4*n.length),c=0;c<n.length;++c)l[4*c+3]=255&n[c],l[4*c+2]=(65280&n[c])>>8,l[4*c+1]=(16711680&n[c])>>16,l[4*c]=(4278190080&n[c])>>24;return l},t}(It),Jt=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,n,r,i;for(t in r=this.font.cmap.tables[0].codeMap,e={},i=this.subset)n=i[t],e[t]=r[n];return e},e.prototype.glyphsFor=function(e){var t,n,r,i,a,o,s;for(r={},a=0,o=e.length;a<o;a++)r[i=e[a]]=this.font.glyf.glyphFor(i);for(i in t=[],r)(null!=(n=r[i])?n.compound:void 0)&&t.push.apply(t,n.glyphIDs);if(t.length>0)for(i in s=this.glyphsFor(t))n=s[i],r[i]=n;return r},e.prototype.encode=function(e,t){var n,r,i,a,o,s,l,c,u,f,h,d,p,g,m;for(r in n=Mt.encode(this.generateCmap(),"unicode"),a=this.glyphsFor(e),h={0:0},m=n.charMap)h[(s=m[r]).old]=s.new;for(d in f=n.maxGlyphID,a)d in h||(h[d]=f++);return c=function(e){var t,n;for(t in n={},e)n[e[t]]=t;return n}(h),u=Object.keys(c).sort((function(e,t){return e-t})),p=function(){var e,t,n;for(n=[],e=0,t=u.length;e<t;e++)o=u[e],n.push(c[o]);return n}(),i=this.font.glyf.encode(a,p,h),l=this.font.loca.encode(i.offsets,p),g={cmap:this.font.cmap.raw(),glyf:i.table,loca:l,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(t)},this.font.os2.exists&&(g["OS/2"]=this.font.os2.raw()),this.font.directory.encode(g)},e}();B.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(n){var r,i,a,o;if(Array.isArray(n))return"["+function(){var e,i,a;for(a=[],e=0,i=n.length;e<i;e++)r=n[e],a.push(t.convert(r));return a}().join(" ")+"]";if("string"==typeof n)return"/"+n;if(null!=n?n.isString:void 0)return"("+n+")";if(n instanceof Date)return"(D:"+e(n.getUTCFullYear(),4)+e(n.getUTCMonth(),2)+e(n.getUTCDate(),2)+e(n.getUTCHours(),2)+e(n.getUTCMinutes(),2)+e(n.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(n)){for(i in a=["<<"],n)o=n[i],a.push("/"+i+" "+t.convert(o));return a.push(">>"),a.join("\n")}return""+n},t}(),e.AcroForm=ye,e.AcroFormAppearance=ve,e.AcroFormButton=ue,e.AcroFormCheckBox=pe,e.AcroFormChoiceField=oe,e.AcroFormComboBox=le,e.AcroFormEditBox=ce,e.AcroFormListBox=se,e.AcroFormPasswordField=me,e.AcroFormPushButton=fe,e.AcroFormRadioButton=he,e.AcroFormTextField=ge,e.GState=T,e.ShadingPattern=N,e.TilingPattern=I,e.default=B,e.jsPDF=B,Object.defineProperty(e,"__esModule",{value:!0})}));var saveAs=saveAs||function(e){"use strict";if(!(void 0===e||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),i="download"in r,a=/constructor/i.test(e.HTMLElement)||e.safari,o=/CriOS\/[\d]+/.test(navigator.userAgent),s=function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)},l=function(e){setTimeout((function(){"string"==typeof e?n().revokeObjectURL(e):e.remove()}),4e4)},c=function(e,t,n){for(var r=(t=[].concat(t)).length;r--;){var i=e["on"+t[r]];if("function"==typeof i)try{i.call(e,n||e)}catch(e){s(e)}}},u=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e},f=function(t,s,f){f||(t=u(t));var h,d=this,p="application/octet-stream"===t.type,g=function(){c(d,"writestart progress write writeend".split(" "))};if(d.readyState=d.INIT,i)return h=n().createObjectURL(t),void setTimeout((function(){r.href=h,r.download=s,function(e){var t=new MouseEvent("click");e.dispatchEvent(t)}(r),g(),l(h),d.readyState=d.DONE}));!function(){if((o||p&&a)&&e.FileReader){var r=new FileReader;return r.onloadend=function(){var t=o?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");e.open(t,"_blank")||(e.location.href=t),t=void 0,d.readyState=d.DONE,g()},r.readAsDataURL(t),void(d.readyState=d.INIT)}(h||(h=n().createObjectURL(t)),p)?e.location.href=h:e.open(h,"_blank")||(e.location.href=h);d.readyState=d.DONE,g(),l(h)}()},h=f.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t,n){return t=t||e.name||"download",n||(e=u(e)),navigator.msSaveOrOpenBlob(e,t)}:(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(e,t,n){return new f(e,t||e.name||"download",n)})}}("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 DO_NOT_EXPORT_CODEPAGE=!0,DO_NOT_EXPORT_JSZIP=!0;!function(e){if("object"==typeof exports&&"undefined"!=typeof module&&void 0===DO_NOT_EXPORT_JSZIP)module.exports=e();else if("function"==typeof define&&define.amd&&void 0===DO_NOT_EXPORT_JSZIP)JSZipSync=e(),define("j",[],e);else{var t;"undefined"!=typeof globalThis?t=globalThis:"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof $&&$.global?t=$.global:"undefined"!=typeof self&&(t=self),t.JSZipSync=e()}}((function(){return function e(t,n,r){function i(o,s){if(!n[o]){if(!t[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(a)return a(o,!0);throw new Error("Cannot find module '"+o+"'")}var c=n[o]={exports:{}};t[o][0].call(c.exports,(function(e){var n=t[o][1][e];return i(n||e)}),c,c.exports,e,t,n,r)}return n[o].exports}for(var a="function"==typeof require&&require,o=0;o<r.length;o++)i(r[o]);return i}({1:[function(e,t,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e,t){for(var n,i,a,o,s,l,c,u="",f=0;f<e.length;)o=(n=e.charCodeAt(f++))>>2,s=(3&n)<<4|(i=e.charCodeAt(f++))>>4,l=(15&i)<<2|(a=e.charCodeAt(f++))>>6,c=63&a,isNaN(i)?l=c=64:isNaN(a)&&(c=64),u=u+r.charAt(o)+r.charAt(s)+r.charAt(l)+r.charAt(c);return u},n.decode=function(e,t){var n,i,a,o,s,l,c="",u=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");u<e.length;)n=r.indexOf(e.charAt(u++))<<2|(o=r.indexOf(e.charAt(u++)))>>4,i=(15&o)<<4|(s=r.indexOf(e.charAt(u++)))>>2,a=(3&s)<<6|(l=r.indexOf(e.charAt(u++))),c+=String.fromCharCode(n),64!=s&&(c+=String.fromCharCode(i)),64!=l&&(c+=String.fromCharCode(a));return c}},{}],2:[function(e,t,n){"use strict";function r(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}r.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},t.exports=r},{}],3:[function(e,t,n){"use strict";n.STORE={magic:"\0\0",compress:function(e){return e},uncompress:function(e){return e},compressInputType:null,uncompressInputType:null},n.DEFLATE=e("./flate")},{"./flate":8}],4:[function(e,t,n){"use strict";var r=e("./utils"),i=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];t.exports=function(e,t){if(void 0===e||!e.length)return 0;var n="string"!==r.getTypeOf(e);void 0===t&&(t=0);var a=0,o=0;t^=-1;for(var s=0,l=e.length;s<l;s++)o=n?e[s]:e.charCodeAt(s),a=i[255&(t^o)],t=t>>>8^a;return-1^t}},{"./utils":21}],5:[function(e,t,n){"use strict";var r=e("./utils");function i(e){this.data=null,this.length=0,this.index=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1)}},t.exports=i},{"./utils":21}],6:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!1,n.date=null,n.compression=null,n.comment=null},{}],7:[function(e,t,n){"use strict";var r=e("./utils");n.string2binary=function(e){return r.string2binary(e)},n.string2Uint8Array=function(e){return r.transformTo("uint8array",e)},n.uint8Array2String=function(e){return r.transformTo("string",e)},n.string2Blob=function(e){var t=r.transformTo("arraybuffer",e);return r.arrayBuffer2Blob(t)},n.arrayBuffer2Blob=function(e){return r.arrayBuffer2Blob(e)},n.transformTo=function(e,t){return r.transformTo(e,t)},n.getTypeOf=function(e){return r.getTypeOf(e)},n.checkSupport=function(e){return r.checkSupport(e)},n.MAX_VALUE_16BITS=r.MAX_VALUE_16BITS,n.MAX_VALUE_32BITS=r.MAX_VALUE_32BITS,n.pretty=function(e){return r.pretty(e)},n.findCompression=function(e){return r.findCompression(e)},n.isRegExp=function(e){return r.isRegExp(e)}},{"./utils":21}],8:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako");n.uncompressInputType=r?"uint8array":"array",n.compressInputType=r?"uint8array":"array",n.magic="\b\0",n.compress=function(e){return i.deflateRaw(e)},n.uncompress=function(e){return i.inflateRaw(e)}},{pako:24}],9:[function(e,t,n){"use strict";var r=e("./base64");function i(e,t){if(!(this instanceof i))return new i(e,t);this.files={},this.comment=null,this.root="",e&&this.load(e,t),this.clone=function(){var e=new i;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}i.prototype=e("./object"),i.prototype.load=e("./load"),i.support=e("./support"),i.defaults=e("./defaults"),i.utils=e("./deprecatedPublicUtils"),i.base64={encode:function(e){return r.encode(e)},decode:function(e){return r.decode(e)}},i.compressions=e("./compressions"),t.exports=i},{"./base64":1,"./compressions":3,"./defaults":6,"./deprecatedPublicUtils":7,"./load":10,"./object":13,"./support":17}],10:[function(e,t,n){"use strict";var r=e("./base64"),i=e("./zipEntries");t.exports=function(e,t){var n,a,o,s;for((t=t||{}).base64&&(e=r.decode(e)),n=(a=new i(e,t)).files,o=0;o<n.length;o++)s=n[o],this.file(s.fileName,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileComment.length?s.fileComment:null,createFolders:t.createFolders});return a.zipComment.length&&(this.comment=a.zipComment),this}},{"./base64":1,"./zipEntries":22}],11:[function(e,t,n){(function(e){"use strict";var n=function(){};if(void 0!==e){var r=!e.from;if(!r)try{e.from("foo","utf8")}catch(e){r=!0}n=r?function(t,n){return n?new e(t,n):new e(t)}:e.from.bind(e),e.alloc||(e.alloc=function(t){return new e(t)})}t.exports=function(t,r){return"number"==typeof t?e.alloc(t):n(t,r)},t.exports.test=function(t){return e.isBuffer(t)}}).call(this,"undefined"!=typeof Buffer?Buffer:void 0)},{}],12:[function(e,t,n){"use strict";var r=e("./uint8ArrayReader");function i(e){this.data=e,this.length=this.data.length,this.index=0}i.prototype=new r,i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.index,this.index+e);return this.index+=e,t},t.exports=i},{"./uint8ArrayReader":18}],13:[function(e,t,n){"use strict";var r=e("./support"),i=e("./utils"),a=e("./crc32"),o=e("./signature"),s=e("./defaults"),l=e("./base64"),c=e("./compressions"),u=e("./compressedObject"),f=e("./nodeBuffer"),h=e("./utf8"),d=e("./stringWriter"),p=e("./uint8ArrayWriter"),g=function(e){if(e._data instanceof u&&(e._data=e._data.getContent(),e.options.binary=!0,e.options.base64=!1,"uint8array"===i.getTypeOf(e._data))){var t=e._data;e._data=new Uint8Array(t.length),0!==t.length&&e._data.set(t,0)}return e._data},m=function(e){var t=g(e);return"string"===i.getTypeOf(t)?!e.options.binary&&r.nodebuffer?f(t,"utf-8"):e.asBinary():t},v=function(e){var t=g(this);return null==t?"":(this.options.base64&&(t=l.decode(t)),t=e&&this.options.binary?C.utf8decode(t):i.transformTo("string",t),e||this.options.binary||(t=i.transformTo("string",C.utf8encode(t))),t)},b=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this._data=t,this.options=n,this._initialMetadata={dir:n.dir,date:n.date}};b.prototype={asText:function(){return v.call(this,!0)},asBinary:function(){return v.call(this,!1)},asNodeBuffer:function(){var e=m(this);return i.transformTo("nodebuffer",e)},asUint8Array:function(){var e=m(this);return i.transformTo("uint8array",e)},asArrayBuffer:function(){return this.asUint8Array().buffer}};var y=function(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r},w=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])arguments[e].hasOwnProperty(t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},S=function(e,t,n){var r,a=i.getTypeOf(t);if(n=function(e){return!0!==(e=e||{}).base64||null!==e.binary&&void 0!==e.binary||(e.binary=!0),(e=w(e,s)).date=e.date||new Date,null!==e.compression&&(e.compression=e.compression.toUpperCase()),e}(n),n.createFolders&&(r=x(e))&&E.call(this,r,!0),n.dir||null==t)n.base64=!1,n.binary=!1,t=null;else if("string"===a)n.binary&&!n.base64&&!0!==n.optimizedBinaryString&&(t=i.string2binary(t));else{if(n.base64=!1,n.binary=!0,!(a||t instanceof u))throw new Error("The data of '"+e+"' is in an unsupported format !");"arraybuffer"===a&&(t=i.transformTo("uint8array",t))}var o=new b(e,t,n);return this.files[e]=o,o},x=function(e){"/"==e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},E=function(e,t){return"/"!=e.slice(-1)&&(e+="/"),t=void 0!==t&&t,this.files[e]||S.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]},_=function(e,t){var n,r=new u;return e._data instanceof u?(r.uncompressedSize=e._data.uncompressedSize,r.crc32=e._data.crc32,0===r.uncompressedSize||e.dir?(t=c.STORE,r.compressedContent="",r.crc32=0):e._data.compressionMethod===t.magic?r.compressedContent=e._data.getCompressedContent():(n=e._data.getContent(),r.compressedContent=t.compress(i.transformTo(t.compressInputType,n)))):((n=m(e))&&0!==n.length&&!e.dir||(t=c.STORE,n=""),r.uncompressedSize=n.length,r.crc32=a(n),r.compressedContent=t.compress(i.transformTo(t.compressInputType,n))),r.compressedSize=r.compressedContent.length,r.compressionMethod=t.magic,r},A=function(e,t,n,r){n.compressedContent;var s,l,c,u,f=i.transformTo("string",h.utf8encode(t.name)),d=t.comment||"",p=i.transformTo("string",h.utf8encode(d)),g=f.length!==t.name.length,m=p.length!==d.length,v=t.options,b="",w="",S="";c=t._initialMetadata.dir!==t.dir?t.dir:v.dir,s=(u=t._initialMetadata.date!==t.date?t.date:v.date).getHours(),s<<=6,s|=u.getMinutes(),s<<=5,s|=u.getSeconds()/2,l=u.getFullYear()-1980,l<<=4,l|=u.getMonth()+1,l<<=5,l|=u.getDate(),g&&(w=y(1,1)+y(a(f),4)+f,b+="up"+y(w.length,2)+w),m&&(S=y(1,1)+y(this.crc32(p),4)+p,b+="uc"+y(S.length,2)+S);var x="";return x+="\n\0",x+=g||m?"\0\b":"\0\0",x+=n.compressionMethod,x+=y(s,2),x+=y(l,2),x+=y(n.crc32,4),x+=y(n.compressedSize,4),x+=y(n.uncompressedSize,4),x+=y(f.length,2),x+=y(b.length,2),{fileRecord:o.LOCAL_FILE_HEADER+x+f+b,dirRecord:o.CENTRAL_FILE_HEADER+"\0"+x+y(p.length,2)+"\0\0\0\0"+(!0===c?"\0\0\0":"\0\0\0\0")+y(r,4)+f+b+p,compressedObject:n}},C={load:function(e,t){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(e){var t,n,r,i,a=[];for(t in this.files)this.files.hasOwnProperty(t)&&(r=this.files[t],i=new b(r.name,r._data,w(r.options)),n=t.slice(this.root.length,t.length),t.slice(0,this.root.length)===this.root&&e(n,i)&&a.push(i));return a},file:function(e,t,n){if(1===arguments.length){if(i.isRegExp(e)){var r=e;return this.filter((function(e,t){return!t.dir&&r.test(e)}))}return this.filter((function(t,n){return!n.dir&&t===e}))[0]||null}return e=this.root+e,S.call(this,e,t,n),this},folder:function(e){if(!e)return this;if(i.isRegExp(e))return this.filter((function(t,n){return n.dir&&e.test(t)}));var t=this.root+e,n=E.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!=e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter((function(t,n){return n.name.slice(0,e.length)===e})),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(e){e=w(e||{},{base64:!0,compression:"STORE",type:"base64",comment:null}),i.checkSupport(e.type);var t,n,r=[],a=0,s=0,u=i.transformTo("string",this.utf8encode(e.comment||this.comment||""));for(var f in this.files)if(this.files.hasOwnProperty(f)){var h=this.files[f],g=h.options.compression||e.compression.toUpperCase(),m=c[g];if(!m)throw new Error(g+" is not a valid compression method !");var v=_.call(this,h,m),b=A.call(this,f,h,v,a);a+=b.fileRecord.length+v.compressedSize,s+=b.dirRecord.length,r.push(b)}var S;S=o.CENTRAL_DIRECTORY_END+"\0\0\0\0"+y(r.length,2)+y(r.length,2)+y(s,4)+y(a,4)+y(u.length,2)+u;var x=e.type.toLowerCase();for(t="uint8array"===x||"arraybuffer"===x||"blob"===x||"nodebuffer"===x?new p(a+s+S.length):new d(a+s+S.length),n=0;n<r.length;n++)t.append(r[n].fileRecord),t.append(r[n].compressedObject.compressedContent);for(n=0;n<r.length;n++)t.append(r[n].dirRecord);t.append(S);var E=t.finalize();switch(e.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":return i.transformTo(e.type.toLowerCase(),E);case"blob":return i.arrayBuffer2Blob(i.transformTo("arraybuffer",E));case"base64":return e.base64?l.encode(E):E;default:return E}},crc32:function(e,t){return a(e,t)},utf8encode:function(e){return i.transformTo("string",h.utf8encode(e))},utf8decode:function(e){return h.utf8decode(e)}};t.exports=C},{"./base64":1,"./compressedObject":2,"./compressions":3,"./crc32":4,"./defaults":6,"./nodeBuffer":11,"./signature":14,"./stringWriter":16,"./support":17,"./uint8ArrayWriter":19,"./utf8":20,"./utils":21}],14:[function(e,t,n){"use strict";n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],15:[function(e,t,n){"use strict";var r=e("./dataReader"),i=e("./utils");function a(e,t){this.data=e,t||(this.data=i.string2binary(this.data)),this.length=this.data.length,this.index=0}a.prototype=new r,a.prototype.byteAt=function(e){return this.data.charCodeAt(e)},a.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)},a.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.index,this.index+e);return this.index+=e,t},t.exports=a},{"./dataReader":5,"./utils":21}],16:[function(e,t,n){"use strict";var r=e("./utils"),i=function(){this.data=[]};i.prototype={append:function(e){e=r.transformTo("string",e),this.data.push(e)},finalize:function(){return this.data.join("")}},t.exports=i},{"./utils":21}],17:[function(e,t,n){(function(e){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer=void 0!==e,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var t=new ArrayBuffer(0);try{n.blob=0===new Blob([t],{type:"application/zip"}).size}catch(e){try{var r=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);r.append(t),n.blob=0===r.getBlob("application/zip").size}catch(e){n.blob=!1}}}}).call(this,"undefined"!=typeof Buffer?Buffer:void 0)},{}],18:[function(e,t,n){"use strict";var r=e("./dataReader");function i(e){e&&(this.data=e,this.length=this.data.length,this.index=0)}i.prototype=new r,i.prototype.byteAt=function(e){return this.data[e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===t&&this.data[a+1]===n&&this.data[a+2]===r&&this.data[a+3]===i)return a;return-1},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.index,this.index+e);return this.index+=e,t},t.exports=i},{"./dataReader":5}],19:[function(e,t,n){"use strict";var r=e("./utils"),i=function(e){this.data=new Uint8Array(e),this.index=0};i.prototype={append:function(e){0!==e.length&&(e=r.transformTo("uint8array",e),this.data.set(e,this.index),this.index+=e.length)},finalize:function(){return this.data}},t.exports=i},{"./utils":21}],20:[function(e,t,n){"use strict";for(var r=e("./utils"),i=e("./support"),a=e("./nodeBuffer"),o=new Array(256),s=0;s<256;s++)o[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;o[254]=o[254]=1;var l=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+o[e[n]]>t?n:t},c=function(e){var t,n,i,a,s=e.length,l=new Array(2*s);for(n=0,t=0;t<s;)if((i=e[t++])<128)l[n++]=i;else if((a=o[i])>4)l[n++]=65533,t+=a-1;else{for(i&=2===a?31:3===a?15:7;a>1&&t<s;)i=i<<6|63&e[t++],a--;a>1?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),r.applyFromCharCode(l)};n.utf8encode=function(e){return i.nodebuffer?a(e,"utf-8"):function(e){var t,n,r,a,o,s=e.length,l=0;for(a=0;a<s;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(r=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(r-56320),a++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=i.uint8array?new Uint8Array(l):new Array(l),o=0,a=0;o<l;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(r=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(r-56320),a++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t}(e)},n.utf8decode=function(e){if(i.nodebuffer)return r.transformTo("nodebuffer",e).toString("utf-8");for(var t=[],n=0,a=(e=r.transformTo(i.uint8array?"uint8array":"array",e)).length;n<a;){var o=l(e,Math.min(n+65536,a));i.uint8array?t.push(c(e.subarray(n,o))):t.push(c(e.slice(n,o))),n=o}return t.join("")}},{"./nodeBuffer":11,"./support":17,"./utils":21}],21:[function(e,t,n){"use strict";var r=e("./support"),i=e("./compressions"),a=e("./nodeBuffer");function o(e){return e}function s(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}function l(e){var t=65536,r=[],i=e.length,o=n.getTypeOf(e),s=0,l=!0;try{switch(o){case"uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case"nodebuffer":String.fromCharCode.apply(null,a(0))}}catch(e){l=!1}if(!l){for(var c="",u=0;u<e.length;u++)c+=String.fromCharCode(e[u]);return c}for(;s<i&&t>1;)try{"array"===o||"nodebuffer"===o?r.push(String.fromCharCode.apply(null,e.slice(s,Math.min(s+t,i)))):r.push(String.fromCharCode.apply(null,e.subarray(s,Math.min(s+t,i)))),s+=t}catch(e){t=Math.floor(t/2)}return r.join("")}function c(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.string2binary=function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(255&e.charCodeAt(n));return t},n.arrayBuffer2Blob=function(e){n.checkSupport("blob");try{return new Blob([e],{type:"application/zip"})}catch(n){try{var t=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);return t.append(e),t.getBlob("application/zip")}catch(e){throw new Error("Bug : can't construct the Blob.")}}},n.applyFromCharCode=l;var u={};u.string={string:o,array:function(e){return s(e,new Array(e.length))},arraybuffer:function(e){return u.string.uint8array(e).buffer},uint8array:function(e){return s(e,new Uint8Array(e.length))},nodebuffer:function(e){return s(e,a(e.length))}},u.array={string:l,array:o,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a(e)}},u.arraybuffer={string:function(e){return l(new Uint8Array(e))},array:function(e){return c(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:o,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a(new Uint8Array(e))}},u.uint8array={string:l,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:o,nodebuffer:function(e){return a(e)}},u.nodebuffer={string:l,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return u.nodebuffer.uint8array(e).buffer},uint8array:function(e){return c(e,new Uint8Array(e.length))},nodebuffer:o},n.transformTo=function(e,t){if(t||(t=""),!e)return t;n.checkSupport(e);var r=n.getTypeOf(t);return u[r][e](t)},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":r.nodebuffer&&a.test(e)?"nodebuffer":r.uint8array&&e instanceof Uint8Array?"uint8array":r.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){if(!r[e.toLowerCase()])throw new Error(e+" is not supported by this browser")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r="";for(n=0;n<(e||"").length;n++)r+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return r},n.findCompression=function(e){for(var t in i)if(i.hasOwnProperty(t)&&i[t].magic===e)return i[t];return null},n.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)}},{"./compressions":3,"./nodeBuffer":11,"./support":17}],22:[function(e,t,n){"use strict";var r=e("./stringReader"),i=e("./nodeBufferReader"),a=e("./uint8ArrayReader"),o=e("./utils"),s=e("./signature"),l=e("./zipEntry"),c=e("./support"),u=e("./object");function f(e,t){this.files=[],this.loadOptions=t,e&&this.load(e)}f.prototype={checkSignature:function(e){var t=this.reader.readString(4);if(t!==e)throw new Error("Corrupted zip or bug : unexpected signature ("+o.pretty(t)+", expected "+o.pretty(e)+")")},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2),this.zipComment=this.reader.readString(this.zipCommentLength),this.zipComment=u.utf8decode(this.zipComment)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readString(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readString(4)===s.CENTRAL_FILE_HEADER;)(e=new l({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(-1===e)throw new Error("Corrupted zip : can't find end of central directory");if(this.reader.setIndex(e),this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,-1===(e=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR)))throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator");this.reader.setIndex(e),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}},prepareReader:function(e){var t=o.getTypeOf(e);"string"!==t||c.uint8array?this.reader="nodebuffer"===t?new i(e):new a(o.transformTo("uint8array",e)):this.reader=new r(e,this.loadOptions.optimizedBinaryString)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=f},{"./nodeBufferReader":12,"./object":13,"./signature":14,"./stringReader":15,"./support":17,"./uint8ArrayReader":18,"./utils":21,"./zipEntry":23}],23:[function(e,t,n){"use strict";var r=e("./stringReader"),i=e("./utils"),a=e("./compressedObject"),o=e("./object");function s(e,t){this.options=e,this.loadOptions=t}s.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},prepareCompressedContent:function(e,t,n){return function(){var r=e.index;e.setIndex(t);var i=e.readData(n);return e.setIndex(r),i}},prepareContent:function(e,t,n,r,a){return function(){var e=i.transformTo(r.uncompressInputType,this.getCompressedContent()),t=r.uncompress(e);if(t.length!==a)throw new Error("Bug : uncompressed data size mismatch");return t}},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readString(this.fileNameLength),e.skip(n),-1==this.compressedSize||-1==this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize == -1 || uncompressedSize == -1)");if(null===(t=i.findCompression(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+this.fileName+")");if(this.decompressed=new a,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(e,e.index,this.compressedSize,t),this.decompressed.getContent=this.prepareContent(e,e.index,this.compressedSize,t,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=i.transformTo("string",this.decompressed.getContent()),o.crc32(this.decompressed)!==this.crc32))throw new Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(e){if(this.versionMadeBy=e.readString(2),this.versionNeeded=e.readInt(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4),this.fileNameLength=e.readInt(2),this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");this.fileName=e.readString(this.fileNameLength),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readString(this.fileCommentLength),this.dir=!!(16&this.externalFileAttributes)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=new r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index;for(this.extraFields=this.extraFields||{};e.index<i+this.extraFieldsLength;)t=e.readInt(2),n=e.readInt(2),r=e.readString(n),this.extraFields[t]={id:t,length:n,value:r}},handleUTF8:function(){if(this.useUTF8())this.fileName=o.utf8decode(this.fileName),this.fileComment=o.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();null!==e&&(this.fileName=e);var t=this.findExtraFieldUnicodeComment();null!==t&&(this.fileComment=t)}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=new r(e.value);return 1!==t.readInt(1)||o.crc32(this.fileName)!==t.readInt(4)?null:o.utf8decode(t.readString(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=new r(e.value);return 1!==t.readInt(1)||o.crc32(this.fileComment)!==t.readInt(4)?null:o.utf8decode(t.readString(e.length-5))}return null}},t.exports=s},{"./compressedObject":2,"./object":13,"./stringReader":15,"./utils":21}],24:[function(e,t,n){"use strict";var r={};(0,e("./lib/utils/common").assign)(r,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=r},{"./lib/deflate":25,"./lib/inflate":26,"./lib/utils/common":27,"./lib/zlib/constants":30}],25:[function(e,t,n){"use strict";var r=e("./zlib/deflate.js"),i=e("./utils/common"),a=e("./utils/strings"),o=e("./zlib/messages"),s=e("./zlib/zstream"),l=function(e){this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw new Error(o[n]);t.header&&r.deflateSetHeader(this.strm,t.header)};function c(e,t){var n=new l(t);if(n.push(e,!0),n.err)throw n.msg;return n.result}l.prototype.push=function(e,t){var n,o,s=this.strm,l=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?4:0,s.input="string"==typeof e?a.string2buf(e):e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(l),s.next_out=0,s.avail_out=l),1!==(n=r.deflate(s,o))&&0!==n)return this.onEnd(n),this.ended=!0,!1;(0===s.avail_out||0===s.avail_in&&4===o)&&("string"===this.options.to?this.onData(a.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==n);return 4!==o||(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n)},l.prototype.onData=function(e){this.chunks.push(e)},l.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=l,n.deflate=c,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,c(e,t)},n.gzip=function(e,t){return(t=t||{}).gzip=!0,c(e,t)}},{"./utils/common":27,"./utils/strings":28,"./zlib/deflate.js":32,"./zlib/messages":37,"./zlib/zstream":39}],26:[function(e,t,n){"use strict";var r=e("./zlib/inflate.js"),i=e("./utils/common"),a=e("./utils/strings"),o=e("./zlib/constants"),s=e("./zlib/messages"),l=e("./zlib/zstream"),c=e("./zlib/gzheader"),u=function(e){this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==o.Z_OK)throw new Error(s[n]);this.header=new c,r.inflateGetHeader(this.strm,this.header)};function f(e,t){var n=new u(t);if(n.push(e,!0),n.err)throw n.msg;return n.result}u.prototype.push=function(e,t){var n,s,l,c,u,f=this.strm,h=this.options.chunkSize;if(this.ended)return!1;s=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,f.input="string"==typeof e?a.binstring2buf(e):e,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new i.Buf8(h),f.next_out=0,f.avail_out=h),(n=r.inflate(f,o.Z_NO_FLUSH))!==o.Z_STREAM_END&&n!==o.Z_OK)return this.onEnd(n),this.ended=!0,!1;f.next_out&&(0===f.avail_out||n===o.Z_STREAM_END||0===f.avail_in&&s===o.Z_FINISH)&&("string"===this.options.to?(l=a.utf8border(f.output,f.next_out),c=f.next_out-l,u=a.buf2string(f.output,l),f.next_out=c,f.avail_out=h-c,c&&i.arraySet(f.output,f.output,l,c,0),this.onData(u)):this.onData(i.shrinkBuf(f.output,f.next_out)))}while(f.avail_in>0&&n!==o.Z_STREAM_END);return n===o.Z_STREAM_END&&(s=o.Z_FINISH),s!==o.Z_FINISH||(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===o.Z_OK)},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){e===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=u,n.inflate=f,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,f(e,t)},n.ungzip=f},{"./utils/common":27,"./utils/strings":28,"./zlib/constants":30,"./zlib/gzheader":33,"./zlib/inflate.js":35,"./zlib/messages":37,"./zlib/zstream":39}],27:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){var t,n,r,i,a,o;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(o=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)a=e[t],o.set(a,i),i+=a.length;return o}},a={arraySet:function(e,t,n,r,i){for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,a))},n.setTyped(r)},{}],28:[function(e,t,n){"use strict";var r=e("./common"),i=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){a=!1}for(var o=new r.Buf8(256),s=0;s<256;s++)o[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function l(e,t){if(t<65537&&(e.subarray&&a||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",o=0;o<t;o++)n+=String.fromCharCode(e[o]);return n}o[254]=o[254]=1,n.string2buf=function(e){var t,n,i,a,o,s=e.length,l=0;for(a=0;a<s;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(i-56320),a++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(l),o=0,a=0;o<l;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(i-56320),a++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t},n.buf2binstring=function(e){return l(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,i,a,s=t||e.length,c=new Array(2*s);for(r=0,n=0;n<s;)if((i=e[n++])<128)c[r++]=i;else if((a=o[i])>4)c[r++]=65533,n+=a-1;else{for(i&=2===a?31:3===a?15:7;a>1&&n<s;)i=i<<6|63&e[n++],a--;a>1?c[r++]=65533:i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|1023&i)}return l(c,r)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+o[e[n]]>t?n:t}},{"./common":27}],29:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;0!==n;){n-=o=n>2e3?2e3:n;do{a=a+(i=i+t[r++]|0)|0}while(--o);i%=65521,a%=65521}return i|a<<16|0}},{}],30:[function(e,t,n){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],31:[function(e,t,n){"use strict";var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var a=r,o=i+n;e^=-1;for(var s=i;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}},{}],32:[function(e,t,n){"use strict";var r=e("../utils/common"),i=e("./trees"),a=e("./adler32"),o=e("./crc32"),s=e("./messages"),l=-2,c=258,u=262,f=103,h=113,d=666;function p(e,t){return e.msg=s[t],t}function g(e){return(e<<1)-(e>4?9:0)}function m(e){for(var t=e.length;--t>=0;)e[t]=0}function v(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(r.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function b(e,t){i._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,v(e.strm)}function y(e,t){e.pending_buf[e.pending++]=t}function w(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function S(e,t,n,i){var s=e.avail_in;return s>i&&(s=i),0===s?0:(e.avail_in-=s,r.arraySet(t,e.input,e.next_in,s,n),1===e.state.wrap?e.adler=a(e.adler,t,s,n):2===e.state.wrap&&(e.adler=o(e.adler,t,s,n)),e.next_in+=s,e.total_in+=s,s)}function x(e,t){var n,r,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-u?e.strstart-(e.w_size-u):0,f=e.window,h=e.w_mask,d=e.prev,p=e.strstart+c,g=f[a+o-1],m=f[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(f[(n=t)+o]===m&&f[n+o-1]===g&&f[n]===f[a]&&f[++n]===f[a+1]){a+=2,n++;do{}while(f[++a]===f[++n]&&f[++a]===f[++n]&&f[++a]===f[++n]&&f[++a]===f[++n]&&f[++a]===f[++n]&&f[++a]===f[++n]&&f[++a]===f[++n]&&f[++a]===f[++n]&&a<p);if(r=c-(p-a),a=p-c,r>o){if(e.match_start=t,o=r,r>=s)break;g=f[a+o-1],m=f[a+o]}}}while((t=d[t&h])>l&&0!=--i);return o<=e.lookahead?o:e.lookahead}function E(e){var t,n,i,a,o,s=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=s+(s-u)){r.arraySet(e.window,e.window,s,s,0),e.match_start-=s,e.strstart-=s,e.block_start-=s,t=n=e.hash_size;do{i=e.head[--t],e.head[t]=i>=s?i-s:0}while(--n);t=n=s;do{i=e.prev[--t],e.prev[t]=i>=s?i-s:0}while(--n);a+=s}if(0===e.strm.avail_in)break;if(n=S(e.strm,e.window,e.strstart+e.lookahead,a),e.lookahead+=n,e.lookahead+e.insert>=3)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+3-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<u&&0!==e.strm.avail_in)}function _(e,t){for(var n,r;;){if(e.lookahead<u){if(E(e),e.lookahead<u&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-u&&(e.match_length=x(e,n)),e.match_length>=3)if(r=i._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(b(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(b(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(b(e,!1),0===e.strm.avail_out)?1:2}function A(e,t){for(var n,r,a;;){if(e.lookahead<u){if(E(e),e.lookahead<u&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-u&&(e.match_length=x(e,n),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-3,r=i._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=a&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(b(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=i._tr_tally(e,0,e.window[e.strstart-1]))&&b(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=i._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(b(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(b(e,!1),0===e.strm.avail_out)?1:2}var C,k=function(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i};function T(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new r.Buf16(1146),this.dyn_dtree=new r.Buf16(122),this.bl_tree=new r.Buf16(78),m(this.dyn_ltree),m(this.dyn_dtree),m(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new r.Buf16(16),this.heap=new r.Buf16(573),m(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new r.Buf16(573),m(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function R(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:h,e.adler=2===t.wrap?0:1,t.last_flush=0,i._tr_init(t),0):p(e,l)}function N(e){var t=R(e);return 0===t&&function(e){e.window_size=2*e.w_size,m(e.head),e.max_lazy_match=C[e.level].max_lazy,e.good_match=C[e.level].good_length,e.nice_match=C[e.level].nice_length,e.max_chain_length=C[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0}(e.state),t}function I(e,t,n,i,a,o){if(!e)return l;var s=1;if(-1===t&&(t=6),i<0?(s=0,i=-i):i>15&&(s=2,i-=16),a<1||a>9||8!==n||i<8||i>15||t<0||t>9||o<0||o>4)return p(e,l);8===i&&(i=9);var c=new T;return e.state=c,c.strm=e,c.wrap=s,c.gzhead=null,c.w_bits=i,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=a+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+3-1)/3),c.window=new r.Buf8(2*c.w_size),c.head=new r.Buf16(c.hash_size),c.prev=new r.Buf16(c.w_size),c.lit_bufsize=1<<a+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new r.Buf8(c.pending_buf_size),c.d_buf=c.lit_bufsize>>1,c.l_buf=3*c.lit_bufsize,c.level=t,c.strategy=o,c.method=n,N(e)}C=[new k(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(E(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,b(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-u&&(b(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(b(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(b(e,!1),e.strm.avail_out),1)})),new k(4,4,8,4,_),new k(4,5,16,8,_),new k(4,6,32,32,_),new k(4,4,16,16,A),new k(8,16,32,32,A),new k(8,16,128,128,A),new k(8,32,128,256,A),new k(32,128,258,1024,A),new k(32,258,258,4096,A)],n.deflateInit=function(e,t){return I(e,t,8,15,8,0)},n.deflateInit2=I,n.deflateReset=N,n.deflateResetKeep=R,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?l:(e.state.gzhead=t,0):l},n.deflate=function(e,t){var n,r,a,s;if(!e||!e.state||t>5||t<0)return e?p(e,l):l;if(r=e.state,!e.output||!e.input&&0!==e.avail_in||r.status===d&&4!==t)return p(e,0===e.avail_out?-5:l);if(r.strm=e,n=r.last_flush,r.last_flush=t,42===r.status)if(2===r.wrap)e.adler=0,y(r,31),y(r,139),y(r,8),r.gzhead?(y(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),y(r,255&r.gzhead.time),y(r,r.gzhead.time>>8&255),y(r,r.gzhead.time>>16&255),y(r,r.gzhead.time>>24&255),y(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),y(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(y(r,255&r.gzhead.extra.length),y(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=o(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(y(r,0),y(r,0),y(r,0),y(r,0),y(r,0),y(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),y(r,3),r.status=h);else{var u=8+(r.w_bits-8<<4)<<8;u|=(r.strategy>=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(u|=32),u+=31-u%31,r.status=h,w(r,u),0!==r.strstart&&(w(r,e.adler>>>16),w(r,65535&e.adler)),e.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(e.adler=o(e.adler,r.pending_buf,r.pending-a,a)),v(e),a=r.pending,r.pending!==r.pending_buf_size));)y(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(e.adler=o(e.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(e.adler=o(e.adler,r.pending_buf,r.pending-a,a)),v(e),a=r.pending,r.pending===r.pending_buf_size)){s=1;break}s=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,y(r,s)}while(0!==s);r.gzhead.hcrc&&r.pending>a&&(e.adler=o(e.adler,r.pending_buf,r.pending-a,a)),0===s&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(e.adler=o(e.adler,r.pending_buf,r.pending-a,a)),v(e),a=r.pending,r.pending===r.pending_buf_size)){s=1;break}s=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,y(r,s)}while(0!==s);r.gzhead.hcrc&&r.pending>a&&(e.adler=o(e.adler,r.pending_buf,r.pending-a,a)),0===s&&(r.status=f)}else r.status=f;if(r.status===f&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&v(e),r.pending+2<=r.pending_buf_size&&(y(r,255&e.adler),y(r,e.adler>>8&255),e.adler=0,r.status=h)):r.status=h),0!==r.pending){if(v(e),0===e.avail_out)return r.last_flush=-1,0}else if(0===e.avail_in&&g(t)<=g(n)&&4!==t)return p(e,-5);if(r.status===d&&0!==e.avail_in)return p(e,-5);if(0!==e.avail_in||0!==r.lookahead||0!==t&&r.status!==d){var S=2===r.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(E(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(b(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(b(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(b(e,!1),0===e.strm.avail_out)?1:2}(r,t):3===r.strategy?function(e,t){for(var n,r,a,o,s=e.window;;){if(e.lookahead<=c){if(E(e),e.lookahead<=c&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=s[a=e.strstart-1])===s[++a]&&r===s[++a]&&r===s[++a]){o=e.strstart+c;do{}while(r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&a<o);e.match_length=c-(o-a),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=i._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(b(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(b(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(b(e,!1),0===e.strm.avail_out)?1:2}(r,t):C[r.level].func(r,t);if(3!==S&&4!==S||(r.status=d),1===S||3===S)return 0===e.avail_out&&(r.last_flush=-1),0;if(2===S&&(1===t?i._tr_align(r):5!==t&&(i._tr_stored_block(r,0,0,!1),3===t&&(m(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),v(e),0===e.avail_out))return r.last_flush=-1,0}return 4!==t?0:r.wrap<=0?1:(2===r.wrap?(y(r,255&e.adler),y(r,e.adler>>8&255),y(r,e.adler>>16&255),y(r,e.adler>>24&255),y(r,255&e.total_in),y(r,e.total_in>>8&255),y(r,e.total_in>>16&255),y(r,e.total_in>>24&255)):(w(r,e.adler>>>16),w(r,65535&e.adler)),v(e),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},n.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&t!==f&&t!==h&&t!==d?p(e,l):(e.state=null,t===h?p(e,-3):0):l},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./messages":37,"./trees":38}],33:[function(e,t,n){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],34:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,a,o,s,l,c,u,f,h,d,p,g,m,v,b,y,w,S,x,E,_,A,C;n=e.state,r=e.next_in,A=e.input,i=r+(e.avail_in-5),a=e.next_out,C=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),l=n.dmax,c=n.wsize,u=n.whave,f=n.wnext,h=n.window,d=n.hold,p=n.bits,g=n.lencode,m=n.distcode,v=(1<<n.lenbits)-1,b=(1<<n.distbits)-1;e:do{p<15&&(d+=A[r++]<<p,p+=8,d+=A[r++]<<p,p+=8),y=g[d&v];t:for(;;){if(d>>>=w=y>>>24,p-=w,0===(w=y>>>16&255))C[a++]=65535&y;else{if(!(16&w)){if(0==(64&w)){y=g[(65535&y)+(d&(1<<w)-1)];continue t}if(32&w){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}S=65535&y,(w&=15)&&(p<w&&(d+=A[r++]<<p,p+=8),S+=d&(1<<w)-1,d>>>=w,p-=w),p<15&&(d+=A[r++]<<p,p+=8,d+=A[r++]<<p,p+=8),y=m[d&b];n:for(;;){if(d>>>=w=y>>>24,p-=w,!(16&(w=y>>>16&255))){if(0==(64&w)){y=m[(65535&y)+(d&(1<<w)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(x=65535&y,p<(w&=15)&&(d+=A[r++]<<p,(p+=8)<w&&(d+=A[r++]<<p,p+=8)),(x+=d&(1<<w)-1)>l){e.msg="invalid distance too far back",n.mode=30;break e}if(d>>>=w,p-=w,x>(w=a-o)){if((w=x-w)>u&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(E=0,_=h,0===f){if(E+=c-w,w<S){S-=w;do{C[a++]=h[E++]}while(--w);E=a-x,_=C}}else if(f<w){if(E+=c+f-w,(w-=f)<S){S-=w;do{C[a++]=h[E++]}while(--w);if(E=0,f<S){S-=w=f;do{C[a++]=h[E++]}while(--w);E=a-x,_=C}}}else if(E+=f-w,w<S){S-=w;do{C[a++]=h[E++]}while(--w);E=a-x,_=C}for(;S>2;)C[a++]=_[E++],C[a++]=_[E++],C[a++]=_[E++],S-=3;S&&(C[a++]=_[E++],S>1&&(C[a++]=_[E++]))}else{E=a-x;do{C[a++]=C[E++],C[a++]=C[E++],C[a++]=C[E++],S-=3}while(S>2);S&&(C[a++]=C[E++],S>1&&(C[a++]=C[E++]))}break}}break}}while(r<i&&a<s);r-=S=p>>3,d&=(1<<(p-=S<<3))-1,e.next_in=r,e.next_out=a,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=a<s?s-a+257:257-(a-s),n.hold=d,n.bits=p}},{}],35:[function(e,t,n){"use strict";var r=e("../utils/common"),i=e("./adler32"),a=e("./crc32"),o=e("./inffast"),s=e("./inftrees"),l=-2,c=12,u=30;function f(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function h(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function d(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(852),t.distcode=t.distdyn=new r.Buf32(592),t.sane=1,t.back=-1,0):l}function p(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,d(e)):l}function g(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?l:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,p(e))):l}function m(e,t){var n,r;return e?(r=new h,e.state=r,r.window=null,0!==(n=g(e,t))&&(e.state=null),n):l}var v,b,y=!0;function w(e){if(y){var t;for(v=new r.Buf32(512),b=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(1,e.lens,0,288,v,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(2,e.lens,0,32,b,0,e.work,{bits:5}),y=!1}e.lencode=v,e.lenbits=9,e.distcode=b,e.distbits=5}n.inflateReset=p,n.inflateReset2=g,n.inflateResetKeep=d,n.inflateInit=function(e){return m(e,15)},n.inflateInit2=m,n.inflate=function(e,t){var n,h,d,p,g,m,v,b,y,S,x,E,_,A,C,k,T,R,N,I,B,O,P,L,F=0,D=new r.Buf8(4),M=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return l;(n=e.state).mode===c&&(n.mode=13),g=e.next_out,d=e.output,v=e.avail_out,p=e.next_in,h=e.input,m=e.avail_in,b=n.hold,y=n.bits,S=m,x=v,O=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;y<16;){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}if(2&n.wrap&&35615===b){n.check=0,D[0]=255&b,D[1]=b>>>8&255,n.check=a(n.check,D,2,0),b=0,y=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&b)<<8)+(b>>8))%31){e.msg="incorrect header check",n.mode=u;break}if(8!=(15&b)){e.msg="unknown compression method",n.mode=u;break}if(y-=4,B=8+(15&(b>>>=4)),0===n.wbits)n.wbits=B;else if(B>n.wbits){e.msg="invalid window size",n.mode=u;break}n.dmax=1<<B,e.adler=n.check=1,n.mode=512&b?10:c,b=0,y=0;break;case 2:for(;y<16;){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}if(n.flags=b,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=u;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=u;break}n.head&&(n.head.text=b>>8&1),512&n.flags&&(D[0]=255&b,D[1]=b>>>8&255,n.check=a(n.check,D,2,0)),b=0,y=0,n.mode=3;case 3:for(;y<32;){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}n.head&&(n.head.time=b),512&n.flags&&(D[0]=255&b,D[1]=b>>>8&255,D[2]=b>>>16&255,D[3]=b>>>24&255,n.check=a(n.check,D,4,0)),b=0,y=0,n.mode=4;case 4:for(;y<16;){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}n.head&&(n.head.xflags=255&b,n.head.os=b>>8),512&n.flags&&(D[0]=255&b,D[1]=b>>>8&255,n.check=a(n.check,D,2,0)),b=0,y=0,n.mode=5;case 5:if(1024&n.flags){for(;y<16;){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}n.length=b,n.head&&(n.head.extra_len=b),512&n.flags&&(D[0]=255&b,D[1]=b>>>8&255,n.check=a(n.check,D,2,0)),b=0,y=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((E=n.length)>m&&(E=m),E&&(n.head&&(B=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,h,p,E,B)),512&n.flags&&(n.check=a(n.check,h,E,p)),m-=E,p+=E,n.length-=E),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===m)break e;E=0;do{B=h[p+E++],n.head&&B&&n.length<65536&&(n.head.name+=String.fromCharCode(B))}while(B&&E<m);if(512&n.flags&&(n.check=a(n.check,h,E,p)),m-=E,p+=E,B)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===m)break e;E=0;do{B=h[p+E++],n.head&&B&&n.length<65536&&(n.head.comment+=String.fromCharCode(B))}while(B&&E<m);if(512&n.flags&&(n.check=a(n.check,h,E,p)),m-=E,p+=E,B)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;y<16;){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}if(b!==(65535&n.check)){e.msg="header crc mismatch",n.mode=u;break}b=0,y=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=c;break;case 10:for(;y<32;){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}e.adler=n.check=f(b),b=0,y=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=g,e.avail_out=v,e.next_in=p,e.avail_in=m,n.hold=b,n.bits=y,2;e.adler=n.check=1,n.mode=c;case c:if(5===t||6===t)break e;case 13:if(n.last){b>>>=7&y,y-=7&y,n.mode=27;break}for(;y<3;){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}switch(n.last=1&b,y-=1,3&(b>>>=1)){case 0:n.mode=14;break;case 1:if(w(n),n.mode=20,6===t){b>>>=2,y-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=u}b>>>=2,y-=2;break;case 14:for(b>>>=7&y,y-=7&y;y<32;){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}if((65535&b)!=(b>>>16^65535)){e.msg="invalid stored block lengths",n.mode=u;break}if(n.length=65535&b,b=0,y=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(E=n.length){if(E>m&&(E=m),E>v&&(E=v),0===E)break e;r.arraySet(d,h,p,E,g),m-=E,p+=E,v-=E,g+=E,n.length-=E;break}n.mode=c;break;case 17:for(;y<14;){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}if(n.nlen=257+(31&b),b>>>=5,y-=5,n.ndist=1+(31&b),b>>>=5,y-=5,n.ncode=4+(15&b),b>>>=4,y-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=u;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;y<3;){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}n.lens[M[n.have++]]=7&b,b>>>=3,y-=3}for(;n.have<19;)n.lens[M[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,P={bits:n.lenbits},O=s(0,n.lens,0,19,n.lencode,0,n.work,P),n.lenbits=P.bits,O){e.msg="invalid code lengths set",n.mode=u;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;k=(F=n.lencode[b&(1<<n.lenbits)-1])>>>16&255,T=65535&F,!((C=F>>>24)<=y);){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}if(T<16)b>>>=C,y-=C,n.lens[n.have++]=T;else{if(16===T){for(L=C+2;y<L;){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}if(b>>>=C,y-=C,0===n.have){e.msg="invalid bit length repeat",n.mode=u;break}B=n.lens[n.have-1],E=3+(3&b),b>>>=2,y-=2}else if(17===T){for(L=C+3;y<L;){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}y-=C,B=0,E=3+(7&(b>>>=C)),b>>>=3,y-=3}else{for(L=C+7;y<L;){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}y-=C,B=0,E=11+(127&(b>>>=C)),b>>>=7,y-=7}if(n.have+E>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=u;break}for(;E--;)n.lens[n.have++]=B}}if(n.mode===u)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=u;break}if(n.lenbits=9,P={bits:n.lenbits},O=s(1,n.lens,0,n.nlen,n.lencode,0,n.work,P),n.lenbits=P.bits,O){e.msg="invalid literal/lengths set",n.mode=u;break}if(n.distbits=6,n.distcode=n.distdyn,P={bits:n.distbits},O=s(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,P),n.distbits=P.bits,O){e.msg="invalid distances set",n.mode=u;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(m>=6&&v>=258){e.next_out=g,e.avail_out=v,e.next_in=p,e.avail_in=m,n.hold=b,n.bits=y,o(e,x),g=e.next_out,d=e.output,v=e.avail_out,p=e.next_in,h=e.input,m=e.avail_in,b=n.hold,y=n.bits,n.mode===c&&(n.back=-1);break}for(n.back=0;k=(F=n.lencode[b&(1<<n.lenbits)-1])>>>16&255,T=65535&F,!((C=F>>>24)<=y);){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}if(k&&0==(240&k)){for(R=C,N=k,I=T;k=(F=n.lencode[I+((b&(1<<R+N)-1)>>R)])>>>16&255,T=65535&F,!(R+(C=F>>>24)<=y);){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}b>>>=R,y-=R,n.back+=R}if(b>>>=C,y-=C,n.back+=C,n.length=T,0===k){n.mode=26;break}if(32&k){n.back=-1,n.mode=c;break}if(64&k){e.msg="invalid literal/length code",n.mode=u;break}n.extra=15&k,n.mode=22;case 22:if(n.extra){for(L=n.extra;y<L;){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}n.length+=b&(1<<n.extra)-1,b>>>=n.extra,y-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;k=(F=n.distcode[b&(1<<n.distbits)-1])>>>16&255,T=65535&F,!((C=F>>>24)<=y);){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}if(0==(240&k)){for(R=C,N=k,I=T;k=(F=n.distcode[I+((b&(1<<R+N)-1)>>R)])>>>16&255,T=65535&F,!(R+(C=F>>>24)<=y);){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}b>>>=R,y-=R,n.back+=R}if(b>>>=C,y-=C,n.back+=C,64&k){e.msg="invalid distance code",n.mode=u;break}n.offset=T,n.extra=15&k,n.mode=24;case 24:if(n.extra){for(L=n.extra;y<L;){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}n.offset+=b&(1<<n.extra)-1,b>>>=n.extra,y-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=u;break}n.mode=25;case 25:if(0===v)break e;if(E=x-v,n.offset>E){if((E=n.offset-E)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=u;break}E>n.wnext?(E-=n.wnext,_=n.wsize-E):_=n.wnext-E,E>n.length&&(E=n.length),A=n.window}else A=d,_=g-n.offset,E=n.length;E>v&&(E=v),v-=E,n.length-=E;do{d[g++]=A[_++]}while(--E);0===n.length&&(n.mode=21);break;case 26:if(0===v)break e;d[g++]=n.length,v--,n.mode=21;break;case 27:if(n.wrap){for(;y<32;){if(0===m)break e;m--,b|=h[p++]<<y,y+=8}if(x-=v,e.total_out+=x,n.total+=x,x&&(e.adler=n.check=n.flags?a(n.check,d,x,g-x):i(n.check,d,x,g-x)),x=v,(n.flags?b:f(b))!==n.check){e.msg="incorrect data check",n.mode=u;break}b=0,y=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;y<32;){if(0===m)break e;m--,b+=h[p++]<<y,y+=8}if(b!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=u;break}b=0,y=0}n.mode=29;case 29:O=1;break e;case u:O=-3;break e;case 31:return-4;default:return l}return e.next_out=g,e.avail_out=v,e.next_in=p,e.avail_in=m,n.hold=b,n.bits=y,(n.wsize||x!==e.avail_out&&n.mode<u&&(n.mode<27||4!==t))&&function(e,t,n,i){var a,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new r.Buf8(o.wsize)),i>=o.wsize?(r.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((a=o.wsize-o.wnext)>i&&(a=i),r.arraySet(o.window,t,n-i,a,o.wnext),(i-=a)?(r.arraySet(o.window,t,n-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=a))),0}(e,e.output,e.next_out,x-e.avail_out)?(n.mode=31,-4):(S-=e.avail_in,x-=e.avail_out,e.total_in+=S,e.total_out+=x,n.total+=x,n.wrap&&x&&(e.adler=n.check=n.flags?a(n.check,d,x,e.next_out-x):i(n.check,d,x,e.next_out-x)),e.data_type=n.bits+(n.last?64:0)+(n.mode===c?128:0)+(20===n.mode||15===n.mode?256:0),(0===S&&0===x||4===t)&&0===O&&(O=-5),O)},n.inflateEnd=function(e){if(!e||!e.state)return l;var t=e.state;return t.window&&(t.window=null),e.state=null,0},n.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?l:(n.head=t,t.done=!1,0):l},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./inffast":34,"./inftrees":36}],36:[function(e,t,n){"use strict";var r=e("../utils/common"),i=15,a=[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,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],s=[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,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,c,u,f,h,d){var p,g,m,v,b,y,w,S,x,E=d.bits,_=0,A=0,C=0,k=0,T=0,R=0,N=0,I=0,B=0,O=0,P=null,L=0,F=new r.Buf16(16),D=new r.Buf16(16),M=null,j=0;for(_=0;_<=i;_++)F[_]=0;for(A=0;A<c;A++)F[t[n+A]]++;for(T=E,k=i;k>=1&&0===F[k];k--);if(T>k&&(T=k),0===k)return u[f++]=20971520,u[f++]=20971520,d.bits=1,0;for(C=1;C<k&&0===F[C];C++);for(T<C&&(T=C),I=1,_=1;_<=i;_++)if(I<<=1,(I-=F[_])<0)return-1;if(I>0&&(0===e||1!==k))return-1;for(D[1]=0,_=1;_<i;_++)D[_+1]=D[_]+F[_];for(A=0;A<c;A++)0!==t[n+A]&&(h[D[t[n+A]]++]=A);if(0===e?(P=M=h,y=19):1===e?(P=a,L-=257,M=o,j-=257,y=256):(P=s,M=l,y=-1),O=0,A=0,_=C,b=f,R=T,N=0,m=-1,v=(B=1<<T)-1,1===e&&B>852||2===e&&B>592)return 1;for(;;){w=_-N,h[A]<y?(S=0,x=h[A]):h[A]>y?(S=M[j+h[A]],x=P[L+h[A]]):(S=96,x=0),p=1<<_-N,C=g=1<<R;do{u[b+(O>>N)+(g-=p)]=w<<24|S<<16|x|0}while(0!==g);for(p=1<<_-1;O&p;)p>>=1;if(0!==p?(O&=p-1,O+=p):O=0,A++,0==--F[_]){if(_===k)break;_=t[n+h[A]]}if(_>T&&(O&v)!==m){for(0===N&&(N=T),b+=C,I=1<<(R=_-N);R+N<k&&!((I-=F[R+N])<=0);)R++,I<<=1;if(B+=1<<R,1===e&&B>852||2===e&&B>592)return 1;u[m=O&v]=T<<24|R<<16|b-f|0}}return 0!==O&&(u[b+O]=_-N<<24|64<<16|0),d.bits=T,0}},{"../utils/common":27}],37:[function(e,t,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],38:[function(e,t,n){"use strict";var r=e("../utils/common");function i(e){for(var t=e.length;--t>=0;)e[t]=0}var a=256,o=286,s=30,l=15,c=[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],u=[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],f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],h=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],d=new Array(576);i(d);var p=new Array(60);i(p);var g=new Array(512);i(g);var m=new Array(256);i(m);var v=new Array(29);i(v);var b=new Array(s);i(b);var y,w,S,x=function(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length},E=function(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t};function _(e){return e<256?g[e]:g[256+(e>>>7)]}function A(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function C(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,A(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function k(e,t,n){C(e,n[2*t],n[2*t+1])}function T(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function R(e,t,n){var r,i,a=new Array(16),o=0;for(r=1;r<=l;r++)a[r]=o=o+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=T(a[s]++,s))}}function N(e){var t;for(t=0;t<o;t++)e.dyn_ltree[2*t]=0;for(t=0;t<s;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function I(e){e.bi_valid>8?A(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function B(e,t,n,i){I(e),i&&(A(e,n),A(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function O(e,t,n,r){var i=2*t,a=2*n;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]}function P(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&O(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!O(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function L(e,t,n){var r,i,o,s,l=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*l]<<8|e.pending_buf[e.d_buf+2*l+1],i=e.pending_buf[e.l_buf+l],l++,0===r?k(e,i,t):(k(e,(o=m[i])+a+1,t),0!==(s=c[o])&&C(e,i-=v[o],s),k(e,o=_(--r),n),0!==(s=u[o])&&C(e,r-=b[o],s))}while(l<e.last_lit);k(e,256,t)}function F(e,t){var n,r,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,c=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<c;n++)0!==a[2*n]?(e.heap[++e.heap_len]=u=n,e.depth[n]=0):a[2*n+1]=0;for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=u,n=e.heap_len>>1;n>=1;n--)P(e,a,n);i=c;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],P(e,a,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,a[2*i]=a[2*n]+a[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,a[2*n+1]=a[2*r+1]=i,e.heap[1]=i++,P(e,a,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,a,o,s,c=t.dyn_tree,u=t.max_code,f=t.stat_desc.static_tree,h=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,g=t.stat_desc.max_length,m=0;for(a=0;a<=l;a++)e.bl_count[a]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)(a=c[2*c[2*(r=e.heap[n])+1]+1]+1)>g&&(a=g,m++),c[2*r+1]=a,r>u||(e.bl_count[a]++,o=0,r>=p&&(o=d[r-p]),s=c[2*r],e.opt_len+=s*(a+o),h&&(e.static_len+=s*(f[2*r+1]+o)));if(0!==m){do{for(a=g-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[g]--,m-=2}while(m>0);for(a=g;0!==a;a--)for(r=e.bl_count[a];0!==r;)(i=e.heap[--n])>u||(c[2*i+1]!==a&&(e.opt_len+=(a-c[2*i+1])*c[2*i],c[2*i+1]=a),r--)}}(e,t),R(a,u,e.bl_count)}function D(e,t,n){var r,i,a=-1,o=t[1],s=0,l=7,c=4;for(0===o&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=o,o=t[2*(r+1)+1],++s<l&&i===o||(s<c?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,a=i,0===o?(l=138,c=3):i===o?(l=6,c=3):(l=7,c=4))}function M(e,t,n){var r,i,a=-1,o=t[1],s=0,l=7,c=4;for(0===o&&(l=138,c=3),r=0;r<=n;r++)if(i=o,o=t[2*(r+1)+1],!(++s<l&&i===o)){if(s<c)do{k(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==a&&(k(e,i,e.bl_tree),s--),k(e,16,e.bl_tree),C(e,s-3,2)):s<=10?(k(e,17,e.bl_tree),C(e,s-3,3)):(k(e,18,e.bl_tree),C(e,s-11,7));s=0,a=i,0===o?(l=138,c=3):i===o?(l=6,c=3):(l=7,c=4)}}function j(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<a;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}var W=!1;function U(e,t,n,r){C(e,0+(r?1:0),3),B(e,t,n,!0)}n._tr_init=function(e){W||(!function(){var e,t,n,r,i,a=new Array(16);for(n=0,r=0;r<28;r++)for(v[r]=n,e=0;e<1<<c[r];e++)m[n++]=r;for(m[n-1]=r,i=0,r=0;r<16;r++)for(b[r]=i,e=0;e<1<<u[r];e++)g[i++]=r;for(i>>=7;r<s;r++)for(b[r]=i<<7,e=0;e<1<<u[r]-7;e++)g[256+i++]=r;for(t=0;t<=l;t++)a[t]=0;for(e=0;e<=143;)d[2*e+1]=8,e++,a[8]++;for(;e<=255;)d[2*e+1]=9,e++,a[9]++;for(;e<=279;)d[2*e+1]=7,e++,a[7]++;for(;e<=287;)d[2*e+1]=8,e++,a[8]++;for(R(d,287,a),e=0;e<s;e++)p[2*e+1]=5,p[2*e]=T(e,5);y=new x(d,c,257,o,l),w=new x(p,u,0,s,l),S=new x(new Array(0),f,0,19,7)}(),W=!0),e.l_desc=new E(e.dyn_ltree,y),e.d_desc=new E(e.dyn_dtree,w),e.bl_desc=new E(e.bl_tree,S),e.bi_buf=0,e.bi_valid=0,N(e)},n._tr_stored_block=U,n._tr_flush_block=function(e,t,n,r){var i,a,o=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=j(e)),F(e,e.l_desc),F(e,e.d_desc),o=function(e){var t;for(D(e,e.dyn_ltree,e.l_desc.max_code),D(e,e.dyn_dtree,e.d_desc.max_code),F(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*h[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=n+5,n+4<=i&&-1!==t?U(e,t,n,r):4===e.strategy||a===i?(C(e,2+(r?1:0),3),L(e,d,p)):(C(e,4+(r?1:0),3),function(e,t,n,r){var i;for(C(e,t-257,5),C(e,n-1,5),C(e,r-4,4),i=0;i<r;i++)C(e,e.bl_tree[2*h[i]+1],3);M(e,e.dyn_ltree,t-1),M(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),L(e,e.dyn_ltree,e.dyn_dtree)),N(e),r&&I(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(m[n]+a+1)]++,e.dyn_dtree[2*_(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){C(e,2,3),k(e,256,d),function(e){16===e.bi_valid?(A(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":27}],39:[function(e,t,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}]},{},[9])(9)}));var XLSX={};function make_xlsx_lib(e){e.version="0.17.4";var t=1200,n=1252;"undefined"!=typeof module&&"undefined"!=typeof require&&"undefined"==typeof cptable&&("undefined"!=typeof global?global.cptable=void 0:"undefined"!=typeof window&&(window.cptable=void 0));for(var r=[874,932,936,949,950],i=0;i<=8;++i)r.push(1250+i);var a={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},o=function(e){-1!=r.indexOf(e)&&(n=a[0]=e)};var s=function(e){t=e,o(e)};function l(){s(1200),o(1252)}function c(e){for(var t=[],n=0,r=e.length;n<r;++n)t[n]=e.charCodeAt(n);return t}var u=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return 255==t&&254==n?function(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n)+(e.charCodeAt(2*n+1)<<8));return t.join("")}(e.slice(2)):254==t&&255==n?function(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n+1)+(e.charCodeAt(2*n)<<8));return t.join("")}(e.slice(2)):65279==t?e.slice(1):e},f=function(e){return String.fromCharCode(e)},h=function(e){return String.fromCharCode(e)};"undefined"!=typeof cptable&&(s=function(e){t=e,o(e)},u=function(e){return 255===e.charCodeAt(0)&&254===e.charCodeAt(1)?cptable.utils.decode(1200,c(e.slice(2))):e},f=function(e){return 1200===t?String.fromCharCode(e):cptable.utils.decode(t,[255&e,e>>8])[0]},h=function(e){return cptable.utils.decode(n,[e])[0]});var d=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(t){for(var n="",r=0,i=0,a=0,o=0,s=0,l=0,c=0,u=0;u<t.length;)o=(r=t.charCodeAt(u++))>>2,s=(3&r)<<4|(i=t.charCodeAt(u++))>>4,l=(15&i)<<2|(a=t.charCodeAt(u++))>>6,c=63&a,isNaN(i)?l=c=64:isNaN(a)&&(c=64),n+=e.charAt(o)+e.charAt(s)+e.charAt(l)+e.charAt(c);return n},decode:function(t){var n="",r=0,i=0,a=0,o=0,s=0,l=0;t=t.replace(/[^\w\+\/\=]/g,"");for(var c=0;c<t.length;)r=e.indexOf(t.charAt(c++))<<2|(o=e.indexOf(t.charAt(c++)))>>4,n+=String.fromCharCode(r),i=(15&o)<<4|(s=e.indexOf(t.charAt(c++)))>>2,64!==s&&(n+=String.fromCharCode(i)),a=(3&s)<<6|(l=e.indexOf(t.charAt(c++))),64!==l&&(n+=String.fromCharCode(a));return n}}}(),p="undefined"!=typeof Buffer&&"undefined"!=typeof process&&void 0!==process.versions&&!!process.versions.node,g=function(){};if("undefined"!=typeof Buffer){var m=!Buffer.from;if(!m)try{Buffer.from("foo","utf8")}catch(e){m=!0}g=m?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer),Buffer.alloc||(Buffer.alloc=function(e){return new Buffer(e)}),Buffer.allocUnsafe||(Buffer.allocUnsafe=function(e){return new Buffer(e)})}function v(e){return p?Buffer.alloc(e):new Array(e)}function b(e){return p?Buffer.allocUnsafe(e):new Array(e)}var y=function(e){return p?g(e,"binary"):e.split("").map((function(e){return 255&e.charCodeAt(0)}))};function w(e){if("undefined"==typeof ArrayBuffer)return y(e);for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0;r!=e.length;++r)n[r]=255&e.charCodeAt(r);return t}function S(e){if(Array.isArray(e))return e.map((function(e){return String.fromCharCode(e)})).join("");for(var t=[],n=0;n<e.length;++n)t[n]=String.fromCharCode(e[n]);return t.join("")}function x(e){if("undefined"==typeof ArrayBuffer)throw new Error("Unsupported");if(e instanceof ArrayBuffer)return x(new Uint8Array(e));for(var t=new Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t}var E=function(e){return[].concat.apply([],e)},_=/\u0000/g,A=/[\u0001-\u0006]/g,C={},k=function(e){function t(e){for(var t="",n=e.length-1;n>=0;)t+=e.charAt(n--);return t}function n(e,t){for(var n="";n.length<t;)n+=e;return n}function r(e,t){var r=""+e;return r.length>=t?r:n("0",t-r.length)+r}function i(e,t){var r=""+e;return r.length>=t?r:n(" ",t-r.length)+r}function a(e,t){var r=""+e;return r.length>=t?r:r+n(" ",t-r.length)}function o(e,t){var r=""+Math.round(e);return r.length>=t?r:n("0",t-r.length)+r}function s(e,t){var r=""+e;return r.length>=t?r:n("0",t-r.length)+r}e.version="0.11.2";var l=Math.pow(2,32);function c(e,t){return e>l||e<-l?o(e,t):s(Math.round(e),t)}function u(e,t){return t=t||0,e.length>=7+t&&103==(32|e.charCodeAt(t))&&101==(32|e.charCodeAt(t+1))&&110==(32|e.charCodeAt(t+2))&&101==(32|e.charCodeAt(t+3))&&114==(32|e.charCodeAt(t+4))&&97==(32|e.charCodeAt(t+5))&&108==(32|e.charCodeAt(t+6))}var f=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],h=[["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"]];function d(e){e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "'}var p={};d(p);var g=[],m=0;for(m=5;m<=8;++m)g[m]=32+m;for(m=23;m<=26;++m)g[m]=0;for(m=27;m<=31;++m)g[m]=14;for(m=50;m<=58;++m)g[m]=14;for(m=59;m<=62;++m)g[m]=m-58;for(m=67;m<=68;++m)g[m]=m-58;for(m=72;m<=75;++m)g[m]=m-58;for(m=67;m<=68;++m)g[m]=m-57;for(m=76;m<=78;++m)g[m]=m-56;for(m=79;m<=81;++m)g[m]=m-34;var v=[];function b(e,t,n){for(var r=e<0?-1:1,i=e*r,a=0,o=1,s=0,l=1,c=0,u=0,f=Math.floor(i);c<t&&(s=(f=Math.floor(i))*o+a,u=f*c+l,!(i-f<5e-8));)i=1/(i-f),a=o,o=s,l=c,c=u;if(u>t&&(c>t?(u=l,s=a):(u=c,s=o)),!n)return[0,r*s,u];var h=Math.floor(r*s/u);return[h,r*s-h*u,u]}function y(e,t,n){if(e>2958465||e<0)return null;var r=0|e,i=Math.floor(86400*(e-r)),a=0,o=[],s={D:r,T:i,u:86400*(e-r)-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),t&&t.date1904&&(r+=1462),s.u>.9999&&(s.u=0,86400==++i&&(s.T=i=0,++r,++s.D)),60===r)o=n?[1317,10,29]:[1900,2,29],a=3;else if(0===r)o=n?[1317,8,29]:[1900,1,0],a=6;else{r>60&&--r;var l=new Date(1900,0,1);l.setDate(l.getDate()+r-1),o=[l.getFullYear(),l.getMonth()+1,l.getDate()],a=l.getDay(),r<60&&(a=(a+6)%7),n&&(a=function(e,t){t[0]-=581;var n=e.getDay();e<60&&(n=(n+6)%7);return n}(l,o))}return s.y=o[0],s.m=o[1],s.d=o[2],s.S=i%60,i=Math.floor(i/60),s.M=i%60,i=Math.floor(i/60),s.H=i,s.q=a,s}v[5]=v[63]='"$"#,##0_);\\("$"#,##0\\)',v[6]=v[64]='"$"#,##0_);[Red]\\("$"#,##0\\)',v[7]=v[65]='"$"#,##0.00_);\\("$"#,##0.00\\)',v[8]=v[66]='"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',v[41]='_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',v[42]='_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',v[43]='_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',v[44]='_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)',e.parse_date_code=y;var w=new Date(1899,11,31,0,0,0),S=w.getTime(),x=new Date(1900,2,1,0,0,0);function E(e,t){var n=e.getTime();return t?n-=1262304e5:e>=x&&(n+=864e5),(n-(S+6e4*(e.getTimezoneOffset()-w.getTimezoneOffset())))/864e5}e._general_int=function(e){return e.toString(10)};var _=function(){var e=/(?:\.0*|(\.\d*[1-9])0+)$/;function t(t){return-1==t.indexOf(".")?t:t.replace(e,"$1")}var n=/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,r=/(E[+-])(\d)$/;function i(e){return-1==e.indexOf("E")?e:e.replace(n,"$1E").replace(r,"$10$2")}return function(e){var n,r=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return n=r>=-4&&r<=-1?e.toPrecision(10+r):Math.abs(r)<=9?function(e){var n=e<0?12:11,r=t(e.toFixed(12));return r.length<=n||(r=e.toPrecision(10)).length<=n?r:e.toExponential(5)}(e):10===r?e.toFixed(10).substr(0,12):function(e){var n=t(e.toFixed(11));return n.length>(e<0?12:11)||"0"===n||"-0"===n?e.toPrecision(6):n}(e),t(i(n.toUpperCase()))}}();function A(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):_(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return F(14,E(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function C(e,t,n,i){var a,o="",s=0,l=0,c=n.y,u=0;switch(e){case 98:c=n.y+543;case 121:switch(t.length){case 1:case 2:a=c%100,u=2;break;default:a=c%1e4,u=4}break;case 109:switch(t.length){case 1:case 2:a=n.m,u=t.length;break;case 3:return h[n.m-1][1];case 5:return h[n.m-1][0];default:return h[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:a=n.d,u=t.length;break;case 3:return f[n.q][0];default:return f[n.q][1]}break;case 104:switch(t.length){case 1:case 2:a=1+(n.H+11)%12,u=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:a=n.H,u=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:a=n.M,u=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==n.u||"s"!=t&&"ss"!=t?(l=i>=2?3===i?1e3:100:1===i?10:1,(s=Math.round(l*(n.S+n.u)))>=60*l&&(s=0),"s"===t?0===s?"0":""+s/l:(o=r(s,2+i),"ss"===t?o.substr(0,2):"."+o.substr(2,t.length-1))):r(n.S,t.length);case 90:switch(t){case"[h]":case"[hh]":a=24*n.D+n.H;break;case"[m]":case"[mm]":a=60*(24*n.D+n.H)+n.M;break;case"[s]":case"[ss]":a=60*(60*(24*n.D+n.H)+n.M)+Math.round(n.S+n.u);break;default:throw"bad abstime format: "+t}u=3===t.length?1:2;break;case 101:a=c,u=1}return u>0?r(a,u):""}function k(e){if(e.length<=3)return e;for(var t=e.length%3,n=e.substr(0,t);t!=e.length;t+=3)n+=(n.length>0?",":"")+e.substr(t,3);return n}e._general_num=_,e._general=A;var T=function(){var e=/%/g;function o(t,r,i){var a=r.replace(e,""),o=r.length-a.length;return T(t,a,i*Math.pow(10,2*o))+n("%",o)}function s(e,t){var n,r=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+s(e,-t);var i=e.indexOf(".");-1===i&&(i=e.indexOf("E"));var a=Math.floor(Math.log(t)*Math.LOG10E)%i;if(a<0&&(a+=i),-1===(n=(t/Math.pow(10,a)).toPrecision(r+1+(i+a)%i)).indexOf("e")){var o=Math.floor(Math.log(t)*Math.LOG10E);for(-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(o-n.length+a):n+="E+"+(o-a);"0."===n.substr(0,2);)n=(n=n.charAt(0)+n.substr(2,i)+"."+n.substr(2+i)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,r){return t+n+r.substr(0,(i+a)%i)+"."+r.substr(a)+"E"}))}else n=t.toExponential(r);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}var l=/# (\?+)( ?)\/( ?)(\d+)/;var u=/^#*0*\.([0#]+)/,f=/\).*[0#]/,h=/\(###\) ###\\?-####/;function d(e){for(var t,n="",r=0;r!=e.length;++r)switch(t=e.charCodeAt(r)){case 35:break;case 63:n+=" ";break;case 48:n+="0";break;default:n+=String.fromCharCode(t)}return n}function p(e,t){var n=Math.pow(10,t);return""+Math.round(e*n)/n}function g(e,t){var n=e-Math.floor(e),r=Math.pow(10,t);return t<(""+Math.round(n*r)).length?0:Math.round(n*r)}function m(e,v,y){if(40===e.charCodeAt(0)&&!v.match(f)){var w=v.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return y>=0?m("n",w,y):"("+m("n",w,-y)+")"}if(44===v.charCodeAt(v.length-1))return function(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return T(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}(e,v,y);if(-1!==v.indexOf("%"))return o(e,v,y);if(-1!==v.indexOf("E"))return s(v,y);if(36===v.charCodeAt(0))return"$"+m(e,v.substr(" "==v.charAt(1)?2:1),y);var S,x,E,_,A=Math.abs(y),C=y<0?"-":"";if(v.match(/^00+$/))return C+c(A,v.length);if(v.match(/^[#?]+$/))return"0"===(S=c(y,0))&&(S=""),S.length>v.length?S:d(v.substr(0,v.length-S.length))+S;if(x=v.match(l))return function(e,t,a){var o=parseInt(e[4],10),s=Math.round(t*o),l=Math.floor(s/o),c=s-l*o,u=o;return a+(0===l?"":""+l)+" "+(0===c?n(" ",e[1].length+1+e[4].length):i(c,e[1].length)+e[2]+"/"+e[3]+r(u,e[4].length))}(x,A,C);if(v.match(/^#+0+$/))return C+c(A,v.length-v.indexOf("0"));if(x=v.match(u))return S=p(y,x[1].length).replace(/^([^\.]+)$/,"$1."+d(x[1])).replace(/\.$/,"."+d(x[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+n("0",d(x[1]).length-t.length)})),-1!==v.indexOf("0.")?S:S.replace(/^0\./,".");if(v=v.replace(/^#+([0.])/,"$1"),x=v.match(/^(0*)\.(#*)$/))return C+p(A,x[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,x[1].length?"0.":".");if(x=v.match(/^#{1,3},##0(\.?)$/))return C+k(c(A,0));if(x=v.match(/^#,##0\.([#0]*0)$/))return y<0?"-"+m(e,v,-y):k(""+(Math.floor(y)+function(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}(y,x[1].length)))+"."+r(g(y,x[1].length),x[1].length);if(x=v.match(/^#,#*,#0/))return m(e,v.replace(/^#,#*,/,""),y);if(x=v.match(/^([0#]+)(\\?-([0#]+))+$/))return S=t(m(e,v.replace(/[\\-]/g,""),y)),E=0,t(t(v.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return E<S.length?S.charAt(E++):"0"===e?"0":""})));if(v.match(h))return"("+(S=m(e,"##########",y)).substr(0,3)+") "+S.substr(3,3)+"-"+S.substr(6);var R="";if(x=v.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return E=Math.min(x[4].length,7),_=b(A,Math.pow(10,E)-1,!1),S=""+C," "==(R=T("n",x[1],_[1])).charAt(R.length-1)&&(R=R.substr(0,R.length-1)+"0"),S+=R+x[2]+"/"+x[3],(R=a(_[2],E)).length<x[4].length&&(R=d(x[4].substr(x[4].length-R.length))+R),S+=R;if(x=v.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return E=Math.min(Math.max(x[1].length,x[4].length),7),C+((_=b(A,Math.pow(10,E)-1,!0))[0]||(_[1]?"":"0"))+" "+(_[1]?i(_[1],E)+x[2]+"/"+x[3]+a(_[2],E):n(" ",2*E+1+x[2].length+x[3].length));if(x=v.match(/^[#0?]+$/))return S=c(y,0),v.length<=S.length?S:d(v.substr(0,v.length-S.length))+S;if(x=v.match(/^([#0?]+)\.([#0]+)$/)){S=""+y.toFixed(Math.min(x[2].length,10)).replace(/([^0])0+$/,"$1"),E=S.indexOf(".");var N=v.indexOf(".")-E,I=v.length-S.length-N;return d(v.substr(0,N)+S+v.substr(v.length-I))}if(x=v.match(/^00,000\.([#0]*0)$/))return E=g(y,x[1].length),y<0?"-"+m(e,v,-y):k(function(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(y)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?r(0,3-e.length):"")+e}))+"."+r(E,x[1].length);switch(v){case"###,##0.00":return m(e,"#,##0.00",y);case"###,###":case"##,###":case"#,###":var B=k(c(A,0));return"0"!==B?C+B:"";case"###,###.00":return m(e,"###,##0.00",y).replace(/^0\./,".");case"#,###.00":return m(e,"#,##0.00",y).replace(/^0\./,".")}throw new Error("unsupported format |"+v+"|")}function v(t,r,i){var a=r.replace(e,""),o=r.length-a.length;return T(t,a,i*Math.pow(10,2*o))+n("%",o)}function y(e,t){var n,r=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+y(e,-t);var i=e.indexOf(".");-1===i&&(i=e.indexOf("E"));var a=Math.floor(Math.log(t)*Math.LOG10E)%i;if(a<0&&(a+=i),!(n=(t/Math.pow(10,a)).toPrecision(r+1+(i+a)%i)).match(/[Ee]/)){var o=Math.floor(Math.log(t)*Math.LOG10E);-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(o-n.length+a):n+="E+"+(o-a),n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,r){return t+n+r.substr(0,(i+a)%i)+"."+r.substr(a)+"E"}))}else n=t.toExponential(r);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}function w(e,o,s){if(40===e.charCodeAt(0)&&!o.match(f)){var c=o.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return s>=0?w("n",c,s):"("+w("n",c,-s)+")"}if(44===o.charCodeAt(o.length-1))return function(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return T(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}(e,o,s);if(-1!==o.indexOf("%"))return v(e,o,s);if(-1!==o.indexOf("E"))return y(o,s);if(36===o.charCodeAt(0))return"$"+w(e,o.substr(" "==o.charAt(1)?2:1),s);var p,g,m,S,x=Math.abs(s),E=s<0?"-":"";if(o.match(/^00+$/))return E+r(x,o.length);if(o.match(/^[#?]+$/))return p=""+s,0===s&&(p=""),p.length>o.length?p:d(o.substr(0,o.length-p.length))+p;if(g=o.match(l))return function(e,t,r){return r+(0===t?"":""+t)+n(" ",e[1].length+2+e[4].length)}(g,x,E);if(o.match(/^#+0+$/))return E+r(x,o.length-o.indexOf("0"));if(g=o.match(u))return p=(p=(""+s).replace(/^([^\.]+)$/,"$1."+d(g[1])).replace(/\.$/,"."+d(g[1]))).replace(/\.(\d*)$/,(function(e,t){return"."+t+n("0",d(g[1]).length-t.length)})),-1!==o.indexOf("0.")?p:p.replace(/^0\./,".");if(o=o.replace(/^#+([0.])/,"$1"),g=o.match(/^(0*)\.(#*)$/))return E+(""+x).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,g[1].length?"0.":".");if(g=o.match(/^#{1,3},##0(\.?)$/))return E+k(""+x);if(g=o.match(/^#,##0\.([#0]*0)$/))return s<0?"-"+w(e,o,-s):k(""+s)+"."+n("0",g[1].length);if(g=o.match(/^#,#*,#0/))return w(e,o.replace(/^#,#*,/,""),s);if(g=o.match(/^([0#]+)(\\?-([0#]+))+$/))return p=t(w(e,o.replace(/[\\-]/g,""),s)),m=0,t(t(o.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return m<p.length?p.charAt(m++):"0"===e?"0":""})));if(o.match(h))return"("+(p=w(e,"##########",s)).substr(0,3)+") "+p.substr(3,3)+"-"+p.substr(6);var _="";if(g=o.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return m=Math.min(g[4].length,7),S=b(x,Math.pow(10,m)-1,!1),p=""+E," "==(_=T("n",g[1],S[1])).charAt(_.length-1)&&(_=_.substr(0,_.length-1)+"0"),p+=_+g[2]+"/"+g[3],(_=a(S[2],m)).length<g[4].length&&(_=d(g[4].substr(g[4].length-_.length))+_),p+=_;if(g=o.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return m=Math.min(Math.max(g[1].length,g[4].length),7),E+((S=b(x,Math.pow(10,m)-1,!0))[0]||(S[1]?"":"0"))+" "+(S[1]?i(S[1],m)+g[2]+"/"+g[3]+a(S[2],m):n(" ",2*m+1+g[2].length+g[3].length));if(g=o.match(/^[#0?]+$/))return p=""+s,o.length<=p.length?p:d(o.substr(0,o.length-p.length))+p;if(g=o.match(/^([#0]+)\.([#0]+)$/)){p=""+s.toFixed(Math.min(g[2].length,10)).replace(/([^0])0+$/,"$1"),m=p.indexOf(".");var A=o.indexOf(".")-m,C=o.length-p.length-A;return d(o.substr(0,A)+p+o.substr(o.length-C))}if(g=o.match(/^00,000\.([#0]*0)$/))return s<0?"-"+w(e,o,-s):k(""+s).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?r(0,3-e.length):"")+e}))+"."+r(0,g[1].length);switch(o){case"###,###":case"##,###":case"#,###":var R=k(""+x);return"0"!==R?E+R:"";default:if(o.match(/\.[0#?]*$/))return w(e,o.slice(0,o.lastIndexOf(".")),s)+d(o.slice(o.lastIndexOf(".")))}throw new Error("unsupported format |"+o+"|")}return function(e,t,n){return(0|n)===n?w(e,t,n):m(e,t,n)}}();function R(e){for(var t=[],n=!1,r=0,i=0;r<e.length;++r)switch(e.charCodeAt(r)){case 34:n=!n;break;case 95:case 42:case 92:++r;break;case 59:t[t.length]=e.substr(i,r-i),i=r+1}if(t[t.length]=e.substr(i),!0===n)throw new Error("Format |"+e+"| unterminated string ");return t}e._split=R;var N=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function I(e){for(var t=0,n="",r="";t<e.length;)switch(n=e.charAt(t)){case"G":u(e,t)&&(t+=6),t++;break;case'"':for(;34!==e.charCodeAt(++t)&&t<e.length;);++t;break;case"\\":case"_":t+=2;break;case"@":++t;break;case"B":case"b":if("1"===e.charAt(t+1)||"2"===e.charAt(t+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"===e.substr(t,3).toUpperCase())return!0;if("AM/PM"===e.substr(t,5).toUpperCase())return!0;if("上午/下午"===e.substr(t,5).toUpperCase())return!0;++t;break;case"[":for(r=n;"]"!==e.charAt(t++)&&t<e.length;)r+=e.charAt(t);if(r.match(N))return!0;break;case".":case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(n=e.charAt(++t))>-1||"\\"==n&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===n;);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;default:++t}return!1}function B(e,t,n,r){for(var i,a,o,s=[],l="",c=0,f="",h="t",d="H";c<e.length;)switch(f=e.charAt(c)){case"G":if(!u(e,c))throw new Error("unrecognized character "+f+" in "+e);s[s.length]={t:"G",v:"General"},c+=7;break;case'"':for(l="";34!==(o=e.charCodeAt(++c))&&c<e.length;)l+=String.fromCharCode(o);s[s.length]={t:"t",v:l},++c;break;case"\\":var p=e.charAt(++c),g="("===p||")"===p?p:"t";s[s.length]={t:g,v:p},++c;break;case"_":s[s.length]={t:"t",v:" "},c+=2;break;case"@":s[s.length]={t:"T",v:t},++c;break;case"B":case"b":if("1"===e.charAt(c+1)||"2"===e.charAt(c+1)){if(null==i&&null==(i=y(t,n,"2"===e.charAt(c+1))))return"";s[s.length]={t:"X",v:e.substr(c,2)},h=f,c+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":f=f.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0)return"";if(null==i&&null==(i=y(t,n)))return"";for(l=f;++c<e.length&&e.charAt(c).toLowerCase()===f;)l+=f;"m"===f&&"h"===h.toLowerCase()&&(f="M"),"h"===f&&(f=d),s[s.length]={t:f,v:l},h=f;break;case"A":case"a":case"上":var m={t:f,v:f};if(null==i&&(i=y(t,n)),"A/P"===e.substr(c,3).toUpperCase()?(null!=i&&(m.v=i.H>=12?"P":"A"),m.t="T",d="h",c+=3):"AM/PM"===e.substr(c,5).toUpperCase()?(null!=i&&(m.v=i.H>=12?"PM":"AM"),m.t="T",c+=5,d="h"):"上午/下午"===e.substr(c,5).toUpperCase()?(null!=i&&(m.v=i.H>=12?"下午":"上午"),m.t="T",c+=5,d="h"):(m.t="t",++c),null==i&&"T"===m.t)return"";s[s.length]=m,h=f;break;case"[":for(l=f;"]"!==e.charAt(c++)&&c<e.length;)l+=e.charAt(c);if("]"!==l.slice(-1))throw'unterminated "[" block: |'+l+"|";if(l.match(N)){if(null==i&&null==(i=y(t,n)))return"";s[s.length]={t:"Z",v:l.toLowerCase()},h=l.charAt(1)}else l.indexOf("$")>-1&&(l=(l.match(/\$([^-\[\]]*)/)||[])[1]||"$",I(e)||(s[s.length]={t:"t",v:l}));break;case".":if(null!=i){for(l=f;++c<e.length&&"0"===(f=e.charAt(c));)l+=f;s[s.length]={t:"s",v:l};break}case"0":case"#":for(l=f;++c<e.length&&"0#?.,E+-%".indexOf(f=e.charAt(c))>-1;)l+=f;s[s.length]={t:"n",v:l};break;case"?":for(l=f;e.charAt(++c)===f;)l+=f;s[s.length]={t:f,v:l},h=f;break;case"*":++c," "!=e.charAt(c)&&"*"!=e.charAt(c)||++c;break;case"(":case")":s[s.length]={t:1===r?"t":f,v:f},++c;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(l=f;c<e.length&&"0123456789".indexOf(e.charAt(++c))>-1;)l+=e.charAt(c);s[s.length]={t:"D",v:l};break;case" ":s[s.length]={t:f,v:f},++c;break;case"$":s[s.length]={t:"t",v:"$"},++c;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f))throw new Error("unrecognized character "+f+" in "+e);s[s.length]={t:"t",v:f},++c}var v,b=0,w=0;for(c=s.length-1,h="t";c>=0;--c)switch(s[c].t){case"h":case"H":s[c].t=d,h="h",b<1&&(b=1);break;case"s":(v=s[c].v.match(/\.0+$/))&&(w=Math.max(w,v[0].length-1)),b<3&&(b=3);case"d":case"y":case"M":case"e":h=s[c].t;break;case"m":"s"===h&&(s[c].t="M",b<2&&(b=2));break;case"X":break;case"Z":b<1&&s[c].v.match(/[Hh]/)&&(b=1),b<2&&s[c].v.match(/[Mm]/)&&(b=2),b<3&&s[c].v.match(/[Ss]/)&&(b=3)}switch(b){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 S,x="";for(c=0;c<s.length;++c)switch(s[c].t){case"t":case"T":case" ":case"D":break;case"X":s[c].v="",s[c].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":s[c].v=C(s[c].t.charCodeAt(0),s[c].v,i,w),s[c].t="t";break;case"n":case"?":for(S=c+1;null!=s[S]&&("?"===(f=s[S].t)||"D"===f||(" "===f||"t"===f)&&null!=s[S+1]&&("?"===s[S+1].t||"t"===s[S+1].t&&"/"===s[S+1].v)||"("===s[c].t&&(" "===f||"n"===f||")"===f)||"t"===f&&("/"===s[S].v||" "===s[S].v&&null!=s[S+1]&&"?"==s[S+1].t));)s[c].v+=s[S].v,s[S]={v:"",t:";"},++S;x+=s[c].v,c=S-1;break;case"G":s[c].t="t",s[c].v=A(t,n)}var E,_,k="";if(x.length>0){40==x.charCodeAt(0)?(E=t<0&&45===x.charCodeAt(0)?-t:t,_=T("n",x,E)):(_=T("n",x,E=t<0&&r>1?-t:t),E<0&&s[0]&&"t"==s[0].t&&(_=_.substr(1),s[0].v="-"+s[0].v)),S=_.length-1;var R=s.length;for(c=0;c<s.length;++c)if(null!=s[c]&&"t"!=s[c].t&&s[c].v.indexOf(".")>-1){R=c;break}var B=s.length;if(R===s.length&&-1===_.indexOf("E")){for(c=s.length-1;c>=0;--c)null!=s[c]&&-1!=="n?".indexOf(s[c].t)&&(S>=s[c].v.length-1?(S-=s[c].v.length,s[c].v=_.substr(S+1,s[c].v.length)):S<0?s[c].v="":(s[c].v=_.substr(0,S+1),S=-1),s[c].t="t",B=c);S>=0&&B<s.length&&(s[B].v=_.substr(0,S+1)+s[B].v)}else if(R!==s.length&&-1===_.indexOf("E")){for(S=_.indexOf(".")-1,c=R;c>=0;--c)if(null!=s[c]&&-1!=="n?".indexOf(s[c].t)){for(a=s[c].v.indexOf(".")>-1&&c===R?s[c].v.indexOf(".")-1:s[c].v.length-1,k=s[c].v.substr(a+1);a>=0;--a)S>=0&&("0"===s[c].v.charAt(a)||"#"===s[c].v.charAt(a))&&(k=_.charAt(S--)+k);s[c].v=k,s[c].t="t",B=c}for(S>=0&&B<s.length&&(s[B].v=_.substr(0,S+1)+s[B].v),S=_.indexOf(".")+1,c=R;c<s.length;++c)if(null!=s[c]&&(-1!=="n?(".indexOf(s[c].t)||c===R)){for(a=s[c].v.indexOf(".")>-1&&c===R?s[c].v.indexOf(".")+1:0,k=s[c].v.substr(0,a);a<s[c].v.length;++a)S<_.length&&(k+=_.charAt(S++));s[c].v=k,s[c].t="t",B=c}}}for(c=0;c<s.length;++c)null!=s[c]&&"n?".indexOf(s[c].t)>-1&&(E=r>1&&t<0&&c>0&&"-"===s[c-1].v?-t:t,s[c].v=T(s[c].t,s[c].v,E),s[c].t="t");var O="";for(c=0;c!==s.length;++c)null!=s[c]&&(O+=s[c].v);return O}e.is_date=I,e._eval=B;var O=/\[[=<>]/,P=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function L(e,t){if(null==t)return!1;var n=parseFloat(t[2]);switch(t[1]){case"=":if(e==n)return!0;break;case">":if(e>n)return!0;break;case"<":if(e<n)return!0;break;case"<>":if(e!=n)return!0;break;case">=":if(e>=n)return!0;break;case"<=":if(e<=n)return!0}return!1}function F(e,t,n){null==n&&(n={});var r="";switch(typeof e){case"string":r="m/d/yy"==e&&n.dateNF?n.dateNF:e;break;case"number":null==(r=14==e&&n.dateNF?n.dateNF:(null!=n.table?n.table:p)[e])&&(r=n.table&&n.table[g[e]]||p[g[e]]),null==r&&(r=v[e]||"General")}if(u(r,0))return A(t,n);t instanceof Date&&(t=E(t,n.date1904));var i=function(e,t){var n=R(e),r=n.length,i=n[r-1].indexOf("@");if(r<4&&i>-1&&--r,n.length>4)throw new Error("cannot find right format for |"+n.join("|")+"|");if("number"!=typeof t)return[4,4===n.length||i>-1?n[n.length-1]:"@"];switch(n.length){case 1:n=i>-1?["General","General","General",n[0]]:[n[0],n[0],n[0],"@"];break;case 2:n=i>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],"@"];break;case 3:n=i>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],"@"]}var a=t>0?n[0]:t<0?n[1]:n[2];if(-1===n[0].indexOf("[")&&-1===n[1].indexOf("["))return[r,a];if(null!=n[0].match(O)||null!=n[1].match(O)){var o=n[0].match(P),s=n[1].match(P);return L(t,o)?[r,n[0]]:L(t,s)?[r,n[1]]:[r,n[null!=o&&null!=s?2:1]]}return[r,a]}(r,t);if(u(i[1]))return A(t,n);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return B(i[1],t,n,i[0])}function D(e,t){if("number"!=typeof t){t=+t||-1;for(var n=0;n<392;++n)if(null!=p[n]){if(p[n]==e){t=n;break}}else t<0&&(t=n);t<0&&(t=391)}return p[t]=e,t}e.load=D,e._table=p,e.get_table=function(){return p},e.load_table=function(e){for(var t=0;392!=t;++t)void 0!==e[t]&&D(e[t],t)},e.init_table=d,e.format=F};k(C);var T={"General Number":"General","General Date":C._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":C._table[15],"Short Date":C._table[14],"Long Time":C._table[19],"Medium Time":C._table[18],"Short Time":C._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:C._table[2],Standard:C._table[4],Percent:C._table[10],Scientific:C._table[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'},R={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"},N=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;var I;!function(e){function t(){for(var e=0,t=new Array(256),n=0;256!=n;++n)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=n)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[n]=e;return"undefined"!=typeof Int32Array?new Int32Array(t):t}e.version="1.2.0";var n=t();function r(e,t){for(var r=-1^t,i=e.length-1,a=0;a<i;)r=(r=r>>>8^n[255&(r^e.charCodeAt(a++))])>>>8^n[255&(r^e.charCodeAt(a++))];return a===i&&(r=r>>>8^n[255&(r^e.charCodeAt(a))]),-1^r}function i(e,t){if(e.length>1e4)return a(e,t);for(var r=-1^t,i=e.length-3,o=0;o<i;)r=(r=(r=(r=r>>>8^n[255&(r^e[o++])])>>>8^n[255&(r^e[o++])])>>>8^n[255&(r^e[o++])])>>>8^n[255&(r^e[o++])];for(;o<i+3;)r=r>>>8^n[255&(r^e[o++])];return-1^r}function a(e,t){for(var r=-1^t,i=e.length-7,a=0;a<i;)r=(r=(r=(r=(r=(r=(r=(r=r>>>8^n[255&(r^e[a++])])>>>8^n[255&(r^e[a++])])>>>8^n[255&(r^e[a++])])>>>8^n[255&(r^e[a++])])>>>8^n[255&(r^e[a++])])>>>8^n[255&(r^e[a++])])>>>8^n[255&(r^e[a++])])>>>8^n[255&(r^e[a++])];for(;a<i+7;)r=r>>>8^n[255&(r^e[a++])];return-1^r}function o(e,t){for(var r,i,a=-1^t,o=0,s=e.length;o<s;)(r=e.charCodeAt(o++))<128?a=a>>>8^n[255&(a^r)]:r<2048?a=(a=a>>>8^n[255&(a^(192|r>>6&31))])>>>8^n[255&(a^(128|63&r))]:r>=55296&&r<57344?(r=64+(1023&r),i=1023&e.charCodeAt(o++),a=(a=(a=(a=a>>>8^n[255&(a^(240|r>>8&7))])>>>8^n[255&(a^(128|r>>2&63))])>>>8^n[255&(a^(128|i>>6&15|(3&r)<<4))])>>>8^n[255&(a^(128|63&i))]):a=(a=(a=a>>>8^n[255&(a^(224|r>>12&15))])>>>8^n[255&(a^(128|r>>6&63))])>>>8^n[255&(a^(128|63&r))];return-1^a}e.table=n,e.bstr=r,e.buf=i,e.str=o}(I={});var B,O=function(){var e,t={};function n(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:n(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(0,t+1)}function r(e){if("/"==e.charAt(e.length-1))return r(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function i(e,t){"string"==typeof t&&(t=new Date(t));var n=t.getHours();n=(n=n<<6|t.getMinutes())<<5|t.getSeconds()>>>1,e._W(2,n);var r=t.getFullYear()-1980;r=(r=r<<4|t.getMonth()+1)<<5|t.getDate(),e._W(2,r)}function a(e){Pt(e,0);for(var t={},n=0;e.l<=e.length-4;){var r=e._R(2),i=e._R(2),a=e.l+i,o={};if(21589===r)1&(n=e._R(1))&&(o.mtime=e._R(4)),i>5&&(2&n&&(o.atime=e._R(4)),4&n&&(o.ctime=e._R(4))),o.mtime&&(o.mt=new Date(1e3*o.mtime));e.l=a,t[r]=o}return t}function o(){return e||(e=require("fs"))}function s(e,t){if(80==e[0]&&75==e[1])return ce(e,t);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var n,r,i,a,o,s,l=512,u=[],h=e.slice(0,512);Pt(h,0);var d=function(e){if(80==e[e.l]&&75==e[e.l+1])return[0,0];e.chk(k,"Header Signature: "),e.l+=16;var t=e._R(2,"u");return[e._R(2,"u"),t]}(h);switch(n=d[0]){case 3:l=512;break;case 4:l=4096;break;case 0:if(0==d[1])return ce(e,t);default:throw new Error("Major Version: Expected 3 or 4 saw "+n)}512!==l&&Pt(h=e.slice(0,l),28);var p=e.slice(0,l);!function(e,t){var n=9;switch(e.l+=2,n=e._R(2)){case 9:if(3!=t)throw new Error("Sector Shift: Expected 9 saw "+n);break;case 12:if(4!=t)throw new Error("Sector Shift: Expected 12 saw "+n);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+n)}e.chk("0600","Mini Sector Shift: "),e.chk("000000000000","Reserved: ")}(h,n);var g=h._R(4,"i");if(3===n&&0!==g)throw new Error("# Directory Sectors: Expected 0 saw "+g);h.l+=4,a=h._R(4,"i"),h.l+=4,h.chk("00100000","Mini Stream Cutoff Size: "),o=h._R(4,"i"),r=h._R(4,"i"),s=h._R(4,"i"),i=h._R(4,"i");for(var m=-1,v=0;v<109&&!((m=h._R(4,"i"))<0);++v)u[v]=m;var b=function(e,t){for(var n=Math.ceil(e.length/t)-1,r=[],i=1;i<n;++i)r[i-1]=e.slice(i*t,(i+1)*t);return r[n-1]=e.slice(n*t),r}(e,l);c(s,i,b,l,u);var y=function(e,t,n,r){var i=e.length,a=[],o=[],s=[],l=[],c=r-1,u=0,f=0,h=0,d=0;for(u=0;u<i;++u)if(s=[],(h=u+t)>=i&&(h-=i),!o[h]){l=[];var p=[];for(f=h;f>=0;){p[f]=!0,o[f]=!0,s[s.length]=f,l.push(e[f]);var g=n[Math.floor(4*f/r)];if(r<4+(d=4*f&c))throw new Error("FAT boundary crossed: "+f+" 4 "+r);if(!e[g])break;if(p[f=Tt(e[g],d)])break}a[h]={nodes:s,data:at([l])}}return a}(b,a,u,l);y[a].name="!Directory",r>0&&o!==C&&(y[o].name="!MiniFAT"),y[u[0]].name="!FAT",y.fat_addrs=u,y.ssz=l;var w=[],S=[],x=[];f(a,y,b,w,r,{},S,o),function(e,t,n){for(var r=0,i=0,a=0,o=0,s=0,l=n.length,c=[],u=[];r<l;++r)c[r]=u[r]=r,t[r]=n[r];for(;s<u.length;++s)i=e[r=u[s]].L,a=e[r].R,o=e[r].C,c[r]===r&&(-1!==i&&c[i]!==i&&(c[r]=c[i]),-1!==a&&c[a]!==a&&(c[r]=c[a])),-1!==o&&(c[o]=r),-1!==i&&r!=c[r]&&(c[i]=c[r],u.lastIndexOf(i)<s&&u.push(i)),-1!==a&&r!=c[r]&&(c[a]=c[r],u.lastIndexOf(a)<s&&u.push(a));for(r=1;r<l;++r)c[r]===r&&(-1!==a&&c[a]!==a?c[r]=c[a]:-1!==i&&c[i]!==i&&(c[r]=c[i]));for(r=1;r<l;++r)if(0!==e[r].type){if((s=r)!=c[s])do{s=c[s],t[r]=t[s]+"/"+t[r]}while(0!==s&&-1!==c[s]&&s!=c[s]);c[r]=-1}for(t[0]+="/",r=1;r<l;++r)2!==e[r].type&&(t[r]+="/")}(S,x,w),w.shift();var E={FileIndex:S,FullPaths:x};return t&&t.raw&&(E.raw={header:p,sectors:b}),E}function l(e,t,n){for(var r=e.start,i=e.size,a=[],o=r;n&&i>0&&o>=0;)a.push(t.slice(o*x,o*x+x)),i-=x,o=Tt(n,4*o);return 0===a.length?Ft(0):E(a).slice(0,e.size)}function c(e,t,n,r,i){var a=C;if(e===C){if(0!==t)throw new Error("DIFAT chain shorter than expected")}else if(-1!==e){var o=n[e],s=(r>>>2)-1;if(!o)return;for(var l=0;l<s&&(a=Tt(o,4*l))!==C;++l)i.push(a);t>=1&&c(Tt(o,r-4),t-1,n,r,i)}}function u(e,t,n,r,i){var a=[],o=[];i||(i=[]);var s=r-1,l=0,c=0;for(l=t;l>=0;){i[l]=!0,a[a.length]=l,o.push(e[l]);var u=n[Math.floor(4*l/r)];if(r<4+(c=4*l&s))throw new Error("FAT boundary crossed: "+l+" 4 "+r);if(!e[u])break;l=Tt(e[u],c)}return{nodes:a,data:at([o])}}function f(e,t,n,r,i,a,o,s){for(var c,f=0,d=r.length?2:0,p=t[e].data,g=0,m=0;g<p.length;g+=128){var v=p.slice(g,g+128);Pt(v,64),m=v._R(2),c=st(v,0,m-d),r.push(c);var b={name:c,type:v._R(1),color:v._R(1),L:v._R(4,"i"),R:v._R(4,"i"),C:v._R(4,"i"),clsid:v._R(16),state:v._R(4,"i"),start:0,size:0};0!==v._R(2)+v._R(2)+v._R(2)+v._R(2)&&(b.ct=h(v,v.l-8)),0!==v._R(2)+v._R(2)+v._R(2)+v._R(2)&&(b.mt=h(v,v.l-8)),b.start=v._R(4,"i"),b.size=v._R(4,"i"),b.size<0&&b.start<0&&(b.size=b.type=0,b.start=C,b.name=""),5===b.type?(f=b.start,i>0&&f!==C&&(t[f].name="!StreamData")):b.size>=4096?(b.storage="fat",void 0===t[b.start]&&(t[b.start]=u(n,b.start,t.fat_addrs,t.ssz)),t[b.start].name=b.name,b.content=t[b.start].data.slice(0,b.size)):(b.storage="minifat",b.size<0?b.size=0:f!==C&&b.start!==C&&t[f]&&(b.content=l(b,t[f].data,(t[s]||{}).data))),b.content&&Pt(b.content,0),a[c]=b,o.push(b)}}function h(e,t){return new Date(1e3*(kt(e,t+4)/1e7*Math.pow(2,32)+kt(e,t)/1e7-11644473600))}function g(e,t){var n=t||{},r=n.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=r+"/",e.FileIndex[0]={name:r,type:5}),n.CLSID&&(e.FileIndex[0].clsid=n.CLSID),function(e){var t="Sh33tJ5";if(O.find(e,"/"+t))return;var n=Ft(4);n[0]=55,n[1]=n[3]=50,n[2]=54,e.FileIndex.push({name:t,type:2,content:n,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),m(e)}(e)}function m(e,t){g(e);for(var i=!1,a=!1,o=e.FullPaths.length-1;o>=0;--o){var s=e.FileIndex[o];switch(s.type){case 0:a?i=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:a=!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||t){var l=new Date(1987,1,19),c=0,u=[];for(o=0;o<e.FullPaths.length;++o)0!==e.FileIndex[o].type&&u.push([e.FullPaths[o],e.FileIndex[o]]);for(o=0;o<u.length;++o){var f=n(u[o][0]);for(a=!1,c=0;c<u.length;++c)u[c][0]===f&&(a=!0);a||u.push([f,{name:r(f).replace("/",""),type:1,clsid:R,ct:l,mt:l,content:null}])}for(u.sort((function(e,t){return function(e,t){for(var n=e.split("/"),r=t.split("/"),i=0,a=0,o=Math.min(n.length,r.length);i<o;++i){if(a=n[i].length-r[i].length)return a;if(n[i]!=r[i])return n[i]<r[i]?-1:1}return n.length-r.length}(e[0],t[0])})),e.FullPaths=[],e.FileIndex=[],o=0;o<u.length;++o)e.FullPaths[o]=u[o][0],e.FileIndex[o]=u[o][1];for(o=0;o<u.length;++o){var h=e.FileIndex[o],d=e.FullPaths[o];if(h.name=r(d).replace("/",""),h.L=h.R=h.C=-(h.color=1),h.size=h.content?h.content.length:0,h.start=0,h.clsid=h.clsid||R,0===o)h.C=u.length>1?1:-1,h.size=0,h.type=5;else if("/"==d.slice(-1)){for(c=o+1;c<u.length&&n(e.FullPaths[c])!=d;++c);for(h.C=c>=u.length?-1:c,c=o+1;c<u.length&&n(e.FullPaths[c])!=n(d);++c);h.R=c>=u.length?-1:c,h.type=1}else n(e.FullPaths[o+1]||"")==n(d)&&(h.R=o+1),h.type=2}}}function w(e,t){var n=t||{};if(m(e),"zip"==n.fileType)return fe(e,n);var r=function(e){for(var t=0,n=0,r=0;r<e.FileIndex.length;++r){var i=e.FileIndex[r];if(i.content){var a=i.content.length;a>0&&(a<4096?t+=a+63>>6:n+=a+511>>9)}}for(var o=e.FullPaths.length+3>>2,s=t+127>>7,l=(t+7>>3)+n+o+s,c=l+127>>7,u=c<=109?0:Math.ceil((c-109)/127);l+c+u+127>>7>c;)u=++c<=109?0:Math.ceil((c-109)/127);var f=[1,u,c,s,o,n,t,0];return e.FileIndex[0].size=t<<6,f[7]=(e.FileIndex[0].start=f[0]+f[1]+f[2]+f[3]+f[4]+f[5])+(f[6]+7>>3),f}(e),i=Ft(r[7]<<9),a=0,o=0;for(a=0;a<8;++a)i._W(1,T[a]);for(a=0;a<8;++a)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),a=0;a<3;++a)i._W(2,0);for(i._W(4,0),i._W(4,r[2]),i._W(4,r[0]+r[1]+r[2]+r[3]-1),i._W(4,0),i._W(4,4096),i._W(4,r[3]?r[0]+r[1]+r[2]-1:C),i._W(4,r[3]),i._W(-4,r[1]?r[0]-1:C),i._W(4,r[1]),a=0;a<109;++a)i._W(-4,a<r[2]?r[1]+a:-1);if(r[1])for(o=0;o<r[1];++o){for(;a<236+127*o;++a)i._W(-4,a<r[2]?r[1]+a:-1);i._W(-4,o===r[1]-1?C:o+1)}var s=function(e){for(o+=e;a<o-1;++a)i._W(-4,a+1);e&&(++a,i._W(-4,C))};for(o=a=0,o+=r[1];a<o;++a)i._W(-4,N.DIFSECT);for(o+=r[2];a<o;++a)i._W(-4,N.FATSECT);s(r[3]),s(r[4]);for(var l=0,c=0,u=e.FileIndex[0];l<e.FileIndex.length;++l)(u=e.FileIndex[l]).content&&((c=u.content.length)<4096||(u.start=o,s(c+511>>9)));for(s(r[6]+7>>3);511&i.l;)i._W(-4,N.ENDOFCHAIN);for(o=a=0,l=0;l<e.FileIndex.length;++l)(u=e.FileIndex[l]).content&&(!(c=u.content.length)||c>=4096||(u.start=o,s(c+63>>6)));for(;511&i.l;)i._W(-4,N.ENDOFCHAIN);for(a=0;a<r[4]<<2;++a){var f=e.FullPaths[a];if(f&&0!==f.length){u=e.FileIndex[a],0===a&&(u.start=u.size?u.start-1:C);var h=0===a&&n.root||u.name;if(c=2*(h.length+1),i._W(64,h,"utf16le"),i._W(2,c),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(l=0;l<4;++l)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(l=0;l<17;++l)i._W(4,0);for(l=0;l<3;++l)i._W(4,-1);for(l=0;l<12;++l)i._W(4,0)}}for(a=1;a<e.FileIndex.length;++a)if((u=e.FileIndex[a]).size>=4096){for(i.l=u.start+1<<9,l=0;l<u.size;++l)i._W(1,u.content[l]);for(;511&l;++l)i._W(1,0)}for(a=1;a<e.FileIndex.length;++a)if((u=e.FileIndex[a]).size>0&&u.size<4096){for(l=0;l<u.size;++l)i._W(1,u.content[l]);for(;63&l;++l)i._W(1,0)}for(;i.l<i.length;)i._W(1,0);return i}t.version="1.1.4";var S,x=64,C=-2,k="d0cf11e0a1b11ae1",T=[208,207,17,224,161,177,26,225],R="00000000000000000000000000000000",N={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:C,FREESECT:-1,HEADER_SIGNATURE:k,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:R,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function B(e){for(var t=new Array(e.length),n=0;n<e.length;++n)t[n]=String.fromCharCode(e[n]);return t.join("")}function P(e){return S?S.deflateRawSync(e):K(e)}var L=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],F=[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(e){var t=139536&(e<<1|e<<11)|558144&(e<<5|e<<15);return 255&(t>>16|t>>8|t)}for(var j="undefined"!=typeof Uint8Array,W=j?new Uint8Array(256):[],U=0;U<256;++U)W[U]=M(U);function z(e,t){var n=W[255&e];return t<=8?n>>>8-t:(n=n<<8|W[e>>8&255],t<=16?n>>>16-t:(n=n<<8|W[e>>16&255])>>>24-t)}function H(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=6?0:e[r+1]<<8))>>>n&3}function V(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=5?0:e[r+1]<<8))>>>n&7}function q(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=3?0:e[r+1]<<8))>>>n&31}function G(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=1?0:e[r+1]<<8))>>>n&127}function X(e,t,n){var r=7&t,i=t>>>3,a=(1<<n)-1,o=e[i]>>>r;return n<8-r?o&a:(o|=e[i+1]<<8-r,n<16-r?o&a:(o|=e[i+2]<<16-r,n<24-r?o&a:(o|=e[i+3]<<24-r)&a))}function $(e,t){var n=e.length,r=2*n>t?2*n:t+5,i=0;if(n>=t)return e;if(p){var a=b(r);if(e.copy)e.copy(a);else for(;i<e.length;++i)a[i]=e[i];return a}if(j){var o=new Uint8Array(r);if(o.set)o.set(e);else for(;i<e.length;++i)o[i]=e[i];return o}return e.length=r,e}function Y(e){for(var t=new Array(e),n=0;n<e;++n)t[n]=0;return t}var K=function(){var e=function(e,t){for(var n=0;n<e.length;){var r=Math.min(65535,e.length-n),i=n+r==e.length;for(t._W(1,+i),t._W(2,r),t._W(2,65535&~r);r-- >0;)t[t.l++]=e[n++]}return t.l};return function(t){var n=Ft(50+Math.floor(1.1*t.length)),r=e(t,n);return n.slice(0,r)}}();function J(e,t,n){var r=1,i=0,a=0,o=0,s=0,l=e.length,c=j?new Uint16Array(32):Y(32);for(a=0;a<32;++a)c[a]=0;for(a=l;a<n;++a)e[a]=0;l=e.length;var u=j?new Uint16Array(l):Y(l);for(a=0;a<l;++a)c[i=e[a]]++,r<i&&(r=i),u[a]=0;for(c[0]=0,a=1;a<=r;++a)c[a+16]=s=s+c[a-1]<<1;for(a=0;a<l;++a)0!=(s=e[a])&&(u[a]=c[s+16]++);var f=0;for(a=0;a<l;++a)if(0!=(f=e[a]))for(s=z(u[a],r)>>r-f,o=(1<<r+4-f)-1;o>=0;--o)t[s|o<<f]=15&f|a<<4;return r}var Z=j?new Uint16Array(512):Y(512),Q=j?new Uint16Array(32):Y(32);if(!j){for(var ee=0;ee<512;++ee)Z[ee]=0;for(ee=0;ee<32;++ee)Q[ee]=0}!function(){for(var e=[],t=0;t<32;t++)e.push(5);J(e,Q,32);var n=[];for(t=0;t<=143;t++)n.push(8);for(;t<=255;t++)n.push(9);for(;t<=279;t++)n.push(7);for(;t<=287;t++)n.push(8);J(n,Z,288)}();var te=j?new Uint16Array(32768):Y(32768),ne=j?new Uint16Array(32768):Y(32768),re=j?new Uint16Array(128):Y(128),ie=1,ae=1;function oe(e,t){var n=q(e,t)+257,r=q(e,t+=5)+1,i=function(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=4?0:e[r+1]<<8))>>>n&15}(e,t+=5)+4;t+=4;for(var a=0,o=j?new Uint8Array(19):Y(19),s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],l=1,c=j?new Uint8Array(8):Y(8),u=j?new Uint8Array(8):Y(8),f=o.length,h=0;h<i;++h)o[L[h]]=a=V(e,t),l<a&&(l=a),c[a]++,t+=3;var d=0;for(c[0]=0,h=1;h<=l;++h)u[h]=d=d+c[h-1]<<1;for(h=0;h<f;++h)0!=(d=o[h])&&(s[h]=u[d]++);var p=0;for(h=0;h<f;++h)if(0!=(p=o[h])){d=W[s[h]]>>8-p;for(var g=(1<<7-p)-1;g>=0;--g)re[d|g<<p]=7&p|h<<3}var m=[];for(l=1;m.length<n+r;)switch(t+=7&(d=re[G(e,t)]),d>>>=3){case 16:for(a=3+H(e,t),t+=2,d=m[m.length-1];a-- >0;)m.push(d);break;case 17:for(a=3+V(e,t),t+=3;a-- >0;)m.push(0);break;case 18:for(a=11+G(e,t),t+=7;a-- >0;)m.push(0);break;default:m.push(d),l<d&&(l=d)}var v=m.slice(0,n),b=m.slice(n);for(h=n;h<286;++h)v[h]=0;for(h=r;h<30;++h)b[h]=0;return ie=J(v,te,286),ae=J(b,ne,30),t}function se(e,t){var n=function(e,t){if(3==e[0]&&!(3&e[1]))return[v(t),2];for(var n=0,r=0,i=b(t||1<<18),a=0,o=i.length>>>0,s=0,l=0;0==(1&r);)if(r=V(e,n),n+=3,r>>>1!=0)for(r>>>1==1?(s=9,l=5):(n=oe(e,n),s=ie,l=ae),!t&&o<a+32767&&(o=(i=$(i,a+32767)).length);;){var c=X(e,n,s),u=r>>>1==1?Z[c]:te[c];if(n+=15&u,0==((u>>>=4)>>>8&255))i[a++]=u;else{if(256==u)break;var f=(u-=257)<8?0:u-4>>2;f>5&&(f=0);var h=a+F[u];f>0&&(h+=X(e,n,f),n+=f),c=X(e,n,l),n+=15&(u=r>>>1==1?Q[c]:ne[c]);var d=(u>>>=4)<4?0:u-2>>1,p=D[u];for(d>0&&(p+=X(e,n,d),n+=d),!t&&o<h&&(o=(i=$(i,h)).length);a<h;)i[a]=i[a-p],++a}}else{7&n&&(n+=8-(7&n));var g=e[n>>>3]|e[1+(n>>>3)]<<8;if(n+=32,!t&&o<a+g&&(o=(i=$(i,a+g)).length),"function"==typeof e.copy)e.copy(i,a,n>>>3,(n>>>3)+g),a+=g,n+=8*g;else for(;g-- >0;)i[a++]=e[n>>>3],n+=8}return[t?i:i.slice(0,a),n+7>>>3]}(e.slice(e.l||0),t);return e.l+=n[1],n[0]}function le(e,t){if(!e)throw new Error(t);"undefined"!=typeof console&&console.error(t)}function ce(e,t){var n=e;Pt(n,0);var r={FileIndex:[],FullPaths:[]};g(r,{root:t.root});for(var i=n.length-4;(80!=n[i]||75!=n[i+1]||5!=n[i+2]||6!=n[i+3])&&i>=0;)--i;n.l=i+4,n.l+=4;var o=n._R(2);n.l+=6;var s=n._R(4);for(n.l=s,i=0;i<o;++i){n.l+=20;var l=n._R(4),c=n._R(4),u=n._R(2),f=n._R(2),h=n._R(2);n.l+=8;var d=n._R(4),p=a(n.slice(n.l+u,n.l+u+f));n.l+=u+f+h;var m=n.l;n.l=d+4,ue(n,l,c,r,p),n.l=m}return r}function ue(e,t,n,r,i){e.l+=2;var o=e._R(2),s=e._R(2),l=function(e){var t=65535&e._R(2),n=65535&e._R(2),r=new Date,i=31&n,a=15&(n>>>=5);n>>>=4,r.setMilliseconds(0),r.setFullYear(n+1980),r.setMonth(a-1),r.setDate(i);var o=31&t,s=63&(t>>>=5);return t>>>=6,r.setHours(t),r.setMinutes(s),r.setSeconds(o<<1),r}(e);if(8257&o)throw new Error("Unsupported ZIP encryption");for(var c=e._R(4),u=e._R(4),f=e._R(4),h=e._R(2),d=e._R(2),p="",g=0;g<h;++g)p+=String.fromCharCode(e[e.l++]);if(d){var m=a(e.slice(e.l,e.l+d));(m[21589]||{}).mt&&(l=m[21589].mt),((i||{})[21589]||{}).mt&&(l=i[21589].mt)}e.l+=d;var v=e.slice(e.l,e.l+u);switch(s){case 8:v=function(e,t){if(!S)return se(e,t);var n=new(0,S.InflateRaw),r=n._processChunk(e.slice(e.l),n._finishFlushFlag);return e.l+=n.bytesRead,r}(e,f);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+s)}var b=!1;8&o&&(134695760==(c=e._R(4))&&(c=e._R(4),b=!0),u=e._R(4),f=e._R(4)),u!=t&&le(b,"Bad compressed size: "+t+" != "+u),f!=n&&le(b,"Bad uncompressed size: "+n+" != "+f);var y=I.buf(v,0);c>>0!=y>>0&&le(b,"Bad CRC32 checksum: "+c+" != "+y),he(r,p,v,{unsafe:!0,mt:l})}function fe(e,t){var n=t||{},r=[],a=[],o=Ft(1),s=n.compression?8:0,l=0;var c=0,u=0,f=0,h=0,d=e.FullPaths[0],p=d,g=e.FileIndex[0],m=[],v=0;for(c=1;c<e.FullPaths.length;++c)if(p=e.FullPaths[c].slice(d.length),(g=e.FileIndex[c]).size&&g.content&&"Sh33tJ5"!=p){var b=f,y=Ft(p.length);for(u=0;u<p.length;++u)y._W(1,127&p.charCodeAt(u));y=y.slice(0,y.l),m[h]=I.buf(g.content,0);var w=g.content;8==s&&(w=P(w)),(o=Ft(30))._W(4,67324752),o._W(2,20),o._W(2,l),o._W(2,s),g.mt?i(o,g.mt):o._W(4,0),o._W(-4,8&l?0:m[h]),o._W(4,8&l?0:w.length),o._W(4,8&l?0:g.content.length),o._W(2,y.length),o._W(2,0),f+=o.length,r.push(o),f+=y.length,r.push(y),f+=w.length,r.push(w),8&l&&((o=Ft(12))._W(-4,m[h]),o._W(4,w.length),o._W(4,g.content.length),f+=o.l,r.push(o)),(o=Ft(46))._W(4,33639248),o._W(2,0),o._W(2,20),o._W(2,l),o._W(2,s),o._W(4,0),o._W(-4,m[h]),o._W(4,w.length),o._W(4,g.content.length),o._W(2,y.length),o._W(2,0),o._W(2,0),o._W(2,0),o._W(2,0),o._W(4,0),o._W(4,b),v+=o.l,a.push(o),v+=y.length,a.push(y),++h}return(o=Ft(22))._W(4,101010256),o._W(2,0),o._W(2,0),o._W(2,h),o._W(2,h),o._W(4,v),o._W(4,f),o._W(2,0),E([E(r),E(a),o])}function he(e,t,n,i){var a=i&&i.unsafe;a||g(e);var o=!a&&O.find(e,t);if(!o){var s=e.FullPaths[0];t.slice(0,s.length)==s?s=t:("/"!=s.slice(-1)&&(s+="/"),s=(s+t).replace("//","/")),o={name:r(t),type:2},e.FileIndex.push(o),e.FullPaths.push(s),a||O.utils.cfb_gc(e)}return o.content=n,o.size=n?n.length:0,i&&(i.CLSID&&(o.clsid=i.CLSID),i.mt&&(o.mt=i.mt),i.ct&&(o.ct=i.ct)),o}return t.find=function(e,t){var n=e.FullPaths.map((function(e){return e.toUpperCase()})),r=n.map((function(e){var t=e.split("/");return t[t.length-("/"==e.slice(-1)?2:1)]})),i=!1;47===t.charCodeAt(0)?(i=!0,t=n[0].slice(0,-1)+t):i=-1!==t.indexOf("/");var a=t.toUpperCase(),o=!0===i?n.indexOf(a):r.indexOf(a);if(-1!==o)return e.FileIndex[o];var s=!a.match(A);for(a=a.replace(_,""),s&&(a=a.replace(A,"!")),o=0;o<n.length;++o){if((s?n[o].replace(A,"!"):n[o]).replace(_,"")==a)return e.FileIndex[o];if((s?r[o].replace(A,"!"):r[o]).replace(_,"")==a)return e.FileIndex[o]}return null},t.read=function(t,n){switch(n&&n.type||"base64"){case"file":return function(t,n){return o(),s(e.readFileSync(t),n)}(t,n);case"base64":return s(y(d.decode(t)),n);case"binary":return s(y(t),n)}return s(t,n)},t.parse=s,t.write=function(t,n){var r=w(t,n);switch(n&&n.type){case"file":return o(),e.writeFileSync(n.filename,r),r;case"binary":return B(r);case"base64":return d.encode(B(r))}return r},t.writeFile=function(t,n,r){o();var i=w(t,r);e.writeFileSync(n,i)},t.utils={cfb_new:function(e){var t={};return g(t,e),t},cfb_add:he,cfb_del:function(e,t){g(e);var n=O.find(e,t);if(n)for(var r=0;r<e.FileIndex.length;++r)if(e.FileIndex[r]==n)return e.FileIndex.splice(r,1),e.FullPaths.splice(r,1),!0;return!1},cfb_mov:function(e,t,n){g(e);var i=O.find(e,t);if(i)for(var a=0;a<e.FileIndex.length;++a)if(e.FileIndex[a]==i)return e.FileIndex[a].name=r(n),e.FullPaths[a]=n,!0;return!1},cfb_gc:function(e){m(e,!0)},ReadShift:Nt,CheckField:Ot,prep_blob:Pt,bconcat:E,use_zlib:function(e){try{var t=new(0,e.InflateRaw);if(t._processChunk(new Uint8Array([3,0]),t._finishFlushFlag),!t.bytesRead)throw new Error("zlib does not expose bytesRead");S=e}catch(e){console.error("cannot use native zlib: "+(e.message||e))}},_deflateRaw:K,_inflateRaw:se,consts:N},t}();if("undefined"!=typeof require)try{B=require("fs")}catch(e){}function P(e){return"string"==typeof e?w(e):Array.isArray(e)?function(e){if("undefined"==typeof Uint8Array)throw new Error("Unsupported");return new Uint8Array(e)}(e):e}function L(e,t,n){if(void 0!==B&&B.writeFileSync)return n?B.writeFileSync(e,t,n):B.writeFileSync(e,t);var r="utf8"==n?Pe(t):t;if("undefined"!=typeof IE_SaveFile)return IE_SaveFile(r,e);if("undefined"!=typeof Blob){var i=new Blob([P(r)],{type:"application/octet-stream"});if("undefined"!=typeof navigator&&navigator.msSaveBlob)return navigator.msSaveBlob(i,e);if(void 0!==saveAs)return saveAs(i,e);if("undefined"!=typeof URL&&"undefined"!=typeof document&&document.createElement&&URL.createObjectURL){var a=URL.createObjectURL(i);if("object"==typeof chrome&&"function"==typeof(chrome.downloads||{}).download)return URL.revokeObjectURL&&"undefined"!=typeof setTimeout&&setTimeout((function(){URL.revokeObjectURL(a)}),6e4),chrome.downloads.download({url:a,filename:e,saveAs:!0});var o=document.createElement("a");if(null!=o.download)return o.download=e,o.href=a,document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL&&"undefined"!=typeof setTimeout&&setTimeout((function(){URL.revokeObjectURL(a)}),6e4),a}}if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var s=File(e);return s.open("w"),s.encoding="binary",Array.isArray(t)&&(t=S(t)),s.write(t),s.close(),t}catch(e){if(!e.message||!e.message.match(/onstruct/))throw e}throw new Error("cannot save file "+e)}function F(e){for(var t=Object.keys(e),n=[],r=0;r<t.length;++r)Object.prototype.hasOwnProperty.call(e,t[r])&&n.push(t[r]);return n}function D(e,t){for(var n=[],r=F(e),i=0;i!==r.length;++i)null==n[e[r[i]][t]]&&(n[e[r[i]][t]]=r[i]);return n}function M(e){for(var t=[],n=F(e),r=0;r!==n.length;++r)t[e[n[r]]]=n[r];return t}function j(e){for(var t=[],n=F(e),r=0;r!==n.length;++r)t[e[n[r]]]=parseInt(n[r],10);return t}var W=new Date(1899,11,30,0,0,0);function U(e,t){var n=e.getTime();return t&&(n-=1263168e5),(n-(W.getTime()+6e4*(e.getTimezoneOffset()-W.getTimezoneOffset())))/864e5}var z=new Date,H=W.getTime()+6e4*(z.getTimezoneOffset()-W.getTimezoneOffset()),V=z.getTimezoneOffset();function q(e){var t=new Date;return t.setTime(24*e*60*60*1e3+H),t.getTimezoneOffset()!==V&&t.setTime(t.getTime()+6e4*(t.getTimezoneOffset()-V)),t}function G(e){var t=0,n=0,r=!1,i=e.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("|"+e+"| is not an ISO8601 Duration");for(var a=1;a!=i.length;++a)if(i[a]){switch(n=1,a>3&&(r=!0),i[a].slice(i[a].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+i[a].slice(i[a].length-1));case"D":n*=24;case"H":n*=60;case"M":if(!r)throw new Error("Unsupported ISO Duration Field: M");n*=60}t+=n*parseInt(i[a],10)}return t}var X=new Date("2017-02-19T19:06:09.000Z");isNaN(X.getFullYear())&&(X=new Date("2/19/17"));var Y=2017==X.getFullYear();function K(e,t){var n=new Date(e);if(Y)return t>0?n.setTime(n.getTime()+60*n.getTimezoneOffset()*1e3):t<0&&n.setTime(n.getTime()-60*n.getTimezoneOffset()*1e3),n;if(e instanceof Date)return e;if(1917==X.getFullYear()&&!isNaN(n.getFullYear())){var r=n.getFullYear();return e.indexOf(""+r)>-1||n.setFullYear(n.getFullYear()+100),n}var i=e.match(/\d+/g)||["2017","2","19","0","0","0"],a=new Date(+i[0],+i[1]-1,+i[2],+i[3]||0,+i[4]||0,+i[5]||0);return e.indexOf("Z")>-1&&(a=new Date(a.getTime()-60*a.getTimezoneOffset()*1e3)),a}function J(e){for(var t="",n=0;n!=e.length;++n)t+=String.fromCharCode(e[n]);return t}function Z(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=Z(e[n]));return t}function Q(e,t){for(var n="";n.length<t;)n+=e;return n}function ee(e){var t=Number(e);if(isFinite(t))return t;if(!isNaN(t))return NaN;if(!/\d/.test(e))return t;var n=1,r=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,(function(){return n*=100,""}));return isNaN(t=Number(r))?(r=r.replace(/[(](.*)[)]/,(function(e,t){return n=-n,t})),isNaN(t=Number(r))?t:t/n):t/n}function te(e){var t=new Date(e),n=new Date(NaN),r=t.getYear(),i=t.getMonth(),a=t.getDate();return isNaN(a)||r<0||r>8099?n:(i>0||a>1)&&101!=r||e.toLowerCase().match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)?t:e.match(/[^-0-9:,\/\\]/)?n:t}var ne,re=5=="abacaba".split(/(:?b)/i).length;function ie(e){return e?e.data?u(e.data):e.asNodeBuffer&&p?u(e.asNodeBuffer().toString("binary")):e.asBinary?u(e.asBinary()):e._data&&e._data.getContent?u(J(Array.prototype.slice.call(e._data.getContent(),0))):e.content&&e.type?u(J(e.content)):null:null}function ae(e){return e&&".bin"===e.name.slice(-4)?function(e){if(!e)return null;if(e.data)return c(e.data);if(e.asNodeBuffer&&p)return e.asNodeBuffer();if(e._data&&e._data.getContent){var t=e._data.getContent();return"string"==typeof t?c(t):Array.prototype.slice.call(t)}return e.content&&e.type?e.content:null}(e):ie(e)}function oe(e,t){for(var n=e.FullPaths||F(e.files),r=t.toLowerCase().replace(/[\/]/g,"\\"),i=r.replace(/\\/g,"/"),a=0;a<n.length;++a){var o=n[a].replace(/^Root Entry[\/]/,"").toLowerCase();if(r==o||i==o)return e.files?e.files[n[a]]:e.FileIndex[a]}return null}function se(e,t){var n=oe(e,t);if(null==n)throw new Error("Cannot find file "+t+" in zip");return n}function le(e,t,n){if(!n)return ae(se(e,t));if(!t)return null;try{return le(e,t)}catch(e){return null}}function ce(e,t,n){if(!n)return ie(se(e,t));if(!t)return null;try{return ce(e,t)}catch(e){return null}}function ue(e,t,n){e.FullPaths?O.utils.cfb_add(e,t,n):e.file(t,n)}function fe(){return ne?new ne:O.utils.cfb_new()}function he(e,t){var n;if(ne)switch(t.type){case"base64":n=new ne(e,{base64:!0});break;case"binary":case"array":n=new ne(e,{base64:!1});break;case"buffer":n=new ne(e);break;default:throw new Error("Unrecognized type "+t.type)}else switch(t.type){case"base64":n=O.read(e,{type:"base64"});break;case"binary":n=O.read(e,{type:"binary"});break;case"buffer":case"array":n=O.read(e,{type:"buffer"});break;default:throw new Error("Unrecognized type "+t.type)}return n}function de(e,t){if("/"==e.charAt(0))return e.slice(1);var n=t.split("/");"/"!=t.slice(-1)&&n.pop();for(var r=e.split("/");0!==r.length;){var i=r.shift();".."===i?n.pop():"."!==i&&n.push(i)}return n.join("/")}"undefined"!=typeof JSZipSync&&(ne=JSZipSync),"undefined"!=typeof exports&&"undefined"!=typeof module&&module.exports&&void 0===ne&&(ne=void 0);var pe='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n',ge=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,me=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm;pe.match(me)||(me=/<[^>]*>/g);var ve=/<\w*:/,be=/<(\/?)\w+:/;function ye(e,t,n){for(var r={},i=0,a=0;i!==e.length&&(32!==(a=e.charCodeAt(i))&&10!==a&&13!==a);++i);if(t||(r[0]=e.slice(0,i)),i===e.length)return r;var o=e.match(ge),s=0,l="",c=0,u="",f="",h=1;if(o)for(c=0;c!=o.length;++c){for(f=o[c],a=0;a!=f.length&&61!==f.charCodeAt(a);++a);for(u=f.slice(0,a).trim();32==f.charCodeAt(a+1);)++a;for(h=34==(i=f.charCodeAt(a+1))||39==i?1:0,l=f.slice(a+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("_"))),r[u]=l,n||(r[u.toLowerCase()]=l);else{var d=(5===s&&"xmlns"===u.slice(0,5)?"xmlns":"")+u.slice(s+1);if(r[d]&&"ext"==u.slice(s-3,s))continue;r[d]=l,n||(r[d.toLowerCase()]=l)}}return r}function we(e){return e.replace(be,"<$1")}var Se={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},xe=M(Se),Ee=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,t=/_x([\da-fA-F]{4})_/gi;return function n(r){var i=r+"",a=i.indexOf("<![CDATA[");if(-1==a)return i.replace(e,(function(e,t){return Se[e]||String.fromCharCode(parseInt(t,e.indexOf("x")>-1?16:10))||e})).replace(t,(function(e,t){return String.fromCharCode(parseInt(t,16))}));var o=i.indexOf("]]>");return n(i.slice(0,a))+i.slice(a+9,o)+n(i.slice(o+3))}}(),_e=/[&<>'"]/g,Ae=/[\u0000-\u0008\u000b-\u001f]/g;function Ce(e){return(e+"").replace(_e,(function(e){return xe[e]})).replace(Ae,(function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"}))}function ke(e){return Ce(e).replace(/ /g,"_x0020_")}var Te=/[\u0000-\u001f]/g;function Re(e){return(e+"").replace(_e,(function(e){return xe[e]})).replace(/\n/g,"<br/>").replace(Te,(function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}var Ne=function(){var e=/&#(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(n){return n.replace(e,t)}}(),Ie=function(e){return e.replace(/(\r\n|[\r\n])/g,"&#10;")};function Be(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}var Oe=function(e){for(var t="",n=0,r=0,i=0,a=0,o=0,s=0;n<e.length;)(r=e.charCodeAt(n++))<128?t+=String.fromCharCode(r):(i=e.charCodeAt(n++),r>191&&r<224?(o=(31&r)<<6,o|=63&i,t+=String.fromCharCode(o)):(a=e.charCodeAt(n++),r<240?t+=String.fromCharCode((15&r)<<12|(63&i)<<6|63&a):(s=((7&r)<<18|(63&i)<<12|(63&a)<<6|63&(o=e.charCodeAt(n++)))-65536,t+=String.fromCharCode(55296+(s>>>10&1023)),t+=String.fromCharCode(56320+(1023&s)))));return t},Pe=function(e){for(var t=[],n=0,r=0,i=0;n<e.length;)switch(r=e.charCodeAt(n++),!0){case r<128:t.push(String.fromCharCode(r));break;case r<2048:t.push(String.fromCharCode(192+(r>>6))),t.push(String.fromCharCode(128+(63&r)));break;case r>=55296&&r<57344:r-=55296,i=e.charCodeAt(n++)-56320+(r<<10),t.push(String.fromCharCode(240+(i>>18&7))),t.push(String.fromCharCode(144+(i>>12&63))),t.push(String.fromCharCode(128+(i>>6&63))),t.push(String.fromCharCode(128+(63&i)));break;default:t.push(String.fromCharCode(224+(r>>12))),t.push(String.fromCharCode(128+(r>>6&63))),t.push(String.fromCharCode(128+(63&r)))}return t.join("")};if(p){var Le=function(e){var t,n,r,i=Buffer.alloc(2*e.length),a=1,o=0,s=0;for(n=0;n<e.length;n+=a)a=1,(r=e.charCodeAt(n))<128?t=r:r<224?(t=64*(31&r)+(63&e.charCodeAt(n+1)),a=2):r<240?(t=4096*(15&r)+64*(63&e.charCodeAt(n+1))+(63&e.charCodeAt(n+2)),a=3):(a=4,t=262144*(7&r)+4096*(63&e.charCodeAt(n+1))+64*(63&e.charCodeAt(n+2))+(63&e.charCodeAt(n+3)),s=55296+((t-=65536)>>>10&1023),t=56320+(1023&t)),0!==s&&(i[o++]=255&s,i[o++]=s>>>8,s=0),i[o++]=t%256,i[o++]=t>>>8;return i.slice(0,o).toString("ucs2")},Fe="foo bar baz☃🍣";Oe(Fe)==Le(Fe)&&(Oe=Le);var De=function(e){return g(e,"binary").toString("utf8")};Oe(Fe)==De(Fe)&&(Oe=De),Pe=function(e){return g(e,"utf8").toString("binary")}}var Me=function(){var e={};return function(t,n){var r=t+"|"+(n||"");return e[r]?e[r]:e[r]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+t+">",n||"")}}(),je=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]}));return function(t){for(var n=t.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,""),r=0;r<e.length;++r)n=n.replace(e[r][0],e[r][1]);return n}}(),We=function(){var e={};return function(t){return void 0!==e[t]?e[t]:e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}(),Ue=/<\/?(?:vt:)?variant>/g,ze=/<(?:vt:)([^>]*)>([\s\S]*)</;function He(e,t){var n=ye(e),r=e.match(We(n.baseType))||[],i=[];if(r.length!=n.size){if(t.WTF)throw new Error("unexpected vector length "+r.length+" != "+n.size);return i}return r.forEach((function(e){var t=e.replace(Ue,"").match(ze);t&&i.push({v:Oe(t[2]),t:t[1]})})),i}var Ve=/(^\s|\s$|\n)/;function qe(e,t){return"<"+e+(t.match(Ve)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function Ge(e){return F(e).map((function(t){return" "+t+'="'+e[t]+'"'})).join("")}function Xe(e,t,n){return"<"+e+(null!=n?Ge(n):"")+(null!=t?(t.match(Ve)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function $e(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(e){if(t)throw e}return""}var Ye={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",main:["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"]},Ke="urn:schemas-microsoft-com:office:office",Je="urn:schemas-microsoft-com:office:excel",Ze="urn:schemas-microsoft-com:office:spreadsheet",Qe="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",et="http://macVmlSchemaUri",tt="urn:schemas-microsoft-com:vml",nt="http://www.w3.org/TR/REC-html40";var rt,it,at=function(e){for(var t=[],n=0;n<e[0].length;++n)if(e[0][n])for(var r=0,i=e[0][n].length;r<i;r+=10240)t.push.apply(t,e[0][n].slice(r,r+10240));return t},ot=at,st=function(e,t,n){for(var r=[],i=t;i<n;i+=2)r.push(String.fromCharCode(At(e,i)));return r.join("").replace(_,"")},lt=st,ct=function(e,t,n){for(var r=[],i=t;i<t+n;++i)r.push(("0"+e[i].toString(16)).slice(-2));return r.join("")},ut=ct,ft=function(e,t,n){for(var r=[],i=t;i<n;i++)r.push(String.fromCharCode(_t(e,i)));return r.join("")},ht=ft,dt=function(e,t){var n=kt(e,t);return n>0?ft(e,t+4,t+4+n-1):""},pt=dt,gt=function(e,t){var n=kt(e,t);return n>0?ft(e,t+4,t+4+n-1):""},mt=gt,vt=function(e,t){var n=2*kt(e,t);return n>0?ft(e,t+4,t+4+n-1):""},bt=vt;rt=it=function(e,t){var n=kt(e,t);return n>0?st(e,t+4,t+4+n):""};var yt,wt,St=function(e,t){var n=kt(e,t);return n>0?ft(e,t+4,t+4+n):""},xt=St;yt=wt=function(e,t){return function(e,t){for(var n=1-2*(e[t+7]>>>7),r=((127&e[t+7])<<4)+(e[t+6]>>>4&15),i=15&e[t+6],a=5;a>=0;--a)i=256*i+e[t+a];return 2047==r?0==i?n*(1/0):NaN:(0==r?r=-1022:(r-=1023,i+=Math.pow(2,52)),n*Math.pow(2,r-52)*i)}(e,t)};var Et=function(e){return Array.isArray(e)};p&&(st=function(e,t,n){return Buffer.isBuffer(e)?e.toString("utf16le",t,n).replace(_,""):lt(e,t,n)},ct=function(e,t,n){return Buffer.isBuffer(e)?e.toString("hex",t,t+n):ut(e,t,n)},dt=function(e,t){if(!Buffer.isBuffer(e))return pt(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},gt=function(e,t){if(!Buffer.isBuffer(e))return mt(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},vt=function(e,t){if(!Buffer.isBuffer(e))return bt(e,t);var n=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n-1)},rt=function(e,t){if(!Buffer.isBuffer(e))return it(e,t);var n=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n)},St=function(e,t){if(!Buffer.isBuffer(e))return xt(e,t);var n=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+n)},ft=function(e,t,n){return Buffer.isBuffer(e)?e.toString("utf8",t,n):ht(e,t,n)},at=function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0]):ot(e)},E=function(e){return Buffer.isBuffer(e[0])?Buffer.concat(e):[].concat.apply([],e)},yt=function(e,t){return Buffer.isBuffer(e)?e.readDoubleLE(t):wt(e,t)},Et=function(e){return Buffer.isBuffer(e)||Array.isArray(e)}),"undefined"!=typeof cptable&&(st=function(e,t,n){return cptable.utils.decode(1200,e.slice(t,n)).replace(_,"")},ft=function(e,t,n){return cptable.utils.decode(65001,e.slice(t,n))},dt=function(e,t){var r=kt(e,t);return r>0?cptable.utils.decode(n,e.slice(t+4,t+4+r-1)):""},gt=function(e,n){var r=kt(e,n);return r>0?cptable.utils.decode(t,e.slice(n+4,n+4+r-1)):""},vt=function(e,t){var n=2*kt(e,t);return n>0?cptable.utils.decode(1200,e.slice(t+4,t+4+n-1)):""},rt=function(e,t){var n=kt(e,t);return n>0?cptable.utils.decode(1200,e.slice(t+4,t+4+n)):""},St=function(e,t){var n=kt(e,t);return n>0?cptable.utils.decode(65001,e.slice(t+4,t+4+n)):""});var _t=function(e,t){return e[t]},At=function(e,t){return 256*e[t+1]+e[t]},Ct=function(e,t){var n=256*e[t+1]+e[t];return n<32768?n:-1*(65535-n+1)},kt=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Tt=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},Rt=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Nt(e,n){var r,i,a,o,s,l,c="",u=[];switch(n){case"dbcs":if(l=this.l,p&&Buffer.isBuffer(this))c=this.slice(this.l,this.l+2*e).toString("utf16le");else for(s=0;s<e;++s)c+=String.fromCharCode(At(this,l)),l+=2;e*=2;break;case"utf8":c=ft(this,this.l,this.l+e);break;case"utf16le":e*=2,c=st(this,this.l,this.l+e);break;case"wstr":if("undefined"==typeof cptable)return Nt.call(this,e,"dbcs");c=cptable.utils.decode(t,this.slice(this.l,this.l+2*e)),e*=2;break;case"lpstr-ansi":c=dt(this,this.l),e=4+kt(this,this.l);break;case"lpstr-cp":c=gt(this,this.l),e=4+kt(this,this.l);break;case"lpwstr":c=vt(this,this.l),e=4+2*kt(this,this.l);break;case"lpp4":e=4+kt(this,this.l),c=rt(this,this.l),2&e&&(e+=2);break;case"8lpp4":e=4+kt(this,this.l),c=St(this,this.l),3&e&&(e+=4-(3&e));break;case"cstr":for(e=0,c="";0!==(a=_t(this,this.l+e++));)u.push(f(a));c=u.join("");break;case"_wstr":for(e=0,c="";0!==(a=At(this,this.l+e));)u.push(f(a)),e+=2;e+=2,c=u.join("");break;case"dbcs-cont":for(c="",l=this.l,s=0;s<e;++s){if(this.lens&&-1!==this.lens.indexOf(l))return a=_t(this,l),this.l=l+1,o=Nt.call(this,e-s,a?"dbcs-cont":"sbcs-cont"),u.join("")+o;u.push(f(At(this,l))),l+=2}c=u.join(""),e*=2;break;case"cpstr":if("undefined"!=typeof cptable){c=cptable.utils.decode(t,this.slice(this.l,this.l+e));break}case"sbcs-cont":for(c="",l=this.l,s=0;s!=e;++s){if(this.lens&&-1!==this.lens.indexOf(l))return a=_t(this,l),this.l=l+1,o=Nt.call(this,e-s,a?"dbcs-cont":"sbcs-cont"),u.join("")+o;u.push(f(_t(this,l))),l+=1}c=u.join("");break;default:switch(e){case 1:return r=_t(this,this.l),this.l++,r;case 2:return r=("i"===n?Ct:At)(this,this.l),this.l+=2,r;case 4:case-4:return"i"===n||0==(128&this[this.l+3])?(r=(e>0?Tt:Rt)(this,this.l),this.l+=4,r):(i=kt(this,this.l),this.l+=4,i);case 8:case-8:if("f"===n)return i=8==e?yt(this,this.l):yt([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,i;e=8;case 16:c=ct(this,this.l,e)}}return this.l+=e,c}var It=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255};function Bt(e,t,r){var i=0,a=0;if("dbcs"===r){for(a=0;a!=t.length;++a)It(this,t.charCodeAt(a),this.l+2*a);i=2*t.length}else if("sbcs"===r){if("undefined"!=typeof cptable&&874==n)for(a=0;a!=t.length;++a){var o=cptable.utils.encode(n,t.charAt(a));this[this.l+a]=o[0]}else for(t=t.replace(/[^\x00-\x7F]/g,"_"),a=0;a!=t.length;++a)this[this.l+a]=255&t.charCodeAt(a);i=t.length}else{if("hex"===r){for(;a<e;++a)this[this.l++]=parseInt(t.slice(2*a,2*a+2),16)||0;return this}if("utf16le"===r){var s=Math.min(this.l+e,this.length);for(a=0;a<Math.min(t.length,e);++a){var l=t.charCodeAt(a);this[this.l++]=255&l,this[this.l++]=l>>8}for(;this.l<s;)this[this.l++]=0;return this}switch(e){case 1:i=1,this[this.l]=255&t;break;case 2:i=2,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t;break;case 3:i=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:i=4,function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255,e[n+2]=t>>>16&255,e[n+3]=t>>>24&255}(this,t,this.l);break;case 8:if(i=8,"f"===r){!function(e,t,n){var r=(t<0||1/t==-1/0?1:0)<<7,i=0,a=0,o=r?-t:t;isFinite(o)?0==o?i=a=0:(i=Math.floor(Math.log(o)/Math.LN2),a=o*Math.pow(2,52-i),i<=-1023&&(!isFinite(a)||a<Math.pow(2,52))?i=-1022:(a-=Math.pow(2,52),i+=1023)):(i=2047,a=isNaN(t)?26985:0);for(var s=0;s<=5;++s,a/=256)e[n+s]=255&a;e[n+6]=(15&i)<<4|15&a,e[n+7]=i>>4|r}(this,t,this.l);break}case 16:break;case-4:i=4,function(e,t,n){e[n]=255&t,e[n+1]=t>>8&255,e[n+2]=t>>16&255,e[n+3]=t>>24&255}(this,t,this.l)}}return this.l+=i,this}function Ot(e,t){var n=ct(this,this.l,e.length>>1);if(n!==e)throw new Error(t+"Expected "+e+" saw "+n);this.l+=e.length>>1}function Pt(e,t){e.l=t,e._R=Nt,e.chk=Ot,e._W=Bt}function Lt(e,t){e.l+=t}function Ft(e){var t=v(e);return Pt(t,0),t}function Dt(e,t,n){if(e){var r,i,a;Pt(e,e.l||0);for(var o=e.length,s=0,l=0;e.l<o;){128&(s=e._R(1))&&(s=(127&s)+((127&e._R(1))<<7));var c=uc[s]||uc[65535];for(a=127&(r=e._R(1)),i=1;i<4&&128&r;++i)a+=(127&(r=e._R(1)))<<7*i;l=e.l+a;var u=c.f&&c.f(e,a,n);if(e.l=l,t(u,c.n,s))return}}}function Mt(){var e=[],t=p?256:2048,n=function(e){var t=Ft(e);return Pt(t,0),t},r=n(t),i=function(){r&&(r.length>r.l&&((r=r.slice(0,r.l)).l=r.length),r.length>0&&e.push(r),r=null)},a=function(e){return r&&e<r.length-r.l?r:(i(),r=n(Math.max(e+1,t)))};return{next:a,push:function(e){i(),null==(r=e).l&&(r.l=r.length),a(t)},end:function(){return i(),at([e])},_bufs:e}}function jt(e,t,n,r){var i,a=+fc[t];if(!isNaN(a)){r||(r=uc[a].p||(n||[]).length||0),i=1+(a>=128?1:0)+1,r>=128&&++i,r>=16384&&++i,r>=2097152&&++i;var o=e.next(i);a<=127?o._W(1,a):(o._W(1,128+(127&a)),o._W(1,a>>7));for(var s=0;4!=s;++s){if(!(r>=128)){o._W(1,r);break}o._W(1,128+(127&r)),r>>=7}r>0&&Et(n)&&e.push(n)}}function Wt(e,t,n){var r=Z(e);if(t.s?(r.cRel&&(r.c+=t.s.c),r.rRel&&(r.r+=t.s.r)):(r.cRel&&(r.c+=t.c),r.rRel&&(r.r+=t.r)),!n||n.biff<12){for(;r.c>=256;)r.c-=256;for(;r.r>=65536;)r.r-=65536}return r}function Ut(e,t,n){var r=Z(e);return r.s=Wt(r.s,t.s,n),r.e=Wt(r.e,t.s,n),r}function zt(e,t){if(e.cRel&&e.c<0)for(e=Z(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=Z(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var n=Yt(e);return e.cRel||null==e.cRel||(n=function(e){return e.replace(/^([A-Z])/,"$$$1")}(n)),e.rRel||null==e.rRel||(n=function(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(n)),n}function Ht(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?zt(e.s,t.biff)+":"+zt(e.e,t.biff):(e.s.rRel?"":"$")+qt(e.s.r)+":"+(e.e.rRel?"":"$")+qt(e.e.r):(e.s.cRel?"":"$")+Xt(e.s.c)+":"+(e.e.cRel?"":"$")+Xt(e.e.c)}function Vt(e){return parseInt(function(e){return e.replace(/\$(\d+)$/,"$1")}(e),10)-1}function qt(e){return""+(e+1)}function Gt(e){for(var t=function(e){return e.replace(/^\$([A-Z])/,"$1")}(e),n=0,r=0;r!==t.length;++r)n=26*n+t.charCodeAt(r)-64;return n-1}function Xt(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function $t(e){for(var t=0,n=0,r=0;r<e.length;++r){var i=e.charCodeAt(r);i>=48&&i<=57?t=10*t+(i-48):i>=65&&i<=90&&(n=26*n+(i-64))}return{c:n-1,r:t-1}}function Yt(e){for(var t=e.c+1,n="";t;t=(t-1)/26|0)n=String.fromCharCode((t-1)%26+65)+n;return n+(e.r+1)}function Kt(e){var t=e.indexOf(":");return-1==t?{s:$t(e),e:$t(e)}:{s:$t(e.slice(0,t)),e:$t(e.slice(t+1))}}function Jt(e,t){return void 0===t||"number"==typeof t?Jt(e.s,e.e):("string"!=typeof e&&(e=Yt(e)),"string"!=typeof t&&(t=Yt(t)),e==t?e:e+":"+t)}function Zt(e){var t={s:{c:0,r:0},e:{c:0,r:0}},n=0,r=0,i=0,a=e.length;for(n=0;r<a&&!((i=e.charCodeAt(r)-64)<1||i>26);++r)n=26*n+i;for(t.s.c=--n,n=0;r<a&&!((i=e.charCodeAt(r)-48)<0||i>9);++r)n=10*n+i;if(t.s.r=--n,r===a||58===e.charCodeAt(++r))return t.e.c=t.s.c,t.e.r=t.s.r,t;for(n=0;r!=a&&!((i=e.charCodeAt(r)-64)<1||i>26);++r)n=26*n+i;for(t.e.c=--n,n=0;r!=a&&!((i=e.charCodeAt(r)-48)<0||i>9);++r)n=10*n+i;return t.e.r=--n,t}function Qt(e,t){var n="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=C.format(e.z,n?U(t):t)}catch(e){}try{return e.w=C.format((e.XF||{}).numFmtId||(n?14:0),n?U(t):t)}catch(e){return""+t}}function en(e,t,n){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&n&&n.dateNF&&(e.z=n.dateNF),"e"==e.t?zn[e.v]||e.v:Qt(e,null==t?e.v:t))}function tn(e,t){var n=t&&t.sheet?t.sheet:"Sheet1",r={};return r[n]=e,{SheetNames:[n],Sheets:r}}function nn(e,t,n){var r=n||{},i=e?Array.isArray(e):r.dense;var a=e||(i?[]:{}),o=0,s=0;if(a&&null!=r.origin){if("number"==typeof r.origin)o=r.origin;else{var l="string"==typeof r.origin?$t(r.origin):r.origin;o=l.r,s=l.c}a["!ref"]||(a["!ref"]="A1:A1")}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(a["!ref"]){var u=Zt(a["!ref"]);c.s.c=u.s.c,c.s.r=u.s.r,c.e.c=Math.max(c.e.c,u.e.c),c.e.r=Math.max(c.e.r,u.e.r),-1==o&&(c.e.r=o=u.e.r+1)}for(var f=0;f!=t.length;++f)if(t[f]){if(!Array.isArray(t[f]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=t[f].length;++h)if(void 0!==t[f][h]){var d={v:t[f][h]},p=o+f,g=s+h;if(c.s.r>p&&(c.s.r=p),c.s.c>g&&(c.s.c=g),c.e.r<p&&(c.e.r=p),c.e.c<g&&(c.e.c=g),!t[f][h]||"object"!=typeof t[f][h]||Array.isArray(t[f][h])||t[f][h]instanceof Date)if(Array.isArray(d.v)&&(d.f=t[f][h][1],d.v=d.v[0]),null===d.v)if(d.f)d.t="n";else if(r.nullError)d.t="e",d.v=0;else{if(!r.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=r.dateNF||C._table[14],r.cellDates?(d.t="d",d.w=C.format(d.z,U(d.v))):(d.t="n",d.v=U(d.v),d.w=C.format(d.z,d.v))):d.t="s";else d=t[f][h];if(i)a[p]||(a[p]=[]),a[p][g]&&a[p][g].z&&(d.z=a[p][g].z),a[p][g]=d;else{var m=Yt({c:g,r:p});a[m]&&a[m].z&&(d.z=a[m].z),a[m]=d}}}return c.s.c<1e7&&(a["!ref"]=Jt(c)),a}function rn(e,t){return nn(null,e,t)}function an(e,t){return t||(t=Ft(4)),t._W(4,e),t}function on(e){var t=e._R(4);return 0===t?"":e._R(t,"dbcs")}function sn(e,t){var n=!1;return null==t&&(n=!0,t=Ft(4+2*e.length)),t._W(4,e.length),e.length>0&&t._W(0,e,"dbcs"),n?t.slice(0,t.l):t}function ln(e){return{ich:e._R(2),ifnt:e._R(2)}}function cn(e,t){var n=e.l,r=e._R(1),i=on(e),a=[],o={t:i,h:i};if(0!=(1&r)){for(var s=e._R(4),l=0;l!=s;++l)a.push(ln(e));o.r=a}else o.r=[{ich:0,ifnt:0}];return e.l=n+t,o}!function(e,t){var n;if(void 0!==t)n=t;else if("undefined"!=typeof require)try{n=void 0}catch(e){n=null}e.rc4=function(e,t){var n=new Array(256),r=0,i=0,a=0,o=0;for(i=0;256!=i;++i)n[i]=i;for(i=0;256!=i;++i)a=a+n[i]+e[i%e.length].charCodeAt(0)&255,o=n[i],n[i]=n[a],n[a]=o;i=a=0;var s=v(t.length);for(r=0;r!=t.length;++r)a=(a+n[i=i+1&255])%256,o=n[i],n[i]=n[a],n[a]=o,s[r]=t[r]^n[n[i]+n[a]&255];return s},e.md5=function(e){if(!n)throw new Error("Unsupported crypto");return n.createHash("md5").update(e).digest("hex")}}({},"undefined"!=typeof crypto?crypto:void 0);var un=cn;function fn(e,t){var n=!1;return null==t&&(n=!0,t=Ft(23+4*e.t.length)),t._W(1,1),sn(e.t,t),t._W(4,1),function(e,t){t||(t=Ft(4)),t._W(2,e.ich||0),t._W(2,e.ifnt||0)}({ich:0,ifnt:0},t),n?t.slice(0,t.l):t}function hn(e){var t=e._R(4),n=e._R(2);return n+=e._R(1)<<16,e.l++,{c:t,iStyleRef:n}}function dn(e,t){return null==t&&(t=Ft(8)),t._W(-4,e.c),t._W(3,e.iStyleRef||e.s),t._W(1,0),t}function pn(e){var t=e._R(2);return t+=e._R(1)<<16,e.l++,{c:-1,iStyleRef:t}}function gn(e,t){return null==t&&(t=Ft(4)),t._W(3,e.iStyleRef||e.s),t._W(1,0),t}var mn=on,vn=sn;function bn(e){var t=e._R(4);return 0===t||4294967295===t?"":e._R(t,"dbcs")}function yn(e,t){var n=!1;return null==t&&(n=!0,t=Ft(127)),t._W(4,e.length>0?e.length:4294967295),e.length>0&&t._W(0,e,"dbcs"),n?t.slice(0,t.l):t}var wn=on,Sn=bn,xn=yn;function En(e){var t=e.slice(e.l,e.l+4),n=1&t[0],r=2&t[0];e.l+=4,t[0]&=252;var i=0===r?yt([0,0,0,0,t[0],t[1],t[2],t[3]],0):Tt(t,0)>>2;return n?i/100:i}function _n(e,t){null==t&&(t=Ft(4));var n=0,r=0,i=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?r=1:i==(0|i)&&i>=-(1<<29)&&i<1<<29&&(r=1,n=1),!r)throw new Error("unsupported RkNumber "+e);t._W(-4,((n?i:e)<<2)+(n+2))}function An(e){var t={s:{},e:{}};return t.s.r=e._R(4),t.e.r=e._R(4),t.s.c=e._R(4),t.e.c=e._R(4),t}var Cn=An,kn=function(e,t){return t||(t=Ft(16)),t._W(4,e.s.r),t._W(4,e.e.r),t._W(4,e.s.c),t._W(4,e.e.c),t};function Tn(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e._R(8,"f")}function Rn(e,t){return(t||Ft(8))._W(8,e,"f")}function Nn(e,t){if(t||(t=Ft(8)),!e||e.auto)return t._W(4,0),t._W(4,0),t;null!=e.index?(t._W(1,2),t._W(1,e.index)):null!=e.theme?(t._W(1,6),t._W(1,e.theme)):(t._W(1,5),t._W(1,0));var n=e.tint||0;if(n>0?n*=32767:n<0&&(n*=32768),t._W(2,n),e.rgb&&null==e.theme){var r=e.rgb||"FFFFFF";"number"==typeof r&&(r=("000000"+r.toString(16)).slice(-6)),t._W(1,parseInt(r.slice(0,2),16)),t._W(1,parseInt(r.slice(2,4),16)),t._W(1,parseInt(r.slice(4,6),16)),t._W(1,255)}else t._W(2,0),t._W(1,0),t._W(1,0);return t}function In(e,t){var n=e._R(4);switch(n){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[e._R(4)]||""}if(n>400)throw new Error("Unsupported Clipboard: "+n.toString(16));return e.l-=4,e._R(0,1==t?"lpstr":"lpwstr")}var Bn=80,On=[Bn,81],Pn={1:{n:"CodePage",t:2},2:{n:"Category",t:Bn},3:{n:"PresentationFormat",t:Bn},4:{n:"ByteCount",t:3},5:{n:"LineCount",t:3},6:{n:"ParagraphCount",t:3},7:{n:"SlideCount",t:3},8:{n:"NoteCount",t:3},9:{n:"HiddenCount",t:3},10:{n:"MultimediaClipCount",t:3},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:Bn},15:{n:"Company",t:Bn},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:3},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:3,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:Bn},27:{n:"ContentStatus",t:Bn},28:{n:"Language",t:Bn},29:{n:"Version",t:Bn},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Ln={1:{n:"CodePage",t:2},2:{n:"Title",t:Bn},3:{n:"Subject",t:Bn},4:{n:"Author",t:Bn},5:{n:"Keywords",t:Bn},6:{n:"Comments",t:Bn},7:{n:"Template",t:Bn},8:{n:"LastAuthor",t:Bn},9:{n:"RevNumber",t:Bn},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:3},15:{n:"WordCount",t:3},16:{n:"CharCount",t:3},17:{n:"Thumbnail",t:71},18:{n:"Application",t:Bn},19:{n:"DocSecurity",t:3},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Fn=D(Pn,"n"),Dn=D(Ln,"n"),Mn={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 Wn=function(e){return e.map((function(e){return[e>>16&255,e>>8&255,255&e]}))}([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]),Un=Z(Wn),zn={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Hn=j(zn),Vn={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","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.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.sheetMetadata":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"TODO","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":"vba","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"},qn=function(){var e={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"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};return F(e).forEach((function(t){["xlsm","xlam"].forEach((function(n){e[t][n]||(e[t][n]=e[t].xlsx)}))})),F(e).forEach((function(t){F(e[t]).forEach((function(n){Vn[e[t][n]]=t}))})),e}(),Gn=function(e){for(var t=[],n=F(e),r=0;r!==n.length;++r)null==t[e[n[r]]]&&(t[e[n[r]]]=[]),t[e[n[r]]].push(n[r]);return t}(Vn);Ye.CT="http://schemas.openxmlformats.org/package/2006/content-types";var Xn=Xe("Types",null,{xmlns:Ye.CT,"xmlns:xsd":Ye.xsd,"xmlns:xsi":Ye.xsi}),$n=[["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",Gn.rels[0]]].map((function(e){return Xe("Default",null,{Extension:e[0],ContentType:e[1]})}));var Yn={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",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function Kn(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function Jn(e,t){var n={"!id":{}};if(!e)return n;"/"!==t.charAt(0)&&(t="/"+t);var r={};return(e.match(me)||[]).forEach((function(e){var i=ye(e);if("<Relationship"===i[0]){var a={};a.Type=i.Type,a.Target=i.Target,a.Id=i.Id,a.TargetMode=i.TargetMode;var o="External"===i.TargetMode?i.Target:de(i.Target,t);n[o]=a,r[i.Id]=a}})),n["!id"]=r,n}Ye.RELS="http://schemas.openxmlformats.org/package/2006/relationships";var Zn=Xe("Relationships",null,{xmlns:Ye.RELS});function Qn(e){var t=[pe,Zn];return F(e["!id"]).forEach((function(n){t[t.length]=Xe("Relationship",null,e["!id"][n])})),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}var er=[Yn.HLINK,Yn.XPATH,Yn.XMISS];function tr(e,t,n,r,i,a){if(i||(i={}),e["!id"]||(e["!id"]={}),t<0)for(t=1;e["!id"]["rId"+t];++t);if(i.Id="rId"+t,i.Type=r,i.Target=n,a?i.TargetMode=a:er.indexOf(i.Type)>-1&&(i.TargetMode="External"),e["!id"][i.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][i.Id]=i,e[("/"+i.Target).replace("//","/")]=i,t}function nr(e,t,n){return[' <rdf:Description rdf:about="'+e+'">\n',' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(n||"odf")+"#"+t+'"/>\n'," </rdf:Description>\n"].join("")}function rr(e,t){return[' <rdf:Description rdf:about="'+e+'">\n',' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+t+'"/>\n'," </rdf:Description>\n"].join("")}var ir=function(){var t='<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 '+e.version+"</meta:generator></office:meta></office:document-meta>";return function(){return t}}(),ar=[["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"]];Ye.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",Yn.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";var or=function(){for(var e=new Array(ar.length),t=0;t<ar.length;++t){var n=ar[t],r="(?:"+n[0].slice(0,n[0].indexOf(":"))+":)"+n[0].slice(n[0].indexOf(":")+1);e[t]=new RegExp("<"+r+"[^>]*>([\\s\\S]*?)</"+r+">")}return e}();function sr(e){var t={};e=Oe(e);for(var n=0;n<ar.length;++n){var r=ar[n],i=e.match(or[n]);null!=i&&i.length>0&&(t[r[1]]=Ee(i[1])),"date"===r[2]&&t[r[1]]&&(t[r[1]]=K(t[r[1]]))}return t}var lr=Xe("cp:coreProperties",null,{"xmlns:cp":Ye.CORE_PROPS,"xmlns:dc":Ye.dc,"xmlns:dcterms":Ye.dcterms,"xmlns:dcmitype":Ye.dcmitype,"xmlns:xsi":Ye.xsi});function cr(e,t,n,r,i){null==i[e]&&null!=t&&""!==t&&(i[e]=t,t=Ce(t),r[r.length]=n?Xe(e,t,n):qe(e,t))}var ur=[["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"]];Ye.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",Yn.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";function fr(e,t,n,r){var i=[];if("string"==typeof e)i=He(e,r);else for(var a=0;a<e.length;++a)i=i.concat(e[a].map((function(e){return{v:e}})));var o="string"==typeof t?He(t,r).map((function(e){return e.v})):t,s=0,l=0;if(o.length>0)for(var c=0;c!==i.length;c+=2){switch(l=+i[c+1].v,i[c].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":n.Worksheets=l,n.SheetNames=o.slice(s,s+l);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":n.NamedRanges=l,n.DefinedNames=o.slice(s,s+l);break;case"Charts":case"Diagramme":n.Chartsheets=l,n.ChartNames=o.slice(s,s+l)}s+=l}}var hr=Xe("Properties",null,{xmlns:Ye.EXT_PROPS,"xmlns:vt":Ye.vt});Ye.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",Yn.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var dr=/<[^>]+>[^<]*/g;var pr=Xe("Properties",null,{xmlns:Ye.CUST_PROPS,"xmlns:vt":Ye.vt});function gr(e){var t=[pe,pr];if(!e)return t.join("");var n=1;return F(e).forEach((function(r){++n,t[t.length]=Xe("property",function(e,t){switch(typeof e){case"string":var n=Xe("vt:lpwstr",Ce(e));return t&&(n=n.replace(/&quot;/g,"_x0022_")),n;case"number":return Xe((0|e)==e?"vt:i4":"vt:r8",Ce(String(e)));case"boolean":return Xe("vt:bool",e?"true":"false")}if(e instanceof Date)return Xe("vt:filetime",$e(e));throw new Error("Unable to serialize "+e)}(e[r],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:n,name:Ce(r)})})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var mr={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"},vr=M(mr);function br(e,t,n){e[t=vr[t]||t]=n}function yr(e){var t=e._R(4),n=e._R(4);return new Date(1e3*(n/1e7*Math.pow(2,32)+t/1e7-11644473600)).toISOString().replace(/\.000/,"")}function wr(e,t,n){var r=e.l,i=e._R(0,"lpstr-cp");if(n)for(;e.l-r&3;)++e.l;return i}function Sr(e,t,n){var r=e._R(0,"lpwstr");return n&&(e.l+=4-(r.length+1&3)&3),r}function xr(e,t,n){return 31===t?Sr(e):wr(e,0,n)}function Er(e,t,n){return xr(e,t,!1===n?0:4)}function _r(e){var t=e.l,n=kr(e,81);return 0==e[e.l]&&0==e[e.l+1]&&e.l-t&2&&(e.l+=2),[n,kr(e,3)]}function Ar(e,t){for(var n=e._R(4),r={},i=0;i!=n;++i){var a=e._R(4),o=e._R(4);r[a]=e._R(o,1200===t?"utf16le":"utf8").replace(_,"").replace(A,"!"),1200===t&&o%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),r}function Cr(e){var t=e._R(4),n=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),n}function kr(e,t,n){var r,i=e._R(2),a=n||{};if(e.l+=2,12!==t&&i!==t&&-1===On.indexOf(t)&&(4126!=(65534&t)||4126!=(65534&i)))throw new Error("Expected type "+t+" saw "+i);switch(12===t?i:t){case 2:return r=e._R(2,"i"),a.raw||(e.l+=2),r;case 3:return r=e._R(4,"i");case 11:return 0!==e._R(4);case 19:return r=e._R(4);case 30:return wr(e,0,4).replace(_,"");case 31:return Sr(e);case 64:return yr(e);case 65:return Cr(e);case 71:return function(e){var t={};return t.Size=e._R(4),e.l+=t.Size+3-(t.Size-1)%4,t}(e);case 80:return Er(e,i,!a.raw).replace(_,"");case 81:return function(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return xr(e,t,0)}(e,i).replace(_,"");case 4108:return function(e){for(var t=e._R(4),n=[],r=0;r<t/2;++r)n.push(_r(e));return n}(e);case 4126:case 4127:return 4127==i?function(e){for(var t=e._R(4),n=[],r=0;r!=t;++r){var i=e.l;n[r]=e._R(0,"lpwstr").replace(_,""),e.l-i&2&&(e.l+=2)}return n}(e):function(e){for(var t=e._R(4),n=[],r=0;r!=t;++r)n[r]=e._R(0,"lpstr-cp").replace(_,"");return n}(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+i)}}function Tr(e,t){var n=Ft(4),r=Ft(4);switch(n._W(4,80==e?31:e),e){case 3:r._W(-4,t);break;case 5:(r=Ft(8))._W(8,t,"f");break;case 11:r._W(4,t?1:0);break;case 64:r=function(e){var t=("string"==typeof e?new Date(Date.parse(e)):e).getTime()/1e3+11644473600,n=t%Math.pow(2,32),r=(t-n)/Math.pow(2,32);r*=1e7;var i=(n*=1e7)/Math.pow(2,32)|0;i>0&&(n%=Math.pow(2,32),r+=i);var a=Ft(8);return a._W(4,n),a._W(4,r),a}(t);break;case 31:case 80:for((r=Ft(4+2*(t.length+1)+(t.length%2?0:2)))._W(4,t.length+1),r._W(0,t,"dbcs");r.l!=r.length;)r._W(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return E([n,r])}function Rr(e,t){var n=e.l,r=e._R(4),i=e._R(4),a=[],o=0,l=0,c=-1,u={};for(o=0;o!=i;++o){var f=e._R(4),h=e._R(4);a[o]=[f,h+n]}a.sort((function(e,t){return e[1]-t[1]}));var d={};for(o=0;o!=i;++o){if(e.l!==a[o][1]){var p=!0;if(o>0&&t)switch(t[a[o-1][0]].t){case 2:e.l+2===a[o][1]&&(e.l+=2,p=!1);break;case 80:case 4108:e.l<=a[o][1]&&(e.l=a[o][1],p=!1)}if((!t||0==o)&&e.l<=a[o][1]&&(p=!1,e.l=a[o][1]),p)throw new Error("Read Error: Expected address "+a[o][1]+" at "+e.l+" :"+o)}if(t){var g=t[a[o][0]];if(d[g.n]=kr(e,g.t,{raw:!0}),"version"===g.p&&(d[g.n]=String(d[g.n]>>16)+"."+("0000"+String(65535&d[g.n])).slice(-4)),"CodePage"==g.n)switch(d[g.n]){case 0:d[g.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(l=d[g.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[g.n])}}else if(1===a[o][0]){if(l=d.CodePage=kr(e,2),s(l),-1!==c){var m=e.l;e.l=a[c][1],u=Ar(e,l),e.l=m}}else if(0===a[o][0]){if(0===l){c=o,e.l=a[o+1][1];continue}u=Ar(e,l)}else{var v,b=u[a[o][0]];switch(e[e.l]){case 65:e.l+=4,v=Cr(e);break;case 30:case 31:e.l+=4,v=Er(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,v=e._R(4,"i");break;case 19:e.l+=4,v=e._R(4);break;case 5:e.l+=4,v=e._R(8,"f");break;case 11:e.l+=4,v=Fr(e,4);break;case 64:e.l+=4,v=K(yr(e));break;default:throw new Error("unparsed value: "+e[e.l])}d[b]=v}}return e.l=n+r,d}var Nr=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"].concat(["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"]);function Ir(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64}return-1}function Br(e,t,n){var r=Ft(8),i=[],a=[],o=8,s=0,l=Ft(8),c=Ft(8);if(l._W(4,2),l._W(4,1200),c._W(4,1),a.push(l),i.push(c),o+=8+l.length,!t){(c=Ft(8))._W(4,0),i.unshift(c);var u=[Ft(4)];for(u[0]._W(4,e.length),s=0;s<e.length;++s){var f=e[s][0];for((l=Ft(8+2*(f.length+1)+(f.length%2?0:2)))._W(4,s+2),l._W(4,f.length+1),l._W(0,f,"dbcs");l.l!=l.length;)l._W(1,0);u.push(l)}l=E(u),a.unshift(l),o+=8+l.length}for(s=0;s<e.length;++s)if((!t||t[e[s][0]])&&!(Nr.indexOf(e[s][0])>-1)&&null!=e[s][1]){var h=e[s][1],d=0;if(t){var p=n[d=+t[e[s][0]]];if("version"==p.p&&"string"==typeof h){var g=h.split(".");h=(+g[0]<<16)+(+g[1]||0)}l=Tr(p.t,h)}else{var m=Ir(h);-1==m&&(m=31,h=String(h)),l=Tr(m,h)}a.push(l),(c=Ft(8))._W(4,t?d:2+s),i.push(c),o+=8+l.length}var v=8*(a.length+1);for(s=0;s<a.length;++s)i[s]._W(4,v),v+=a[s].length;return r._W(4,o),r._W(4,a.length),E([r].concat(i).concat(a))}function Or(e,t,n){var r=e.content;if(!r)return{};Pt(r,0);var i,a,o,s,l=0;r.chk("feff","Byte Order: "),r._R(2);var c=r._R(4),u=r._R(16);if(u!==O.utils.consts.HEADER_CLSID&&u!==n)throw new Error("Bad PropertySet CLSID "+u);if(1!==(i=r._R(4))&&2!==i)throw new Error("Unrecognized #Sets: "+i);if(a=r._R(16),s=r._R(4),1===i&&s!==r.l)throw new Error("Length mismatch: "+s+" !== "+r.l);2===i&&(o=r._R(16),l=r._R(4));var f,h=Rr(r,t),d={SystemIdentifier:c};for(var p in h)d[p]=h[p];if(d.FMTID=a,1===i)return d;if(l-r.l==2&&(r.l+=2),r.l!==l)throw new Error("Length mismatch 2: "+r.l+" !== "+l);try{f=Rr(r,null)}catch(e){}for(p in f)d[p]=f[p];return d.FMTID=[a,o],d}function Pr(e,t,n,r,i,a){var o=Ft(i?68:48),s=[o];o._W(2,65534),o._W(2,0),o._W(4,842412599),o._W(16,O.utils.consts.HEADER_CLSID,"hex"),o._W(4,i?2:1),o._W(16,t,"hex"),o._W(4,i?68:48);var l=Br(e,n,r);if(s.push(l),i){var c=Br(i,null,null);o._W(16,a,"hex"),o._W(4,68+l.length),s.push(c)}return E(s)}function Lr(e,t){return e._R(t),null}function Fr(e,t){return 1===e._R(t)}function Dr(e,t){return t||(t=Ft(2)),t._W(2,+!!e),t}function Mr(e){return e._R(2,"u")}function jr(e,t){return t||(t=Ft(2)),t._W(2,e),t}function Wr(e,t){return function(e,t,n){for(var r=[],i=e.l+t;e.l<i;)r.push(n(e,i-e.l));if(i!==e.l)throw new Error("Slurp error");return r}(e,t,Mr)}function Ur(e,t,n){return n||(n=Ft(2)),n._W(1,"e"==t?+e:+!!e),n._W(1,"e"==t?1:0),n}function zr(e,n,r){var i=e._R(r&&r.biff>=12?2:1),a="sbcs-cont",o=t;(r&&r.biff>=8&&(t=1200),r&&8!=r.biff)?12==r.biff&&(a="wstr"):e._R(1)&&(a="dbcs-cont");r.biff>=2&&r.biff<=5&&(a="cpstr");var s=i?e._R(i,a):"";return t=o,s}function Hr(e){var n=t;t=1200;var r,i=e._R(2),a=e._R(1),o=4&a,s=8&a,l=1+(1&a),c=0,u={};s&&(c=e._R(2)),o&&(r=e._R(4));var f=2==l?"dbcs-cont":"sbcs-cont",h=0===i?"":e._R(i,f);return s&&(e.l+=4*c),o&&(e.l+=r),u.t=h,s||(u.raw="<t>"+u.t+"</t>",u.r=u.t),t=n,u}function Vr(e){var t=e.t||"",n=Ft(3);n._W(2,t.length),n._W(1,1);var r=Ft(2*t.length);return r._W(2*t.length,t,"utf16le"),E([n,r])}function qr(e,t,n){if(n){if(n.biff>=2&&n.biff<=5)return e._R(t,"cpstr");if(n.biff>=12)return e._R(t,"dbcs-cont")}return 0===e._R(1)?e._R(t,"sbcs-cont"):e._R(t,"dbcs-cont")}function Gr(e,t,n){var r=e._R(n&&2==n.biff?1:2);return 0===r?(e.l++,""):qr(e,r,n)}function Xr(e,t,n){if(n.biff>5)return Gr(e,0,n);var r=e._R(1);return 0===r?(e.l++,""):e._R(r,n.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function $r(e,t,n){return n||(n=Ft(3+2*e.length)),n._W(2,e.length),n._W(1,1),n._W(31,e,"utf16le"),n}function Yr(e,t){var n=e._R(16);switch(16,n){case"e0c9ea79f9bace118c8200aa004ba90b":return function(e){var t=e._R(4),n=e.l,r=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e._R(16)&&(r=!0),e.l=n);var i=e._R((r?t-24:t)>>1,"utf16le").replace(_,"");return r&&(e.l+=24),i}(e);case"0303000000000000c000000000000046":return function(e){for(var t=e._R(2),n="";t-- >0;)n+="../";var r=e._R(0,"lpstr-ansi");if(e.l+=2,57005!=e._R(2))throw new Error("Bad FileMoniker");if(0===e._R(4))return n+r.replace(/\\/g,"/");var i=e._R(4);if(3!=e._R(2))throw new Error("Bad FileMoniker");return n+e._R(i>>1,"utf16le").replace(_,"")}(e);default:throw new Error("Unsupported Moniker "+n)}}function Kr(e){var t=e._R(4);return t>0?e._R(t,"utf16le").replace(_,""):""}function Jr(e,t){t||(t=Ft(6+2*e.length)),t._W(4,1+e.length);for(var n=0;n<e.length;++n)t._W(2,e.charCodeAt(n));return t._W(2,0),t}function Zr(e){var t=Ft(512),n=0,r=e.Target;"file://"==r.slice(0,7)&&(r=r.slice(7));var i=r.indexOf("#"),a=i>-1?31:23;switch(r.charAt(0)){case"#":a=28;break;case".":a&=-3}t._W(4,2),t._W(4,a);var o=[8,6815827,6619237,4849780,83];for(n=0;n<o.length;++n)t._W(4,o[n]);if(28==a)Jr(r=r.slice(1),t);else if(2&a){for(o="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),n=0;n<o.length;++n)t._W(1,parseInt(o[n],16));var s=i>-1?r.slice(0,i):r;for(t._W(4,2*(s.length+1)),n=0;n<s.length;++n)t._W(2,s.charCodeAt(n));t._W(2,0),8&a&&Jr(i>-1?r.slice(i+1):"",t)}else{for(o="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),n=0;n<o.length;++n)t._W(1,parseInt(o[n],16));for(var l=0;"../"==r.slice(3*l,3*l+3)||"..\\"==r.slice(3*l,3*l+3);)++l;for(t._W(2,l),t._W(4,r.length-3*l+1),n=0;n<r.length-3*l;++n)t._W(1,255&r.charCodeAt(n+3*l));for(t._W(1,0),t._W(2,65535),t._W(2,57005),n=0;n<6;++n)t._W(4,0)}return t.slice(0,t.l)}function Qr(e){return[e._R(1),e._R(1),e._R(1),e._R(1)]}function ei(e,t){var n=Qr(e);return n[3]=0,n}function ti(e){return{r:e._R(2),c:e._R(2),ixfe:e._R(2)}}function ni(e,t,n,r){return r||(r=Ft(6)),r._W(2,e),r._W(2,t),r._W(2,n||0),r}function ri(e,t,n){var r=n.biff>8?4:2;return[e._R(r),e._R(r,"i"),e._R(r,"i")]}function ii(e){return[e._R(2),En(e)]}function ai(e){var t=e._R(2),n=e._R(2);return{s:{c:e._R(2),r:t},e:{c:e._R(2),r:n}}}function oi(e,t){return t||(t=Ft(8)),t._W(2,e.s.r),t._W(2,e.e.r),t._W(2,e.s.c),t._W(2,e.e.c),t}function si(e){var t=e._R(2),n=e._R(2);return{s:{c:e._R(1),r:t},e:{c:e._R(1),r:n}}}var li=si;function ci(e){e.l+=4;var t=e._R(2),n=e._R(2),r=e._R(2);return e.l+=12,[n,t,r]}function ui(e){e.l+=2,e.l+=e._R(2)}var fi={0:ui,4:ui,5:ui,6:ui,7:function(e){return e.l+=4,e.cf=e._R(2),{}},8:ui,9:ui,10:ui,11:ui,12:ui,13:function(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e._R(2),e.l+=4,t},14:ui,15:ui,16:ui,17:ui,18:ui,19:ui,20:ui,21:ci};function hi(e,t){var n={BIFFVer:0,dt:0};switch(n.BIFFVer=e._R(2),(t-=2)>=2&&(n.dt=e._R(2),e.l-=2),n.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+n.BIFFVer)}return e._R(t),n}function di(e,t,n){var r=1536,i=16;switch(n.bookType){case"biff8":case"xla":break;case"biff5":r=1280,i=8;break;case"biff4":r=4,i=6;break;case"biff3":r=3,i=6;break;case"biff2":r=2,i=4;break;default:throw new Error("unsupported BIFF version")}var a=Ft(i);return a._W(2,r),a._W(2,t),i>4&&a._W(2,29282),i>6&&a._W(2,1997),i>8&&(a._W(2,49161),a._W(2,1),a._W(2,1798),a._W(2,0)),a}function pi(e,t){var n=!t||t.biff>=8?2:1,r=Ft(8+n*e.name.length);r._W(4,e.pos),r._W(1,e.hs||0),r._W(1,e.dt),r._W(1,e.name.length),t.biff>=8&&r._W(1,1),r._W(n*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var i=r.slice(0,r.l);return i.l=r.l,i}function gi(e,t,n){var r=0;n&&2==n.biff||(r=e._R(2));var i=e._R(2);return n&&2==n.biff&&(r=1-(i>>15),i&=32767),[{Unsynced:1&r,DyZero:(2&r)>>1,ExAsc:(4&r)>>2,ExDsc:(8&r)>>3},i]}function mi(e,t,n,r){var i=n&&5==n.biff;r||(r=Ft(i?3+t.length:5+2*t.length)),r._W(2,e),r._W(i?1:2,t.length),i||r._W(1,1),r._W((i?1:2)*t.length,t,i?"sbcs":"utf16le");var a=r.length>r.l?r.slice(0,r.l):r;return null==a.l&&(a.l=a.length),a}var vi=Xr;function bi(e,t,n){var r=e.l+t,i=8!=n.biff&&n.biff?2:4,a=e._R(i),o=e._R(i),s=e._R(2),l=e._R(2);return e.l=r,{s:{r:a,c:s},e:{r:o,c:l}}}function yi(e,t,n,r){var i=n&&5==n.biff;r||(r=Ft(i?16:20)),r._W(2,0),e.style?(r._W(2,e.numFmtId||0),r._W(2,65524)):(r._W(2,e.numFmtId||0),r._W(2,t<<4));var a=0;return e.numFmtId>0&&i&&(a|=1024),r._W(4,a),r._W(4,0),i||r._W(4,0),r._W(2,0),r}function wi(e,t,n){var r=ti(e);2!=n.biff&&9!=t||++e.l;var i=function(e){var t=e._R(1);return 1===e._R(1)?t:1===t}(e);return r.val=i,r.t=!0===i||!1===i?"b":"e",r}var Si=function(e,t,n){return 0===t?"":Xr(e,0,n)};function xi(e,t,n){var r,i=e._R(2),a={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===n.sbcch&&(r=function(e,t,n){e.l+=4,t-=4;var r=e.l+t,i=zr(e,0,n),a=e._R(2);if(a!==(r-=e.l))throw new Error("Malformed AddinUdf: padding = "+r+" != "+a);return e.l+=a,i}(e,t-2,n)),a.body=r||e._R(t-2),"string"==typeof r&&(a.Name=r),a}var Ei=["_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 _i(e,t,n){var r=e.l+t,i=e._R(2),a=e._R(1),o=e._R(1),s=e._R(n&&2==n.biff?1:2),l=0;(!n||n.biff>=5)&&(5!=n.biff&&(e.l+=2),l=e._R(2),5==n.biff&&(e.l+=2),e.l+=4);var c=qr(e,o,n);32&i&&(c=Ei[c.charCodeAt(0)]);var u=r-e.l;n&&2==n.biff&&--u;var f=r!=e.l&&0!==s&&u>0?function(e,t,n,r){var i,a=e.l+t,o=qo(e,r,n);a!==e.l&&(i=Vo(e,a-e.l,o,n));return[o,i]}(e,u,n,s):[];return{chKey:a,Name:c,itab:l,rgce:f}}function Ai(e,t,n){if(n.biff<8)return function(e,t,n){3==e[e.l+1]&&e[e.l]++;var r=zr(e,0,n);return 3==r.charCodeAt(0)?r.slice(1):r}(e,0,n);for(var r=[],i=e.l+t,a=e._R(n.biff>8?4:2);0!=a--;)r.push(ri(e,n.biff,n));if(e.l!=i)throw new Error("Bad ExternSheet: "+e.l+" != "+i);return r}function Ci(e,t,n){var r=li(e,6);switch(n.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[r,Zo(e,t,n)]}var ki=[];function Ti(e){var t=Ft(24),n=$t(e[0]);t._W(2,n.r),t._W(2,n.r),t._W(2,n.c),t._W(2,n.c);for(var r="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),i=0;i<16;++i)t._W(1,parseInt(r[i],16));return E([t,Zr(e[1])])}function Ri(e){var t=e[1].Tooltip,n=Ft(10+2*(t.length+1));n._W(2,2048);var r=$t(e[0]);n._W(2,r.r),n._W(2,r.r),n._W(2,r.c),n._W(2,r.c);for(var i=0;i<t.length;++i)n._W(2,t.charCodeAt(i));return n._W(2,0),n}function Ni(e,t,n){if(!n.cellStyles)return Lt(e,t);var r=n&&n.biff>=12?4:2,i=e._R(r),a=e._R(r),o=e._R(r),s=e._R(r),l=e._R(2);2==r&&(e.l+=2);var c={s:i,e:a,w:o,ixfe:s,flags:l};return(n.biff>=5||!n.biff)&&(c.level=l>>8&7),c}ki[8]=function(e,t){var n=e.l+t;e.l+=10;var r=e._R(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var i=e._R(1);return e.l+=i,e.l=n,{fmt:r}};var Ii=ti,Bi=Wr,Oi=Gr;var Pi=function(){var e={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},t=M({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 r(t,n){var r=[],i=v(1);switch(n.type){case"base64":i=y(d.decode(t));break;case"binary":i=y(t);break;case"buffer":case"array":i=t}Pt(i,0);var a=i._R(1),o=!!(136&a),s=!1,l=!1;switch(a){case 2:case 3:case 131:case 139:case 245:break;case 48:case 49:s=!0,o=!0;break;case 140:l=!0;break;default:throw new Error("DBF Unsupported Version: "+a.toString(16))}var c=0,u=521;2==a&&(c=i._R(2)),i.l+=3,2!=a&&(c=i._R(4)),c>1048576&&(c=1e6),2!=a&&(u=i._R(2));var f=i._R(2),h=n.codepage||1252;2!=a&&(i.l+=16,i._R(1),0!==i[i.l]&&(h=e[i[i.l]]),i.l+=1,i.l+=2),l&&(i.l+=36);for(var p=[],g={},m=Math.min(i.length,2==a?521:u-10-(s?264:0)),b=l?32:11;i.l<m&&13!=i[i.l];)switch((g={}).name=cptable.utils.decode(h,i.slice(i.l,i.l+b)).replace(/[\u0000\r\n].*$/g,""),i.l+=b,g.type=String.fromCharCode(i._R(1)),2==a||l||(g.offset=i._R(4)),g.len=i._R(1),2==a&&(g.offset=i._R(2)),g.dec=i._R(1),g.name.length&&p.push(g),2!=a&&(i.l+=l?13:14),g.type){case"B":s&&8==g.len||!n.WTF||console.log("Skipping "+g.name+":"+g.type);break;case"G":case"P":n.WTF&&console.log("Skipping "+g.name+":"+g.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: "+g.type)}if(13!==i[i.l]&&(i.l=u-1),13!==i._R(1))throw new Error("DBF Terminator not found "+i.l+" "+i[i.l]);i.l=u;var w=0,S=0;for(r[0]=[],S=0;S!=p.length;++S)r[0][S]=p[S].name;for(;c-- >0;)if(42!==i[i.l])for(++i.l,r[++w]=[],S=0,S=0;S!=p.length;++S){var x=i.slice(i.l,i.l+p[S].len);i.l+=p[S].len,Pt(x,0);var E=cptable.utils.decode(h,x);switch(p[S].type){case"C":E.trim().length&&(r[w][S]=E.replace(/\s+$/,""));break;case"D":8===E.length?r[w][S]=new Date(+E.slice(0,4),+E.slice(4,6)-1,+E.slice(6,8)):r[w][S]=E;break;case"F":r[w][S]=parseFloat(E.trim());break;case"+":case"I":r[w][S]=l?2147483648^x._R(-4,"i"):x._R(4,"i");break;case"L":switch(E.trim().toUpperCase()){case"Y":case"T":r[w][S]=!0;break;case"N":case"F":r[w][S]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+E+"|")}break;case"M":if(!o)throw new Error("DBF Unexpected MEMO for type "+a.toString(16));r[w][S]="##MEMO##"+(l?parseInt(E.trim(),10):x._R(4));break;case"N":(E=E.replace(/\u0000/g,"").trim())&&"."!=E&&(r[w][S]=+E||0);break;case"@":r[w][S]=new Date(x._R(-8,"f")-621356832e5);break;case"T":r[w][S]=new Date(864e5*(x._R(4)-2440588)+x._R(4));break;case"Y":r[w][S]=x._R(4,"i")/1e4;break;case"O":r[w][S]=-x._R(-8,"f");break;case"B":if(s&&8==p[S].len){r[w][S]=x._R(8,"f");break}case"G":case"P":x.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 i.l+=f;if(2!=a&&i.l<i.length&&26!=i[i.l++])throw new Error("DBF EOF Marker missing "+(i.l-1)+" of "+i.length+" "+i[i.l-1].toString(16));return n&&n.sheetRows&&(r=r.slice(0,n.sheetRows)),r}function i(e,t){var n=t||{};return n.dateNF||(n.dateNF="yyyymmdd"),rn(r(e,n),n)}var a={B:8,C:250,L:1,D:8,"?":0,"":0};return{versions:[2,3,48,49,131,139,140,245],to_workbook:function(e,t){try{return tn(i(e,t),t)}catch(e){if(t&&t.WTF)throw e}return{SheetNames:[],Sheets:{}}},to_sheet:i,from_sheet:function(e,r){var i=r||{};if(+i.codepage>=0&&s(+i.codepage),"string"==i.type)throw new Error("Cannot write DBF to JS string");var o=Mt(),l=hu(e,{header:1,raw:!0,cellDates:!0}),c=l[0],u=l.slice(1),f=0,h=0,d=0,p=1;for(f=0;f<c.length;++f)if(null!=f){if(++d,"number"==typeof c[f]&&(c[f]=c[f].toString(10)),"string"!=typeof c[f])throw new Error("DBF Invalid column name "+c[f]+" |"+typeof c[f]+"|");if(c.indexOf(c[f])!==f)for(h=0;h<1024;++h)if(-1==c.indexOf(c[f]+"_"+h)){c[f]+="_"+h;break}}var g=Zt(e["!ref"]),m=[];for(f=0;f<=g.e.c-g.s.c;++f){var v=[];for(h=0;h<u.length;++h)null!=u[h][f]&&v.push(u[h][f]);if(0!=v.length&&null!=c[f]){var b="",y="";for(h=0;h<v.length;++h){switch(typeof v[h]){case"number":y="B";break;case"string":default:y="C";break;case"boolean":y="L";break;case"object":y=v[h]instanceof Date?"D":"C"}if("C"==(b=b&&b!=y?"C":y))break}p+=a[b]||0,m[f]=b}else m[f]="?"}var w=o.next(32);for(w._W(4,318902576),w._W(4,u.length),w._W(2,296+32*d),w._W(2,p),f=0;f<4;++f)w._W(4,0);for(w._W(4,0|(+t[n]||3)<<8),f=0,h=0;f<c.length;++f)if(null!=c[f]){var S=o.next(32),x=(c[f].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);S._W(1,x,"sbcs"),S._W(1,"?"==m[f]?"C":m[f],"sbcs"),S._W(4,h),S._W(1,a[m[f]]||0),S._W(1,0),S._W(1,2),S._W(4,0),S._W(1,0),S._W(4,0),S._W(4,0),h+=a[m[f]]||0}var E=o.next(264);for(E._W(4,13),f=0;f<65;++f)E._W(4,0);for(f=0;f<u.length;++f){var _=o.next(p);for(_._W(1,0),h=0;h<c.length;++h)if(null!=c[h])switch(m[h]){case"L":_._W(1,null==u[f][h]?63:u[f][h]?84:70);break;case"B":_._W(8,u[f][h]||0,"f");break;case"D":u[f][h]?(_._W(4,("0000"+u[f][h].getFullYear()).slice(-4),"sbcs"),_._W(2,("00"+(u[f][h].getMonth()+1)).slice(-2),"sbcs"),_._W(2,("00"+u[f][h].getDate()).slice(-2),"sbcs")):_._W(8,"00000000","sbcs");break;case"C":var A=String(u[f][h]||"");for(_._W(1,A,"sbcs"),d=0;d<250-A.length;++d)_._W(1,32)}}return o.next(1)._W(1,26),o.end()}}}(),Li=function(){var e={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},t=new RegExp("N("+F(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),n=function(t,n){var r=e[n];return"number"==typeof r?h(r):r},r=function(e,t,n){var r=t.charCodeAt(0)-32<<4|n.charCodeAt(0)-48;return 59==r?e:h(r)};function i(e,t){switch(t.type){case"base64":return a(d.decode(e),t);case"binary":return a(e,t);case"buffer":return a(p&&Buffer.isBuffer(e)?e.toString("binary"):S(e),t);case"array":return a(J(e),t)}throw new Error("Unrecognized type "+t.type)}function a(e,i){var a,o=e.split(/[\n\r]+/),l=-1,c=-1,u=0,f=0,h=[],d=[],p=null,g={},m=[],v=[],b=[],y=0;for(+i.codepage>=0&&s(+i.codepage);u!==o.length;++u){y=0;var w,S=o[u].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,r).replace(t,n),x=S.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),E=x[0];if(S.length>0)switch(E){case"ID":case"E":case"B":case"O":case"W":break;case"P":"P"==x[1].charAt(0)&&d.push(S.slice(3).replace(/;;/g,";"));break;case"C":var _=!1,A=!1,k=!1,T=!1,R=-1,N=-1;for(f=1;f<x.length;++f)switch(x[f].charAt(0)){case"A":case"G":break;case"X":c=parseInt(x[f].slice(1))-1,A=!0;break;case"Y":for(l=parseInt(x[f].slice(1))-1,A||(c=0),a=h.length;a<=l;++a)h[a]=[];break;case"K":'"'===(w=x[f].slice(1)).charAt(0)?w=w.slice(1,w.length-1):"TRUE"===w?w=!0:"FALSE"===w?w=!1:isNaN(ee(w))?isNaN(te(w).getDate())||(w=K(w)):(w=ee(w),null!==p&&C.is_date(p)&&(w=q(w))),"undefined"!=typeof cptable&&"string"==typeof w&&"string"!=(i||{}).type&&(i||{}).codepage&&(w=cptable.utils.decode(i.codepage,w)),_=!0;break;case"E":T=!0;var I=uo(x[f].slice(1),{r:l,c:c});h[l][c]=[h[l][c],I];break;case"S":k=!0,h[l][c]=[h[l][c],"S5S"];break;case"R":R=parseInt(x[f].slice(1))-1;break;case"C":N=parseInt(x[f].slice(1))-1;break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+S)}if(_&&(h[l][c]&&2==h[l][c].length?h[l][c][0]=w:h[l][c]=w,p=null),k){if(T)throw new Error("SYLK shared formula cannot have own formula");var B=R>-1&&h[R][N];if(!B||!B[1])throw new Error("SYLK shared formula cannot find base");h[l][c][1]=po(B[1],{r:l-R,c:c-N})}break;case"F":var O=0;for(f=1;f<x.length;++f)switch(x[f].charAt(0)){case"X":c=parseInt(x[f].slice(1))-1,++O;break;case"Y":for(l=parseInt(x[f].slice(1))-1,a=h.length;a<=l;++a)h[a]=[];break;case"M":y=parseInt(x[f].slice(1))/20;break;case"F":case"G":case"S":case"D":case"N":break;case"P":p=d[parseInt(x[f].slice(1))];break;case"W":for(b=x[f].slice(1).split(" "),a=parseInt(b[0],10);a<=parseInt(b[1],10);++a)y=parseInt(b[2],10),v[a-1]=0===y?{hidden:!0}:{wch:y},xa(v[a-1]);break;case"C":v[c=parseInt(x[f].slice(1))-1]||(v[c]={});break;case"R":m[l=parseInt(x[f].slice(1))-1]||(m[l]={}),y>0?(m[l].hpt=y,m[l].hpx=_a(y)):0===y&&(m[l].hidden=!0);break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+S)}O<1&&(p=null);break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+S)}}return m.length>0&&(g["!rows"]=m),v.length>0&&(g["!cols"]=v),i&&i.sheetRows&&(h=h.slice(0,i.sheetRows)),[h,g]}function o(e,t){var n=i(e,t),r=n[0],a=n[1],o=rn(r,t);return F(a).forEach((function(e){o[e]=a[e]})),o}function l(e,t,n,r){var i="C;Y"+(n+1)+";X"+(r+1)+";K";switch(e.t){case"n":i+=e.v||0,e.f&&!e.F&&(i+=";E"+ho(e.f,{r:n,c:r}));break;case"b":i+=e.v?"TRUE":"FALSE";break;case"e":i+=e.w||e.v;break;case"d":i+='"'+(e.w||e.v)+'"';break;case"s":i+='"'+e.v.replace(/"/g,"")+'"'}return i}return e["|"]=254,{to_workbook:function(e,t){return tn(o(e,t),t)},to_sheet:o,from_sheet:function(e,t){var n,r=["ID;PWXL;N;E"],i=[],a=Zt(e["!ref"]),o=Array.isArray(e),s="\r\n";r.push("P;PGeneral"),r.push("F;P0;DG0G8;M255"),e["!cols"]&&function(e,t){t.forEach((function(t,n){var r="F;W"+(n+1)+" "+(n+1)+" ";t.hidden?r+="0":("number"!=typeof t.width||t.wpx||(t.wpx=va(t.width)),"number"!=typeof t.wpx||t.wch||(t.wch=ba(t.wpx)),"number"==typeof t.wch&&(r+=Math.round(t.wch)))," "!=r.charAt(r.length-1)&&e.push(r)}))}(r,e["!cols"]),e["!rows"]&&function(e,t){t.forEach((function(t,n){var r="F;";t.hidden?r+="M0;":t.hpt?r+="M"+20*t.hpt+";":t.hpx&&(r+="M"+20*Ea(t.hpx)+";"),r.length>2&&e.push(r+"R"+(n+1))}))}(r,e["!rows"]),r.push("B;Y"+(a.e.r-a.s.r+1)+";X"+(a.e.c-a.s.c+1)+";D"+[a.s.c,a.s.r,a.e.c,a.e.r].join(" "));for(var c=a.s.r;c<=a.e.r;++c)for(var u=a.s.c;u<=a.e.c;++u){var f=Yt({r:c,c:u});(n=o?(e[c]||[])[u]:e[f])&&(null!=n.v||n.f&&!n.F)&&i.push(l(n,0,c,u))}return r.join(s)+s+i.join(s)+s+"E"+s}}}(),Fi=function(){function e(e,n){switch(n.type){case"base64":return t(d.decode(e),n);case"binary":return t(e,n);case"buffer":return t(p&&Buffer.isBuffer(e)?e.toString("binary"):S(e),n);case"array":return t(J(e),n)}throw new Error("Unrecognized type "+n.type)}function t(e,t){for(var n=e.split("\n"),r=-1,i=-1,a=0,o=[];a!==n.length;++a)if("BOT"!==n[a].trim()){if(!(r<0)){for(var s=n[a].trim().split(","),l=s[0],c=s[1],u=n[++a]||"";1&(u.match(/["]/g)||[]).length&&a<n.length-1;)u+="\n"+n[++a];switch(u=u.trim(),+l){case-1:if("BOT"===u){o[++r]=[],i=0;continue}if("EOD"!==u)throw new Error("Unrecognized DIF special command "+u);break;case 0:"TRUE"===u?o[r][i]=!0:"FALSE"===u?o[r][i]=!1:isNaN(ee(c))?isNaN(te(c).getDate())?o[r][i]=c:o[r][i]=K(c):o[r][i]=ee(c),++i;break;case 1:(u=(u=u.slice(1,u.length-1)).replace(/""/g,'"'))&&u.match(/^=".*"$/)&&(u=u.slice(2,-1)),o[r][i++]=""!==u?u:null}if("EOD"===u)break}}else o[++r]=[],i=0;return t&&t.sheetRows&&(o=o.slice(0,t.sheetRows)),o}function n(t,n){return rn(e(t,n),n)}var r=function(){var e=function(e,t,n,r,i){e.push(t),e.push(n+","+r),e.push('"'+i.replace(/"/g,'""')+'"')},t=function(e,t,n,r){e.push(t+","+n),e.push(1==t?'"'+r.replace(/"/g,'""')+'"':r)};return function(n){var r,i=[],a=Zt(n["!ref"]),o=Array.isArray(n);e(i,"TABLE",0,1,"sheetjs"),e(i,"VECTORS",0,a.e.r-a.s.r+1,""),e(i,"TUPLES",0,a.e.c-a.s.c+1,""),e(i,"DATA",0,0,"");for(var s=a.s.r;s<=a.e.r;++s){t(i,-1,0,"BOT");for(var l=a.s.c;l<=a.e.c;++l){var c=Yt({r:s,c:l});if(r=o?(n[s]||[])[l]:n[c])switch(r.t){case"n":var u=r.w;u||null==r.v||(u=r.v),null==u?r.f&&!r.F?t(i,1,0,"="+r.f):t(i,1,0,""):t(i,0,u,"V");break;case"b":t(i,0,r.v?1:0,r.v?"TRUE":"FALSE");break;case"s":t(i,1,0,isNaN(r.v)?r.v:'="'+r.v+'"');break;case"d":r.w||(r.w=C.format(r.z||C._table[14],U(K(r.v)))),t(i,0,r.w,"V");break;default:t(i,1,0,"")}else t(i,1,0,"")}}t(i,-1,0,"EOD");return i.join("\r\n")}}();return{to_workbook:function(e,t){return tn(n(e,t),t)},to_sheet:n,from_sheet:r}}(),Di=function(){function e(e){return e.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n")}function t(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function n(t,n){for(var r=t.split("\n"),i=-1,a=-1,o=0,s=[];o!==r.length;++o){var l=r[o].trim().split(":");if("cell"===l[0]){var c=$t(l[1]);if(s.length<=c.r)for(i=s.length;i<=c.r;++i)s[i]||(s[i]=[]);switch(i=c.r,a=c.c,l[2]){case"t":s[i][a]=e(l[3]);break;case"v":s[i][a]=+l[3];break;case"vtf":var u=l[l.length-1];case"vtc":if("nl"===l[3])s[i][a]=!!+l[4];else s[i][a]=+l[4];"vtf"==l[2]&&(s[i][a]=[s[i][a],u])}}}return n&&n.sheetRows&&(s=s.slice(0,n.sheetRows)),s}function r(e,t){return rn(n(e,t),t)}var i=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n"),a=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n",o=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n"),s="--SocialCalcSpreadsheetControlSave--";function l(e){if(!e||!e["!ref"])return"";for(var n,r=[],i=[],a="",o=Kt(e["!ref"]),s=Array.isArray(e),l=o.s.r;l<=o.e.r;++l)for(var c=o.s.c;c<=o.e.c;++c)if(a=Yt({r:l,c:c}),(n=s?(e[l]||[])[c]:e[a])&&null!=n.v&&"z"!==n.t){switch(i=["cell",a,"t"],n.t){case"s":case"str":i.push(t(n.v));break;case"n":n.f?(i[2]="vtf",i[3]="n",i[4]=n.v,i[5]=t(n.f)):(i[2]="v",i[3]=n.v);break;case"b":i[2]="vt"+(n.f?"f":"c"),i[3]="nl",i[4]=n.v?"1":"0",i[5]=t(n.f||(n.v?"TRUE":"FALSE"));break;case"d":var u=U(K(n.v));i[2]="vtc",i[3]="nd",i[4]=""+u,i[5]=n.w||C.format(n.z||C._table[14],u);break;case"e":continue}r.push(i.join(":"))}return r.push("sheet:c:"+(o.e.c-o.s.c+1)+":r:"+(o.e.r-o.s.r+1)+":tvf:1"),r.push("valueformat:1:text-wiki"),r.join("\n")}return{to_workbook:function(e,t){return tn(r(e,t),t)},to_sheet:r,from_sheet:function(e){return[i,a,o,a,l(e),s].join("\n")}}}(),Mi=function(){function e(e,t,n,r,i){i.raw?t[n][r]=e:""===e||("TRUE"===e?t[n][r]=!0:"FALSE"===e?t[n][r]=!1:isNaN(ee(e))?isNaN(te(e).getDate())?t[n][r]=e:t[n][r]=K(e):t[n][r]=ee(e))}function t(t,n){var r=n||{},i=[];if(!t||0===t.length)return i;for(var a=t.split(/[\r\n]/),o=a.length-1;o>=0&&0===a[o].length;)--o;for(var s=10,l=0,c=0;c<=o;++c)-1==(l=a[c].indexOf(" "))?l=a[c].length:l++,s=Math.max(s,l);for(c=0;c<=o;++c){i[c]=[];var u=0;for(e(a[c].slice(0,s).trim(),i,c,u,r),u=1;u<=(a[c].length-s)/10+1;++u)e(a[c].slice(s+10*(u-1),s+10*u).trim(),i,c,u,r)}return r.sheetRows&&(i=i.slice(0,r.sheetRows)),i}var n={44:",",9:"\t",59:";",124:"|"},r={44:3,9:2,59:1,124:0};function i(e){for(var t={},i=!1,a=0,o=0;a<e.length;++a)34==(o=e.charCodeAt(a))?i=!i:!i&&o in n&&(t[o]=(t[o]||0)+1);for(a in o=[],t)Object.prototype.hasOwnProperty.call(t,a)&&o.push([t[a],a]);if(!o.length)for(a in t=r)Object.prototype.hasOwnProperty.call(t,a)&&o.push([t[a],a]);return o.sort((function(e,t){return e[0]-t[0]||r[e[1]]-r[t[1]]})),n[o.pop()[1]]||44}function a(e,t){var n=t||{},r="";var a=n.dense?[]:{},o={s:{c:0,r:0},e:{c:0,r:0}};"sep="==e.slice(0,4)?13==e.charCodeAt(5)&&10==e.charCodeAt(6)?(r=e.charAt(4),e=e.slice(7)):13==e.charCodeAt(5)||10==e.charCodeAt(5)?(r=e.charAt(4),e=e.slice(6)):r=i(e.slice(0,1024)):r=n&&n.FS?n.FS:i(e.slice(0,1024));var s=0,l=0,c=0,u=0,f=0,h=r.charCodeAt(0),d=!1,p=0,g=e.charCodeAt(0);e=e.replace(/\r\n/gm,"\n");var m=null!=n.dateNF?function(e){var t="number"==typeof e?C._table[e]:e;return t=t.replace(N,"(\\d+)"),new RegExp("^"+t+"$")}(n.dateNF):null;function v(){var t=e.slice(u,f),r={};if('"'==t.charAt(0)&&'"'==t.charAt(t.length-1)&&(t=t.slice(1,-1).replace(/""/g,'"')),0===t.length)r.t="z";else if(n.raw)r.t="s",r.v=t;else if(0===t.trim().length)r.t="s",r.v=t;else if(61==t.charCodeAt(0))34==t.charCodeAt(1)&&34==t.charCodeAt(t.length-1)?(r.t="s",r.v=t.slice(2,-1).replace(/""/g,'"')):!function(e){return 1!=e.length}(t)?(r.t="s",r.v=t):(r.t="n",r.f=t.slice(1));else if("TRUE"==t)r.t="b",r.v=!0;else if("FALSE"==t)r.t="b",r.v=!1;else if(isNaN(c=ee(t)))if(!isNaN(te(t).getDate())||m&&t.match(m)){r.z=n.dateNF||C._table[14];var i=0;m&&t.match(m)&&(t=function(e,t,n){var r=-1,i=-1,a=-1,o=-1,s=-1,l=-1;(t.match(N)||[]).forEach((function(e,t){var c=parseInt(n[t+1],10);switch(e.toLowerCase().charAt(0)){case"y":r=c;break;case"d":a=c;break;case"h":o=c;break;case"s":l=c;break;case"m":o>=0?s=c:i=c}})),l>=0&&-1==s&&i>=0&&(s=i,i=-1);var c=(""+(r>=0?r:(new Date).getFullYear())).slice(-4)+"-"+("00"+(i>=1?i:1)).slice(-2)+"-"+("00"+(a>=1?a:1)).slice(-2);7==c.length&&(c="0"+c),8==c.length&&(c="20"+c);var u=("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return-1==o&&-1==s&&-1==l?c:-1==r&&-1==i&&-1==a?u:c+"T"+u}(0,n.dateNF,t.match(m)||[]),i=1),n.cellDates?(r.t="d",r.v=K(t,i)):(r.t="n",r.v=U(K(t,i))),!1!==n.cellText&&(r.w=C.format(r.z,r.v instanceof Date?U(r.v):r.v)),n.cellNF||delete r.z}else r.t="s",r.v=t;else r.t="n",!1!==n.cellText&&(r.w=t),r.v=c;if("z"==r.t||(n.dense?(a[s]||(a[s]=[]),a[s][l]=r):a[Yt({c:l,r:s})]=r),u=f+1,g=e.charCodeAt(u),o.e.c<l&&(o.e.c=l),o.e.r<s&&(o.e.r=s),p==h)++l;else if(l=0,++s,n.sheetRows&&n.sheetRows<=s)return!0}e:for(;f<e.length;++f)switch(p=e.charCodeAt(f)){case 34:34===g&&(d=!d);break;case h:case 10:case 13:if(!d&&v())break e}return f-u>0&&v(),a["!ref"]=Jt(o),a}function o(e,n){return n&&n.PRN?n.FS||"sep="==e.slice(0,4)||e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0?a(e,n):rn(t(e,n),n):a(e,n)}function s(e,t){var n="",r="string"==t.type?[0,0,0,0]:eu(e,t);switch(t.type){case"base64":n=d.decode(e);break;case"binary":case"string":n=e;break;case"buffer":n=65001==t.codepage?e.toString("utf8"):t.codepage&&"undefined"!=typeof cptable?cptable.utils.decode(t.codepage,e):p&&Buffer.isBuffer(e)?e.toString("binary"):S(e);break;case"array":n=J(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==r[0]&&187==r[1]&&191==r[2]?n=Oe(n.slice(3)):"string"!=t.type&&65001==t.codepage?n=Oe(n):"binary"==t.type&&"undefined"!=typeof cptable&&t.codepage&&(n=cptable.utils.decode(t.codepage,cptable.utils.encode(28591,n))),"socialcalc:version:"==n.slice(0,19)?Di.to_sheet("string"==t.type?n:Oe(n),t):o(n,t)}return{to_workbook:function(e,t){return tn(s(e,t),t)},to_sheet:s,from_sheet:function(e){for(var t,n=[],r=Zt(e["!ref"]),i=Array.isArray(e),a=r.s.r;a<=r.e.r;++a){for(var o=[],s=r.s.c;s<=r.e.c;++s){var l=Yt({r:a,c:s});if((t=i?(e[a]||[])[s]:e[l])&&null!=t.v){for(var c=(t.w||(en(t),t.w)||"").slice(0,10);c.length<10;)c+=" ";o.push(c+(0===s?" ":""))}else o.push(" ")}n.push(o.join(""))}return n.join("\n")}}}();var ji=function(){function e(e,t,n){if(e){Pt(e,e.l||0);for(var r=n.Enum||b;e.l<e.length;){var i=e._R(2),a=r[i]||r[65535],o=e._R(2),s=e.l+o,l=a.f&&a.f(e,o,n);if(e.l=s,t(l,a,i))return}}}function t(t,n){if(!t)return t;var r=n||{};var i=r.dense?[]:{},a="Sheet1",o=0,s={},l=[a],c=[],u={s:{r:0,c:0},e:{r:0,c:0}},f=r.sheetRows||0;if(2==t[2])r.Enum=b,e(t,(function(e,t,n){switch(n){case 0:r.vers=e,e>=4096&&(r.qpro=!0);break;case 6:u=e;break;case 15:case 51:r.qpro||(e[1].v=e[1].v.slice(1));case 13:case 14:case 16:14==n&&112==(112&e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=r.dateNF||C._table[14],r.cellDates&&(e[1].t="d",e[1].v=q(e[1].v)));var a=r.dense?(i[e[0].r]||[])[e[0].c]:i[Yt(e[0])];if(a){a.t=e[1].t,a.v=e[1].v,null!=e[1].z&&(a.z=e[1].z),null!=e[1].f&&(a.f=e[1].f);break}r.dense?(i[e[0].r]||(i[e[0].r]=[]),i[e[0].r][e[0].c]=e[1]):i[Yt(e[0])]=e[1]}}),r);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);r.Enum=w,14==t[2]&&(r.qpro=!0,t.l=0),e(t,(function(e,t,n){switch(n){case 22:e[1].v=e[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>o&&(i["!ref"]=Jt(u),s[a]=i,i=r.dense?[]:{},u={s:{r:0,c:0},e:{r:0,c:0}},o=e[3],a="Sheet"+(o+1),l.push(a)),f>0&&e[0].r>=f)break;r.dense?(i[e[0].r]||(i[e[0].r]=[]),i[e[0].r][e[0].c]=e[1]):i[Yt(e[0])]=e[1],u.e.c<e[0].c&&(u.e.c=e[0].c),u.e.r<e[0].r&&(u.e.r=e[0].r);break;case 27:e[14e3]&&(c[e[14e3][0]]=e[14e3][1])}}),r)}if(i["!ref"]=Jt(u),s[a]=i,!c.length)return{SheetNames:l,Sheets:s};for(var h={},d=[],p=0;p<c.length;++p)s[l[p]]&&(d.push(c[p]),h[c[p]]=s[l[p]]);return{SheetNames:d,Sheets:h}}function n(e,t,n){var r=[{c:0,r:0},{t:"n",v:0},0];return n.qpro&&20768!=n.vers?(r[0].c=e._R(1),e.l++,r[0].r=e._R(2),e.l+=2):(r[2]=e._R(1),r[0].c=e._R(2),r[0].r=e._R(2)),r}function r(e,t,r){var i=e.l+t,a=n(e,0,r);if(a[1].t="s",20768==r.vers){e.l++;var o=e._R(1);return a[1].v=e._R(o,"utf8"),a}return r.qpro&&e.l++,a[1].v=e._R(i-e.l,"cstr"),a}function i(e,t,n){var r=Ft(7+n.length);r._W(1,255),r._W(2,t),r._W(2,e),r._W(1,39);for(var i=0;i<r.length;++i){var a=n.charCodeAt(i);r._W(1,a>=128?95:a)}return r._W(1,0),r}function a(e,t,n){var r=Ft(7);return r._W(1,255),r._W(2,t),r._W(2,e),r._W(2,n,"i"),r}function o(e,t,n){var r=Ft(13);return r._W(1,255),r._W(2,t),r._W(2,e),r._W(8,n,"f"),r}function l(e,t,n){var r=32768&t;return t=(r?e:0)+((t&=-32769)>=8192?t-16384:t),(r?"":"$")+(n?Xt(t):qt(t))}var c={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(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e._R(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function h(e,t,n,r){var i=Ft(6+r.length);i._W(2,e),i._W(1,n),i._W(1,t),i._W(1,39);for(var a=0;a<r.length;++a){var o=r.charCodeAt(a);i._W(1,o>=128?95:o)}return i._W(1,0),i}function p(e,t){var n=f(e),r=e._R(4),i=e._R(4),a=e._R(2);if(65535==a)return 0===r&&3221225472===i?(n[1].t="e",n[1].v=15):0===r&&3489660928===i?(n[1].t="e",n[1].v=42):n[1].v=0,n;var o=32768&a;return a=(32767&a)-16446,n[1].v=(1-2*o)*(i*Math.pow(2,a+32)+r*Math.pow(2,a)),n}function g(e,t,n,r){var i=Ft(14);if(i._W(2,e),i._W(1,n),i._W(1,t),0==r)return i._W(4,0),i._W(4,0),i._W(2,65535),i;var a,o=0,s=0,l=0;return r<0&&(o=1,r=-r),s=0|Math.log2(r),0==(2147483648&(l=(r/=Math.pow(2,s-31))>>>0))&&(++s,l=(r/=2)>>>0),r-=l,l|=2147483648,l>>>=0,a=(r*=Math.pow(2,32))>>>0,i._W(4,a),i._W(4,l),s+=16383+(o?32768:0),i._W(2,s),i}function m(e,t){var n=f(e),r=e._R(8,"f");return n[1].v=r,n}function v(e,t){var n=Ft(5+e.length);n._W(2,14e3),n._W(2,t);for(var r=0;r<e.length;++r){var i=e.charCodeAt(r);n[n.l++]=i>127?95:i}return n[n.l++]=0,n}var b={0:{n:"BOF",f:Mr},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(e){var t={s:{c:0,r:0},e:{c:0,r:0}};return t.s.c=e._R(2),t.s.r=e._R(2),t.e.c=e._R(2),t.e.r=e._R(2),65535==t.s.c&&(t.s.c=t.e.c=t.s.r=t.e.r=0),t}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(e,t,r){var i=n(e,0,r);return i[1].v=e._R(2,"i"),i}},14:{n:"NUMBER",f:function(e,t,r){var i=n(e,0,r);return i[1].v=e._R(8,"f"),i}},15:{n:"LABEL",f:r},16:{n:"FORMULA",f:function(e,t,r){var i=e.l+t,a=n(e,0,r);if(a[1].v=e._R(8,"f"),r.qpro)e.l=i;else{var o=e._R(2);!function(e,t){Pt(e,0);var n=[],r=0,i="",a="";for(;e.l<e.length;){var o=e[e.l++];switch(o){case 0:n.push(e._R(8,"f"));break;case 1:a=l(t[0].c,e._R(2),!0),i=l(t[0].r,e._R(2),!1),n.push(a+i);break;case 2:var s=l(t[0].c,e._R(2),!0),f=l(t[0].r,e._R(2),!1);a=l(t[0].c,e._R(2),!0),i=l(t[0].r,e._R(2),!1),n.push(s+f+":"+a+i);break;case 3:if(e.l<e.length)return void console.error("WK1 premature formula end");break;case 4:n.push("("+n.pop()+")");break;case 5:n.push(e._R(2));break;case 6:for(var h="";o=e[e.l++];)h+=String.fromCharCode(o);n.push('"'+h.replace(/"/g,'""')+'"');break;case 8:n.push("-"+n.pop());break;case 23:n.push("+"+n.pop());break;case 22:n.push("NOT("+n.pop()+")");break;case 20:case 21:var d=n.pop(),p=n.pop();n.push(["AND","OR"][o-20]+"("+p+","+d+")");break;default:if(o<32&&u[o])d=n.pop(),p=n.pop(),n.push(p+u[o]+d);else{if(!c[o])return o<=7?console.error("WK1 invalid opcode "+o.toString(16)):o<=24?console.error("WK1 unsupported op "+o.toString(16)):o<=30?console.error("WK1 invalid opcode "+o.toString(16)):o<=115?console.error("WK1 unsupported function opcode "+o.toString(16)):console.error("WK1 unrecognized opcode "+o.toString(16));if(69==(r=c[o][1])&&(r=e[e.l++]),r>n.length)return void console.error("WK1 bad formula parse 0x"+o.toString(16)+":|"+n.join("|")+"|");var g=n.slice(-r);n.length-=r,n.push(c[o][0]+"("+g.join(",")+")")}}}1==n.length?t[1].f=""+n[0]:console.error("WK1 bad formula parse |"+n.join("|")+"|")}(e.slice(e.l,e.l+o),a),e.l+=o}return a}},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:r},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??"},65535:{n:""}},w={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(e,t){var n=f(e);return n[1].t="s",n[1].v=e._R(t-4,"cstr"),n}},23:{n:"NUMBER17",f:p},24:{n:"NUMBER18",f:function(e,t){var n=f(e);n[1].v=e._R(2);var r=n[1].v>>1;if(1&n[1].v)switch(7&r){case 0:r=5e3*(r>>3);break;case 1:r=500*(r>>3);break;case 2:r=(r>>3)/20;break;case 3:r=(r>>3)/200;break;case 4:r=(r>>3)/2e3;break;case 5:r=(r>>3)/2e4;break;case 6:r=(r>>3)/16;break;case 7:r=(r>>3)/64}return n[1].v=r,n}},25:{n:"FORMULA19",f:function(e,t){var n=p(e);return e.l+=t-14,n}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function(e,t){for(var n={},r=e.l+t;e.l<r;){var i=e._R(2);if(14e3==i){for(n[i]=[0,""],n[i][0]=e._R(2);e[e.l];)n[i][1]+=String.fromCharCode(e[e.l]),e.l++;e.l++}}return n}},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(e,t){var n=f(e),r=e._R(4);return n[1].v=r>>6,n}},38:{n:"??"},39:{n:"NUMBER27",f:m},40:{n:"FORMULA28",f:function(e,t){var n=m(e);return e.l+=t-10,n}},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:"??"},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:"??"},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(e,t){var n=t||{};if(+n.codepage>=0&&s(+n.codepage),"string"==n.type)throw new Error("Cannot write WK1 to JS string");var r=Mt(),l=Zt(e["!ref"]),c=Array.isArray(e),u=[];pc(r,0,function(e){var t=Ft(2);return t._W(2,e),t}(1030)),pc(r,6,function(e){var t=Ft(8);return t._W(2,e.s.c),t._W(2,e.s.r),t._W(2,e.e.c),t._W(2,e.e.r),t}(l));for(var f=l.s.r;f<=l.e.r;++f)for(var h=qt(f),d=l.s.c;d<=l.e.c;++d){f===l.s.r&&(u[d]=Xt(d));var p=u[d]+h,g=c?(e[f]||[])[d]:e[p];if(g&&"z"!=g.t)if("n"==g.t)(0|g.v)==g.v&&g.v>=-32768&&g.v<=32767?pc(r,13,a(f,d,g.v)):pc(r,14,o(f,d,g.v));else pc(r,15,i(f,d,en(g).slice(0,239)))}return pc(r,1),r.end()},book_to_wk3:function(e,t){var n=t||{};if(+n.codepage>=0&&s(+n.codepage),"string"==n.type)throw new Error("Cannot write WK3 to JS string");var r=Mt();pc(r,0,function(e){var t=Ft(26);t._W(2,4096),t._W(2,4),t._W(4,0);for(var n=0,r=0,i=0,a=0;a<e.SheetNames.length;++a){var o=e.SheetNames[a],s=e.Sheets[o];if(s&&s["!ref"]){++i;var l=Kt(s["!ref"]);n<l.e.r&&(n=l.e.r),r<l.e.c&&(r=l.e.c)}}return t._W(2,n),t._W(1,i),t._W(1,r),t._W(2,0),t._W(2,0),t._W(1,1),t._W(1,2),t._W(4,0),t._W(4,0),t}(e));for(var i=0,a=0;i<e.SheetNames.length;++i)(e.Sheets[e.SheetNames[i]]||{})["!ref"]&&pc(r,27,v(e.SheetNames[i],a++));var o=0;for(i=0;i<e.SheetNames.length;++i){var l=e.Sheets[e.SheetNames[i]];if(l&&l["!ref"]){for(var c=Zt(l["!ref"]),u=Array.isArray(l),f=[],d=c.s.r;d<=c.e.r;++d)for(var p=qt(d),m=c.s.c;m<=c.e.c;++m){d===c.s.r&&(f[m]=Xt(m));var b=f[m]+p,y=u?(l[d]||[])[m]:l[b];if(y&&"z"!=y.t)if("n"==y.t)pc(r,23,g(d,m,o,y.v));else pc(r,22,h(d,m,o,en(y).slice(0,239)))}++o}}return pc(r,1),r.end()},to_workbook:function(e,n){switch(n.type){case"base64":return t(y(d.decode(e)),n);case"binary":return t(y(e),n);case"buffer":case"array":return t(e,n)}throw"Unsupported type "+n.type}}}();function Wi(e){var t={},n=e.match(me),r=0,i=!1;if(n)for(;r!=n.length;++r){var o=ye(n[r]);switch(o[0].replace(/\w*:/g,"")){case"<condense":case"<extend":break;case"<shadow":if(!o.val)break;case"<shadow>":case"<shadow/>":t.shadow=1;break;case"</shadow>":break;case"<charset":if("1"==o.val)break;t.cp=a[parseInt(o.val,10)];break;case"<outline":if(!o.val)break;case"<outline>":case"<outline/>":t.outline=1;break;case"</outline>":break;case"<rFont":t.name=o.val;break;case"<sz":t.sz=o.val;break;case"<strike":if(!o.val)break;case"<strike>":case"<strike/>":t.strike=1;break;case"</strike>":break;case"<u":if(!o.val)break;switch(o.val){case"double":t.uval="double";break;case"singleAccounting":t.uval="single-accounting";break;case"doubleAccounting":t.uval="double-accounting"}case"<u>":case"<u/>":t.u=1;break;case"</u>":break;case"<b":if("0"==o.val)break;case"<b>":case"<b/>":t.b=1;break;case"</b>":break;case"<i":if("0"==o.val)break;case"<i>":case"<i/>":t.i=1;break;case"</i>":break;case"<color":o.rgb&&(t.color=o.rgb.slice(2,8));break;case"<family":t.family=o.val;break;case"<vertAlign":t.valign=o.val;break;case"<scheme":case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":i=!0;break;case"</ext>":i=!1;break;default:if(47!==o[0].charCodeAt(1)&&!i)throw new Error("Unrecognized rich format "+o[0])}}return t}var Ui=function(){var e=Me("t"),t=Me("rPr");function n(n){var r=n.match(e);if(!r)return{t:"s",v:""};var i={t:"s",v:Ee(r[1])},a=n.match(t);return a&&(i.s=Wi(a[1])),i}var r=/<(?:\w+:)?r>/g,i=/<\/(?:\w+:)?r>/;return function(e){return e.replace(r,"").split(i).map(n).filter((function(e){return e.v}))}}(),zi=function(){var e=/(\r\n|\n)/g;function t(t){var n=[[],t.v,[]];return t.v?(t.s&&function(e,t,n){var r=[];e.u&&r.push("text-decoration: underline;"),e.uval&&r.push("text-underline-style:"+e.uval+";"),e.sz&&r.push("font-size:"+e.sz+"pt;"),e.outline&&r.push("text-effect: outline;"),e.shadow&&r.push("text-shadow: auto;"),t.push('<span style="'+r.join("")+'">'),e.b&&(t.push("<b>"),n.push("</b>")),e.i&&(t.push("<i>"),n.push("</i>")),e.strike&&(t.push("<s>"),n.push("</s>"));var i=e.valign||"";"superscript"==i||"super"==i?i="sup":"subscript"==i&&(i="sub"),""!=i&&(t.push("<"+i+">"),n.push("</"+i+">")),n.push("</span>")}(t.s,n[0],n[2]),n[0].join("")+n[1].replace(e,"<br/>")+n[2].join("")):""}return function(e){return e.map(t).join("")}}(),Hi=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Vi=/<(?:\w+:)?r>/,qi=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Gi(e,t){var n=!t||t.cellHTML,r={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(r.t=Ee(Oe(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),r.r=Oe(e),n&&(r.h=Re(r.t))):e.match(Vi)&&(r.r=Oe(e),r.t=Ee(Oe((e.replace(qi,"").match(Hi)||[]).join("").replace(me,""))),n&&(r.h=zi(Ui(r.r)))),r):{t:""}}var Xi=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,$i=/<(?:\w+:)?(?:si|sstItem)>/g,Yi=/<\/(?:\w+:)?(?:si|sstItem)>/;Yn.SST="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings";var Ki=/^\s|\s$|[\t\n\r]/;function Ji(e,t){if(!t.bookSST)return"";var n=[pe];n[n.length]=Xe("sst",null,{xmlns:Ye.main[0],count:e.Count,uniqueCount:e.Unique});for(var r=0;r!=e.length;++r)if(null!=e[r]){var i=e[r],a="<si>";i.r?a+=i.r:(a+="<t",i.t||(i.t=""),i.t.match(Ki)&&(a+=' xml:space="preserve"'),a+=">"+Ce(i.t)+"</t>"),a+="</si>",n[n.length]=a}return n.length>2&&(n[n.length]="</sst>",n[1]=n[1].replace("/>",">")),n.join("")}var Zi=function(e,t){var n=!1;return null==t&&(n=!0,t=Ft(15+4*e.t.length)),t._W(1,0),sn(e.t,t),n?t.slice(0,t.l):t};function Qi(e){var t=Mt();jt(t,"BrtBeginSst",function(e,t){return t||(t=Ft(8)),t._W(4,e.Count),t._W(4,e.Unique),t}(e));for(var n=0;n<e.length;++n)jt(t,"BrtSSTItem",Zi(e[n]));return jt(t,"BrtEndSst"),t.end()}function ea(e){if("undefined"!=typeof cptable)return cptable.utils.encode(n,e);for(var t=[],r=e.split(""),i=0;i<r.length;++i)t[i]=r[i].charCodeAt(0);return t}function ta(e,t){var n={};return n.Major=e._R(2),n.Minor=e._R(2),t>=4&&(e.l+=t-4),n}function na(e){for(var t=e._R(4),n=e.l+t-4,r={},i=e._R(4),a=[];i-- >0;)a.push({t:e._R(4),v:e._R(0,"lpp4")});if(r.name=e._R(0,"lpp4"),r.comps=a,e.l!=n)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+n);return r}function ra(e){var t=function(e){var t={};return e._R(4),e.l+=4,t.id=e._R(0,"lpp4"),t.name=e._R(0,"lpp4"),t.R=ta(e,4),t.U=ta(e,4),t.W=ta(e,4),t}(e);if(t.ename=e._R(0,"8lpp4"),t.blksz=e._R(4),t.cmode=e._R(4),4!=e._R(4))throw new Error("Bad !Primary record");return t}function ia(e,t){var n=e.l+t,r={};r.Flags=63&e._R(4),e.l+=4,r.AlgID=e._R(4);var i=!1;switch(r.AlgID){case 26126:case 26127:case 26128:i=36==r.Flags;break;case 26625:i=4==r.Flags;break;case 0:i=16==r.Flags||4==r.Flags||36==r.Flags;break;default:throw"Unrecognized encryption algorithm: "+r.AlgID}if(!i)throw new Error("Encryption Flags/AlgID mismatch");return r.AlgIDHash=e._R(4),r.KeySize=e._R(4),r.ProviderType=e._R(4),e.l+=8,r.CSPName=e._R(n-e.l>>1,"utf16le"),e.l=n,r}function aa(e,t){var n={},r=e.l+t;return e.l+=4,n.Salt=e.slice(e.l,e.l+16),e.l+=16,n.Verifier=e.slice(e.l,e.l+16),e.l+=16,e._R(4),n.VerifierHash=e.slice(e.l,r),e.l=r,n}function oa(e){if(36!=(63&e._R(4)))throw new Error("EncryptionInfo mismatch");var t=e._R(4);return{t:"Std",h:ia(e,t),v:aa(e,e.length-e.l)}}function sa(){throw new Error("File is password-protected: ECMA-376 Extensible")}function la(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var n=e._R(e.length-e.l,"utf8"),r={};return n.replace(me,(function(e){var n=ye(e);switch(we(n[0])){case"<?xml":case"<encryption":case"</encryption>":case"</keyEncryptors>":case"</keyEncryptor>":break;case"<keyData":t.forEach((function(e){r[e]=n[e]}));break;case"<dataIntegrity":r.encryptedHmacKey=n.encryptedHmacKey,r.encryptedHmacValue=n.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":r.encs=[];break;case"<keyEncryptor":r.uri=n.uri;break;case"<encryptedKey":r.encs.push(n);break;default:throw n[0]}})),r}function ca(e){var t,n,r=0,i=ea(e),a=i.length+1;for((t=v(a))[0]=i.length,n=1;n!=a;++n)t[n]=i[n-1];for(n=a-1;n>=0;--n)r=((0==(16384&r)?0:1)|r<<1&32767)^t[n];return 52811^r}var ua=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],n=[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],r=function(e,t){return function(e){return 255&(e/2|128*e)}(e^t)},i=function(e){for(var r=t[e.length-1],i=104,a=e.length-1;a>=0;--a)for(var o=e[a],s=0;7!=s;++s)64&o&&(r^=n[i]),o*=2,--i;return r};return function(t){for(var n,a,o,s=ea(t),l=i(s),c=s.length,u=v(16),f=0;16!=f;++f)u[f]=0;for(1==(1&c)&&(n=l>>8,u[c]=r(e[0],n),--c,n=255&l,a=s[s.length-1],u[c]=r(a,n));c>0;)n=l>>8,u[--c]=r(s[c],n),n=255&l,u[--c]=r(s[c],n);for(c=15,o=15-s.length;o>0;)n=l>>8,u[c]=r(e[o],n),--o,n=255&l,u[--c]=r(s[c],n),--c,--o;return u}}(),fa=function(e){var t=0,n=ua(e);return function(e){var r=function(e,t,n,r,i){var a,o;for(i||(i=t),r||(r=ua(e)),a=0;a!=t.length;++a)o=t[a],o=255&((o^=r[n])>>5|o<<3),i[a]=o,++n;return[i,n,r]}("",e,t,n);return t=r[1],r[0]}};function ha(e,t,n){var r=n||{};return r.Info=e._R(2),e.l-=2,1===r.Info?r.Data=function(e){var t={},n=t.EncryptionVersionInfo=ta(e,4);if(1!=n.Major||1!=n.Minor)throw"unrecognized version code "+n.Major+" : "+n.Minor;return t.Salt=e._R(16),t.EncryptedVerifier=e._R(16),t.EncryptedVerifierHash=e._R(16),t}(e):r.Data=function(e,t){var n={},r=n.EncryptionVersionInfo=ta(e,4);if(t-=4,2!=r.Minor)throw new Error("unrecognized minor version code: "+r.Minor);if(r.Major>4||r.Major<2)throw new Error("unrecognized major version code: "+r.Major);n.Flags=e._R(4),t-=4;var i=e._R(4);return t-=4,n.EncryptionHeader=ia(e,i),t-=i,n.EncryptionVerifier=aa(e,t),n}(e,t),r}var da=function(){function e(e,n){switch(n.type){case"base64":return t(d.decode(e),n);case"binary":return t(e,n);case"buffer":return t(p&&Buffer.isBuffer(e)?e.toString("binary"):S(e),n);case"array":return t(J(e),n)}throw new Error("Unrecognized type "+n.type)}function t(e,t){var n=(t||{}).dense?[]:{},r=e.match(/\\trowd.*?\\row\b/g);if(!r.length)throw new Error("RTF missing table");var i={s:{c:0,r:0},e:{c:0,r:r.length-1}};return r.forEach((function(e,t){Array.isArray(n)&&(n[t]=[]);for(var r,a=/\\\w+\b/g,o=0,s=-1;r=a.exec(e);){if("\\cell"===r[0]){var l=e.slice(o,a.lastIndex-r[0].length);if(" "==l[0]&&(l=l.slice(1)),++s,l.length){var c={v:l,t:"s"};Array.isArray(n)?n[t][s]=c:n[Yt({r:t,c:s})]=c}}o=a.lastIndex}s>i.e.c&&(i.e.c=s)})),n["!ref"]=Jt(i),n}return{to_workbook:function(t,n){return tn(e(t,n),n)},to_sheet:e,from_sheet:function(e){for(var t,n=["{\\rtf1\\ansi"],r=Zt(e["!ref"]),i=Array.isArray(e),a=r.s.r;a<=r.e.r;++a){n.push("\\trowd\\trautofit1");for(var o=r.s.c;o<=r.e.c;++o)n.push("\\cellx"+(o+1));for(n.push("\\pard\\intbl"),o=r.s.c;o<=r.e.c;++o){var s=Yt({r:a,c:o});(t=i?(e[a]||[])[o]:e[s])&&(null!=t.v||t.f&&!t.F)&&(n.push(" "+(t.w||(en(t),t.w))),n.push("\\cell"))}n.push("\\pard\\intbl\\row")}return n.join("")+"}"}}}();function pa(e){for(var t=0,n=1;3!=t;++t)n=256*n+(e[t]>255?255:e[t]<0?0:e[t]);return n.toString(16).toUpperCase().slice(1)}function ga(e,t){if(0===t)return e;var n=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(t,n,r),a=Math.min(t,n,r),o=i-a;if(0===o)return[0,0,t];var s,l=0,c=i+a;switch(s=o/(c>1?2-c:c),i){case t:l=((n-r)/o+6)%6;break;case n:l=(r-t)/o+2;break;case r:l=(t-n)/o+4}return[l/6,s,c/2]}(function(e){var t=e.slice("#"===e[0]?1:0).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}(e));return n[2]=t<0?n[2]*(1+t):1-(1-n[2])*(1-t),pa(function(e){var t,n=e[0],r=e[1],i=e[2],a=2*r*(i<.5?i:1-i),o=i-a/2,s=[o,o,o],l=6*n;if(0!==r)switch(0|l){case 0:case 6:t=a*l,s[0]+=a,s[1]+=t;break;case 1:t=a*(2-l),s[0]+=t,s[1]+=a;break;case 2:t=a*(l-2),s[1]+=a,s[2]+=t;break;case 3:t=a*(4-l),s[1]+=t,s[2]+=a;break;case 4:t=a*(l-4),s[2]+=a,s[0]+=t;break;case 5:t=a*(6-l),s[2]+=t,s[0]+=a}for(var c=0;3!=c;++c)s[c]=Math.round(255*s[c]);return s}(n))}var ma=6;function va(e){return Math.floor((e+Math.round(128/ma)/256)*ma)}function ba(e){return Math.floor((e-5)/ma*100+.5)/100}function ya(e){return Math.round((e*ma+5)/ma*256)/256}function wa(e){return ya(ba(va(e)))}function Sa(e){var t=Math.abs(e-wa(e)),n=ma;if(t>.005)for(ma=1;ma<15;++ma)Math.abs(e-wa(e))<=t&&(t=Math.abs(e-wa(e)),n=ma);ma=n}function xa(e){e.width?(e.wpx=va(e.width),e.wch=ba(e.wpx),e.MDW=ma):e.wpx?(e.wch=ba(e.wpx),e.width=ya(e.wch),e.MDW=ma):"number"==typeof e.wch&&(e.width=ya(e.wch),e.wpx=va(e.width),e.MDW=ma),e.customWidth&&delete e.customWidth}function Ea(e){return 96*e/96}function _a(e){return 96*e/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 Ca(e,t,n,r){t.Fonts=[];var i={},o=!1;(e[0].match(me)||[]).forEach((function(e){var s=ye(e);switch(we(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/>":t.Fonts.push(i),i={};break;case"<name":s.val&&(i.name=Oe(s.val));break;case"<b":i.bold=s.val?Be(s.val):1;break;case"<b/>":i.bold=1;break;case"<i":i.italic=s.val?Be(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?Be(s.val):1;break;case"<strike/>":i.strike=1;break;case"<outline":i.outline=s.val?Be(s.val):1;break;case"<outline/>":i.outline=1;break;case"<shadow":i.shadow=s.val?Be(s.val):1;break;case"<shadow/>":i.shadow=1;break;case"<condense":i.condense=s.val?Be(s.val):1;break;case"<condense/>":i.condense=1;break;case"<extend":i.extend=s.val?Be(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=a[parseInt(s.val,10)];break;case"<color":if(i.color||(i.color={}),s.auto&&(i.color.auto=Be(s.auto)),s.rgb)i.color.rgb=s.rgb.slice(-6);else if(s.indexed){i.color.index=parseInt(s.indexed,10);var l=Un[i.color.index];81==i.color.index&&(l=Un[1]),l||(l=Un[1]),i.color.rgb=l[0].toString(16)+l[1].toString(16)+l[2].toString(16)}else s.theme&&(i.color.theme=parseInt(s.theme,10),s.tint&&(i.color.tint=parseFloat(s.tint)),s.theme&&n.themeElements&&n.themeElements.clrScheme&&(i.color.rgb=ga(n.themeElements.clrScheme[i.color.theme].rgb,i.color.tint||0)));break;case"<AlternateContent":case"<ext":o=!0;break;case"</AlternateContent>":case"</ext>":o=!1;break;default:if(r&&r.WTF&&!o)throw new Error("unrecognized "+s[0]+" in fonts")}}))}var ka=["numFmtId","fillId","fontId","borderId","xfId"],Ta=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];var Ra=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,t=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,n=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,r=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,i=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(a,o,s){var l,c={};return a?((l=(a=a.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"")).match(e))&&function(e,t,n){t.NumberFmt=[];for(var r=F(C._table),i=0;i<r.length;++i)t.NumberFmt[r[i]]=C._table[r[i]];var a=e[0].match(me);if(a)for(i=0;i<a.length;++i){var o=ye(a[i]);switch(we(o[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":case"</numFmt>":break;case"<numFmt":var s=Ee(Oe(o.formatCode)),l=parseInt(o.numFmtId,10);if(t.NumberFmt[l]=s,l>0){if(l>392){for(l=392;l>60&&null!=t.NumberFmt[l];--l);t.NumberFmt[l]=s}C.load(s,l)}break;default:if(n.WTF)throw new Error("unrecognized "+o[0]+" in numFmts")}}}(l,c,s),(l=a.match(r))&&Ca(l,c,o,s),(l=a.match(n))&&function(e,t,n,r){t.Fills=[];var i={},a=!1;(e[0].match(me)||[]).forEach((function(e){var n=ye(e);switch(we(n[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={},t.Fills.push(i);break;case"<gradientFill":case"</gradientFill>":t.Fills.push(i),i={};break;case"<patternFill":case"<patternFill>":n.patternType&&(i.patternType=n.patternType);break;case"<bgColor":i.bgColor||(i.bgColor={}),n.indexed&&(i.bgColor.indexed=parseInt(n.indexed,10)),n.theme&&(i.bgColor.theme=parseInt(n.theme,10)),n.tint&&(i.bgColor.tint=parseFloat(n.tint)),n.rgb&&(i.bgColor.rgb=n.rgb.slice(-6));break;case"<fgColor":i.fgColor||(i.fgColor={}),n.theme&&(i.fgColor.theme=parseInt(n.theme,10)),n.tint&&(i.fgColor.tint=parseFloat(n.tint)),null!=n.rgb&&(i.fgColor.rgb=n.rgb.slice(-6));break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(r&&r.WTF&&!a)throw new Error("unrecognized "+n[0]+" in fills")}}))}(l,c,0,s),(l=a.match(i))&&function(e,t,n,r){t.Borders=[];var i={},a=!1;(e[0].match(me)||[]).forEach((function(e){var n=ye(e);switch(we(n[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={},n.diagonalUp&&(i.diagonalUp=Be(n.diagonalUp)),n.diagonalDown&&(i.diagonalDown=Be(n.diagonalDown)),t.Borders.push(i);break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(r&&r.WTF&&!a)throw new Error("unrecognized "+n[0]+" in borders")}}))}(l,c,0,s),(l=a.match(t))&&function(e,t,n){var r;t.CellXf=[];var i=!1;(e[0].match(me)||[]).forEach((function(e){var a=ye(e),o=0;switch(we(a[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(r=a)[0],o=0;o<ka.length;++o)r[ka[o]]&&(r[ka[o]]=parseInt(r[ka[o]],10));for(o=0;o<Ta.length;++o)r[Ta[o]]&&(r[Ta[o]]=Be(r[Ta[o]]));if(t.NumberFmt&&r.numFmtId>392)for(o=392;o>60;--o)if(t.NumberFmt[r.numFmtId]==t.NumberFmt[o]){r.numFmtId=o;break}t.CellXf.push(r);break;case"<alignment":case"<alignment/>":var s={};a.vertical&&(s.vertical=a.vertical),a.horizontal&&(s.horizontal=a.horizontal),null!=a.textRotation&&(s.textRotation=a.textRotation),a.indent&&(s.indent=a.indent),a.wrapText&&(s.wrapText=Be(a.wrapText)),r.alignment=s;break;case"<AlternateContent":case"<ext":i=!0;break;case"</AlternateContent>":case"</ext>":i=!1;break;default:if(n&&n.WTF&&!i)throw new Error("unrecognized "+a[0]+" in cellXfs")}}))}(l,c,s),c):c}}(),Na=Xe("styleSheet",null,{xmlns:Ye.main[0],"xmlns:vt":Ye.vt});function Ia(e,t){var n,r=[pe,Na];return e.SSF&&null!=(n=function(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach((function(n){for(var r=n[0];r<=n[1];++r)null!=e[r]&&(t[t.length]=Xe("numFmt",null,{numFmtId:r,formatCode:Ce(e[r])}))})),1===t.length?"":(t[t.length]="</numFmts>",t[0]=Xe("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(e.SSF))&&(r[r.length]=n),r[r.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',r[r.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',r[r.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',r[r.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(n=function(e){var t=[];return t[t.length]=Xe("cellXfs",null),e.forEach((function(e){t[t.length]=Xe("xf",null,e)})),t[t.length]="</cellXfs>",2===t.length?"":(t[0]=Xe("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(t.cellXfs))&&(r[r.length]=n),r[r.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',r[r.length]='<dxfs count="0"/>',r[r.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',r.length>2&&(r[r.length]="</styleSheet>",r[1]=r[1].replace("/>",">")),r.join("")}function Ba(e,t,n){n||(n=Ft(6+4*t.length)),n._W(2,e),sn(t,n);var r=n.length>n.l?n.slice(0,n.l):n;return null==n.l&&(n.l=n.length),r}function Oa(e,t){t||(t=Ft(153)),t._W(2,20*e.sz),function(e,t){t||(t=Ft(2));var n=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);t._W(1,n),t._W(1,0)}(e,t),t._W(2,e.bold?700:400);var n=0;"superscript"==e.vertAlign?n=1:"subscript"==e.vertAlign&&(n=2),t._W(2,n),t._W(1,e.underline||0),t._W(1,e.family||0),t._W(1,e.charset||0),t._W(1,0),Nn(e.color,t);var r=0;return"major"==e.scheme&&(r=1),"minor"==e.scheme&&(r=2),t._W(1,r),sn(e.name,t),t.length>t.l?t.slice(0,t.l):t}Yn.STY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles";var Pa=M(["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"]),La=Lt;function Fa(e,t){t||(t=Ft(84));var n=Pa[e.patternType];null==n&&(n=40),t._W(4,n);var r=0;if(40!=n)for(Nn({auto:1},t),Nn({auto:1},t);r<12;++r)t._W(4,0);else{for(;r<4;++r)t._W(4,0);for(;r<12;++r)t._W(4,0)}return t.length>t.l?t.slice(0,t.l):t}function Da(e,t,n){n||(n=Ft(16)),n._W(2,t||0),n._W(2,e.numFmtId||0),n._W(2,0),n._W(2,0),n._W(2,0),n._W(1,0),n._W(1,0);return n._W(1,0),n._W(1,0),n._W(1,0),n._W(1,0),n}function Ma(e,t){return t||(t=Ft(10)),t._W(1,0),t._W(1,0),t._W(4,0),t._W(4,0),t}var ja=Lt;function Wa(e){jt(e,"BrtBeginBorders",an(1)),jt(e,"BrtBorder",function(e,t){return t||(t=Ft(51)),t._W(1,0),Ma(0,t),Ma(0,t),Ma(0,t),Ma(0,t),Ma(0,t),t.length>t.l?t.slice(0,t.l):t}()),jt(e,"BrtEndBorders")}function Ua(e){jt(e,"BrtBeginStyles",an(1)),jt(e,"BrtStyle",function(e,t){return t||(t=Ft(52)),t._W(4,e.xfId),t._W(2,1),t._W(1,+e.builtinId),t._W(1,0),yn(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}({xfId:0,builtinId:0,name:"Normal"})),jt(e,"BrtEndStyles")}function za(e){jt(e,"BrtBeginTableStyles",function(e,t,n){var r=Ft(2052);return r._W(4,e),yn(t,r),yn(n,r),r.length>r.l?r.slice(0,r.l):r}(0,"TableStyleMedium9","PivotStyleMedium4")),jt(e,"BrtEndTableStyles")}function Ha(e,t){var n=Mt();return jt(n,"BrtBeginStyleSheet"),function(e,t){if(t){var n=0;[[5,8],[23,26],[41,44],[50,392]].forEach((function(e){for(var r=e[0];r<=e[1];++r)null!=t[r]&&++n})),0!=n&&(jt(e,"BrtBeginFmts",an(n)),[[5,8],[23,26],[41,44],[50,392]].forEach((function(n){for(var r=n[0];r<=n[1];++r)null!=t[r]&&jt(e,"BrtFmt",Ba(r,t[r]))})),jt(e,"BrtEndFmts"))}}(n,e.SSF),function(e){jt(e,"BrtBeginFonts",an(1)),jt(e,"BrtFont",Oa({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),jt(e,"BrtEndFonts")}(n),function(e){jt(e,"BrtBeginFills",an(2)),jt(e,"BrtFill",Fa({patternType:"none"})),jt(e,"BrtFill",Fa({patternType:"gray125"})),jt(e,"BrtEndFills")}(n),Wa(n),function(e){jt(e,"BrtBeginCellStyleXFs",an(1)),jt(e,"BrtXF",Da({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),jt(e,"BrtEndCellStyleXFs")}(n),function(e,t){jt(e,"BrtBeginCellXFs",an(t.length)),t.forEach((function(t){jt(e,"BrtXF",Da(t,0))})),jt(e,"BrtEndCellXFs")}(n,t.cellXfs),Ua(n),function(e){jt(e,"BrtBeginDXFs",an(0)),jt(e,"BrtEndDXFs")}(n),za(n),jt(n,"BrtEndStyleSheet"),n.end()}Yn.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";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(e,t,n){t.themeElements.clrScheme=[];var r={};(e[0].match(me)||[]).forEach((function(e){var i=ye(e);switch(i[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":r.rgb=i.val;break;case"<a:sysClr":r.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)?(t.themeElements.clrScheme[Va.indexOf(i[0])]=r,r={}):r.name=i[0].slice(3,i[0].length-1);break;default:if(n&&n.WTF)throw new Error("Unrecognized "+i[0]+" in clrScheme")}}))}function Ga(){}function Xa(){}var $a=/<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(e,t){if(!e||0===e.length)return Za(Qa());var n,r={};if(!(n=e.match(Ja)))throw new Error("themeElements not found in theme");return function(e,t,n){var r;t.themeElements={},[["clrScheme",$a,qa],["fontScheme",Ya,Ga],["fmtScheme",Ka,Xa]].forEach((function(i){if(!(r=e.match(i[1])))throw new Error(i[0]+" not found in themeElements");i[2](r,t,n)}))}(n[0],r,t),r.raw=e,r}function Qa(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var n=[pe];return n[n.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',n[n.length]="<a:themeElements>",n[n.length]='<a:clrScheme name="Office">',n[n.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',n[n.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',n[n.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',n[n.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',n[n.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',n[n.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',n[n.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',n[n.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',n[n.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',n[n.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',n[n.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',n[n.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',n[n.length]="</a:clrScheme>",n[n.length]='<a:fontScheme name="Office">',n[n.length]="<a:majorFont>",n[n.length]='<a:latin typeface="Cambria"/>',n[n.length]='<a:ea typeface=""/>',n[n.length]='<a:cs typeface=""/>',n[n.length]='<a:font script="Jpan" typeface=" Pゴシック"/>',n[n.length]='<a:font script="Hang" typeface="맑은 고딕"/>',n[n.length]='<a:font script="Hans" typeface="宋体"/>',n[n.length]='<a:font script="Hant" typeface="新細明體"/>',n[n.length]='<a:font script="Arab" typeface="Times New Roman"/>',n[n.length]='<a:font script="Hebr" typeface="Times New Roman"/>',n[n.length]='<a:font script="Thai" typeface="Tahoma"/>',n[n.length]='<a:font script="Ethi" typeface="Nyala"/>',n[n.length]='<a:font script="Beng" typeface="Vrinda"/>',n[n.length]='<a:font script="Gujr" typeface="Shruti"/>',n[n.length]='<a:font script="Khmr" typeface="MoolBoran"/>',n[n.length]='<a:font script="Knda" typeface="Tunga"/>',n[n.length]='<a:font script="Guru" typeface="Raavi"/>',n[n.length]='<a:font script="Cans" typeface="Euphemia"/>',n[n.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',n[n.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',n[n.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',n[n.length]='<a:font script="Thaa" typeface="MV Boli"/>',n[n.length]='<a:font script="Deva" typeface="Mangal"/>',n[n.length]='<a:font script="Telu" typeface="Gautami"/>',n[n.length]='<a:font script="Taml" typeface="Latha"/>',n[n.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',n[n.length]='<a:font script="Orya" typeface="Kalinga"/>',n[n.length]='<a:font script="Mlym" typeface="Kartika"/>',n[n.length]='<a:font script="Laoo" typeface="DokChampa"/>',n[n.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',n[n.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',n[n.length]='<a:font script="Viet" typeface="Times New Roman"/>',n[n.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',n[n.length]='<a:font script="Geor" typeface="Sylfaen"/>',n[n.length]="</a:majorFont>",n[n.length]="<a:minorFont>",n[n.length]='<a:latin typeface="Calibri"/>',n[n.length]='<a:ea typeface=""/>',n[n.length]='<a:cs typeface=""/>',n[n.length]='<a:font script="Jpan" typeface=" Pゴシック"/>',n[n.length]='<a:font script="Hang" typeface="맑은 고딕"/>',n[n.length]='<a:font script="Hans" typeface="宋体"/>',n[n.length]='<a:font script="Hant" typeface="新細明體"/>',n[n.length]='<a:font script="Arab" typeface="Arial"/>',n[n.length]='<a:font script="Hebr" typeface="Arial"/>',n[n.length]='<a:font script="Thai" typeface="Tahoma"/>',n[n.length]='<a:font script="Ethi" typeface="Nyala"/>',n[n.length]='<a:font script="Beng" typeface="Vrinda"/>',n[n.length]='<a:font script="Gujr" typeface="Shruti"/>',n[n.length]='<a:font script="Khmr" typeface="DaunPenh"/>',n[n.length]='<a:font script="Knda" typeface="Tunga"/>',n[n.length]='<a:font script="Guru" typeface="Raavi"/>',n[n.length]='<a:font script="Cans" typeface="Euphemia"/>',n[n.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',n[n.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',n[n.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',n[n.length]='<a:font script="Thaa" typeface="MV Boli"/>',n[n.length]='<a:font script="Deva" typeface="Mangal"/>',n[n.length]='<a:font script="Telu" typeface="Gautami"/>',n[n.length]='<a:font script="Taml" typeface="Latha"/>',n[n.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',n[n.length]='<a:font script="Orya" typeface="Kalinga"/>',n[n.length]='<a:font script="Mlym" typeface="Kartika"/>',n[n.length]='<a:font script="Laoo" typeface="DokChampa"/>',n[n.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',n[n.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',n[n.length]='<a:font script="Viet" typeface="Arial"/>',n[n.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',n[n.length]='<a:font script="Geor" typeface="Sylfaen"/>',n[n.length]="</a:minorFont>",n[n.length]="</a:fontScheme>",n[n.length]='<a:fmtScheme name="Office">',n[n.length]="<a:fillStyleLst>",n[n.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:lin ang="16200000" scaled="1"/>',n[n.length]="</a:gradFill>",n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.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>',n[n.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>',n[n.length]="</a:gsLst>",n[n.length]='<a:lin ang="16200000" scaled="0"/>',n[n.length]="</a:gradFill>",n[n.length]="</a:fillStyleLst>",n[n.length]="<a:lnStyleLst>",n[n.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>',n[n.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>',n[n.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>',n[n.length]="</a:lnStyleLst>",n[n.length]="<a:effectStyleLst>",n[n.length]="<a:effectStyle>",n[n.length]="<a:effectLst>",n[n.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',n[n.length]="</a:effectLst>",n[n.length]="</a:effectStyle>",n[n.length]="<a:effectStyle>",n[n.length]="<a:effectLst>",n[n.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',n[n.length]="</a:effectLst>",n[n.length]="</a:effectStyle>",n[n.length]="<a:effectStyle>",n[n.length]="<a:effectLst>",n[n.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',n[n.length]="</a:effectLst>",n[n.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>',n[n.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',n[n.length]="</a:effectStyle>",n[n.length]="</a:effectStyleLst>",n[n.length]="<a:bgFillStyleLst>",n[n.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.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>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',n[n.length]="</a:gradFill>",n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',n[n.length]="</a:gradFill>",n[n.length]="</a:bgFillStyleLst>",n[n.length]="</a:fmtScheme>",n[n.length]="</a:themeElements>",n[n.length]="<a:objectDefaults>",n[n.length]="<a:spDef>",n[n.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>',n[n.length]="</a:spDef>",n[n.length]="<a:lnDef>",n[n.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>',n[n.length]="</a:lnDef>",n[n.length]="</a:objectDefaults>",n[n.length]="<a:extraClrSchemeLst/>",n[n.length]="</a:theme>",n.join("")}function eo(e){var t={};switch(t.xclrType=e._R(2),t.nTintShade=e._R(2),t.xclrType){case 0:case 4:e.l+=4;break;case 1:t.xclrValue=function(e,t){return Lt(e,t)}(e,4);break;case 2:t.xclrValue=Qr(e);break;case 3:t.xclrValue=function(e){return e._R(4)}(e)}return e.l+=8,t}function to(e){var t=e._R(2),n=e._R(2)-4,r=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:r[1]=eo(e);break;case 6:r[1]=function(e,t){return Lt(e,t)}(e,n);break;case 14:case 15:r[1]=e._R(1===n?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+n)}return r}function no(e,t){t.forEach((function(e){e[0]}))}Yn.IMG="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Yn.DRAW="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";var ro=1024;function io(e,t){for(var n=[21600,21600],r=["m0,0l0",n[1],n[0],n[1],n[0],"0xe"].join(","),i=[Xe("xml",null,{"xmlns:v":tt,"xmlns:o":Ke,"xmlns:x":Je,"xmlns:mv":et}).replace(/\/>/,">"),Xe("o:shapelayout",Xe("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Xe("v:shapetype",[Xe("v:stroke",null,{joinstyle:"miter"}),Xe("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:n.join(","),path:r})];ro<1e3*e;)ro+=1e3;return t.forEach((function(e){var t=$t(e[0]),n={color2:"#BEFF82",type:"gradient"};"gradient"==n.type&&(n.angle="-180");var r="gradient"==n.type?Xe("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,a=Xe("v:fill",r,n);++ro,i=i.concat(["<v:shape"+Ge({id:"_x0000_s"+ro,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",a,Xe("v:shadow",null,{on:"t",obscured:"t"}),Xe("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",qe("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),qe("x:AutoFill","False"),qe("x:Row",String(t.r)),qe("x:Column",String(t.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])})),i.push("</xml>"),i.join("")}Yn.CMNT="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";var ao=Xe("comments",null,{xmlns:Ye.main[0]});function oo(e){var t=[pe,ao],n=[];return t.push("<authors>"),e.forEach((function(e){e[1].forEach((function(e){var r=Ce(e.a);n.indexOf(r)>-1||(n.push(r),t.push("<author>"+r+"</author>"))}))})),t.push("</authors>"),t.push("<commentList>"),e.forEach((function(e){e[1].forEach((function(r){t.push('<comment ref="'+e[0]+'" authorId="'+n.indexOf(Ce(r.a))+'"><text>'),t.push(qe("t",null==r.t?"":Ce(r.t))),t.push("</text></comment>")}))})),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}var so=on;function lo(e){var t=Mt(),n=[];return jt(t,"BrtBeginComments"),jt(t,"BrtBeginCommentAuthors"),e.forEach((function(e){e[1].forEach((function(e){n.indexOf(e.a)>-1||(n.push(e.a.slice(0,54)),jt(t,"BrtCommentAuthor",function(e){return sn(e.slice(0,54))}(e.a)))}))})),jt(t,"BrtEndCommentAuthors"),jt(t,"BrtBeginCommentList"),e.forEach((function(e){e[1].forEach((function(r){r.iauthor=n.indexOf(r.a);var i={s:$t(e[0]),e:$t(e[0])};jt(t,"BrtBeginComment",function(e,t){return null==t&&(t=Ft(36)),t._W(4,e[1].iauthor),kn(e[0],t),t._W(4,0),t._W(4,0),t._W(4,0),t._W(4,0),t}([i,r])),r.t&&r.t.length>0&&jt(t,"BrtCommentText",fn(r)),jt(t,"BrtEndComment"),delete r.iauthor}))})),jt(t,"BrtEndCommentList"),jt(t,"BrtEndComments"),t.end()}var co=["xlsb","xlsm","xlam","biff8","xla"];Yn.DS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",Yn.MS="http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet";var uo=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function n(e,n,r,i){var a=!1,o=!1;0==r.length?o=!0:"["==r.charAt(0)&&(o=!0,r=r.slice(1,-1)),0==i.length?a=!0:"["==i.charAt(0)&&(a=!0,i=i.slice(1,-1));var s=r.length>0?0|parseInt(r,10):0,l=i.length>0?0|parseInt(i,10):0;return a?l+=t.c:--l,o?s+=t.r:--s,n+(a?"":"$")+Xt(l)+(o?"":"$")+qt(s)}return function(r,i){return t=i,r.replace(e,n)}}(),fo=/(^|[^._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,ho=function(e,t){return e.replace(fo,(function(e,n,r,i,a,o){var s=Gt(i)-(r?0:t.c),l=Vt(o)-(a?0:t.r);return n+"R"+(0==l?"":a?l+1:"["+l+"]")+"C"+(0==s?"":r?s+1:"["+s+"]")}))};function po(e,t){return e.replace(fo,(function(e,n,r,i,a,o){return n+("$"==r?r+i:Xt(Gt(i)+t.c))+("$"==a?a+o:qt(Vt(o)+t.r))}))}function go(e,t,n){var r=Kt(t).s,i=$t(n);return po(e,{r:i.r-r.r,c:i.c-r.c})}function mo(e){return e.replace(/_xlfn\./g,"")}function vo(e){e.l+=1}function bo(e,t){var n=e._R(1==t?1:2);return[16383&n,n>>14&1,n>>15&1]}function yo(e,t,n){var r=2;if(n){if(n.biff>=2&&n.biff<=5)return wo(e);12==n.biff&&(r=4)}var i=e._R(r),a=e._R(r),o=bo(e,2),s=bo(e,2);return{s:{r:i,c:o[0],cRel:o[1],rRel:o[2]},e:{r:a,c:s[0],cRel:s[1],rRel:s[2]}}}function wo(e){var t=bo(e,2),n=bo(e,2),r=e._R(1),i=e._R(1);return{s:{r:t[0],c:r,cRel:t[1],rRel:t[2]},e:{r:n[0],c:i,cRel:n[1],rRel:n[2]}}}function So(e,t,n){if(n&&n.biff>=2&&n.biff<=5)return function(e){var t=bo(e,2),n=e._R(1);return{r:t[0],c:n,cRel:t[1],rRel:t[2]}}(e);var r=e._R(n&&12==n.biff?4:2),i=bo(e,2);return{r:r,c:i[0],cRel:i[1],rRel:i[2]}}function xo(e){var t=e._R(2),n=e._R(2);return{r:t,c:255&n,fQuoted:!!(16384&n),cRel:n>>15,rRel:n>>15}}function Eo(e){return[e._R(1),e._R(1)]}function _o(e,t){var n=[e._R(1)];if(12==t)switch(n[0]){case 2:n[0]=4;break;case 4:n[0]=16;break;case 0:n[0]=1;break;case 1:n[0]=2}switch(n[0]){case 4:n[1]=Fr(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:n[1]=zn[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:n[1]=Tn(e);break;case 2:n[1]=Xr(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+n[0])}return n}function Ao(e,t,n){for(var r=e._R(12==n.biff?4:2),i=[],a=0;a!=r;++a)i.push((12==n.biff?Cn:ai)(e,8));return i}function Co(e,t,n){var r=0,i=0;12==n.biff?(r=e._R(4),i=e._R(4)):(i=1+e._R(1),r=1+e._R(2)),n.biff>=2&&n.biff<8&&(--r,0==--i&&(i=256));for(var a=0,o=[];a!=r&&(o[a]=[]);++a)for(var s=0;s!=i;++s)o[a][s]=_o(e,n.biff);return o}function ko(e,t,n){return e.l+=2,[xo(e)]}function To(e){return e.l+=6,[]}var Ro=ko,No=To,Io=To,Bo=ko;function Oo(e){return e.l+=2,[Mr(e),1&e._R(2)]}var Po=ko,Lo=Oo,Fo=To,Do=ko,Mo=ko,jo=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];var Wo={1:{n:"PtgExp",f:function(e,t,n){return e.l++,n&&12==n.biff?[e._R(4,"i"),0]:[e._R(2),e._R(n&&2==n.biff?1:2)]}},2:{n:"PtgTbl",f:Lt},3:{n:"PtgAdd",f:vo},4:{n:"PtgSub",f:vo},5:{n:"PtgMul",f:vo},6:{n:"PtgDiv",f:vo},7:{n:"PtgPower",f:vo},8:{n:"PtgConcat",f:vo},9:{n:"PtgLt",f:vo},10:{n:"PtgLe",f:vo},11:{n:"PtgEq",f:vo},12:{n:"PtgGe",f:vo},13:{n:"PtgGt",f:vo},14:{n:"PtgNe",f:vo},15:{n:"PtgIsect",f:vo},16:{n:"PtgUnion",f:vo},17:{n:"PtgRange",f:vo},18:{n:"PtgUplus",f:vo},19:{n:"PtgUminus",f:vo},20:{n:"PtgPercent",f:vo},21:{n:"PtgParen",f:vo},22:{n:"PtgMissArg",f:vo},23:{n:"PtgStr",f:function(e,t,n){return e.l++,zr(e,0,n)}},26:{n:"PtgSheet",f:function(e,t,n){return e.l+=5,e.l+=2,e.l+=2==n.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function(e,t,n){return e.l+=2==n.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function(e){return e.l++,zn[e._R(1)]}},29:{n:"PtgBool",f:function(e){return e.l++,0!==e._R(1)}},30:{n:"PtgInt",f:function(e){return e.l++,e._R(2)}},31:{n:"PtgNum",f:function(e){return e.l++,Tn(e)}},32:{n:"PtgArray",f:function(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=2==n.biff?6:12==n.biff?14:7,[r]}},33:{n:"PtgFunc",f:function(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=e._R(n&&n.biff<=3?1:2);return[cs[i],ls[i],r]}},34:{n:"PtgFuncVar",f:function(e,t,n){var r=e[e.l++],i=e._R(1),a=n&&n.biff<=3?[88==r?-1:0,e._R(1)]:function(e){return[e[e.l+1]>>7,32767&e._R(2)]}(e);return[i,(0===a[0]?ls:ss)[a[1]]]}},35:{n:"PtgName",f:function(e,t,n){var r=e._R(1)>>>5&3,i=!n||n.biff>=8?4:2,a=e._R(i);switch(n.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[r,0,a]}},36:{n:"PtgRef",f:function(e,t,n){var r=(96&e[e.l])>>5;return e.l+=1,[r,So(e,0,n)]}},37:{n:"PtgArea",f:function(e,t,n){return[(96&e[e.l++])>>5,yo(e,n.biff>=2&&n.biff,n)]}},38:{n:"PtgMemArea",f:function(e,t,n){var r=e._R(1)>>>5&3;return e.l+=n&&2==n.biff?3:4,[r,e._R(n&&2==n.biff?1:2)]}},39:{n:"PtgMemErr",f:Lt},40:{n:"PtgMemNoMem",f:Lt},41:{n:"PtgMemFunc",f:function(e,t,n){return[e._R(1)>>>5&3,e._R(n&&2==n.biff?1:2)]}},42:{n:"PtgRefErr",f:function(e,t,n){var r=e._R(1)>>>5&3;return e.l+=4,n.biff<8&&e.l--,12==n.biff&&(e.l+=2),[r]}},43:{n:"PtgAreaErr",f:function(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=n&&n.biff>8?12:n.biff<8?6:8,[r]}},44:{n:"PtgRefN",f:function(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=function(e,t,n){var r=n&&n.biff?n.biff:8;if(r>=2&&r<=5)return function(e){var t=e._R(2),n=e._R(1),r=(32768&t)>>15,i=(16384&t)>>14;return t&=16383,1==r&&t>=8192&&(t-=16384),1==i&&n>=128&&(n-=256),{r:t,c:n,cRel:i,rRel:r}}(e);var i=e._R(r>=12?4:2),a=e._R(2),o=(16384&a)>>14,s=(32768&a)>>15;if(a&=16383,1==s)for(;i>524287;)i-=1048576;if(1==o)for(;a>8191;)a-=16384;return{r:i,c:a,cRel:o,rRel:s}}(e,0,n);return[r,i]}},45:{n:"PtgAreaN",f:function(e,t,n){var r=(96&e[e.l++])>>5,i=function(e,t,n){if(n.biff<8)return wo(e);var r=e._R(12==n.biff?4:2),i=e._R(12==n.biff?4:2),a=bo(e,2),o=bo(e,2);return{s:{r:r,c:a[0],cRel:a[1],rRel:a[2]},e:{r:i,c:o[0],cRel:o[1],rRel:o[2]}}}(e,0,n);return[r,i]}},46:{n:"PtgMemAreaN",f:function(e){return[e._R(1)>>>5&3,e._R(2)]}},47:{n:"PtgMemNoMemN",f:function(e){return[e._R(1)>>>5&3,e._R(2)]}},57:{n:"PtgNameX",f:function(e,t,n){return 5==n.biff?function(e){var t=e._R(1)>>>5&3,n=e._R(2,"i");e.l+=8;var r=e._R(2);return e.l+=12,[t,n,r]}(e):[e._R(1)>>>5&3,e._R(2),e._R(4)]}},58:{n:"PtgRef3d",f:function(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=e._R(2);return n&&5==n.biff&&(e.l+=12),[r,i,So(e,0,n)]}},59:{n:"PtgArea3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,i=e._R(2,"i");if(n)switch(n.biff){case 5:e.l+=12,6;break;case 12:12}return[r,i,yo(e,0,n)]}},60:{n:"PtgRefErr3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,i=e._R(2),a=4;if(n)switch(n.biff){case 5:a=15;break;case 12:a=6}return e.l+=a,[r,i]}},61:{n:"PtgAreaErr3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,i=e._R(2),a=8;if(n)switch(n.biff){case 5:e.l+=12,a=6;break;case 12:a=12}return e.l+=a,[r,i]}},255:{}},Uo={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};!function(){for(var e in Uo)Wo[e]=Wo[Uo[e]]}();var zo={1:{n:"PtgElfLel",f:Oo},2:{n:"PtgElfRw",f:Do},3:{n:"PtgElfCol",f:Ro},6:{n:"PtgElfRwV",f:Mo},7:{n:"PtgElfColV",f:Bo},10:{n:"PtgElfRadical",f:Po},11:{n:"PtgElfRadicalS",f:Fo},13:{n:"PtgElfColS",f:No},15:{n:"PtgElfColSV",f:Io},16:{n:"PtgElfRadicalLel",f:Lo},25:{n:"PtgList",f:function(e){e.l+=2;var t=e._R(2),n=e._R(2),r=e._R(4),i=e._R(2),a=e._R(2);return{ixti:t,coltype:3&n,rt:jo[n>>2&31],idx:r,c:i,C:a}}},29:{n:"PtgSxName",f:function(e){return e.l+=2,[e._R(4)]}},255:{}},Ho={0:{n:"PtgAttrNoop",f:function(e){return e.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=n&&2==n.biff?3:4,[r]}},2:{n:"PtgAttrIf",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e._R(n&&2==n.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function(e,t,n){e.l+=2;for(var r=e._R(n&&2==n.biff?1:2),i=[],a=0;a<=r;++a)i.push(e._R(n&&2==n.biff?1:2));return i}},8:{n:"PtgAttrGoto",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e._R(n&&2==n.biff?1:2)]}},16:{n:"PtgAttrSum",f:function(e,t,n){e.l+=n&&2==n.biff?3:4}},32:{n:"PtgAttrBaxcel",f:function(e){var t=1&e[e.l+1];return e.l+=4,[t,1]}},64:{n:"PtgAttrSpace",f:function(e){return e._R(2),Eo(e)}},65:{n:"PtgAttrSpaceSemi",f:function(e){return e._R(2),Eo(e)}},128:{n:"PtgAttrIfError",f:function(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e._R(2)]}},255:{}};function Vo(e,t,n,r){if(r.biff<8)return Lt(e,t);for(var i=e.l+t,a=[],o=0;o!==n.length;++o)switch(n[o][0]){case"PtgArray":n[o][1]=Co(e,0,r),a.push(n[o][1]);break;case"PtgMemArea":n[o][2]=Ao(e,n[o][1],r),a.push(n[o][2]);break;case"PtgExp":r&&12==r.biff&&(n[o][1][1]=e._R(4),a.push(n[o][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+n[o][0]}return 0!==(t=i-e.l)&&a.push(Lt(e,t)),a}function qo(e,t,n){for(var r,i,a=e.l+t,o=[];a!=e.l;)t=a-e.l,i=e[e.l],r=Wo[i],24!==i&&25!==i||(r=(24===i?zo:Ho)[e[e.l+1]]),r&&r.f?o.push([r.n,r.f(e,t,n)]):Lt(e,t);return o}function Go(e){for(var t=[],n=0;n<e.length;++n){for(var r=e[n],i=[],a=0;a<r.length;++a){var o=r[a];if(o)if(2===o[0])i.push('"'+o[1].replace(/"/g,'""')+'"');else i.push(o[1]);else i.push("")}t.push(i.join(","))}return t.join(";")}Ho[33]=Ho[32];var Xo={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"},$o=new RegExp(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/);function Yo(e,t,n){if(!e)return"SH33TJSERR0";if(n.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var r=e.XTI[t];if(n.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!r)return"SH33TJSERR1";var i="";if(n.biff>8)switch(e[r[0]][0]){case 357:return i=-1==r[1]?"#REF":e.SheetNames[r[1]],r[1]==r[2]?i:i+":"+e.SheetNames[r[2]];case 358:return null!=n.SID?e.SheetNames[n.SID]:"SH33TJSSAME"+e[r[0]][0];default:return"SH33TJSSRC"+e[r[0]][0]}switch(e[r[0]][0][0]){case 1025:return i=-1==r[1]?"#REF":e.SheetNames[r[1]]||"SH33TJSERR3",r[1]==r[2]?i:i+":"+e.SheetNames[r[2]];case 14849:return e[r[0]].slice(1).map((function(e){return e.Name})).join(";;");default:return e[r[0]][0][3]?(i=-1==r[1]?"#REF":e[r[0]][0][3][r[1]]||"SH33TJSERR4",r[1]==r[2]?i:i+":"+e[r[0]][0][3][r[2]]):"SH33TJSERR2"}}function Ko(e,t,n){var r=Yo(e,t,n);return"#REF"==r?r:function(e,t){if(!(e||t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return $o.test(e)?"'"+e+"'":e}(r,n)}function Jo(e,t,n,r,i){var a,o,s,l,c=i&&i.biff||8,u={s:{c:0,r:0},e:{c:0,r:0}},f=[],h=0,d=0,p="";if(!e[0]||!e[0][0])return"";for(var g=-1,m="",v=0,b=e[0].length;v<b;++v){var y=e[0][v];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(a=f.pop(),o=f.pop(),g>=0){switch(e[0][g][1][0]){case 0:m=Q(" ",e[0][g][1][1]);break;case 1:m=Q("\r",e[0][g][1][1]);break;default:if(m="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}o+=m,g=-1}f.push(o+Xo[y[0]]+a);break;case"PtgIsect":a=f.pop(),o=f.pop(),f.push(o+" "+a);break;case"PtgUnion":a=f.pop(),o=f.pop(),f.push(o+","+a);break;case"PtgRange":a=f.pop(),o=f.pop(),f.push(o+":"+a);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=Wt(y[1][1],u,i),f.push(zt(s,c));break;case"PtgRefN":s=n?Wt(y[1][1],n,i):y[1][1],f.push(zt(s,c));break;case"PtgRef3d":h=y[1][1],s=Wt(y[1][2],u,i);p=Ko(r,h,i);f.push(p+"!"+zt(s,c));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":l=Ut(y[1][1],n?{s:n}:u,i),f.push(Ht(l,i));break;case"PtgArea":l=Ut(y[1][1],u,i),f.push(Ht(l,i));break;case"PtgArea3d":h=y[1][1],l=y[1][2],p=Ko(r,h,i),f.push(p+"!"+Ht(l,i));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgName":d=y[1][2];var E=(r.names||[])[d-1]||(r[0]||[])[d],_=E?E.Name:"SH33TJSNAME"+String(d);_ in us&&(_=us[_]),f.push(_);break;case"PtgNameX":var A,C=y[1][1];if(d=y[1][2],!(i.biff<=5)){var k="";if(14849==((r[C]||[])[0]||[])[0]||(1025==((r[C]||[])[0]||[])[0]?r[C][d]&&r[C][d].itab>0&&(k=r.SheetNames[r[C][d].itab-1]+"!"):k=r.SheetNames[d-1]+"!"),r[C]&&r[C][d])k+=r[C][d].Name;else if(r[0]&&r[0][d])k+=r[0][d].Name;else{var T=(Yo(r,C,i)||"").split(";;");T[d-1]?k=T[d-1]:k+="SH33TJSERRX"}f.push(k);break}C<0&&(C=-C),r[C]&&(A=r[C][d]),A||(A={Name:"SH33TJSERRY"}),f.push(A.Name);break;case"PtgParen":var R="(",N=")";if(g>=0){switch(m="",e[0][g][1][0]){case 2:R=Q(" ",e[0][g][1][1])+R;break;case 3:R=Q("\r",e[0][g][1][1])+R;break;case 4:N=Q(" ",e[0][g][1][1])+N;break;case 5:N=Q("\r",e[0][g][1][1])+N;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}g=-1}f.push(R+f.pop()+N);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 I={c:n.c,r:n.r};if(r.sharedf[Yt(s)]){var B=r.sharedf[Yt(s)];f.push(Jo(B,u,I,r,i))}else{var O=!1;for(a=0;a!=r.arrayf.length;++a)if(o=r.arrayf[a],!(s.c<o[0].s.c||s.c>o[0].e.c||s.r<o[0].s.r||s.r>o[0].e.r)){f.push(Jo(o[1],u,I,r,i)),O=!0;break}O||f.push(y[1])}break;case"PtgArray":f.push("{"+Go(y[1])+"}");break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":g=v;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&&g>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][v][0])){var P=!0;switch((y=e[0][g])[1][0]){case 4:P=!1;case 0:m=Q(" ",y[1][1]);break;case 5:P=!1;case 1:m=Q("\r",y[1][1]);break;default:if(m="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}f.push((P?m:"")+f.pop()+(P?"":m)),g=-1}}if(f.length>1&&i.WTF)throw new Error("bad formula stack");return f[0]}function Zo(e,t,n){var r,i=e.l+t,a=2==n.biff?1:2,o=e._R(a);if(65535==o)return[[],Lt(e,t-2)];var s=qo(e,o,n);return t!==o+a&&(r=Vo(e,t-o-a,s,n)),e.l=i,[s,r]}function Qo(e,t,n){var r,i=e.l+t,a=e._R(2),o=qo(e,a,n);return 65535==a?[[],Lt(e,t-2)]:(t!==a+2&&(r=Vo(e,i-a-2,o,n)),[o,r])}function es(e,t,n){var r=e.l+t,i=ti(e);2==n.biff&&++e.l;var a=function(e){var t;if(65535!==At(e,e.l+6))return[Tn(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=1===e[e.l+2],e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}(e),o=e._R(1);2!=n.biff&&(e._R(1),n.biff>=5&&e._R(4));var s=function(e,t,n){var r,i=e.l+t,a=2==n.biff?1:2,o=e._R(a);if(65535==o)return[[],Lt(e,t-2)];var s=qo(e,o,n);return t!==o+a&&(r=Vo(e,t-o-a,s,n)),e.l=i,[s,r]}(e,r-e.l,n);return{cell:i,val:a[0],formula:s,shared:o>>3&1,tt:a[1]}}function ts(e,t,n,r,i){var a=ni(t,n,i),o=function(e){if(null==e){var t=Ft(8);return t._W(1,3),t._W(1,0),t._W(2,0),t._W(2,0),t._W(2,65535),t}return Rn("number"==typeof e?e:0)}(e.v),s=Ft(6);s._W(2,33),s._W(4,0);for(var l=Ft(e.bf.length),c=0;c<e.bf.length;++c)l[c]=e.bf[c];return E([a,o,s,l])}function ns(e,t,n){var r=e._R(4),i=qo(e,r,n),a=e._R(4);return[i,a>0?Vo(e,a,i,n):null]}var rs=ns,is=ns,as=ns,os=ns,ss={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"},ls={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"},cs={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},us={"_xlfn.ACOT":"ACOT","_xlfn.ACOTH":"ACOTH","_xlfn.AGGREGATE":"AGGREGATE","_xlfn.ARABIC":"ARABIC","_xlfn.AVERAGEIF":"AVERAGEIF","_xlfn.AVERAGEIFS":"AVERAGEIFS","_xlfn.BASE":"BASE","_xlfn.BETA.DIST":"BETA.DIST","_xlfn.BETA.INV":"BETA.INV","_xlfn.BINOM.DIST":"BINOM.DIST","_xlfn.BINOM.DIST.RANGE":"BINOM.DIST.RANGE","_xlfn.BINOM.INV":"BINOM.INV","_xlfn.BITAND":"BITAND","_xlfn.BITLSHIFT":"BITLSHIFT","_xlfn.BITOR":"BITOR","_xlfn.BITRSHIFT":"BITRSHIFT","_xlfn.BITXOR":"BITXOR","_xlfn.CEILING.MATH":"CEILING.MATH","_xlfn.CEILING.PRECISE":"CEILING.PRECISE","_xlfn.CHISQ.DIST":"CHISQ.DIST","_xlfn.CHISQ.DIST.RT":"CHISQ.DIST.RT","_xlfn.CHISQ.INV":"CHISQ.INV","_xlfn.CHISQ.INV.RT":"CHISQ.INV.RT","_xlfn.CHISQ.TEST":"CHISQ.TEST","_xlfn.COMBINA":"COMBINA","_xlfn.CONCAT":"CONCAT","_xlfn.CONFIDENCE.NORM":"CONFIDENCE.NORM","_xlfn.CONFIDENCE.T":"CONFIDENCE.T","_xlfn.COT":"COT","_xlfn.COTH":"COTH","_xlfn.COUNTIFS":"COUNTIFS","_xlfn.COVARIANCE.P":"COVARIANCE.P","_xlfn.COVARIANCE.S":"COVARIANCE.S","_xlfn.CSC":"CSC","_xlfn.CSCH":"CSCH","_xlfn.DAYS":"DAYS","_xlfn.DECIMAL":"DECIMAL","_xlfn.ECMA.CEILING":"ECMA.CEILING","_xlfn.ERF.PRECISE":"ERF.PRECISE","_xlfn.ERFC.PRECISE":"ERFC.PRECISE","_xlfn.EXPON.DIST":"EXPON.DIST","_xlfn.F.DIST":"F.DIST","_xlfn.F.DIST.RT":"F.DIST.RT","_xlfn.F.INV":"F.INV","_xlfn.F.INV.RT":"F.INV.RT","_xlfn.F.TEST":"F.TEST","_xlfn.FILTERXML":"FILTERXML","_xlfn.FLOOR.MATH":"FLOOR.MATH","_xlfn.FLOOR.PRECISE":"FLOOR.PRECISE","_xlfn.FORECAST.ETS":"FORECAST.ETS","_xlfn.FORECAST.ETS.CONFINT":"FORECAST.ETS.CONFINT","_xlfn.FORECAST.ETS.SEASONALITY":"FORECAST.ETS.SEASONALITY","_xlfn.FORECAST.ETS.STAT":"FORECAST.ETS.STAT","_xlfn.FORECAST.LINEAR":"FORECAST.LINEAR","_xlfn.FORMULATEXT":"FORMULATEXT","_xlfn.GAMMA":"GAMMA","_xlfn.GAMMA.DIST":"GAMMA.DIST","_xlfn.GAMMA.INV":"GAMMA.INV","_xlfn.GAMMALN.PRECISE":"GAMMALN.PRECISE","_xlfn.GAUSS":"GAUSS","_xlfn.HYPGEOM.DIST":"HYPGEOM.DIST","_xlfn.IFERROR":"IFERROR","_xlfn.IFNA":"IFNA","_xlfn.IFS":"IFS","_xlfn.IMCOSH":"IMCOSH","_xlfn.IMCOT":"IMCOT","_xlfn.IMCSC":"IMCSC","_xlfn.IMCSCH":"IMCSCH","_xlfn.IMSEC":"IMSEC","_xlfn.IMSECH":"IMSECH","_xlfn.IMSINH":"IMSINH","_xlfn.IMTAN":"IMTAN","_xlfn.ISFORMULA":"ISFORMULA","_xlfn.ISO.CEILING":"ISO.CEILING","_xlfn.ISOWEEKNUM":"ISOWEEKNUM","_xlfn.LOGNORM.DIST":"LOGNORM.DIST","_xlfn.LOGNORM.INV":"LOGNORM.INV","_xlfn.MAXIFS":"MAXIFS","_xlfn.MINIFS":"MINIFS","_xlfn.MODE.MULT":"MODE.MULT","_xlfn.MODE.SNGL":"MODE.SNGL","_xlfn.MUNIT":"MUNIT","_xlfn.NEGBINOM.DIST":"NEGBINOM.DIST","_xlfn.NETWORKDAYS.INTL":"NETWORKDAYS.INTL","_xlfn.NIGBINOM":"NIGBINOM","_xlfn.NORM.DIST":"NORM.DIST","_xlfn.NORM.INV":"NORM.INV","_xlfn.NORM.S.DIST":"NORM.S.DIST","_xlfn.NORM.S.INV":"NORM.S.INV","_xlfn.NUMBERVALUE":"NUMBERVALUE","_xlfn.PDURATION":"PDURATION","_xlfn.PERCENTILE.EXC":"PERCENTILE.EXC","_xlfn.PERCENTILE.INC":"PERCENTILE.INC","_xlfn.PERCENTRANK.EXC":"PERCENTRANK.EXC","_xlfn.PERCENTRANK.INC":"PERCENTRANK.INC","_xlfn.PERMUTATIONA":"PERMUTATIONA","_xlfn.PHI":"PHI","_xlfn.POISSON.DIST":"POISSON.DIST","_xlfn.QUARTILE.EXC":"QUARTILE.EXC","_xlfn.QUARTILE.INC":"QUARTILE.INC","_xlfn.QUERYSTRING":"QUERYSTRING","_xlfn.RANK.AVG":"RANK.AVG","_xlfn.RANK.EQ":"RANK.EQ","_xlfn.RRI":"RRI","_xlfn.SEC":"SEC","_xlfn.SECH":"SECH","_xlfn.SHEET":"SHEET","_xlfn.SHEETS":"SHEETS","_xlfn.SKEW.P":"SKEW.P","_xlfn.STDEV.P":"STDEV.P","_xlfn.STDEV.S":"STDEV.S","_xlfn.SUMIFS":"SUMIFS","_xlfn.SWITCH":"SWITCH","_xlfn.T.DIST":"T.DIST","_xlfn.T.DIST.2T":"T.DIST.2T","_xlfn.T.DIST.RT":"T.DIST.RT","_xlfn.T.INV":"T.INV","_xlfn.T.INV.2T":"T.INV.2T","_xlfn.T.TEST":"T.TEST","_xlfn.TEXTJOIN":"TEXTJOIN","_xlfn.UNICHAR":"UNICHAR","_xlfn.UNICODE":"UNICODE","_xlfn.VAR.P":"VAR.P","_xlfn.VAR.S":"VAR.S","_xlfn.WEBSERVICE":"WEBSERVICE","_xlfn.WEIBULL.DIST":"WEIBULL.DIST","_xlfn.WORKDAY.INTL":"WORKDAY.INTL","_xlfn.XOR":"XOR","_xlfn.Z.TEST":"Z.TEST"};function fs(e){return"of:"==e.slice(0,3)&&(e=e.slice(3)),61==e.charCodeAt(0)&&61==(e=e.slice(1)).charCodeAt(0)&&(e=e.slice(1)),e=(e=e.replace(/COM\.MICROSOFT\./g,"")).replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,(function(e,t){return t.replace(/\./g,"")})),(e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1")).replace(/[;~]/g,",").replace(/\|/g,";")}function hs(e){return("of:="+e.replace(fo,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")}function ds(e){var t=e.split(":");return[t[0].split(".")[0],t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}function ps(e){return e.replace(/\./,"!")}var gs={},ms={};Yn.WS=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"];var vs="undefined"!=typeof Map;function bs(e,t,n){var r=0,i=e.length;if(n){if(vs?n.has(t):Object.prototype.hasOwnProperty.call(n,t))for(var a=vs?n.get(t):n[t];r<a.length;++r)if(e[a[r]].t===t)return e.Count++,a[r]}else for(;r<i;++r)if(e[r].t===t)return e.Count++,r;return e[i]={t:t},e.Count++,e.Unique++,n&&(vs?(n.has(t)||n.set(t,[]),n.get(t).push(i)):(Object.prototype.hasOwnProperty.call(n,t)||(n[t]=[]),n[t].push(i))),i}function ys(e,t){var n={min:e+1,max:e+1},r=-1;return t.MDW&&(ma=t.MDW),null!=t.width?n.customWidth=1:null!=t.wpx?r=ba(t.wpx):null!=t.wch&&(r=t.wch),r>-1?(n.width=ya(r),n.customWidth=1):null!=t.width&&(n.width=t.width),t.hidden&&(n.hidden=!0),null!=t.level&&(n.outlineLevel=n.level=t.level),n}function ws(e,t){if(e){var n=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(n=[1,1,1,1,.5,.5]),null==e.left&&(e.left=n[0]),null==e.right&&(e.right=n[1]),null==e.top&&(e.top=n[2]),null==e.bottom&&(e.bottom=n[3]),null==e.header&&(e.header=n[4]),null==e.footer&&(e.footer=n[5])}}function Ss(e,t,n){var r=n.revssf[null!=t.z?t.z:"General"],i=60,a=e.length;if(null==r&&n.ssf)for(;i<392;++i)if(null==n.ssf[i]){C.load(t.z,i),n.ssf[i]=t.z,n.revssf[t.z]=r=i;break}for(i=0;i!=a;++i)if(e[i].numFmtId===r)return i;return e[a]={numFmtId:r,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},a}function xs(e,t,n,r,i,a){try{r.cellNF&&(e.z=C._table[t])}catch(e){if(r.WTF)throw e}if("z"!==e.t||r.cellStyles){if("d"===e.t&&"string"==typeof e.v&&(e.v=K(e.v)),(!r||!1!==r.cellText)&&"z"!==e.t)try{if(null==C._table[t]&&C.load(R[t]||"General",t),"e"===e.t)e.w=e.w||zn[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=C._general_int(e.v):e.w=C._general_num(e.v);else if("d"===e.t){var o=U(e.v);e.w=(0|o)===o?C._general_int(o):C._general_num(o)}else{if(void 0===e.v)return"";e.w=C._general(e.v,ms)}else"d"===e.t?e.w=C.format(t,U(e.v),ms):e.w=C.format(t,e.v,ms)}catch(e){if(r.WTF)throw e}if(r.cellStyles&&null!=n)try{e.s=a.Fills[n],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=ga(i.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),r.WTF&&(e.s.fgColor.raw_rgb=i.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=ga(i.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),r.WTF&&(e.s.bgColor.raw_rgb=i.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(e){if(r.WTF&&a.Fills)throw e}}}function Es(e,t,n){if(e&&e["!ref"]){var r=Zt(e["!ref"]);if(r.e.c<r.s.c||r.e.r<r.s.r)throw new Error("Bad range ("+n+"): "+e["!ref"])}}var _s=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,As=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,Cs=/<(?:\w:)?hyperlink [^>]*>/gm,ks=/"(\w*:\w*)"/,Ts=/<(?:\w:)?col\b[^>]*[\/]?>/g,Rs=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,Ns=/<(?:\w:)?pageMargins[^>]*\/>/g,Is=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,Bs=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,Os=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function Ps(e,t,n,r,i,a,o){if(!e)return e;r||(r={"!id":{}});var s=t.dense?[]:{},l={s:{r:2e6,c:2e6},e:{r:0,c:0}},c="",u="",f=e.match(As);f?(c=e.slice(0,f.index),u=e.slice(f.index+f[0].length)):c=u=e;var h=c.match(Is);h?Ls(h[0],s,i,n):(h=c.match(Bs))&&function(e,t,n,r,i,a,o){Ls(e.slice(0,e.indexOf(">")),n,r,i)}(h[0],h[1],s,i,n);var d=(c.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var p=c.slice(d,d+50).match(ks);p&&function(e,t){var n=Zt(t);n.s.r<=n.e.r&&n.s.c<=n.e.c&&n.s.r>=0&&n.s.c>=0&&(e["!ref"]=Jt(n))}(s,p[1])}var g=c.match(Os);g&&g[1]&&function(e,t){t.Views||(t.Views=[{}]);(e.match(Ms)||[]).forEach((function(e,n){var r=ye(e);t.Views[n]||(t.Views[n]={}),+r.zoomScale&&(t.Views[n].zoom=+r.zoomScale),Be(r.rightToLeft)&&(t.Views[n].RTL=!0)}))}(g[1],i);var m=[];if(t.cellStyles){var v=c.match(Ts);v&&function(e,t){for(var n=!1,r=0;r!=t.length;++r){var i=ye(t[r],!0);i.hidden&&(i.hidden=Be(i.hidden));var a=parseInt(i.min,10)-1,o=parseInt(i.max,10)-1;for(i.outlineLevel&&(i.level=+i.outlineLevel||0),delete i.min,delete i.max,i.width=+i.width,!n&&i.width&&(n=!0,Sa(i.width)),xa(i);a<=o;)e[a++]=Z(i)}}(m,v)}f&&Ws(f[1],s,t,l,a,o);var b=u.match(Rs);b&&(s["!autofilter"]=function(e){return{ref:(e.match(/ref="([^"]*)"/)||[])[1]}}(b[0]));var y=[],w=u.match(_s);if(w)for(d=0;d!=w.length;++d)y[d]=Zt(w[d].slice(w[d].indexOf('"')+1));var S=u.match(Cs);S&&function(e,t,n){for(var r=Array.isArray(e),i=0;i!=t.length;++i){var a=ye(Oe(t[i]),!0);if(!a.ref)return;var o=((n||{})["!id"]||[])[a.id];o?(a.Target=o.Target,a.location&&(a.Target+="#"+Ee(a.location))):(a.Target="#"+Ee(a.location),o={Target:a.Target,TargetMode:"Internal"}),a.Rel=o,a.tooltip&&(a.Tooltip=a.tooltip,delete a.tooltip);for(var s=Zt(a.ref),l=s.s.r;l<=s.e.r;++l)for(var c=s.s.c;c<=s.e.c;++c){var u=Yt({c:c,r:l});r?(e[l]||(e[l]=[]),e[l][c]||(e[l][c]={t:"z",v:void 0}),e[l][c].l=a):(e[u]||(e[u]={t:"z",v:void 0}),e[u].l=a)}}}(s,S,r);var x=u.match(Ns);if(x&&(s["!margins"]=function(e){var t={};return["left","right","top","bottom","header","footer"].forEach((function(n){e[n]&&(t[n]=parseFloat(e[n]))})),t}(ye(x[0]))),!s["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r&&(s["!ref"]=Jt(l)),t.sheetRows>0&&s["!ref"]){var E=Zt(s["!ref"]);t.sheetRows<=+E.e.r&&(E.e.r=t.sheetRows-1,E.e.r>l.e.r&&(E.e.r=l.e.r),E.e.r<E.s.r&&(E.s.r=E.e.r),E.e.c>l.e.c&&(E.e.c=l.e.c),E.e.c<E.s.c&&(E.s.c=E.e.c),s["!fullref"]=s["!ref"],s["!ref"]=Jt(E))}return m.length>0&&(s["!cols"]=m),y.length>0&&(s["!merges"]=y),s}function Ls(e,t,n,r){var i=ye(e);n.Sheets[r]||(n.Sheets[r]={}),i.codeName&&(n.Sheets[r].CodeName=Ee(Oe(i.codeName)))}var Fs=["objects","scenarios","selectLockedCells","selectUnlockedCells"],Ds=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];var Ms=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function js(e,t,n,r){if(void 0===e.v&&"string"!=typeof e.f||"z"===e.t)return"";var i="",a=e.t,o=e.v;if("z"!==e.t)switch(e.t){case"b":i=e.v?"1":"0";break;case"n":i=""+e.v;break;case"e":i=zn[e.v];break;case"d":r&&r.cellDates?i=K(e.v,-1).toISOString():((e=Z(e)).t="n",i=""+(e.v=U(K(e.v)))),void 0===e.z&&(e.z=C._table[14]);break;default:i=e.v}var s=qe("v",Ce(i)),l={r:t},c=Ss(r.cellXfs,e,r);switch(0!==c&&(l.s=c),e.t){case"n":case"z":break;case"d":l.t="d";break;case"b":l.t="b";break;case"e":l.t="e";break;default:if(null==e.v){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(r&&r.bookSST){s=qe("v",""+bs(r.Strings,e.v,r.revStrings)),l.t="s";break}l.t="str"}if(e.t!=a&&(e.t=a,e.v=o),"string"==typeof e.f&&e.f){var u=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;s=Xe("f",Ce(e.f),u)+(null!=e.v?s:"")}return e.l&&n["!links"].push([t,e.l]),e.c&&n["!comments"].push([t,e.c]),Xe("c",s,l)}var Ws=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,n=/r=["']([^"']*)["']/,r=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,i=/ref=["']([^"']*)["']/,a=Me("v"),o=Me("f");return function(s,l,c,u,f,h){for(var d,p,g,m,v,b=0,y="",w=[],S=[],x=0,E=0,_=0,A="",k=0,T=0,R=0,N=0,I=Array.isArray(h.CellXf),B=[],O=[],P=Array.isArray(l),L=[],F={},D=!1,M=!!c.sheetStubs,j=s.split(t),W=0,z=j.length;W!=z;++W){var H=(y=j[W].trim()).length;if(0!==H){var V=0;e:for(b=0;b<H;++b)switch(y[b]){case">":if("/"!=y[b-1]){++b;break e}if(c&&c.cellStyles){if(k=null!=(p=ye(y.slice(V,b),!0)).r?parseInt(p.r,10):k+1,T=-1,c.sheetRows&&c.sheetRows<k)continue;F={},D=!1,p.ht&&(D=!0,F.hpt=parseFloat(p.ht),F.hpx=_a(F.hpt)),"1"==p.hidden&&(D=!0,F.hidden=!0),null!=p.outlineLevel&&(D=!0,F.level=+p.outlineLevel),D&&(L[k-1]=F)}break;case"<":V=b}if(V>=b)break;if(k=null!=(p=ye(y.slice(V,b),!0)).r?parseInt(p.r,10):k+1,T=-1,!(c.sheetRows&&c.sheetRows<k)){u.s.r>k-1&&(u.s.r=k-1),u.e.r<k-1&&(u.e.r=k-1),c&&c.cellStyles&&(F={},D=!1,p.ht&&(D=!0,F.hpt=parseFloat(p.ht),F.hpx=_a(F.hpt)),"1"==p.hidden&&(D=!0,F.hidden=!0),null!=p.outlineLevel&&(D=!0,F.level=+p.outlineLevel),D&&(L[k-1]=F)),w=y.slice(b).split(e);for(var G=0;G!=w.length&&"<"==w[G].trim().charAt(0);++G);for(w=w.slice(G),b=0;b!=w.length;++b)if(0!==(y=w[b].trim()).length){if(S=y.match(n),x=b,E=0,_=0,y="<c "+("<"==y.slice(0,1)?">":"")+y,null!=S&&2===S.length){for(x=0,A=S[1],E=0;E!=A.length&&!((_=A.charCodeAt(E)-64)<1||_>26);++E)x=26*x+_;T=--x}else++T;for(E=0;E!=y.length&&62!==y.charCodeAt(E);++E);if(++E,(p=ye(y.slice(0,E),!0)).r||(p.r=Yt({r:k-1,c:T})),d={t:""},null!=(S=(A=y.slice(E)).match(a))&&""!==S[1]&&(d.v=Ee(S[1])),c.cellFormula){if(null!=(S=A.match(o))&&""!==S[1]){if(d.f=Ee(Oe(S[1])).replace(/\r\n/g,"\n"),c.xlfn||(d.f=mo(d.f)),S[0].indexOf('t="array"')>-1)d.F=(A.match(i)||[])[1],d.F.indexOf(":")>-1&&B.push([Zt(d.F),d.F]);else if(S[0].indexOf('t="shared"')>-1){m=ye(S[0]);var X=Ee(Oe(S[1]));c.xlfn||(X=mo(X)),O[parseInt(m.si,10)]=[m,X,p.r]}}else(S=A.match(/<f[^>]*\/>/))&&O[(m=ye(S[0])).si]&&(d.f=go(O[m.si][1],O[m.si][2],p.r));var $=$t(p.r);for(E=0;E<B.length;++E)$.r>=B[E][0].s.r&&$.r<=B[E][0].e.r&&$.c>=B[E][0].s.c&&$.c<=B[E][0].e.c&&(d.F=B[E][1])}if(null==p.t&&void 0===d.v)if(d.f||d.F)d.v=0,d.t="n";else{if(!M)continue;d.t="z"}else d.t=p.t||"n";switch(u.s.c>T&&(u.s.c=T),u.e.c<T&&(u.e.c=T),d.t){case"n":if(""==d.v||null==d.v){if(!M)continue;d.t="z"}else d.v=parseFloat(d.v);break;case"s":if(void 0===d.v){if(!M)continue;d.t="z"}else g=gs[parseInt(d.v,10)],d.v=g.t,d.r=g.r,c.cellHTML&&(d.h=g.h);break;case"str":d.t="s",d.v=null!=d.v?Oe(d.v):"",c.cellHTML&&(d.h=Re(d.v));break;case"inlineStr":S=A.match(r),d.t="s",null!=S&&(g=Gi(S[1]))?(d.v=g.t,c.cellHTML&&(d.h=g.h)):d.v="";break;case"b":d.v=Be(d.v);break;case"d":c.cellDates?d.v=K(d.v,1):(d.v=U(K(d.v,1)),d.t="n");break;case"e":c&&!1===c.cellText||(d.w=d.v),d.v=Hn[d.v]}if(R=N=0,v=null,I&&void 0!==p.s&&null!=(v=h.CellXf[p.s])&&(null!=v.numFmtId&&(R=v.numFmtId),c.cellStyles&&null!=v.fillId&&(N=v.fillId)),xs(d,R,N,c,f,h),c.cellDates&&I&&"n"==d.t&&C.is_date(C._table[R])&&(d.t="d",d.v=q(d.v)),P){var Y=$t(p.r);l[Y.r]||(l[Y.r]=[]),l[Y.r][Y.c]=d}else l[p.r]=d}}}}L.length>0&&(l["!rows"]=L)}}();var Us=Xe("worksheet",null,{xmlns:Ye.main[0],"xmlns:r":Ye.r});function zs(e,t,n,r){var i,a=[pe,Us],o=n.SheetNames[e],s="",l=n.Sheets[o];null==l&&(l={});var c=l["!ref"]||"A1",u=Zt(c);if(u.e.c>16383||u.e.r>1048575){if(t.WTF)throw new Error("Range "+c+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575),c=Jt(u)}r||(r={}),l["!comments"]=[];var f=[];!function(e,t,n,r,i){var a=!1,o={},s=null;if("xlsx"!==r.bookType&&t.vbaraw){var l=t.SheetNames[n];try{t.Workbook&&(l=t.Workbook.Sheets[n].CodeName||l)}catch(e){}a=!0,o.codeName=Pe(Ce(l))}if(e&&e["!outline"]){var c={summaryBelow:1,summaryRight:1};e["!outline"].above&&(c.summaryBelow=0),e["!outline"].left&&(c.summaryRight=0),s=(s||"")+Xe("outlinePr",null,c)}(a||s)&&(i[i.length]=Xe("sheetPr",s,o))}(l,n,e,t,a),a[a.length]=Xe("dimension",null,{ref:c}),a[a.length]=function(e,t,n,r){var i={workbookViewId:"0"};return(((r||{}).Workbook||{}).Views||[])[0]&&(i.rightToLeft=r.Workbook.Views[0].RTL?"1":"0"),Xe("sheetViews",Xe("sheetView",null,i),{})}(0,0,0,n),t.sheetFormat&&(a[a.length]=Xe("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),null!=l["!cols"]&&l["!cols"].length>0&&(a[a.length]=function(e,t){for(var n,r=["<cols>"],i=0;i!=t.length;++i)(n=t[i])&&(r[r.length]=Xe("col",null,ys(i,n)));return r[r.length]="</cols>",r.join("")}(0,l["!cols"])),a[i=a.length]="<sheetData/>",l["!links"]=[],null!=l["!ref"]&&(s=function(e,t,n,r){var i,a,o=[],s=[],l=Zt(e["!ref"]),c="",u="",f=[],h=0,d=0,p=e["!rows"],g=Array.isArray(e),m={r:u},v=-1;for(d=l.s.c;d<=l.e.c;++d)f[d]=Xt(d);for(h=l.s.r;h<=l.e.r;++h){for(s=[],u=qt(h),d=l.s.c;d<=l.e.c;++d){i=f[d]+u;var b=g?(e[h]||[])[d]:e[i];void 0!==b&&null!=(c=js(b,i,e,t))&&s.push(c)}(s.length>0||p&&p[h])&&(m={r:u},p&&p[h]&&((a=p[h]).hidden&&(m.hidden=1),v=-1,a.hpx?v=Ea(a.hpx):a.hpt&&(v=a.hpt),v>-1&&(m.ht=v,m.customHeight=1),a.level&&(m.outlineLevel=a.level)),o[o.length]=Xe("row",s.join(""),m))}if(p)for(;h<p.length;++h)p&&p[h]&&(m={r:h+1},(a=p[h]).hidden&&(m.hidden=1),v=-1,a.hpx?v=Ea(a.hpx):a.hpt&&(v=a.hpt),v>-1&&(m.ht=v,m.customHeight=1),a.level&&(m.outlineLevel=a.level),o[o.length]=Xe("row","",m));return o.join("")}(l,t,0,0),s.length>0&&(a[a.length]=s)),a.length>i+1&&(a[a.length]="</sheetData>",a[i]=a[i].replace("/>",">")),l["!protect"]&&(a[a.length]=function(e){var t={sheet:1};return Fs.forEach((function(n){null!=e[n]&&e[n]&&(t[n]="1")})),Ds.forEach((function(n){null==e[n]||e[n]||(t[n]="0")})),e.password&&(t.password=ca(e.password).toString(16).toUpperCase()),Xe("sheetProtection",null,t)}(l["!protect"])),null!=l["!autofilter"]&&(a[a.length]=function(e,t,n,r){var i="string"==typeof e.ref?e.ref:Jt(e.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var a=n.Workbook.Names,o=Kt(i);o.s.r==o.e.r&&(o.e.r=Kt(t["!ref"]).e.r,i=Jt(o));for(var s=0;s<a.length;++s){var l=a[s];if("_xlnm._FilterDatabase"==l.Name&&l.Sheet==r){l.Ref="'"+n.SheetNames[r]+"'!"+i;break}}return s==a.length&&a.push({Name:"_xlnm._FilterDatabase",Sheet:r,Ref:"'"+n.SheetNames[r]+"'!"+i}),Xe("autoFilter",null,{ref:i})}(l["!autofilter"],l,n,e)),null!=l["!merges"]&&l["!merges"].length>0&&(a[a.length]=function(e){if(0===e.length)return"";for(var t='<mergeCells count="'+e.length+'">',n=0;n!=e.length;++n)t+='<mergeCell ref="'+Jt(e[n])+'"/>';return t+"</mergeCells>"}(l["!merges"]));var h,d=-1,p=-1;return l["!links"].length>0&&(a[a.length]="<hyperlinks>",l["!links"].forEach((function(e){e[1].Target&&(h={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(p=tr(r,-1,Ce(e[1].Target).replace(/#.*$/,""),Yn.HLINK),h["r:id"]="rId"+p),(d=e[1].Target.indexOf("#"))>-1&&(h.location=Ce(e[1].Target.slice(d+1))),e[1].Tooltip&&(h.tooltip=Ce(e[1].Tooltip)),a[a.length]=Xe("hyperlink",null,h))})),a[a.length]="</hyperlinks>"),delete l["!links"],null!=l["!margins"]&&(a[a.length]=function(e){return ws(e),Xe("pageMargins",null,e)}(l["!margins"])),t&&!t.ignoreEC&&null!=t.ignoreEC||(a[a.length]=qe("ignoredErrors",Xe("ignoredError",null,{numberStoredAsText:1,sqref:c}))),f.length>0&&(p=tr(r,-1,"../drawings/drawing"+(e+1)+".xml",Yn.DRAW),a[a.length]=Xe("drawing",null,{"r:id":"rId"+p}),l["!drawing"]=f),l["!comments"].length>0&&(p=tr(r,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Yn.VML),a[a.length]=Xe("legacyDrawing",null,{"r:id":"rId"+p}),l["!legacy"]=p),a.length>1&&(a[a.length]="</worksheet>",a[1]=a[1].replace("/>",">")),a.join("")}function Hs(e,t,n,r){var i=function(e,t,n){var r=Ft(145),i=(n["!rows"]||[])[e]||{};r._W(4,e),r._W(4,0);var a=320;i.hpx?a=20*Ea(i.hpx):i.hpt&&(a=20*i.hpt),r._W(2,a),r._W(1,0);var o=0;i.level&&(o|=i.level),i.hidden&&(o|=16),(i.hpx||i.hpt)&&(o|=32),r._W(1,o),r._W(1,0);var s=0,l=r.l;r.l+=4;for(var c={r:e,c:0},u=0;u<16;++u)if(!(t.s.c>u+1<<10||t.e.c<u<<10)){for(var f=-1,h=-1,d=u<<10;d<u+1<<10;++d)c.c=d,(Array.isArray(n)?(n[c.r]||[])[c.c]:n[Yt(c)])&&(f<0&&(f=d),h=d);f<0||(++s,r._W(4,f),r._W(4,h))}var p=r.l;return r.l=l,r._W(4,s),r.l=p,r.length>r.l?r.slice(0,r.l):r}(r,n,t);(i.length>17||(t["!rows"]||[])[r])&&jt(e,"BrtRowHdr",i)}var Vs=Cn,qs=kn;function Gs(e){return[pn(e),Tn(e),"n"]}var Xs=Cn,$s=kn;var Ys=["left","right","top","bottom","header","footer"];function Ks(e,t,n,r,i,a,o){if(void 0===t.v)return!1;var s="";switch(t.t){case"b":s=t.v?"1":"0";break;case"d":(t=Z(t)).z=t.z||C._table[14],t.v=U(K(t.v)),t.t="n";break;case"n":case"e":s=""+t.v;break;default:s=t.v}var l={r:n,c:r};switch(l.s=Ss(i.cellXfs,t,i),t.l&&a["!links"].push([Yt(l),t.l]),t.c&&a["!comments"].push([Yt(l),t.c]),t.t){case"s":case"str":return i.bookSST?(s=bs(i.Strings,t.v,i.revStrings),l.t="s",l.v=s,o?jt(e,"BrtShortIsst",function(e,t,n){return null==n&&(n=Ft(8)),gn(t,n),n._W(4,t.v),n}(0,l)):jt(e,"BrtCellIsst",function(e,t,n){return null==n&&(n=Ft(12)),dn(t,n),n._W(4,t.v),n}(0,l))):(l.t="str",o?jt(e,"BrtShortSt",function(e,t,n){return null==n&&(n=Ft(8+4*e.v.length)),gn(t,n),sn(e.v,n),n.length>n.l?n.slice(0,n.l):n}(t,l)):jt(e,"BrtCellSt",function(e,t,n){return null==n&&(n=Ft(12+4*e.v.length)),dn(t,n),sn(e.v,n),n.length>n.l?n.slice(0,n.l):n}(t,l))),!0;case"n":return t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?o?jt(e,"BrtShortRk",function(e,t,n){return null==n&&(n=Ft(8)),gn(t,n),_n(e.v,n),n}(t,l)):jt(e,"BrtCellRk",function(e,t,n){return null==n&&(n=Ft(12)),dn(t,n),_n(e.v,n),n}(t,l)):o?jt(e,"BrtShortReal",function(e,t,n){return null==n&&(n=Ft(12)),gn(t,n),Rn(e.v,n),n}(t,l)):jt(e,"BrtCellReal",function(e,t,n){return null==n&&(n=Ft(16)),dn(t,n),Rn(e.v,n),n}(t,l)),!0;case"b":return l.t="b",o?jt(e,"BrtShortBool",function(e,t,n){return null==n&&(n=Ft(5)),gn(t,n),n._W(1,e.v?1:0),n}(t,l)):jt(e,"BrtCellBool",function(e,t,n){return null==n&&(n=Ft(9)),dn(t,n),n._W(1,e.v?1:0),n}(t,l)),!0;case"e":return l.t="e",o?jt(e,"BrtShortError",function(e,t,n){return null==n&&(n=Ft(8)),gn(t,n),n._W(1,e.v),n._W(2,0),n._W(1,0),n}(t,l)):jt(e,"BrtCellError",function(e,t,n){return null==n&&(n=Ft(9)),dn(t,n),n._W(1,e.v),n}(t,l)),!0}return o?jt(e,"BrtShortBlank",function(e,t,n){return null==n&&(n=Ft(4)),gn(t,n)}(0,l)):jt(e,"BrtCellBlank",function(e,t,n){return null==n&&(n=Ft(8)),dn(t,n)}(0,l)),!0}function Js(e,t){t&&t["!merges"]&&(jt(e,"BrtBeginMergeCells",function(e,t){return null==t&&(t=Ft(4)),t._W(4,e),t}(t["!merges"].length)),t["!merges"].forEach((function(t){jt(e,"BrtMergeCell",$s(t))})),jt(e,"BrtEndMergeCells"))}function Zs(e,t){t&&t["!cols"]&&(jt(e,"BrtBeginColInfos"),t["!cols"].forEach((function(t,n){t&&jt(e,"BrtColInfo",function(e,t,n){null==n&&(n=Ft(18));var r=ys(e,t);n._W(-4,e),n._W(-4,e),n._W(4,256*(r.width||10)),n._W(4,0);var i=0;return t.hidden&&(i|=1),"number"==typeof r.width&&(i|=2),t.level&&(i|=t.level<<8),n._W(2,i),n}(n,t))})),jt(e,"BrtEndColInfos"))}function Qs(e,t){t&&t["!ref"]&&(jt(e,"BrtBeginCellIgnoreECs"),jt(e,"BrtCellIgnoreEC",function(e){var t=Ft(24);return t._W(4,4),t._W(4,1),kn(e,t),t}(Zt(t["!ref"]))),jt(e,"BrtEndCellIgnoreECs"))}function el(e,t,n){t["!links"].forEach((function(t){if(t[1].Target){var r=tr(n,-1,t[1].Target.replace(/#.*$/,""),Yn.HLINK);jt(e,"BrtHLink",function(e,t){var n=Ft(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));kn({s:$t(e[0]),e:$t(e[0])},n),xn("rId"+t,n);var r=e[1].Target.indexOf("#");return sn((-1==r?"":e[1].Target.slice(r+1))||"",n),sn(e[1].Tooltip||"",n),sn("",n),n.slice(0,n.l)}(t,r))}})),delete t["!links"]}function tl(e,t,n){jt(e,"BrtBeginWsViews"),jt(e,"BrtBeginWsView",function(e,t,n){null==n&&(n=Ft(30));var r=924;return(((t||{}).Views||[])[0]||{}).RTL&&(r|=32),n._W(2,r),n._W(4,0),n._W(4,0),n._W(4,0),n._W(1,0),n._W(1,0),n._W(2,0),n._W(2,100),n._W(2,0),n._W(2,0),n._W(2,0),n._W(4,0),n}(0,n)),jt(e,"BrtEndWsView"),jt(e,"BrtEndWsViews")}function nl(e,t){t["!protect"]&&jt(e,"BrtSheetProtection",function(e,t){return null==t&&(t=Ft(66)),t._W(2,e.password?ca(e.password):0),t._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(n){n[1]?t._W(4,null==e[n[0]]||e[n[0]]?0:1):t._W(4,null!=e[n[0]]&&e[n[0]]?0:1)})),t}(t["!protect"]))}function rl(e,t,n,r){var i=Mt(),a=n.SheetNames[e],o=n.Sheets[a]||{},s=a;try{n&&n.Workbook&&(s=n.Workbook.Sheets[e].CodeName||s)}catch(e){}var l=Zt(o["!ref"]||"A1");if(l.e.c>16383||l.e.r>1048575){if(t.WTF)throw new Error("Range "+(o["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");l.e.c=Math.min(l.e.c,16383),l.e.r=Math.min(l.e.c,1048575)}return o["!links"]=[],o["!comments"]=[],jt(i,"BrtBeginSheet"),(n.vbaraw||o["!outline"])&&jt(i,"BrtWsProp",function(e,t,n){null==n&&(n=Ft(84+4*e.length));var r=192;t&&(t.above&&(r&=-65),t.left&&(r&=-129)),n._W(1,r);for(var i=1;i<3;++i)n._W(1,0);return Nn({auto:1},n),n._W(-4,-1),n._W(-4,-1),vn(e,n),n.slice(0,n.l)}(s,o["!outline"])),jt(i,"BrtWsDim",qs(l)),tl(i,0,n.Workbook),Zs(i,o),function(e,t,n,r){var i,a=Zt(t["!ref"]||"A1"),o="",s=[];jt(e,"BrtBeginSheetData");var l=Array.isArray(t),c=a.e.r;t["!rows"]&&(c=Math.max(a.e.r,t["!rows"].length-1));for(var u=a.s.r;u<=c;++u){o=qt(u),Hs(e,t,a,u);var f=!1;if(u<=a.e.r)for(var h=a.s.c;h<=a.e.c;++h){u===a.s.r&&(s[h]=Xt(h)),i=s[h]+o;var d=l?(t[u]||[])[h]:t[i];f=!!d&&Ks(e,d,u,h,r,t,f)}}jt(e,"BrtEndSheetData")}(i,o,0,t),nl(i,o),function(e,t,n,r){if(t["!autofilter"]){var i=t["!autofilter"],a="string"==typeof i.ref?i.ref:Jt(i.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var o=n.Workbook.Names,s=Kt(a);s.s.r==s.e.r&&(s.e.r=Kt(t["!ref"]).e.r,a=Jt(s));for(var l=0;l<o.length;++l){var c=o[l];if("_xlnm._FilterDatabase"==c.Name&&c.Sheet==r){c.Ref="'"+n.SheetNames[r]+"'!"+a;break}}l==o.length&&o.push({Name:"_xlnm._FilterDatabase",Sheet:r,Ref:"'"+n.SheetNames[r]+"'!"+a}),jt(e,"BrtBeginAFilter",kn(Zt(a))),jt(e,"BrtEndAFilter")}}(i,o,n,e),Js(i,o),el(i,o,r),o["!margins"]&&jt(i,"BrtMargins",function(e,t){return null==t&&(t=Ft(48)),ws(e),Ys.forEach((function(n){Rn(e[n],t)})),t}(o["!margins"])),t&&!t.ignoreEC&&null!=t.ignoreEC||Qs(i,o),function(e,t,n,r){if(t["!comments"].length>0){var i=tr(r,-1,"../drawings/vmlDrawing"+(n+1)+".vml",Yn.VML);jt(e,"BrtLegacyDrawing",xn("rId"+i)),t["!legacy"]=i}}(i,o,e,r),jt(i,"BrtEndSheet"),i.end()}function il(e,t,n,r,i,a){var o=a||{"!type":"chart"};if(!e)return a;var s=0,l=0,c="A",u={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach((function(e){var t=function(e){var t,n=[],r=e.match(/^<c:numCache>/);(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach((function(e){var t=e.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);t&&(n[+t[1]]=r?+t[2]:t[2])}));var i=Ee((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach((function(e){t=e.replace(/<.*?>/g,"")})),[n,i,t]}(e);u.s.r=u.s.c=0,u.e.c=s,c=Xt(s),t[0].forEach((function(e,n){o[c+qt(n)]={t:"n",v:e,z:t[1]},l=n})),u.e.r<l&&(u.e.r=l),++s})),s>0&&(o["!ref"]=Jt(u)),o}Yn.CHART="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",Yn.CHARTEX="http://schemas.microsoft.com/office/2014/relationships/chartEx",Yn.CS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet";Xe("chartsheet",null,{xmlns:Ye.main[0],"xmlns:r":Ye.r});var al=[["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"]],ol=[["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"]],sl=[],ll=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function cl(e,t){for(var n=0;n!=e.length;++n)for(var r=e[n],i=0;i!=t.length;++i){var a=t[i];if(null==r[a[0]])r[a[0]]=a[1];else switch(a[2]){case"bool":"string"==typeof r[a[0]]&&(r[a[0]]=Be(r[a[0]]));break;case"int":"string"==typeof r[a[0]]&&(r[a[0]]=parseInt(r[a[0]],10))}}}function ul(e,t){for(var n=0;n!=t.length;++n){var r=t[n];if(null==e[r[0]])e[r[0]]=r[1];else switch(r[2]){case"bool":"string"==typeof e[r[0]]&&(e[r[0]]=Be(e[r[0]]));break;case"int":"string"==typeof e[r[0]]&&(e[r[0]]=parseInt(e[r[0]],10))}}}function fl(e){ul(e.WBProps,al),ul(e.CalcPr,ll),cl(e.WBView,ol),cl(e.Sheets,sl),ms.date1904=Be(e.WBProps.date1904)}var hl="][*?/\\".split("");function dl(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var n=!0;return hl.forEach((function(r){if(-1!=e.indexOf(r)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");n=!1}})),n}function pl(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];!function(e,t,n){e.forEach((function(r,i){dl(r);for(var a=0;a<i;++a)if(r==e[a])throw new Error("Duplicate Sheet Name: "+r);if(n){var o=t&&t[i]&&t[i].CodeName||r;if(95==o.charCodeAt(0)&&o.length>22)throw new Error("Bad Code Name: Worksheet"+o)}}))}(e.SheetNames,t,!!e.vbaraw);for(var n=0;n<e.SheetNames.length;++n)Es(e.Sheets[e.SheetNames[n]],e.SheetNames[n],n)}var gl=/<\w+:workbook/;var ml=Xe("workbook",null,{xmlns:Ye.main[0],"xmlns:r":Ye.r});function vl(e){var t=[pe];t[t.length]=ml;var n=e.Workbook&&(e.Workbook.Names||[]).length>0,r={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(al.forEach((function(t){null!=e.Workbook.WBProps[t[0]]&&e.Workbook.WBProps[t[0]]!=t[1]&&(r[t[0]]=e.Workbook.WBProps[t[0]])})),e.Workbook.WBProps.CodeName&&(r.codeName=e.Workbook.WBProps.CodeName,delete r.CodeName)),t[t.length]=Xe("workbookPr",null,r);var i=e.Workbook&&e.Workbook.Sheets||[],a=0;if(i&&i[0]&&i[0].Hidden){for(t[t.length]="<bookViews>",a=0;a!=e.SheetNames.length&&i[a]&&i[a].Hidden;++a);a==e.SheetNames.length&&(a=0),t[t.length]='<workbookView firstSheet="'+a+'" activeTab="'+a+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",a=0;a!=e.SheetNames.length;++a){var o={name:Ce(e.SheetNames[a].slice(0,31))};if(o.sheetId=""+(a+1),o["r:id"]="rId"+(a+1),i[a])switch(i[a].Hidden){case 1:o.state="hidden";break;case 2:o.state="veryHidden"}t[t.length]=Xe("sheet",null,o)}return t[t.length]="</sheets>",n&&(t[t.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach((function(e){var n={name:e.Name};e.Comment&&(n.comment=e.Comment),null!=e.Sheet&&(n.localSheetId=""+e.Sheet),e.Hidden&&(n.hidden="1"),e.Ref&&(t[t.length]=Xe("definedName",Ce(e.Ref),n))})),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function bl(e,t){return t||(t=Ft(127)),t._W(4,e.Hidden),t._W(4,e.iTabID),xn(e.strRelID,t),sn(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function yl(e,t){var n={};return e._R(4),n.ArchID=e._R(4),e.l+=t-8,n}function wl(t,n){n||(n=Ft(127));for(var r=0;4!=r;++r)n._W(4,0);return sn("SheetJS",n),sn(e.version,n),sn(e.version,n),sn("7262",n),n.length>n.l?n.slice(0,n.l):n}function Sl(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var n=t.Workbook.Sheets,r=0,i=-1,a=-1;r<n.length;++r)!n[r]||!n[r].Hidden&&-1==i?i=r:1==n[r].Hidden&&-1==a&&(a=r);a>i||(jt(e,"BrtBeginBookViews"),jt(e,"BrtBookView",function(e,t){return t||(t=Ft(29)),t._W(-4,0),t._W(-4,460),t._W(4,28800),t._W(4,17600),t._W(4,500),t._W(4,e),t._W(4,e),t._W(1,120),t.length>t.l?t.slice(0,t.l):t}(i)),jt(e,"BrtEndBookViews"))}}function xl(e,t){var n=Mt();return jt(n,"BrtBeginBook"),jt(n,"BrtFileVersion",wl()),jt(n,"BrtWbProp",function(e,t){t||(t=Ft(72));var n=0;return e&&e.filterPrivacy&&(n|=8),t._W(4,n),t._W(4,0),vn(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}(e.Workbook&&e.Workbook.WBProps||null)),Sl(n,e),function(e,t){jt(e,"BrtBeginBundleShs");for(var n=0;n!=t.SheetNames.length;++n)jt(e,"BrtBundleSh",bl({Hidden:t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[n]&&t.Workbook.Sheets[n].Hidden||0,iTabID:n+1,strRelID:"rId"+(n+1),name:t.SheetNames[n]}));jt(e,"BrtEndBundleShs")}(n,e),jt(n,"BrtEndBook"),n.end()}function El(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},r=[],i=!1;t||(t={}),t.biff=12;var a=[],o=[[]];return o.SheetNames=[],o.XTI=[],uc[16]={n:"BrtFRTArchID$",f:yl},Dt(e,(function(e,s,l){switch(l){case 156:o.SheetNames.push(e.name),n.Sheets.push(e);break;case 153:n.WBProps=e;break;case 39:null!=e.Sheet&&(t.SID=e.Sheet),e.Ref=Jo(e.Ptg,0,null,o,t),delete t.SID,delete e.Ptg,a.push(e);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:o[0].length?o.push([l,e]):o[0]=[l,e],o[o.length-1].XTI=[];break;case 362:0===o.length&&(o[0]=[],o[0].XTI=[]),o[o.length-1].XTI=o[o.length-1].XTI.concat(e),o.XTI=o.XTI.concat(e);break;case 35:case 37:r.push(s),i=!0;break;case 36:case 38:r.pop(),i=!1;break;default:if((s||"").indexOf("Begin")>0);else if((s||"").indexOf("End")>0);else if(!i||t.WTF&&"BrtACBegin"!=r[r.length-1]&&"BrtFRTBegin"!=r[r.length-1])throw new Error("Unexpected record "+l+" "+s)}}),t),fl(n),n.Names=a,n.supbooks=o,n}(e,n):function(e,t){if(!e)throw new Error("Could not find file");var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},r=!1,i="xmlns",a={},o=0;if(e.replace(me,(function(s,l){var c=ye(s);switch(we(c[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(gl)&&(i="xmlns"+s.match(/<(\w+):/)[1]),n.xmlns=c[i];break;case"<fileVersion":delete c[0],n.AppVersion=c;break;case"<workbookPr":case"<workbookPr/>":al.forEach((function(e){if(null!=c[e[0]])switch(e[2]){case"bool":n.WBProps[e[0]]=Be(c[e[0]]);break;case"int":n.WBProps[e[0]]=parseInt(c[e[0]],10);break;default:n.WBProps[e[0]]=c[e[0]]}})),c.codeName&&(n.WBProps.CodeName=Oe(c.codeName));break;case"<workbookView":case"<workbookView/>":delete c[0],n.WBView.push(c);break;case"<sheet":switch(c.state){case"hidden":c.Hidden=1;break;case"veryHidden":c.Hidden=2;break;default:c.Hidden=0}delete c.state,c.name=Ee(Oe(c.name)),delete c[0],n.Sheets.push(c);break;case"<definedNames>":case"<definedNames":case"<ext":case"<AlternateContent":case"<AlternateContent>":r=!0;break;case"</definedNames>":case"</ext>":case"</AlternateContent>":r=!1;break;case"<definedName":(a={}).Name=Oe(c.name),c.comment&&(a.Comment=c.comment),c.localSheetId&&(a.Sheet=+c.localSheetId),Be(c.hidden||"0")&&(a.Hidden=!0),o=l+s.length;break;case"</definedName>":a.Ref=Ee(Oe(e.slice(o,l))),n.Names.push(a);break;case"<calcPr":case"<calcPr/>":delete c[0],n.CalcPr=c;break;default:if(!r&&t.WTF)throw new Error("unrecognized "+c[0]+" in workbook")}return s})),-1===Ye.main.indexOf(n.xmlns))throw new Error("Unknown Namespace: "+n.xmlns);return fl(n),n}(e,n)}function _l(e,t,n,r,i,a,o,s){return".bin"===t.slice(-4)?function(e,t,n,r,i,a,o){if(!e)return e;var s=t||{};r||(r={"!id":{}});var l,c,u,f,h,d,p,g,m,v,b=s.dense?[]:{},y={s:{r:2e6,c:2e6},e:{r:0,c:0}},w=[],S=!1,x=!1,E=[];s.biff=12,s["!row"]=0;var _=0,A=!1,k=[],T={},R=s.supbooks||i.supbooks||[[]];if(R.sharedf=T,R.arrayf=k,R.SheetNames=i.SheetNames||i.Sheets.map((function(e){return e.name})),!s.supbooks&&(s.supbooks=R,i.Names))for(var N=0;N<i.Names.length;++N)R[0][N+1]=i.Names[N];var I=[],B=[],O=!1;if(uc[16]={n:"BrtShortReal",f:Gs},Dt(e,(function(e,t,N){if(!x)switch(N){case 148:l=e;break;case 0:c=e,s.sheetRows&&s.sheetRows<=c.r&&(x=!0),m=qt(h=c.r),s["!row"]=c.r,(e.hidden||e.hpt||null!=e.level)&&(e.hpt&&(e.hpx=_a(e.hpt)),B[e.r]=e);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:switch(u={t:e[2]},e[2]){case"n":u.v=e[1];break;case"s":g=gs[e[1]],u.v=g.t,u.r=g.r;break;case"b":u.v=!!e[1];break;case"e":u.v=e[1],!1!==s.cellText&&(u.w=zn[u.v]);break;case"str":u.t="s",u.v=e[1]}if((f=o.CellXf[e[0].iStyleRef])&&xs(u,f.numFmtId,null,s,a,o),d=-1==e[0].c?d+1:e[0].c,s.dense?(b[h]||(b[h]=[]),b[h][d]=u):b[Xt(d)+m]=u,s.cellFormula){for(A=!1,_=0;_<k.length;++_){var P=k[_];c.r>=P[0].s.r&&c.r<=P[0].e.r&&d>=P[0].s.c&&d<=P[0].e.c&&(u.F=Jt(P[0]),A=!0)}!A&&e.length>3&&(u.f=e[3])}if(y.s.r>c.r&&(y.s.r=c.r),y.s.c>d&&(y.s.c=d),y.e.r<c.r&&(y.e.r=c.r),y.e.c<d&&(y.e.c=d),s.cellDates&&f&&"n"==u.t&&C.is_date(C._table[f.numFmtId])){var L=C.parse_date_code(u.v);L&&(u.t="d",u.v=new Date(L.y,L.m-1,L.d,L.H,L.M,L.S,L.u))}break;case 1:case 12:if(!s.sheetStubs||S)break;u={t:"z",v:void 0},d=-1==e[0].c?d+1:e[0].c,s.dense?(b[h]||(b[h]=[]),b[h][d]=u):b[Xt(d)+m]=u,y.s.r>c.r&&(y.s.r=c.r),y.s.c>d&&(y.s.c=d),y.e.r<c.r&&(y.e.r=c.r),y.e.c<d&&(y.e.c=d);break;case 176:E.push(e);break;case 494:var F=r["!id"][e.relId];for(F?(e.Target=F.Target,e.loc&&(e.Target+="#"+e.loc),e.Rel=F):""==e.relId&&(e.Target="#"+e.loc),h=e.rfx.s.r;h<=e.rfx.e.r;++h)for(d=e.rfx.s.c;d<=e.rfx.e.c;++d)s.dense?(b[h]||(b[h]=[]),b[h][d]||(b[h][d]={t:"z",v:void 0}),b[h][d].l=e):(p=Yt({c:d,r:h}),b[p]||(b[p]={t:"z",v:void 0}),b[p].l=e);break;case 426:if(!s.cellFormula)break;k.push(e),(v=s.dense?b[h][d]:b[Xt(d)+m]).f=Jo(e[1],0,{r:c.r,c:d},R,s),v.F=Jt(e[0]);break;case 427:if(!s.cellFormula)break;T[Yt(e[0].s)]=e[1],(v=s.dense?b[h][d]:b[Xt(d)+m]).f=Jo(e[1],0,{r:c.r,c:d},R,s);break;case 60:if(!s.cellStyles)break;for(;e.e>=e.s;)I[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},O||(O=!0,Sa(e.w/256)),xa(I[e.e+1]);break;case 161:b["!autofilter"]={ref:Jt(e)};break;case 476:b["!margins"]=e;break;case 147:i.Sheets[n]||(i.Sheets[n]={}),e.name&&(i.Sheets[n].CodeName=e.name),(e.above||e.left)&&(b["!outline"]={above:e.above,left:e.left});break;case 137:i.Views||(i.Views=[{}]),i.Views[0]||(i.Views[0]={}),e.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 49: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:S=!0;break;case 36:S=!1;break;case 37:w.push(t),S=!0;break;case 38:w.pop(),S=!1;break;default:if((t||"").indexOf("Begin")>0);else if((t||"").indexOf("End")>0);else if(!S||s.WTF)throw new Error("Unexpected record "+N+" "+t)}}),s),delete s.supbooks,delete s["!row"],!b["!ref"]&&(y.s.r<2e6||l&&(l.e.r>0||l.e.c>0||l.s.r>0||l.s.c>0))&&(b["!ref"]=Jt(l||y)),s.sheetRows&&b["!ref"]){var P=Zt(b["!ref"]);s.sheetRows<=+P.e.r&&(P.e.r=s.sheetRows-1,P.e.r>y.e.r&&(P.e.r=y.e.r),P.e.r<P.s.r&&(P.s.r=P.e.r),P.e.c>y.e.c&&(P.e.c=y.e.c),P.e.c<P.s.c&&(P.s.c=P.e.c),b["!fullref"]=b["!ref"],b["!ref"]=Jt(P))}return E.length>0&&(b["!merges"]=E),I.length>0&&(b["!cols"]=I),B.length>0&&(b["!rows"]=B),b}(e,r,n,i,a,o,s):Ps(e,r,n,i,a,o,s)}function Al(e,t,n,r,i,a,o,s){return".bin"===t.slice(-4)?function(e,t,n,r,i){if(!e)return e;r||(r={"!id":{}});var a={"!type":"chart","!drawel":null,"!rel":""},o=[],s=!1;return Dt(e,(function(e,r,l){switch(l){case 550:a["!rel"]=e;break;case 651:i.Sheets[n]||(i.Sheets[n]={}),e.name&&(i.Sheets[n].CodeName=e.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:o.push(r);break;case 38:o.pop();break;default:if((r||"").indexOf("Begin")>0)o.push(r);else if((r||"").indexOf("End")>0)o.pop();else if(!s||t.WTF)throw new Error("Unexpected record "+l+" "+r)}}),t),r["!id"][a["!rel"]]&&(a["!drawel"]=r["!id"][a["!rel"]]),a}(e,r,n,i,a):function(e,t,n,r,i){if(!e)return e;r||(r={"!id":{}});var a,o={"!type":"chart","!drawel":null,"!rel":""},s=e.match(Is);return s&&Ls(s[0],0,i,n),(a=e.match(/drawing r:id="(.*?)"/))&&(o["!rel"]=a[1]),r["!id"][o["!rel"]]&&(o["!drawel"]=r["!id"][o["!rel"]]),o}(e,0,n,i,a)}function Cl(e,t,n,r){return".bin"===t.slice(-4)?function(e,t,n){var r={NumberFmt:[]};for(var i in C._table)r.NumberFmt[i]=C._table[i];r.CellXf=[],r.Fonts=[];var a=[],o=!1;return Dt(e,(function(e,i,s){switch(s){case 44:r.NumberFmt[e[0]]=e[1],C.load(e[1],e[0]);break;case 43:r.Fonts.push(e),null!=e.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=ga(t.themeElements.clrScheme[e.color.theme].rgb,e.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:"BrtBeginCellXFs"==a[a.length-1]&&r.CellXf.push(e);break;case 35:o=!0;break;case 36:o=!1;break;case 37:a.push(i),o=!0;break;case 38:a.pop(),o=!1;break;default:if((i||"").indexOf("Begin")>0)a.push(i);else if((i||"").indexOf("End")>0)a.pop();else if(!o||n.WTF&&"BrtACBegin"!=a[a.length-1])throw new Error("Unexpected record "+s+" "+i)}})),r}(e,n,r):Ra(e,n,r)}function kl(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n=[],r=!1;return Dt(e,(function(e,i,a){switch(a){case 159:n.Count=e[0],n.Unique=e[1];break;case 19:n.push(e);break;case 160:return!0;case 35:r=!0;break;case 36:r=!1;break;default:if(i.indexOf("Begin")>0||i.indexOf("End"),!r||t.WTF)throw new Error("Unexpected record "+a+" "+i)}})),n}(e,n):function(e,t){var n=[],r="";if(!e)return n;var i=e.match(Xi);if(i){r=i[2].replace($i,"").split(Yi);for(var a=0;a!=r.length;++a){var o=Gi(r[a].trim(),t);null!=o&&(n[n.length]=o)}i=ye(i[1]),n.Count=i.count,n.Unique=i.uniqueCount}return n}(e,n)}function Tl(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n=[],r=[],i={},a=!1;return Dt(e,(function(e,o,s){switch(s){case 632:r.push(e);break;case 635:i=e;break;case 637:i.t=e.t,i.h=e.h,i.r=e.r;break;case 636:if(i.author=r[i.iauthor],delete i.iauthor,t.sheetRows&&i.rfx&&t.sheetRows<=i.rfx.r)break;i.t||(i.t=""),delete i.rfx,n.push(i);break;case 3072:case 37:case 38:break;case 35:a=!0;break;case 36:a=!1;break;default:if((o||"").indexOf("Begin")>0);else if((o||"").indexOf("End")>0);else if(!a||t.WTF)throw new Error("Unexpected record "+s+" "+o)}})),n}(e,n):function(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var n=[],r=[],i=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);i&&i[1]&&i[1].split(/<\/\w*:?author>/).forEach((function(e){if(""!==e&&""!==e.trim()){var t=e.match(/<(?:\w+:)?author[^>]*>(.*)/);t&&n.push(t[1])}}));var a=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return a&&a[1]&&a[1].split(/<\/\w*:?comment>/).forEach((function(e){if(""!==e&&""!==e.trim()){var i=e.match(/<(?:\w+:)?comment[^>]*>/);if(i){var a=ye(i[0]),o={author:a.authorId&&n[a.authorId]||"sheetjsghost",ref:a.ref,guid:a.guid},s=$t(a.ref);if(!(t.sheetRows&&t.sheetRows<=s.r)){var l=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),c=!!l&&!!l[1]&&Gi(l[1])||{r:"",t:"",h:""};o.r=c.r,"<t></t>"==c.r&&(c.t=c.h=""),o.t=(c.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(o.h=c.h),r.push(o)}}}})),r}(e,n)}function Rl(e,t,n){return".bin"===t.slice(-4)?function(e,t,n){var r=[];return Dt(e,(function(e,t,n){if(63===n)r.push(e);else if((t||"").indexOf("Begin")>0);else if(!((t||"").indexOf("End")>0))throw new Error("Unexpected record "+n+" "+t)})),r}(e):function(e){var t=[];if(!e)return t;var n=1;return(e.match(me)||[]).forEach((function(e){var r=ye(e);switch(r[0]){case"<?xml":case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete r[0],r.i?n=r.i:r.i=n,t.push(r)}})),t}(e)}function Nl(e,t,n,r){if(".bin"===n.slice(-4))return function(e,t,n,r){if(!e)return e;var i=r||{},a=!1;Dt(e,(function(e,t,n){switch(n){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:a=!0;break;case 36:a=!1;break;default:if((t||"").indexOf("Begin")>0);else if((t||"").indexOf("End")>0);else if(!a||i.WTF)throw new Error("Unexpected record "+n.toString(16)+" "+t)}}),i)}(e,0,0,r)}function Il(e,t,n){return(".bin"===t.slice(-4)?xl:vl)(e,n)}function Bl(e,t,n,r,i){return(".bin"===t.slice(-4)?rl:zs)(e,n,r,i)}function Ol(e,t,n){return(".bin"===t.slice(-4)?Qi:Ji)(e,n)}function Pl(e,t,n){return(".bin"===t.slice(-4)?lo:oo)(e,n)}var Ll=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,Fl=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Dl(e,t){var n=e.split(/\s+/),r=[];if(t||(r[0]=n[0]),1===n.length)return r;var i,a,o,s=e.match(Ll);if(s)for(o=0;o!=s.length;++o)-1===(a=(i=s[o].match(Fl))[1].indexOf(":"))?r[i[1]]=i[2].slice(1,i[2].length-1):r["xmlns:"===i[1].slice(0,6)?"xmlns"+i[1].slice(6):i[1].slice(a+1)]=i[2].slice(1,i[2].length-1);return r}function Ml(e){var t={};if(1===e.split(/\s+/).length)return t;var n,r,i,a=e.match(Ll);if(a)for(i=0;i!=a.length;++i)-1===(r=(n=a[i].match(Fl))[1].indexOf(":"))?t[n[1]]=n[2].slice(1,n[2].length-1):t["xmlns:"===n[1].slice(0,6)?"xmlns"+n[1].slice(6):n[1].slice(r+1)]=n[2].slice(1,n[2].length-1);return t}function jl(e,t,n,r){var i=r;switch((n[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":i=Be(r);break;case"i2":case"int":i=parseInt(r,10);break;case"r4":case"float":i=parseFloat(r);break;case"date":case"dateTime.tz":i=K(r);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+n[0])}e[Ee(t)]=i}function Wl(e,t,n){if("z"!==e.t){if(!n||!1!==n.cellText)try{"e"===e.t?e.w=e.w||zn[e.v]:"General"===t?"n"===e.t?(0|e.v)===e.v?e.w=C._general_int(e.v):e.w=C._general_num(e.v):e.w=C._general(e.v):e.w=function(e,t){var n=T[e]||Ee(e);return"General"===n?C._general(t):C.format(n,t)}(t||"General",e.v)}catch(e){if(n.WTF)throw e}try{var r=T[t]||t||"General";if(n.cellNF&&(e.z=r),n.cellDates&&"n"==e.t&&C.is_date(r)){var i=C.parse_date_code(e.v);i&&(e.t="d",e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}catch(e){if(n.WTF)throw e}}}function Ul(e,t,n){if(n.cellStyles&&t.Interior){var r=t.Interior;r.Pattern&&(r.patternType=Aa[r.Pattern]||r.Pattern)}e[t.ID]=t}function zl(e,t,n,r,i,a,o,s,l,c){var u="General",f=r.StyleID,h={};c=c||{};var d=[],p=0;for(void 0===f&&s&&(f=s.StyleID),void 0===f&&o&&(f=o.StyleID);void 0!==a[f]&&(a[f].nf&&(u=a[f].nf),a[f].Interior&&d.push(a[f].Interior),a[f].Parent);)f=a[f].Parent;switch(n.Type){case"Boolean":r.t="b",r.v=Be(e);break;case"String":r.t="s",r.r=Ne(Ee(e)),r.v=e.indexOf("<")>-1?Ee(t||e).replace(/<.*?>/g,""):r.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),r.v=(K(e)-new Date(Date.UTC(1899,11,30)))/864e5,r.v!=r.v?r.v=Ee(e):r.v<60&&(r.v=r.v-1),u&&"General"!=u||(u="yyyy-mm-dd");case"Number":void 0===r.v&&(r.v=+e),r.t||(r.t="n");break;case"Error":r.t="e",r.v=Hn[e],!1!==c.cellText&&(r.w=e);break;default:""==e&&""==t?r.t="z":(r.t="s",r.v=Ne(t||e))}if(Wl(r,u,c),!1!==c.cellFormula)if(r.Formula){var g=Ee(r.Formula);61==g.charCodeAt(0)&&(g=g.slice(1)),r.f=uo(g,i),delete r.Formula,"RC"==r.ArrayRange?r.F=uo("RC:RC",i):r.ArrayRange&&(r.F=uo(r.ArrayRange,i),l.push([Zt(r.F),r.F]))}else for(p=0;p<l.length;++p)i.r>=l[p][0].s.r&&i.r<=l[p][0].e.r&&i.c>=l[p][0].s.c&&i.c<=l[p][0].e.c&&(r.F=l[p][1]);c.cellStyles&&(d.forEach((function(e){!h.patternType&&e.patternType&&(h.patternType=e.patternType)})),r.s=h),void 0!==r.StyleID&&(r.ixfe=r.StyleID)}function Hl(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.v=e.w=e.ixfe=void 0}function Vl(e){if(p&&Buffer.isBuffer(e))return e.toString("utf8");if("string"==typeof e)return e;if("undefined"!=typeof Uint8Array&&e instanceof Uint8Array)return Oe(S(x(e)));throw new Error("Bad input format: expected Buffer or string")}var ql=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm;function Gl(e,t){var n=t||{};k(C);var r=u(Vl(e));"binary"!=n.type&&"array"!=n.type&&"base64"!=n.type||(r="undefined"!=typeof cptable?cptable.utils.decode(65001,c(r)):Oe(r));var i,a=r.slice(0,1024).toLowerCase(),o=!1;if((1023&a.indexOf(">"))>Math.min(1023&a.indexOf(","),1023&a.indexOf(";"))){var s=Z(n);return s.type="string",Mi.to_workbook(r,s)}if(-1==a.indexOf("<?xml")&&["html","table","head","meta","script","style","div"].forEach((function(e){a.indexOf("<"+e)>=0&&(o=!0)})),o)return _c.to_workbook(r,n);var l,f=[];var h,d={},p=[],g=n.dense?[]:{},m="",v={},b={},y=Dl('<Data ss:Type="String">'),w=0,S=0,x=0,E={s:{r:2e6,c:2e6},e:{r:0,c:0}},_={},A={},R="",N=0,I=[],B={},O={},P=0,L=[],F=[],D={},M=[],j=!1,W=[],U=[],z={},H=0,V=0,q={Sheets:[],WBProps:{date1904:!1}},G={};ql.lastIndex=0,r=r.replace(/<!--([\s\S]*?)-->/gm,"");for(var X="";i=ql.exec(r);)switch(i[3]=(X=i[3]).toLowerCase()){case"data":if("data"==X){if("/"===i[1]){if((l=f.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&f.push([i[3],!0]);break}if(f[f.length-1][1])break;"/"===i[1]?zl(r.slice(w,i.index),R,y,"comment"==f[f.length-1][0]?D:v,{c:S,r:x},_,M[S],b,W,n):(R="",y=Dl(i[0]),w=i.index+i[0].length);break;case"cell":if("/"===i[1])if(F.length>0&&(v.c=F),(!n.sheetRows||n.sheetRows>x)&&void 0!==v.v&&(n.dense?(g[x]||(g[x]=[]),g[x][S]=v):g[Xt(S)+qt(x)]=v),v.HRef&&(v.l={Target:Ee(v.HRef)},v.HRefScreenTip&&(v.l.Tooltip=v.HRefScreenTip),delete v.HRef,delete v.HRefScreenTip),(v.MergeAcross||v.MergeDown)&&(H=S+(0|parseInt(v.MergeAcross,10)),V=x+(0|parseInt(v.MergeDown,10)),I.push({s:{c:S,r:x},e:{c:H,r:V}})),n.sheetStubs)if(v.MergeAcross||v.MergeDown){for(var $=S;$<=H;++$)for(var Y=x;Y<=V;++Y)($>S||Y>x)&&(n.dense?(g[Y]||(g[Y]=[]),g[Y][$]={t:"z"}):g[Xt($)+qt(Y)]={t:"z"});S=H+1}else++S;else v.MergeAcross?S=H+1:++S;else(v=Ml(i[0])).Index&&(S=+v.Index-1),S<E.s.c&&(E.s.c=S),S>E.e.c&&(E.e.c=S),"/>"===i[0].slice(-2)&&++S,F=[];break;case"row":"/"===i[1]||"/>"===i[0].slice(-2)?(x<E.s.r&&(E.s.r=x),x>E.e.r&&(E.e.r=x),"/>"===i[0].slice(-2)&&(b=Dl(i[0])).Index&&(x=+b.Index-1),S=0,++x):((b=Dl(i[0])).Index&&(x=+b.Index-1),z={},("0"==b.AutoFitHeight||b.Height)&&(z.hpx=parseInt(b.Height,10),z.hpt=Ea(z.hpx),U[x]=z),"1"==b.Hidden&&(z.hidden=!0,U[x]=z));break;case"worksheet":if("/"===i[1]){if((l=f.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"));p.push(m),E.s.r<=E.e.r&&E.s.c<=E.e.c&&(g["!ref"]=Jt(E),n.sheetRows&&n.sheetRows<=E.e.r&&(g["!fullref"]=g["!ref"],E.e.r=n.sheetRows-1,g["!ref"]=Jt(E))),I.length&&(g["!merges"]=I),M.length>0&&(g["!cols"]=M),U.length>0&&(g["!rows"]=U),d[m]=g}else E={s:{r:2e6,c:2e6},e:{r:0,c:0}},x=S=0,f.push([i[3],!1]),l=Dl(i[0]),m=Ee(l.Name),g=n.dense?[]:{},I=[],W=[],U=[],G={name:m,Hidden:0},q.Sheets.push(G);break;case"table":if("/"===i[1]){if((l=f.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else{if("/>"==i[0].slice(-2))break;Dl(i[0]),f.push([i[3],!1]),M=[],j=!1}break;case"style":"/"===i[1]?Ul(_,A,n):A=Dl(i[0]);break;case"numberformat":A.nf=Ee(Dl(i[0]).Format||"General"),T[A.nf]&&(A.nf=T[A.nf]);for(var K=0;392!=K&&C._table[K]!=A.nf;++K);if(392==K)for(K=57;392!=K;++K)if(null==C._table[K]){C.load(A.nf,K);break}break;case"column":if("table"!==f[f.length-1][0])break;if((h=Dl(i[0])).Hidden&&(h.hidden=!0,delete h.Hidden),h.Width&&(h.wpx=parseInt(h.Width,10)),!j&&h.wpx>10){j=!0,ma=6;for(var J=0;J<M.length;++J)M[J]&&xa(M[J])}j&&xa(h),M[h.Index-1||M.length]=h;for(var Q=0;Q<+h.Span;++Q)M[M.length]=Z(h);break;case"namedrange":if("/"===i[1])break;q.Names||(q.Names=[]);var ee=ye(i[0]),te={Name:ee.Name,Ref:uo(ee.RefersTo.slice(1),{r:0,c:0})};q.Sheets.length>0&&(te.Sheet=q.Sheets.length-1),q.Names.push(te);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("/>"===i[0].slice(-2))break;"/"===i[1]?R+=r.slice(N,i.index):N=i.index+i[0].length;break;case"interior":if(!n.cellStyles)break;A.Interior=Dl(i[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("/>"===i[0].slice(-2))break;"/"===i[1]?br(B,X,r.slice(P,i.index)):P=i.index+i[0].length;break;case"styles":case"workbook":if("/"===i[1]){if((l=f.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else f.push([i[3],!1]);break;case"comment":if("/"===i[1]){if((l=f.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"));Hl(D),F.push(D)}else f.push([i[3],!1]),D={a:(l=Dl(i[0])).Author};break;case"autofilter":if("/"===i[1]){if((l=f.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else if("/"!==i[0].charAt(i[0].length-2)){var ne=Dl(i[0]);g["!autofilter"]={ref:uo(ne.Range).replace(/\$/g,"")},f.push([i[3],!0])}break;case"datavalidation":if("/"===i[1]){if((l=f.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&f.push([i[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("/"===i[1]){if((l=f.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&f.push([i[3],!0]);break;default:if(0==f.length&&"document"==i[3])return Nc(r,n);if(0==f.length&&"uof"==i[3])return Nc(r,n);var re=!0;switch(f[f.length-1][0]){case"officedocumentsettings":switch(i[3]){case"allowpng":case"removepersonalinformation":case"downloadcomponents":case"locationofcomponents":case"colors":case"color":case"index":case"rgb":case"targetscreensize":case"readonlyrecommended":break;default:re=!1}break;case"componentoptions":switch(i[3]){case"toolbar":case"hideofficelogo":case"spreadsheetautofit":case"label":case"caption":case"maxheight":case"maxwidth":case"nextsheetnumber":break;default:re=!1}break;case"excelworkbook":switch(i[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:re=!1}break;case"workbookoptions":switch(i[3]){case"owcversion":case"height":case"width":break;default:re=!1}break;case"worksheetoptions":switch(i[3]){case"visible":if("/>"===i[0].slice(-2));else if("/"===i[1])switch(r.slice(P,i.index)){case"SheetHidden":G.Hidden=1;break;case"SheetVeryHidden":G.Hidden=2}else P=i.index+i[0].length;break;case"header":g["!margins"]||ws(g["!margins"]={},"xlml"),g["!margins"].header=ye(i[0]).Margin;break;case"footer":g["!margins"]||ws(g["!margins"]={},"xlml"),g["!margins"].footer=ye(i[0]).Margin;break;case"pagemargins":var ie=ye(i[0]);g["!margins"]||ws(g["!margins"]={},"xlml"),ie.Top&&(g["!margins"].top=ie.Top),ie.Left&&(g["!margins"].left=ie.Left),ie.Right&&(g["!margins"].right=ie.Right),ie.Bottom&&(g["!margins"].bottom=ie.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":g["!outline"]||(g["!outline"]={}),g["!outline"].above=!0;break;case"nosummarycolumnsrightdetail":g["!outline"]||(g["!outline"]={}),g["!outline"].left=!0;break;default:re=!1}break;case"pivottable":case"pivotcache":switch(i[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:re=!1}break;case"pagebreaks":switch(i[3]){case"colbreaks":case"colbreak":case"rowbreaks":case"rowbreak":case"colstart":case"colend":case"rowend":break;default:re=!1}break;case"autofilter":switch(i[3]){case"autofiltercolumn":case"autofiltercondition":case"autofilterand":case"autofilteror":break;default:re=!1}break;case"querytable":switch(i[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:re=!1}break;case"datavalidation":switch(i[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:re=!1}break;case"sorting":case"conditionalformatting":switch(i[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:re=!1}break;case"mapinfo":case"schema":case"data":switch(i[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:re=!1}break;case"smarttags":break;default:re=!1}if(re)break;if(i[3].match(/!\[CDATA/))break;if(!f[f.length-1][1])throw"Unrecognized tag: "+i[3]+"|"+f.join("|");if("customdocumentproperties"===f[f.length-1][0]){if("/>"===i[0].slice(-2))break;"/"===i[1]?jl(O,X,L,r.slice(P,i.index)):(L=i,P=i.index+i[0].length);break}if(n.WTF)throw"Unrecognized tag: "+i[3]+"|"+f.join("|")}var ae={};return n.bookSheets||n.bookProps||(ae.Sheets=d),ae.SheetNames=p,ae.Workbook=q,ae.SSF=C.get_table(),ae.Props=B,ae.Custprops=O,ae}function Xl(e,t){switch(Gc(t=t||{}),t.type||"base64"){case"base64":return Gl(d.decode(e),t);case"binary":case"buffer":case"file":return Gl(e,t);case"array":return Gl(S(e),t)}}function $l(e,t){var n=[];return e.Props&&n.push(function(e,t){var n=[];return F(mr).map((function(e){for(var t=0;t<ar.length;++t)if(ar[t][1]==e)return ar[t];for(t=0;t<ur.length;++t)if(ur[t][1]==e)return ur[t];throw e})).forEach((function(r){if(null!=e[r[1]]){var i=t&&t.Props&&null!=t.Props[r[1]]?t.Props[r[1]]:e[r[1]];"date"===r[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/,"")),n.push(qe(mr[r[1]]||r[1],i))}})),Xe("DocumentProperties",n.join(""),{xmlns:Ke})}(e.Props,t)),e.Custprops&&n.push(function(e,t){var n=["Worksheets","SheetNames"],r="CustomDocumentProperties",i=[];return e&&F(e).forEach((function(t){if(Object.prototype.hasOwnProperty.call(e,t)){for(var r=0;r<ar.length;++r)if(t==ar[r][1])return;for(r=0;r<ur.length;++r)if(t==ur[r][1])return;for(r=0;r<n.length;++r)if(t==n[r])return;var a=e[t],o="string";"number"==typeof a?(o="float",a=String(a)):!0===a||!1===a?(o="boolean",a=a?"1":"0"):a=String(a),i.push(Xe(ke(t),a,{"dt:dt":o}))}})),t&&F(t).forEach((function(n){if(Object.prototype.hasOwnProperty.call(t,n)&&(!e||!Object.prototype.hasOwnProperty.call(e,n))){var r=t[n],a="string";"number"==typeof r?(a="float",r=String(r)):!0===r||!1===r?(a="boolean",r=r?"1":"0"):r instanceof Date?(a="dateTime.tz",r=r.toISOString()):r=String(r),i.push(Xe(ke(n),r,{"dt:dt":a}))}})),"<"+r+' xmlns="'+Ke+'">'+i.join("")+"</"+r+">"}(e.Props,e.Custprops)),n.join("")}function Yl(e){return Xe("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+ho(e.Ref,{r:0,c:0})})}function Kl(e,t,n,r,i,a,o){if(!e||null==e.v&&null==e.f)return"";var s={};if(e.f&&(s["ss:Formula"]="="+Ce(ho(e.f,o))),e.F&&e.F.slice(0,t.length)==t){var l=$t(e.F.slice(t.length+1));s["ss:ArrayRange"]="RC:R"+(l.r==o.r?"":"["+(l.r-o.r)+"]")+"C"+(l.c==o.c?"":"["+(l.c-o.c)+"]")}if(e.l&&e.l.Target&&(s["ss:HRef"]=Ce(e.l.Target),e.l.Tooltip&&(s["x:HRefScreenTip"]=Ce(e.l.Tooltip))),n["!merges"])for(var c=n["!merges"],u=0;u!=c.length;++u)c[u].s.c==o.c&&c[u].s.r==o.r&&(c[u].e.c>c[u].s.c&&(s["ss:MergeAcross"]=c[u].e.c-c[u].s.c),c[u].e.r>c[u].s.r&&(s["ss:MergeDown"]=c[u].e.r-c[u].s.r));var f="",h="";switch(e.t){case"z":if(!r.sheetStubs)return"";break;case"n":f="Number",h=String(e.v);break;case"b":f="Boolean",h=e.v?"1":"0";break;case"e":f="Error",h=zn[e.v];break;case"d":f="DateTime",h=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||C._table[14]);break;case"s":f="String",h=function(e){return(e+"").replace(_e,(function(e){return xe[e]})).replace(Te,(function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}))}(e.v||"")}var d=Ss(r.cellXfs,e,r);s["ss:StyleID"]="s"+(21+d),s["ss:Index"]=o.c+1;var p=null!=e.v?h:"",g="z"==e.t?"":'<Data ss:Type="'+f+'">'+p+"</Data>";return(e.c||[]).length>0&&(g+=function(e){return e.map((function(e){var t=Xe("ss:Data",Ie(e.t||""),{xmlns:"http://www.w3.org/TR/REC-html40"});return Xe("Comment",t,{"ss:Author":e.a})})).join("")}(e.c)),Xe("Cell",g,s)}function Jl(e,t){var n='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=_a(t.hpt)),t.hpx&&(n+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(n+=' ss:Hidden="1"')),n+">"}function Zl(e,t,n){var r=[],i=n.SheetNames[e],a=n.Sheets[i],o=a?function(e,t,n,r){if(!e)return"";if(!((r||{}).Workbook||{}).Names)return"";for(var i=r.Workbook.Names,a=[],o=0;o<i.length;++o){var s=i[o];s.Sheet==n&&(s.Name.match(/^_xlfn\./)||a.push(Yl(s)))}return a.join("")}(a,0,e,n):"";return o.length>0&&r.push("<Names>"+o+"</Names>"),o=a?function(e,t,n,r){if(!e["!ref"])return"";var i=Zt(e["!ref"]),a=e["!merges"]||[],o=0,s=[];e["!cols"]&&e["!cols"].forEach((function(e,t){xa(e);var n=!!e.width,r=ys(t,e),i={"ss:Index":t+1};n&&(i["ss:Width"]=va(r.width)),e.hidden&&(i["ss:Hidden"]="1"),s.push(Xe("Column",null,i))}));for(var l=Array.isArray(e),c=i.s.r;c<=i.e.r;++c){for(var u=[Jl(c,(e["!rows"]||[])[c])],f=i.s.c;f<=i.e.c;++f){var h=!1;for(o=0;o!=a.length;++o)if(!(a[o].s.c>f||a[o].s.r>c||a[o].e.c<f||a[o].e.r<c)){a[o].s.c==f&&a[o].s.r==c||(h=!0);break}if(!h){var d={r:c,c:f},p=Yt(d),g=l?(e[c]||[])[f]:e[p];u.push(Kl(g,p,e,t,0,0,d))}}u.push("</Row>"),u.length>2&&s.push(u.join(""))}return s.join("")}(a,t):"",o.length>0&&r.push("<Table>"+o+"</Table>"),r.push(function(e,t,n,r){if(!e)return"";var i=[];if(e["!margins"]&&(i.push("<PageSetup>"),e["!margins"].header&&i.push(Xe("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&i.push(Xe("Footer",null,{"x:Margin":e["!margins"].footer})),i.push(Xe("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),i.push("</PageSetup>")),r&&r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[n])if(r.Workbook.Sheets[n].Hidden)i.push(Xe("Visible",1==r.Workbook.Sheets[n].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var a=0;a<n&&(!r.Workbook.Sheets[a]||r.Workbook.Sheets[a].Hidden);++a);a==n&&i.push("<Selected/>")}return((((r||{}).Workbook||{}).Views||[])[0]||{}).RTL&&i.push("<DisplayRightToLeft/>"),e["!protect"]&&(i.push(qe("ProtectContents","True")),e["!protect"].objects&&i.push(qe("ProtectObjects","True")),e["!protect"].scenarios&&i.push(qe("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||i.push(qe("EnableSelection","UnlockedCells")):i.push(qe("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(t){e["!protect"][t[0]]&&i.push("<"+t[1]+"/>")}))),0==i.length?"":Xe("WorksheetOptions",i.join(""),{xmlns:Je})}(a,0,e,n)),r.join("")}function Ql(e,t){t||(t={}),e.SSF||(e.SSF=C.get_table()),e.SSF&&(k(C),C.load_table(e.SSF),t.revssf=j(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],Ss(t.cellXfs,{},{revssf:{General:0}}));var n=[];n.push($l(e,t)),n.push(""),n.push(""),n.push("");for(var r=0;r<e.SheetNames.length;++r)n.push(Xe("Worksheet",Zl(r,t,e),{"ss:Name":Ce(e.SheetNames[r])}));return n[2]=function(e,t){var n=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return t.cellXfs.forEach((function(e,t){var r=[];r.push(Xe("NumberFormat",null,{"ss:Format":Ce(C._table[e.numFmtId])}));var i={"ss:ID":"s"+(21+t)};n.push(Xe("Style",r.join(""),i))})),Xe("Styles",n.join(""))}(0,t),n[3]=function(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,n=[],r=0;r<t.length;++r){var i=t[r];null==i.Sheet&&(i.Name.match(/^_xlfn\./)||n.push(Yl(i)))}return Xe("Names",n.join(""))}(e),pe+Xe("Workbook",n.join(""),{xmlns:Ze,"xmlns:o":Ke,"xmlns:x":Je,"xmlns:ss":Ze,"xmlns:dt":Qe,"xmlns:html":nt})}function ec(e){var t={},n=e.content;if(n.l=28,t.AnsiUserType=n._R(0,"lpstr-ansi"),t.AnsiClipboardFormat=function(e){return In(e,1)}(n),n.length-n.l<=4)return t;var r=n._R(4);return 0==r||r>40?t:(n.l-=4,t.Reserved1=n._R(0,"lpstr-ansi"),n.length-n.l<=4||1907505652!==(r=n._R(4))?t:(t.UnicodeClipboardFormat=function(e){return In(e,2)}(n),0==(r=n._R(4))||r>40?t:(n.l-=4,void(t.Reserved2=n._R(0,"lpwstr")))))}function tc(e,t,n,r){var i=n,a=[],o=t.slice(t.l,t.l+i);if(r&&r.enc&&r.enc.insitu&&o.length>0)switch(e.n){case"BOF":case"FilePass":case"FileLock":case"InterfaceHdr":case"RRDInfo":case"RRDHead":case"UsrExcl":case"EOF":case"BoundSheet8":break;default:r.enc.insitu(o)}a.push(o),t.l+=i;for(var s=hc[At(t,t.l)],l=0;null!=s&&"Continue"===s.n.slice(0,8);)i=At(t,t.l+2),l=t.l+4,"ContinueFrt"==s.n?l+=4:"ContinueFrt"==s.n.slice(0,11)&&(l+=12),o=t.slice(l,t.l+4+i),a.push(o),t.l+=4+i,s=hc[At(t,t.l)];var c=E(a);Pt(c,0);var u=0;c.lens=[];for(var f=0;f<a.length;++f)c.lens.push(u),u+=a[f].length;if(c.length<n)throw"XLS Record "+(e&&e.n||"??")+" Truncated: "+c.length+" < "+n;return e.f(c,c.length,r)}function nc(e,t,n){if("z"!==e.t&&e.XF){var r=0;try{r=e.z||e.XF.numFmtId||0,t.cellNF&&(e.z=C._table[r])}catch(e){if(t.WTF)throw e}if(!t||!1!==t.cellText)try{"e"===e.t?e.w=e.w||zn[e.v]:0===r||"General"==r?"n"===e.t?(0|e.v)===e.v?e.w=C._general_int(e.v):e.w=C._general_num(e.v):e.w=C._general(e.v):e.w=C.format(r,e.v,{date1904:!!n,dateNF:t&&t.dateNF})}catch(e){if(t.WTF)throw e}if(t.cellDates&&r&&"n"==e.t&&C.is_date(C._table[r]||String(r))){var i=C.parse_date_code(e.v);i&&(e.t="d",e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}}function rc(e,t,n){return{v:e,ixfe:t,t:n}}function ic(e,t){var n={opts:{}},r={};var i,a,o,l,c,u,f,h,d=t.dense?[]:{},p={},g={},m=null,v=[],b="",y={},w="",S={},x=[],E=[],_=[],A={Sheets:[],WBProps:{date1904:!1},Views:[{}]},k={},T=function(e){return e<8?Un[e]:e<64&&_[e-8]||Un[e]},R=function(e,t,n){if(!(W>1||n.sheetRows&&e.r>=n.sheetRows)){if(n.cellStyles&&t.XF&&t.XF.data&&function(e,t,n){var r,i=t.XF.data;i&&i.patternType&&n&&n.cellStyles&&(t.s={},t.s.patternType=i.patternType,(r=pa(T(i.icvFore)))&&(t.s.fgColor={rgb:r}),(r=pa(T(i.icvBack)))&&(t.s.bgColor={rgb:r}))}(0,t,n),delete t.ixfe,delete t.XF,i=e,w=Yt(e),g&&g.s&&g.e||(g={s:{r:0,c:0},e:{r:0,c:0}}),e.r<g.s.r&&(g.s.r=e.r),e.c<g.s.c&&(g.s.c=e.c),e.r+1>g.e.r&&(g.e.r=e.r+1),e.c+1>g.e.c&&(g.e.c=e.c+1),n.cellFormula&&t.f)for(var r=0;r<x.length;++r)if(!(x[r][0].s.c>e.c||x[r][0].s.r>e.r||x[r][0].e.c<e.c||x[r][0].e.r<e.r)){t.F=Jt(x[r][0]),x[r][0].s.c==e.c&&x[r][0].s.r==e.r||delete t.f,t.f&&(t.f=""+Jo(x[r][1],0,e,D,N));break}n.dense?(d[e.r]||(d[e.r]=[]),d[e.r][e.c]=t):d[w]=t}},N={enc:!1,sbcch:0,snames:[],sharedf:S,arrayf:x,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!t&&!!t.cellStyles,WTF:!!t&&!!t.wtf};t.password&&(N.password=t.password);var I=[],B=[],O=[],P=[],L=!1,D=[];D.SheetNames=N.snames,D.sharedf=N.sharedf,D.arrayf=N.arrayf,D.names=[],D.XTI=[];var M,j="",W=0,U=0,z=[],H=[];N.codepage=1200,s(1200);for(var V=!1;e.l<e.length-1;){var q=e.l,G=e._R(2);if(0===G&&"EOF"===j)break;var X=e.l===e.length?0:e._R(2),$=hc[G];if($&&$.f){if(t.bookSheets&&"BoundSheet8"===j&&"BoundSheet8"!==$.n)break;if(j=$.n,2===$.r||12==$.r){var Y=e._R(2);if(X-=2,!N.enc&&Y!==G&&((255&Y)<<8|Y>>8)!==G)throw new Error("rt mismatch: "+Y+"!="+G);12==$.r&&(e.l+=10,X-=10)}var K={};K="EOF"===$.n?$.f(e,X,N):tc($,e,X,N);var J=$.n;if(0==W&&"BOF"!=J)continue;switch(J){case"Date1904":n.opts.Date1904=A.WBProps.date1904=K;break;case"WriteProtect":n.opts.WriteProtect=!0;break;case"FilePass":if(N.enc||(e.l=0),N.enc=K,!t.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"WriteAccess":N.lastuser=K;break;case"FileSharing":case"Template":case"BookBool":case"UsesELFs":case"MTRSettings":case"Uncalced":case"ExtSST":case"BookExt":case"RichTextStream":case"BkHim":case"Index":case"Prot4Rev":case"Prot4RevPass":break;case"CodePage":var Z=Number(K);switch(Z){case 21010:Z=1200;break;case 32768:Z=1e4;break;case 32769:Z=1252}s(N.codepage=Z),V=!0;break;case"RRTabId":N.rrtabid=K;break;case"WinProtect":N.winlocked=K;break;case"RefreshAll":case"CalcCount":case"CalcDelta":case"CalcIter":case"CalcMode":case"CalcPrecision":case"CalcSaveRecalc":n.opts[J]=K;break;case"CalcRefMode":N.CalcRefMode=K;break;case"ForceFullCalculation":n.opts.FullCalc=K;break;case"WsBool":K.fDialog&&(d["!type"]="dialog"),K.fBelow||((d["!outline"]||(d["!outline"]={})).above=!0),K.fRight||((d["!outline"]||(d["!outline"]={})).left=!0);break;case"XF":E.push(K);break;case"SupBook":D.push([K]),D[D.length-1].XTI=[];break;case"ExternName":D[D.length-1].push(K);break;case"Lbl":M={Name:K.Name,Ref:Jo(K.rgce,0,null,D,N)},K.itab>0&&(M.Sheet=K.itab-1),D.names.push(M),D[0]||(D[0]=[],D[0].XTI=[]),D[D.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]&&(H[K.itab-1]={ref:Jt(K.rgce[0][0][1][2])});break;case"ExternCount":N.ExternCount=K;break;case"ExternSheet":0==D.length&&(D[0]=[],D[0].XTI=[]),D[D.length-1].XTI=D[D.length-1].XTI.concat(K),D.XTI=D.XTI.concat(K);break;case"NameCmt":if(N.biff<8)break;null!=M&&(M.Comment=K[1]);break;case"Protect":d["!protect"]=K;break;case"Password":0!==K&&N.WTF&&console.error("Password verifier: "+K);break;case"BoundSheet8":p[K.pos]=K,N.snames.push(K.name);break;case"EOF":if(--W)break;if(g.e){if(g.e.r>0&&g.e.c>0){if(g.e.r--,g.e.c--,d["!ref"]=Jt(g),t.sheetRows&&t.sheetRows<=g.e.r){var Q=g.e.r;g.e.r=t.sheetRows-1,d["!fullref"]=d["!ref"],d["!ref"]=Jt(g),g.e.r=Q}g.e.r++,g.e.c++}I.length>0&&(d["!merges"]=I),B.length>0&&(d["!objects"]=B),O.length>0&&(d["!cols"]=O),P.length>0&&(d["!rows"]=P),A.Sheets.push(k)}""===b?y=d:r[b]=d,d=t.dense?[]:{};break;case"BOF":if(8===N.biff&&(N.biff={9:2,521:3,1033:4}[G]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[K.BIFFVer]||8),N.biffguess=0==K.BIFFVer,0==K.BIFFVer&&4096==K.dt&&(N.biff=5,V=!0,s(N.codepage=28591)),8==N.biff&&0==K.BIFFVer&&16==K.dt&&(N.biff=2),W++)break;if(d=t.dense?[]:{},N.biff<8&&!V&&(V=!0,s(N.codepage=t.codepage||1252)),N.biff<5||0==K.BIFFVer&&4096==K.dt){""===b&&(b="Sheet1"),g={s:{r:0,c:0},e:{r:0,c:0}};var ee={pos:e.l-X,name:b};p[ee.pos]=ee,N.snames.push(b)}else b=(p[q]||{name:""}).name;32==K.dt&&(d["!type"]="chart"),64==K.dt&&(d["!type"]="macro"),I=[],B=[],N.arrayf=x=[],O=[],P=[],0,L=!1,k={Hidden:(p[q]||{hs:0}).hs,name:b};break;case"Number":case"BIFF2NUM":case"BIFF2INT":"chart"==d["!type"]&&(t.dense?(d[K.r]||[])[K.c]:d[Yt({c:K.c,r:K.r})])&&++K.c,u={ixfe:K.ixfe,XF:E[K.ixfe]||{},v:K.val,t:"n"},U>0&&(u.z=z[u.ixfe>>8&63]),nc(u,t,n.opts.Date1904),R({c:K.c,r:K.r},u,t);break;case"BoolErr":u={ixfe:K.ixfe,XF:E[K.ixfe],v:K.val,t:K.t},U>0&&(u.z=z[u.ixfe>>8&63]),nc(u,t,n.opts.Date1904),R({c:K.c,r:K.r},u,t);break;case"RK":u={ixfe:K.ixfe,XF:E[K.ixfe],v:K.rknum,t:"n"},U>0&&(u.z=z[u.ixfe>>8&63]),nc(u,t,n.opts.Date1904),R({c:K.c,r:K.r},u,t);break;case"MulRk":for(var te=K.c;te<=K.C;++te){var ne=K.rkrec[te-K.c][0];u={ixfe:ne,XF:E[ne],v:K.rkrec[te-K.c][1],t:"n"},U>0&&(u.z=z[u.ixfe>>8&63]),nc(u,t,n.opts.Date1904),R({c:te,r:K.r},u,t)}break;case"Formula":if("String"==K.val){m=K;break}if((u=rc(K.val,K.cell.ixfe,K.tt)).XF=E[u.ixfe],t.cellFormula){var re=K.formula;if(re&&re[0]&&re[0][0]&&"PtgExp"==re[0][0][0]){var ie=re[0][0][1][0],ae=re[0][0][1][1],oe=Yt({r:ie,c:ae});S[oe]?u.f=""+Jo(K.formula,0,K.cell,D,N):u.F=((t.dense?(d[ie]||[])[ae]:d[oe])||{}).F}else u.f=""+Jo(K.formula,0,K.cell,D,N)}U>0&&(u.z=z[u.ixfe>>8&63]),nc(u,t,n.opts.Date1904),R(K.cell,u,t),m=K;break;case"String":if(!m)throw new Error("String record expects Formula");m.val=K,(u=rc(K,m.cell.ixfe,"s")).XF=E[u.ixfe],t.cellFormula&&(u.f=""+Jo(m.formula,0,m.cell,D,N)),U>0&&(u.z=z[u.ixfe>>8&63]),nc(u,t,n.opts.Date1904),R(m.cell,u,t),m=null;break;case"Array":x.push(K);var se=Yt(K[0].s);if(a=t.dense?(d[K[0].s.r]||[])[K[0].s.c]:d[se],t.cellFormula&&a){if(!m)break;if(!se||!a)break;a.f=""+Jo(K[1],0,K[0],D,N),a.F=Jt(K[0])}break;case"ShrFmla":if(!t.cellFormula)break;if(w){if(!m)break;S[Yt(m.cell)]=K[0],((a=t.dense?(d[m.cell.r]||[])[m.cell.c]:d[Yt(m.cell)])||{}).f=""+Jo(K[0],0,i,D,N)}break;case"LabelSst":u=rc(v[K.isst].t,K.ixfe,"s"),v[K.isst].h&&(u.h=v[K.isst].h),u.XF=E[u.ixfe],U>0&&(u.z=z[u.ixfe>>8&63]),nc(u,t,n.opts.Date1904),R({c:K.c,r:K.r},u,t);break;case"Blank":t.sheetStubs&&(u={ixfe:K.ixfe,XF:E[K.ixfe],t:"z"},U>0&&(u.z=z[u.ixfe>>8&63]),nc(u,t,n.opts.Date1904),R({c:K.c,r:K.r},u,t));break;case"MulBlank":if(t.sheetStubs)for(var le=K.c;le<=K.C;++le){var ce=K.ixfe[le-K.c];u={ixfe:ce,XF:E[ce],t:"z"},U>0&&(u.z=z[u.ixfe>>8&63]),nc(u,t,n.opts.Date1904),R({c:le,r:K.r},u,t)}break;case"RString":case"Label":case"BIFF2STR":(u=rc(K.val,K.ixfe,"s")).XF=E[u.ixfe],U>0&&(u.z=z[u.ixfe>>8&63]),nc(u,t,n.opts.Date1904),R({c:K.c,r:K.r},u,t);break;case"Dimensions":1===W&&(g=K);break;case"SST":v=K;break;case"Format":if(4==N.biff){z[U++]=K[1];for(var ue=0;ue<U+163&&C._table[ue]!=K[1];++ue);ue>=163&&C.load(K[1],U+163)}else C.load(K[1],K[0]);break;case"BIFF2FORMAT":z[U++]=K;for(var fe=0;fe<U+163&&C._table[fe]!=K;++fe);fe>=163&&C.load(K,U+163);break;case"MergeCells":I=I.concat(K);break;case"Obj":B[K.cmo[0]]=N.lastobj=K;break;case"TxO":N.lastobj.TxO=K;break;case"ImData":N.lastobj.ImData=K;break;case"HLink":for(c=K[0].s.r;c<=K[0].e.r;++c)for(l=K[0].s.c;l<=K[0].e.c;++l)(a=t.dense?(d[c]||[])[l]:d[Yt({c:l,r:c})])&&(a.l=K[1]);break;case"HLinkTooltip":for(c=K[0].s.r;c<=K[0].e.r;++c)for(l=K[0].s.c;l<=K[0].e.c;++l)(a=t.dense?(d[c]||[])[l]:d[Yt({c:l,r:c})])&&a.l&&(a.l.Tooltip=K[1]);break;case"Note":if(N.biff<=5&&N.biff>=2)break;a=t.dense?(d[K[0].r]||[])[K[0].c]:d[Yt(K[0])];var he=B[K[2]];a||(t.dense?(d[K[0].r]||(d[K[0].r]=[]),a=d[K[0].r][K[0].c]={t:"z"}):a=d[Yt(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)),a.c||(a.c=[]),o={a:K[1],t:he.TxO.t},a.c.push(o);break;default:switch($.n){case"ClrtClient":case"Selection":case"Header":case"Footer":case"HCenter":case"VCenter":case"Pls":case"GCW":case"LHRecord":case"DBCell":case"EntExU2":case"SxView":case"Sxvd":case"SXVI":case"SXVDEx":case"SxIvd":case"SXString":case"Sync":case"Addin":case"SXDI":case"SXLI":case"SXEx":case"QsiSXTag":case"Feat":case"FeatHdr":case"FeatHdr11":case"Feature11":case"Feature12":case"List12":case"RecalcId":case"DxGCol":case"Fbi":case"Fbi2":case"GelFrame":case"Font":case"XFCRC":case"Style":case"StyleExt":case"ScenarioProtect":case"ObjProtect":case"CondFmt12":case"Table":case"TableStyles":case"TableStyle":case"TableStyleElement":case"SXStreamID":case"SXVS":case"DConRef":case"SXAddl":case"DConBin":case"DConName":case"SXPI":case"SxFormat":case"SxSelect":case"SxRule":case"SxFilt":case"SxItm":case"SxDXF":case"ScenMan":case"DCon":case"CellWatch":case"PrintRowCol":case"PrintGrid":case"PrintSize":case"XCT":case"CRN":case"Scl":case"SheetExt":case"SheetExtOptional":case"ObNoMacros":case"ObProj":case"GUIDTypeLib":case"WOpt":case"PhoneticInfo":case"OleObjectSize":case"DXF":case"DXFN":case"DXFN12":case"DXFN12List":case"DXFN12NoCB":case"Dv":case"DVal":case"BRAI":case"Series":case"SeriesText":case"DConn":case"DbOrParamQry":case"DBQueryExt":case"OleDbConn":case"ExtString":case"IFmtRecord":case"CondFmt":case"CF":case"CF12":case"CFEx":case"Excel9File":case"Units":case"InterfaceHdr":case"Mms":case"InterfaceEnd":case"DSF":case"BuiltInFnGroupCount":case"Window1":case"HideObj":case"GridSet":case"Guts":case"UserBView":case"UserSViewBegin":case"UserSViewEnd":case"Pane":break;case"XFExt":no(E[K.ixfe],K.ext);break;case"DefColWidth":K;break;case"DefaultRowHeight":K[1];break;case"ColInfo":if(!N.cellStyles)break;for(;K.e>=K.s;)O[K.e--]={width:K.w/256,level:K.level||0,hidden:!!(1&K.flags)},L||(L=!0,Sa(K.w/256)),xa(O[K.e+1]);break;case"Row":var de={};null!=K.level&&(P[K.r]=de,de.level=K.level),K.hidden&&(P[K.r]=de,de.hidden=!0),K.hpt&&(P[K.r]=de,de.hpt=K.hpt,de.hpx=_a(K.hpt));break;case"LeftMargin":case"RightMargin":case"TopMargin":case"BottomMargin":d["!margins"]||ws(d["!margins"]={}),d["!margins"][J.slice(0,-6).toLowerCase()]=K;break;case"Setup":d["!margins"]||ws(d["!margins"]={}),d["!margins"].header=K.header,d["!margins"].footer=K.footer;break;case"Window2":K.RTL&&(A.Views[0].RTL=!0);break;case"Country":f=K;break;case"Palette":_=K;break;case"Theme":h=K;break;case"CodeName":b?k.CodeName=K||k.name:A.WBProps.CodeName=K||"ThisWorkbook";break;default:switch($.n){case"Dat":case"Begin":case"End":case"StartBlock":case"EndBlock":case"Frame":case"Area":case"Axis":case"AxisLine":case"Tick":case"AxesUsed":case"CrtLayout12":case"CrtLayout12A":case"CrtLink":case"CrtLine":case"CrtMlFrt":case"CrtMlFrtContinue":case"LineFormat":case"AreaFormat":case"Chart":case"Chart3d":case"Chart3DBarShape":case"ChartFormat":case"ChartFrtInfo":case"PlotArea":case"PlotGrowth":case"SeriesList":case"SerParent":case"SerAuxTrend":case"DataFormat":case"SerToCrt":case"FontX":case"CatSerRange":case"AxcExt":case"SerFmt":case"ShtProps":case"DefaultText":case"Text":case"CatLab":case"DataLabExtContents":case"Legend":case"LegendException":case"Pie":case"Scatter":case"PieFormat":case"MarkerFormat":case"StartObject":case"EndObject":case"AlRuns":case"ObjectLink":case"SIIndex":case"AttachedLabel":case"YMult":case"Line":case"Bar":case"Surf":case"AxisParent":case"Pos":case"ValueRange":case"SXViewEx9":case"SXViewLink":case"PivotChartBits":case"SBaseRef":case"TextPropsStream":case"LnExt":case"MkrExt":case"CrtCoopt":case"Qsi":case"Qsif":case"Qsir":case"QsiSXTag":case"TxtQry":case"FilterMode":case"AutoFilter":case"AutoFilterInfo":case"AutoFilter12":case"DropDownObjIds":case"Sort":case"SortData":case"ShapePropsStream":case"MsoDrawing":case"MsoDrawingGroup":case"MsoDrawingSelection":case"WebPub":case"AutoWebPub":case"HeaderFooter":case"HFPicture":case"PLV":case"HorizontalPageBreaks":case"VerticalPageBreaks":case"Backup":case"CompressPictures":case"Compat12":case"Continue":case"ContinueFrt12":case"FrtFontList":case"FrtWrapper":break;default:switch($.n){case"TabIdConf":case"Radar":case"RadarArea":case"DropBar":case"Intl":case"CoordList":case"SerAuxErrBar":case"BIFF2FONTCLR":case"BIFF2FMTCNT":case"BIFF2FONTXTRA":case"BIFF2XF":case"BIFF3XF":case"BIFF4XF":case"BIFF2XFINDEX":case"BIFF4FMTCNT":case"BIFF2ROW":case"BIFF2WINDOW2":case"SCENARIO":case"DConBin":case"PicF":case"DataLabExt":case"Lel":case"BopPop":case"BopPopCustom":case"RealTimeData":case"Name":case"LHNGraph":case"FnGroupName":case"AddMenu":case"LPr":case"ListObj":case"ListField":case"RRSort":case"BigName":case"ToolbarHdr":case"ToolbarEnd":case"DDEObjName":case"FRTArchId$":break;default:if(t.WTF)throw"Unrecognized Record "+$.n}}}}}else e.l+=X}return n.SheetNames=F(p).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return p[e].name})),t.bookSheets||(n.Sheets=r),!n.SheetNames.length&&y["!ref"]?(n.SheetNames.push("Sheet1"),n.Sheets&&(n.Sheets.Sheet1=y)):n.Preamble=y,n.Sheets&&H.forEach((function(e,t){n.Sheets[n.SheetNames[t]]["!autofilter"]=e})),n.Strings=v,n.SSF=C.get_table(),N.enc&&(n.Encryption=N.enc),h&&(n.Themes=h),n.Metadata={},void 0!==f&&(n.Metadata.Country=f),D.names.length>0&&(A.Names=D.names),n.Workbook=A,n}var ac="e0859ff2f94f6810ab9108002b27b3d9",oc="02d5cdd59c2e1b10939708002b2cf9ae",sc="05d5cdd59c2e1b10939708002b2cf9ae";function lc(e,t){var n,r,i,a;if(t||(t={}),Gc(t),l(),t.codepage&&o(t.codepage),e.FullPaths){if(O.find(e,"/encryption"))throw new Error("File is password-protected");n=O.find(e,"!CompObj"),r=O.find(e,"/Workbook")||O.find(e,"/Book")}else{switch(t.type){case"base64":e=y(d.decode(e));break;case"binary":e=y(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e))}Pt(e,0),r={content:e}}if(n&&ec(n),t.bookProps&&!t.bookSheets)i={};else{var s=p?"buffer":"array";if(r&&r.content)i=ic(r.content,t);else if((a=O.find(e,"PerfectOffice_MAIN"))&&a.content)i=ji.to_workbook(a.content,(t.type=s,t));else{if(!(a=O.find(e,"NativeContent_MAIN"))||!a.content)throw new Error("Cannot find Workbook stream");i=ji.to_workbook(a.content,(t.type=s,t))}t.bookVBA&&e.FullPaths&&O.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(i.vbaraw=function(e){var t=O.utils.cfb_new({root:"R"});return e.FullPaths.forEach((function(n,r){if("/"!==n.slice(-1)&&n.match(/_VBA_PROJECT_CUR/)){var i=n.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");O.utils.cfb_add(t,i,e.FileIndex[r].content)}})),O.write(t)}(e))}var c={};return e.FullPaths&&function(e,t,n){var r=O.find(e,"!DocumentSummaryInformation");if(r&&r.size>0)try{var i=Or(r,Pn,oc);for(var a in i)t[a]=i[a]}catch(e){if(n.WTF)throw e}var o=O.find(e,"!SummaryInformation");if(o&&o.size>0)try{var s=Or(o,Ln,ac);for(var l in s)null==t[l]&&(t[l]=s[l])}catch(e){if(n.WTF)throw e}t.HeadingPairs&&t.TitlesOfParts&&(fr(t.HeadingPairs,t.TitlesOfParts,t,n),delete t.HeadingPairs,delete t.TitlesOfParts)}(e,c,t),i.Props=i.Custprops=c,t.bookFiles&&(i.cfb=e),i}function cc(e,t){var n=t||{},r=O.utils.cfb_new({root:"R"}),i="/Workbook";switch(n.bookType||"xls"){case"xls":n.bookType="biff8";case"xla":n.bookType||(n.bookType="xla");case"biff8":i="/Workbook",n.biff=8;break;case"biff5":i="/Book",n.biff=5;break;default:throw new Error("invalid type "+n.bookType+" for XLS CFB")}return O.utils.cfb_add(r,i,Ec(e,n)),8==n.biff&&(e.Props||e.Custprops)&&function(e,t){var n,r=[],i=[],a=[],o=0;if(e.Props)for(n=F(e.Props),o=0;o<n.length;++o)(Object.prototype.hasOwnProperty.call(Fn,n[o])?r:Object.prototype.hasOwnProperty.call(Dn,n[o])?i:a).push([n[o],e.Props[n[o]]]);if(e.Custprops)for(n=F(e.Custprops),o=0;o<n.length;++o)Object.prototype.hasOwnProperty.call(e.Props||{},n[o])||(Object.prototype.hasOwnProperty.call(Fn,n[o])?r:Object.prototype.hasOwnProperty.call(Dn,n[o])?i:a).push([n[o],e.Custprops[n[o]]]);var s=[];for(o=0;o<a.length;++o)Nr.indexOf(a[o][0])>-1||null!=a[o][1]&&s.push(a[o]);i.length&&O.utils.cfb_add(t,"/SummaryInformation",Pr(i,ac,Dn,Ln)),(r.length||s.length)&&O.utils.cfb_add(t,"/DocumentSummaryInformation",Pr(r,oc,Fn,Pn,s.length?s:null,sc))}(e,r),8==n.biff&&e.vbaraw&&function(e,t){t.FullPaths.forEach((function(n,r){if(0!=r){var i=n.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==i.slice(-1)&&O.utils.cfb_add(e,i,t.FileIndex[r].content)}}))}(r,O.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),r}var uc={0:{n:"BrtRowHdr",f:function(e,t){var n={},r=e.l+t;n.r=e._R(4),e.l+=4;var i=e._R(2);e.l+=1;var a=e._R(1);return e.l=r,7&a&&(n.level=7&a),16&a&&(n.hidden=!0),32&a&&(n.hpt=i/20),n}},1:{n:"BrtCellBlank",f:function(e){return[hn(e)]}},2:{n:"BrtCellRk",f:function(e){return[hn(e),En(e),"n"]}},3:{n:"BrtCellError",f:function(e){return[hn(e),e._R(1),"e"]}},4:{n:"BrtCellBool",f:function(e){return[hn(e),e._R(1),"b"]}},5:{n:"BrtCellReal",f:function(e){return[hn(e),Tn(e),"n"]}},6:{n:"BrtCellSt",f:function(e){return[hn(e),on(e),"str"]}},7:{n:"BrtCellIsst",f:function(e){return[hn(e),e._R(4),"s"]}},8:{n:"BrtFmlaString",f:function(e,t,n){var r=e.l+t,i=hn(e);i.r=n["!row"];var a=[i,on(e),"str"];if(n.cellFormula){e.l+=2;var o=is(e,r-e.l,n);a[3]=Jo(o,0,i,n.supbooks,n)}else e.l=r;return a}},9:{n:"BrtFmlaNum",f:function(e,t,n){var r=e.l+t,i=hn(e);i.r=n["!row"];var a=[i,Tn(e),"n"];if(n.cellFormula){e.l+=2;var o=is(e,r-e.l,n);a[3]=Jo(o,0,i,n.supbooks,n)}else e.l=r;return a}},10:{n:"BrtFmlaBool",f:function(e,t,n){var r=e.l+t,i=hn(e);i.r=n["!row"];var a=[i,e._R(1),"b"];if(n.cellFormula){e.l+=2;var o=is(e,r-e.l,n);a[3]=Jo(o,0,i,n.supbooks,n)}else e.l=r;return a}},11:{n:"BrtFmlaError",f:function(e,t,n){var r=e.l+t,i=hn(e);i.r=n["!row"];var a=[i,e._R(1),"e"];if(n.cellFormula){e.l+=2;var o=is(e,r-e.l,n);a[3]=Jo(o,0,i,n.supbooks,n)}else e.l=r;return a}},12:{n:"BrtShortBlank",f:function(e){return[pn(e)]}},13:{n:"BrtShortRk",f:function(e){return[pn(e),En(e),"n"]}},14:{n:"BrtShortError",f:function(e){return[pn(e),e._R(1),"e"]}},15:{n:"BrtShortBool",f:function(e){return[pn(e),e._R(1),"b"]}},16:{n:"BrtShortReal",f:Gs},17:{n:"BrtShortSt",f:function(e){return[pn(e),on(e),"str"]}},18:{n:"BrtShortIsst",f:function(e){return[pn(e),e._R(4),"s"]}},19:{n:"BrtSSTItem",f:cn},20:{n:"BrtPCDIMissing"},21:{n:"BrtPCDINumber"},22:{n:"BrtPCDIBoolean"},23:{n:"BrtPCDIError"},24:{n:"BrtPCDIString"},25:{n:"BrtPCDIDatetime"},26:{n:"BrtPCDIIndex"},27:{n:"BrtPCDIAMissing"},28:{n:"BrtPCDIANumber"},29:{n:"BrtPCDIABoolean"},30:{n:"BrtPCDIAError"},31:{n:"BrtPCDIAString"},32:{n:"BrtPCDIADatetime"},33:{n:"BrtPCRRecord"},34:{n:"BrtPCRRecordDt"},35:{n:"BrtFRTBegin"},36:{n:"BrtFRTEnd"},37:{n:"BrtACBegin"},38:{n:"BrtACEnd"},39:{n:"BrtName",f:function(e,t,n){var r=e.l+t;e.l+=4,e.l+=1;var i=e._R(4),a=wn(e),o=as(e,0,n),s=bn(e);e.l=r;var l={Name:a,Ptg:o};return i<268435455&&(l.Sheet=i),s&&(l.Comment=s),l}},40:{n:"BrtIndexRowBlock"},42:{n:"BrtIndexBlock"},43:{n:"BrtFont",f:function(e,t,n){var r={};r.sz=e._R(2)/20;var i=function(e){var t=e._R(1);return e.l++,{fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t}}(e);switch(i.fItalic&&(r.italic=1),i.fCondense&&(r.condense=1),i.fExtend&&(r.extend=1),i.fShadow&&(r.shadow=1),i.fOutline&&(r.outline=1),i.fStrikeout&&(r.strike=1),700===e._R(2)&&(r.bold=1),e._R(2)){case 1:r.vertAlign="superscript";break;case 2:r.vertAlign="subscript"}var a=e._R(1);0!=a&&(r.underline=a);var o=e._R(1);o>0&&(r.family=o);var s=e._R(1);switch(s>0&&(r.charset=s),e.l++,r.color=function(e){var t={},n=e._R(1)>>>1,r=e._R(1),i=e._R(2,"i"),a=e._R(1),o=e._R(1),s=e._R(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=r;var l=Un[r];l&&(t.rgb=pa(l));break;case 2:t.rgb=pa([a,o,s]);break;case 3:t.theme=r}return 0!=i&&(t.tint=i>0?i/32767:i/32768),t}(e),e._R(1)){case 1:r.scheme="major";break;case 2:r.scheme="minor"}return r.name=on(e),r}},44:{n:"BrtFmt",f:function(e,t){return[e._R(2),on(e)]}},45:{n:"BrtFill",f:La},46:{n:"BrtBorder",f:ja},47:{n:"BrtXF",f:function(e,t){var n=e.l+t,r=e._R(2),i=e._R(2);return e.l=n,{ixfe:r,numFmtId:i}}},48:{n:"BrtStyle"},49:{n:"BrtCellMeta"},50:{n:"BrtValueMeta"},51:{n:"BrtMdb"},52:{n:"BrtBeginFmd"},53:{n:"BrtEndFmd"},54:{n:"BrtBeginMdx"},55:{n:"BrtEndMdx"},56:{n:"BrtBeginMdxTuple"},57:{n:"BrtEndMdxTuple"},58:{n:"BrtMdxMbrIstr"},59:{n:"BrtStr"},60:{n:"BrtColInfo",f:Ni},62:{n:"BrtCellRString"},63:{n:"BrtCalcChainItem$",f:function(e){var t={};t.i=e._R(4);var n={};n.r=e._R(4),n.c=e._R(4),t.r=Yt(n);var r=e._R(1);return 2&r&&(t.l="1"),8&r&&(t.a="1"),t}},64:{n:"BrtDVal",f:function(){}},65:{n:"BrtSxvcellNum"},66:{n:"BrtSxvcellStr"},67:{n:"BrtSxvcellBool"},68:{n:"BrtSxvcellErr"},69:{n:"BrtSxvcellDate"},70:{n:"BrtSxvcellNil"},128:{n:"BrtFileVersion"},129:{n:"BrtBeginSheet"},130:{n:"BrtEndSheet"},131:{n:"BrtBeginBook",f:Lt,p:0},132:{n:"BrtEndBook"},133:{n:"BrtBeginWsViews"},134:{n:"BrtEndWsViews"},135:{n:"BrtBeginBookViews"},136:{n:"BrtEndBookViews"},137:{n:"BrtBeginWsView",f:function(e){var t=e._R(2);return e.l+=28,{RTL:32&t}}},138:{n:"BrtEndWsView"},139:{n:"BrtBeginCsViews"},140:{n:"BrtEndCsViews"},141:{n:"BrtBeginCsView"},142:{n:"BrtEndCsView"},143:{n:"BrtBeginBundleShs"},144:{n:"BrtEndBundleShs"},145:{n:"BrtBeginSheetData"},146:{n:"BrtEndSheetData"},147:{n:"BrtWsProp",f:function(e,t){var n={},r=e[e.l];return++e.l,n.above=!(64&r),n.left=!(128&r),e.l+=18,n.name=mn(e,t-19),n}},148:{n:"BrtWsDim",f:Vs,p:16},151:{n:"BrtPane",f:function(){}},152:{n:"BrtSel"},153:{n:"BrtWbProp",f:function(e,t){var n={},r=e._R(4);n.defaultThemeVersion=e._R(4);var i=t>8?on(e):"";return i.length>0&&(n.CodeName=i),n.autoCompressPictures=!!(65536&r),n.backupFile=!!(64&r),n.checkCompatibility=!!(4096&r),n.date1904=!!(1&r),n.filterPrivacy=!!(8&r),n.hidePivotFieldList=!!(1024&r),n.promptedSolutions=!!(16&r),n.publishItems=!!(2048&r),n.refreshAllConnections=!!(262144&r),n.saveExternalLinkValues=!!(128&r),n.showBorderUnselectedTables=!!(4&r),n.showInkAnnotation=!!(32&r),n.showObjects=["all","placeholders","none"][r>>13&3],n.showPivotChartFilter=!!(32768&r),n.updateLinks=["userSet","never","always"][r>>8&3],n}},154:{n:"BrtWbFactoid"},155:{n:"BrtFileRecover"},156:{n:"BrtBundleSh",f:function(e,t){var n={};return n.Hidden=e._R(4),n.iTabID=e._R(4),n.strRelID=Sn(e,t-8),n.name=on(e),n}},157:{n:"BrtCalcProp"},158:{n:"BrtBookView"},159:{n:"BrtBeginSst",f:function(e){return[e._R(4),e._R(4)]}},160:{n:"BrtEndSst"},161:{n:"BrtBeginAFilter",f:Cn},162:{n:"BrtEndAFilter"},163:{n:"BrtBeginFilterColumn"},164:{n:"BrtEndFilterColumn"},165:{n:"BrtBeginFilters"},166:{n:"BrtEndFilters"},167:{n:"BrtFilter"},168:{n:"BrtColorFilter"},169:{n:"BrtIconFilter"},170:{n:"BrtTop10Filter"},171:{n:"BrtDynamicFilter"},172:{n:"BrtBeginCustomFilters"},173:{n:"BrtEndCustomFilters"},174:{n:"BrtCustomFilter"},175:{n:"BrtAFilterDateGroupItem"},176:{n:"BrtMergeCell",f:Xs},177:{n:"BrtBeginMergeCells"},178:{n:"BrtEndMergeCells"},179:{n:"BrtBeginPivotCacheDef"},180:{n:"BrtEndPivotCacheDef"},181:{n:"BrtBeginPCDFields"},182:{n:"BrtEndPCDFields"},183:{n:"BrtBeginPCDField"},184:{n:"BrtEndPCDField"},185:{n:"BrtBeginPCDSource"},186:{n:"BrtEndPCDSource"},187:{n:"BrtBeginPCDSRange"},188:{n:"BrtEndPCDSRange"},189:{n:"BrtBeginPCDFAtbl"},190:{n:"BrtEndPCDFAtbl"},191:{n:"BrtBeginPCDIRun"},192:{n:"BrtEndPCDIRun"},193:{n:"BrtBeginPivotCacheRecords"},194:{n:"BrtEndPivotCacheRecords"},195:{n:"BrtBeginPCDHierarchies"},196:{n:"BrtEndPCDHierarchies"},197:{n:"BrtBeginPCDHierarchy"},198:{n:"BrtEndPCDHierarchy"},199:{n:"BrtBeginPCDHFieldsUsage"},200:{n:"BrtEndPCDHFieldsUsage"},201:{n:"BrtBeginExtConnection"},202:{n:"BrtEndExtConnection"},203:{n:"BrtBeginECDbProps"},204:{n:"BrtEndECDbProps"},205:{n:"BrtBeginECOlapProps"},206:{n:"BrtEndECOlapProps"},207:{n:"BrtBeginPCDSConsol"},208:{n:"BrtEndPCDSConsol"},209:{n:"BrtBeginPCDSCPages"},210:{n:"BrtEndPCDSCPages"},211:{n:"BrtBeginPCDSCPage"},212:{n:"BrtEndPCDSCPage"},213:{n:"BrtBeginPCDSCPItem"},214:{n:"BrtEndPCDSCPItem"},215:{n:"BrtBeginPCDSCSets"},216:{n:"BrtEndPCDSCSets"},217:{n:"BrtBeginPCDSCSet"},218:{n:"BrtEndPCDSCSet"},219:{n:"BrtBeginPCDFGroup"},220:{n:"BrtEndPCDFGroup"},221:{n:"BrtBeginPCDFGItems"},222:{n:"BrtEndPCDFGItems"},223:{n:"BrtBeginPCDFGRange"},224:{n:"BrtEndPCDFGRange"},225:{n:"BrtBeginPCDFGDiscrete"},226:{n:"BrtEndPCDFGDiscrete"},227:{n:"BrtBeginPCDSDTupleCache"},228:{n:"BrtEndPCDSDTupleCache"},229:{n:"BrtBeginPCDSDTCEntries"},230:{n:"BrtEndPCDSDTCEntries"},231:{n:"BrtBeginPCDSDTCEMembers"},232:{n:"BrtEndPCDSDTCEMembers"},233:{n:"BrtBeginPCDSDTCEMember"},234:{n:"BrtEndPCDSDTCEMember"},235:{n:"BrtBeginPCDSDTCQueries"},236:{n:"BrtEndPCDSDTCQueries"},237:{n:"BrtBeginPCDSDTCQuery"},238:{n:"BrtEndPCDSDTCQuery"},239:{n:"BrtBeginPCDSDTCSets"},240:{n:"BrtEndPCDSDTCSets"},241:{n:"BrtBeginPCDSDTCSet"},242:{n:"BrtEndPCDSDTCSet"},243:{n:"BrtBeginPCDCalcItems"},244:{n:"BrtEndPCDCalcItems"},245:{n:"BrtBeginPCDCalcItem"},246:{n:"BrtEndPCDCalcItem"},247:{n:"BrtBeginPRule"},248:{n:"BrtEndPRule"},249:{n:"BrtBeginPRFilters"},250:{n:"BrtEndPRFilters"},251:{n:"BrtBeginPRFilter"},252:{n:"BrtEndPRFilter"},253:{n:"BrtBeginPNames"},254:{n:"BrtEndPNames"},255:{n:"BrtBeginPName"},256:{n:"BrtEndPName"},257:{n:"BrtBeginPNPairs"},258:{n:"BrtEndPNPairs"},259:{n:"BrtBeginPNPair"},260:{n:"BrtEndPNPair"},261:{n:"BrtBeginECWebProps"},262:{n:"BrtEndECWebProps"},263:{n:"BrtBeginEcWpTables"},264:{n:"BrtEndECWPTables"},265:{n:"BrtBeginECParams"},266:{n:"BrtEndECParams"},267:{n:"BrtBeginECParam"},268:{n:"BrtEndECParam"},269:{n:"BrtBeginPCDKPIs"},270:{n:"BrtEndPCDKPIs"},271:{n:"BrtBeginPCDKPI"},272:{n:"BrtEndPCDKPI"},273:{n:"BrtBeginDims"},274:{n:"BrtEndDims"},275:{n:"BrtBeginDim"},276:{n:"BrtEndDim"},277:{n:"BrtIndexPartEnd"},278:{n:"BrtBeginStyleSheet"},279:{n:"BrtEndStyleSheet"},280:{n:"BrtBeginSXView"},281:{n:"BrtEndSXVI"},282:{n:"BrtBeginSXVI"},283:{n:"BrtBeginSXVIs"},284:{n:"BrtEndSXVIs"},285:{n:"BrtBeginSXVD"},286:{n:"BrtEndSXVD"},287:{n:"BrtBeginSXVDs"},288:{n:"BrtEndSXVDs"},289:{n:"BrtBeginSXPI"},290:{n:"BrtEndSXPI"},291:{n:"BrtBeginSXPIs"},292:{n:"BrtEndSXPIs"},293:{n:"BrtBeginSXDI"},294:{n:"BrtEndSXDI"},295:{n:"BrtBeginSXDIs"},296:{n:"BrtEndSXDIs"},297:{n:"BrtBeginSXLI"},298:{n:"BrtEndSXLI"},299:{n:"BrtBeginSXLIRws"},300:{n:"BrtEndSXLIRws"},301:{n:"BrtBeginSXLICols"},302:{n:"BrtEndSXLICols"},303:{n:"BrtBeginSXFormat"},304:{n:"BrtEndSXFormat"},305:{n:"BrtBeginSXFormats"},306:{n:"BrtEndSxFormats"},307:{n:"BrtBeginSxSelect"},308:{n:"BrtEndSxSelect"},309:{n:"BrtBeginISXVDRws"},310:{n:"BrtEndISXVDRws"},311:{n:"BrtBeginISXVDCols"},312:{n:"BrtEndISXVDCols"},313:{n:"BrtEndSXLocation"},314:{n:"BrtBeginSXLocation"},315:{n:"BrtEndSXView"},316:{n:"BrtBeginSXTHs"},317:{n:"BrtEndSXTHs"},318:{n:"BrtBeginSXTH"},319:{n:"BrtEndSXTH"},320:{n:"BrtBeginISXTHRws"},321:{n:"BrtEndISXTHRws"},322:{n:"BrtBeginISXTHCols"},323:{n:"BrtEndISXTHCols"},324:{n:"BrtBeginSXTDMPS"},325:{n:"BrtEndSXTDMPs"},326:{n:"BrtBeginSXTDMP"},327:{n:"BrtEndSXTDMP"},328:{n:"BrtBeginSXTHItems"},329:{n:"BrtEndSXTHItems"},330:{n:"BrtBeginSXTHItem"},331:{n:"BrtEndSXTHItem"},332:{n:"BrtBeginMetadata"},333:{n:"BrtEndMetadata"},334:{n:"BrtBeginEsmdtinfo"},335:{n:"BrtMdtinfo"},336:{n:"BrtEndEsmdtinfo"},337:{n:"BrtBeginEsmdb"},338:{n:"BrtEndEsmdb"},339:{n:"BrtBeginEsfmd"},340:{n:"BrtEndEsfmd"},341:{n:"BrtBeginSingleCells"},342:{n:"BrtEndSingleCells"},343:{n:"BrtBeginList"},344:{n:"BrtEndList"},345:{n:"BrtBeginListCols"},346:{n:"BrtEndListCols"},347:{n:"BrtBeginListCol"},348:{n:"BrtEndListCol"},349:{n:"BrtBeginListXmlCPr"},350:{n:"BrtEndListXmlCPr"},351:{n:"BrtListCCFmla"},352:{n:"BrtListTrFmla"},353:{n:"BrtBeginExternals"},354:{n:"BrtEndExternals"},355:{n:"BrtSupBookSrc",f:Sn},357:{n:"BrtSupSelf"},358:{n:"BrtSupSame"},359:{n:"BrtSupTabs"},360:{n:"BrtBeginSupBook"},361:{n:"BrtPlaceholderName"},362:{n:"BrtExternSheet",f:Ai},363:{n:"BrtExternTableStart"},364:{n:"BrtExternTableEnd"},366:{n:"BrtExternRowHdr"},367:{n:"BrtExternCellBlank"},368:{n:"BrtExternCellReal"},369:{n:"BrtExternCellBool"},370:{n:"BrtExternCellError"},371:{n:"BrtExternCellString"},372:{n:"BrtBeginEsmdx"},373:{n:"BrtEndEsmdx"},374:{n:"BrtBeginMdxSet"},375:{n:"BrtEndMdxSet"},376:{n:"BrtBeginMdxMbrProp"},377:{n:"BrtEndMdxMbrProp"},378:{n:"BrtBeginMdxKPI"},379:{n:"BrtEndMdxKPI"},380:{n:"BrtBeginEsstr"},381:{n:"BrtEndEsstr"},382:{n:"BrtBeginPRFItem"},383:{n:"BrtEndPRFItem"},384:{n:"BrtBeginPivotCacheIDs"},385:{n:"BrtEndPivotCacheIDs"},386:{n:"BrtBeginPivotCacheID"},387:{n:"BrtEndPivotCacheID"},388:{n:"BrtBeginISXVIs"},389:{n:"BrtEndISXVIs"},390:{n:"BrtBeginColInfos"},391:{n:"BrtEndColInfos"},392:{n:"BrtBeginRwBrk"},393:{n:"BrtEndRwBrk"},394:{n:"BrtBeginColBrk"},395:{n:"BrtEndColBrk"},396:{n:"BrtBrk"},397:{n:"BrtUserBookView"},398:{n:"BrtInfo"},399:{n:"BrtCUsr"},400:{n:"BrtUsr"},401:{n:"BrtBeginUsers"},403:{n:"BrtEOF"},404:{n:"BrtUCR"},405:{n:"BrtRRInsDel"},406:{n:"BrtRREndInsDel"},407:{n:"BrtRRMove"},408:{n:"BrtRREndMove"},409:{n:"BrtRRChgCell"},410:{n:"BrtRREndChgCell"},411:{n:"BrtRRHeader"},412:{n:"BrtRRUserView"},413:{n:"BrtRRRenSheet"},414:{n:"BrtRRInsertSh"},415:{n:"BrtRRDefName"},416:{n:"BrtRRNote"},417:{n:"BrtRRConflict"},418:{n:"BrtRRTQSIF"},419:{n:"BrtRRFormat"},420:{n:"BrtRREndFormat"},421:{n:"BrtRRAutoFmt"},422:{n:"BrtBeginUserShViews"},423:{n:"BrtBeginUserShView"},424:{n:"BrtEndUserShView"},425:{n:"BrtEndUserShViews"},426:{n:"BrtArrFmla",f:function(e,t,n){var r=e.l+t,i=An(e),a=e._R(1),o=[i];if(o[2]=a,n.cellFormula){var s=rs(e,r-e.l,n);o[1]=s}else e.l=r;return o}},427:{n:"BrtShrFmla",f:function(e,t,n){var r=e.l+t,i=[Cn(e,16)];if(n.cellFormula){var a=os(e,r-e.l,n);i[1]=a,e.l=r}else e.l=r;return i}},428:{n:"BrtTable"},429:{n:"BrtBeginExtConnections"},430:{n:"BrtEndExtConnections"},431:{n:"BrtBeginPCDCalcMems"},432:{n:"BrtEndPCDCalcMems"},433:{n:"BrtBeginPCDCalcMem"},434:{n:"BrtEndPCDCalcMem"},435:{n:"BrtBeginPCDHGLevels"},436:{n:"BrtEndPCDHGLevels"},437:{n:"BrtBeginPCDHGLevel"},438:{n:"BrtEndPCDHGLevel"},439:{n:"BrtBeginPCDHGLGroups"},440:{n:"BrtEndPCDHGLGroups"},441:{n:"BrtBeginPCDHGLGroup"},442:{n:"BrtEndPCDHGLGroup"},443:{n:"BrtBeginPCDHGLGMembers"},444:{n:"BrtEndPCDHGLGMembers"},445:{n:"BrtBeginPCDHGLGMember"},446:{n:"BrtEndPCDHGLGMember"},447:{n:"BrtBeginQSI"},448:{n:"BrtEndQSI"},449:{n:"BrtBeginQSIR"},450:{n:"BrtEndQSIR"},451:{n:"BrtBeginDeletedNames"},452:{n:"BrtEndDeletedNames"},453:{n:"BrtBeginDeletedName"},454:{n:"BrtEndDeletedName"},455:{n:"BrtBeginQSIFs"},456:{n:"BrtEndQSIFs"},457:{n:"BrtBeginQSIF"},458:{n:"BrtEndQSIF"},459:{n:"BrtBeginAutoSortScope"},460:{n:"BrtEndAutoSortScope"},461:{n:"BrtBeginConditionalFormatting"},462:{n:"BrtEndConditionalFormatting"},463:{n:"BrtBeginCFRule"},464:{n:"BrtEndCFRule"},465:{n:"BrtBeginIconSet"},466:{n:"BrtEndIconSet"},467:{n:"BrtBeginDatabar"},468:{n:"BrtEndDatabar"},469:{n:"BrtBeginColorScale"},470:{n:"BrtEndColorScale"},471:{n:"BrtCFVO"},472:{n:"BrtExternValueMeta"},473:{n:"BrtBeginColorPalette"},474:{n:"BrtEndColorPalette"},475:{n:"BrtIndexedColor"},476:{n:"BrtMargins",f:function(e){var t={};return Ys.forEach((function(n){t[n]=Tn(e)})),t}},477:{n:"BrtPrintOptions"},478:{n:"BrtPageSetup"},479:{n:"BrtBeginHeaderFooter"},480:{n:"BrtEndHeaderFooter"},481:{n:"BrtBeginSXCrtFormat"},482:{n:"BrtEndSXCrtFormat"},483:{n:"BrtBeginSXCrtFormats"},484:{n:"BrtEndSXCrtFormats"},485:{n:"BrtWsFmtInfo",f:function(){}},486:{n:"BrtBeginMgs"},487:{n:"BrtEndMGs"},488:{n:"BrtBeginMGMaps"},489:{n:"BrtEndMGMaps"},490:{n:"BrtBeginMG"},491:{n:"BrtEndMG"},492:{n:"BrtBeginMap"},493:{n:"BrtEndMap"},494:{n:"BrtHLink",f:function(e,t){var n=e.l+t,r=Cn(e,16),i=bn(e),a=on(e),o=on(e),s=on(e);e.l=n;var l={rfx:r,relId:i,loc:a,display:s};return o&&(l.Tooltip=o),l}},495:{n:"BrtBeginDCon"},496:{n:"BrtEndDCon"},497:{n:"BrtBeginDRefs"},498:{n:"BrtEndDRefs"},499:{n:"BrtDRef"},500:{n:"BrtBeginScenMan"},501:{n:"BrtEndScenMan"},502:{n:"BrtBeginSct"},503:{n:"BrtEndSct"},504:{n:"BrtSlc"},505:{n:"BrtBeginDXFs"},506:{n:"BrtEndDXFs"},507:{n:"BrtDXF"},508:{n:"BrtBeginTableStyles"},509:{n:"BrtEndTableStyles"},510:{n:"BrtBeginTableStyle"},511:{n:"BrtEndTableStyle"},512:{n:"BrtTableStyleElement"},513:{n:"BrtTableStyleClient"},514:{n:"BrtBeginVolDeps"},515:{n:"BrtEndVolDeps"},516:{n:"BrtBeginVolType"},517:{n:"BrtEndVolType"},518:{n:"BrtBeginVolMain"},519:{n:"BrtEndVolMain"},520:{n:"BrtBeginVolTopic"},521:{n:"BrtEndVolTopic"},522:{n:"BrtVolSubtopic"},523:{n:"BrtVolRef"},524:{n:"BrtVolNum"},525:{n:"BrtVolErr"},526:{n:"BrtVolStr"},527:{n:"BrtVolBool"},528:{n:"BrtBeginCalcChain$"},529:{n:"BrtEndCalcChain$"},530:{n:"BrtBeginSortState"},531:{n:"BrtEndSortState"},532:{n:"BrtBeginSortCond"},533:{n:"BrtEndSortCond"},534:{n:"BrtBookProtection"},535:{n:"BrtSheetProtection"},536:{n:"BrtRangeProtection"},537:{n:"BrtPhoneticInfo"},538:{n:"BrtBeginECTxtWiz"},539:{n:"BrtEndECTxtWiz"},540:{n:"BrtBeginECTWFldInfoLst"},541:{n:"BrtEndECTWFldInfoLst"},542:{n:"BrtBeginECTwFldInfo"},548:{n:"BrtFileSharing"},549:{n:"BrtOleSize"},550:{n:"BrtDrawing",f:Sn},551:{n:"BrtLegacyDrawing"},552:{n:"BrtLegacyDrawingHF"},553:{n:"BrtWebOpt"},554:{n:"BrtBeginWebPubItems"},555:{n:"BrtEndWebPubItems"},556:{n:"BrtBeginWebPubItem"},557:{n:"BrtEndWebPubItem"},558:{n:"BrtBeginSXCondFmt"},559:{n:"BrtEndSXCondFmt"},560:{n:"BrtBeginSXCondFmts"},561:{n:"BrtEndSXCondFmts"},562:{n:"BrtBkHim"},564:{n:"BrtColor"},565:{n:"BrtBeginIndexedColors"},566:{n:"BrtEndIndexedColors"},569:{n:"BrtBeginMRUColors"},570:{n:"BrtEndMRUColors"},572:{n:"BrtMRUColor"},573:{n:"BrtBeginDVals"},574:{n:"BrtEndDVals"},577:{n:"BrtSupNameStart"},578:{n:"BrtSupNameValueStart"},579:{n:"BrtSupNameValueEnd"},580:{n:"BrtSupNameNum"},581:{n:"BrtSupNameErr"},582:{n:"BrtSupNameSt"},583:{n:"BrtSupNameNil"},584:{n:"BrtSupNameBool"},585:{n:"BrtSupNameFmla"},586:{n:"BrtSupNameBits"},587:{n:"BrtSupNameEnd"},588:{n:"BrtEndSupBook"},589:{n:"BrtCellSmartTagProperty"},590:{n:"BrtBeginCellSmartTag"},591:{n:"BrtEndCellSmartTag"},592:{n:"BrtBeginCellSmartTags"},593:{n:"BrtEndCellSmartTags"},594:{n:"BrtBeginSmartTags"},595:{n:"BrtEndSmartTags"},596:{n:"BrtSmartTagType"},597:{n:"BrtBeginSmartTagTypes"},598:{n:"BrtEndSmartTagTypes"},599:{n:"BrtBeginSXFilters"},600:{n:"BrtEndSXFilters"},601:{n:"BrtBeginSXFILTER"},602:{n:"BrtEndSXFilter"},603:{n:"BrtBeginFills"},604:{n:"BrtEndFills"},605:{n:"BrtBeginCellWatches"},606:{n:"BrtEndCellWatches"},607:{n:"BrtCellWatch"},608:{n:"BrtBeginCRErrs"},609:{n:"BrtEndCRErrs"},610:{n:"BrtCrashRecErr"},611:{n:"BrtBeginFonts"},612:{n:"BrtEndFonts"},613:{n:"BrtBeginBorders"},614:{n:"BrtEndBorders"},615:{n:"BrtBeginFmts"},616:{n:"BrtEndFmts"},617:{n:"BrtBeginCellXFs"},618:{n:"BrtEndCellXFs"},619:{n:"BrtBeginStyles"},620:{n:"BrtEndStyles"},625:{n:"BrtBigName"},626:{n:"BrtBeginCellStyleXFs"},627:{n:"BrtEndCellStyleXFs"},628:{n:"BrtBeginComments"},629:{n:"BrtEndComments"},630:{n:"BrtBeginCommentAuthors"},631:{n:"BrtEndCommentAuthors"},632:{n:"BrtCommentAuthor",f:so},633:{n:"BrtBeginCommentList"},634:{n:"BrtEndCommentList"},635:{n:"BrtBeginComment",f:function(e){var t={};t.iauthor=e._R(4);var n=Cn(e,16);return t.rfx=n.s,t.ref=Yt(n.s),e.l+=16,t}},636:{n:"BrtEndComment"},637:{n:"BrtCommentText",f:un},638:{n:"BrtBeginOleObjects"},639:{n:"BrtOleObject"},640:{n:"BrtEndOleObjects"},641:{n:"BrtBeginSxrules"},642:{n:"BrtEndSxRules"},643:{n:"BrtBeginActiveXControls"},644:{n:"BrtActiveX"},645:{n:"BrtEndActiveXControls"},646:{n:"BrtBeginPCDSDTCEMembersSortBy"},648:{n:"BrtBeginCellIgnoreECs"},649:{n:"BrtCellIgnoreEC"},650:{n:"BrtEndCellIgnoreECs"},651:{n:"BrtCsProp",f:function(e,t){return e.l+=10,{name:on(e)}}},652:{n:"BrtCsPageSetup"},653:{n:"BrtBeginUserCsViews"},654:{n:"BrtEndUserCsViews"},655:{n:"BrtBeginUserCsView"},656:{n:"BrtEndUserCsView"},657:{n:"BrtBeginPcdSFCIEntries"},658:{n:"BrtEndPCDSFCIEntries"},659:{n:"BrtPCDSFCIEntry"},660:{n:"BrtBeginListParts"},661:{n:"BrtListPart"},662:{n:"BrtEndListParts"},663:{n:"BrtSheetCalcProp"},664:{n:"BrtBeginFnGroup"},665:{n:"BrtFnGroup"},666:{n:"BrtEndFnGroup"},667:{n:"BrtSupAddin"},668:{n:"BrtSXTDMPOrder"},669:{n:"BrtCsProtection"},671:{n:"BrtBeginWsSortMap"},672:{n:"BrtEndWsSortMap"},673:{n:"BrtBeginRRSort"},674:{n:"BrtEndRRSort"},675:{n:"BrtRRSortItem"},676:{n:"BrtFileSharingIso"},677:{n:"BrtBookProtectionIso"},678:{n:"BrtSheetProtectionIso"},679:{n:"BrtCsProtectionIso"},680:{n:"BrtRangeProtectionIso"},681:{n:"BrtDValList"},1024:{n:"BrtRwDescent"},1025:{n:"BrtKnownFonts"},1026:{n:"BrtBeginSXTupleSet"},1027:{n:"BrtEndSXTupleSet"},1028:{n:"BrtBeginSXTupleSetHeader"},1029:{n:"BrtEndSXTupleSetHeader"},1030:{n:"BrtSXTupleSetHeaderItem"},1031:{n:"BrtBeginSXTupleSetData"},1032:{n:"BrtEndSXTupleSetData"},1033:{n:"BrtBeginSXTupleSetRow"},1034:{n:"BrtEndSXTupleSetRow"},1035:{n:"BrtSXTupleSetRowItem"},1036:{n:"BrtNameExt"},1037:{n:"BrtPCDH14"},1038:{n:"BrtBeginPCDCalcMem14"},1039:{n:"BrtEndPCDCalcMem14"},1040:{n:"BrtSXTH14"},1041:{n:"BrtBeginSparklineGroup"},1042:{n:"BrtEndSparklineGroup"},1043:{n:"BrtSparkline"},1044:{n:"BrtSXDI14"},1045:{n:"BrtWsFmtInfoEx14"},1046:{n:"BrtBeginConditionalFormatting14"},1047:{n:"BrtEndConditionalFormatting14"},1048:{n:"BrtBeginCFRule14"},1049:{n:"BrtEndCFRule14"},1050:{n:"BrtCFVO14"},1051:{n:"BrtBeginDatabar14"},1052:{n:"BrtBeginIconSet14"},1053:{n:"BrtDVal14",f:function(){}},1054:{n:"BrtBeginDVals14"},1055:{n:"BrtColor14"},1056:{n:"BrtBeginSparklines"},1057:{n:"BrtEndSparklines"},1058:{n:"BrtBeginSparklineGroups"},1059:{n:"BrtEndSparklineGroups"},1061:{n:"BrtSXVD14"},1062:{n:"BrtBeginSXView14"},1063:{n:"BrtEndSXView14"},1064:{n:"BrtBeginSXView16"},1065:{n:"BrtEndSXView16"},1066:{n:"BrtBeginPCD14"},1067:{n:"BrtEndPCD14"},1068:{n:"BrtBeginExtConn14"},1069:{n:"BrtEndExtConn14"},1070:{n:"BrtBeginSlicerCacheIDs"},1071:{n:"BrtEndSlicerCacheIDs"},1072:{n:"BrtBeginSlicerCacheID"},1073:{n:"BrtEndSlicerCacheID"},1075:{n:"BrtBeginSlicerCache"},1076:{n:"BrtEndSlicerCache"},1077:{n:"BrtBeginSlicerCacheDef"},1078:{n:"BrtEndSlicerCacheDef"},1079:{n:"BrtBeginSlicersEx"},1080:{n:"BrtEndSlicersEx"},1081:{n:"BrtBeginSlicerEx"},1082:{n:"BrtEndSlicerEx"},1083:{n:"BrtBeginSlicer"},1084:{n:"BrtEndSlicer"},1085:{n:"BrtSlicerCachePivotTables"},1086:{n:"BrtBeginSlicerCacheOlapImpl"},1087:{n:"BrtEndSlicerCacheOlapImpl"},1088:{n:"BrtBeginSlicerCacheLevelsData"},1089:{n:"BrtEndSlicerCacheLevelsData"},1090:{n:"BrtBeginSlicerCacheLevelData"},1091:{n:"BrtEndSlicerCacheLevelData"},1092:{n:"BrtBeginSlicerCacheSiRanges"},1093:{n:"BrtEndSlicerCacheSiRanges"},1094:{n:"BrtBeginSlicerCacheSiRange"},1095:{n:"BrtEndSlicerCacheSiRange"},1096:{n:"BrtSlicerCacheOlapItem"},1097:{n:"BrtBeginSlicerCacheSelections"},1098:{n:"BrtSlicerCacheSelection"},1099:{n:"BrtEndSlicerCacheSelections"},1100:{n:"BrtBeginSlicerCacheNative"},1101:{n:"BrtEndSlicerCacheNative"},1102:{n:"BrtSlicerCacheNativeItem"},1103:{n:"BrtRangeProtection14"},1104:{n:"BrtRangeProtectionIso14"},1105:{n:"BrtCellIgnoreEC14"},1111:{n:"BrtList14"},1112:{n:"BrtCFIcon"},1113:{n:"BrtBeginSlicerCachesPivotCacheIDs"},1114:{n:"BrtEndSlicerCachesPivotCacheIDs"},1115:{n:"BrtBeginSlicers"},1116:{n:"BrtEndSlicers"},1117:{n:"BrtWbProp14"},1118:{n:"BrtBeginSXEdit"},1119:{n:"BrtEndSXEdit"},1120:{n:"BrtBeginSXEdits"},1121:{n:"BrtEndSXEdits"},1122:{n:"BrtBeginSXChange"},1123:{n:"BrtEndSXChange"},1124:{n:"BrtBeginSXChanges"},1125:{n:"BrtEndSXChanges"},1126:{n:"BrtSXTupleItems"},1128:{n:"BrtBeginSlicerStyle"},1129:{n:"BrtEndSlicerStyle"},1130:{n:"BrtSlicerStyleElement"},1131:{n:"BrtBeginStyleSheetExt14"},1132:{n:"BrtEndStyleSheetExt14"},1133:{n:"BrtBeginSlicerCachesPivotCacheID"},1134:{n:"BrtEndSlicerCachesPivotCacheID"},1135:{n:"BrtBeginConditionalFormattings"},1136:{n:"BrtEndConditionalFormattings"},1137:{n:"BrtBeginPCDCalcMemExt"},1138:{n:"BrtEndPCDCalcMemExt"},1139:{n:"BrtBeginPCDCalcMemsExt"},1140:{n:"BrtEndPCDCalcMemsExt"},1141:{n:"BrtPCDField14"},1142:{n:"BrtBeginSlicerStyles"},1143:{n:"BrtEndSlicerStyles"},1144:{n:"BrtBeginSlicerStyleElements"},1145:{n:"BrtEndSlicerStyleElements"},1146:{n:"BrtCFRuleExt"},1147:{n:"BrtBeginSXCondFmt14"},1148:{n:"BrtEndSXCondFmt14"},1149:{n:"BrtBeginSXCondFmts14"},1150:{n:"BrtEndSXCondFmts14"},1152:{n:"BrtBeginSortCond14"},1153:{n:"BrtEndSortCond14"},1154:{n:"BrtEndDVals14"},1155:{n:"BrtEndIconSet14"},1156:{n:"BrtEndDatabar14"},1157:{n:"BrtBeginColorScale14"},1158:{n:"BrtEndColorScale14"},1159:{n:"BrtBeginSxrules14"},1160:{n:"BrtEndSxrules14"},1161:{n:"BrtBeginPRule14"},1162:{n:"BrtEndPRule14"},1163:{n:"BrtBeginPRFilters14"},1164:{n:"BrtEndPRFilters14"},1165:{n:"BrtBeginPRFilter14"},1166:{n:"BrtEndPRFilter14"},1167:{n:"BrtBeginPRFItem14"},1168:{n:"BrtEndPRFItem14"},1169:{n:"BrtBeginCellIgnoreECs14"},1170:{n:"BrtEndCellIgnoreECs14"},1171:{n:"BrtDxf14"},1172:{n:"BrtBeginDxF14s"},1173:{n:"BrtEndDxf14s"},1177:{n:"BrtFilter14"},1178:{n:"BrtBeginCustomFilters14"},1180:{n:"BrtCustomFilter14"},1181:{n:"BrtIconFilter14"},1182:{n:"BrtPivotCacheConnectionName"},2048:{n:"BrtBeginDecoupledPivotCacheIDs"},2049:{n:"BrtEndDecoupledPivotCacheIDs"},2050:{n:"BrtDecoupledPivotCacheID"},2051:{n:"BrtBeginPivotTableRefs"},2052:{n:"BrtEndPivotTableRefs"},2053:{n:"BrtPivotTableRef"},2054:{n:"BrtSlicerCacheBookPivotTables"},2055:{n:"BrtBeginSxvcells"},2056:{n:"BrtEndSxvcells"},2057:{n:"BrtBeginSxRow"},2058:{n:"BrtEndSxRow"},2060:{n:"BrtPcdCalcMem15"},2067:{n:"BrtQsi15"},2068:{n:"BrtBeginWebExtensions"},2069:{n:"BrtEndWebExtensions"},2070:{n:"BrtWebExtension"},2071:{n:"BrtAbsPath15"},2072:{n:"BrtBeginPivotTableUISettings"},2073:{n:"BrtEndPivotTableUISettings"},2075:{n:"BrtTableSlicerCacheIDs"},2076:{n:"BrtTableSlicerCacheID"},2077:{n:"BrtBeginTableSlicerCache"},2078:{n:"BrtEndTableSlicerCache"},2079:{n:"BrtSxFilter15"},2080:{n:"BrtBeginTimelineCachePivotCacheIDs"},2081:{n:"BrtEndTimelineCachePivotCacheIDs"},2082:{n:"BrtTimelineCachePivotCacheID"},2083:{n:"BrtBeginTimelineCacheIDs"},2084:{n:"BrtEndTimelineCacheIDs"},2085:{n:"BrtBeginTimelineCacheID"},2086:{n:"BrtEndTimelineCacheID"},2087:{n:"BrtBeginTimelinesEx"},2088:{n:"BrtEndTimelinesEx"},2089:{n:"BrtBeginTimelineEx"},2090:{n:"BrtEndTimelineEx"},2091:{n:"BrtWorkBookPr15"},2092:{n:"BrtPCDH15"},2093:{n:"BrtBeginTimelineStyle"},2094:{n:"BrtEndTimelineStyle"},2095:{n:"BrtTimelineStyleElement"},2096:{n:"BrtBeginTimelineStylesheetExt15"},2097:{n:"BrtEndTimelineStylesheetExt15"},2098:{n:"BrtBeginTimelineStyles"},2099:{n:"BrtEndTimelineStyles"},2100:{n:"BrtBeginTimelineStyleElements"},2101:{n:"BrtEndTimelineStyleElements"},2102:{n:"BrtDxf15"},2103:{n:"BrtBeginDxfs15"},2104:{n:"brtEndDxfs15"},2105:{n:"BrtSlicerCacheHideItemsWithNoData"},2106:{n:"BrtBeginItemUniqueNames"},2107:{n:"BrtEndItemUniqueNames"},2108:{n:"BrtItemUniqueName"},2109:{n:"BrtBeginExtConn15"},2110:{n:"BrtEndExtConn15"},2111:{n:"BrtBeginOledbPr15"},2112:{n:"BrtEndOledbPr15"},2113:{n:"BrtBeginDataFeedPr15"},2114:{n:"BrtEndDataFeedPr15"},2115:{n:"BrtTextPr15"},2116:{n:"BrtRangePr15"},2117:{n:"BrtDbCommand15"},2118:{n:"BrtBeginDbTables15"},2119:{n:"BrtEndDbTables15"},2120:{n:"BrtDbTable15"},2121:{n:"BrtBeginDataModel"},2122:{n:"BrtEndDataModel"},2123:{n:"BrtBeginModelTables"},2124:{n:"BrtEndModelTables"},2125:{n:"BrtModelTable"},2126:{n:"BrtBeginModelRelationships"},2127:{n:"BrtEndModelRelationships"},2128:{n:"BrtModelRelationship"},2129:{n:"BrtBeginECTxtWiz15"},2130:{n:"BrtEndECTxtWiz15"},2131:{n:"BrtBeginECTWFldInfoLst15"},2132:{n:"BrtEndECTWFldInfoLst15"},2133:{n:"BrtBeginECTWFldInfo15"},2134:{n:"BrtFieldListActiveItem"},2135:{n:"BrtPivotCacheIdVersion"},2136:{n:"BrtSXDI15"},2137:{n:"BrtBeginModelTimeGroupings"},2138:{n:"BrtEndModelTimeGroupings"},2139:{n:"BrtBeginModelTimeGrouping"},2140:{n:"BrtEndModelTimeGrouping"},2141:{n:"BrtModelTimeGroupingCalcCol"},3072:{n:"BrtUid"},3073:{n:"BrtRevisionPtr"},5095:{n:"BrtBeginCalcFeatures"},5096:{n:"BrtEndCalcFeatures"},5097:{n:"BrtCalcFeature"},65535:{n:""}},fc=D(uc,"n");fc.BrtFRTArchID$=16;var hc={6:{n:"Formula",f:es},10:{n:"EOF",f:Lr},12:{n:"CalcCount",f:Mr},13:{n:"CalcMode",f:Mr},14:{n:"CalcPrecision",f:Fr},15:{n:"CalcRefMode",f:Fr},16:{n:"CalcDelta",f:Tn},17:{n:"CalcIter",f:Fr},18:{n:"Protect",f:Fr},19:{n:"Password",f:Mr},20:{n:"Header",f:Si},21:{n:"Footer",f:Si},23:{n:"ExternSheet",f:Ai},24:{n:"Lbl",f:_i},25:{n:"WinProtect",f:Fr},26:{n:"VerticalPageBreaks"},27:{n:"HorizontalPageBreaks"},28:{n:"Note",f:function(e,t,n){return function(e,t,n){if(!(n.biff<8)){var r=e._R(2),i=e._R(2),a=e._R(2),o=e._R(2),s=Xr(e,0,n);return n.biff<8&&e._R(1),[{r:r,c:i},s,o,a]}}(e,0,n)}},29:{n:"Selection"},34:{n:"Date1904",f:Fr},35:{n:"ExternName",f:xi},38:{n:"LeftMargin",f:Tn},39:{n:"RightMargin",f:Tn},40:{n:"TopMargin",f:Tn},41:{n:"BottomMargin",f:Tn},42:{n:"PrintRowCol",f:Fr},43:{n:"PrintGrid",f:Fr},47:{n:"FilePass",f:function(e,t,n){var r={Type:n.biff>=8?e._R(2):0};return r.Type?ha(e,t-2,r):function(e,t,n,r){var i={key:Mr(e),verificationBytes:Mr(e)};n.password&&(i.verifier=ca(n.password)),r.valid=i.verificationBytes===i.verifier,r.valid&&(r.insitu=fa(n.password))}(e,n.biff,n,r),r}},49:{n:"Font",f:function(e,t,n){var r={dyHeight:e._R(2),fl:e._R(2)};switch(n&&n.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10}return r.name=zr(e,0,n),r}},51:{n:"PrintSize",f:Mr},60:{n:"Continue"},61:{n:"Window1",f:function(e){return{Pos:[e._R(2),e._R(2)],Dim:[e._R(2),e._R(2)],Flags:e._R(2),CurTab:e._R(2),FirstTab:e._R(2),Selected:e._R(2),TabRatio:e._R(2)}}},64:{n:"Backup",f:Fr},65:{n:"Pane",f:function(){}},66:{n:"CodePage",f:Mr},77:{n:"Pls"},80:{n:"DCon"},81:{n:"DConRef"},82:{n:"DConName"},85:{n:"DefColWidth",f:Mr},89:{n:"XCT"},90:{n:"CRN"},91:{n:"FileSharing"},92:{n:"WriteAccess",f:function(e,t,n){if(n.enc)return e.l+=t,"";var r=e.l,i=Xr(e,0,n);return e._R(t+r-e.l),i}},93:{n:"Obj",f:function(e,t,n){if(n&&n.biff<8)return function(e,t,n){e.l+=4;var r=e._R(2),i=e._R(2),a=e._R(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var o=[];return o.push((ki[r]||Lt)(e,t,n)),{cmo:[i,r,a],ft:o}}(e,t,n);var r=ci(e),i=function(e,t){for(var n=e.l+t,r=[];e.l<n;){var i=e._R(2);e.l-=2;try{r.push(fi[i](e,n-e.l))}catch(t){return e.l=n,r}}return e.l!=n&&(e.l=n),r}(e,t-22,r[1]);return{cmo:r,ft:i}}},94:{n:"Uncalced"},95:{n:"CalcSaveRecalc",f:Fr},96:{n:"Template"},97:{n:"Intl"},99:{n:"ObjProtect",f:Fr},125:{n:"ColInfo",f:Ni},128:{n:"Guts",f:function(e){e.l+=4;var t=[e._R(2),e._R(2)];if(0!==t[0]&&t[0]--,0!==t[1]&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}},129:{n:"WsBool",f:function(e,t,n){var r=n&&8==n.biff||2==t?e._R(2):(e.l+=t,0);return{fDialog:16&r,fBelow:64&r,fRight:128&r}}},130:{n:"GridSet",f:Mr},131:{n:"HCenter",f:Fr},132:{n:"VCenter",f:Fr},133:{n:"BoundSheet8",f:function(e,t,n){var r=e._R(4),i=3&e._R(1),a=e._R(1);switch(a){case 0:a="Worksheet";break;case 1:a="Macrosheet";break;case 2:a="Chartsheet";break;case 6:a="VBAModule"}var o=zr(e,0,n);return 0===o.length&&(o="Sheet1"),{pos:r,hs:i,dt:a,name:o}}},134:{n:"WriteProtect"},140:{n:"Country",f:function(e){var t,n=[0,0];return t=e._R(2),n[0]=Mn[t]||t,t=e._R(2),n[1]=Mn[t]||t,n}},141:{n:"HideObj",f:Mr},144:{n:"Sort"},146:{n:"Palette",f:function(e){for(var t=e._R(2),n=[];t-- >0;)n.push(ei(e));return n}},151:{n:"Sync"},152:{n:"LPr"},153:{n:"DxGCol"},154:{n:"FnGroupName"},155:{n:"FilterMode"},156:{n:"BuiltInFnGroupCount",f:Mr},157:{n:"AutoFilterInfo"},158:{n:"AutoFilter"},160:{n:"Scl",f:Bi},161:{n:"Setup",f:function(e,t){var n={};return t<32||(e.l+=16,n.header=Tn(e),n.footer=Tn(e),e.l+=2),n}},174:{n:"ScenMan"},175:{n:"SCENARIO"},176:{n:"SxView"},177:{n:"Sxvd"},178:{n:"SXVI"},180:{n:"SxIvd"},181:{n:"SXLI"},182:{n:"SXPI"},184:{n:"DocRoute"},185:{n:"RecipName"},189:{n:"MulRk",f:function(e,t){for(var n=e.l+t-2,r=e._R(2),i=e._R(2),a=[];e.l<n;)a.push(ii(e));if(e.l!==n)throw new Error("MulRK read error");var o=e._R(2);if(a.length!=o-i+1)throw new Error("MulRK length mismatch");return{r:r,c:i,C:o,rkrec:a}}},190:{n:"MulBlank",f:function(e,t){for(var n=e.l+t-2,r=e._R(2),i=e._R(2),a=[];e.l<n;)a.push(e._R(2));if(e.l!==n)throw new Error("MulBlank read error");var o=e._R(2);if(a.length!=o-i+1)throw new Error("MulBlank length mismatch");return{r:r,c:i,C:o,ixfe:a}}},193:{n:"Mms",f:Lr},197:{n:"SXDI"},198:{n:"SXDB"},199:{n:"SXFDB"},200:{n:"SXDBB"},201:{n:"SXNum"},202:{n:"SxBool",f:Fr},203:{n:"SxErr"},204:{n:"SXInt"},205:{n:"SXString"},206:{n:"SXDtr"},207:{n:"SxNil"},208:{n:"SXTbl"},209:{n:"SXTBRGIITM"},210:{n:"SxTbpg"},211:{n:"ObProj"},213:{n:"SXStreamID"},215:{n:"DBCell"},216:{n:"SXRng"},217:{n:"SxIsxoper"},218:{n:"BookBool",f:Mr},220:{n:"DbOrParamQry"},221:{n:"ScenarioProtect",f:Fr},222:{n:"OleObjectSize"},224:{n:"XF",f:function(e,t,n){var r={};return r.ifnt=e._R(2),r.numFmtId=e._R(2),r.flags=e._R(2),r.fStyle=r.flags>>2&1,6,r.data=function(e,t,n,r){var i={},a=e._R(4),o=e._R(4),s=e._R(4),l=e._R(2);return i.patternType=jn[s>>26],r.cellStyles?(i.alc=7&a,i.fWrap=a>>3&1,i.alcV=a>>4&7,i.fJustLast=a>>7&1,i.trot=a>>8&255,i.cIndent=a>>16&15,i.fShrinkToFit=a>>20&1,i.iReadOrder=a>>22&2,i.fAtrNum=a>>26&1,i.fAtrFnt=a>>27&1,i.fAtrAlc=a>>28&1,i.fAtrBdr=a>>29&1,i.fAtrPat=a>>30&1,i.fAtrProt=a>>31&1,i.dgLeft=15&o,i.dgRight=o>>4&15,i.dgTop=o>>8&15,i.dgBottom=o>>12&15,i.icvLeft=o>>16&127,i.icvRight=o>>23&127,i.grbitDiag=o>>30&3,i.icvTop=127&s,i.icvBottom=s>>7&127,i.icvDiag=s>>14&127,i.dgDiag=s>>21&15,i.icvFore=127&l,i.icvBack=l>>7&127,i.fsxButton=l>>14&1,i):i}(e,0,r.fStyle,n),r}},225:{n:"InterfaceHdr",f:function(e,t){return 0===t||e._R(2),1200}},226:{n:"InterfaceEnd",f:Lr},227:{n:"SXVS"},229:{n:"MergeCells",f:function(e,t){for(var n=[],r=e._R(2);r--;)n.push(ai(e));return n}},233:{n:"BkHim"},235:{n:"MsoDrawingGroup"},236:{n:"MsoDrawing"},237:{n:"MsoDrawingSelection"},239:{n:"PhoneticInfo"},240:{n:"SxRule"},241:{n:"SXEx"},242:{n:"SxFilt"},244:{n:"SxDXF"},245:{n:"SxItm"},246:{n:"SxName"},247:{n:"SxSelect"},248:{n:"SXPair"},249:{n:"SxFmla"},251:{n:"SxFormat"},252:{n:"SST",f:function(e,t){for(var n=e.l+t,r=e._R(4),i=e._R(4),a=[],o=0;o!=i&&e.l<n;++o)a.push(Hr(e));return a.Count=r,a.Unique=i,a}},253:{n:"LabelSst",f:function(e){var t=ti(e);return t.isst=e._R(4),t}},255:{n:"ExtSST",f:function(e,t){var n={};return n.dsst=e._R(2),e.l+=t-2,n}},256:{n:"SXVDEx"},259:{n:"SXFormula"},290:{n:"SXDBEx"},311:{n:"RRDInsDel"},312:{n:"RRDHead"},315:{n:"RRDChgCell"},317:{n:"RRTabId",f:Wr},318:{n:"RRDRenSheet"},319:{n:"RRSort"},320:{n:"RRDMove"},330:{n:"RRFormat"},331:{n:"RRAutoFmt"},333:{n:"RRInsertSh"},334:{n:"RRDMoveBegin"},335:{n:"RRDMoveEnd"},336:{n:"RRDInsDelBegin"},337:{n:"RRDInsDelEnd"},338:{n:"RRDConflict"},339:{n:"RRDDefName"},340:{n:"RRDRstEtxp"},351:{n:"LRng"},352:{n:"UsesELFs",f:Fr},353:{n:"DSF",f:Lr},401:{n:"CUsr"},402:{n:"CbUsr"},403:{n:"UsrInfo"},404:{n:"UsrExcl"},405:{n:"FileLock"},406:{n:"RRDInfo"},407:{n:"BCUsrs"},408:{n:"UsrChk"},425:{n:"UserBView"},426:{n:"UserSViewBegin"},427:{n:"UserSViewEnd"},428:{n:"RRDUserView"},429:{n:"Qsi"},430:{n:"SupBook",f:function(e,t,n){var r=e.l+t,i=e._R(2),a=e._R(2);if(n.sbcch=a,1025==a||14849==a)return[a,i];if(a<1||a>255)throw new Error("Unexpected SupBook type: "+a);for(var o=qr(e,a),s=[];r>e.l;)s.push(Gr(e));return[a,i,o,s]}},431:{n:"Prot4Rev",f:Fr},432:{n:"CondFmt"},433:{n:"CF"},434:{n:"DVal"},437:{n:"DConBin"},438:{n:"TxO",f:function(e,t,n){var r=e.l,i="";try{e.l+=4;var a=(n.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(a)?e.l+=6:function(e){var t=e._R(1);e.l++;var n=e._R(2);return e.l+=2,[t,n]}(e);var o=e._R(2);e._R(2),Mr(e);var s=e._R(2);e.l+=s;for(var l=1;l<e.lens.length-1;++l){if(e.l-r!=e.lens[l])throw new Error("TxO: bad continue record");var c=e[e.l];if((i+=qr(e,e.lens[l+1]-e.lens[l]-1)).length>=(c?o:2*o))break}if(i.length!==o&&i.length!==2*o)throw new Error("cchText: "+o+" != "+i.length);return e.l=r+t,{t:i}}catch(n){return e.l=r+t,{t:i}}}},439:{n:"RefreshAll",f:Fr},440:{n:"HLink",f:function(e,t){var n=ai(e);e.l+=16;var r=function(e,t){var n=e.l+t,r=e._R(4);if(2!==r)throw new Error("Unrecognized streamVersion: "+r);var i=e._R(2);e.l+=2;var a,o,s,l,c,u,f="";16&i&&(a=Kr(e,e.l)),128&i&&(o=Kr(e,e.l)),257==(257&i)&&(s=Kr(e,e.l)),1==(257&i)&&(l=Yr(e,e.l)),8&i&&(f=Kr(e,e.l)),32&i&&(c=e._R(16)),64&i&&(u=yr(e)),e.l=n;var h=o||s||l||"";h&&f&&(h+="#"+f),h||(h="#"+f),2&i&&"/"==h.charAt(0)&&"/"!=h.charAt(1)&&(h="file://"+h);var d={Target:h};return c&&(d.guid=c),u&&(d.time=u),a&&(d.Tooltip=a),d}(e,t-24);return[n,r]}},441:{n:"Lel"},442:{n:"CodeName",f:Gr},443:{n:"SXFDBType"},444:{n:"Prot4RevPass",f:Mr},445:{n:"ObNoMacros"},446:{n:"Dv"},448:{n:"Excel9File",f:Lr},449:{n:"RecalcId",f:function(e){return e._R(2),e._R(4)},r:2},450:{n:"EntExU2",f:Lr},512:{n:"Dimensions",f:bi},513:{n:"Blank",f:Ii},515:{n:"Number",f:function(e,t,n){n.biffguess&&2==n.biff&&(n.biff=5);var r=ti(e),i=Tn(e);return r.val=i,r}},516:{n:"Label",f:function(e,t,n){n.biffguess&&2==n.biff&&(n.biff=5),e.l;var r=ti(e);2==n.biff&&e.l++;var i=Gr(e,e.l,n);return r.val=i,r}},517:{n:"BoolErr",f:wi},519:{n:"String",f:Oi},520:{n:"Row",f:function(e){var t={};t.r=e._R(2),t.c=e._R(2),t.cnt=e._R(2)-t.c;var n=e._R(2);e.l+=4;var r=e._R(1);return e.l+=3,7&r&&(t.level=7&r),32&r&&(t.hidden=!0),64&r&&(t.hpt=n/20),t}},523:{n:"Index"},545:{n:"Array",f:Ci},549:{n:"DefaultRowHeight",f:gi},566:{n:"Table"},574:{n:"Window2",f:function(e,t,n){return n&&n.biff>=2&&n.biff<5?{}:{RTL:64&e._R(2)}}},638:{n:"RK",f:function(e){var t=e._R(2),n=e._R(2),r=ii(e);return{r:t,c:n,ixfe:r[0],rknum:r[1]}}},659:{n:"Style"},1048:{n:"BigName"},1054:{n:"Format",f:function(e,t,n){return[e._R(2),Xr(e,0,n)]}},1084:{n:"ContinueBigName"},1212:{n:"ShrFmla",f:function(e,t,n){var r=si(e);e.l++;var i=e._R(1);return[Qo(e,t-=8,n),i,r]}},2048:{n:"HLinkTooltip",f:function(e,t){e._R(2);var n=ai(e),r=e._R((t-10)/2,"dbcs-cont");return[n,r=r.replace(_,"")]}},2049:{n:"WebPub"},2050:{n:"QsiSXTag"},2051:{n:"DBQueryExt"},2052:{n:"ExtString"},2053:{n:"TxtQry"},2054:{n:"Qsir"},2055:{n:"Qsif"},2056:{n:"RRDTQSIF"},2057:{n:"BOF",f:hi},2058:{n:"OleDbConn"},2059:{n:"WOpt"},2060:{n:"SXViewEx"},2061:{n:"SXTH"},2062:{n:"SXPIEx"},2063:{n:"SXVDTEx"},2064:{n:"SXViewEx9"},2066:{n:"ContinueFrt"},2067:{n:"RealTimeData"},2128:{n:"ChartFrtInfo"},2129:{n:"FrtWrapper"},2130:{n:"StartBlock"},2131:{n:"EndBlock"},2132:{n:"StartObject"},2133:{n:"EndObject"},2134:{n:"CatLab"},2135:{n:"YMult"},2136:{n:"SXViewLink"},2137:{n:"PivotChartBits"},2138:{n:"FrtFontList"},2146:{n:"SheetExt"},2147:{n:"BookExt",r:12},2148:{n:"SXAddl"},2149:{n:"CrErr"},2150:{n:"HFPicture"},2151:{n:"FeatHdr",f:Lr},2152:{n:"Feat"},2154:{n:"DataLabExt"},2155:{n:"DataLabExtContents"},2156:{n:"CellWatch"},2161:{n:"FeatHdr11"},2162:{n:"Feature11"},2164:{n:"DropDownObjIds"},2165:{n:"ContinueFrt11"},2166:{n:"DConn"},2167:{n:"List12"},2168:{n:"Feature12"},2169:{n:"CondFmt12"},2170:{n:"CF12"},2171:{n:"CFEx"},2172:{n:"XFCRC",f:function(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e._R(2),t.crc=e._R(4),t},r:12},2173:{n:"XFExt",f:function(e,t){e.l,e.l+=2;var n=e._R(2);e.l+=2;for(var r=e._R(2),i=[];r-- >0;)i.push(to(e,e.l));return{ixfe:n,ext:i}},r:12},2174:{n:"AutoFilter12"},2175:{n:"ContinueFrt12"},2180:{n:"MDTInfo"},2181:{n:"MDXStr"},2182:{n:"MDXTuple"},2183:{n:"MDXSet"},2184:{n:"MDXProp"},2185:{n:"MDXKPI"},2186:{n:"MDB"},2187:{n:"PLV"},2188:{n:"Compat12",f:Fr,r:12},2189:{n:"DXF"},2190:{n:"TableStyles",r:12},2191:{n:"TableStyle"},2192:{n:"TableStyleElement"},2194:{n:"StyleExt"},2195:{n:"NamePublish"},2196:{n:"NameCmt",f:function(e,t,n){if(!(n.biff<8)){var r=e._R(2),i=e._R(2);return[qr(e,r,n),qr(e,i,n)]}e.l+=t},r:12},2197:{n:"SortData"},2198:{n:"Theme",f:function(e,t,n){var r=e.l+t;if(124226!==e._R(4))if(n.cellStyles){var i,a=e.slice(e.l);e.l=r;try{i=he(a,{type:"array"})}catch(e){return}var o=ce(i,"theme/theme/theme1.xml",!0);if(o)return Za(o,n)}else e.l=r},r:12},2199:{n:"GUIDTypeLib"},2200:{n:"FnGrp12"},2201:{n:"NameFnGrp12"},2202:{n:"MTRSettings",f:function(e){return[0!==e._R(4),0!==e._R(4),e._R(4)]},r:12},2203:{n:"CompressPictures",f:Lr},2204:{n:"HeaderFooter"},2205:{n:"CrtLayout12"},2206:{n:"CrtMlFrt"},2207:{n:"CrtMlFrtContinue"},2211:{n:"ForceFullCalculation",f:function(e){var t=function(e){var t=e._R(2),n=e._R(2);return e.l+=8,{type:t,flags:n}}(e);if(2211!=t.type)throw new Error("Invalid Future Record "+t.type);return 0!==e._R(4)}},2212:{n:"ShapePropsStream"},2213:{n:"TextPropsStream"},2214:{n:"RichTextStream"},2215:{n:"CrtLayout12A"},4097:{n:"Units"},4098:{n:"Chart"},4099:{n:"Series"},4102:{n:"DataFormat"},4103:{n:"LineFormat"},4105:{n:"MarkerFormat"},4106:{n:"AreaFormat"},4107:{n:"PieFormat"},4108:{n:"AttachedLabel"},4109:{n:"SeriesText"},4116:{n:"ChartFormat"},4117:{n:"Legend"},4118:{n:"SeriesList"},4119:{n:"Bar"},4120:{n:"Line"},4121:{n:"Pie"},4122:{n:"Area"},4123:{n:"Scatter"},4124:{n:"CrtLine"},4125:{n:"Axis"},4126:{n:"Tick"},4127:{n:"ValueRange"},4128:{n:"CatSerRange"},4129:{n:"AxisLine"},4130:{n:"CrtLink"},4132:{n:"DefaultText"},4133:{n:"Text"},4134:{n:"FontX",f:Mr},4135:{n:"ObjectLink"},4146:{n:"Frame"},4147:{n:"Begin"},4148:{n:"End"},4149:{n:"PlotArea"},4154:{n:"Chart3d"},4156:{n:"PicF"},4157:{n:"DropBar"},4158:{n:"Radar"},4159:{n:"Surf"},4160:{n:"RadarArea"},4161:{n:"AxisParent"},4163:{n:"LegendException"},4164:{n:"ShtProps",f:function(e,t,n){var r={area:!1};if(5!=n.biff)return e.l+=t,r;var i=e._R(1);return e.l+=3,16&i&&(r.area=!0),r}},4165:{n:"SerToCrt"},4166:{n:"AxesUsed"},4168:{n:"SBaseRef"},4170:{n:"SerParent"},4171:{n:"SerAuxTrend"},4174:{n:"IFmtRecord"},4175:{n:"Pos"},4176:{n:"AlRuns"},4177:{n:"BRAI"},4187:{n:"SerAuxErrBar"},4188:{n:"ClrtClient",f:function(e){for(var t=e._R(2),n=[];t-- >0;)n.push(ei(e));return n}},4189:{n:"SerFmt"},4191:{n:"Chart3DBarShape"},4192:{n:"Fbi"},4193:{n:"BopPop"},4194:{n:"AxcExt"},4195:{n:"Dat"},4196:{n:"PlotGrowth"},4197:{n:"SIIndex"},4198:{n:"GelFrame"},4199:{n:"BopPopCustom"},4200:{n:"Fbi2"},0:{n:"Dimensions",f:bi},1:{n:"BIFF2BLANK"},2:{n:"BIFF2INT",f:function(e){var t=ti(e);++e.l;var n=e._R(2);return t.t="n",t.val=n,t}},3:{n:"BIFF2NUM",f:function(e){var t=ti(e);++e.l;var n=Tn(e);return t.t="n",t.val=n,t}},4:{n:"BIFF2STR",f:function(e,t,n){n.biffguess&&5==n.biff&&(n.biff=2);var r=ti(e);++e.l;var i=Xr(e,0,n);return r.t="str",r.val=i,r}},5:{n:"BoolErr",f:wi},7:{n:"String",f:function(e){var t=e._R(1);return 0===t?(e.l++,""):e._R(t,"sbcs-cont")}},8:{n:"BIFF2ROW"},9:{n:"BOF",f:hi},11:{n:"Index"},22:{n:"ExternCount",f:Mr},30:{n:"BIFF2FORMAT",f:vi},31:{n:"BIFF2FMTCNT"},32:{n:"BIFF2COLINFO"},33:{n:"Array",f:Ci},36:{n:"COLWIDTH"},37:{n:"DefaultRowHeight",f:gi},50:{n:"BIFF2FONTXTRA",f:function(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}},62:{n:"BIFF2WINDOW2"},52:{n:"DDEObjName"},67:{n:"BIFF2XF"},68:{n:"BIFF2XFINDEX",f:Mr},69:{n:"BIFF2FONTCLR"},86:{n:"BIFF4FMTCNT"},126:{n:"RK"},127:{n:"ImData",f:function(e){var t=e._R(2),n=e._R(2),r=e._R(4),i={fmt:t,env:n,len:r,data:e.slice(e.l,e.l+r)};return e.l+=r,i}},135:{n:"Addin"},136:{n:"Edg"},137:{n:"Pub"},145:{n:"Sub"},148:{n:"LHRecord"},149:{n:"LHNGraph"},150:{n:"Sound"},169:{n:"CoordList"},171:{n:"GCW"},188:{n:"ShrFmla"},191:{n:"ToolbarHdr"},192:{n:"ToolbarEnd"},194:{n:"AddMenu"},195:{n:"DelMenu"},214:{n:"RString",f:function(e,t,n){var r=e.l+t,i=ti(e),a=e._R(2),o=qr(e,a,n);return e.l=r,i.t="str",i.val=o,i}},223:{n:"UDDesc"},234:{n:"TabIdConf"},354:{n:"XL5Modify"},421:{n:"FileSharing2"},518:{n:"Formula",f:es},521:{n:"BOF",f:hi},536:{n:"Lbl",f:_i},547:{n:"ExternName",f:xi},561:{n:"Font"},579:{n:"BIFF3XF"},1030:{n:"Formula",f:es},1033:{n:"BOF",f:hi},1091:{n:"BIFF4XF"},2157:{n:"FeatInfo"},2163:{n:"FeatInfo11"},2177:{n:"SXAddl12"},2240:{n:"AutoWebPub"},2241:{n:"ListObj"},2242:{n:"ListField"},2243:{n:"ListDV"},2244:{n:"ListCondFmt"},2245:{n:"ListCF"},2246:{n:"FMQry"},2247:{n:"FMSQry"},2248:{n:"PLV"},2249:{n:"LnExt"},2250:{n:"MkrExt"},2251:{n:"CrtCoopt"},2262:{n:"FRTArchId$",r:12},29282:{}},dc=D(hc,"n");function pc(e,t,n,r){var i="number"==typeof t?t:+t||+dc[t];if(!isNaN(i)){var a=r||(n||[]).length||0,o=e.next(4);o._W(2,i),o._W(2,a),a>0&&Et(n)&&e.push(n)}}function gc(e,t,n){return e||(e=Ft(7)),e._W(2,t),e._W(2,n),e._W(2,0),e._W(1,0),e}function mc(e,t,n,r){if(null!=t.v)switch(t.t){case"d":case"n":var i="d"==t.t?U(K(t.v)):t.v;return void(i==(0|i)&&i>=0&&i<65536?pc(e,2,function(e,t,n){var r=Ft(9);return gc(r,e,t),r._W(2,n),r}(n,r,i)):pc(e,3,function(e,t,n){var r=Ft(15);return gc(r,e,t),r._W(8,n,"f"),r}(n,r,i)));case"b":case"e":return void pc(e,5,function(e,t,n,r){var i=Ft(9);return gc(i,e,t),Ur(n,r||"b",i),i}(n,r,t.v,t.t));case"s":case"str":return void pc(e,4,function(e,t,n){var r=Ft(8+2*n.length);return gc(r,e,t),r._W(1,n.length),r._W(n.length,n,"sbcs"),r.l<r.length?r.slice(0,r.l):r}(n,r,(t.v||"").slice(0,255)))}pc(e,1,gc(null,n,r))}function vc(e,t){var n=t||{};for(var r=Mt(),i=0,a=0;a<e.SheetNames.length;++a)e.SheetNames[a]==n.sheet&&(i=a);if(0==i&&n.sheet&&e.SheetNames[0]!=n.sheet)throw new Error("Sheet not found: "+n.sheet);return pc(r,4==n.biff?1033:3==n.biff?521:9,di(0,16,n)),function(e,t,n,r){var i,a=Array.isArray(t),o=Zt(t["!ref"]||"A1"),s="",l=[];if(o.e.c>255||o.e.r>16383){if(r.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");o.e.c=Math.min(o.e.c,255),o.e.r=Math.min(o.e.c,16383),i=Jt(o)}for(var c=o.s.r;c<=o.e.r;++c){s=qt(c);for(var u=o.s.c;u<=o.e.c;++u){c===o.s.r&&(l[u]=Xt(u)),i=l[u]+s;var f=a?(t[c]||[])[u]:t[i];f&&mc(e,f,c,u)}}}(r,e.Sheets[e.SheetNames[i]],0,n),pc(r,10),r.end()}function bc(e,t,n){pc(e,"Font",function(e,t){var n=e.name||"Arial",r=t&&5==t.biff,i=Ft(r?15+n.length:16+2*n.length);return i._W(2,20*(e.sz||12)),i._W(4,0),i._W(2,400),i._W(4,0),i._W(2,0),i._W(1,n.length),r||i._W(1,1),i._W((r?1:2)*n.length,n,r?"sbcs":"utf16le"),i}({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},n))}function yc(e,t,n){if(t){var r=0;t.forEach((function(t,n){++r<=256&&t&&pc(e,"ColInfo",function(e,t){var n=Ft(12);n._W(2,t),n._W(2,t),n._W(2,256*e.width),n._W(2,0);var r=0;return e.hidden&&(r|=1),n._W(1,r),r=e.level||0,n._W(1,r),n._W(2,0),n}(ys(n,t),n))}))}}function wc(e,t,n,r,i){var a=16+Ss(i.cellXfs,t,i);if(null!=t.v||t.bf)if(t.bf)pc(e,"Formula",ts(t,n,r,0,a));else switch(t.t){case"d":case"n":pc(e,"Number",function(e,t,n,r){var i=Ft(14);return ni(e,t,r,i),Rn(n,i),i}(n,r,"d"==t.t?U(K(t.v)):t.v,a));break;case"b":case"e":pc(e,517,function(e,t,n,r,i,a){var o=Ft(8);return ni(e,t,r,o),Ur(n,a,o),o}(n,r,t.v,a,0,t.t));break;case"s":case"str":if(i.bookSST)pc(e,"LabelSst",function(e,t,n,r){var i=Ft(10);return ni(e,t,r,i),i._W(4,n),i}(n,r,bs(i.Strings,t.v,i.revStrings),a));else pc(e,"Label",function(e,t,n,r,i){var a=!i||8==i.biff,o=Ft(+a+8+(1+a)*n.length);return ni(e,t,r,o),o._W(2,n.length),a&&o._W(1,1),o._W((1+a)*n.length,n,a?"utf16le":"sbcs"),o}(n,r,(t.v||"").slice(0,255),a,i));break;default:pc(e,"Blank",ni(n,r,a))}else pc(e,"Blank",ni(n,r,a))}function Sc(e,t,n){var r,i=Mt(),a=n.SheetNames[e],o=n.Sheets[a]||{},s=(n||{}).Workbook||{},l=(s.Sheets||[])[e]||{},c=Array.isArray(o),u=8==t.biff,f="",h=[],d=Zt(o["!ref"]||"A1"),p=u?65536:16384;if(d.e.c>255||d.e.r>=p){if(t.WTF)throw new Error("Range "+(o["!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)}pc(i,2057,di(0,16,t)),pc(i,"CalcMode",jr(1)),pc(i,"CalcCount",jr(100)),pc(i,"CalcRefMode",Dr(!0)),pc(i,"CalcIter",Dr(!1)),pc(i,"CalcDelta",Rn(.001)),pc(i,"CalcSaveRecalc",Dr(!0)),pc(i,"PrintRowCol",Dr(!1)),pc(i,"PrintGrid",Dr(!1)),pc(i,"GridSet",jr(1)),pc(i,"Guts",function(e){var t=Ft(8);return t._W(4,0),t._W(2,e[0]?e[0]+1:0),t._W(2,e[1]?e[1]+1:0),t}([0,0])),pc(i,"HCenter",Dr(!1)),pc(i,"VCenter",Dr(!1)),u&&yc(i,o["!cols"]),pc(i,512,function(e,t){var n=8!=t.biff&&t.biff?2:4,r=Ft(2*n+6);return r._W(n,e.s.r),r._W(n,e.e.r+1),r._W(2,e.s.c),r._W(2,e.e.c+1),r._W(2,0),r}(d,t)),u&&(o["!links"]=[]);for(var g=d.s.r;g<=d.e.r;++g){f=qt(g);for(var m=d.s.c;m<=d.e.c;++m){g===d.s.r&&(h[m]=Xt(m)),r=h[m]+f;var v=c?(o[g]||[])[m]:o[r];v&&(wc(i,v,g,m,t),u&&v.l&&o["!links"].push([r,v.l]))}}var b=l.CodeName||l.name||a;return u&&pc(i,"Window2",function(e){var t=Ft(18),n=1718;return e&&e.RTL&&(n|=64),t._W(2,n),t._W(4,0),t._W(4,64),t._W(4,0),t._W(4,0),t}((s.Views||[])[0])),u&&(o["!merges"]||[]).length&&pc(i,"MergeCells",function(e){var t=Ft(2+8*e.length);t._W(2,e.length);for(var n=0;n<e.length;++n)oi(e[n],t);return t}(o["!merges"])),u&&function(e,t){for(var n=0;n<t["!links"].length;++n){var r=t["!links"][n];pc(e,"HLink",Ti(r)),r[1].Tooltip&&pc(e,"HLinkTooltip",Ri(r))}delete t["!links"]}(i,o),pc(i,"CodeName",$r(b)),u&&function(e,t){var n=Ft(19);n._W(4,2151),n._W(4,0),n._W(4,0),n._W(2,3),n._W(1,1),n._W(4,0),pc(e,"FeatHdr",n),(n=Ft(39))._W(4,2152),n._W(4,0),n._W(4,0),n._W(2,3),n._W(1,0),n._W(4,0),n._W(2,1),n._W(4,4),n._W(2,0),oi(Zt(t["!ref"]||"A1"),n),n._W(4,4),pc(e,"Feat",n)}(i,o),pc(i,"EOF"),i.end()}function xc(e,t,n){var r=Mt(),i=(e||{}).Workbook||{},a=i.Sheets||[],o=i.WBProps||{},s=8==n.biff,l=5==n.biff;(pc(r,2057,di(0,5,n)),"xla"==n.bookType&&pc(r,"Addin"),pc(r,"InterfaceHdr",s?jr(1200):null),pc(r,"Mms",function(e,t){t||(t=Ft(e));for(var n=0;n<e;++n)t._W(1,0);return t}(2)),l&&pc(r,"ToolbarHdr"),l&&pc(r,"ToolbarEnd"),pc(r,"InterfaceEnd"),pc(r,"WriteAccess",function(e,t){var n=!t||8==t.biff,r=Ft(n?112:54);for(r._W(8==t.biff?2:1,7),n&&r._W(1,0),r._W(4,859007059),r._W(4,5458548|(n?0:536870912));r.l<r.length;)r._W(1,n?0:32);return r}(0,n)),pc(r,"CodePage",jr(s?1200:1252)),s&&pc(r,"DSF",jr(0)),s&&pc(r,"Excel9File"),pc(r,"RRTabId",function(e){for(var t=Ft(2*e),n=0;n<e;++n)t._W(2,n+1);return t}(e.SheetNames.length)),s&&e.vbaraw&&pc(r,"ObProj"),s&&e.vbaraw)&&pc(r,"CodeName",$r(o.CodeName||"ThisWorkbook"));pc(r,"BuiltInFnGroupCount",jr(17)),pc(r,"WinProtect",Dr(!1)),pc(r,"Protect",Dr(!1)),pc(r,"Password",jr(0)),s&&pc(r,"Prot4Rev",Dr(!1)),s&&pc(r,"Prot4RevPass",jr(0)),pc(r,"Window1",function(){var e=Ft(18);return e._W(2,0),e._W(2,0),e._W(2,29280),e._W(2,17600),e._W(2,56),e._W(2,0),e._W(2,0),e._W(2,1),e._W(2,500),e}()),pc(r,"Backup",Dr(!1)),pc(r,"HideObj",jr(0)),pc(r,"Date1904",Dr("true"==function(e){return e.Workbook&&e.Workbook.WBProps&&Be(e.Workbook.WBProps.date1904)?"true":"false"}(e))),pc(r,"CalcPrecision",Dr(!0)),s&&pc(r,"RefreshAll",Dr(!1)),pc(r,"BookBool",jr(0)),bc(r,0,n),function(e,t,n){t&&[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var i=r[0];i<=r[1];++i)null!=t[i]&&pc(e,"Format",mi(i,t[i],n))}))}(r,e.SSF,n),function(e,t){for(var n=0;n<16;++n)pc(e,"XF",yi({numFmtId:0,style:!0},0,t));t.cellXfs.forEach((function(n){pc(e,"XF",yi(n,0,t))}))}(r,n),s&&pc(r,"UsesELFs",Dr(!1));var c=r.end(),u=Mt();s&&pc(u,"Country",function(e){return e||(e=Ft(4)),e._W(2,1),e._W(2,1),e}()),s&&n.Strings&&function(e,t,n,r){var i=r||(n||[]).length||0;if(i<=8224)return pc(e,t,n,i);var a=+t||+dc[t];if(!isNaN(a)){for(var o=n.parts||[],s=0,l=0,c=0;c+(o[s]||8224)<=8224;)c+=o[s]||8224,s++;var u=e.next(4);for(u._W(2,a),u._W(2,c),e.push(n.slice(l,l+c)),l+=c;l<i;){for((u=e.next(4))._W(2,60),c=0;c+(o[s]||8224)<=8224;)c+=o[s]||8224,s++;u._W(2,c),e.push(n.slice(l,l+c)),l+=c}}}(u,"SST",function(e,t){var n=Ft(8);n._W(4,e.Count),n._W(4,e.Unique);for(var r=[],i=0;i<e.length;++i)r[i]=Vr(e[i]);var a=E([n].concat(r));return a.parts=[n.length].concat(r.map((function(e){return e.length}))),a}(n.Strings)),pc(u,"EOF");var f=u.end(),h=Mt(),d=0,p=0;for(p=0;p<e.SheetNames.length;++p)d+=(s?12:11)+(s?2:1)*e.SheetNames[p].length;var g=c.length+d+f.length;for(p=0;p<e.SheetNames.length;++p){pc(h,"BoundSheet8",pi({pos:g,hs:(a[p]||{}).Hidden||0,dt:0,name:e.SheetNames[p]},n)),g+=t[p].length}var m=h.end();if(d!=m.length)throw new Error("BS8 "+d+" != "+m.length);var v=[];return c.length&&v.push(c),m.length&&v.push(m),f.length&&v.push(f),at([v])}function Ec(e,t){var n=t||{};switch(n.biff||2){case 8:case 5:return function(e,t){var n=t||{},r=[];e&&!e.SSF&&(e.SSF=C.get_table()),e&&e.SSF&&(k(C),C.load_table(e.SSF),n.revssf=j(e.SSF),n.revssf[e.SSF[65535]]=0,n.ssf=e.SSF),n.Strings=[],n.Strings.Count=0,n.Strings.Unique=0,Xc(n),n.cellXfs=[],Ss(n.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var i=0;i<e.SheetNames.length;++i)r[r.length]=Sc(i,n,e);return r.unshift(xc(e,r,n)),at([r])}(e,t);case 4:case 3:case 2:return vc(e,t)}throw new Error("invalid type "+n.bookType+" for BIFF")}var _c=function(){function e(e,t){var n=t||{};var r=n.dense?[]:{},i=(e=e.replace(/<!--.*?-->/g,"")).match(/<table/i);if(!i)throw new Error("Invalid HTML: could not find <table>");var a=e.match(/<\/table/i),o=i.index,s=a&&a.index||e.length,l=function(e,t,n){if(re||"string"==typeof t)return e.split(t);for(var r=e.split(t),i=[r[0]],a=1;a<r.length;++a)i.push(n),i.push(r[a]);return i}(e.slice(o,s),/(:?<tr[^>]*>)/i,"<tr>"),c=-1,u=0,f=0,h=0,d={s:{r:1e7,c:1e7},e:{r:0,c:0}},p=[];for(o=0;o<l.length;++o){var g=l[o].trim(),m=g.slice(0,3).toLowerCase();if("<tr"!=m){if("<td"==m||"<th"==m){var v=g.split(/<\/t[dh]>/i);for(s=0;s<v.length;++s){var b=v[s].trim();if(b.match(/<t[dh]/i)){for(var y=b,w=0;"<"==y.charAt(0)&&(w=y.indexOf(">"))>-1;)y=y.slice(w+1);for(var S=0;S<p.length;++S){var x=p[S];x.s.c==u&&x.s.r<c&&c<=x.e.r&&(u=x.e.c+1,S=-1)}var E=ye(b.slice(0,b.indexOf(">")));h=E.colspan?+E.colspan:1,((f=+E.rowspan)>1||h>1)&&p.push({s:{r:c,c:u},e:{r:c+(f||1)-1,c:u+h-1}});var _=E.t||E["data-t"]||"";if(y.length){if(y=je(y),d.s.r>c&&(d.s.r=c),d.e.r<c&&(d.e.r=c),d.s.c>u&&(d.s.c=u),d.e.c<u&&(d.e.c=u),y.length){var A={t:"s",v:y};n.raw||!y.trim().length||"s"==_||("TRUE"===y?A={t:"b",v:!0}:"FALSE"===y?A={t:"b",v:!1}:isNaN(ee(y))?isNaN(te(y).getDate())||(A={t:"d",v:K(y)},n.cellDates||(A={t:"n",v:U(A.v)}),A.z=n.dateNF||C._table[14]):A={t:"n",v:ee(y)}),n.dense?(r[c]||(r[c]=[]),r[c][u]=A):r[Yt({r:c,c:u})]=A,u+=h}}else u+=h}}}}else{if(++c,n.sheetRows&&n.sheetRows<=c){--c;break}u=0}}return r["!ref"]=Jt(d),p.length&&(r["!merges"]=p),r}function t(e,t,n,r){for(var i=e["!merges"]||[],a=[],o=t.s.c;o<=t.e.c;++o){for(var s=0,l=0,c=0;c<i.length;++c)if(!(i[c].s.r>n||i[c].s.c>o||i[c].e.r<n||i[c].e.c<o)){if(i[c].s.r<n||i[c].s.c<o){s=-1;break}s=i[c].e.r-i[c].s.r+1,l=i[c].e.c-i[c].s.c+1;break}if(!(s<0)){var u=Yt({r:n,c:o}),f=r.dense?(e[n]||[])[o]:e[u],h=f&&null!=f.v&&(f.h||Re(f.w||(en(f),f.w)||""))||"",d={};s>1&&(d.rowspan=s),l>1&&(d.colspan=l),r.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=(r.id||"sjs")+"-"+u,a.push(Xe("td",h,d))}}return"<tr>"+a.join("")+"</tr>"}function n(e,t,n){return[].join("")+"<table"+(n&&n.id?' id="'+n.id+'"':"")+">"}var r='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',i="</body></html>";return{to_workbook:function(t,n){var r=t.match(/<table.*?>[\s\S]*?<\/table>/gi);if(!r||0==r.length)throw new Error("Invalid HTML: could not find <table>");if(1==r.length)return tn(e(r[0],n),n);var i=yu.book_new();return r.forEach((function(t,r){yu.book_append_sheet(i,e(t,n),"Sheet"+(r+1))})),i},to_sheet:e,_row:t,BEGIN:r,END:i,_preamble:n,from_sheet:function(e,a){var o=a||{},s=null!=o.header?o.header:r,l=null!=o.footer?o.footer:i,c=[s],u=Kt(e["!ref"]);o.dense=Array.isArray(e),c.push(n(0,0,o));for(var f=u.s.r;f<=u.e.r;++f)c.push(t(e,u,f,o));return c.push("</table>"+l),c.join("")}}}();function Ac(e,t,n){var r=n||{};var i=0,a=0;if(null!=r.origin)if("number"==typeof r.origin)i=r.origin;else{var o="string"==typeof r.origin?$t(r.origin):r.origin;i=o.r,a=o.c}var s=t.getElementsByTagName("tr"),l=Math.min(r.sheetRows||1e7,s.length),c={s:{r:0,c:0},e:{r:i,c:a}};if(e["!ref"]){var u=Kt(e["!ref"]);c.s.r=Math.min(c.s.r,u.s.r),c.s.c=Math.min(c.s.c,u.s.c),c.e.r=Math.max(c.e.r,u.e.r),c.e.c=Math.max(c.e.c,u.e.c),-1==i&&(c.e.r=i=u.e.r+1)}var f=[],h=0,d=e["!rows"]||(e["!rows"]=[]),p=0,g=0,m=0,v=0,b=0,y=0;for(e["!cols"]||(e["!cols"]=[]);p<s.length&&g<l;++p){var w=s[p];if(kc(w)){if(r.display)continue;d[g]={hidden:!0}}var S=w.children;for(m=v=0;m<S.length;++m){var x=S[m];if(!r.display||!kc(x)){var E=x.hasAttribute("data-v")?x.getAttribute("data-v"):x.hasAttribute("v")?x.getAttribute("v"):je(x.innerHTML),_=x.getAttribute("data-z")||x.getAttribute("z");for(h=0;h<f.length;++h){var A=f[h];A.s.c==v+a&&A.s.r<g+i&&g+i<=A.e.r&&(v=A.e.c+1-a,h=-1)}y=+x.getAttribute("colspan")||1,((b=+x.getAttribute("rowspan")||1)>1||y>1)&&f.push({s:{r:g+i,c:v+a},e:{r:g+i+(b||1)-1,c:v+a+(y||1)-1}});var k={t:"s",v:E},T=x.getAttribute("data-t")||x.getAttribute("t")||"";null!=E&&(0==E.length?k.t=T||"z":r.raw||0==E.trim().length||"s"==T||("TRUE"===E?k={t:"b",v:!0}:"FALSE"===E?k={t:"b",v:!1}:isNaN(ee(E))?isNaN(te(E).getDate())||(k={t:"d",v:K(E)},r.cellDates||(k={t:"n",v:U(k.v)}),k.z=r.dateNF||C._table[14]):k={t:"n",v:ee(E)})),void 0===k.z&&null!=_&&(k.z=_);var R="",N=x.getElementsByTagName("A");if(N&&N.length)for(var I=0;I<N.length&&(!N[I].hasAttribute("href")||"#"==(R=N[I].getAttribute("href")).charAt(0));++I);R&&"#"!=R.charAt(0)&&(k.l={Target:R}),r.dense?(e[g+i]||(e[g+i]=[]),e[g+i][v+a]=k):e[Yt({c:v+a,r:g+i})]=k,c.e.c<v+a&&(c.e.c=v+a),v+=y}}++g}return f.length&&(e["!merges"]=(e["!merges"]||[]).concat(f)),c.e.r=Math.max(c.e.r,g-1+i),e["!ref"]=Jt(c),g>=l&&(e["!fullref"]=Jt((c.e.r=s.length-p+g-1+i,c))),e}function Cc(e,t){return Ac((t||{}).dense?[]:{},e,t)}function kc(e){var t="",n=function(e){return e.ownerDocument.defaultView&&"function"==typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"==typeof getComputedStyle?getComputedStyle:null}(e);return n&&(t=n(e).getPropertyValue("display")),t||(t=e.style.display),"none"===t}var Tc=function(){var e=function(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,(function(e,t){return Array(parseInt(t,10)+1).join(" ")})).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n");return[Ee(t.replace(/<[^>]*>/g,""))]},t={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"']};return function(n,r){var i=r||{};var a,o,s,l,c,u,f=Vl(n),h=[],d={name:""},p="",g=0,m={},v=[],b=i.dense?[]:{},y={value:""},w="",S=0,x=[],E=-1,_=-1,A={s:{r:1e6,c:1e7},e:{r:0,c:0}},C=0,k={},T=[],R={},N=[],I=1,B=1,O=[],P={Names:[]},L={},F=["",""],D=[],M={},j="",W=0,z=!1,H=!1,V=0;for(ql.lastIndex=0,f=f.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");c=ql.exec(f);)switch(c[3]=c[3].replace(/_.*$/,"")){case"table":case"工作表":"/"===c[1]?(A.e.c>=A.s.c&&A.e.r>=A.s.r?b["!ref"]=Jt(A):b["!ref"]="A1:A1",i.sheetRows>0&&i.sheetRows<=A.e.r&&(b["!fullref"]=b["!ref"],A.e.r=i.sheetRows-1,b["!ref"]=Jt(A)),T.length&&(b["!merges"]=T),N.length&&(b["!rows"]=N),s.name=s["名称"]||s.name,"undefined"!=typeof JSON&&JSON.stringify(s),v.push(s.name),m[s.name]=b,H=!1):"/"!==c[0].charAt(c[0].length-2)&&(s=ye(c[0],!1),E=_=-1,A.s.r=A.s.c=1e7,A.e.r=A.e.c=0,b=i.dense?[]:{},T=[],N=[],H=!0);break;case"table-row-group":"/"===c[1]?--C:++C;break;case"table-row":case"行":if("/"===c[1]){E+=I,I=1;break}if((l=ye(c[0],!1))["行号"]?E=l["行号"]-1:-1==E&&(E=0),(I=+l["number-rows-repeated"]||1)<10)for(V=0;V<I;++V)C>0&&(N[E+V]={level:C});_=-1;break;case"covered-table-cell":"/"!==c[1]&&++_,i.sheetStubs&&(i.dense?(b[E]||(b[E]=[]),b[E][_]={t:"z"}):b[Yt({r:E,c:_})]={t:"z"}),w="",x=[];break;case"table-cell":case"数据":if("/"===c[0].charAt(c[0].length-2))++_,y=ye(c[0],!1),B=parseInt(y["number-columns-repeated"]||"1",10),u={t:"z",v:null},y.formula&&0!=i.cellFormula&&(u.f=fs(Ee(y.formula))),"string"==(y["数据类型"]||y["value-type"])&&(u.t="s",u.v=Ee(y["string-value"]||""),i.dense?(b[E]||(b[E]=[]),b[E][_]=u):b[Yt({r:E,c:_})]=u),_+=B-1;else if("/"!==c[1]){w="",S=0,x=[],B=1;var X=I?E+I-1:E;if(++_>A.e.c&&(A.e.c=_),_<A.s.c&&(A.s.c=_),E<A.s.r&&(A.s.r=E),X>A.e.r&&(A.e.r=X),D=[],M={},u={t:(y=ye(c[0],!1))["数据类型"]||y["value-type"],v:null},i.cellFormula)if(y.formula&&(y.formula=Ee(y.formula)),y["number-matrix-columns-spanned"]&&y["number-matrix-rows-spanned"]&&(R={s:{r:E,c:_},e:{r:E+(parseInt(y["number-matrix-rows-spanned"],10)||0)-1,c:_+(parseInt(y["number-matrix-columns-spanned"],10)||0)-1}},u.F=Jt(R),O.push([R,u.F])),y.formula)u.f=fs(y.formula);else for(V=0;V<O.length;++V)E>=O[V][0].s.r&&E<=O[V][0].e.r&&_>=O[V][0].s.c&&_<=O[V][0].e.c&&(u.F=O[V][1]);switch((y["number-columns-spanned"]||y["number-rows-spanned"])&&(R={s:{r:E,c:_},e:{r:E+(parseInt(y["number-rows-spanned"],10)||0)-1,c:_+(parseInt(y["number-columns-spanned"],10)||0)-1}},T.push(R)),y["number-columns-repeated"]&&(B=parseInt(y["number-columns-repeated"],10)),u.t){case"boolean":u.t="b",u.v=Be(y["boolean-value"]);break;case"float":case"percentage":case"currency":u.t="n",u.v=parseFloat(y.value);break;case"date":u.t="d",u.v=K(y["date-value"]),i.cellDates||(u.t="n",u.v=U(u.v)),u.z="m/d/yy";break;case"time":u.t="n",u.v=G(y["time-value"])/86400,i.cellDates&&(u.t="d",u.v=q(u.v)),u.z="HH:MM:SS";break;case"number":u.t="n",u.v=parseFloat(y["数据数值"]);break;default:if("string"!==u.t&&"text"!==u.t&&u.t)throw new Error("Unsupported value type "+u.t);u.t="s",null!=y["string-value"]&&(w=Ee(y["string-value"]),x=[])}}else{if(z=!1,"s"===u.t&&(u.v=w||"",x.length&&(u.R=x),z=0==S),L.Target&&(u.l=L),D.length>0&&(u.c=D,D=[]),w&&!1!==i.cellText&&(u.w=w),z&&(u.t="z",delete u.v),(!z||i.sheetStubs)&&!(i.sheetRows&&i.sheetRows<=E))for(var $=0;$<I;++$){if(B=parseInt(y["number-columns-repeated"]||"1",10),i.dense)for(b[E+$]||(b[E+$]=[]),b[E+$][_]=0==$?u:Z(u);--B>0;)b[E+$][_+B]=Z(u);else for(b[Yt({r:E+$,c:_})]=u;--B>0;)b[Yt({r:E+$,c:_+B})]=Z(u);A.e.c<=_&&(A.e.c=_)}_+=(B=parseInt(y["number-columns-repeated"]||"1",10))-1,B=0,u={},w="",x=[]}L={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if("/"===c[1]){if((a=h.pop())[0]!==c[3])throw"Bad state: "+a}else"/"!==c[0].charAt(c[0].length-2)&&h.push([c[3],!0]);break;case"annotation":if("/"===c[1]){if((a=h.pop())[0]!==c[3])throw"Bad state: "+a;M.t=w,x.length&&(M.R=x),M.a=j,D.push(M)}else"/"!==c[0].charAt(c[0].length-2)&&h.push([c[3],!1]);j="",W=0,w="",S=0,x=[];break;case"creator":"/"===c[1]?j=f.slice(W,c.index):W=c.index+c[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("/"===c[1]){if((a=h.pop())[0]!==c[3])throw"Bad state: "+a}else"/"!==c[0].charAt(c[0].length-2)&&h.push([c[3],!1]);w="",S=0,x=[];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("/"===c[1]){if(k[d.name]=p,(a=h.pop())[0]!==c[3])throw"Bad state: "+a}else"/"!==c[0].charAt(c[0].length-2)&&(p="",d=ye(c[0],!1),h.push([c[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(h[h.length-1][0]){case"time-style":case"date-style":o=ye(c[0],!1),p+=t[c[3]]["long"===o.style?1:0]}break;case"text":if("/>"===c[0].slice(-2))break;if("/"===c[1])switch(h[h.length-1][0]){case"number-style":case"date-style":case"time-style":p+=f.slice(g,c.index)}else g=c.index+c[0].length;break;case"named-range":F=ds((o=ye(c[0],!1))["cell-range-address"]);var Y={Name:o.name,Ref:F[0]+"!"+F[1]};H&&(Y.Sheet=v.length),P.Names.push(Y);break;case"p":case"文本串":if(["master-styles"].indexOf(h[h.length-1][0])>-1)break;if("/"!==c[1]||y&&y["string-value"])ye(c[0],!1),S=c.index+c[0].length;else{var J=e(f.slice(S,c.index));w=(w.length>0?w+"\n":"")+J[0]}break;case"database-range":if("/"===c[1])break;try{m[(F=ds(ye(c[0])["target-range-address"]))[0]]["!autofilter"]={ref:F[1]}}catch(e){}break;case"a":if("/"!==c[1]){if(!(L=ye(c[0],!1)).href)break;L.Target=Ee(L.href),delete L.href,"#"==L.Target.charAt(0)&&L.Target.indexOf(".")>-1?(F=ds(L.Target.slice(1)),L.Target="#"+F[0]+"!"+F[1]):L.Target.match(/^\.\.[\\\/]/)&&(L.Target=L.Target.slice(3))}break;default:switch(c[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(i.WTF)throw new Error(c)}}var Q={Sheets:m,SheetNames:v,Workbook:P};return i.bookSheets&&delete Q.Sheets,Q}}();function Rc(e,t){t=t||{},oe(e,"META-INF/manifest.xml")&&function(e,t){for(var n,r,i=Vl(e);n=ql.exec(i);)switch(n[3]){case"manifest":break;case"file-entry":if("/"==(r=ye(n[0],!1)).path&&"application/vnd.oasis.opendocument.spreadsheet"!==r.type)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(t&&t.WTF)throw n}}(le(e,"META-INF/manifest.xml"),t);var n=ce(e,"content.xml");if(!n)throw new Error("Missing content.xml in ODS / UOF file");var r=Tc(Oe(n),t);return oe(e,"meta.xml")&&(r.Props=sr(le(e,"meta.xml"))),r}function Nc(e,t){return Tc(e,t)}var Ic=function(){var e="<office:document-styles "+Ge({"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"})+'><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></office:document-styles>';return function(){return pe+e}}(),Bc=function(){var e=function(e){return Ce(e).replace(/ +/g,(function(e){return'<text:s text:c="'+e.length+'"/>'})).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},t=" <table:table-cell />\n",n=function(n,r,i){var a=[];a.push(' <table:table table:name="'+Ce(r.SheetNames[i])+'" table:style-name="ta1">\n');var o=0,s=0,l=Kt(n["!ref"]||"A1"),c=n["!merges"]||[],u=0,f=Array.isArray(n);if(n["!cols"])for(s=0;s<=l.e.c;++s)a.push(" <table:table-column"+(n["!cols"][s]?' table:style-name="co'+n["!cols"][s].ods+'"':"")+"></table:table-column>\n");var h="",d=n["!rows"]||[];for(o=0;o<l.s.r;++o)h=d[o]?' table:style-name="ro'+d[o].ods+'"':"",a.push(" <table:table-row"+h+"></table:table-row>\n");for(;o<=l.e.r;++o){for(h=d[o]?' table:style-name="ro'+d[o].ods+'"':"",a.push(" <table:table-row"+h+">\n"),s=0;s<l.s.c;++s)a.push(t);for(;s<=l.e.c;++s){var p=!1,g={},m="";for(u=0;u!=c.length;++u)if(!(c[u].s.c>s||c[u].s.r>o||c[u].e.c<s||c[u].e.r<o)){c[u].s.c==s&&c[u].s.r==o||(p=!0),g["table:number-columns-spanned"]=c[u].e.c-c[u].s.c+1,g["table:number-rows-spanned"]=c[u].e.r-c[u].s.r+1;break}if(p)a.push(" <table:covered-table-cell/>\n");else{var v=Yt({r:o,c:s}),b=f?(n[o]||[])[s]:n[v];if(b&&b.f&&(g["table:formula"]=Ce(hs(b.f)),b.F&&b.F.slice(0,v.length)==v)){var y=Kt(b.F);g["table:number-matrix-columns-spanned"]=y.e.c-y.s.c+1,g["table:number-matrix-rows-spanned"]=y.e.r-y.s.r+1}if(b){switch(b.t){case"b":m=b.v?"TRUE":"FALSE",g["office:value-type"]="boolean",g["office:boolean-value"]=b.v?"true":"false";break;case"n":m=b.w||String(b.v||0),g["office:value-type"]="float",g["office:value"]=b.v||0;break;case"s":case"str":m=null==b.v?"":b.v,g["office:value-type"]="string";break;case"d":m=b.w||K(b.v).toISOString(),g["office:value-type"]="date",g["office:date-value"]=K(b.v).toISOString(),g["table:style-name"]="ce1";break;default:a.push(t);continue}var w=e(m);if(b.l&&b.l.Target){var S=b.l.Target;"#"==(S="#"==S.charAt(0)?"#"+ps(S.slice(1)):S).charAt(0)||S.match(/^\w+:/)||(S="../"+S),w=Xe("text:a",w,{"xlink:href":S.replace(/&/g,"&amp;")})}a.push(" "+Xe("table:table-cell",Xe("text:p",w,{}),g)+"\n")}else a.push(t)}}a.push(" </table:table-row>\n")}return a.push(" </table:table>\n"),a.join("")};return function(e,t){var r=[pe],i=Ge({"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"}),a=Ge({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==t.bookType?(r.push("<office:document"+i+a+">\n"),r.push(ir().replace(/office:document-meta/g,"office:meta"))):r.push("<office:document-content"+i+">\n"),function(e,t){e.push(" <office:automatic-styles>\n"),e.push(' <number:date-style style:name="N37" number:automatic-order="true">\n'),e.push(' <number:month number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(' <number:day number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(" <number:year/>\n"),e.push(" </number:date-style>\n");var n=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!cols"])for(var r=0;r<t["!cols"].length;++r)if(t["!cols"][r]){var i=t["!cols"][r];if(null==i.width&&null==i.wpx&&null==i.wch)continue;xa(i),i.ods=n;var a=t["!cols"][r].wpx+"px";e.push(' <style:style style:name="co'+n+'" style:family="table-column">\n'),e.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+a+'"/>\n'),e.push(" </style:style>\n"),++n}}));var r=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!rows"])for(var n=0;n<t["!rows"].length;++n)if(t["!rows"][n]){t["!rows"][n].ods=r;var i=t["!rows"][n].hpx+"px";e.push(' <style:style style:name="ro'+r+'" style:family="table-row">\n'),e.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+i+'"/>\n'),e.push(" </style:style>\n"),++r}})),e.push(' <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">\n'),e.push(' <style:table-properties table:display="true" style:writing-mode="lr-tb"/>\n'),e.push(" </style:style>\n"),e.push(' <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>\n'),e.push(" </office:automatic-styles>\n")}(r,e),r.push(" <office:body>\n"),r.push(" <office:spreadsheet>\n");for(var o=0;o!=e.SheetNames.length;++o)r.push(n(e.Sheets[e.SheetNames[o]],e,o));return r.push(" </office:spreadsheet>\n"),r.push(" </office:body>\n"),"fods"==t.bookType?r.push("</office:document>"):r.push("</office:document-content>"),r.join("")}}();function Oc(e,t){if("fods"==t.bookType)return Bc(e,t);var n=fe(),r="",i=[],a=[];return ue(n,r="mimetype","application/vnd.oasis.opendocument.spreadsheet"),ue(n,r="content.xml",Bc(e,t)),i.push([r,"text/xml"]),a.push([r,"ContentFile"]),ue(n,r="styles.xml",Ic(e,t)),i.push([r,"text/xml"]),a.push([r,"StylesFile"]),ue(n,r="meta.xml",pe+ir()),i.push([r,"text/xml"]),a.push([r,"MetadataFile"]),ue(n,r="manifest.rdf",function(e){var t=[pe];t.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var n=0;n!=e.length;++n)t.push(nr(e[n][0],e[n][1])),t.push(rr("",e[n][0]));return t.push(nr("","Document","pkg")),t.push("</rdf:RDF>"),t.join("")}(a)),i.push([r,"application/rdf+xml"]),ue(n,r="META-INF/manifest.xml",function(e){var t=[pe];t.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n'),t.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');for(var n=0;n<e.length;++n)t.push(' <manifest:file-entry manifest:full-path="'+e[n][0]+'" manifest:media-type="'+e[n][1]+'"/>\n');return t.push("</manifest:manifest>"),t.join("")}(i)),n}function Pc(e){return function(t,n){var r=function(e,t){if(!t)return 0;var n=e.SheetNames.indexOf(t);if(-1==n)throw new Error("Sheet not found: "+t);return n}(t,n.sheet);return e.from_sheet(t.Sheets[t.SheetNames[r]],n,t)}}var Lc=Pc(_c),Fc=Pc({from_sheet:gu}),Dc=Pc(void 0!==Li?Li:{}),Mc=Pc(void 0!==Fi?Fi:{}),jc=Pc(void 0!==Mi?Mi:{}),Wc=Pc(void 0!==da?da:{}),Uc=Pc({from_sheet:mu}),zc=Pc(void 0!==Pi?Pi:{}),Hc=Pc(void 0!==Di?Di:{}),Vc=Pc(void 0!==ji?{from_sheet:ji.sheet_to_wk1}:{});function qc(e){return function(t){for(var n=0;n!=e.length;++n){var r=e[n];void 0===t[r[0]]&&(t[r[0]]=r[1]),"n"===r[2]&&(t[r[0]]=Number(t[r[0]]))}}}var Gc=function(e){qc([["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]])(e)},Xc=qc([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]]);function $c(e){return Yn.WS.indexOf(e)>-1?"sheet":Yn.CS&&e==Yn.CS?"chart":Yn.DS&&e==Yn.DS?"dialog":Yn.MS&&e==Yn.MS?"macro":e&&e.length?e:"sheet"}function Yc(e,t,n,r,i,a,o,s,l,c,u,f){try{a[r]=Jn(ce(e,n,!0),t);var h,d=le(e,t);switch(s){case"sheet":h=_l(d,t,i,l,a[r],c,u,f);break;case"chart":if(!(h=Al(d,t,i,l,a[r],c))||!h["!drawel"])break;var p=de(h["!drawel"].Target,t),g=Kn(p),m=function(e,t){if(!e)return"??";var n=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][n].Target}(ce(e,p,!0),Jn(ce(e,g,!0),p)),v=de(m,p),b=Kn(v);h=il(ce(e,v,!0),0,0,Jn(ce(e,b,!0),v),0,h);break;case"macro":h=function(e,t,n,r,i,a,o,s){return t.slice(-4),{"!type":"macro"}}(0,t,0,0,a[r]);break;case"dialog":h=function(e,t,n,r,i,a,o,s){return t.slice(-4),{"!type":"dialog"}}(0,t,0,0,a[r]);break;default:throw new Error("Unrecognized sheet type "+s)}o[r]=h;var y=[];a&&a[r]&&F(a[r]).forEach((function(n){if(a[r][n].Type==Yn.CMNT){var i=de(a[r][n].Target,t);if(!(y=Tl(le(e,i,!0),i,l))||!y.length)return;!function(e,t){var n,r=Array.isArray(e);t.forEach((function(t){var i=$t(t.ref);if(r?(e[i.r]||(e[i.r]=[]),n=e[i.r][i.c]):n=e[t.ref],!n){n={t:"z"},r?e[i.r][i.c]=n:e[t.ref]=n;var a=Zt(e["!ref"]||"BDWGO1000001:A1");a.s.r>i.r&&(a.s.r=i.r),a.e.r<i.r&&(a.e.r=i.r),a.s.c>i.c&&(a.s.c=i.c),a.e.c<i.c&&(a.e.c=i.c);var o=Jt(a);o!==e["!ref"]&&(e["!ref"]=o)}n.c||(n.c=[]);var s={a:t.author,t:t.t,r:t.r};t.h&&(s.h=t.h),n.c.push(s)}))}(h,y)}}))}catch(e){if(l.WTF)throw e}}function Kc(e){return"/"==e.charAt(0)?e.slice(1):e}function Jc(e,t){if(k(C),Gc(t=t||{}),oe(e,"META-INF/manifest.xml"))return Rc(e,t);if(oe(e,"objectdata.xml"))return Rc(e,t);if(oe(e,"Index/Document.iwa"))throw new Error("Unsupported NUMBERS file");var n,r,i=function(e){for(var t=e.FullPaths||F(e.files),n=[],r=0;r<t.length;++r)"/"!=t[r].slice(-1)&&n.push(t[r]);return n.sort()}(e),a=function(e){var t={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:""};if(!e||!e.match)return t;var n={};if((e.match(me)||[]).forEach((function(e){var r=ye(e);switch(r[0].replace(ve,"<")){case"<?xml":break;case"<Types":t.xmlns=r["xmlns"+(r[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":n[r.Extension]=r.ContentType;break;case"<Override":void 0!==t[Vn[r.ContentType]]&&t[Vn[r.ContentType]].push(r.PartName)}})),t.xmlns!==Ye.CT)throw new Error("Unknown Namespace: "+t.xmlns);return t.calcchain=t.calcchains.length>0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=n,delete t.calcchains,t}(ce(e,"[Content_Types].xml")),o=!1;if(0===a.workbooks.length&&le(e,r="xl/workbook.xml",!0)&&a.workbooks.push(r),0===a.workbooks.length){if(!le(e,r="xl/workbook.bin",!0))throw new Error("Could not find workbook");a.workbooks.push(r),o=!0}"bin"==a.workbooks[0].slice(-3)&&(o=!0);var s={},l={};if(!t.bookSheets&&!t.bookProps){if(gs=[],a.sst)try{gs=kl(le(e,Kc(a.sst)),a.sst,t)}catch(e){if(t.WTF)throw e}t.cellStyles&&a.themes.length&&(s=function(e,t,n){return Za(e,n)}(ce(e,a.themes[0].replace(/^\//,""),!0)||"",a.themes[0],t)),a.style&&(l=Cl(le(e,Kc(a.style)),a.style,s,t))}a.links.map((function(n){try{Jn(ce(e,Kn(Kc(n))),n);return Nl(le(e,Kc(n)),0,n,t)}catch(e){}}));var c=El(le(e,Kc(a.workbooks[0])),a.workbooks[0],t),u={},f="";a.coreprops.length&&((f=le(e,Kc(a.coreprops[0]),!0))&&(u=sr(f)),0!==a.extprops.length&&(f=le(e,Kc(a.extprops[0]),!0))&&function(e,t,n){var r={};t||(t={}),e=Oe(e),ur.forEach((function(n){var i=(e.match(Me(n[0]))||[])[1];switch(n[2]){case"string":i&&(t[n[1]]=Ee(i));break;case"bool":t[n[1]]="true"===i;break;case"raw":var a=e.match(new RegExp("<"+n[0]+"[^>]*>([\\s\\S]*?)</"+n[0]+">"));a&&a.length>0&&(r[n[1]]=a[1])}})),r.HeadingPairs&&r.TitlesOfParts&&fr(r.HeadingPairs,r.TitlesOfParts,t,n)}(f,u,t));var h={};t.bookSheets&&!t.bookProps||0!==a.custprops.length&&(f=ce(e,Kc(a.custprops[0]),!0))&&(h=function(e,t){var n={},r="",i=e.match(dr);if(i)for(var a=0;a!=i.length;++a){var o=i[a],s=ye(o);switch(s[0]){case"<?xml":case"<Properties":break;case"<property":r=Ee(s.name);break;case"</property>":r=null;break;default:if(0===o.indexOf("<vt:")){var l=o.split(">"),c=l[0].slice(4),u=l[1];switch(c){case"lpstr":case"bstr":case"lpwstr":case"cy":case"error":n[r]=Ee(u);break;case"bool":n[r]=Be(u);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":n[r]=parseInt(u,10);break;case"r4":case"r8":case"decimal":n[r]=parseFloat(u);break;case"filetime":case"date":n[r]=K(u);break;default:if("/"==c.slice(-1))break;t.WTF&&"undefined"!=typeof console&&console.warn("Unexpected",o,c,l)}}else if("</"===o.slice(0,2));else if(t.WTF)throw new Error(o)}}return n}(f,t));var d={};if((t.bookSheets||t.bookProps)&&(c.Sheets?n=c.Sheets.map((function(e){return e.name})):u.Worksheets&&u.SheetNames.length>0&&(n=u.SheetNames),t.bookProps&&(d.Props=u,d.Custprops=h),t.bookSheets&&void 0!==n&&(d.SheetNames=n),t.bookSheets?d.SheetNames:t.bookProps))return d;n={};var p={};t.bookDeps&&a.calcchain&&(p=Rl(le(e,Kc(a.calcchain)),a.calcchain));var g,m,v=0,b={},y=c.Sheets;u.Worksheets=y.length,u.SheetNames=[];for(var w=0;w!=y.length;++w)u.SheetNames[w]=y[w].name;var S=o?"bin":"xml",x=a.workbooks[0].lastIndexOf("/"),E=(a.workbooks[0].slice(0,x+1)+"_rels/"+a.workbooks[0].slice(x+1)+".rels").replace(/^\//,"");oe(e,E)||(E="xl/_rels/workbook."+S+".rels");var _=Jn(ce(e,E,!0),E);_&&(_=function(e,t){if(!e)return 0;try{e=t.map((function(t){return t.id||(t.id=t.strRelID),[t.name,e["!id"][t.id].Target,$c(e["!id"][t.id].Type)]}))}catch(e){return null}return e&&0!==e.length?e:null}(_,c.Sheets));var A=le(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(v=0;v!=u.Worksheets;++v){var T="sheet";if(_&&_[v]?(g="xl/"+_[v][1].replace(/[\/]?xl\//,""),oe(e,g)||(g=_[v][1]),oe(e,g)||(g=E.replace(/_rels\/.*$/,"")+_[v][1]),T=_[v][2]):g=(g="xl/worksheets/sheet"+(v+1-A)+"."+S).replace(/sheet0\./,"sheet."),m=g.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(v!=t.sheets)continue e;break;case"string":if(u.SheetNames[v].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var R=!1,N=0;N!=t.sheets.length;++N)"number"==typeof t.sheets[N]&&t.sheets[N]==v&&(R=1),"string"==typeof t.sheets[N]&&t.sheets[N].toLowerCase()==u.SheetNames[v].toLowerCase()&&(R=1);if(!R)continue e}}Yc(e,g,m,u.SheetNames[v],v,b,n,T,t,c,s,l)}return d={Directory:a,Workbook:c,Props:u,Custprops:h,Deps:p,Sheets:n,SheetNames:u.SheetNames,Strings:gs,Styles:l,Themes:s,SSF:C.get_table()},t&&t.bookFiles&&(e.files?(d.keys=i,d.files=e.files):(d.keys=[],d.files={},e.FullPaths.forEach((function(t,n){t=t.replace(/^Root Entry[\/]/,""),d.keys.push(t),d.files[t]=e.FileIndex[n]})))),t&&t.bookVBA&&(a.vba.length>0?d.vbaraw=le(e,Kc(a.vba[0]),!0):a.defaults&&"application/vnd.ms-office.vbaProject"===a.defaults.bin&&(d.vbaraw=le(e,"xl/vbaProject.bin",!0))),d}function Zc(e,t){var n=t||{},r="Workbook",i=O.find(e,r);try{if(r="/!DataSpaces/Version",!(i=O.find(e,r))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);if(function(e){var t={};t.id=e._R(0,"lpp4"),t.R=ta(e,4),t.U=ta(e,4),t.W=ta(e,4)}(i.content),r="/!DataSpaces/DataSpaceMap",!(i=O.find(e,r))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);var a=function(e){var t=[];e.l+=4;for(var n=e._R(4);n-- >0;)t.push(na(e));return t}(i.content);if(1!==a.length||1!==a[0].comps.length||0!==a[0].comps[0].t||"StrongEncryptionDataSpace"!==a[0].name||"EncryptedPackage"!==a[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+r);if(r="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",!(i=O.find(e,r))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);var o=function(e){var t=[];e.l+=4;for(var n=e._R(4);n-- >0;)t.push(e._R(0,"lpp4"));return t}(i.content);if(1!=o.length||"StrongEncryptionTransform"!=o[0])throw new Error("ECMA-376 Encrypted file bad "+r);if(r="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",!(i=O.find(e,r))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);ra(i.content)}catch(e){}if(r="/EncryptionInfo",!(i=O.find(e,r))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);var s=function(e){var t=ta(e);switch(t.Minor){case 2:return[t.Minor,oa(e)];case 3:return[t.Minor,sa()];case 4:return[t.Minor,la(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}(i.content);if(r="/EncryptedPackage",!(i=O.find(e,r))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);if(4==s[0]&&"undefined"!=typeof decrypt_agile)return decrypt_agile(s[1],i.content,n.password||"",n);if(2==s[0]&&"undefined"!=typeof decrypt_std76)return decrypt_std76(s[1],i.content,n.password||"",n);throw new Error("File is password-protected")}function Qc(e,t){if(ro=1024,"ods"==t.bookType)return Oc(e,t);e&&!e.SSF&&(e.SSF=C.get_table()),e&&e.SSF&&(k(C),C.load_table(e.SSF),t.revssf=j(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,vs?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var n="xlsb"==t.bookType?"bin":"xml",r=co.indexOf(t.bookType)>-1,i={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:""};Xc(t=t||{});var a=fe(),o="",s=0;if(t.cellXfs=[],Ss(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),ue(a,o="docProps/core.xml",function(e,t){var n=t||{},r=[pe,lr],i={};if(!e&&!n.Props)return r.join("");e&&(null!=e.CreatedDate&&cr("dcterms:created","string"==typeof e.CreatedDate?e.CreatedDate:$e(e.CreatedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,i),null!=e.ModifiedDate&&cr("dcterms:modified","string"==typeof e.ModifiedDate?e.ModifiedDate:$e(e.ModifiedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,i));for(var a=0;a!=ar.length;++a){var o=ar[a],s=n.Props&&null!=n.Props[o[1]]?n.Props[o[1]]:e?e[o[1]]:null;!0===s?s="1":!1===s?s="0":"number"==typeof s&&(s=String(s)),null!=s&&cr(o[0],s,null,r,i)}return r.length>2&&(r[r.length]="</cp:coreProperties>",r[1]=r[1].replace("/>",">")),r.join("")}(e.Props,t)),i.coreprops.push(o),tr(t.rels,2,o,Yn.CORE_PROPS),o="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var l=[],c=0;c<e.SheetNames.length;++c)2!=(e.Workbook.Sheets[c]||{}).Hidden&&l.push(e.SheetNames[c]);e.Props.SheetNames=l}else e.Props.SheetNames=e.SheetNames;for(e.Props.Worksheets=e.Props.SheetNames.length,ue(a,o,function(e){var t=[],n=Xe;return e||(e={}),e.Application="SheetJS",t[t.length]=pe,t[t.length]=hr,ur.forEach((function(r){if(void 0!==e[r[1]]){var i;switch(r[2]){case"string":i=Ce(String(e[r[1]]));break;case"bool":i=e[r[1]]?"true":"false"}void 0!==i&&(t[t.length]=n(r[0],i))}})),t[t.length]=n("HeadingPairs",n("vt:vector",n("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+n("vt:variant",n("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=n("TitlesOfParts",n("vt:vector",e.SheetNames.map((function(e){return"<vt:lpstr>"+Ce(e)+"</vt:lpstr>"})).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}(e.Props)),i.extprops.push(o),tr(t.rels,3,o,Yn.EXT_PROPS),e.Custprops!==e.Props&&F(e.Custprops||{}).length>0&&(ue(a,o="docProps/custom.xml",gr(e.Custprops)),i.custprops.push(o),tr(t.rels,4,o,Yn.CUST_PROPS)),s=1;s<=e.SheetNames.length;++s){var u={"!id":{}},f=e.Sheets[e.SheetNames[s-1]];(f||{})["!type"];if(ue(a,o="xl/worksheets/sheet"+s+"."+n,Bl(s-1,o,t,e,u)),i.sheets.push(o),tr(t.wbrels,-1,"worksheets/sheet"+s+"."+n,Yn.WS[0]),f){var h=f["!comments"],d=!1;if(h&&h.length>0){var p="xl/comments"+s+"."+n;ue(a,p,Pl(h,p,t)),i.comments.push(p),tr(u,-1,"../comments"+s+"."+n,Yn.CMNT),d=!0}f["!legacy"]&&d&&ue(a,"xl/drawings/vmlDrawing"+s+".vml",io(s,f["!comments"])),delete f["!comments"],delete f["!legacy"]}u["!id"].rId1&&ue(a,Kn(o),Qn(u))}return null!=t.Strings&&t.Strings.length>0&&(ue(a,o="xl/sharedStrings."+n,Ol(t.Strings,o,t)),i.strs.push(o),tr(t.wbrels,-1,"sharedStrings."+n,Yn.SST)),ue(a,o="xl/workbook."+n,Il(e,o,t)),i.workbooks.push(o),tr(t.rels,1,o,Yn.WB),ue(a,o="xl/theme/theme1.xml",Qa(e.Themes,t)),i.themes.push(o),tr(t.wbrels,-1,"theme/theme1.xml",Yn.THEME),ue(a,o="xl/styles."+n,function(e,t,n){return(".bin"===t.slice(-4)?Ha:Ia)(e,n)}(e,o,t)),i.styles.push(o),tr(t.wbrels,-1,"styles."+n,Yn.STY),e.vbaraw&&r&&(ue(a,o="xl/vbaProject.bin",e.vbaraw),i.vba.push(o),tr(t.wbrels,-1,"vbaProject.bin",Yn.VBA)),ue(a,"[Content_Types].xml",function(e,t){var n,r=[];r[r.length]=pe,r[r.length]=Xn,r=r.concat($n);var i=function(i){e[i]&&e[i].length>0&&(n=e[i][0],r[r.length]=Xe("Override",null,{PartName:("/"==n[0]?"":"/")+n,ContentType:qn[i][t.bookType||"xlsx"]}))},a=function(n){(e[n]||[]).forEach((function(e){r[r.length]=Xe("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:qn[n][t.bookType||"xlsx"]})}))},o=function(t){(e[t]||[]).forEach((function(e){r[r.length]=Xe("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:Gn[t][0]})}))};return i("workbooks"),a("sheets"),a("charts"),o("themes"),["strs","styles"].forEach(i),["coreprops","extprops","custprops"].forEach(o),o("vba"),o("comments"),o("drawings"),r.length>2&&(r[r.length]="</Types>",r[1]=r[1].replace("/>",">")),r.join("")}(i,t)),ue(a,"_rels/.rels",Qn(t.rels)),ue(a,"xl/_rels/workbook."+n+".rels",Qn(t.wbrels)),delete t.revssf,delete t.ssf,a}function eu(e,t){var n="";switch((t||{}).type||"base64"){case"buffer":case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":n=d.decode(e.slice(0,12));break;case"binary":n=e;break;default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3),n.charCodeAt(4),n.charCodeAt(5),n.charCodeAt(6),n.charCodeAt(7)]}function tu(e,t){var n=0;e:for(;n<e.length;)switch(e.charCodeAt(n)){case 10:case 13:case 32:++n;break;case 60:return Xl(e.slice(n),t);default:break e}return Mi.to_workbook(e,t)}function nu(e,t,n,r){return r?(n.type="string",Mi.to_workbook(e,n)):Mi.to_workbook(t,n)}function ru(e,t){l();var n=t||{};if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer)return ru(new Uint8Array(e),((n=Z(n)).type="array",n));var r,i=e,a=!1;if(n.cellStyles&&(n.cellNF=!0,n.sheetStubs=!0),ms={},n.dateNF&&(ms.dateNF=n.dateNF),n.type||(n.type=p&&Buffer.isBuffer(e)?"buffer":"base64"),"file"==n.type&&(n.type=p?"buffer":"binary",i=function(e){if(void 0!==B)return B.readFileSync(e);if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var t=File(e);t.open("r"),t.encoding="binary";var n=t.read();return t.close(),n}catch(e){if(!e.message||!e.message.match(/onstruct/))throw e}throw new Error("Cannot access file "+e)}(e)),"string"==n.type&&(a=!0,n.type="binary",n.codepage=65001,i=function(e){return e.match(/[^\x00-\x7F]/)?Pe(e):e}(e)),"array"==n.type&&"undefined"!=typeof Uint8Array&&e instanceof Uint8Array&&"undefined"!=typeof ArrayBuffer){var o=new ArrayBuffer(3),s=new Uint8Array(o);if(s.foo="bar",!s.foo)return(n=Z(n)).type="array",ru(x(i),n)}switch((r=eu(i,n))[0]){case 208:if(207===r[1]&&17===r[2]&&224===r[3]&&161===r[4]&&177===r[5]&&26===r[6]&&225===r[7])return function(e,t){return O.find(e,"EncryptedPackage")?Zc(e,t):lc(e,t)}(O.read(i,n),n);break;case 9:if(r[1]<=8)return lc(i,n);break;case 60:return Xl(i,n);case 73:if(73===r[1]&&42===r[2]&&0===r[3])throw new Error("TIFF Image File is not a spreadsheet");if(68===r[1])return function(e,t){var n=t||{},r=!!n.WTF;n.WTF=!0;try{var i=Li.to_workbook(e,n);return n.WTF=r,i}catch(i){if(n.WTF=r,!i.message.match(/SYLK bad record ID/)&&r)throw i;return Mi.to_workbook(e,t)}}(i,n);break;case 84:if(65===r[1]&&66===r[2]&&76===r[3])return Fi.to_workbook(i,n);break;case 80:return 75===r[1]&&r[2]<9&&r[3]<9?function(e,t){var n=e,r=t||{};return r.type||(r.type=p&&Buffer.isBuffer(e)?"buffer":"base64"),Jc(he(n,r),r)}(i,n):nu(e,i,n,a);case 239:return 60===r[3]?Xl(i,n):nu(e,i,n,a);case 255:if(254===r[1])return function(e,t){var n=e;return"base64"==t.type&&(n=d.decode(n)),n=cptable.utils.decode(1200,n.slice(2),"str"),t.type="binary",tu(n,t)}(i,n);break;case 0:if(0===r[1]&&r[2]>=2&&0===r[3])return ji.to_workbook(i,n);break;case 3:case 131:case 139:case 140:return Pi.to_workbook(i,n);case 123:if(92===r[1]&&114===r[2]&&116===r[3])return da.to_workbook(i,n);break;case 10:case 13:case 32:return function(e,t){var n="",r=eu(e,t);switch(t.type){case"base64":n=d.decode(e);break;case"binary":n=e;break;case"buffer":n=e.toString("binary");break;case"array":n=J(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==r[0]&&187==r[1]&&191==r[2]&&(n=Oe(n)),tu(n,t)}(i,n);case 137:if(80===r[1]&&78===r[2]&&71===r[3])throw new Error("PNG Image File is not a spreadsheet")}return Pi.versions.indexOf(r[0])>-1&&r[2]<=12&&r[3]<=31?Pi.to_workbook(i,n):nu(e,i,n,a)}function iu(e,t){var n=t||{};return n.type="file",ru(e,n)}function au(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return L(t.file,O.write(e,{type:p?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return O.write(e,t)}function ou(e,t,n){n||(n="");var r=n+e;switch(t.type){case"base64":return d.encode(Pe(r));case"binary":return Pe(r);case"string":return e;case"file":return L(t.file,r,"utf8");case"buffer":return p?g(r,"utf8"):ou(r,{type:"binary"}).split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}function su(e,t){switch(t.type){case"string":case"base64":case"binary":for(var n="",r=0;r<e.length;++r)n+=String.fromCharCode(e[r]);return"base64"==t.type?d.encode(n):"string"==t.type?Oe(n):n;case"file":return L(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function lu(e,t){l(),pl(e);var n=Z(t||{});if(n.cellStyles&&(n.cellNF=!0,n.sheetStubs=!0),"array"==n.type){n.type="binary";var r=lu(e,n);return n.type="array",w(r)}switch(n.bookType||"xlsb"){case"xml":case"xlml":return ou(Ql(e,n),n);case"slk":case"sylk":return ou(Dc(e,n),n);case"htm":case"html":return ou(Lc(e,n),n);case"txt":return function(e,t){switch(t.type){case"base64":return d.encode(e);case"binary":case"string":return e;case"file":return L(t.file,e,"binary");case"buffer":return p?g(e,"binary"):e.split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}(Uc(e,n),n);case"csv":return ou(Fc(e,n),n,"\ufeff");case"dif":return ou(Mc(e,n),n);case"dbf":return su(zc(e,n),n);case"prn":return ou(jc(e,n),n);case"rtf":return ou(Wc(e,n),n);case"eth":return ou(Hc(e,n),n);case"fods":return ou(Oc(e,n),n);case"wk1":return su(Vc(e,n),n);case"wk3":return su(ji.book_to_wk3(e,n),n);case"biff2":n.biff||(n.biff=2);case"biff3":n.biff||(n.biff=3);case"biff4":return n.biff||(n.biff=4),su(Ec(e,n),n);case"biff5":n.biff||(n.biff=5);case"biff8":case"xla":case"xls":return n.biff||(n.biff=8),function(e,t){var n=t||{};return au(cc(e,n),n)}(e,n);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"ods":return function(e,t){var n=Z(t||{}),r=Qc(e,n),i={};if(n.compression&&(i.compression="DEFLATE"),n.password)i.type=p?"nodebuffer":"string";else switch(n.type){case"base64":i.type="base64";break;case"binary":i.type="string";break;case"string":throw new Error("'string' output type invalid for '"+n.bookType+"' files");case"buffer":case"file":i.type=p?"nodebuffer":"string";break;default:throw new Error("Unrecognized type "+n.type)}var a=r.FullPaths?O.write(r,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[i.type]||i.type}):r.generate(i);return n.password&&"undefined"!=typeof encrypt_agile?au(encrypt_agile(a,n.password),n):"file"===n.type?L(n.file,a):"string"==n.type?Oe(a):a}(e,n);default:throw new Error("Unrecognized bookType |"+n.bookType+"|")}}function cu(e){if(!e.bookType){var t=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();t.match(/^\.[a-z]+$/)&&(e.bookType=t.slice(1)),e.bookType={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"}[e.bookType]||e.bookType}}function uu(e,t,n){var r=n||{};return r.type="file",r.file=t,cu(r),lu(e,r)}function fu(e,t,n,r,i,a,o,s){var l=qt(n),c=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:n,enumerable:!1})}catch(e){h.__rowNum__=n}else h.__rowNum__=n;if(!o||e[n])for(var d=t.s.c;d<=t.e.c;++d){var p=o?e[n][d]:e[r[d]+l];if(void 0!==p&&void 0!==p.t){var g=p.v;switch(p.t){case"z":if(null==g)break;continue;case"e":g=0==g?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=a[d]){if(null==g)if("e"==p.t&&null===g)h[a[d]]=null;else if(void 0!==c)h[a[d]]=c;else{if(!u||null!==g)continue;h[a[d]]=null}else h[a[d]]=u||s.rawNumbers&&"n"==p.t?g:en(p,g,s);null!=g&&(f=!1)}}else{if(void 0===c)continue;null!=a[d]&&(h[a[d]]=c)}}return{row:h,isempty:f}}function hu(e,t){if(null==e||null==e["!ref"])return[];var n={t:"n",v:0},r=0,i=1,a=[],o=0,s="",l={s:{r:0,c:0},e:{r:0,c:0}},c=t||{},u=null!=c.range?c.range:e["!ref"];switch(1===c.header?r=1:"A"===c.header?r=2:Array.isArray(c.header)?r=3:null==c.header&&(r=0),typeof u){case"string":l=Zt(u);break;case"number":(l=Zt(e["!ref"])).s.r=u;break;default:l=u}r>0&&(i=0);var f=qt(l.s.r),h=[],d=[],p=0,g=0,m=Array.isArray(e),v=l.s.r,b=0,y=0;for(m&&!e[v]&&(e[v]=[]),b=l.s.c;b<=l.e.c;++b)switch(h[b]=Xt(b),n=m?e[v][b]:e[h[b]+f],r){case 1:a[b]=b-l.s.c;break;case 2:a[b]=h[b];break;case 3:a[b]=c.header[b-l.s.c];break;default:for(null==n&&(n={w:"__EMPTY",t:"s"}),s=o=en(n,null,c),g=0,y=0;y<a.length;++y)a[y]==s&&(s=o+"_"+ ++g);a[b]=s}for(v=l.s.r+i;v<=l.e.r;++v){var w=fu(e,l,v,h,r,a,m,c);(!1===w.isempty||(1===r?!1!==c.blankrows:c.blankrows))&&(d[p++]=w.row)}return d.length=p,d}var du=/"/g;function pu(e,t,n,r,i,a,o,s){for(var l=!0,c=[],u="",f=qt(n),h=t.s.c;h<=t.e.c;++h)if(r[h]){var d=s.dense?(e[n]||[])[h]:e[r[h]+f];if(null==d)u="";else if(null!=d.v){l=!1,u=""+(s.rawNumbers&&"n"==d.t?d.v:en(d,null,s));for(var p=0,g=0;p!==u.length;++p)if((g=u.charCodeAt(p))===i||g===a||34===g||s.forceQuotes){u='"'+u.replace(du,'""')+'"';break}"ID"==u&&(u='"ID"')}else null==d.f||d.F?u="":(l=!1,(u="="+d.f).indexOf(",")>=0&&(u='"'+u.replace(du,'""')+'"'));c.push(u)}return!1===s.blankrows&&l?null:c.join(o)}function gu(e,t){var n=[],r=null==t?{}:t;if(null==e||null==e["!ref"])return"";var i=Zt(e["!ref"]),a=void 0!==r.FS?r.FS:",",o=a.charCodeAt(0),s=void 0!==r.RS?r.RS:"\n",l=s.charCodeAt(0),c=new RegExp(("|"==a?"\\|":a)+"+$"),u="",f=[];r.dense=Array.isArray(e);for(var h=r.skipHidden&&e["!cols"]||[],d=r.skipHidden&&e["!rows"]||[],p=i.s.c;p<=i.e.c;++p)(h[p]||{}).hidden||(f[p]=Xt(p));for(var g=i.s.r;g<=i.e.r;++g)(d[g]||{}).hidden||null!=(u=pu(e,i,g,f,o,l,a,r))&&(r.strip&&(u=u.replace(c,"")),n.push(u+s));return delete r.dense,n.join("")}function mu(e,t){t||(t={}),t.FS="\t",t.RS="\n";var n=gu(e,t);if("undefined"==typeof cptable||"string"==t.type)return n;var r=cptable.utils.encode(1200,n,"str");return String.fromCharCode(255)+String.fromCharCode(254)+r}function vu(e){var t,n="",r="";if(null==e||null==e["!ref"])return[];var i,a=Zt(e["!ref"]),o="",s=[],l=[],c=Array.isArray(e);for(i=a.s.c;i<=a.e.c;++i)s[i]=Xt(i);for(var u=a.s.r;u<=a.e.r;++u)for(o=qt(u),i=a.s.c;i<=a.e.c;++i)if(n=s[i]+o,r="",void 0!==(t=c?(e[u]||[])[i]:e[n])){if(null!=t.F){if(n=t.F,!t.f)continue;r=t.f,-1==n.indexOf(":")&&(n=n+":"+n)}if(null!=t.f)r=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)r=""+t.v;else if("b"==t.t)r=t.v?"TRUE":"FALSE";else if(void 0!==t.w)r="'"+t.w;else{if(void 0===t.v)continue;r="s"==t.t?"'"+t.v:""+t.v}}l[l.length]=n+"="+r}return l}function bu(e,t,n){var r,i=n||{},a=+!i.skipHeader,o=e||{},s=0,l=0;if(o&&null!=i.origin)if("number"==typeof i.origin)s=i.origin;else{var c="string"==typeof i.origin?$t(i.origin):i.origin;s=c.r,l=c.c}var u={s:{c:0,r:0},e:{c:l,r:s+t.length-1+a}};if(o["!ref"]){var f=Zt(o["!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+t.length-1+a)}else-1==s&&(s=0,u.e.r=t.length-1+a);var h=i.header||[],d=0;t.forEach((function(e,t){F(e).forEach((function(n){-1==(d=h.indexOf(n))&&(h[d=h.length]=n);var c=e[n],u="z",f="",p=Yt({c:l+d,r:s+t+a});r=yu.sheet_get_cell(o,p),!c||"object"!=typeof c||c instanceof Date?("number"==typeof c?u="n":"boolean"==typeof c?u="b":"string"==typeof c?u="s":c instanceof Date?(u="d",i.cellDates||(u="n",c=U(c)),f=i.dateNF||C._table[14]):null===c&&i.nullError&&(u="e",c=0),r?(r.t=u,r.v=c,delete r.w,delete r.R,f&&(r.z=f)):o[p]=r={t:u,v:c},f&&(r.z=f)):o[p]=c}))})),u.e.c=Math.max(u.e.c,l+h.length-1);var p=qt(s);if(a)for(d=0;d<h.length;++d)o[Xt(d+l)+p]={t:"s",v:h[d]};return o["!ref"]=Jt(u),o}var yu={encode_col:Xt,encode_row:qt,encode_cell:Yt,encode_range:Jt,decode_col:Gt,decode_row:Vt,split_cell:function(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")},decode_cell:$t,decode_range:Kt,format_cell:en,get_formulae:vu,make_csv:gu,make_json:hu,make_formulae:vu,sheet_add_aoa:nn,sheet_add_json:bu,sheet_add_dom:Ac,aoa_to_sheet:rn,json_to_sheet:function(e,t){return bu(null,e,t)},table_to_sheet:Cc,table_to_book:function(e,t){return tn(Cc(e,t),t)},sheet_to_csv:gu,sheet_to_txt:mu,sheet_to_json:hu,sheet_to_html:_c.from_sheet,sheet_to_formulae:vu,sheet_to_row_object_array:hu};!function(e){function t(e,t,n){return null!=e[t]?e[t]:e[t]=n}function n(e,t,r){if("string"==typeof t){if(Array.isArray(e)){var i=$t(t);return e[i.r]||(e[i.r]=[]),e[i.r][i.c]||(e[i.r][i.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return n(e,Yt("number"!=typeof t?t:{r:t,c:r||0}))}e.consts=e.consts||{},e.sheet_get_cell=n,e.book_new=function(){return{SheetNames:[],Sheets:{}}},e.book_append_sheet=function(e,t,n){if(!n)for(var r=1;r<=65535&&-1!=e.SheetNames.indexOf(n="Sheet"+r);++r,n=void 0);if(!n||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(dl(n),e.SheetNames.indexOf(n)>=0)throw new Error("Worksheet with name |"+n+"| already exists!");e.SheetNames.push(n),e.Sheets[n]=t},e.book_set_sheet_visibility=function(e,n,r){t(e,"Workbook",{}),t(e.Workbook,"Sheets",[]);var i=function(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var n=e.SheetNames.indexOf(t);if(n>-1)return n;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}(e,n);switch(t(e.Workbook.Sheets,i,{}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[i].Hidden=r},function(t){t.forEach((function(t){e.consts[t[0]]=t[1]}))}([["SHEET_VISIBLE",0],["SHEET_HIDDEN",1],["SHEET_VERY_HIDDEN",2]]),e.cell_set_number_format=function(e,t){return e.z=t,e},e.cell_set_hyperlink=function(e,t,n){return t?(e.l={Target:t},n&&(e.l.Tooltip=n)):delete e.l,e},e.cell_set_internal_link=function(t,n,r){return e.cell_set_hyperlink(t,"#"+n,r)},e.cell_add_comment=function(e,t,n){e.c||(e.c=[]),e.c.push({t:t,a:n||"SheetJS"})},e.sheet_set_array_formula=function(e,t,r){for(var i="string"!=typeof t?t:Zt(t),a="string"==typeof t?t:Jt(t),o=i.s.r;o<=i.e.r;++o)for(var s=i.s.c;s<=i.e.c;++s){var l=n(e,o,s);l.t="n",l.F=a,delete l.v,o==i.s.r&&s==i.s.c&&(l.f=r)}return e}}(yu),p&&"undefined"!=typeof require&&function(){var t={}.Readable;e.stream={to_json:function(e,n){var r=t({objectMode:!0});if(null==e||null==e["!ref"])return r.push(null),r;var i={t:"n",v:0},a=0,o=1,s=[],l=0,c="",u={s:{r:0,c:0},e:{r:0,c:0}},f=n||{},h=null!=f.range?f.range:e["!ref"];switch(1===f.header?a=1:"A"===f.header?a=2:Array.isArray(f.header)&&(a=3),typeof h){case"string":u=Zt(h);break;case"number":(u=Zt(e["!ref"])).s.r=h;break;default:u=h}a>0&&(o=0);var d=qt(u.s.r),p=[],g=0,m=Array.isArray(e),v=u.s.r,b=0,y=0;for(m&&!e[v]&&(e[v]=[]),b=u.s.c;b<=u.e.c;++b)switch(p[b]=Xt(b),i=m?e[v][b]:e[p[b]+d],a){case 1:s[b]=b-u.s.c;break;case 2:s[b]=p[b];break;case 3:s[b]=f.header[b-u.s.c];break;default:for(null==i&&(i={w:"__EMPTY",t:"s"}),c=l=en(i,null,f),g=0,y=0;y<s.length;++y)s[y]==c&&(c=l+"_"+ ++g);s[b]=c}return v=u.s.r+o,r._read=function(){if(v>u.e.r)return r.push(null);for(;v<=u.e.r;){var t=fu(e,u,v,p,a,s,m,f);if(++v,!1===t.isempty||(1===a?!1!==f.blankrows:f.blankrows)){r.push(t.row);break}}},r},to_html:function(e,n){var r=t(),i=n||{},a=null!=i.header?i.header:_c.BEGIN,o=null!=i.footer?i.footer:_c.END;r.push(a);var s=Kt(e["!ref"]);i.dense=Array.isArray(e),r.push(_c._preamble(e,s,i));var l=s.s.r,c=!1;return r._read=function(){if(l>s.e.r)return c||(c=!0,r.push("</table>"+o)),r.push(null);for(;l<=s.e.r;){r.push(_c._row(e,s,l,i)),++l;break}},r},to_csv:function(e,n){var r=t(),i=null==n?{}:n;if(null==e||null==e["!ref"])return r.push(null),r;var a=Zt(e["!ref"]),o=void 0!==i.FS?i.FS:",",s=o.charCodeAt(0),l=void 0!==i.RS?i.RS:"\n",c=l.charCodeAt(0),u=new RegExp(("|"==o?"\\|":o)+"+$"),f="",h=[];i.dense=Array.isArray(e);for(var d=i.skipHidden&&e["!cols"]||[],p=i.skipHidden&&e["!rows"]||[],g=a.s.c;g<=a.e.c;++g)(d[g]||{}).hidden||(h[g]=Xt(g));var m=a.s.r,v=!1;return r._read=function(){if(!v)return v=!0,r.push("\ufeff");for(;m<=a.e.r;)if(++m,!(p[m-1]||{}).hidden&&null!=(f=pu(e,a,m-1,h,s,c,o,i))){i.strip&&(f=f.replace(u,"")),r.push(f+l);break}return m>a.e.r?r.push(null):void 0},r}}}(),void 0!==lc&&(e.parse_xlscfb=lc),e.parse_zip=Jc,e.read=ru,e.readFile=iu,e.readFileSync=iu,e.write=lu,e.writeFile=uu,e.writeFileSync=uu,e.writeFileAsync=function(e,t,n,r){var i=n||{};i.type="file",i.file=e,cu(i),i.type="buffer";var a=r;return a instanceof Function||(a=n),B.writeFile(e,lu(t,i),a)},e.utils=yu,e.SSF=C,void 0!==O&&(e.CFB=O)}"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||(window.XLSX=XLSX);var XLS=XLSX,ODS=XLSX;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var i=a(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function c(e,t,n){return c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=a(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}},c(e,t,n||e)}var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function f(e,t){return e(t={exports:{}},t.exports),t.exports}var h=function(e){return e&&e.Math==Math&&e},d=h("object"==typeof globalThis&&globalThis)||h("object"==typeof window&&window)||h("object"==typeof self&&self)||h("object"==typeof u&&u)||function(){return this}()||Function("return this")(),p=function(e){try{return!!e()}catch(e){return!0}},g=!p((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),m={}.propertyIsEnumerable,v=Object.getOwnPropertyDescriptor,b={f:v&&!m.call({1:2},1)?function(e){var t=v(this,e);return!!t&&t.enumerable}:m},y=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w={}.toString,S=function(e){return w.call(e).slice(8,-1)},x="".split,E=p((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==S(e)?x.call(e,""):Object(e)}:Object,_=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},A=function(e){return E(_(e))},C=function(e){return"object"==typeof e?null!==e:"function"==typeof e},k=function(e,t){if(!C(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!C(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!C(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!C(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},T={}.hasOwnProperty,R=function(e,t){return T.call(e,t)},N=d.document,I=C(N)&&C(N.createElement),B=function(e){return I?N.createElement(e):{}},O=!g&&!p((function(){return 7!=Object.defineProperty(B("div"),"a",{get:function(){return 7}}).a})),P=Object.getOwnPropertyDescriptor,L={f:g?P:function(e,t){if(e=A(e),t=k(t,!0),O)try{return P(e,t)}catch(e){}if(R(e,t))return y(!b.f.call(e,t),e[t])}},F=function(e){if(!C(e))throw TypeError(String(e)+" is not an object");return e},D=Object.defineProperty,M={f:g?D:function(e,t,n){if(F(e),t=k(t,!0),F(n),O)try{return D(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},j=g?function(e,t,n){return M.f(e,t,y(1,n))}:function(e,t,n){return e[t]=n,e},W=function(e,t){try{j(d,e,t)}catch(n){d[e]=t}return t},U="__core-js_shared__",z=d[U]||W(U,{}),H=Function.toString;"function"!=typeof z.inspectSource&&(z.inspectSource=function(e){return H.call(e)});var V,q,G,X=z.inspectSource,$=d.WeakMap,Y="function"==typeof $&&/native code/.test(X($)),K=f((function(e){(e.exports=function(e,t){return z[e]||(z[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.10.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),J=0,Z=Math.random(),Q=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++J+Z).toString(36)},ee=K("keys"),te=function(e){return ee[e]||(ee[e]=Q(e))},ne={},re=d.WeakMap;if(Y){var ie=z.state||(z.state=new re),ae=ie.get,oe=ie.has,se=ie.set;V=function(e,t){return t.facade=e,se.call(ie,e,t),t},q=function(e){return ae.call(ie,e)||{}},G=function(e){return oe.call(ie,e)}}else{var le=te("state");ne[le]=!0,V=function(e,t){return t.facade=e,j(e,le,t),t},q=function(e){return R(e,le)?e[le]:{}},G=function(e){return R(e,le)}}var ce,ue,fe={set:V,get:q,has:G,enforce:function(e){return G(e)?q(e):V(e,{})},getterFor:function(e){return function(t){var n;if(!C(t)||(n=q(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},he=f((function(e){var t=fe.get,n=fe.enforce,r=String(String).split("String");(e.exports=function(e,t,i,a){var o,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof t||R(i,"name")||j(i,"name",t),(o=n(i)).source||(o.source=r.join("string"==typeof t?t:""))),e!==d?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=i:j(e,t,i)):l?e[t]=i:W(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||X(this)}))})),de=d,pe=function(e){return"function"==typeof e?e:void 0},ge=function(e,t){return arguments.length<2?pe(de[e])||pe(d[e]):de[e]&&de[e][t]||d[e]&&d[e][t]},me=Math.ceil,ve=Math.floor,be=function(e){return isNaN(e=+e)?0:(e>0?ve:me)(e)},ye=Math.min,we=function(e){return e>0?ye(be(e),9007199254740991):0},Se=Math.max,xe=Math.min,Ee=function(e){return function(t,n,r){var i,a=A(t),o=we(a.length),s=function(e,t){var n=be(e);return n<0?Se(n+t,0):xe(n,t)}(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},_e={includes:Ee(!0),indexOf:Ee(!1)}.indexOf,Ae=function(e,t){var n,r=A(e),i=0,a=[];for(n in r)!R(ne,n)&&R(r,n)&&a.push(n);for(;t.length>i;)R(r,n=t[i++])&&(~_e(a,n)||a.push(n));return a},Ce=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ke=Ce.concat("length","prototype"),Te={f:Object.getOwnPropertyNames||function(e){return Ae(e,ke)}},Re={f:Object.getOwnPropertySymbols},Ne=ge("Reflect","ownKeys")||function(e){var t=Te.f(F(e)),n=Re.f;return n?t.concat(n(e)):t},Ie=function(e,t){for(var n=Ne(t),r=M.f,i=L.f,a=0;a<n.length;a++){var o=n[a];R(e,o)||r(e,o,i(t,o))}},Be=/#|\.prototype\./,Oe=function(e,t){var n=Le[Pe(e)];return n==De||n!=Fe&&("function"==typeof t?p(t):!!t)},Pe=Oe.normalize=function(e){return String(e).replace(Be,".").toLowerCase()},Le=Oe.data={},Fe=Oe.NATIVE="N",De=Oe.POLYFILL="P",Me=Oe,je=L.f,We=function(e,t){var n,r,i,a,o,s=e.target,l=e.global,c=e.stat;if(n=l?d:c?d[s]||W(s,{}):(d[s]||{}).prototype)for(r in t){if(a=t[r],i=e.noTargetGet?(o=je(n,r))&&o.value:n[r],!Me(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof a==typeof i)continue;Ie(a,i)}(e.sham||i&&i.sham)&&j(a,"sham",!0),he(n,r,a,e)}},Ue=Array.isArray||function(e){return"Array"==S(e)},ze=function(e){return Object(_(e))},He=function(e,t,n){var r=k(t);r in e?M.f(e,r,y(0,n)):e[r]=n},Ve="process"==S(d.process),qe=ge("navigator","userAgent")||"",Ge=d.process,Xe=Ge&&Ge.versions,$e=Xe&&Xe.v8;$e?ue=(ce=$e.split("."))[0]+ce[1]:qe&&(!(ce=qe.match(/Edge\/(\d+)/))||ce[1]>=74)&&(ce=qe.match(/Chrome\/(\d+)/))&&(ue=ce[1]);var Ye,Ke=ue&&+ue,Je=!!Object.getOwnPropertySymbols&&!p((function(){return!Symbol.sham&&(Ve?38===Ke:Ke>37&&Ke<41)})),Ze=Je&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Qe=K("wks"),et=d.Symbol,tt=Ze?et:et&&et.withoutSetter||Q,nt=function(e){return R(Qe,e)&&(Je||"string"==typeof Qe[e])||(Je&&R(et,e)?Qe[e]=et[e]:Qe[e]=tt("Symbol."+e)),Qe[e]},rt=nt("species"),it=function(e,t){var n;return Ue(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!Ue(n.prototype)?C(n)&&null===(n=n[rt])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},at=nt("species"),ot=nt("isConcatSpreadable"),st=9007199254740991,lt="Maximum allowed index exceeded",ct=Ke>=51||!p((function(){var e=[];return e[ot]=!1,e.concat()[0]!==e})),ut=(Ye="concat",Ke>=51||!p((function(){var e=[];return(e.constructor={})[at]=function(){return{foo:1}},1!==e[Ye](Boolean).foo}))),ft=function(e){if(!C(e))return!1;var t=e[ot];return void 0!==t?!!t:Ue(e)};We({target:"Array",proto:!0,forced:!ct||!ut},{concat:function(e){var t,n,r,i,a,o=ze(this),s=it(o,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(ft(a=-1===t?o:arguments[t])){if(l+(i=we(a.length))>st)throw TypeError(lt);for(n=0;n<i;n++,l++)n in a&&He(s,l,a[n])}else{if(l>=st)throw TypeError(lt);He(s,l++,a)}return s.length=l,s}});var ht,dt=function(e,t,n){if(function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function")}(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},pt=[].push,gt=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,a=6==e,o=7==e,s=5==e||a;return function(l,c,u,f){for(var h,d,p=ze(l),g=E(p),m=dt(c,u,3),v=we(g.length),b=0,y=f||it,w=t?y(l,v):n||o?y(l,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:pt.call(w,h)}else switch(e){case 4:return!1;case 7:pt.call(w,h)}return a?-1:r||i?i:w}},mt={forEach:gt(0),map:gt(1),filter:gt(2),some:gt(3),every:gt(4),find:gt(5),findIndex:gt(6),filterOut:gt(7)},vt=Object.keys||function(e){return Ae(e,Ce)},bt=g?Object.defineProperties:function(e,t){F(e);for(var n,r=vt(t),i=r.length,a=0;i>a;)M.f(e,n=r[a++],t[n]);return e},yt=ge("document","documentElement"),wt=te("IE_PROTO"),St=function(){},xt=function(e){return"<script>"+e+"</"+"script>"},Et=function(){try{ht=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Et=ht?function(e){e.write(xt("")),e.close();var t=e.parentWindow.Object;return e=null,t}(ht):((t=B("iframe")).style.display="none",yt.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(xt("document.F=Object")),e.close(),e.F);for(var n=Ce.length;n--;)delete Et.prototype[Ce[n]];return Et()};ne[wt]=!0;var _t=Object.create||function(e,t){var n;return null!==e?(St.prototype=F(e),n=new St,St.prototype=null,n[wt]=e):n=Et(),void 0===t?n:bt(n,t)},At=nt("unscopables"),Ct=Array.prototype;null==Ct[At]&&M.f(Ct,At,{configurable:!0,value:_t(null)});var kt,Tt=mt.find,Rt="find",Nt=!0;Rt in[]&&Array(1).find((function(){Nt=!1})),We({target:"Array",proto:!0,forced:Nt},{find:function(e){return Tt(this,e,arguments.length>1?arguments[1]:void 0)}}),kt=Rt,Ct[At][kt]=!0;var It=n.default.fn.bootstrapTable.utils;n.default.extend(n.default.fn.bootstrapTable.defaults,{stickyHeader:!1,stickyHeaderOffsetY:0,stickyHeaderOffsetLeft:0,stickyHeaderOffsetRight:0}),n.default.BootstrapTable=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(h,e);var t,s,u,f=l(h);function h(){return r(this,h),f.apply(this,arguments)}return t=h,s=[{key:"initHeader",value:function(){for(var e,t=this,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];if((e=c(a(h.prototype),"initHeader",this)).call.apply(e,[this].concat(i)),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 s=It.getEventName("resize.sticky-header-table",this.$el.attr("id")),l=It.getEventName("scroll.sticky-header-table",this.$el.attr("id"));n.default(window).off(s).on(s,(function(){return t.renderStickyHeader()})),n.default(window).off(l).on(l,(function(){return t.renderStickyHeader()})),this.$tableBody.off("scroll").on("scroll",(function(){return t.matchPositionX()}))}}},{key:"onColumnSearch",value:function(e){var t=e.currentTarget,n=e.keyCode;c(a(h.prototype),"onColumnSearch",this).call(this,{currentTarget:t,keyCode:n}),this.renderStickyHeader()}},{key:"resetView",value:function(){for(var e,t=this,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];(e=c(a(h.prototype),"resetView",this)).call.apply(e,[this].concat(i)),n.default(".bootstrap-table.fullscreen").off("scroll").on("scroll",(function(){return t.renderStickyHeader()}))}},{key:"getCaret",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];if((e=c(a(h.prototype),"getCaret",this)).call.apply(e,[this].concat(r)),this.$stickyHeader){var o=this.$stickyHeader.find("th");this.$header.find("th").each((function(e,t){o.eq(e).find(".sortable").attr("class",n.default(t).find(".sortable").attr("class"))}))}}},{key:"horizontalScroll",value:function(){var e=this;c(a(h.prototype),"horizontalScroll",this).call(this),this.$tableBody.on("scroll",(function(){return e.matchPositionX()}))}},{key:"renderStickyHeader",value:function(){var e=this,t=this;this.$stickyHeader=this.$header.clone(!0,!0),this.options.filterControl&&n.default(this.$stickyHeader).off("keyup change mouseup").on("keyup change mouse",(function(e){var r=n.default(e.target),i=r.val(),a=r.parents("th").data("field"),o=t.$header.find('th[data-field="'.concat(a,'"]'));if(r.is("input"))o.find("input").val(i);else if(r.is("select")){var s=o.find("select");s.find("option[selected]").removeAttr("selected"),s.find('option[value="'.concat(i,'"]')).attr("selected",!0)}t.triggerSearch()}));var r=n.default(window).scrollTop(),i=this.$stickyBegin.offset().top-this.options.stickyHeaderOffsetY,a=this.$stickyEnd.offset().top-this.options.stickyHeaderOffsetY-this.$header.height();if(r>i&&r<=a){this.$stickyHeader.find("tr").each((function(t,r){n.default(r).find("th").each((function(r,i){n.default(i).css("min-width",e.$header.find("tr:eq(".concat(t,")")).find("th:eq(".concat(r,")")).css("width"))}))})),this.$stickyContainer.show().addClass("fix-sticky fixed-table-container");var o=this.$tableBody[0].getBoundingClientRect(),s="100%",l=this.options.stickyHeaderOffsetLeft,c=this.options.stickyHeaderOffsetRight;l||(l=o.left),c||(s="".concat(o.width,"px")),this.$el.closest(".bootstrap-table").hasClass("fullscreen")&&(l=0,c=0,s="100%"),this.$stickyContainer.css("top","".concat(this.options.stickyHeaderOffsetY,"px")),this.$stickyContainer.css("left","".concat(l,"px")),this.$stickyContainer.css("right","".concat(c,"px")),this.$stickyContainer.css("width","".concat(s)),this.$stickyTable=n.default("<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())}}],s&&i(t.prototype,s),u&&i(t,u),h}(n.default.BootstrapTable)})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var i=a(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function c(e,t,n){return c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=a(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}},c(e,t,n||e)}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(e,t)||h(e,t)||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 f(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||h(e)||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 h(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function g(e,t){return e(t={exports:{}},t.exports),t.exports}var m=function(e){return e&&e.Math==Math&&e},v=m("object"==typeof globalThis&&globalThis)||m("object"==typeof window&&window)||m("object"==typeof self&&self)||m("object"==typeof p&&p)||function(){return this}()||Function("return this")(),b=function(e){try{return!!e()}catch(e){return!0}},y=!b((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),w={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,x={f:S&&!w.call({1:2},1)?function(e){var t=S(this,e);return!!t&&t.enumerable}:w},E=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},_={}.toString,A=function(e){return _.call(e).slice(8,-1)},C="".split,k=b((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==A(e)?C.call(e,""):Object(e)}:Object,T=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},R=function(e){return k(T(e))},N=function(e){return"object"==typeof e?null!==e:"function"==typeof e},I=function(e,t){if(!N(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!N(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!N(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!N(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},B={}.hasOwnProperty,O=function(e,t){return B.call(e,t)},P=v.document,L=N(P)&&N(P.createElement),F=function(e){return L?P.createElement(e):{}},D=!y&&!b((function(){return 7!=Object.defineProperty(F("div"),"a",{get:function(){return 7}}).a})),M=Object.getOwnPropertyDescriptor,j={f:y?M:function(e,t){if(e=R(e),t=I(t,!0),D)try{return M(e,t)}catch(e){}if(O(e,t))return E(!x.f.call(e,t),e[t])}},W=function(e){if(!N(e))throw TypeError(String(e)+" is not an object");return e},U=Object.defineProperty,z={f:y?U:function(e,t,n){if(W(e),t=I(t,!0),W(n),D)try{return U(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},H=y?function(e,t,n){return z.f(e,t,E(1,n))}:function(e,t,n){return e[t]=n,e},V=function(e,t){try{H(v,e,t)}catch(n){v[e]=t}return t},q="__core-js_shared__",G=v[q]||V(q,{}),X=Function.toString;"function"!=typeof G.inspectSource&&(G.inspectSource=function(e){return X.call(e)});var $,Y,K,J=G.inspectSource,Z=v.WeakMap,Q="function"==typeof Z&&/native code/.test(J(Z)),ee=g((function(e){(e.exports=function(e,t){return G[e]||(G[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.10.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),te=0,ne=Math.random(),re=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++te+ne).toString(36)},ie=ee("keys"),ae=function(e){return ie[e]||(ie[e]=re(e))},oe={},se=v.WeakMap;if(Q){var le=G.state||(G.state=new se),ce=le.get,ue=le.has,fe=le.set;$=function(e,t){return t.facade=e,fe.call(le,e,t),t},Y=function(e){return ce.call(le,e)||{}},K=function(e){return ue.call(le,e)}}else{var he=ae("state");oe[he]=!0,$=function(e,t){return t.facade=e,H(e,he,t),t},Y=function(e){return O(e,he)?e[he]:{}},K=function(e){return O(e,he)}}var de={set:$,get:Y,has:K,enforce:function(e){return K(e)?Y(e):$(e,{})},getterFor:function(e){return function(t){var n;if(!N(t)||(n=Y(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},pe=g((function(e){var t=de.get,n=de.enforce,r=String(String).split("String");(e.exports=function(e,t,i,a){var o,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof t||O(i,"name")||H(i,"name",t),(o=n(i)).source||(o.source=r.join("string"==typeof t?t:""))),e!==v?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=i:H(e,t,i)):l?e[t]=i:V(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||J(this)}))})),ge=v,me=function(e){return"function"==typeof e?e:void 0},ve=function(e,t){return arguments.length<2?me(ge[e])||me(v[e]):ge[e]&&ge[e][t]||v[e]&&v[e][t]},be=Math.ceil,ye=Math.floor,we=function(e){return isNaN(e=+e)?0:(e>0?ye:be)(e)},Se=Math.min,xe=function(e){return e>0?Se(we(e),9007199254740991):0},Ee=Math.max,_e=Math.min,Ae=function(e){return function(t,n,r){var i,a=R(t),o=xe(a.length),s=function(e,t){var n=we(e);return n<0?Ee(n+t,0):_e(n,t)}(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},Ce={includes:Ae(!0),indexOf:Ae(!1)},ke=Ce.indexOf,Te=function(e,t){var n,r=R(e),i=0,a=[];for(n in r)!O(oe,n)&&O(r,n)&&a.push(n);for(;t.length>i;)O(r,n=t[i++])&&(~ke(a,n)||a.push(n));return a},Re=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ne=Re.concat("length","prototype"),Ie={f:Object.getOwnPropertyNames||function(e){return Te(e,Ne)}},Be={f:Object.getOwnPropertySymbols},Oe=ve("Reflect","ownKeys")||function(e){var t=Ie.f(W(e)),n=Be.f;return n?t.concat(n(e)):t},Pe=function(e,t){for(var n=Oe(t),r=z.f,i=j.f,a=0;a<n.length;a++){var o=n[a];O(e,o)||r(e,o,i(t,o))}},Le=/#|\.prototype\./,Fe=function(e,t){var n=Me[De(e)];return n==We||n!=je&&("function"==typeof t?b(t):!!t)},De=Fe.normalize=function(e){return String(e).replace(Le,".").toLowerCase()},Me=Fe.data={},je=Fe.NATIVE="N",We=Fe.POLYFILL="P",Ue=Fe,ze=j.f,He=function(e,t){var n,r,i,a,o,s=e.target,l=e.global,c=e.stat;if(n=l?v:c?v[s]||V(s,{}):(v[s]||{}).prototype)for(r in t){if(a=t[r],i=e.noTargetGet?(o=ze(n,r))&&o.value:n[r],!Ue(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof a==typeof i)continue;Pe(a,i)}(e.sham||i&&i.sham)&&H(a,"sham",!0),pe(n,r,a,e)}},Ve=function(){var e=W(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function qe(e,t){return RegExp(e,t)}var Ge,Xe,$e={UNSUPPORTED_Y:b((function(){var e=qe("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET:b((function(){var e=qe("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},Ye=RegExp.prototype.exec,Ke=ee("native-string-replace",String.prototype.replace),Je=Ye,Ze=(Ge=/a/,Xe=/b*/g,Ye.call(Ge,"a"),Ye.call(Xe,"a"),0!==Ge.lastIndex||0!==Xe.lastIndex),Qe=$e.UNSUPPORTED_Y||$e.BROKEN_CARET,et=void 0!==/()??/.exec("")[1];(Ze||et||Qe)&&(Je=function(e){var t,n,r,i,a=this,o=Qe&&a.sticky,s=Ve.call(a),l=a.source,c=0,u=e;return o&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),et&&(n=new RegExp("^"+l+"$(?!\\s)",s)),Ze&&(t=a.lastIndex),r=Ye.call(o?n:a,u),o?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:Ze&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),et&&r&&r.length>1&&Ke.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var tt=Je;He({target:"RegExp",proto:!0,forced:/./.exec!==tt},{exec:tt});var nt,rt,it="process"==A(v.process),at=ve("navigator","userAgent")||"",ot=v.process,st=ot&&ot.versions,lt=st&&st.v8;lt?rt=(nt=lt.split("."))[0]+nt[1]:at&&(!(nt=at.match(/Edge\/(\d+)/))||nt[1]>=74)&&(nt=at.match(/Chrome\/(\d+)/))&&(rt=nt[1]);var ct=rt&&+rt,ut=!!Object.getOwnPropertySymbols&&!b((function(){return!Symbol.sham&&(it?38===ct:ct>37&&ct<41)})),ft=ut&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ht=ee("wks"),dt=v.Symbol,pt=ft?dt:dt&&dt.withoutSetter||re,gt=function(e){return O(ht,e)&&(ut||"string"==typeof ht[e])||(ut&&O(dt,e)?ht[e]=dt[e]:ht[e]=pt("Symbol."+e)),ht[e]},mt=gt("species"),vt=!b((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),bt="$0"==="a".replace(/./,"$0"),yt=gt("replace"),wt=!!/./[yt]&&""===/./[yt]("a","$0"),St=!b((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),xt=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};!function(e,t,n,r){var i=gt(e),a=!b((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),o=a&&!b((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[mt]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!a||!o||"replace"===e&&(!vt||!bt||wt)||"split"===e&&!St){var s=/./[i],l=n(i,""[e],(function(e,t,n,r,i){return t.exec===RegExp.prototype.exec?a&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:bt,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:wt}),c=l[0],u=l[1];pe(String.prototype,e,c),pe(RegExp.prototype,i,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}r&&H(RegExp.prototype[i],"sham",!0)}("search",1,(function(e,t,n){return[function(t){var n=T(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=W(e),a=String(this),o=i.lastIndex;xt(o,0)||(i.lastIndex=0);var s=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==A(e))throw TypeError("RegExp#exec called on incompatible receiver");return tt.call(e,t)}(i,a);return xt(i.lastIndex,o)||(i.lastIndex=o),null===s?-1:s.index}]}));var Et=Object.keys||function(e){return Te(e,Re)},_t=function(e){return Object(T(e))},At=Object.assign,Ct=Object.defineProperty,kt=!At||b((function(){if(y&&1!==At({b:1},At(Ct({},"a",{enumerable:!0,get:function(){Ct(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=At({},e)[n]||Et(At({},t)).join("")!=r}))?function(e,t){for(var n=_t(e),r=arguments.length,i=1,a=Be.f,o=x.f;r>i;)for(var s,l=k(arguments[i++]),c=a?Et(l).concat(a(l)):Et(l),u=c.length,f=0;u>f;)s=c[f++],y&&!o.call(l,s)||(n[s]=l[s]);return n}:At;He({target:"Object",stat:!0,forced:Object.assign!==kt},{assign:kt});var Tt=function(e,t){var n=[][e];return!!n&&b((function(){n.call(null,t||function(){throw 1},1)}))},Rt=[].join,Nt=k!=Object,It=Tt("join",",");He({target:"Array",proto:!0,forced:Nt||!It},{join:function(e){return Rt.call(R(this),void 0===e?",":e)}});var Bt,Ot=function(e,t,n){if(function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function")}(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},Pt=Array.isArray||function(e){return"Array"==A(e)},Lt=gt("species"),Ft=function(e,t){var n;return Pt(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!Pt(n.prototype)?N(n)&&null===(n=n[Lt])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},Dt=[].push,Mt=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,a=6==e,o=7==e,s=5==e||a;return function(l,c,u,f){for(var h,d,p=_t(l),g=k(p),m=Ot(c,u,3),v=xe(g.length),b=0,y=f||Ft,w=t?y(l,v):n||o?y(l,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:Dt.call(w,h)}else switch(e){case 4:return!1;case 7:Dt.call(w,h)}return a?-1:r||i?i:w}},jt={forEach:Mt(0),map:Mt(1),filter:Mt(2),some:Mt(3),every:Mt(4),find:Mt(5),findIndex:Mt(6),filterOut:Mt(7)},Wt=y?Object.defineProperties:function(e,t){W(e);for(var n,r=Et(t),i=r.length,a=0;i>a;)z.f(e,n=r[a++],t[n]);return e},Ut=ve("document","documentElement"),zt=ae("IE_PROTO"),Ht=function(){},Vt=function(e){return"<script>"+e+"</"+"script>"},qt=function(){try{Bt=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;qt=Bt?function(e){e.write(Vt("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Bt):((t=F("iframe")).style.display="none",Ut.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Vt("document.F=Object")),e.close(),e.F);for(var n=Re.length;n--;)delete qt.prototype[Re[n]];return qt()};oe[zt]=!0;var Gt=Object.create||function(e,t){var n;return null!==e?(Ht.prototype=W(e),n=new Ht,Ht.prototype=null,n[zt]=e):n=qt(),void 0===t?n:Wt(n,t)},Xt=gt("unscopables"),$t=Array.prototype;null==$t[Xt]&&z.f($t,Xt,{configurable:!0,value:Gt(null)});var Yt=function(e){$t[Xt][e]=!0},Kt=jt.find,Jt="find",Zt=!0;Jt in[]&&Array(1).find((function(){Zt=!1})),He({target:"Array",proto:!0,forced:Zt},{find:function(e){return Kt(this,e,arguments.length>1?arguments[1]:void 0)}}),Yt(Jt);var Qt=function(e,t,n){var r=I(t);r in e?z.f(e,r,E(0,n)):e[r]=n},en=gt("species"),tn=function(e){return ct>=51||!b((function(){var t=[];return(t.constructor={})[en]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},nn=gt("isConcatSpreadable"),rn=9007199254740991,an="Maximum allowed index exceeded",on=ct>=51||!b((function(){var e=[];return e[nn]=!1,e.concat()[0]!==e})),sn=tn("concat"),ln=function(e){if(!N(e))return!1;var t=e[nn];return void 0!==t?!!t:Pt(e)};He({target:"Array",proto:!0,forced:!on||!sn},{concat:function(e){var t,n,r,i,a,o=_t(this),s=Ft(o,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(ln(a=-1===t?o:arguments[t])){if(l+(i=xe(a.length))>rn)throw TypeError(an);for(n=0;n<i;n++,l++)n in a&&Qt(s,l,a[n])}else{if(l>=rn)throw TypeError(an);Qt(s,l++,a)}return s.length=l,s}});var cn=jt.filter;He({target:"Array",proto:!0,forced:!tn("filter")},{filter:function(e){return cn(this,e,arguments.length>1?arguments[1]:void 0)}});var un=x.f,fn=function(e){return function(t){for(var n,r=R(t),i=Et(r),a=i.length,o=0,s=[];a>o;)n=i[o++],y&&!un.call(r,n)||s.push(e?[n,r[n]]:r[n]);return s}},hn={entries:fn(!0),values:fn(!1)}.entries;He({target:"Object",stat:!0},{entries:function(e){return hn(e)}});var dn=Ce.indexOf,pn=[].indexOf,gn=!!pn&&1/[1].indexOf(1,-0)<0,mn=Tt("indexOf");He({target:"Array",proto:!0,forced:gn||!mn},{indexOf:function(e){return gn?pn.apply(this,arguments)||0:dn(this,e,arguments.length>1?arguments[1]:void 0)}});var vn=Ce.includes;He({target:"Array",proto:!0},{includes:function(e){return vn(this,e,arguments.length>1?arguments[1]:void 0)}}),Yt("includes");var bn=gt("match"),yn=function(e){if(function(e){var t;return N(e)&&(void 0!==(t=e[bn])?!!t:"RegExp"==A(e))}(e))throw TypeError("The method doesn't accept regular expressions");return e},wn=gt("match");He({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[wn]=!1,"/./"[e](t)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~String(T(this)).indexOf(yn(e),arguments.length>1?arguments[1]:void 0)}});var Sn,xn="\t\n\v\f\r    \u2028\u2029\ufeff",En="["+xn+"]",_n=RegExp("^"+En+En+"*"),An=RegExp(En+En+"*$"),Cn=function(e){return function(t){var n=String(T(t));return 1&e&&(n=n.replace(_n,"")),2&e&&(n=n.replace(An,"")),n}},kn={start:Cn(1),end:Cn(2),trim:Cn(3)},Tn=kn.trim;He({target:"String",proto:!0,forced:(Sn="trim",b((function(){return!!xn[Sn]()||"…"!="…"[Sn]()||xn[Sn].name!==Sn})))},{trim:function(){return Tn(this)}});var Rn=n.default.fn.bootstrapTable.utils,Nn={bootstrap3:{icons:{advancedSearchIcon:"glyphicon-chevron-down"},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" 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">%s</h4>\n <button type="button" class="close" data-dismiss="modal" aria-label="Close">\n <span aria-hidden="true">&times;</span>\n </button>\n </div>\n <div class="modal-body modal-body-custom">\n <div class="container-fluid" id="avdSearchModalContent_%s"\n style="padding-right: 0px; padding-left: 0px;" >\n </div>\n </div>\n <div class="modal-footer">\n <button type="button" id="btnCloseAvd_%s" class="btn btn-%s">%s</button>\n </div>\n </div>\n </div>\n </div>\n '}},bootstrap4:{icons:{advancedSearchIcon:"fa-chevron-down"},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" 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">%s</h4>\n <button type="button" class="close" data-dismiss="modal" aria-label="Close">\n <span aria-hidden="true">&times;</span>\n </button>\n </div>\n <div class="modal-body modal-body-custom">\n <div class="container-fluid" id="avdSearchModalContent_%s"\n style="padding-right: 0; padding-left: 0;" >\n </div>\n </div>\n <div class="modal-footer">\n <button type="button" id="btnCloseAvd_%s" class="btn btn-%s">%s</button>\n </div>\n </div>\n </div>\n </div>\n '}},bootstrap5:{icons:{advancedSearchIcon:"bi-chevron-down"},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" 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">%s</h4>\n <button type="button" class="close" data-dismiss="modal" aria-label="Close">\n <span aria-hidden="true">&times;</span>\n </button>\n </div>\n <div class="modal-body modal-body-custom">\n <div class="container-fluid" id="avdSearchModalContent_%s"\n style="padding-right: 0; padding-left: 0;" >\n </div>\n </div>\n <div class="modal-footer">\n <button type="button" id="btnCloseAvd_%s" class="btn btn-%s">%s</button>\n </div>\n </div>\n </div>\n </div>\n '}},bulma:{icons:{advancedSearchIcon:"fa-chevron-down"},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">%s</p>\n <button class="delete" aria-label="close"></button>\n </header>\n <section class="modal-card-body" id="avdSearchModalContent_%s"></section>\n <footer class="modal-card-foot">\n <button class="button" id="btnCloseAvd_%s" data-close="btn btn-%s">%s</button>\n </footer>\n </div>\n </div>\n '}},foundation:{icons:{advancedSearchIcon:"fa-chevron-down"},html:{modal:'\n <div class="reveal" id="avdSearchModal_%s" data-reveal>\n <h1>%s</h1>\n <div id="avdSearchModalContent_%s">\n\n </div>\n <button class="close-button" data-close aria-label="Close modal" type="button">\n <span aria-hidden="true">&times;</span>\n </button>\n\n <button id="btnCloseAvd_%s" class="%s" type="button">%s</button>\n </div>\n '}},materialize:{icons:{advancedSearchIcon:"expand_more"},html:{modal:'\n <div id="avdSearchModal_%s" class="modal">\n <div class="modal-content">\n <h4>%s</h4>\n <div id="avdSearchModalContent_%s">\n\n </div>\n </div>\n <div class="modal-footer">\n <a href="javascript:void(0)"" id="btnCloseAvd_%s" class="modal-close waves-effect waves-green btn-flat %s">%s</a>\n </div>\n </div>\n '}},semantic:{icons:{advancedSearchIcon:"fa-chevron-down"},html:{modal:'\n <div class="ui modal" id="avdSearchModal_%s">\n <i class="close icon"></i>\n <div class="header">\n %s\n </div>\n <div class="image content ui form" id="avdSearchModalContent_%s"></div>\n <div class="actions">\n <div id="btnCloseAvd_%s" class="ui black deny button %s">%s</div>\n </div>\n </div>\n '}}}[n.default.fn.bootstrapTable.theme];n.default.extend(n.default.fn.bootstrapTable.defaults,{advancedSearch:!1,idForm:"advancedSearch",actionForm:"",idTable:void 0,onColumnAdvancedSearch:function(e,t){return!1}}),n.default.extend(n.default.fn.bootstrapTable.defaults.icons,{advancedSearchIcon:Nn.icons.advancedSearchIcon}),n.default.extend(n.default.fn.bootstrapTable.Constructor.EVENTS,{"column-advanced-search.bs.table":"onColumnAdvancedSearch"}),n.default.extend(n.default.fn.bootstrapTable.locales,{formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"}}),n.default.extend(n.default.fn.bootstrapTable.defaults,n.default.fn.bootstrapTable.locales),n.default.BootstrapTable=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(g,e);var t,s,d,p=l(g);function g(){return r(this,g),p.apply(this,arguments)}return t=g,s=[{key:"initToolbar",value:function(){var e=this.options;this.showToolbar=this.showToolbar||e.search&&e.advancedSearch&&e.idTable,e.search&&e.advancedSearch&&e.idTable&&(this.buttons=Object.assign(this.buttons,{advancedSearch:{text:this.options.formatAdvancedSearch(),icon:this.options.icons.advancedSearchIcon,event:this.showAvdSearch,attributes:{"aria-label":this.options.formatAdvancedSearch(),title:this.options.formatAdvancedSearch()}}})),c(a(g.prototype),"initToolbar",this).call(this)}},{key:"showAvdSearch",value:function(){var e=this,t=this.options,r="#avdSearchModal_".concat(t.idTable);if(n.default(r).length<=0){n.default("body").append(Rn.sprintf(Nn.html.modal,t.idTable,t.formatAdvancedSearch(),t.idTable,t.idTable,t.buttonsClass,t.formatAdvancedCloseButton()));var i=0;n.default("#avdSearchModalContent_".concat(t.idTable)).append(this.createFormAvd().join("")),n.default("#".concat(t.idForm)).off("keyup blur","input").on("keyup blur","input",(function(n){"server"===t.sidePagination?e.onColumnAdvancedSearch(n):(clearTimeout(i),i=setTimeout((function(){e.onColumnAdvancedSearch(n)}),t.searchTimeOut))})),n.default("#btnCloseAvd_".concat(t.idTable)).click((function(){return e.hideModal()})),"bulma"===n.default.fn.bootstrapTable.theme&&n.default(r).find(".delete").off("click").on("click",(function(){return e.hideModal()})),this.showModal()}else this.showModal()}},{key:"showModal",value:function(){var e="#avdSearchModal_".concat(this.options.idTable);-1!==n.default.inArray(n.default.fn.bootstrapTable.theme,["bootstrap3","bootstrap4"])?n.default(e).modal():"bootstrap5"===n.default.fn.bootstrapTable.theme?(this.toolbarModal||(this.toolbarModal=new bootstrap.Modal(document.getElementById("avdSearchModal_".concat(this.options.idTable)),{})),this.toolbarModal.show()):"bulma"===n.default.fn.bootstrapTable.theme?n.default(e).toggleClass("is-active"):"foundation"===n.default.fn.bootstrapTable.theme?(this.toolbarModal||(this.toolbarModal=new Foundation.Reveal(n.default(e))),this.toolbarModal.open()):"materialize"===n.default.fn.bootstrapTable.theme?(n.default(e).modal(),n.default(e).modal("open")):"semantic"===n.default.fn.bootstrapTable.theme&&n.default(e).modal("show")}},{key:"hideModal",value:function(){var e=n.default("#avdSearchModal_".concat(this.options.idTable)),t="#avdSearchModal_".concat(this.options.idTable);-1!==n.default.inArray(n.default.fn.bootstrapTable.theme,["bootstrap3","bootstrap4"])?e.modal("hide"):"bootstrap5"===n.default.fn.bootstrapTable.theme?this.toolbarModal.hide():"bulma"===n.default.fn.bootstrapTable.theme?(n.default("html").toggleClass("is-clipped"),n.default(t).toggleClass("is-active")):"foundation"===n.default.fn.bootstrapTable.theme?this.toolbarModal.close():"materialize"===n.default.fn.bootstrapTable.theme?n.default(t).modal("open"):"semantic"===n.default.fn.bootstrapTable.theme&&n.default(t).modal("close"),"server"===this.options.sidePagination&&(this.options.pageNumber=1,this.updatePagination(),this.trigger("column-advanced-search",this.filterColumnsPartial))}},{key:"createFormAvd",value:function(){var e,t=this.options,n=['<form class="form-horizontal" id="'.concat(t.idForm,'" action="').concat(t.actionForm,'">')],r=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=h(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},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 a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}(this.columns);try{for(r.s();!(e=r.n()).done;){var i=e.value;!i.checkbox&&i.visible&&i.searchable&&n.push('\n <div class="form-group row">\n <label class="col-sm-4 control-label">'.concat(i.title,'</label>\n <div class="col-sm-6">\n <input type="text" class="form-control ').concat(this.constants.classes.input,'" name="').concat(i.field,'" placeholder="').concat(i.title,'" id="').concat(i.field,'">\n </div>\n </div>\n '))}}catch(e){r.e(e)}finally{r.f()}return n.push("</form>"),n}},{key:"initSearch",value:function(){var e=this;if(c(a(g.prototype),"initSearch",this).call(this),this.options.advancedSearch&&"server"!==this.options.sidePagination){var t=n.default.isEmptyObject(this.filterColumnsPartial)?null:this.filterColumnsPartial;this.data=t?this.data.filter((function(n,r){for(var i=0,a=Object.entries(t);i<a.length;i++){var o=u(a[i],2),s=o[0],l=o[1].toLowerCase(),c=n[s],f=e.header.fields.indexOf(s);if(c=Rn.calculateObjectValue(e.header,e.header.formatters[f],[c,n,r],c),-1===f||"string"!=typeof c&&"number"!=typeof c||!"".concat(c).toLowerCase().includes(l))return!1}return!0})):this.data,this.unsortedData=f(this.data)}}},{key:"onColumnAdvancedSearch",value:function(e){var t=n.default.trim(n.default(e.currentTarget).val()),r=n.default(e.currentTarget)[0].id;n.default.isEmptyObject(this.filterColumnsPartial)&&(this.filterColumnsPartial={}),t?this.filterColumnsPartial[r]=t:delete this.filterColumnsPartial[r],"server"!==this.options.sidePagination&&(this.options.pageNumber=1,this.onSearch(e),this.updatePagination(),this.trigger("column-advanced-search",r,t))}}],s&&i(t.prototype,s),d&&i(t,d),g}(n.default.BootstrapTable)}));