@hintergrund/ui 0.3.23 → 0.3.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/AssistantPane-DImbnOQx.js +1 -0
  2. package/dist/LanguageSelect-C69aKyBG.js +1 -0
  3. package/dist/{Mail-C_2McPqy.js → Mail-Bo10s7fg.js} +1 -1
  4. package/dist/admin.js +2 -2
  5. package/dist/anthropic-messages-B7mFKwq6.js +2 -0
  6. package/dist/builder.js +1 -1
  7. package/dist/github-copilot-headers-CdUV5uSi.js +1 -0
  8. package/dist/global-BYAZ22F2.js +2 -0
  9. package/dist/google-generative-ai-Bj2UCfwR.js +1 -0
  10. package/dist/{invoice-pdf-Bm3BTiKU.js → invoice-pdf-C9HTjgW9.js} +1 -1
  11. package/dist/lib-BhXMDVcn.js +2 -0
  12. package/dist/login.js +1 -1
  13. package/dist/mail.js +1 -1
  14. package/dist/{node.browser-BamzmsCA.js → node.browser-5xUv_7Bz.js} +1 -1
  15. package/dist/{node.browser-TMdA51ix.js → node.browser-BDF4XvCU.js} +1 -1
  16. package/dist/openai-completions-BbJYsbrR.js +1 -0
  17. package/dist/openai-decisions-Cmlv2duA.js +1 -0
  18. package/dist/{openai-prompt-cache-C4mUbgCW.js → openai-prompt-cache-C2HSF10I.js} +1 -1
  19. package/dist/openai-responses-BQtlzQW_.js +1 -0
  20. package/dist/openrouter-cost-BcsrXcCZ.js +1 -0
  21. package/dist/pdf-qgbK-GBD.js +1 -0
  22. package/dist/pdf.worker.min-CTKKiybZ.js +1 -0
  23. package/dist/provider-retry-jOpF7gmO.js +1 -0
  24. package/dist/rolldown-runtime-WNHmnFyz.js +1 -0
  25. package/dist/transform-messages-sc733Lgj.js +1 -0
  26. package/package.json +6 -4
  27. package/dist/AssistantPane-B9OJ3dML.js +0 -1
  28. package/dist/LanguageSelect-DMXZMoNL.js +0 -1
  29. package/dist/anthropic-messages-CGtimkBz.js +0 -2
  30. package/dist/error-body-B13t5xBI.js +0 -1
  31. package/dist/github-copilot-headers-EfqOaQ0F.js +0 -1
  32. package/dist/global-BopopWeh.js +0 -2
  33. package/dist/google-generative-ai-Dc4iVgZu.js +0 -1
  34. package/dist/openai-completions-CCVMUQlG.js +0 -1
  35. package/dist/openai-decisions-B_JBMeFL.js +0 -1
  36. package/dist/openai-responses-CzoFr9Ja.js +0 -1
  37. package/dist/provider-retry-DNH2SSUZ.js +0 -1
  38. package/dist/rolldown-runtime-9urLBz53.js +0 -1
  39. package/dist/transform-messages-CVNmwYhT.js +0 -1
@@ -0,0 +1,2 @@
1
+ void 0===globalThis.process&&(globalThis.process={env:{},platform:"browser",version:"",versions:{},browser:!0,nextTick:function(e){return Promise.resolve().then(e)}});import{a as e,i as t,n as r,r as n,t as i}from"./rolldown-runtime-WNHmnFyz.js";var o,a,s,u,l,c,f,h,p,d,m,g,y,v,w,b,_,x,E,k,T=r(()=>{o="1.13.8",a="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},s=Array.prototype,u=Object.prototype,l="undefined"!=typeof Symbol?Symbol.prototype:null,c=s.push,f=s.slice,h=u.toString,p=u.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,m="undefined"!=typeof DataView,g=Array.isArray,y=Object.keys,v=Object.create,w=d&&ArrayBuffer.isView,b=isNaN,_=isFinite,x=!{toString:null}.propertyIsEnumerable("toString"),E=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],k=Math.pow(2,53)-1});function S(e,t){return t=null==t?e.length-1:+t,function(){for(var r=Math.max(arguments.length-t,0),n=Array(r),i=0;i<r;i++)n[i]=arguments[i+t];switch(t){case 0:return e.call(this,n);case 1:return e.call(this,arguments[0],n);case 2:return e.call(this,arguments[0],arguments[1],n)}var o=Array(t+1);for(i=0;i<t;i++)o[i]=arguments[i];return o[t]=n,e.apply(this,o)}}var N=r(()=>{});function I(e){var t=typeof e;return"function"===t||"object"===t&&!!e}var D=r(()=>{});function O(e){return null===e}var A=r(()=>{});function C(e){return void 0===e}var R=r(()=>{});function L(e){return!0===e||!1===e||"[object Boolean]"===h.call(e)}var B=r(()=>{T()});function P(e){return!(!e||1!==e.nodeType)}var z=r(()=>{});function q(e){var t="[object "+e+"]";return function(e){return h.call(e)===t}}var M,F,j,U,V,H,W,Z,G,X,K,Y,$,J,Q,ee=r(()=>{T()}),te=r(()=>{ee(),M=q("String")}),re=r(()=>{ee(),F=q("Number")}),ne=r(()=>{ee(),j=q("Date")}),ie=r(()=>{ee(),U=q("RegExp")}),oe=r(()=>{ee(),V=q("Error")}),ae=r(()=>{ee(),H=q("Symbol")}),se=r(()=>{ee(),W=q("ArrayBuffer")}),ue=r(()=>{ee(),T(),Z=q("Function"),G=a.document&&a.document.childNodes,"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof G&&(Z=function(e){return"function"==typeof e||!1}),X=Z}),le=r(()=>{ee(),K=q("Object")}),ce=r(()=>{T(),le(),Y=m&&(!/\[native code\]/.test(String(DataView))||K(/* @__PURE__ */new DataView(/* @__PURE__ */new ArrayBuffer(8)))),$="undefined"!=typeof Map&&K(/* @__PURE__ */new Map)});function fe(e){return null!=e&&X(e.getInt8)&&W(e.buffer)}var he,pe=r(()=>{ee(),ue(),se(),ce(),J=q("DataView"),Q=Y?fe:J}),de=r(()=>{T(),ee(),he=g||q("Array")});function me(e,t){return null!=e&&p.call(e,t)}var ge,ye,ve=r(()=>{T()}),we=r(()=>{ee(),ve(),ge=q("Arguments"),function(){ge(arguments)||(ge=function(e){return me(e,"callee")})}(),ye=ge});function be(e){return!H(e)&&_(e)&&!isNaN(parseFloat(e))}var _e=r(()=>{T(),ae()});function xe(e){return F(e)&&b(e)}var Ee=r(()=>{T(),re()});function ke(e){return function(){return e}}var Te=r(()=>{});function Se(e){return function(t){var r=e(t);return"number"==typeof r&&r>=0&&r<=k}}var Ne=r(()=>{T()});function Ie(e){return function(t){return null==t?void 0:t[e]}}var De,Oe,Ae,Ce,Re=r(()=>{}),Le=r(()=>{Re(),De=Ie("byteLength")}),Be=r(()=>{Ne(),Le(),Oe=Se(De)});function Pe(e){return w?w(e)&&!Q(e):Oe(e)&&Ae.test(h.call(e))}var ze,qe=r(()=>{T(),pe(),Te(),Be(),Ae=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,Ce=d?Pe:ke(!1)}),Me=r(()=>{Re(),ze=Ie("length")});function Fe(e,t){t=function(e){for(var t={},r=e.length,n=0;n<r;++n)t[e[n]]=!0;return{contains:function(e){return!0===t[e]},push:function(r){return t[r]=!0,e.push(r)}}}(t);var r=E.length,n=e.constructor,i=X(n)&&n.prototype||u,o="constructor";for(me(e,o)&&!t.contains(o)&&t.push(o);r--;)(o=E[r])in e&&e[o]!==i[o]&&!t.contains(o)&&t.push(o)}var je=r(()=>{T(),ue(),ve()});function Ue(e){if(!I(e))return[];if(y)return y(e);var t=[];for(var r in e)me(e,r)&&t.push(r);return x&&Fe(e,t),t}var Ve=r(()=>{D(),T(),ve(),je()});function He(e){if(null==e)return!0;var t=ze(e);return"number"==typeof t&&(he(e)||M(e)||ye(e))?0===t:0===ze(Ue(e))}var We=r(()=>{Me(),de(),te(),we(),Ve()});function Ze(e,t){var r=Ue(t),n=r.length;if(null==e)return!n;for(var i=Object(e),o=0;o<n;o++){var a=r[o];if(t[a]!==i[a]||!(a in i))return!1}return!0}var Ge=r(()=>{Ve()});function Xe(e){return e instanceof Xe?e:this instanceof Xe?void(this._wrapped=e):new Xe(e)}var Ke=r(()=>{T(),Xe.VERSION=o,Xe.prototype.value=function(){return this._wrapped},Xe.prototype.valueOf=Xe.prototype.toJSON=Xe.prototype.value,Xe.prototype.toString=function(){return String(this._wrapped)}});function Ye(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,De(e))}var $e,Je=r(()=>{Le()});function Qe(e,t){for(var r=[{a:e,b:t}],n=[],i=[];r.length;){var o=r.pop();if(!0!==o){if((e=o.a)===(t=o.b)){if(0!==e||1/e==1/t)continue;return!1}if(null==e||null==t)return!1;if(e!=e){if(t!=t)continue;return!1}var a=typeof e;if("function"!==a&&"object"!==a&&"object"!=typeof t)return!1;e instanceof Xe&&(e=e._wrapped),t instanceof Xe&&(t=t._wrapped);var s=h.call(e);if(s!==h.call(t))return!1;if(Y&&"[object Object]"==s&&Q(e)){if(!Q(t))return!1;s=$e}switch(s){case"[object RegExp]":case"[object String]":if(""+e==""+t)continue;return!1;case"[object Number]":r.push({a:+e,b:+t});continue;case"[object Date]":case"[object Boolean]":if(+e===+t)continue;return!1;case"[object Symbol]":if(l.valueOf.call(e)===l.valueOf.call(t))continue;return!1;case"[object ArrayBuffer]":case $e:r.push({a:Ye(e),b:Ye(t)});continue}var u="[object Array]"===s;if(!u&&Ce(e)){if(De(e)!==De(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)continue;u=!0}if(!u){if("object"!=typeof e||"object"!=typeof t)return!1;var c=e.constructor,f=t.constructor;if(c!==f&&!(X(c)&&c instanceof c&&X(f)&&f instanceof f)&&"constructor"in e&&"constructor"in t)return!1}for(var p=n.length;p--;)if(n[p]===e){if(i[p]===t)break;return!1}if(!(p>=0))if(n.push(e),i.push(t),r.push(!0),u){if((p=e.length)!==t.length)return!1;for(;p--;)r.push({a:e[p],b:t[p]})}else{var d,m=Ue(e);if(p=m.length,Ue(t).length!==p)return!1;for(;p--;){if(!me(t,d=m[p]))return!1;r.push({a:e[d],b:t[d]})}}}else n.pop(),i.pop()}return!0}var et=r(()=>{Ke(),T(),Le(),qe(),ue(),ce(),pe(),Ve(),ve(),Je(),$e="[object DataView]"});function tt(e){if(!I(e))return[];var t=[];for(var r in e)t.push(r);return x&&Fe(e,t),t}var rt,nt,it,ot,at,st,ut=r(()=>{D(),T(),je()});function lt(e){var t=ze(e);return function(r){if(null==r)return!1;var n=tt(r);if(ze(n))return!1;for(var i=0;i<t;i++)if(!X(r[e[i]]))return!1;return e!==at||!X(r[rt])}}var ct,ft,ht,pt,dt=r(()=>{Me(),ue(),ut(),ot=(nt=["clear","delete"]).concat(rt="forEach",it=["get","has","set"]),at=nt.concat(it),st=["add"].concat(nt,rt,"has")}),mt=r(()=>{ee(),ce(),dt(),ct=$?lt(ot):q("Map")}),gt=r(()=>{ee(),ce(),dt(),ft=$?lt(at):q("WeakMap")}),yt=r(()=>{ee(),ce(),dt(),ht=$?lt(st):q("Set")}),vt=r(()=>{ee(),pt=q("WeakSet")});function wt(e){for(var t=Ue(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=e[t[i]];return n}var bt=r(()=>{Ve()});function _t(e){for(var t=Ue(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=[t[i],e[t[i]]];return n}var xt=r(()=>{Ve()});function Et(e){for(var t={},r=Ue(e),n=0,i=r.length;n<i;n++)t[e[r[n]]]=r[n];return t}var kt=r(()=>{Ve()});function Tt(e){var t=[];for(var r in e)X(e[r])&&t.push(r);return t.sort()}var St=r(()=>{ue()});function Nt(e,t){return function(r){var n=arguments.length;if(t&&(r=Object(r)),n<2||null==r)return r;for(var i=1;i<n;i++)for(var o=arguments[i],a=e(o),s=a.length,u=0;u<s;u++){var l=a[u];t&&void 0!==r[l]||(r[l]=o[l])}return r}}var It,Dt,Ot,At=r(()=>{}),Ct=r(()=>{At(),ut(),It=Nt(tt)}),Rt=r(()=>{At(),Ve(),Dt=Nt(Ue)}),Lt=r(()=>{At(),ut(),Ot=Nt(tt,!0)});function Bt(e){if(!I(e))return{};if(v)return v(e);var t=function(){};t.prototype=e;var r=new t;return t.prototype=null,r}var Pt=r(()=>{D(),T()});function zt(e,t){var r=Bt(e);return t&&Dt(r,t),r}var qt=r(()=>{Pt(),Rt()});function Mt(e){return I(e)?he(e)?e.slice():It({},e):e}var Ft=r(()=>{D(),de(),Ct()});function jt(e,t){return t(e),e}var Ut=r(()=>{});function Vt(e){return he(e)?e:[e]}var Ht=r(()=>{Ke(),de(),Xe.toPath=Vt});function Wt(e){return Xe.toPath(e)}var Zt=r(()=>{Ke(),Ht()});function Gt(e,t){for(var r=t.length,n=0;n<r;n++){if(null==e)return;e=e[t[n]]}return r?e:void 0}var Xt=r(()=>{});function Kt(e,t,r){var n=Gt(e,Wt(t));return C(n)?r:n}var Yt=r(()=>{Zt(),Xt(),R()});function $t(e,t){for(var r=(t=Wt(t)).length,n=0;n<r;n++){var i=t[n];if(!me(e,i))return!1;e=e[i]}return!!r}var Jt=r(()=>{ve(),Zt()});function Qt(e){return e}var er=r(()=>{});function tr(e){return e=Dt({},e),function(t){return Ze(t,e)}}var rr=r(()=>{Rt(),Ge()});function nr(e){return e=Wt(e),function(t){return Gt(t,e)}}var ir=r(()=>{Xt(),Zt()});function or(e,t,r){if(void 0===t)return e;switch(null==r?3:r){case 1:return function(r){return e.call(t,r)};case 3:return function(r,n,i){return e.call(t,r,n,i)};case 4:return function(r,n,i,o){return e.call(t,r,n,i,o)}}return function(){return e.apply(t,arguments)}}var ar=r(()=>{});function sr(e,t,r){return null==e?Qt:X(e)?or(e,t,r):I(e)&&!he(e)?tr(e):nr(e)}var ur=r(()=>{er(),ue(),D(),de(),rr(),ir(),ar()});function lr(e,t){return sr(e,t,1/0)}var cr=r(()=>{Ke(),ur(),Xe.iteratee=lr});function fr(e,t,r){return Xe.iteratee!==lr?Xe.iteratee(e,t):sr(e,t,r)}var hr=r(()=>{Ke(),ur(),cr()});function pr(e,t,r){t=fr(t,r);for(var n=Ue(e),i=n.length,o={},a=0;a<i;a++){var s=n[a];o[s]=t(e[s],s,e)}return o}var dr=r(()=>{hr(),Ve()});function mr(){}var gr=r(()=>{});function yr(e){return null==e?mr:function(t){return Kt(e,t)}}var vr=r(()=>{gr(),Yt()});function wr(e,t,r){var n=Array(Math.max(0,e));t=or(t,r,1);for(var i=0;i<e;i++)n[i]=t(i);return n}var br=r(()=>{ar()});function _r(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}var xr,Er=r(()=>{}),kr=r(()=>{xr=Date.now||function(){/* @__PURE__ */
2
+ return(new Date).getTime()}});function Tr(e){var t=function(t){return e[t]},r="(?:"+Ue(e).join("|")+")",n=RegExp(r),i=RegExp(r,"g");return function(e){return e=null==e?"":""+e,n.test(e)?e.replace(i,t):e}}var Sr,Nr,Ir,Dr,Or,Ar,Cr,Rr,Lr,Br=r(()=>{Ve()}),Pr=r(()=>{Sr={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"}}),zr=r(()=>{Br(),Pr(),Nr=Tr(Sr)}),qr=r(()=>{kt(),Pr(),Ir=Et(Sr)}),Mr=r(()=>{Br(),qr(),Dr=Tr(Ir)}),Fr=r(()=>{Ke(),Or=Xe.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g}});function jr(e){return"\\"+Cr[e]}function Ur(e,t,r){!t&&r&&(t=r),t=Ot({},t,Xe.templateSettings);var n=RegExp([(t.escape||Ar).source,(t.interpolate||Ar).source,(t.evaluate||Ar).source].join("|")+"|$","g"),i=0,o="__p+='";e.replace(n,function(t,r,n,a,s){return o+=e.slice(i,s).replace(Rr,jr),i=s+t.length,r?o+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":n?o+="'+\n((__t=("+n+"))==null?'':__t)+\n'":a&&(o+="';\n"+a+"\n__p+='"),t}),o+="';\n";var a,s=t.variable;if(s){if(!Lr.test(s))throw new Error("variable is not a bare identifier: "+s)}else o="with(obj||{}){\n"+o+"}\n",s="obj";o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{a=new Function(s,"_",o)}catch(l){throw l.source=o,l}var u=function(e){return a.call(this,e,Xe)};return u.source="function("+s+"){\n"+o+"}",u}var Vr=r(()=>{Lt(),Ke(),Fr(),Ar=/(.)^/,Cr={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Rr=/\\|'|\r|\n|\u2028|\u2029/g,Lr=/^\s*(\w|\$)+\s*$/});function Hr(e,t,r){var n=(t=Wt(t)).length;if(!n)return X(r)?r.call(e):r;for(var i=0;i<n;i++){var o=null==e?void 0:e[t[i]];void 0===o&&(o=r,i=n),e=X(o)?o.call(e):o}return e}var Wr,Zr=r(()=>{ue(),Zt()});function Gr(e){var t=++Wr+"";return e?e+t:t}var Xr=r(()=>{Wr=0});function Kr(e){var t=Xe(e);return t._chain=!0,t}var Yr=r(()=>{Ke()});function $r(e,t,r,n,i){if(!(n instanceof t))return e.apply(r,i);var o=Bt(e.prototype),a=e.apply(o,i);return I(a)?a:o}var Jr,Qr,en,tn=r(()=>{Pt(),D()}),rn=r(()=>{N(),tn(),Ke(),(Jr=S(function(e,t){var r=Jr.placeholder,n=function(){for(var i=0,o=t.length,a=Array(o),s=0;s<o;s++)a[s]=t[s]===r?arguments[i++]:t[s];for(;i<arguments.length;)a.push(arguments[i++]);return $r(e,n,this,this,a)};return n})).placeholder=Xe}),nn=r(()=>{N(),ue(),tn(),Qr=S(function(e,t,r){if(!X(e))throw new TypeError("Bind must be called on a function");var n=S(function(i){return $r(e,n,t,this,r.concat(i))});return n})}),on=r(()=>{Ne(),Me(),en=Se(ze)});function an(e,t,r){t||0===t||(t=1/0);for(var n=[],i=0,o=0,a=ze(e)||0,s=[];;)if(o>=a){if(!s.length)break;var u=s.pop();o=u.i,e=u.v,a=ze(e)}else{var l=e[o++];s.length>=t?n[i++]=l:en(l)&&(he(l)||ye(l))?(s.push({i:o,v:e}),o=0,a=ze(e=l)):r||(n[i++]=l)}return n}var sn,un=r(()=>{Me(),on(),de(),we()}),ln=r(()=>{N(),un(),nn(),sn=S(function(e,t){var r=(t=an(t,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var n=t[r];e[n]=Qr(e[n],e)}return e})});function cn(e,t){var r=function(n){var i=r.cache,o=""+(t?t.apply(this,arguments):n);return me(i,o)||(i[o]=e.apply(this,arguments)),i[o]};return r.cache={},r}var fn,hn,pn=r(()=>{ve()}),dn=r(()=>{N(),fn=S(function(e,t,r){return setTimeout(function(){return e.apply(null,r)},t)})}),mn=r(()=>{rn(),dn(),Ke(),hn=Jr(fn,Xe,1)});function gn(e,t,r){var n,i,o,a,s=0;r||(r={});var u=function(){s=!1===r.leading?0:xr(),n=null,a=e.apply(i,o),n||(i=o=null)},l=function(){var l=xr();s||!1!==r.leading||(s=l);var c=t-(l-s);return i=this,o=arguments,c<=0||c>t?(n&&(clearTimeout(n),n=null),s=l,a=e.apply(i,o),n||(i=o=null)):n||!1===r.trailing||(n=setTimeout(u,c)),a};return l.cancel=function(){clearTimeout(n),s=0,n=i=o=null},l}var yn=r(()=>{kr()});function vn(e,t,r){var n,i,o,a,s,u=function(){var l=xr()-i;t>l?n=setTimeout(u,t-l):(n=null,r||(a=e.apply(s,o)),n||(o=s=null))},l=S(function(l){return s=this,o=l,i=xr(),n||(n=setTimeout(u,t),r&&(a=e.apply(s,o))),a});return l.cancel=function(){clearTimeout(n),n=o=s=null},l}var wn=r(()=>{N(),kr()});function bn(e,t){return Jr(t,e)}var _n=r(()=>{rn()});function xn(e){return function(){return!e.apply(this,arguments)}}var En=r(()=>{});function kn(){var e=arguments,t=e.length-1;return function(){for(var r=t,n=e[t].apply(this,arguments);r--;)n=e[r].call(this,n);return n}}var Tn=r(()=>{});function Sn(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}var Nn=r(()=>{});function In(e,t){var r;return function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=null),r}}var Dn,On=r(()=>{}),An=r(()=>{rn(),On(),Dn=Jr(In,2)});function Cn(e,t,r){t=fr(t,r);for(var n,i=Ue(e),o=0,a=i.length;o<a;o++)if(t(e[n=i[o]],n,e))return n}var Rn=r(()=>{hr(),Ve()});function Ln(e){return function(t,r,n){r=fr(r,n);for(var i=ze(t),o=e>0?0:i-1;o>=0&&o<i;o+=e)if(r(t[o],o,t))return o;return-1}}var Bn,Pn,zn=r(()=>{hr(),Me()}),qn=r(()=>{zn(),Bn=Ln(1)}),Mn=r(()=>{zn(),Pn=Ln(-1)});function Fn(e,t,r,n){for(var i=(r=fr(r,n,1))(t),o=0,a=ze(e);o<a;){var s=Math.floor((o+a)/2);r(e[s])<i?o=s+1:a=s}return o}var jn=r(()=>{hr(),Me()});function Un(e,t,r){return function(n,i,o){var a=0,s=ze(n);if("number"==typeof o)e>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(r&&o&&s)return n[o=r(n,i)]===i?o:-1;if(i!=i)return(o=t(f.call(n,a,s),xe))>=0?o+a:-1;for(o=e>0?a:s-1;o>=0&&o<s;o+=e)if(n[o]===i)return o;return-1}}var Vn,Hn,Wn=r(()=>{Me(),T(),Ee()}),Zn=r(()=>{jn(),qn(),Wn(),Vn=Un(1,Bn,Fn)}),Gn=r(()=>{Mn(),Wn(),Hn=Un(-1,Pn)});function Xn(e,t,r){var n=(en(e)?Bn:Cn)(e,t,r);if(void 0!==n&&-1!==n)return e[n]}var Kn=r(()=>{on(),qn(),Rn()});function Yn(e,t){return Xn(e,tr(t))}var $n=r(()=>{Kn(),rr()});function Jn(e,t,r){var n,i;if(t=or(t,r),en(e))for(n=0,i=e.length;n<i;n++)t(e[n],n,e);else{var o=Ue(e);for(n=0,i=o.length;n<i;n++)t(e[o[n]],o[n],e)}return e}var Qn=r(()=>{ar(),on(),Ve()});function ei(e,t,r){t=fr(t,r);for(var n=!en(e)&&Ue(e),i=(n||e).length,o=Array(i),a=0;a<i;a++){var s=n?n[a]:a;o[a]=t(e[s],s,e)}return o}var ti=r(()=>{hr(),on(),Ve()});function ri(e){return function(t,r,n,i){var o=arguments.length>=3;return function(t,r,n,i){var o=!en(t)&&Ue(t),a=(o||t).length,s=e>0?0:a-1;for(i||(n=t[o?o[s]:s],s+=e);s>=0&&s<a;s+=e){var u=o?o[s]:s;n=r(n,t[u],u,t)}return n}(t,or(r,i,4),n,o)}}var ni,ii,oi=r(()=>{on(),Ve(),ar()}),ai=r(()=>{oi(),ni=ri(1)}),si=r(()=>{oi(),ii=ri(-1)});function ui(e,t,r){var n=[];return t=fr(t,r),Jn(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}var li=r(()=>{hr(),Qn()});function ci(e,t,r){return ui(e,xn(fr(t)),r)}var fi=r(()=>{li(),En(),hr()});function hi(e,t,r){t=fr(t,r);for(var n=!en(e)&&Ue(e),i=(n||e).length,o=0;o<i;o++){var a=n?n[o]:o;if(!t(e[a],a,e))return!1}return!0}var pi=r(()=>{hr(),on(),Ve()});function di(e,t,r){t=fr(t,r);for(var n=!en(e)&&Ue(e),i=(n||e).length,o=0;o<i;o++){var a=n?n[o]:o;if(t(e[a],a,e))return!0}return!1}var mi=r(()=>{hr(),on(),Ve()});function gi(e,t,r,n){return en(e)||(e=wt(e)),("number"!=typeof r||n)&&(r=0),Vn(e,t,r)>=0}var yi,vi=r(()=>{on(),bt(),Zn()}),wi=r(()=>{N(),ue(),ti(),Xt(),Zt(),yi=S(function(e,t,r){var n,i;return X(t)?i=t:(t=Wt(t),n=t.slice(0,-1),t=t[t.length-1]),ei(e,function(e){var o=i;if(!o){if(n&&n.length&&(e=Gt(e,n)),null==e)return;o=e[t]}return null==o?o:o.apply(e,r)})})});function bi(e,t){return ei(e,nr(t))}var _i=r(()=>{ti(),ir()});function xi(e,t){return ui(e,tr(t))}var Ei=r(()=>{li(),rr()});function ki(e,t,r){var n,i,o=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,u=(e=en(e)?e:wt(e)).length;s<u;s++)null!=(n=e[s])&&n>o&&(o=n);else t=fr(t,r),Jn(e,function(e,r,n){((i=t(e,r,n))>a||i===-1/0&&o===-1/0)&&(o=e,a=i)});return o}var Ti=r(()=>{on(),bt(),hr(),Qn()});function Si(e,t,r){var n,i,o=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,u=(e=en(e)?e:wt(e)).length;s<u;s++)null!=(n=e[s])&&n<o&&(o=n);else t=fr(t,r),Jn(e,function(e,r,n){((i=t(e,r,n))<a||i===1/0&&o===1/0)&&(o=e,a=i)});return o}var Ni,Ii=r(()=>{on(),bt(),hr(),Qn()});function Di(e){return e?he(e)?f.call(e):M(e)?e.match(Ni):en(e)?ei(e,Qt):wt(e):[]}var Oi=r(()=>{de(),T(),te(),on(),ti(),er(),bt(),Ni=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g});function Ai(e,t,r){if(null==t||r)return en(e)||(e=wt(e)),e[_r(e.length-1)];var n=Di(e),i=ze(n);t=Math.max(Math.min(t,i),0);for(var o=i-1,a=0;a<t;a++){var s=_r(a,o),u=n[a];n[a]=n[s],n[s]=u}return n.slice(0,t)}var Ci=r(()=>{on(),bt(),Me(),Er(),Oi()});function Ri(e){return Ai(e,1/0)}var Li=r(()=>{Ci()});function Bi(e,t,r){var n=0;return t=fr(t,r),bi(ei(e,function(e,r,i){return{value:e,index:n++,criteria:t(e,r,i)}}).sort(function(e,t){var r=e.criteria,n=t.criteria;if(r!==n){if(r>n||void 0===r)return 1;if(r<n||void 0===n)return-1}return e.index-t.index}),"value")}var Pi=r(()=>{hr(),_i(),ti()});function zi(e,t){return function(r,n,i){var o=t?[[],[]]:{};return n=fr(n,i),Jn(r,function(t,i){e(o,t,n(t,i,r))}),o}}var qi,Mi,Fi,ji,Ui=r(()=>{hr(),Qn()}),Vi=r(()=>{Ui(),ve(),qi=zi(function(e,t,r){me(e,r)?e[r].push(t):e[r]=[t]})}),Hi=r(()=>{Ui(),Mi=zi(function(e,t,r){e[r]=t})}),Wi=r(()=>{Ui(),ve(),Fi=zi(function(e,t,r){me(e,r)?e[r]++:e[r]=1})}),Zi=r(()=>{Ui(),ji=zi(function(e,t,r){e[r?0:1].push(t)},!0)});function Gi(e){return null==e?0:en(e)?e.length:Ue(e).length}var Xi=r(()=>{on(),Ve()});function Ki(e,t,r){return t in r}var Yi,$i,Ji=r(()=>{}),Qi=r(()=>{N(),ue(),ar(),ut(),Ji(),un(),Yi=S(function(e,t){var r={},n=t[0];if(null==e)return r;X(n)?(t.length>1&&(n=or(n,t[1])),t=tt(e)):(n=Ki,t=an(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i<o;i++){var a=t[i],s=e[a];n(s,a,e)&&(r[a]=s)}return r})}),eo=r(()=>{N(),ue(),En(),ti(),un(),vi(),Qi(),$i=S(function(e,t){var r,n=t[0];return X(n)?(n=xn(n),t.length>1&&(r=t[1])):(t=ei(an(t,!1,!1),String),n=function(e,r){return!gi(t,r)}),Yi(e,n,r)})});function to(e,t,r){return f.call(e,0,Math.max(0,e.length-(null==t||r?1:t)))}var ro=r(()=>{T()});function no(e,t,r){return null==e||e.length<1?null==t||r?void 0:[]:null==t||r?e[0]:to(e,e.length-t)}var io=r(()=>{ro()});function oo(e,t,r){return f.call(e,null==t||r?1:t)}var ao=r(()=>{T()});function so(e,t,r){return null==e||e.length<1?null==t||r?void 0:[]:null==t||r?e[e.length-1]:oo(e,Math.max(0,e.length-t))}var uo=r(()=>{ao()});function lo(e){return ui(e,Boolean)}var co=r(()=>{li()});function fo(e,t){return an(e,t,!1)}var ho,po,mo=r(()=>{un()}),go=r(()=>{N(),un(),li(),vi(),ho=S(function(e,t){return t=an(t,!0,!0),ui(e,function(e){return!gi(t,e)})})}),yo=r(()=>{N(),go(),po=S(function(e,t){return ho(e,t)})});function vo(e,t,r,n){L(t)||(n=r,r=t,t=!1),null!=r&&(r=fr(r,n));for(var i=[],o=[],a=0,s=ze(e);a<s;a++){var u=e[a],l=r?r(u,a,e):u;t&&!r?(a&&o===l||i.push(u),o=l):r?gi(o,l)||(o.push(l),i.push(u)):gi(i,u)||i.push(u)}return i}var wo,bo=r(()=>{B(),hr(),Me(),vi()}),_o=r(()=>{N(),bo(),un(),wo=S(function(e){return vo(an(e,!0,!0))})});function xo(e){for(var t=[],r=arguments.length,n=0,i=ze(e);n<i;n++){var o=e[n];if(!gi(t,o)){for(var a=1;a<r&&gi(arguments[a],o);a++);a===r&&t.push(o)}}return t}var Eo=r(()=>{Me(),vi()});function ko(e){for(var t=e&&ki(e,ze).length||0,r=Array(t),n=0;n<t;n++)r[n]=bi(e,n);return r}var To,So=r(()=>{Ti(),Me(),_i()}),No=r(()=>{N(),So(),To=S(ko)});function Io(e,t){for(var r={},n=0,i=ze(e);n<i;n++)t?r[e[n]]=t[n]:r[e[n][0]]=e[n][1];return r}var Do=r(()=>{Me()});function Oo(e,t,r){null==t&&(t=e||0,e=0),r||(r=t<e?-1:1);for(var n=Math.max(Math.ceil((t-e)/r),0),i=Array(n),o=0;o<n;o++,e+=r)i[o]=e;return i}var Ao=r(()=>{});function Co(e,t){if(null==t||t<1)return[];for(var r=[],n=0,i=e.length;n<i;)r.push(f.call(e,n,n+=t));return r}var Ro=r(()=>{T()});function Lo(e,t){return e._chain?Xe(t).chain():t}var Bo=r(()=>{Ke()});function Po(e){return Jn(Tt(e),function(t){var r=Xe[t]=e[t];Xe.prototype[t]=function(){var e=[this._wrapped];return c.apply(e,arguments),Lo(this,r.apply(Xe,e))}}),Xe}var zo,qo,Mo=r(()=>{Ke(),Qn(),St(),T(),Bo()}),Fo=r(()=>{Ke(),Qn(),T(),Bo(),Jn(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=s[e];Xe.prototype[e]=function(){var r=this._wrapped;return null!=r&&(t.apply(r,arguments),"shift"!==e&&"splice"!==e||0!==r.length||delete r[0]),Lo(this,r)}}),Jn(["concat","join","slice"],function(e){var t=s[e];Xe.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),Lo(this,e)}}),zo=Xe}),jo=/* @__PURE__ */n({VERSION:()=>o,after:()=>Sn,all:()=>hi,allKeys:()=>tt,any:()=>di,assign:()=>Dt,before:()=>In,bind:()=>Qr,bindAll:()=>sn,chain:()=>Kr,chunk:()=>Co,clone:()=>Mt,collect:()=>ei,compact:()=>lo,compose:()=>kn,constant:()=>ke,contains:()=>gi,countBy:()=>Fi,create:()=>zt,debounce:()=>vn,default:()=>zo,defaults:()=>Ot,defer:()=>hn,delay:()=>fn,detect:()=>Xn,difference:()=>ho,drop:()=>oo,each:()=>Jn,escape:()=>Nr,every:()=>hi,extend:()=>It,extendOwn:()=>Dt,filter:()=>ui,find:()=>Xn,findIndex:()=>Bn,findKey:()=>Cn,findLastIndex:()=>Pn,findWhere:()=>Yn,first:()=>no,flatten:()=>fo,foldl:()=>ni,foldr:()=>ii,forEach:()=>Jn,functions:()=>Tt,get:()=>Kt,groupBy:()=>qi,has:()=>$t,head:()=>no,identity:()=>Qt,include:()=>gi,includes:()=>gi,indexBy:()=>Mi,indexOf:()=>Vn,initial:()=>to,inject:()=>ni,intersection:()=>xo,invert:()=>Et,invoke:()=>yi,isArguments:()=>ye,isArray:()=>he,isArrayBuffer:()=>W,isBoolean:()=>L,isDataView:()=>Q,isDate:()=>j,isElement:()=>P,isEmpty:()=>He,isEqual:()=>Qe,isError:()=>V,isFinite:()=>be,isFunction:()=>X,isMap:()=>ct,isMatch:()=>Ze,isNaN:()=>xe,isNull:()=>O,isNumber:()=>F,isObject:()=>I,isRegExp:()=>U,isSet:()=>ht,isString:()=>M,isSymbol:()=>H,isTypedArray:()=>Ce,isUndefined:()=>C,isWeakMap:()=>ft,isWeakSet:()=>pt,iteratee:()=>lr,keys:()=>Ue,last:()=>so,lastIndexOf:()=>Hn,map:()=>ei,mapObject:()=>pr,matcher:()=>tr,matches:()=>tr,max:()=>ki,memoize:()=>cn,methods:()=>Tt,min:()=>Si,mixin:()=>Po,negate:()=>xn,noop:()=>mr,now:()=>xr,object:()=>Io,omit:()=>$i,once:()=>Dn,pairs:()=>_t,partial:()=>Jr,partition:()=>ji,pick:()=>Yi,pluck:()=>bi,property:()=>nr,propertyOf:()=>yr,random:()=>_r,range:()=>Oo,reduce:()=>ni,reduceRight:()=>ii,reject:()=>ci,rest:()=>oo,restArguments:()=>S,result:()=>Hr,sample:()=>Ai,select:()=>ui,shuffle:()=>Ri,size:()=>Gi,some:()=>di,sortBy:()=>Bi,sortedIndex:()=>Fn,tail:()=>oo,take:()=>no,tap:()=>jt,template:()=>Ur,templateSettings:()=>Or,throttle:()=>gn,times:()=>wr,toArray:()=>Di,toPath:()=>Vt,transpose:()=>ko,unescape:()=>Dr,union:()=>wo,uniq:()=>vo,unique:()=>vo,uniqueId:()=>Gr,unzip:()=>ko,values:()=>wt,where:()=>xi,without:()=>po,wrap:()=>bn,zip:()=>To}),Uo=r(()=>{T(),N(),D(),A(),R(),B(),z(),te(),re(),ne(),ie(),oe(),ae(),se(),pe(),de(),ue(),we(),_e(),Ee(),qe(),We(),Ge(),et(),mt(),gt(),yt(),vt(),Ve(),ut(),bt(),xt(),kt(),St(),Ct(),Rt(),Lt(),qt(),Ft(),Ut(),Yt(),Jt(),dr(),er(),Te(),gr(),Ht(),ir(),vr(),rr(),br(),Er(),kr(),zr(),Mr(),Fr(),Vr(),Zr(),Xr(),Yr(),cr(),rn(),nn(),ln(),pn(),dn(),mn(),yn(),wn(),_n(),En(),Tn(),Nn(),On(),An(),Rn(),qn(),Mn(),jn(),Zn(),Gn(),Kn(),$n(),Qn(),ti(),ai(),si(),li(),fi(),pi(),mi(),vi(),wi(),_i(),Ei(),Ti(),Ii(),Li(),Ci(),Pi(),Vi(),Hi(),Wi(),Zi(),Oi(),Xi(),Qi(),eo(),io(),ro(),uo(),ao(),co(),mo(),yo(),bo(),_o(),Eo(),go(),So(),No(),Do(),Ao(),Ro(),Mo(),Fo()}),Vo=r(()=>{Uo(),(qo=Po(jo))._=qo}),Ho=/* @__PURE__ */n({VERSION:()=>o,after:()=>Sn,all:()=>hi,allKeys:()=>tt,any:()=>di,assign:()=>Dt,before:()=>In,bind:()=>Qr,bindAll:()=>sn,chain:()=>Kr,chunk:()=>Co,clone:()=>Mt,collect:()=>ei,compact:()=>lo,compose:()=>kn,constant:()=>ke,contains:()=>gi,countBy:()=>Fi,create:()=>zt,debounce:()=>vn,default:()=>qo,defaults:()=>Ot,defer:()=>hn,delay:()=>fn,detect:()=>Xn,difference:()=>ho,drop:()=>oo,each:()=>Jn,escape:()=>Nr,every:()=>hi,extend:()=>It,extendOwn:()=>Dt,filter:()=>ui,find:()=>Xn,findIndex:()=>Bn,findKey:()=>Cn,findLastIndex:()=>Pn,findWhere:()=>Yn,first:()=>no,flatten:()=>fo,foldl:()=>ni,foldr:()=>ii,forEach:()=>Jn,functions:()=>Tt,get:()=>Kt,groupBy:()=>qi,has:()=>$t,head:()=>no,identity:()=>Qt,include:()=>gi,includes:()=>gi,indexBy:()=>Mi,indexOf:()=>Vn,initial:()=>to,inject:()=>ni,intersection:()=>xo,invert:()=>Et,invoke:()=>yi,isArguments:()=>ye,isArray:()=>he,isArrayBuffer:()=>W,isBoolean:()=>L,isDataView:()=>Q,isDate:()=>j,isElement:()=>P,isEmpty:()=>He,isEqual:()=>Qe,isError:()=>V,isFinite:()=>be,isFunction:()=>X,isMap:()=>ct,isMatch:()=>Ze,isNaN:()=>xe,isNull:()=>O,isNumber:()=>F,isObject:()=>I,isRegExp:()=>U,isSet:()=>ht,isString:()=>M,isSymbol:()=>H,isTypedArray:()=>Ce,isUndefined:()=>C,isWeakMap:()=>ft,isWeakSet:()=>pt,iteratee:()=>lr,keys:()=>Ue,last:()=>so,lastIndexOf:()=>Hn,map:()=>ei,mapObject:()=>pr,matcher:()=>tr,matches:()=>tr,max:()=>ki,memoize:()=>cn,methods:()=>Tt,min:()=>Si,mixin:()=>Po,negate:()=>xn,noop:()=>mr,now:()=>xr,object:()=>Io,omit:()=>$i,once:()=>Dn,pairs:()=>_t,partial:()=>Jr,partition:()=>ji,pick:()=>Yi,pluck:()=>bi,property:()=>nr,propertyOf:()=>yr,random:()=>_r,range:()=>Oo,reduce:()=>ni,reduceRight:()=>ii,reject:()=>ci,rest:()=>oo,restArguments:()=>S,result:()=>Hr,sample:()=>Ai,select:()=>ui,shuffle:()=>Ri,size:()=>Gi,some:()=>di,sortBy:()=>Bi,sortedIndex:()=>Fn,tail:()=>oo,take:()=>no,tap:()=>jt,template:()=>Ur,templateSettings:()=>Or,throttle:()=>gn,times:()=>wr,toArray:()=>Di,toPath:()=>Vt,transpose:()=>ko,unescape:()=>Dr,union:()=>wo,uniq:()=>vo,unique:()=>vo,uniqueId:()=>Gr,unzip:()=>ko,values:()=>wt,where:()=>xi,without:()=>po,wrap:()=>bn,zip:()=>To}),Wo=r(()=>{Vo(),Uo()}),Zo=/* @__PURE__ */i(t=>{var r=(Wo(),e(Ho));t.defer=a,t.Promise=Promise,t.resolve=Promise.resolve.bind(Promise),t.reject=Promise.reject.bind(Promise),t.forEachSeries=function(e,t){var r=0,n=a(),i=function(){if(r<e.length){var o=e[r];r++,t(o).then(i,n.reject)}else n.resolve()};return i(),n.promise};var n=t.props=function(e){var t=Object.keys(e),r=Object.values(e);return o(Promise.all(r).then(function(e){for(var r={},n=0;n<t.length;n++)r[t[n]]=e[n];return r}))},i=function(e){return o(this.then(function(t){return n(r.extend({},t,e(t)))}))};function o(e){return e.also=i,e}function a(){var e,t,r=new Promise(function(r,n){e=r,t=n});return{resolve:e,reject:t,promise:r}}function s(e){var t=new Promise(e);return t.__proto__=s.prototype,t}t.try=function(e){try{return Promise.resolve(e())}catch(t){return Promise.reject(t)}},s.__proto__=Promise,s.prototype.__proto__=Promise.prototype,s.prototype.done=function(e,t){return this.then(e,t).catch(function(e){if("undefined"!=typeof process&&"[object process]"==={}.toString.call(process).toLowerCase()){var t=e instanceof Error?e.stack:e;process.stderr.write("Fatal "+t+"\n"),process.exit(2)}else setTimeout(function(){throw e},0)})},t.toExternalPromise=function(e){return s.resolve(e)}}),Go=/* @__PURE__ */i(t=>{var r=(Wo(),e(Ho)),n=t.types={document:"document",paragraph:"paragraph",run:"run",text:"text",tab:"tab",checkbox:"checkbox",hyperlink:"hyperlink",noteReference:"noteReference",image:"image",note:"note",commentReference:"commentReference",comment:"comment",table:"table",tableRow:"tableRow",tableCell:"tableCell",break:"break",bookmarkStart:"bookmarkStart"},i={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function o(e){this._notes=r.indexBy(e,function(e){return a(e.noteType,e.noteId)})}function a(e,t){return e+"-"+t}function s(e){return{type:n.break,breakType:e}}o.prototype.resolve=function(e){return this.findNoteByKey(a(e.noteType,e.noteId))},o.prototype.findNoteByKey=function(e){return this._notes[e]||null},t.document=t.Document=function(e,t){return{type:n.document,children:e,notes:(t=t||{}).notes||new o({}),comments:t.comments||[]}},t.paragraph=t.Paragraph=function(e,t){var r=(t=t||{}).indent||{};return{type:n.paragraph,children:e,styleId:t.styleId||null,styleName:t.styleName||null,numbering:t.numbering||null,alignment:t.alignment||null,indent:{start:r.start||null,end:r.end||null,firstLine:r.firstLine||null,hanging:r.hanging||null}}},t.run=t.Run=function(e,t){return{type:n.run,children:e,styleId:(t=t||{}).styleId||null,styleName:t.styleName||null,isBold:!!t.isBold,isUnderline:!!t.isUnderline,isItalic:!!t.isItalic,isStrikethrough:!!t.isStrikethrough,isAllCaps:!!t.isAllCaps,isSmallCaps:!!t.isSmallCaps,verticalAlignment:t.verticalAlignment||i.baseline,font:t.font||null,fontSize:t.fontSize||null,highlight:t.highlight||null}},t.text=t.Text=function(e){return{type:n.text,value:e}},t.tab=t.Tab=function(){return{type:n.tab}},t.checkbox=t.Checkbox=function(e){return{type:n.checkbox,checked:e.checked}},t.Hyperlink=function(e,t){return{type:n.hyperlink,children:e,href:t.href,anchor:t.anchor,targetFrame:t.targetFrame}},t.noteReference=t.NoteReference=function(e){return{type:n.noteReference,noteType:e.noteType,noteId:e.noteId}},t.Notes=o,t.Note=function(e){return{type:n.note,noteType:e.noteType,noteId:e.noteId,body:e.body}},t.commentReference=function(e){return{type:n.commentReference,commentId:e.commentId}},t.comment=function(e){return{type:n.comment,commentId:e.commentId,body:e.body,authorName:e.authorName,authorInitials:e.authorInitials}},t.Image=function(e){return{type:n.image,read:function(t){return t?e.readImage(t):e.readImage().then(function(e){return Buffer.from(e)})},readAsArrayBuffer:function(){return e.readImage()},readAsBase64String:function(){return e.readImage("base64")},readAsBuffer:function(){return e.readImage().then(function(e){return Buffer.from(e)})},altText:e.altText,contentType:e.contentType}},t.Table=function(e,t){return{type:n.table,children:e,styleId:(t=t||{}).styleId||null,styleName:t.styleName||null}},t.TableRow=function(e,t){return{type:n.tableRow,children:e,isHeader:(t=t||{}).isHeader||!1}},t.TableCell=function(e,t){return{type:n.tableCell,children:e,colSpan:null==(t=t||{}).colSpan?1:t.colSpan,rowSpan:null==t.rowSpan?1:t.rowSpan}},t.lineBreak=s("line"),t.pageBreak=s("page"),t.columnBreak=s("column"),t.BookmarkStart=function(e){return{type:n.bookmarkStart,name:e.name}},t.verticalAlignment=i}),Xo=/* @__PURE__ */i(t=>{var r=(Wo(),e(Ho));function n(e,t){this.value=e,this.messages=t||[]}function i(e){var t=[];return r.flatten(r.pluck(e,"messages"),!0).forEach(function(e){(function(e,t){return void 0!==r.find(e,o.bind(null,t))})(t,e)||t.push(e)}),t}function o(e,t){return e.type===t.type&&e.message===t.message}t.Result=n,t.success=function(e){return new n(e,[])},t.warning=function(e){return{type:"warning",message:e}},t.error=function(e){return{type:"error",message:e.message,error:e}},n.prototype.map=function(e){return new n(e(this.value),this.messages)},n.prototype.flatMap=function(e){var t=e(this.value);return new n(t.value,i([this,t]))},n.prototype.flatMapThen=function(e){var t=this;return e(this.value).then(function(e){return new n(e.value,i([t,e]))})},n.combine=function(e){return new n(r.flatten(r.pluck(e,"value")),i(e))}}),Ko=/* @__PURE__ */i(e=>{e.byteLength=function(e){var t=a(e),r=t[0],n=t[1];return 3*(r+n)/4-n},e.toByteArray=function(e){for(var t,i=a(e),o=i[0],s=i[1],u=new n(function(e,t,r){return 3*(t+r)/4-r}(0,o,s)),l=0,c=s>0?o-4:o,f=0;f<c;f+=4)t=r[e.charCodeAt(f)]<<18|r[e.charCodeAt(f+1)]<<12|r[e.charCodeAt(f+2)]<<6|r[e.charCodeAt(f+3)],u[l++]=t>>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===s&&(t=r[e.charCodeAt(f)]<<2|r[e.charCodeAt(f+1)]>>4,u[l++]=255&t),1===s&&(t=r[e.charCodeAt(f)]<<10|r[e.charCodeAt(f+1)]<<4|r[e.charCodeAt(f+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u},e.fromByteArray=function(e){for(var r,n=e.length,i=n%3,o=[],a=16383,s=0,l=n-i;s<l;s+=a)o.push(u(e,s,s+a>l?l:s+a));return 1===i?(r=e[n-1],o.push(t[r>>2]+t[r<<4&63]+"==")):2===i&&(r=(e[n-2]<<8)+e[n-1],o.push(t[r>>10]+t[r>>4&63]+t[r<<2&63]+"=")),o.join("")};for(var t=[],r=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0;o<64;++o)t[o]=i[o],r[i.charCodeAt(o)]=o;function a(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function s(e){return t[e>>18&63]+t[e>>12&63]+t[e>>6&63]+t[63&e]}function u(e,t,r){for(var n,i=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(s(n));return i.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63}),Yo=/* @__PURE__ */i((e,r)=>{!function(t){"object"==typeof e&&void 0!==r?r.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JSZip=t()}(function(){return function e(r,n,i){function o(s,u){if(!n[s]){if(!r[s]){var l="function"==typeof t&&t;if(!u&&l)return l(s,!0);if(a)return a(s,!0);var c=/* @__PURE__ */new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var f=n[s]={exports:{}};r[s][0].call(f.exports,function(e){return o(r[s][1][e]||e)},f,f.exports,e,r,n,i)}return n[s].exports}for(var a="function"==typeof t&&t,s=0;s<i.length;s++)o(i[s]);return o}({1:[function(e,t,r){var n=e("./utils"),i=e("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(e){for(var t,r,i,a,s,u,l,c=[],f=0,h=e.length,p=h,d="string"!==n.getTypeOf(e);f<e.length;)p=h-f,i=d?(t=e[f++],r=f<h?e[f++]:0,f<h?e[f++]:0):(t=e.charCodeAt(f++),r=f<h?e.charCodeAt(f++):0,f<h?e.charCodeAt(f++):0),a=t>>2,s=(3&t)<<4|r>>4,u=1<p?(15&r)<<2|i>>6:64,l=2<p?63&i:64,c.push(o.charAt(a)+o.charAt(s)+o.charAt(u)+o.charAt(l));return c.join("")},r.decode=function(e){var t,r,n,a,s,u,l=0,c=0;if("data:"===e.substr(0,5))throw new Error("Invalid base64 input, it looks like a data url.");var f,h=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===o.charAt(64)&&h--,e.charAt(e.length-2)===o.charAt(64)&&h--,h%1!=0)throw new Error("Invalid base64 input, bad content length.");for(f=i.uint8array?new Uint8Array(0|h):new Array(0|h);l<e.length;)t=o.indexOf(e.charAt(l++))<<2|(a=o.indexOf(e.charAt(l++)))>>4,r=(15&a)<<4|(s=o.indexOf(e.charAt(l++)))>>2,n=(3&s)<<6|(u=o.indexOf(e.charAt(l++))),f[c++]=t,64!==s&&(f[c++]=r),64!==u&&(f[c++]=n);return f}},{"./support":30,"./utils":32}],2:[function(e,t,r){var n=e("./external"),i=e("./stream/DataWorker"),o=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");function s(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,t,r){return e.pipe(new o).pipe(new a("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new a("compressedSize")).withStreamInfo("compression",t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){var n=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){var n=e("./utils"),i=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,r){var n=i,o=0+r;e^=-1;for(var a=0;a<o;a++)e=e>>>8^n[255&(e^t[a])];return-1^e}(0|t,e,e.length):function(e,t,r){var n=i,o=0+r;e^=-1;for(var a=0;a<o;a++)e=e>>>8^n[255&(e^t.charCodeAt(a))];return-1^e}(0|t,e,e.length):0}},{"./utils":32}],5:[function(e,t,r){r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){var n;n="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:n}},{lie:37}],7:[function(e,t,r){var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),o=e("./utils"),a=e("./stream/GenericWorker"),s=n?"uint8array":"array";function u(e,t){a.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}r.magic="\b\0",o.inherits(u,a),u.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,e.data),!1)},u.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},u.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},u.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(e){return new u("Deflate",e)},r.uncompressWorker=function(){return new u("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,r){function n(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n}function i(e,t,r,i,a,c){var f,h,p=e.file,d=e.compression,m=c!==s.utf8encode,g=o.transformTo("string",c(p.name)),y=o.transformTo("string",s.utf8encode(p.name)),v=p.comment,w=o.transformTo("string",c(v)),b=o.transformTo("string",s.utf8encode(v)),_=y.length!==p.name.length,x=b.length!==v.length,E="",k="",T="",S=p.dir,N=p.date,I={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(I.crc32=e.crc32,I.compressedSize=e.compressedSize,I.uncompressedSize=e.uncompressedSize);var D=0;t&&(D|=8),m||!_&&!x||(D|=2048);var O=0,A=0;S&&(O|=16),"UNIX"===a?(A=798,O|=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16}(p.unixPermissions,S)):(A=20,O|=function(e){return 63&(e||0)}(p.dosPermissions)),f=N.getUTCHours(),f<<=6,f|=N.getUTCMinutes(),f<<=5,f|=N.getUTCSeconds()/2,h=N.getUTCFullYear()-1980,h<<=4,h|=N.getUTCMonth()+1,h<<=5,h|=N.getUTCDate(),_&&(k=n(1,1)+n(u(g),4)+y,E+="up"+n(k.length,2)+k),x&&(T=n(1,1)+n(u(w),4)+b,E+="uc"+n(T.length,2)+T);var C="";return C+="\n\0",C+=n(D,2),C+=d.magic,C+=n(f,2),C+=n(h,2),C+=n(I.crc32,4),C+=n(I.compressedSize,4),C+=n(I.uncompressedSize,4),C+=n(g.length,2),C+=n(E.length,2),{fileRecord:l.LOCAL_FILE_HEADER+C+g+E,dirRecord:l.CENTRAL_FILE_HEADER+n(A,2)+C+n(w.length,2)+"\0\0\0\0"+n(O,4)+n(i,4)+g+E+w}}var o=e("../utils"),a=e("../stream/GenericWorker"),s=e("../utf8"),u=e("../crc32"),l=e("../signature");function c(e,t,r,n){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(c,a),c.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,a.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},c.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:function(e){return l.DATA_DESCRIPTOR+n(e.crc32,4)+n(e.compressedSize,4)+n(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,i=function(e,t,r,i,a){var s=o.transformTo("string",a(i));return l.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(e,2)+n(e,2)+n(t,4)+n(r,4)+n(s.length,2)+s}(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},c.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},c.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(e){t.error(e)}),this},c.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},c.prototype.error=function(e){var t=this._sources;if(!a.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(e){}return!0},c.prototype.lock=function(){a.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=c},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,r){var n=e("../compressions"),i=e("./ZipFileWorker");r.generateWorker=function(e,t,r){var o=new i(t.streamFiles,r,t.platform,t.encodeFileName),a=0;try{e.forEach(function(e,r){a++;var i=function(e,t){var r=e||t,i=n[r];if(!i)throw new Error(r+" is not a valid compression method !");return i}(r.options.compression,t.compression),s=r.options.compressionOptions||t.compressionOptions||{},u=r.dir,l=r.date;r._compressWorker(i,s).withStreamInfo("file",{name:e,dir:u,date:l,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(o)}),o.entriesCount=a}catch(e){o.error(e)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,r){function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new n;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(n.prototype=e("./object")).loadAsync=e("./load"),n.support=e("./support"),n.defaults=e("./defaults"),n.version="3.10.2",n.loadAsync=function(e,t){return(new n).loadAsync(e,t)},n.external=e("./external"),t.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,r){var n=e("./utils"),i=e("./external"),o=e("./utf8"),a=e("./zipEntries"),s=e("./stream/Crc32Probe"),u=e("./nodejsUtils");function l(e){return new i.Promise(function(t,r){var n=e.decompressed.getContentWorker().pipe(new s);n.on("error",function(e){r(e)}).on("end",function(){n.streamInfo.crc32!==e.decompressed.crc32?r(/* @__PURE__ */new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}t.exports=function(e,t){var r=this;return t=n.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),u.isNode&&u.isStream(e)?i.Promise.reject(/* @__PURE__ */new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(e){var r=new a(t);return r.load(e),r}).then(function(e){var r=[i.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var o=0;o<n.length;o++)r.push(l(n[o]));return i.Promise.all(r)}).then(function(e){for(var i=e.shift(),o=i.files,a=0;a<o.length;a++){var s=o[a],u=s.fileNameStr,l=n.resolve(s.fileNameStr);r.file(l,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(r.file(l).unsafeOriginalName=u)}return i.zipComment.length&&(r.comment=i.zipComment),r})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,r){var n=e("../utils"),i=e("../stream/GenericWorker");function o(e,t){i.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}n.inherits(o,i),o.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",function(e){t.push({data:e,meta:{percent:0}})}).on("error",function(e){t.isPaused?this.generatedError=e:t.error(e)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})},o.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,r){var n=e("readable-stream").Readable;function i(e,t,r){n.call(this,t),this._helper=e;var i=this;e.on("data",function(e,t){i.push(e)||i._helper.pause(),r&&r(t)}).on("error",function(e){i.emit("error",e)}).on("end",function(){i.push(null)})}e("../utils").inherits(i,n),i.prototype._read=function(){this._helper.resume()},t.exports=i},{"../utils":32,"readable-stream":16}],14:[function(e,t,r){t.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,r){function n(e,t,r){var n,i=o.getTypeOf(t),s=o.extend(r||{},u);s.date=s.date||/* @__PURE__ */new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=m(e)),s.createFolders&&(n=d(e))&&g.call(this,n,!0);var f,y="string"===i&&!1===s.binary&&!1===s.base64;r&&void 0!==r.binary||(s.binary=!y),(t instanceof l&&0===t.uncompressedSize||s.dir||!t||0===t.length)&&(s.base64=!1,s.binary=!0,t="",s.compression="STORE",i="string"),f=t instanceof l||t instanceof a?t:h.isNode&&h.isStream(t)?new p(e,t):o.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var v=new c(e,f,s);this.files[e]=v}var i=e("./utf8"),o=e("./utils"),a=e("./stream/GenericWorker"),s=e("./stream/StreamHelper"),u=e("./defaults"),l=e("./compressedObject"),c=e("./zipObject"),f=e("./generate"),h=e("./nodejsUtils"),p=e("./nodejs/NodejsStreamInputAdapter"),d=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},m=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},g=function(e,t){return t=void 0!==t?t:u.createFolders,e=m(e),this.files[e]||n.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function y(e){return"[object RegExp]"===Object.prototype.toString.call(e)}t.exports={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,n;for(t in this.files)n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n)},filter:function(e){var t=[];return this.forEach(function(r,n){e(r,n)&&t.push(n)}),t},file:function(e,t,r){if(1!==arguments.length)return e=this.root+e,n.call(this,e,t,r),this;if(y(e)){var i=e;return this.filter(function(e,t){return!t.dir&&i.test(e)})}var o=this.files[this.root+e];return o&&!o.dir?o:null},folder:function(e){if(!e)return this;if(y(e))return this.filter(function(t,r){return r.dir&&e.test(t)});var t=this.root+e,r=g.call(this,t),n=this.clone();return n.root=r.name,n},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 r=this.filter(function(t,r){return r.name.slice(0,e.length)===e}),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r={};try{if((r=o.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");o.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var n=r.comment||this.comment||"";t=f.generateWorker(this,r,n)}catch(e){(t=new a("error")).error(e)}return new s(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}}},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,r){t.exports=e("stream")},{stream:void 0}],17:[function(e,t,r){var n=e("./DataReader");function i(e){n.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(i,n),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===t&&this.data[o+1]===r&&this.data[o+2]===n&&this.data[o+3]===i)return o-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&r===o[1]&&n===o[2]&&i===o[3]},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],18:[function(e,t,r){var n=e("../utils");function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+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(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return n.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,r){var n=e("./Uint8ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,r){var n=e("./DataReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,r){var n=e("./ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){if(this.checkOffset(e),0===e/* @__PURE__ */)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,r){var n=e("../utils"),i=e("../support"),o=e("./ArrayReader"),a=e("./StringReader"),s=e("./NodeBufferReader"),u=e("./Uint8ArrayReader");t.exports=function(e){var t=n.getTypeOf(e);return n.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new s(e):i.uint8array?new u(n.transformTo("uint8array",e)):new o(n.transformTo("array",e)):new a(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,r){r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,r){var n=e("./GenericWorker"),i=e("../utils");function o(e){n.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(o,n),o.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,r){var n=e("./GenericWorker"),i=e("../crc32");function o(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(o,n),o.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,r){var n=e("../utils"),i=e("./GenericWorker");function o(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}n.inherits(o,i),o.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,r){var n=e("../utils"),i=e("./GenericWorker");function o(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=n.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}n.inherits(o,i),o.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,r){function n(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.end()}),e.on("error",function(e){t.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=n},{}],29:[function(e,t,r){var n=e("../utils"),i=e("./ConvertWorker"),o=e("./GenericWorker"),a=e("../base64"),s=e("../support"),u=e("../external"),l=null;if(s.nodestream)try{l=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function c(e,t,r){var a=t;switch(t){case"blob":case"arraybuffer":a="uint8array";break;case"base64":a="string"}try{this._internalType=a,this._outputType=t,this._mimeType=r,n.checkSupport(a),this._worker=e.pipe(new i(a)),e.lock()}catch(e){this._worker=new o("error"),this._worker.error(e)}}c.prototype={accumulate:function(e){return function(e,t){return new u.Promise(function(r,i){var o=[],s=e._internalType,u=e._outputType,l=e._mimeType;e.on("data",function(e,r){o.push(e),t&&t(r)}).on("error",function(e){o=[],i(e)}).on("end",function(){try{r(function(e,t,r){switch(e){case"blob":return n.newBlob(n.transformTo("arraybuffer",t),r);case"base64":return a.encode(t);default:return n.transformTo(e,t)}}(u,function(e,t){var r,n=0,i=null,o=0;for(r=0;r<t.length;r++)o+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(o),r=0;r<t.length;r++)i.set(t[r],n),n+=t[r].length;return i;case"nodebuffer":return Buffer.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(s,o),l))}catch(e){i(e)}o=[]}).resume()})}(this,e)},on:function(e,t){var r=this;return"data"===e?this._worker.on(e,function(e){t.call(r,e.data,e.meta)}):this._worker.on(e,function(){n.delay(t,arguments,r)}),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(n.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new l(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=c},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,r){if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,r.nodebuffer="undefined"!=typeof Buffer,r.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)r.blob=!1;else{var n=/* @__PURE__ */new ArrayBuffer(0);try{r.blob=0===new Blob([n],{type:"application/zip"}).size}catch(e){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(n),r.blob=0===i.getBlob("application/zip").size}catch(e){r.blob=!1}}}try{r.nodestream=!!e("readable-stream").Readable}catch(e){r.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,r){for(var n=e("./utils"),i=e("./support"),o=e("./nodejsUtils"),a=e("./stream/GenericWorker"),s=new Array(256),u=0;u<256;u++)s[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;function l(){a.call(this,"utf-8 decode"),this.leftOver=null}function c(){a.call(this,"utf-8 encode")}s[254]=s[254]=1,r.utf8encode=function(e){return i.nodebuffer?o.newBufferFrom(e,"utf-8"):function(e){var t,r,n,o,a,s=e.length,u=0;for(o=0;o<s;o++)55296==(64512&(r=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(n=e.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(n-56320),o++),u+=r<128?1:r<2048?2:r<65536?3:4;for(t=i.uint8array?new Uint8Array(u):new Array(u),o=a=0;a<u;o++)55296==(64512&(r=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(n=e.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(n-56320),o++),r<128?t[a++]=r:(r<2048?t[a++]=192|r>>>6:(r<65536?t[a++]=224|r>>>12:(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63),t[a++]=128|r>>>6&63),t[a++]=128|63&r);return t}(e)},r.utf8decode=function(e){return i.nodebuffer?n.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,r,i,o,a=e.length,u=new Array(2*a);for(t=r=0;t<a;)if((i=e[t++])<128)u[r++]=i;else if(4<(o=s[i]))u[r++]=65533,t+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&t<a;)i=i<<6|63&e[t++],o--;1<o?u[r++]=65533:i<65536?u[r++]=i:(i-=65536,u[r++]=55296|i>>10&1023,u[r++]=56320|1023&i)}return u.length!==r&&(u.subarray?u=u.subarray(0,r):u.length=r),n.applyFromCharCode(u)}(e=n.transformTo(i.uint8array?"uint8array":"array",e))},n.inherits(l,a),l.prototype.processChunk=function(e){var t=n.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var o=t;(t=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),t.set(o,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var a=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t}(t),u=t;a!==t.length&&(i.uint8array?(u=t.subarray(0,a),this.leftOver=t.subarray(a,t.length)):(u=t.slice(0,a),this.leftOver=t.slice(a,t.length))),this.push({data:r.utf8decode(u),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=l,n.inherits(c,a),c.prototype.processChunk=function(e){this.push({data:r.utf8encode(e.data),meta:e.meta})},r.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,r){var n=e("./support"),i=e("./base64"),o=e("./nodejsUtils"),a=e("./external");function s(e){return e}function u(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}e("setimmediate"),r.newBlob=function(t,n){r.checkSupport("blob");try{return new Blob([t],{type:n})}catch(e){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return i.append(t),i.getBlob(n)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var l={stringifyByChunk:function(e,t,r){var n=[],i=0,o=e.length;if(o<=r)return String.fromCharCode.apply(null,e);for(;i<o;)"array"===t||"nodebuffer"===t?n.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,o)))):n.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,o)))),i+=r;return n.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&1===String.fromCharCode.apply(null,/* @__PURE__ */new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(e){return!1}}()}};function c(e){var t=65536,n=r.getTypeOf(e),i=!0;if("uint8array"===n?i=l.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=l.applyCanBeUsed.nodebuffer),i)for(;1<t;)try{return l.stringifyByChunk(e,n,t)}catch(e){t=Math.floor(t/2)}return l.stringifyByChar(e)}function f(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}r.applyFromCharCode=c;var h={};h.string={string:s,array:function(e){return u(e,new Array(e.length))},arraybuffer:function(e){return h.string.uint8array(e).buffer},uint8array:function(e){return u(e,new Uint8Array(e.length))},nodebuffer:function(e){return u(e,o.allocBuffer(e.length))}},h.array={string:c,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(e)}},h.arraybuffer={string:function(e){return c(new Uint8Array(e))},array:function(e){return f(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(new Uint8Array(e))}},h.uint8array={string:c,array:function(e){return f(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return o.newBufferFrom(e)}},h.nodebuffer={string:c,array:function(e){return f(e,new Array(e.length))},arraybuffer:function(e){return h.nodebuffer.uint8array(e).buffer},uint8array:function(e){return f(e,new Uint8Array(e.length))},nodebuffer:s},r.transformTo=function(e,t){return t=t||"",e?(r.checkSupport(e),h[r.getTypeOf(t)][e](t)):t},r.resolve=function(e){for(var t=e.split("/"),r=[],n=0;n<t.length;n++){var i=t[n];"."===i||""===i&&0!==n&&n!==t.length-1||(".."===i?r.pop():r.push(i))}return r.join("/")},r.getTypeOf=function(e){if("string"==typeof e)return"string";var t=Object.prototype.toString.call(e);return"[object Array]"===t?"array":n.nodebuffer&&o.isBuffer(e)?"nodebuffer":n.uint8array&&"[object Uint8Array]"===t?"uint8array":n.arraybuffer&&"[object ArrayBuffer]"===t?"arraybuffer":void 0},r.checkSupport=function(e){if(!n[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)n+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return n},r.delay=function(e,t,r){setImmediate(function(){e.apply(r||null,t||[])})},r.inherits=function(e,t){function r(){}r.prototype=t.prototype,e.prototype=new r},r.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},r.prepareContent=function(e,t,o,s,l){return a.Promise.resolve(t).then(function(t){return n.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))?void 0!==Blob.prototype.arrayBuffer?t.arrayBuffer():"undefined"!=typeof FileReader?new a.Promise(function(e,r){var n=new FileReader;n.onload=function(t){e(t.target.result)},n.onerror=function(e){r(e.target.error)},n.readAsArrayBuffer(t)}):a.Promise.reject(/* @__PURE__ */new Error(e+" is a Blob, but we have no way of reading it.")):t}).then(function(t){var c=r.getTypeOf(t);return c?("arraybuffer"===c?t=r.transformTo("uint8array",t):"string"===c&&(l?t=i.decode(t):o&&!0!==s&&(t=function(e){return u(e,n.uint8array?new Uint8Array(e.length):new Array(e.length))}(t))),t):a.Promise.reject(/* @__PURE__ */new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,r){var n=e("./reader/readerFor"),i=e("./utils"),o=e("./signature"),a=e("./zipEntry"),s=e("./support");function u(e){this.files=[],this.loadOptions=e}u.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;return this.reader.setIndex(r),n},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);var e=this.reader.readData(this.zipCommentLength),t=s.uint8array?"uint8array":"array",r=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),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,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){for(var e,t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(e=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?/* @__PURE__ */new Error("Corrupted zip: can't find end of central directory"):/* @__PURE__ */new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(0<n)this.isSignature(t,o.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){this.reader=n(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=u},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,r){var n=e("./reader/readerFor"),i=e("./utils"),o=e("./compressedObject"),a=e("./crc32"),s=e("./utf8"),u=e("./compressions"),l=e("./support");function c(e,t){this.options=e,this.loadOptions=t}c.prototype={isEncrypted:function(){return!(1&~this.bitFlag)},useUTF8:function(){return!(2048&~this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in u)if(Object.prototype.hasOwnProperty.call(u,t)&&u[t].magic===e)return u[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(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);var t=e.readInt(2);if(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");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n};e.setIndex(i)},handleUTF8:function(){var e=l.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var o=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=n(e.value);return 1!==t.readInt(1)||a(this.fileName)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=n(e.value);return 1!==t.readInt(1)||a(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null}},t.exports=c},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,r){function n(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}}var i=e("./stream/StreamHelper"),o=e("./stream/DataWorker"),a=e("./utf8"),s=e("./compressedObject"),u=e("./stream/GenericWorker");n.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");var n="string"===(r=e.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),t=this._decompressWorker();var o=!this._dataBinary;o&&!n&&(t=t.pipe(new a.Utf8EncodeWorker)),!o&&n&&(t=t.pipe(new a.Utf8DecodeWorker))}catch(e){(t=new u("error")).error(e)}return new i(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof s&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new a.Utf8EncodeWorker)),s.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof u?this._data:new o(this._data)}};for(var l=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},f=0;f<l.length;f++)n.prototype[l[f]]=c;t.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,r){(function(e){var r,n,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var o=0,a=new i(c),s=e.document.createTextNode("");a.observe(s,{characterData:!0}),r=function(){s.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)r="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){c(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(c,0)};else{var u=new e.MessageChannel;u.port1.onmessage=c,r=function(){u.port2.postMessage(0)}}var l=[];function c(){var e,t;n=!0;for(var r=l.length;r;){for(t=l,l=[],e=-1;++e<r;)t[e]();r=l.length}n=!1}t.exports=function(e){1!==l.push(e)||n||r()}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,r){var n=e("immediate");function i(){}var o={},a=["REJECTED"],s=["FULFILLED"],u=["PENDING"];function l(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,e!==i&&p(this,e)}function c(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function f(e,t,r){n(function(){var n;try{n=t(r)}catch(n){return o.reject(e,n)}n===e?o.reject(e,/* @__PURE__ */new TypeError("Cannot resolve promise with itself")):o.resolve(e,n)})}function h(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function p(e,t){var r=!1;function n(t){r||(r=!0,o.reject(e,t))}function i(t){r||(r=!0,o.resolve(e,t))}var a=d(function(){t(i,n)});"error"===a.status&&n(a.value)}function d(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}(t.exports=l).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})},l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===a)return this;var r=new this.constructor(i);return this.state!==u?f(r,this.state===s?e:t,this.outcome):this.queue.push(new c(r,e,t)),r},c.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},c.prototype.otherCallFulfilled=function(e){f(this.promise,this.onFulfilled,e)},c.prototype.callRejected=function(e){o.reject(this.promise,e)},c.prototype.otherCallRejected=function(e){f(this.promise,this.onRejected,e)},o.resolve=function(e,t){var r=d(h,t);if("error"===r.status)return o.reject(e,r.value);var n=r.value;if(n)p(e,n);else{e.state=s,e.outcome=t;for(var i=-1,a=e.queue.length;++i<a;)e.queue[i].callFulfilled(t)}return e},o.reject=function(e,t){e.state=a,e.outcome=t;for(var r=-1,n=e.queue.length;++r<n;)e.queue[r].callRejected(t);return e},l.resolve=function(e){return e instanceof this?e:o.resolve(new this(i),e)},l.reject=function(e){var t=new this(i);return o.reject(t,e)},l.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(/* @__PURE__ */new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var a=new Array(r),s=0,u=-1,l=new this(i);++u<r;)c(e[u],u);return l;function c(e,i){t.resolve(e).then(function(e){a[i]=e,++s!==r||n||(n=!0,o.resolve(l,a))},function(e){n||(n=!0,o.reject(l,e))})}},l.race=function(e){if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(/* @__PURE__ */new TypeError("must be an array"));var t=e.length,r=!1;if(!t)return this.resolve([]);for(var n,a=-1,s=new this(i);++a<t;)n=e[a],this.resolve(n).then(function(e){r||(r=!0,o.resolve(s,e))},function(e){r||(r=!0,o.reject(s,e))});return s}},{immediate:36}],38:[function(e,t,r){var n={};(0,e("./lib/utils/common").assign)(n,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,r){var n=e("./zlib/deflate"),i=e("./utils/common"),o=e("./utils/strings"),a=e("./zlib/messages"),s=e("./zlib/zstream"),u=Object.prototype.toString;function l(e){if(!(this instanceof l))return new l(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&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&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 r=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==r)throw new Error(a[r]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var c="string"==typeof t.dictionary?o.string2buf(t.dictionary):"[object ArrayBuffer]"===u.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary;if(0!==(r=n.deflateSetDictionary(this.strm,c)))throw new Error(a[r]);this._dict_set=!0}}function c(e,t){var r=new l(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}l.prototype.push=function(e,t){var r,a,s=this.strm,l=this.options.chunkSize;if(this.ended)return!1;a=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=o.string2buf(e):"[object ArrayBuffer]"===u.call(e)?s.input=new Uint8Array(e):s.input=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!==(r=n.deflate(s,a))&&0!==r)return this.onEnd(r),!(this.ended=!0);0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||0===s.avail_out)&&1!==r);return 4===a?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==a||(this.onEnd(0),!(s.avail_out=0))},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},r.Deflate=l,r.deflate=c,r.deflateRaw=function(e,t){return(t=t||{}).raw=!0,c(e,t)},r.gzip=function(e,t){return(t=t||{}).gzip=!0,c(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,r){var n=e("./zlib/inflate"),i=e("./utils/common"),o=e("./utils/strings"),a=e("./zlib/constants"),s=e("./zlib/messages"),u=e("./zlib/zstream"),l=e("./zlib/gzheader"),c=Object.prototype.toString;function f(e){if(!(this instanceof f))return new f(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&!(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==a.Z_OK)throw new Error(s[r]);this.header=new l,n.inflateGetHeader(this.strm,this.header)}function h(e,t){var r=new f(t);if(r.push(e,!0),r.err)throw r.msg||s[r.err];return r.result}f.prototype.push=function(e,t){var r,s,u,l,f,h,p=this.strm,d=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof e?p.input=o.binstring2buf(e):"[object ArrayBuffer]"===c.call(e)?p.input=new Uint8Array(e):p.input=e,p.next_in=0,p.avail_in=p.input.length;do{if(0===p.avail_out&&(p.output=new i.Buf8(d),p.next_out=0,p.avail_out=d),(r=n.inflate(p,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&m&&(h="string"==typeof m?o.string2buf(m):"[object ArrayBuffer]"===c.call(m)?new Uint8Array(m):m,r=n.inflateSetDictionary(this.strm,h)),r===a.Z_BUF_ERROR&&!0===g&&(r=a.Z_OK,g=!1),r!==a.Z_STREAM_END&&r!==a.Z_OK)return this.onEnd(r),!(this.ended=!0);p.next_out&&(0!==p.avail_out&&r!==a.Z_STREAM_END&&(0!==p.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(u=o.utf8border(p.output,p.next_out),l=p.next_out-u,f=o.buf2string(p.output,u),p.next_out=l,p.avail_out=d-l,l&&i.arraySet(p.output,p.output,u,l,0),this.onData(f)):this.onData(i.shrinkBuf(p.output,p.next_out)))),0===p.avail_in&&0===p.avail_out&&(g=!0)}while((0<p.avail_in||0===p.avail_out)&&r!==a.Z_STREAM_END);return r===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(p.avail_out=0))},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===a.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},r.Inflate=f,r.inflate=h,r.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},r.ungzip=h},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,r){var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}}return e},r.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,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks:function(e){for(var t,r,n,i,o=t=0,a=e.length;o<a;o++)t+=e[o].length;for(i=new Uint8Array(t),o=r=0,a=e.length;o<a;o++)n=e[o],i.set(n,r),r+=n.length;return i}},o={arraySet:function(e,t,r,n,i){for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks:function(e){return[].concat.apply([],e)}};r.setTyped=function(e){e?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,i)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,o))},r.setTyped(n)},{}],42:[function(e,t,r){var n=e("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,/* @__PURE__ */new Uint8Array(1))}catch(e){o=!1}for(var a=new n.Buf8(256),s=0;s<256;s++)a[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function u(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",a=0;a<t;a++)r+=String.fromCharCode(e[a]);return r}a[254]=a[254]=1,r.string2buf=function(e){var t,r,i,o,a,s=e.length,u=0;for(o=0;o<s;o++)55296==(64512&(r=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(i-56320),o++),u+=r<128?1:r<2048?2:r<65536?3:4;for(t=new n.Buf8(u),o=a=0;a<u;o++)55296==(64512&(r=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(i-56320),o++),r<128?t[a++]=r:(r<2048?t[a++]=192|r>>>6:(r<65536?t[a++]=224|r>>>12:(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63),t[a++]=128|r>>>6&63),t[a++]=128|63&r);return t},r.buf2binstring=function(e){return u(e,e.length)},r.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r<i;r++)t[r]=e.charCodeAt(r);return t},r.buf2string=function(e,t){var r,n,i,o,s=t||e.length,l=new Array(2*s);for(r=n=0;r<s;)if((i=e[r++])<128)l[n++]=i;else if(4<(o=a[i]))l[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&r<s;)i=i<<6|63&e[r++],o--;1<o?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return u(l,n)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+a[e[r]]>t?r:t}},{"./common":41}],43:[function(e,t,r){t.exports=function(e,t,r,n){for(var i=65535&e,o=e>>>16&65535,a=0;0!==r;){for(r-=a=2e3<r?2e3:r;o=o+(i=i+t[n++]|0)|0,--a;);i%=65521,o%=65521}return i|o<<16}},{}],44:[function(e,t,r){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}},{}],45:[function(e,t,r){var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,i){var o=n,a=i+r;e^=-1;for(var s=i;s<a;s++)e=e>>>8^o[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,r){var n,i=e("../utils/common"),o=e("./trees"),a=e("./adler32"),s=e("./crc32"),u=e("./messages"),l=-2,c=258,f=262,h=113;function p(e,t){return e.msg=u[t],t}function d(e){return(e<<1)-(4<e?9:0)}function m(e){for(var t=e.length;0<=--t;)e[t]=0}function g(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function y(e,t){o._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,g(e.strm)}function v(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 b(e,t){var r,n,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-f?e.strstart-(e.w_size-f):0,l=e.window,h=e.w_mask,p=e.prev,d=e.strstart+c,m=l[o+a-1],g=l[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(r=t)+a]===g&&l[r+a-1]===m&&l[r]===l[o]&&l[++r]===l[o+1]){o+=2,r++;do{}while(l[++o]===l[++r]&&l[++o]===l[++r]&&l[++o]===l[++r]&&l[++o]===l[++r]&&l[++o]===l[++r]&&l[++o]===l[++r]&&l[++o]===l[++r]&&l[++o]===l[++r]&&o<d);if(n=c-(d-o),o=d-c,a<n){if(e.match_start=t,s<=(a=n))break;m=l[o+a-1],g=l[o+a]}}}while((t=p[t&h])>u&&0!=--i);return a<=e.lookahead?a:e.lookahead}function _(e){var t,r,n,o,u,l,c,h,p,d,m=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-f)){for(i.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=r=e.hash_size;n=e.head[--t],e.head[t]=m<=n?n-m:0,--r;);for(t=r=m;n=e.prev[--t],e.prev[t]=m<=n?n-m:0,--r;);o+=m}if(0===e.strm.avail_in)break;if(l=e.strm,c=e.window,h=e.strstart+e.lookahead,d=void 0,(p=o)<(d=l.avail_in)&&(d=p),r=0===d?0:(l.avail_in-=d,i.arraySet(c,l.input,l.next_in,d,h),1===l.state.wrap?l.adler=a(l.adler,c,d,h):2===l.state.wrap&&(l.adler=s(l.adler,c,d,h)),l.next_in+=d,l.total_in+=d,d),e.lookahead+=r,e.lookahead+e.insert>=3)for(u=e.strstart-e.insert,e.ins_h=e.window[u],e.ins_h=(e.ins_h<<e.hash_shift^e.window[u+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[u+3-1])&e.hash_mask,e.prev[u&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=u,u++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<f&&0!==e.strm.avail_in)}function x(e,t){for(var r,n;;){if(e.lookahead<f){if(_(e),e.lookahead<f&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-f&&(e.match_length=b(e,r)),e.match_length>=3)if(n=o._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){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,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 n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(y(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(y(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(y(e,!1),0===e.strm.avail_out)?1:2}function E(e,t){for(var r,n,i;;){if(e.lookahead<f){if(_(e),e.lookahead<f&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=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!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-f&&(e.match_length=b(e,r),e.match_length<=5&&(1===e.strategy||3===e.match_length&&4096<e.strstart-e.match_start)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-3,n=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=2,e.strstart++,n&&(y(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((n=o._tr_tally(e,0,e.window[e.strstart-1]))&&y(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&&(n=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(y(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(y(e,!1),0===e.strm.avail_out)?1:2}function k(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,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 i.Buf16(1146),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.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 i.Buf16(16),this.heap=new i.Buf16(573),m(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.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 S(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,o._tr_init(t),0):p(e,l)}function N(e){var t=S(e);return 0===t&&function(e){e.window_size=2*e.w_size,m(e.head),e.max_lazy_match=n[e.level].max_lazy,e.good_match=n[e.level].good_length,e.nice_match=n[e.level].nice_length,e.max_chain_length=n[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,r,n,o,a){if(!e)return l;var s=1;if(-1===t&&(t=6),n<0?(s=0,n=-n):15<n&&(s=2,n-=16),o<1||9<o||8!==r||n<8||15<n||t<0||9<t||a<0||4<a)return p(e,l);8===n&&(n=9);var u=new T;return(e.state=u).strm=e,u.wrap=s,u.gzhead=null,u.w_bits=n,u.w_size=1<<u.w_bits,u.w_mask=u.w_size-1,u.hash_bits=o+7,u.hash_size=1<<u.hash_bits,u.hash_mask=u.hash_size-1,u.hash_shift=~~((u.hash_bits+3-1)/3),u.window=new i.Buf8(2*u.w_size),u.head=new i.Buf16(u.hash_size),u.prev=new i.Buf16(u.w_size),u.lit_bufsize=1<<o+6,u.pending_buf_size=4*u.lit_bufsize,u.pending_buf=new i.Buf8(u.pending_buf_size),u.d_buf=1*u.lit_bufsize,u.l_buf=3*u.lit_bufsize,u.level=t,u.strategy=a,u.method=r,N(e)}n=[new k(0,0,0,0,function(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(_(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,y(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-f&&(y(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(y(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(y(e,!1),e.strm.avail_out),1)}),new k(4,4,8,4,x),new k(4,5,16,8,x),new k(4,6,32,32,x),new k(4,4,16,16,E),new k(8,16,32,32,E),new k(8,16,128,128,E),new k(8,32,128,256,E),new k(32,128,258,1024,E),new k(32,258,258,4096,E)],r.deflateInit=function(e,t){return I(e,t,8,15,8,0)},r.deflateInit2=I,r.deflateReset=N,r.deflateResetKeep=S,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?l:(e.state.gzhead=t,0):l},r.deflate=function(e,t){var r,i,a,u;if(!e||!e.state||5<t||t<0)return e?p(e,l):l;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&4!==t)return p(e,0===e.avail_out?-5:l);if(i.strm=e,r=i.last_flush,i.last_flush=t,42===i.status)if(2===i.wrap)e.adler=0,v(i,31),v(i,139),v(i,8),i.gzhead?(v(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),v(i,255&i.gzhead.time),v(i,i.gzhead.time>>8&255),v(i,i.gzhead.time>>16&255),v(i,i.gzhead.time>>24&255),v(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),v(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(v(i,255&i.gzhead.extra.length),v(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(v(i,0),v(i,0),v(i,0),v(i,0),v(i,0),v(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),v(i,3),i.status=h);else{var f=8+(i.w_bits-8<<4)<<8;f|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(f|=32),f+=31-f%31,i.status=h,w(i,f),0!==i.strstart&&(w(i,e.adler>>>16),w(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),g(e),a=i.pending,i.pending!==i.pending_buf_size));)v(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),g(e),a=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,v(i,u)}while(0!==u);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===u&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),g(e),a=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,v(i,u)}while(0!==u);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===u&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&g(e),i.pending+2<=i.pending_buf_size&&(v(i,255&e.adler),v(i,e.adler>>8&255),e.adler=0,i.status=h)):i.status=h),0!==i.pending){if(g(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&d(t)<=d(r)&&4!==t)return p(e,-5);if(666===i.status&&0!==e.avail_in)return p(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&666!==i.status){var b=2===i.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(_(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(y(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(y(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(y(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var r,n,i,a,s=e.window;;){if(e.lookahead<=c){if(_(e),e.lookahead<=c&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&0<e.strstart&&(n=s[i=e.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){a=e.strstart+c;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<a);e.match_length=c-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=o._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(y(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(y(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(y(e,!1),0===e.strm.avail_out)?1:2}(i,t):n[i.level].func(i,t);if(3!==b&&4!==b||(i.status=666),1===b||3===b)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===b&&(1===t?o._tr_align(i):5!==t&&(o._tr_stored_block(i,0,0,!1),3===t&&(m(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),g(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(v(i,255&e.adler),v(i,e.adler>>8&255),v(i,e.adler>>16&255),v(i,e.adler>>24&255),v(i,255&e.total_in),v(i,e.total_in>>8&255),v(i,e.total_in>>16&255),v(i,e.total_in>>24&255)):(w(i,e.adler>>>16),w(i,65535&e.adler)),g(e),0<i.wrap&&(i.wrap=-i.wrap),0!==i.pending?0:1)},r.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&t!==h&&666!==t?p(e,l):(e.state=null,t===h?p(e,-3):0):l},r.deflateSetDictionary=function(e,t){var r,n,o,s,u,c,f,h,p=t.length;if(!e||!e.state)return l;if(2===(s=(r=e.state).wrap)||1===s&&42!==r.status||r.lookahead)return l;for(1===s&&(e.adler=a(e.adler,t,p,0)),r.wrap=0,p>=r.w_size&&(0===s&&(m(r.head),r.strstart=0,r.block_start=0,r.insert=0),h=new i.Buf8(r.w_size),i.arraySet(h,t,p-r.w_size,r.w_size,0),t=h,p=r.w_size),u=e.avail_in,c=e.next_in,f=e.input,e.avail_in=p,e.next_in=0,e.input=t,_(r);r.lookahead>=3;){for(n=r.strstart,o=r.lookahead-2;r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++,--o;);r.strstart=n,r.lookahead=2,_(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=c,e.input=f,e.avail_in=u,r.wrap=s,0},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,r){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}},{}],48:[function(e,t,r){t.exports=function(e,t){var r,n,i,o,a,s,u,l,c,f,h,p,d,m,g,y,v,w,b,_,x,E,k=e.state,T=e.next_in,S=e.input;r=T+(e.avail_in-5),n=e.next_out,E=e.output,i=n-(t-e.avail_out),o=n+(e.avail_out-257),a=k.dmax,s=k.wsize,u=k.whave,l=k.wnext,c=k.window,f=k.hold,h=k.bits,p=k.lencode,d=k.distcode,m=(1<<k.lenbits)-1,g=(1<<k.distbits)-1;e:do{h<15&&(f+=S[T++]<<h,h+=8,f+=S[T++]<<h,h+=8),y=p[f&m];t:for(;;){if(f>>>=v=y>>>24,h-=v,0==(v=y>>>16&255))E[n++]=65535&y;else{if(!(16&v)){if(!(64&v)){y=p[(65535&y)+(f&(1<<v)-1)];continue t}if(32&v){k.mode=12;break e}e.msg="invalid literal/length code",k.mode=30;break e}w=65535&y,(v&=15)&&(h<v&&(f+=S[T++]<<h,h+=8),w+=f&(1<<v)-1,f>>>=v,h-=v),h<15&&(f+=S[T++]<<h,h+=8,f+=S[T++]<<h,h+=8),y=d[f&g];r:for(;;){if(f>>>=v=y>>>24,h-=v,!(16&(v=y>>>16&255))){if(!(64&v)){y=d[(65535&y)+(f&(1<<v)-1)];continue r}e.msg="invalid distance code",k.mode=30;break e}if(b=65535&y,h<(v&=15)&&(f+=S[T++]<<h,(h+=8)<v&&(f+=S[T++]<<h,h+=8)),a<(b+=f&(1<<v)-1)){e.msg="invalid distance too far back",k.mode=30;break e}if(f>>>=v,h-=v,(v=n-i)<b){if(u<(v=b-v)&&k.sane){e.msg="invalid distance too far back",k.mode=30;break e}if(x=c,(_=0)===l){if(_+=s-v,v<w){for(w-=v;E[n++]=c[_++],--v;);_=n-b,x=E}}else if(l<v){if(_+=s+l-v,(v-=l)<w){for(w-=v;E[n++]=c[_++],--v;);if(_=0,l<w){for(w-=v=l;E[n++]=c[_++],--v;);_=n-b,x=E}}}else if(_+=l-v,v<w){for(w-=v;E[n++]=c[_++],--v;);_=n-b,x=E}for(;2<w;)E[n++]=x[_++],E[n++]=x[_++],E[n++]=x[_++],w-=3;w&&(E[n++]=x[_++],1<w&&(E[n++]=x[_++]))}else{for(_=n-b;E[n++]=E[_++],E[n++]=E[_++],E[n++]=E[_++],2<(w-=3););w&&(E[n++]=E[_++],1<w&&(E[n++]=E[_++]))}break}}break}}while(T<r&&n<o);T-=w=h>>3,f&=(1<<(h-=w<<3))-1,e.next_in=T,e.next_out=n,e.avail_in=T<r?r-T+5:5-(T-r),e.avail_out=n<o?o-n+257:257-(n-o),k.hold=f,k.bits=h}},{}],49:[function(e,t,r){var n=e("../utils/common"),i=e("./adler32"),o=e("./crc32"),a=e("./inffast"),s=e("./inftrees"),u=-2;function l(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function c(){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 n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function f(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 n.Buf32(852),t.distcode=t.distdyn=new n.Buf32(592),t.sane=1,t.back=-1,0):u}function h(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,f(e)):u}function p(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?u:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,h(e))):u}function d(e,t){var r,n;return e?(n=new c,(e.state=n).window=null,0!==(r=p(e,t))&&(e.state=null),r):u}var m,g,y=!0;function v(e){if(y){var t;for(m=new n.Buf32(512),g=new n.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,m,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(2,e.lens,0,32,g,0,e.work,{bits:5}),y=!1}e.lencode=m,e.lenbits=9,e.distcode=g,e.distbits=5}function w(e,t,r,i){var o,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new n.Buf8(a.wsize)),i>=a.wsize?(n.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i<(o=a.wsize-a.wnext)&&(o=i),n.arraySet(a.window,t,r-i,o,a.wnext),(i-=o)?(n.arraySet(a.window,t,r-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}r.inflateReset=h,r.inflateReset2=p,r.inflateResetKeep=f,r.inflateInit=function(e){return d(e,15)},r.inflateInit2=d,r.inflate=function(e,t){var r,c,f,h,p,d,m,g,y,b,_,x,E,k,T,S,N,I,D,O,A,C,R,L,B=0,P=new n.Buf8(4),z=[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 u;12===(r=e.state).mode&&(r.mode=13),p=e.next_out,f=e.output,m=e.avail_out,h=e.next_in,c=e.input,d=e.avail_in,g=r.hold,y=r.bits,b=d,_=m,C=0;e:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;y<16;){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}if(2&r.wrap&&35615===g){P[r.check=0]=255&g,P[1]=g>>>8&255,r.check=o(r.check,P,2,0),y=g=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&g)<<8)+(g>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&g)){e.msg="unknown compression method",r.mode=30;break}if(y-=4,A=8+(15&(g>>>=4)),0===r.wbits)r.wbits=A;else if(A>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<A,e.adler=r.check=1,r.mode=512&g?10:12,y=g=0;break;case 2:for(;y<16;){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}if(r.flags=g,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=g>>8&1),512&r.flags&&(P[0]=255&g,P[1]=g>>>8&255,r.check=o(r.check,P,2,0)),y=g=0,r.mode=3;case 3:for(;y<32;){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}r.head&&(r.head.time=g),512&r.flags&&(P[0]=255&g,P[1]=g>>>8&255,P[2]=g>>>16&255,P[3]=g>>>24&255,r.check=o(r.check,P,4,0)),y=g=0,r.mode=4;case 4:for(;y<16;){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}r.head&&(r.head.xflags=255&g,r.head.os=g>>8),512&r.flags&&(P[0]=255&g,P[1]=g>>>8&255,r.check=o(r.check,P,2,0)),y=g=0,r.mode=5;case 5:if(1024&r.flags){for(;y<16;){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}r.length=g,r.head&&(r.head.extra_len=g),512&r.flags&&(P[0]=255&g,P[1]=g>>>8&255,r.check=o(r.check,P,2,0)),y=g=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(d<(x=r.length)&&(x=d),x&&(r.head&&(A=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,c,h,x,A)),512&r.flags&&(r.check=o(r.check,c,x,h)),d-=x,h+=x,r.length-=x),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===d)break e;for(x=0;A=c[h+x++],r.head&&A&&r.length<65536&&(r.head.name+=String.fromCharCode(A)),A&&x<d;);if(512&r.flags&&(r.check=o(r.check,c,x,h)),d-=x,h+=x,A)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===d)break e;for(x=0;A=c[h+x++],r.head&&A&&r.length<65536&&(r.head.comment+=String.fromCharCode(A)),A&&x<d;);if(512&r.flags&&(r.check=o(r.check,c,x,h)),d-=x,h+=x,A)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;y<16;){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}if(g!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}y=g=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;y<32;){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}e.adler=r.check=l(g),y=g=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=p,e.avail_out=m,e.next_in=h,e.avail_in=d,r.hold=g,r.bits=y,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){g>>>=7&y,y-=7&y,r.mode=27;break}for(;y<3;){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}switch(r.last=1&g,y-=1,3&(g>>>=1)){case 0:r.mode=14;break;case 1:if(v(r),r.mode=20,6!==t)break;g>>>=2,y-=2;break e;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}g>>>=2,y-=2;break;case 14:for(g>>>=7&y,y-=7&y;y<32;){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}if((65535&g)!=(g>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&g,y=g=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(x=r.length){if(d<x&&(x=d),m<x&&(x=m),0===x)break e;n.arraySet(f,c,h,x,p),d-=x,h+=x,m-=x,p+=x,r.length-=x;break}r.mode=12;break;case 17:for(;y<14;){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}if(r.nlen=257+(31&g),g>>>=5,y-=5,r.ndist=1+(31&g),g>>>=5,y-=5,r.ncode=4+(15&g),g>>>=4,y-=4,286<r.nlen||30<r.ndist){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;y<3;){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}r.lens[z[r.have++]]=7&g,g>>>=3,y-=3}for(;r.have<19;)r.lens[z[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,R={bits:r.lenbits},C=s(0,r.lens,0,19,r.lencode,0,r.work,R),r.lenbits=R.bits,C){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;S=(B=r.lencode[g&(1<<r.lenbits)-1])>>>16&255,N=65535&B,!((T=B>>>24)<=y);){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}if(N<16)g>>>=T,y-=T,r.lens[r.have++]=N;else{if(16===N){for(L=T+2;y<L;){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}if(g>>>=T,y-=T,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}A=r.lens[r.have-1],x=3+(3&g),g>>>=2,y-=2}else if(17===N){for(L=T+3;y<L;){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}y-=T,A=0,x=3+(7&(g>>>=T)),g>>>=3,y-=3}else{for(L=T+7;y<L;){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}y-=T,A=0,x=11+(127&(g>>>=T)),g>>>=7,y-=7}if(r.have+x>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;x--;)r.lens[r.have++]=A}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,R={bits:r.lenbits},C=s(1,r.lens,0,r.nlen,r.lencode,0,r.work,R),r.lenbits=R.bits,C){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,R={bits:r.distbits},C=s(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,R),r.distbits=R.bits,C){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=d&&258<=m){e.next_out=p,e.avail_out=m,e.next_in=h,e.avail_in=d,r.hold=g,r.bits=y,a(e,_),p=e.next_out,f=e.output,m=e.avail_out,h=e.next_in,c=e.input,d=e.avail_in,g=r.hold,y=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;S=(B=r.lencode[g&(1<<r.lenbits)-1])>>>16&255,N=65535&B,!((T=B>>>24)<=y);){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}if(S&&!(240&S)){for(I=T,D=S,O=N;S=(B=r.lencode[O+((g&(1<<I+D)-1)>>I)])>>>16&255,N=65535&B,!(I+(T=B>>>24)<=y);){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}g>>>=I,y-=I,r.back+=I}if(g>>>=T,y-=T,r.back+=T,r.length=N,0===S){r.mode=26;break}if(32&S){r.back=-1,r.mode=12;break}if(64&S){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&S,r.mode=22;case 22:if(r.extra){for(L=r.extra;y<L;){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}r.length+=g&(1<<r.extra)-1,g>>>=r.extra,y-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;S=(B=r.distcode[g&(1<<r.distbits)-1])>>>16&255,N=65535&B,!((T=B>>>24)<=y);){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}if(!(240&S)){for(I=T,D=S,O=N;S=(B=r.distcode[O+((g&(1<<I+D)-1)>>I)])>>>16&255,N=65535&B,!(I+(T=B>>>24)<=y);){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}g>>>=I,y-=I,r.back+=I}if(g>>>=T,y-=T,r.back+=T,64&S){e.msg="invalid distance code",r.mode=30;break}r.offset=N,r.extra=15&S,r.mode=24;case 24:if(r.extra){for(L=r.extra;y<L;){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}r.offset+=g&(1<<r.extra)-1,g>>>=r.extra,y-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===m)break e;if(x=_-m,r.offset>x){if((x=r.offset-x)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}E=x>r.wnext?(x-=r.wnext,r.wsize-x):r.wnext-x,x>r.length&&(x=r.length),k=r.window}else k=f,E=p-r.offset,x=r.length;for(m<x&&(x=m),m-=x,r.length-=x;f[p++]=k[E++],--x;);0===r.length&&(r.mode=21);break;case 26:if(0===m)break e;f[p++]=r.length,m--,r.mode=21;break;case 27:if(r.wrap){for(;y<32;){if(0===d)break e;d--,g|=c[h++]<<y,y+=8}if(_-=m,e.total_out+=_,r.total+=_,_&&(e.adler=r.check=r.flags?o(r.check,f,_,p-_):i(r.check,f,_,p-_)),_=m,(r.flags?g:l(g))!==r.check){e.msg="incorrect data check",r.mode=30;break}y=g=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;y<32;){if(0===d)break e;d--,g+=c[h++]<<y,y+=8}if(g!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=30;break}y=g=0}r.mode=29;case 29:C=1;break e;case 30:C=-3;break e;case 31:return-4;default:return u}return e.next_out=p,e.avail_out=m,e.next_in=h,e.avail_in=d,r.hold=g,r.bits=y,(r.wsize||_!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&w(e,e.output,e.next_out,_-e.avail_out)?(r.mode=31,-4):(b-=e.avail_in,_-=e.avail_out,e.total_in+=b,e.total_out+=_,r.total+=_,r.wrap&&_&&(e.adler=r.check=r.flags?o(r.check,f,_,e.next_out-_):i(r.check,f,_,e.next_out-_)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0==b&&0===_||4===t)&&0===C&&(C=-5),C)},r.inflateEnd=function(e){if(!e||!e.state)return u;var t=e.state;return t.window&&(t.window=null),e.state=null,0},r.inflateGetHeader=function(e,t){var r;return e&&e.state&&2&(r=e.state).wrap?((r.head=t).done=!1,0):u},r.inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?u:11===r.mode&&i(1,t,n,0)!==r.check?-3:w(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,0):u},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,r){var n=e("../utils/common"),i=[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],a=[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],s=[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,r,u,l,c,f,h){var p,d,m,g,y,v,w,b,_,x=h.bits,E=0,k=0,T=0,S=0,N=0,I=0,D=0,O=0,A=0,C=0,R=null,L=0,B=new n.Buf16(16),P=new n.Buf16(16),z=null,q=0;for(E=0;E<=15;E++)B[E]=0;for(k=0;k<u;k++)B[t[r+k]]++;for(N=x,S=15;1<=S&&0===B[S];S--);if(S<N&&(N=S),0===S)return l[c++]=20971520,l[c++]=20971520,h.bits=1,0;for(T=1;T<S&&0===B[T];T++);for(N<T&&(N=T),E=O=1;E<=15;E++)if(O<<=1,(O-=B[E])<0)return-1;if(0<O&&(0===e||1!==S))return-1;for(P[1]=0,E=1;E<15;E++)P[E+1]=P[E]+B[E];for(k=0;k<u;k++)0!==t[r+k]&&(f[P[t[r+k]]++]=k);if(v=0===e?(R=z=f,19):1===e?(R=i,L-=257,z=o,q-=257,256):(R=a,z=s,-1),E=T,y=c,D=k=C=0,m=-1,g=(A=1<<(I=N))-1,1===e&&852<A||2===e&&592<A)return 1;for(;;){for(w=E-D,_=f[k]<v?(b=0,f[k]):f[k]>v?(b=z[q+f[k]],R[L+f[k]]):(b=96,0),p=1<<E-D,T=d=1<<I;l[y+(C>>D)+(d-=p)]=w<<24|b<<16|_,0!==d;);for(p=1<<E-1;C&p;)p>>=1;if(0!==p?(C&=p-1,C+=p):C=0,k++,0==--B[E]){if(E===S)break;E=t[r+f[k]]}if(N<E&&(C&g)!==m){for(0===D&&(D=N),y+=T,O=1<<(I=E-D);I+D<S&&!((O-=B[I+D])<=0);)I++,O<<=1;if(A+=1<<I,1===e&&852<A||2===e&&592<A)return 1;l[m=C&g]=N<<24|I<<16|y-c}}return 0!==C&&(l[y+C]=E-D<<24|4194304),h.bits=N,0}},{"../utils/common":41}],51:[function(e,t,r){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"}},{}],52:[function(e,t,r){var n=e("../utils/common");function i(e){for(var t=e.length;0<=--t;)e[t]=0}var o=[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],a=[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],s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],u=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],l=new Array(576);i(l);var c=new Array(60);i(c);var f=new Array(512);i(f);var h=new Array(256);i(h);var p=new Array(29);i(p);var d,m,g,y=new Array(30);function v(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function w(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function b(e){return e<256?f[e]:f[256+(e>>>7)]}function _(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function x(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<<e.bi_valid&65535,_(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function E(e,t,r){x(e,r[2*t],r[2*t+1])}function k(e,t){for(var r=0;r|=1&e,e>>>=1,r<<=1,0<--t;);return r>>>1}function T(e,t,r){var n,i,o=new Array(16),a=0;for(n=1;n<=15;n++)o[n]=a=a+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=k(o[s]++,s))}}function S(e){for(var t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;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 N(e){8<e.bi_valid?_(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function I(e,t,r,n){var i=2*t,o=2*r;return e[i]<e[o]||e[i]===e[o]&&n[t]<=n[r]}function D(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&I(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!I(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function O(e,t,r){var n,i,s,u,l=0;if(0!==e.last_lit)for(;n=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===n?E(e,i,t):(E(e,(s=h[i])+256+1,t),0!==(u=o[s])&&x(e,i-=p[s],u),E(e,s=b(--n),r),0!==(u=a[s])&&x(e,n-=y[s],u)),l<e.last_lit;);E(e,256,t)}function A(e,t){var r,n,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,u=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=573,r=0;r<u;r++)0!==o[2*r]?(e.heap[++e.heap_len]=l=r,e.depth[r]=0):o[2*r+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=l,r=e.heap_len>>1;1<=r;r--)D(e,o,r);for(i=u;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],D(e,o,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,o[2*i]=o[2*r]+o[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,o[2*r+1]=o[2*n+1]=i,e.heap[1]=i++,D(e,o,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,o,a,s,u=t.dyn_tree,l=t.max_code,c=t.stat_desc.static_tree,f=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,d=t.stat_desc.max_length,m=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(u[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)d<(o=u[2*u[2*(n=e.heap[r])+1]+1]+1)&&(o=d,m++),u[2*n+1]=o,l<n||(e.bl_count[o]++,a=0,p<=n&&(a=h[n-p]),s=u[2*n],e.opt_len+=s*(o+a),f&&(e.static_len+=s*(c[2*n+1]+a)));if(0!==m){do{for(o=d-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[d]--,m-=2}while(0<m);for(o=d;0!==o;o--)for(n=e.bl_count[o];0!==n;)l<(i=e.heap[--r])||(u[2*i+1]!==o&&(e.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),n--)}}(e,t),T(o,l,e.bl_count)}function C(e,t,r){var n,i,o=-1,a=t[1],s=0,u=7,l=4;for(0===a&&(u=138,l=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=a,a=t[2*(n+1)+1],++s<u&&i===a||(s<l?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,o=i,l=(s=0)===a?(u=138,3):i===a?(u=6,3):(u=7,4))}function R(e,t,r){var n,i,o=-1,a=t[1],s=0,u=7,l=4;for(0===a&&(u=138,l=3),n=0;n<=r;n++)if(i=a,a=t[2*(n+1)+1],!(++s<u&&i===a)){if(s<l)for(;E(e,i,e.bl_tree),0!=--s;);else 0!==i?(i!==o&&(E(e,i,e.bl_tree),s--),E(e,16,e.bl_tree),x(e,s-3,2)):s<=10?(E(e,17,e.bl_tree),x(e,s-3,3)):(E(e,18,e.bl_tree),x(e,s-11,7));o=i,l=(s=0)===a?(u=138,3):i===a?(u=6,3):(u=7,4)}}i(y);var L=!1;function B(e,t,r,i){x(e,0+(i?1:0),3),function(e,t,r){N(e),_(e,r),_(e,~r),n.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r)}r._tr_init=function(e){L||(function(){var e,t,r,n,i,u=new Array(16);for(n=r=0;n<28;n++)for(p[n]=r,e=0;e<1<<o[n];e++)h[r++]=n;for(h[r-1]=n,n=i=0;n<16;n++)for(y[n]=i,e=0;e<1<<a[n];e++)f[i++]=n;for(i>>=7;n<30;n++)for(y[n]=i<<7,e=0;e<1<<a[n]-7;e++)f[256+i++]=n;for(t=0;t<=15;t++)u[t]=0;for(e=0;e<=143;)l[2*e+1]=8,e++,u[8]++;for(;e<=255;)l[2*e+1]=9,e++,u[9]++;for(;e<=279;)l[2*e+1]=7,e++,u[7]++;for(;e<=287;)l[2*e+1]=8,e++,u[8]++;for(T(l,287,u),e=0;e<30;e++)c[2*e+1]=5,c[2*e]=k(e,5);d=new v(l,o,257,286,15),m=new v(c,a,0,30,15),g=new v(new Array(0),s,0,19,7)}(),L=!0),e.l_desc=new w(e.dyn_ltree,d),e.d_desc=new w(e.dyn_dtree,m),e.bl_desc=new w(e.bl_tree,g),e.bi_buf=0,e.bi_valid=0,S(e)},r._tr_stored_block=B,r._tr_flush_block=function(e,t,r,n){var i,o,a=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&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<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),A(e,e.l_desc),A(e,e.d_desc),a=function(e){var t;for(C(e,e.dyn_ltree,e.l_desc.max_code),C(e,e.dyn_dtree,e.d_desc.max_code),A(e,e.bl_desc),t=18;3<=t&&0===e.bl_tree[2*u[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=r+5,r+4<=i&&-1!==t?B(e,t,r,n):4===e.strategy||o===i?(x(e,2+(n?1:0),3),O(e,l,c)):(x(e,4+(n?1:0),3),function(e,t,r,n){var i;for(x(e,t-257,5),x(e,r-1,5),x(e,n-4,4),i=0;i<n;i++)x(e,e.bl_tree[2*u[i]+1],3);R(e,e.dyn_ltree,t-1),R(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),O(e,e.dyn_ltree,e.dyn_dtree)),S(e),n&&N(e)},r._tr_tally=function(e,t,r){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&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(h[r]+256+1)]++,e.dyn_dtree[2*b(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){x(e,2,3),E(e,256,l),function(e){16===e.bi_valid?(_(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,r){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}},{}],54:[function(e,t,r){(function(e){!function(e){if(!e.setImmediate){var t,r,n,i,o=1,a={},s=!1,u=e.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(e);l=l&&l.setTimeout?l:e,t="[object process]"==={}.toString.call(e.process)?function(e){process.nextTick(function(){f(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(i="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",h,!1):e.attachEvent("onmessage",h),function(t){e.postMessage(i+t,"*")}):e.MessageChannel?((n=new MessageChannel).port1.onmessage=function(e){f(e.data)},function(e){n.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(r=u.documentElement,function(e){var t=u.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):function(e){setTimeout(f,0,e)},l.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var r=new Array(arguments.length-1),n=0;n<r.length;n++)r[n]=arguments[n+1];return a[o]={callback:e,args:r},t(o),o++},l.clearImmediate=c}function c(e){delete a[e]}function f(e){if(s)setTimeout(f,0,e);else{var t=a[e];if(t){s=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(void 0,r)}}(t)}finally{c(e),s=!1}}}}function h(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&f(+t.data.slice(i.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)})}),$o=/* @__PURE__ */i(e=>{var t=Ko(),r=Yo();e.openArrayBuffer=function(e){return r.loadAsync(e).then(function(e){return{exists:function(t){return null!==e.file(t)},read:function(r,n){return e.file(r).async("uint8array").then(function(e){return"base64"===n?t.fromByteArray(e):n?new TextDecoder(n).decode(e):e})},write:function(t,r){e.file(t,r)},toArrayBuffer:function(){return e.generateAsync({type:"arraybuffer"})}}})},e.splitPath=function(e){var t=e.lastIndexOf("/");return-1===t?{dirname:"",basename:e}:{dirname:e.substring(0,t),basename:e.substring(t+1)}},e.joinPath=function(){var e=Array.prototype.filter.call(arguments,function(e){return e}),t=[];return e.forEach(function(e){/^\//.test(e)?t=[e]:t.push(e)}),t.join("/")}}),Jo=/* @__PURE__ */i(t=>{var r=(Wo(),e(Ho));t.Element=i,t.element=function(e,t,r){return new i(e,t,r)},t.text=function(e){return{type:"text",value:e}};var n=t.emptyElement={first:function(){return null},firstOrEmpty:function(){return n},attributes:{},children:[]};function i(e,t,r){this.type="element",this.name=e,this.attributes=t||{},this.children=r||[]}i.prototype.first=function(e){return r.find(this.children,function(t){return t.name===e})},i.prototype.firstOrEmpty=function(e){return this.first(e)||n},i.prototype.getElementsByTagName=function(e){return a(r.filter(this.children,function(t){return t.name===e}))},i.prototype.text=function(){if(0===this.children.length)return"";if(1!==this.children.length||"text"!==this.children[0].type)throw new Error("Not implemented");return this.children[0].value};var o={getElementsByTagName:function(e){return a(r.flatten(this.map(function(t){return t.getElementsByTagName(e)},!0)))}};function a(e){return r.extend(e,o)}}),Qo=/* @__PURE__ */i(e=>{function t(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var r=t({HTML:"text/html",isHTML:function(e){return e===r.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),n=t({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===n.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"}),i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,o=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=new RegExp("^"+i.source+o.source+"*(?::"+i.source+o.source+"*)?$");e.assign=function(e,t){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},e.find=function(e,t,r){if(void 0===r&&(r=Array.prototype),e&&"function"==typeof r.find)return r.find.call(e,t);for(var n=0;n<e.length;n++)if(Object.prototype.hasOwnProperty.call(e,n)){var i=e[n];if(t.call(void 0,i,n,e))return i}},e.freeze=t,e.MIME_TYPE=r,e.NAMESPACE=n,e.nameStartChar=i,e.nameChar=o,e.tagNamePattern=a}),ea=/* @__PURE__ */i(e=>{var t=Qo(),r=t.find,n=t.NAMESPACE,i=t.tagNamePattern;function o(e){return""!==e}function a(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function s(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(o):[]}(e);return Object.keys(t.reduce(a,{}))}function u(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}function l(e,t){var r=e.prototype;if(!(r instanceof t)){function n(){}n.prototype=t.prototype,u(r,n=new n),e.prototype=r=n}r.constructor!=e&&(r.constructor=e)}var c={},f=c.ELEMENT_NODE=1,h=c.ATTRIBUTE_NODE=2,p=c.TEXT_NODE=3,d=c.CDATA_SECTION_NODE=4,m=c.ENTITY_REFERENCE_NODE=5,g=c.ENTITY_NODE=6,y=c.PROCESSING_INSTRUCTION_NODE=7,v=c.COMMENT_NODE=8,w=c.DOCUMENT_NODE=9,b=c.DOCUMENT_TYPE_NODE=10,_=c.DOCUMENT_FRAGMENT_NODE=11,x=c.NOTATION_NODE=12,E={},k={};E.INDEX_SIZE_ERR=(k[1]="Index size error",1),E.DOMSTRING_SIZE_ERR=(k[2]="DOMString size error",2);var T=E.HIERARCHY_REQUEST_ERR=(k[3]="Hierarchy request error",3);E.WRONG_DOCUMENT_ERR=(k[4]="Wrong document",4);var S=E.INVALID_CHARACTER_ERR=(k[5]="Invalid character",5);E.NO_DATA_ALLOWED_ERR=(k[6]="No data allowed",6),E.NO_MODIFICATION_ALLOWED_ERR=(k[7]="No modification allowed",7);var N=E.NOT_FOUND_ERR=(k[8]="Not found",8);E.NOT_SUPPORTED_ERR=(k[9]="Not supported",9);var I=E.INUSE_ATTRIBUTE_ERR=(k[10]="Attribute in use",10),D=E.INVALID_STATE_ERR=(k[11]="Invalid state",11);function O(e,t){if(t instanceof Error)var r=t;else r=this,Error.call(this,k[e]),this.message=k[e],Error.captureStackTrace&&Error.captureStackTrace(this,O);return r.code=e,t&&(this.message=this.message+": "+t),r}function A(){}function C(e,t){this._node=e,this._refresh=t,R(this)}function R(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var r=e._refresh(e._node);if(_e(e,"length",r.length),!e.$$length||r.length<e.$$length)for(var n=r.length;n in e;n++)Object.prototype.hasOwnProperty.call(e,n)&&delete e[n];u(r,e),e._inc=t}}function L(){this._nameIndex=Object.create(null)}function B(e,t){for(var r=e.length;r--;)if(e[r]===t)return r}function P(e,t){e._nameIndex[t.nodeName]===t&&delete e._nameIndex[t.nodeName]}function z(e,t,r,i){if(i?(t[B(t,i)]=r,P(t,i)):t[t.length++]=r,function(e,t){e._nameIndex[t.nodeName]=t}(t,r),e){r.ownerElement=e;var o=e.ownerDocument;o&&(i&&W(o,e,i),function(e,t,r){e&&e._inc++,r.namespaceURI===n.XMLNS&&(t._nsMap[r.prefix?r.localName:""]=r.value)}(o,e,r))}}function q(e,t,r){var n=B(t,r);if(!(n>=0))throw new O(N,/* @__PURE__ */new Error(e.tagName+"@"+r));for(var i=t.length-1;n<i;)t[n]=t[++n];if(t.length=i,P(t,r),e){var o=e.ownerDocument;o&&(W(o,e,r),r.ownerElement=null)}}function M(){}function F(){}function j(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function U(e,t){return V(e,null,{enter:function(e){return!t(e)||V.STOP}})===V.STOP}function V(e,t,r){for(var n=[{node:e,context:t,phase:V.ENTER}];n.length>0;){var i=n.pop();if(i.phase===V.ENTER){var o=r.enter(i.node,i.context);if(o===V.STOP)return V.STOP;if(n.push({node:i.node,context:o,phase:V.EXIT}),null==o)continue;for(var a=i.node.lastChild;a;)n.push({node:a,context:o,phase:V.ENTER}),a=a.previousSibling}else r.exit&&r.exit(i.node,i.context)}}function H(){this.ownerDocument=this}function W(e,t,r,i){e&&e._inc++,r.namespaceURI===n.XMLNS&&delete t._nsMap[r.prefix?r.localName:""]}function Z(e,t,r){if(e&&e._inc){e._inc++;var n=t.childNodes;if(r)n[n.length++]=r;else{for(var i=t.firstChild,o=0;i;)n[o++]=i,i=i.nextSibling;n.length=o,delete n[n.length]}}}function G(e,t){var r=t.previousSibling,n=t.nextSibling;return r?r.nextSibling=n:e.firstChild=n,n?n.previousSibling=r:e.lastChild=r,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,Z(e.ownerDocument,e),t}function X(e){return e&&e.nodeType===F.DOCUMENT_TYPE_NODE}function K(e){return e&&e.nodeType===F.ELEMENT_NODE}function Y(e){return e&&e.nodeType===F.TEXT_NODE}function $(e,t){var n=e.childNodes||[];if(r(n,K)||X(t))return!1;var i=r(n,X);return!(t&&i&&n.indexOf(i)>n.indexOf(t))}function J(e,t){var n=e.childNodes||[];if(r(n,function(e){return K(e)&&e!==t}))return!1;var i=r(n,X);return!(t&&i&&n.indexOf(i)>n.indexOf(t))}function Q(e,t,n){var i=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===F.DOCUMENT_FRAGMENT_NODE){var a=o.filter(K);if(a.length>1||r(o,Y))throw new O(T,"More than one element or text in fragment");if(1===a.length&&!$(e,n))throw new O(T,"Element in fragment can not be inserted before doctype")}if(K(t)&&!$(e,n))throw new O(T,"Only one element can be added and only after doctype");if(X(t)){if(r(i,X))throw new O(T,"Only one doctype is allowed");var s=r(i,K);if(n&&i.indexOf(s)<i.indexOf(n))throw new O(T,"Doctype can only be inserted before an element");if(!n&&s)throw new O(T,"Doctype can not be appended since element is present")}}function ee(e,t,n){var i=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===F.DOCUMENT_FRAGMENT_NODE){var a=o.filter(K);if(a.length>1||r(o,Y))throw new O(T,"More than one element or text in fragment");if(1===a.length&&!J(e,n))throw new O(T,"Element in fragment can not be inserted before doctype")}if(K(t)&&!J(e,n))throw new O(T,"Only one element can be added and only after doctype");if(X(t)){function u(e){return X(e)&&e!==n}if(r(i,u))throw new O(T,"Only one doctype is allowed");var s=r(i,K);if(n&&i.indexOf(s)<i.indexOf(n))throw new O(T,"Doctype can only be inserted before an element")}}function te(e,t,r,n){(function(e,t,r){if(!function(e){return e&&(e.nodeType===F.DOCUMENT_NODE||e.nodeType===F.DOCUMENT_FRAGMENT_NODE||e.nodeType===F.ELEMENT_NODE)}(e))throw new O(T,"Unexpected parent node type "+e.nodeType);if(r&&r.parentNode!==e)throw new O(N,"child not in parent");if(!function(e){return e&&(K(e)||Y(e)||X(e)||e.nodeType===F.DOCUMENT_FRAGMENT_NODE||e.nodeType===F.COMMENT_NODE||e.nodeType===F.PROCESSING_INSTRUCTION_NODE)}(t)||X(t)&&e.nodeType!==F.DOCUMENT_NODE)throw new O(T,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)})(e,t,r),e.nodeType===F.DOCUMENT_NODE&&(n||Q)(e,t,r);var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===_){var o=t.firstChild;if(null==o)return t;var a=t.lastChild}else o=a=t;var s=r?r.previousSibling:e.lastChild;o.previousSibling=s,a.nextSibling=r,s?s.nextSibling=o:e.firstChild=o,null==r?e.lastChild=a:r.previousSibling=a;do{o.parentNode=e,re(o,e.ownerDocument||e)}while(o!==a&&(o=o.nextSibling));return Z(e.ownerDocument||e,e),t.nodeType==_&&(t.firstChild=t.lastChild=null),t}function re(e,t){if(e.ownerDocument!==t){if(e.ownerDocument=t,e.nodeType===f&&e.attributes)for(var r=0;r<e.attributes.length;r++){var n=e.attributes.item(r);n&&(n.ownerDocument=t)}for(var i=e.firstChild;i;)re(i,t),i=i.nextSibling}}function ne(){this._nsMap={}}function ie(){}function oe(){}function ae(){}function se(){}function ue(){}function le(){}function ce(){}function fe(){}function he(){}function pe(){}function de(){}function me(){}function ge(e,t,r){var n=!!r&&!!r.requireWellFormed,i=[],o=9==this.nodeType&&this.documentElement||this,a=o.prefix,s=o.namespaceURI;if(s&&null==a&&null==(a=o.lookupPrefix(s)))var u=[{namespace:s,prefix:null}];return we(this,i,e,t,u,n),i.join("")}function ye(e,t,r){var i=e.prefix||"",o=e.namespaceURI;if(!o)return!1;if("xml"===i&&o===n.XML||o===n.XMLNS)return!1;for(var a=r.length;a--;){var s=r[a];if(s.prefix===i)return s.namespace!==o}return!0}function ve(e,t,r,n){if(n&&!i.test(t))throw new O(D,'The attribute name "'+t+'" is not a valid XML QName');e.push(" ",t,'="',r.replace(/[<>&"\t\n\r]/g,j),'"')}function we(e,t,r,o,a,s){a||(a=[]),V(e,{ns:a,isHTML:r},{enter:function(e,r){var a=r.ns,u=r.isHTML;if(o){if(!(e=o(e)))return null;if("string"==typeof e)return t.push(e),null}switch(e.nodeType){case f:var l=e.attributes,c=l.length,g=e.tagName,x=g;if(!(u=n.isHTML(e.namespaceURI)||u)&&!e.prefix&&e.namespaceURI){for(var E,k=0;k<l.length;k++)if("xmlns"===l.item(k).name){E=l.item(k).value;break}if(!E)for(var T=a.length-1;T>=0;T--)if(""===(S=a[T]).prefix&&S.namespace===e.namespaceURI){E=S.namespace;break}if(E!==e.namespaceURI)for(T=a.length-1;T>=0;T--){var S;if((S=a[T]).namespace===e.namespaceURI){S.prefix&&(x=S.prefix+":"+g);break}}}if(s&&!i.test(x))throw new O(D,'The element name "'+x+'" is not a valid XML QName');t.push("<",x);for(var N=a.slice(),I=0;I<c;I++)"xmlns"==(A=l.item(I)).prefix?N.push({prefix:A.localName,namespace:A.value}):"xmlns"==A.nodeName&&N.push({prefix:"",namespace:A.value});for(I=0;I<c;I++){var A;if(ye(A=l.item(I),0,N)){var C=A.prefix||"",R=A.namespaceURI;ve(t,C?"xmlns:"+C:"xmlns",R,s),N.push({prefix:C,namespace:R})}var L=o?o(A):A;L&&("string"==typeof L?t.push(L):ve(t,L.name,L.value,s))}if(g===x&&ye(e,0,N)){var B=e.prefix||"";R=e.namespaceURI,ve(t,B?"xmlns:"+B:"xmlns",R,s),N.push({prefix:B,namespace:R})}var P=e.firstChild;if(P||u&&!/^(?:meta|link|img|br|hr|input)$/i.test(g)){if(t.push(">"),u&&/^script$/i.test(g)){for(;P;)P.data?t.push(P.data):we(P,t,u,o,N.slice(),s),P=P.nextSibling;return t.push("</",g,">"),null}return{ns:N,isHTML:u,tag:x}}return t.push("/>"),null;case w:case _:return{ns:a.slice(),isHTML:u,tag:null};case h:return ve(t,e.name,e.value,s),null;case p:return t.push(e.data.replace(/[<&>]/g,j)),null;case d:if(s&&-1!==e.data.indexOf("]]>"))throw new O(D,'The CDATASection data contains "]]>"');return t.push("<![CDATA[",e.data.replace(/]]>/g,"]]]]><![CDATA[>"),"]]>"),null;case v:if(s&&-1!==e.data.indexOf("--\x3e"))throw new O(D,'The comment node data contains "--\x3e"');return t.push("\x3c!--",e.data,"--\x3e"),null;case b:if(s){if(!i.test(e.name))throw new O(D,'The doctype name "'+e.name+'" is not a valid XML Name');if(e.publicId&&!/^("[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%']*"|'[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%'"]*')$/.test(e.publicId))throw new O(D,"DocumentType publicId is not a valid PubidLiteral");if(e.systemId&&!/^("[^"]*"|'[^']*')$/.test(e.systemId))throw new O(D,"DocumentType systemId is not a valid SystemLiteral");if(e.internalSubset&&-1!==e.internalSubset.indexOf("]>"))throw new O(D,'DocumentType internalSubset contains "]>"')}var z=e.publicId,q=e.systemId;if(t.push("<!DOCTYPE ",e.name),z)t.push(" PUBLIC ",z),q&&"."!=q&&t.push(" ",q),t.push(">");else if(q&&"."!=q)t.push(" SYSTEM ",q,">");else{var M=e.internalSubset;M&&t.push(" [",M,"]"),t.push(">")}return null;case y:if(s){if(!i.test(e.target)||-1!==e.target.indexOf(":")||"xml"===e.target.toLowerCase())throw new O(D,'The processing instruction target "'+e.target+'" is not a valid XML NCName or is reserved');if(-1!==e.data.indexOf("?>"))throw new O(D,'The ProcessingInstruction data contains "?>"')}return t.push("<?",e.target," ",e.data,"?>"),null;case m:if(s&&!i.test(e.nodeName))throw new O(D,'The entity reference name "'+e.nodeName+'" is not a valid XML Name');return t.push("&",e.nodeName,";"),null;default:return t.push("??",e.nodeName),null}},exit:function(e,r){r&&r.tag&&t.push("</",r.tag,">")}})}function be(e,t,r){var n;return V(t,null,{enter:function(t,i){var o=new t.constructor;for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)){var s=t[a];"object"!=typeof s&&s!=o[a]&&(o[a]=s)}t.childNodes&&(o.childNodes=new A),o.ownerDocument=e;var u=r;switch(o.nodeType){case f:var l=t.attributes,c=o.attributes=new L,p=l.length;c._ownerElement=o;for(var d=0;d<p;d++)o.setAttributeNode(be(e,l.item(d),!0));break;case h:u=!0}return null!==i?i.appendChild(o):n=o,u?o:null}}),n}function _e(e,t,r){e[t]=r}E.SYNTAX_ERR=(k[12]="Syntax error",12),E.INVALID_MODIFICATION_ERR=(k[13]="Invalid modification",13),E.NAMESPACE_ERR=(k[14]="Invalid namespace",14),E.INVALID_ACCESS_ERR=(k[15]="Invalid access",15),O.prototype=Error.prototype,u(E,O),A.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t,r){for(var n=!!r&&!!r.requireWellFormed,i=[],o=0;o<this.length;o++)we(this[o],i,e,t,null,n);return i.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},C.prototype.item=function(e){return R(this),this[e]||null},l(C,A),L.prototype={length:0,item:A.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var r=this[t];if(r.nodeName==e)return r}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new O(I);var r=this._nameIndex[e.nodeName];return z(this._ownerElement,this,e,r),r},setNamedItemNS:function(e){var t,r=e.ownerElement;if(r&&r!=this._ownerElement)throw new O(I);return t=this.getNamedItemNS(e.namespaceURI,e.localName),z(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return q(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var r=this.getNamedItemNS(e,t);return q(this._ownerElement,this,r),r},getNamedItemNS:function(e,t){for(var r=this.length;r--;){var n=this[r];if(n.localName==t&&n.namespaceURI==e)return n}return null}},M.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,r){var n=new H;if(n.implementation=this,n.childNodes=new A,n.doctype=r||null,r&&n.appendChild(r),t){var i=n.createElementNS(e,t);n.appendChild(i)}return n},createDocumentType:function(e,t,r){var n=new le;return n.name=e,n.nodeName=e,n.publicId=t||"",n.systemId=r||"",n}},F.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return te(this,e,t)},replaceChild:function(e,t){te(this,e,t,ee),t&&this.removeChild(t)},removeChild:function(e){return G(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return be(this.ownerDocument||this,this,e)},normalize:function(){V(this,null,{enter:function(e){for(var t=e.firstChild;t;){var r=t.nextSibling;if(null!==r&&r.nodeType===p&&t.nodeType===p){for(var n=[],i=r;null!==i&&i.nodeType===p;)n.push(i.data),i=i.nextSibling;for(var o=t.nextSibling;o!==i;){var a=o.nextSibling;o.parentNode=null,o.previousSibling=null,o.nextSibling=null,o=a}t.nextSibling=i,null!==i?i.previousSibling=t:e.lastChild=t,t.appendData(n.join("")),Z(e.ownerDocument,e),t=i}else t=r}return!0}})},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var r=t._nsMap;if(r)for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===e)return n;t=t.nodeType==h?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var r=t._nsMap;if(r&&Object.prototype.hasOwnProperty.call(r,e))return r[e];t=t.nodeType==h?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},u(c,F),u(c,F.prototype),V.STOP=Symbol("walkDOM.STOP"),V.ENTER=0,V.EXIT=1,H.prototype={nodeName:"#document",nodeType:w,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==_){for(var r=e.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,t),r=n}return e}return te(this,e,t),re(e,this),null===this.documentElement&&e.nodeType===f&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),G(this,e)},replaceChild:function(e,t){te(this,e,t,ee),re(e,this),t&&this.removeChild(t),K(e)&&(this.documentElement=e)},importNode:function(e,t){return function(e,t,r){var n;return V(t,null,{enter:function(t,i){var o=t.cloneNode(!1);return o.ownerDocument=e,o.parentNode=null,null===i?n=o:i.appendChild(o),t.nodeType===h||r?o:null}}),n}(this,e,t)},getElementById:function(e){var t=null;return U(this.documentElement,function(r){if(r.nodeType==f&&r.getAttribute("id")==e)return t=r,!0}),t},getElementsByClassName:function(e){var t=s(e);return new C(this,function(r){var n=[];return t.length>0&&U(r.documentElement,function(i){if(i!==r&&i.nodeType===f){var o=i.getAttribute("class");if(o){var a=e===o;if(!a){var u=s(o);a=t.every((l=u,function(e){return l&&-1!==l.indexOf(e)}))}a&&n.push(i)}}var l}),n})},createElement:function(e){var t=new ne;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new A,(t.attributes=new L)._ownerElement=t,t},createDocumentFragment:function(){var e=new pe;return e.ownerDocument=this,e.childNodes=new A,e},createTextNode:function(e){var t=new ae;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new se;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){if(-1!==e.indexOf("]]>"))throw new O(S,'data contains "]]>"');var t=new ue;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var r=new de;return r.ownerDocument=this,r.tagName=r.nodeName=r.target=e,r.nodeValue=r.data=t,r},createAttribute:function(e){var t=new ie;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){if(!i.test(e))throw new O(S,'not a valid xml name "'+e+'"');var t=new he;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var r=new ne,n=t.split(":"),i=r.attributes=new L;return r.childNodes=new A,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=e,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,i._ownerElement=r,r},createAttributeNS:function(e,t){var r=new ie,n=t.split(":");return r.ownerDocument=this,r.nodeName=t,r.name=t,r.namespaceURI=e,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,r}},l(H,F),ne.prototype={nodeType:f,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var r=this.ownerDocument.createAttribute(e);r.value=r.nodeValue=""+t,this.setAttributeNode(r)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===_?this.insertBefore(e,null):function(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,Z(e.ownerDocument,e,t),re(t,e.ownerDocument||e),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);r&&this.removeAttributeNode(r)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);return r&&r.value||""},setAttributeNS:function(e,t,r){var n=this.ownerDocument.createAttributeNS(e,t);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new C(this,function(t){var r=[];return U(t,function(n){n===t||n.nodeType!=f||"*"!==e&&n.tagName!=e||r.push(n)}),r})},getElementsByTagNameNS:function(e,t){return new C(this,function(r){var n=[];return U(r,function(i){i===r||i.nodeType!==f||"*"!==e&&i.namespaceURI!==e||"*"!==t&&i.localName!=t||n.push(i)}),n})}},H.prototype.getElementsByTagName=ne.prototype.getElementsByTagName,H.prototype.getElementsByTagNameNS=ne.prototype.getElementsByTagNameNS,l(ne,F),ie.prototype.nodeType=h,l(ie,F),oe.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(k[T])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,r){r=this.data.substring(0,e)+r+this.data.substring(e+t),this.nodeValue=this.data=r,this.length=r.length}},l(oe,F),ae.prototype={nodeName:"#text",nodeType:p,splitText:function(e){var t=this.data,r=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},l(ae,oe),se.prototype={nodeName:"#comment",nodeType:v},l(se,oe),ue.prototype={nodeName:"#cdata-section",nodeType:d},l(ue,oe),le.prototype.nodeType=b,l(le,F),ce.prototype.nodeType=x,l(ce,F),fe.prototype.nodeType=g,l(fe,F),he.prototype.nodeType=m,l(he,F),pe.prototype.nodeName="#document-fragment",pe.prototype.nodeType=_,l(pe,F),de.prototype.nodeType=y,l(de,F),me.prototype.serializeToString=function(e,t,r,n){return ge.call(e,t,r,n)},F.prototype.toString=ge;try{Object.defineProperty&&(Object.defineProperty(C.prototype,"length",{get:function(){return R(this),this.$$length}}),Object.defineProperty(F.prototype,"textContent",{get:function(){if(this.nodeType===f||this.nodeType===_){var e=[];return V(this,null,{enter:function(t){return t.nodeType===f||t.nodeType===_||(t.nodeType===y||t.nodeType===v?null:void e.push(t.nodeValue))}}),e.join("")}return this.nodeValue},set:function(e){switch(this.nodeType){case f:case _:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),_e=function(e,t,r){e["$$"+t]=r})}catch(xe){}e.DocumentType=le,e.DOMException=O,e.DOMImplementation=M,e.Element=ne,e.Node=F,e.NodeList=A,e.walkDOM=V,e.XMLSerializer=me}),ta=/* @__PURE__ */i(e=>{var t=Qo().freeze;e.XML_ENTITIES=t({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=t({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),e.entityMap=e.HTML_ENTITIES}),ra=/* @__PURE__ */i(e=>{var t=Qo().NAMESPACE,r=Qo().tagNamePattern;function n(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,n)}function i(){}function o(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function a(e,r,n,i,o,a){function s(e,t,r){n.attributeNames.hasOwnProperty(e)&&a.fatalError("Attribute "+e+" redefined"),n.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,o),r)}for(var u,l=++r,c=0;;){var f=e.charAt(l);if(0===c&&"<"===f)throw new Error("unexpected < in tag name: "+e.slice(r,l));switch(f){case"=":if(1===c)u=e.slice(r,l),c=3;else{if(2!==c)throw new Error("attribute equal must after attrName");c=3}break;case"'":case'"':if(3===c||1===c){if(1===c&&(a.warning('attribute value must after "="'),u=e.slice(r,l)),r=l+1,!((l=e.indexOf(f,r))>0))throw new Error("attribute value no end '"+f+"' match");s(u,h=e.slice(r,l),r-1),c=5}else{if(4!=c)throw new Error('attribute value must after "="');s(u,h=e.slice(r,l),r),a.warning('attribute "'+u+'" missed start quot('+f+")!!"),r=l+1,c=5}break;case"/":switch(c){case 0:n.setTagName(e.slice(r,l));case 5:case 6:case 7:c=7,n.closed=!0;case 4:case 1:break;case 2:n.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return a.error("unexpected end of input"),0==c&&n.setTagName(e.slice(r,l)),l;case">":switch(c){case 0:n.setTagName(e.slice(r,l));case 5:case 6:case 7:break;case 4:case 1:"/"===(h=e.slice(r,l)).slice(-1)&&(n.closed=!0,h=h.slice(0,-1));case 2:2===c&&(h=u),4==c?(a.warning('attribute "'+h+'" missed quot(")!'),s(u,h,r)):(t.isHTML(i[""])&&h.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+h+'" missed value!! "'+h+'" instead!!'),s(h,h,r));break;case 3:throw new Error("attribute value missed!!")}return l;case"€":f=" ";default:if(f<=" ")switch(c){case 0:n.setTagName(e.slice(r,l)),c=6;break;case 1:u=e.slice(r,l),c=2;break;case 4:var h=e.slice(r,l);a.warning('attribute "'+h+'" missed quot(")!!'),s(u,h,r);case 5:c=6}else switch(c){case 2:n.tagName,t.isHTML(i[""])&&u.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+u+'" missed value!! "'+u+'" instead2!!'),s(u,u,r),r=l,c=1;break;case 5:a.warning('attribute space is required"'+u+'"!!');case 6:c=1,r=l;break;case 3:c=4,r=l;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}l++}}function s(e,r,n){for(var i=e.tagName,o=null,a=e.length;a--;){var s=e[a],u=s.qName,l=s.value;if((p=u.indexOf(":"))>0)var c=s.prefix=u.slice(0,p),f=u.slice(p+1),h="xmlns"===c&&f;else f=u,c=null,h="xmlns"===u&&"";s.localName=f,!1!==h&&(null==o&&(o={},n=Object.create(n)),n[h]=o[h]=l,s.uri=t.XMLNS,r.startPrefixMapping(h,l))}for(a=e.length;a--;)(c=(s=e[a]).prefix)&&("xml"===c&&(s.uri=t.XML),"xmlns"!==c&&(s.uri=n[c||""]));var p;(p=i.indexOf(":"))>0?(c=e.prefix=i.slice(0,p),f=e.localName=i.slice(p+1)):(c=null,f=e.localName=i);var d=e.uri=n[c||""];if(r.startElement(d,f,i,e),!e.closed)return e.currentNSMap=n,e.localNSMap=o,!0;if(r.endElement(d,f,i),o)for(c in o)Object.prototype.hasOwnProperty.call(o,c)&&r.endPrefixMapping(c)}function u(e,t,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var o=e.indexOf("</"+r+">",t),a=e.substring(t+1,o);if(/[&<]/.test(a))return/^script$/i.test(r)?(i.characters(a,0,a.length),o):(a=a.replace(/&#?\w+;/g,n),i.characters(a,0,a.length),o)}return t+1}function l(e,t,r,n){var i=n[r];return null==i&&((i=e.lastIndexOf("</"+r+">"))<t&&(i=e.lastIndexOf("</"+r)),n[r]=i),i<t}function c(e,t,r,n){if("-"===e.charAt(t+2))return"-"===e.charAt(t+3)?(i=e.indexOf("--\x3e",t+4))>t?(r.comment(e,t+4,i-t-4),i+3):(n.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var i=e.indexOf("]]>",t+9);return r.startCDATA(),r.characters(e,t+9,i-t-9),r.endCDATA(),i+3}var o=function(e,t){var r,n=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(i.lastIndex=t,i.exec(e);r=i.exec(e);)if(n.push(r),r[1])return n}(e,t),a=o.length;if(a>1&&/!doctype/i.test(o[0][0])){var s=o[1][0],u=!1,l=!1;a>3&&(/^public$/i.test(o[2][0])?(u=o[3][0],l=a>4&&o[4][0]):/^system$/i.test(o[2][0])&&(l=o[3][0]));var c=o[a-1];return r.startDTD(s,u,l),r.endDTD(),c.index+c[0].length}return-1}function f(e,t,r){var n=e.indexOf("?>",t);if(n){var i=e.substring(t,n).match(/^<\?(\S*)\s*([\s\S]*?)$/);return i?(i[0].length,r.processingInstruction(i[1],i[2]),n+2):-1}return-1}function h(){this.attributeNames={}}n.prototype=/* @__PURE__ */new Error,n.prototype.name=n.name,i.prototype={parse:function(e,i,p){var d=this.domBuilder;d.startDocument(),function(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}(i,i={}),function(e,i,p,d,m){function g(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(p,t)?p[t]:"#"===t.charAt(0)?function(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}(parseInt(t.substr(1).replace("x","0x"))):(m.error("entity not found:"+e),e)}function y(t){if(t>T){var r=e.substring(T,t).replace(/&#?\w+;/g,g);x&&v(T),d.characters(r,0,t-T),T=t}}function v(t,r){for(;t>=b&&(r=_.exec(e));)w=r.index,b=w+r[0].length,x.lineNumber++;x.columnNumber=t-w+1}for(var w=0,b=0,_=/.*(?:\r\n?|\n)|.*$/g,x=d.locator,E=[{currentNSMap:i}],k={},T=0;;){try{var S=e.indexOf("<",T);if(S<0){if(!e.substr(T).match(/^\s*$/)){var N=d.doc,I=N.createTextNode(e.substr(T));N.appendChild(I),d.currentElement=I}return}switch(S>T&&y(S),e.charAt(S+1)){case"/":var D=e.indexOf(">",S+3),O=e.substring(S+2,D).replace(/^([\s\S]*?[^ \t\n\r])?[ \t\n\r]*$/,"$1"),A=E.pop();D<0?(O=e.substring(S+2).replace(/[\s<].*/,""),m.error("end tag name: "+O+" is not complete:"+A.tagName),D=S+1+O.length):O.match(/\s</)?(O=O.replace(/[\s<].*/,""),m.error("end tag name: "+O+" maybe not complete"),D=S+1+O.length):/[ \t\n\r]/.test(O)&&r.test(O.split(/[ \t\n\r]/)[0])&&m.error('end tag name is followed by whitespace and trailing content: "'+O+'"');var C=A.localNSMap,R=A.tagName==O;if(R||A.tagName&&A.tagName.toLowerCase()==O.toLowerCase()){if(d.endElement(A.uri,A.localName,O),C)for(var L in C)Object.prototype.hasOwnProperty.call(C,L)&&d.endPrefixMapping(L);R||m.fatalError("end tag name: "+O+" is not match the current start tagName:"+A.tagName)}else E.push(A);D++;break;case"?":x&&v(S),D=f(e,S,d);break;case"!":x&&v(S),D=c(e,S,d,m);break;default:x&&v(S);var B=new h,P=E[E.length-1].currentNSMap,z=(D=a(e,S,B,P,g,m),B.length);if(!B.closed&&l(e,D,B.tagName,k)&&(B.closed=!0,p.nbsp||m.warning("unclosed xml attribute")),x&&z){for(var q=o(x,{}),M=0;M<z;M++){var F=B[M];v(F.offset),F.locator=o(x,{})}d.locator=q,s(B,d,P)&&E.push(B),d.locator=x}else s(B,d,P)&&E.push(B);t.isHTML(B.uri)&&!B.closed?D=u(e,D,B.tagName,g,d):D++}}catch(j){if(j instanceof n)throw j;m.error("element parse error: "+j),D=-1}D>T?T=D:y(Math.max(S,T)+1)}}(e,i,p,d,this.errorHandler),d.endDocument()}},h.prototype={setTagName:function(e){if(!r.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!r.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},e.XMLReader=i,e.ParseError=n}),na=/* @__PURE__ */i(e=>{var t=Qo(),r=ea(),n=ta(),i=ra(),o=r.DOMImplementation,a=t.NAMESPACE,s=i.ParseError,u=i.XMLReader;function l(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function c(e){this.options=e||{locator:{}}}function f(){this.cdata=!1}function h(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function p(e,t,r){return"string"==typeof e?e.substr(t,r):e.length>=t+r||t?new java.lang.String(e,t,r)+"":e}function d(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}c.prototype.parseFromString=function(e,t){var r=this.options,i=new u,o=r.domBuilder||new f,s=r.errorHandler,c=r.locator,h=r.xmlns||{},p=/\/x?html?$/.test(t),d=p?n.HTML_ENTITIES:n.XML_ENTITIES;c&&o.setDocumentLocator(c),i.errorHandler=function(e,t,r){if(!e){if(t instanceof f)return t;e=t}var n={},i=e instanceof Function;function o(t){var o=e[t];!o&&i&&(o=2==e.length?function(r){e(t,r)}:e),n[t]=o&&function(e){o("[xmldom "+t+"]\t"+e+function(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}(r))}||function(){}}return r=r||{},o("warning"),o("error"),o("fatalError"),n}(s,o,c),i.domBuilder=r.domBuilder||o,p&&(h[""]=a.HTML),h.xml=h.xml||a.XML;var m=r.normalizeLineEndings||l;return e&&"string"==typeof e?i.parse(m(e),h,d):i.errorHandler.error("invalid doc source"),o.doc},f.prototype={startDocument:function(){this.doc=(new o).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,r,n){var i=this.doc,o=i.createElementNS(e,r||t),a=n.length;d(this,o),this.currentElement=o,this.locator&&h(this.locator,o);for(var s=0;s<a;s++){e=n.getURI(s);var u=n.getValue(s),l=(r=n.getQName(s),i.createAttributeNS(e,r));this.locator&&h(n.getLocator(s),l),l.value=l.nodeValue=u,o.setAttributeNode(l)}},endElement:function(e,t,r){var n=this.currentElement;n.tagName,this.currentElement=n.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var r=this.doc.createProcessingInstruction(e,t);this.locator&&h(this.locator,r),d(this,r)},ignorableWhitespace:function(e,t,r){},characters:function(e,t,r){if(e=p.apply(this,arguments)){if(this.cdata)var n=this.doc.createCDATASection(e);else n=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(e)&&this.doc.appendChild(n),this.locator&&h(this.locator,n)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,r){e=p.apply(this,arguments);var n=this.doc.createComment(e);this.locator&&h(this.locator,n),d(this,n)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,r){var n=this.doc.implementation;if(n&&n.createDocumentType){var i=n.createDocumentType(e,t,r);this.locator&&h(this.locator,i),d(this,i),this.doc.doctype=i}},warning:function(e){},error:function(e){},fatalError:function(e){throw new s(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){f.prototype[e]=function(){return null}}),e.__DOMHandler=f,e.normalizeLineEndings=l,e.DOMParser=c}),ia=/* @__PURE__ */i(e=>{var t=ea();e.DOMImplementation=t.DOMImplementation,e.XMLSerializer=t.XMLSerializer,e.DOMParser=na().DOMParser}),oa=/* @__PURE__ */i(e=>{var t=ia(),r=ea();e.parseFromString=function(e){var r=null,n=new t.DOMParser({errorHandler:function(e,t){r={level:e,message:t}}}).parseFromString(e);if(null===r)return n;throw new Error(r.level+": "+r.message)},e.Node=r.Node}),aa=/* @__PURE__ */i(t=>{var r=Zo(),n=(Wo(),e(Ho)),i=oa(),o=Jo(),a=o.Element;t.readString=function(e,t){t=t||{};try{var u=i.parseFromString(e,"text/xml")}catch(c){return r.reject(c)}if("parsererror"===u.documentElement.tagName)return r.resolve(new Error(u.documentElement.textContent));function l(e){if(e.namespaceURI){var r=t[e.namespaceURI];return(r?r+":":"{"+e.namespaceURI+"}")+e.localName}return e.localName}return r.resolve(function e(t){switch(t.nodeType){case s.ELEMENT_NODE:return function(t){var r=l(t),i=[];n.forEach(t.childNodes,function(t){var r=e(t);r&&i.push(r)});var o=Object.create(null);return n.forEach(t.attributes,function(e){o[l(e)]=e.value}),new a(r,o,i)}(t);case s.TEXT_NODE:return o.text(t.nodeValue)}}(u.documentElement))};var s=i.Node}),sa=/* @__PURE__ */i((e,t)=>{(function(){var e,r,n,i,o,a,s,u=[].slice,l={}.hasOwnProperty;e=function(){var e,t,r,n,i,a=arguments[0];if(i=2<=arguments.length?u.call(arguments,1):[],o(Object.assign))Object.assign.apply(null,arguments);else for(e=0,r=i.length;e<r;e++)if(null!=(n=i[e]))for(t in n)l.call(n,t)&&(a[t]=n[t]);return a},o=function(e){return!!e&&"[object Function]"===Object.prototype.toString.call(e)},a=function(e){var t;return!!e&&("function"==(t=typeof e)||"object"===t)},n=function(e){return o(Array.isArray)?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},i=function(e){var t;if(n(e))return!e.length;for(t in e)if(l.call(e,t))return!1;return!0},s=function(e){var t,r;return a(e)&&(r=Object.getPrototypeOf(e))&&(t=r.constructor)&&"function"==typeof t&&t instanceof t&&Function.prototype.toString.call(t)===Function.prototype.toString.call(Object)},r=function(e){return o(e.valueOf)?e.valueOf():e},t.exports.assign=e,t.exports.isFunction=o,t.exports.isObject=a,t.exports.isArray=n,t.exports.isEmpty=i,t.exports.isPlainObject=s,t.exports.getValue=r}).call(e)}),ua=/* @__PURE__ */i((e,t)=>{(function(){t.exports=function(){function e(e,t,r){if(this.options=e.options,this.stringify=e.stringify,this.parent=e,null==t)throw new Error("Missing attribute name. "+this.debugInfo(t));if(null==r)throw new Error("Missing attribute value. "+this.debugInfo(t));this.name=this.stringify.attName(t),this.value=this.stringify.attValue(r)}return e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(e){return this.options.writer.set(e).attribute(this)},e.prototype.debugInfo=function(e){return null==(e=e||this.name)?"parent: <"+this.parent.name+">":"attribute: {"+e+"}, parent: <"+this.parent.name+">"},e}()}).call(e)}),la=/* @__PURE__ */i((e,t)=>{(function(){var e,r,n,i,o,a,s={}.hasOwnProperty;a=sa(),o=a.isObject,i=a.isFunction,n=a.getValue,r=xa(),e=ua(),t.exports=function(t){function r(e,t,n){if(r.__super__.constructor.call(this,e),null==t)throw new Error("Missing element name. "+this.debugInfo());this.name=this.stringify.eleName(t),this.attributes={},null!=n&&this.attribute(n),e.isDocument&&(this.isRoot=!0,this.documentObject=e,e.rootObject=this)}return function(e,t){for(var r in t)s.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype}(r,t),r.prototype.clone=function(){var e,t,r,n=Object.create(this);for(t in n.isRoot&&(n.documentObject=null),n.attributes={},r=this.attributes)s.call(r,t)&&(e=r[t],n.attributes[t]=e.clone());return n.children=[],this.children.forEach(function(e){var t=e.clone();return t.parent=n,n.children.push(t)}),n},r.prototype.attribute=function(t,r){var a,u;if(null!=t&&(t=n(t)),o(t))for(a in t)s.call(t,a)&&(u=t[a],this.attribute(a,u));else i(r)&&(r=r.apply()),this.options.skipNullAttributes&&null==r||(this.attributes[t]=new e(this,t,r));return this},r.prototype.removeAttribute=function(e){var t,r,i;if(null==e)throw new Error("Missing attribute name. "+this.debugInfo());if(e=n(e),Array.isArray(e))for(r=0,i=e.length;r<i;r++)t=e[r],delete this.attributes[t];else delete this.attributes[e];return this},r.prototype.toString=function(e){return this.options.writer.set(e).element(this)},r.prototype.att=function(e,t){return this.attribute(e,t)},r.prototype.a=function(e,t){return this.attribute(e,t)},r}(r)}).call(e)}),ca=/* @__PURE__ */i((e,t)=>{(function(){var e,r={}.hasOwnProperty;e=xa(),t.exports=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing CDATA text. "+this.debugInfo());this.text=this.stringify.cdata(r)}return function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).cdata(this)},t}(e)}).call(e)}),fa=/* @__PURE__ */i((e,t)=>{(function(){var e,r={}.hasOwnProperty;e=xa(),t.exports=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing comment text. "+this.debugInfo());this.text=this.stringify.comment(r)}return function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).comment(this)},t}(e)}).call(e)}),ha=/* @__PURE__ */i((e,t)=>{(function(){var e,r,n={}.hasOwnProperty;r=sa().isObject,e=xa(),t.exports=function(e){function t(e,n,i,o){var a;t.__super__.constructor.call(this,e),r(n)&&(n=(a=n).version,i=a.encoding,o=a.standalone),n||(n="1.0"),this.version=this.stringify.xmlVersion(n),null!=i&&(this.encoding=this.stringify.xmlEncoding(i)),null!=o&&(this.standalone=this.stringify.xmlStandalone(o))}return function(e,t){for(var r in t)n.call(t,r)&&(e[r]=t[r]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).declaration(this)},t}(e)}).call(e)}),pa=/* @__PURE__ */i((e,t)=>{(function(){var e,r={}.hasOwnProperty;e=xa(),t.exports=function(e){function t(e,r,n,i,o,a){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing DTD element name. "+this.debugInfo());if(null==n)throw new Error("Missing DTD attribute name. "+this.debugInfo(r));if(!i)throw new Error("Missing DTD attribute type. "+this.debugInfo(r));if(!o)throw new Error("Missing DTD attribute default. "+this.debugInfo(r));if(0!==o.indexOf("#")&&(o="#"+o),!o.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(r));if(a&&!o.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(r));this.elementName=this.stringify.eleName(r),this.attributeName=this.stringify.attName(n),this.attributeType=this.stringify.dtdAttType(i),this.defaultValue=this.stringify.dtdAttDefault(a),this.defaultValueType=o}return function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdAttList(this)},t}(e)}).call(e)}),da=/* @__PURE__ */i((e,t)=>{(function(){var e,r,n={}.hasOwnProperty;r=sa().isObject,e=xa(),t.exports=function(e){function t(e,n,i,o){if(t.__super__.constructor.call(this,e),null==i)throw new Error("Missing DTD entity name. "+this.debugInfo(i));if(null==o)throw new Error("Missing DTD entity value. "+this.debugInfo(i));if(this.pe=!!n,this.name=this.stringify.eleName(i),r(o)){if(!o.pubID&&!o.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(i));if(o.pubID&&!o.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(i));if(null!=o.pubID&&(this.pubID=this.stringify.dtdPubID(o.pubID)),null!=o.sysID&&(this.sysID=this.stringify.dtdSysID(o.sysID)),null!=o.nData&&(this.nData=this.stringify.dtdNData(o.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(i))}else this.value=this.stringify.dtdEntityValue(o)}return function(e,t){for(var r in t)n.call(t,r)&&(e[r]=t[r]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdEntity(this)},t}(e)}).call(e)}),ma=/* @__PURE__ */i((e,t)=>{(function(){var e,r={}.hasOwnProperty;e=xa(),t.exports=function(e){function t(e,r,n){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing DTD element name. "+this.debugInfo());n||(n="(#PCDATA)"),Array.isArray(n)&&(n="("+n.join(",")+")"),this.name=this.stringify.eleName(r),this.value=this.stringify.dtdElementValue(n)}return function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdElement(this)},t}(e)}).call(e)}),ga=/* @__PURE__ */i((e,t)=>{(function(){var e,r={}.hasOwnProperty;e=xa(),t.exports=function(e){function t(e,r,n){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing DTD notation name. "+this.debugInfo(r));if(!n.pubID&&!n.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(r));this.name=this.stringify.eleName(r),null!=n.pubID&&(this.pubID=this.stringify.dtdPubID(n.pubID)),null!=n.sysID&&(this.sysID=this.stringify.dtdSysID(n.sysID))}return function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdNotation(this)},t}(e)}).call(e)}),ya=/* @__PURE__ */i((e,t)=>{(function(){var e,r,n,i,o,a,s={}.hasOwnProperty;a=sa().isObject,o=xa(),e=pa(),n=da(),r=ma(),i=ga(),t.exports=function(t){function o(e,t,r){var n,i;o.__super__.constructor.call(this,e),this.name="!DOCTYPE",this.documentObject=e,a(t)&&(t=(n=t).pubID,r=n.sysID),null==r&&(r=(i=[t,r])[0],t=i[1]),null!=t&&(this.pubID=this.stringify.dtdPubID(t)),null!=r&&(this.sysID=this.stringify.dtdSysID(r))}return function(e,t){for(var r in t)s.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype}(o,t),o.prototype.element=function(e,t){var n=new r(this,e,t);return this.children.push(n),this},o.prototype.attList=function(t,r,n,i,o){var a=new e(this,t,r,n,i,o);return this.children.push(a),this},o.prototype.entity=function(e,t){var r=new n(this,!1,e,t);return this.children.push(r),this},o.prototype.pEntity=function(e,t){var r=new n(this,!0,e,t);return this.children.push(r),this},o.prototype.notation=function(e,t){var r=new i(this,e,t);return this.children.push(r),this},o.prototype.toString=function(e){return this.options.writer.set(e).docType(this)},o.prototype.ele=function(e,t){return this.element(e,t)},o.prototype.att=function(e,t,r,n,i){return this.attList(e,t,r,n,i)},o.prototype.ent=function(e,t){return this.entity(e,t)},o.prototype.pent=function(e,t){return this.pEntity(e,t)},o.prototype.not=function(e,t){return this.notation(e,t)},o.prototype.up=function(){return this.root()||this.documentObject},o}(o)}).call(e)}),va=/* @__PURE__ */i((e,t)=>{(function(){var e,r={}.hasOwnProperty;e=xa(),t.exports=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing raw text. "+this.debugInfo());this.value=this.stringify.raw(r)}return function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).raw(this)},t}(e)}).call(e)}),wa=/* @__PURE__ */i((e,t)=>{(function(){var e,r={}.hasOwnProperty;e=xa(),t.exports=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing element text. "+this.debugInfo());this.value=this.stringify.eleText(r)}return function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).text(this)},t}(e)}).call(e)}),ba=/* @__PURE__ */i((e,t)=>{(function(){var e,r={}.hasOwnProperty;e=xa(),t.exports=function(e){function t(e,r,n){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing instruction target. "+this.debugInfo());this.target=this.stringify.insTarget(r),n&&(this.value=this.stringify.insValue(n))}return function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).processingInstruction(this)},t}(e)}).call(e)}),_a=/* @__PURE__ */i((e,t)=>{(function(){var e,r={}.hasOwnProperty;e=xa(),t.exports=function(e){function t(e){t.__super__.constructor.call(this,e),this.isDummy=!0}return function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return""},t}(e)}).call(e)}),xa=/* @__PURE__ */i((e,t)=>{(function(){var e,r,n,i,o,a,s,u,l,c,f,h,p,d,m={}.hasOwnProperty;d=sa(),p=d.isObject,h=d.isFunction,f=d.isEmpty,c=d.getValue,a=null,e=null,r=null,n=null,i=null,u=null,l=null,s=null,o=null,t.exports=function(){function t(t){this.parent=t,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],a||(a=la(),e=ca(),r=fa(),n=ha(),i=ya(),u=va(),l=wa(),s=ba(),o=_a())}return t.prototype.element=function(e,t,r){var n,i,o,a,s,u,l,d,g,y,v=null;if(null===t&&null==r&&(t=(d=[{},null])[0],r=d[1]),null==t&&(t={}),t=c(t),p(t)||(r=(g=[t,r])[0],t=g[1]),null!=e&&(e=c(e)),Array.isArray(e))for(o=0,u=e.length;o<u;o++)i=e[o],v=this.element(i);else if(h(e))v=this.element(e.apply());else if(p(e)){for(s in e)if(m.call(e,s))if(y=e[s],h(y)&&(y=y.apply()),p(y)&&f(y)&&(y=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===s.indexOf(this.stringify.convertAttKey))v=this.attribute(s.substr(this.stringify.convertAttKey.length),y);else if(!this.options.separateArrayItems&&Array.isArray(y))for(a=0,l=y.length;a<l;a++)i=y[a],(n={})[s]=i,v=this.element(n);else p(y)?(v=this.element(s)).element(y):v=this.element(s,y)}else v=this.options.skipNullNodes&&null===r?this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===e.indexOf(this.stringify.convertTextKey)?this.text(r):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===e.indexOf(this.stringify.convertCDataKey)?this.cdata(r):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===e.indexOf(this.stringify.convertCommentKey)?this.comment(r):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===e.indexOf(this.stringify.convertRawKey)?this.raw(r):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===e.indexOf(this.stringify.convertPIKey)?this.instruction(e.substr(this.stringify.convertPIKey.length),r):this.node(e,t,r);if(null==v)throw new Error("Could not create any elements with: "+e+". "+this.debugInfo());return v},t.prototype.insertBefore=function(e,t,r){var n,i,o;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(e));return i=this.parent.children.indexOf(this),o=this.parent.children.splice(i),n=this.parent.element(e,t,r),Array.prototype.push.apply(this.parent.children,o),n},t.prototype.insertAfter=function(e,t,r){var n,i,o;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(e));return i=this.parent.children.indexOf(this),o=this.parent.children.splice(i+1),n=this.parent.element(e,t,r),Array.prototype.push.apply(this.parent.children,o),n},t.prototype.remove=function(){var e;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return e=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[e,e-e+1].concat([])),this.parent},t.prototype.node=function(e,t,r){var n,i;return null!=e&&(e=c(e)),t||(t={}),t=c(t),p(t)||(r=(i=[t,r])[0],t=i[1]),n=new a(this,e,t),null!=r&&n.text(r),this.children.push(n),n},t.prototype.text=function(e){var t=new l(this,e);return this.children.push(t),this},t.prototype.cdata=function(t){var r=new e(this,t);return this.children.push(r),this},t.prototype.comment=function(e){var t=new r(this,e);return this.children.push(t),this},t.prototype.commentBefore=function(e){var t=this.parent.children.indexOf(this),r=this.parent.children.splice(t);return this.parent.comment(e),Array.prototype.push.apply(this.parent.children,r),this},t.prototype.commentAfter=function(e){var t=this.parent.children.indexOf(this),r=this.parent.children.splice(t+1);return this.parent.comment(e),Array.prototype.push.apply(this.parent.children,r),this},t.prototype.raw=function(e){var t=new u(this,e);return this.children.push(t),this},t.prototype.dummy=function(){var e=new o(this);return this.children.push(e),e},t.prototype.instruction=function(e,t){var r,n,i,o,a;if(null!=e&&(e=c(e)),null!=t&&(t=c(t)),Array.isArray(e))for(o=0,a=e.length;o<a;o++)r=e[o],this.instruction(r);else if(p(e))for(r in e)m.call(e,r)&&(n=e[r],this.instruction(r,n));else h(t)&&(t=t.apply()),i=new s(this,e,t),this.children.push(i);return this},t.prototype.instructionBefore=function(e,t){var r=this.parent.children.indexOf(this),n=this.parent.children.splice(r);return this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,n),this},t.prototype.instructionAfter=function(e,t){var r=this.parent.children.indexOf(this),n=this.parent.children.splice(r+1);return this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,n),this},t.prototype.declaration=function(e,t,r){var i=this.document(),o=new n(i,e,t,r);return i.children[0]instanceof n?i.children[0]=o:i.children.unshift(o),i.root()||i},t.prototype.doctype=function(e,t){var r,n,o,a,s,u,l=this.document(),c=new i(l,e,t),f=l.children;for(r=n=0,a=f.length;n<a;r=++n)if(f[r]instanceof i)return l.children[r]=c,c;for(r=o=0,s=(u=l.children).length;o<s;r=++o)if(u[r].isRoot)return l.children.splice(r,0,c),c;return l.children.push(c),c},t.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},t.prototype.root=function(){for(var e=this;e;){if(e.isDocument)return e.rootObject;if(e.isRoot)return e;e=e.parent}},t.prototype.document=function(){for(var e=this;e;){if(e.isDocument)return e;e=e.parent}},t.prototype.end=function(e){return this.document().end(e)},t.prototype.prev=function(){for(var e=this.parent.children.indexOf(this);e>0&&this.parent.children[e-1].isDummy;)e-=1;if(e<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[e-1]},t.prototype.next=function(){for(var e=this.parent.children.indexOf(this);e<this.parent.children.length-1&&this.parent.children[e+1].isDummy;)e+=1;if(-1===e||e===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[e+1]},t.prototype.importDocument=function(e){var t=e.root().clone();return t.parent=this,t.isRoot=!1,this.children.push(t),this},t.prototype.debugInfo=function(e){var t,r;return null!=(e=e||this.name)||(null!=(t=this.parent)?t.name:void 0)?null==e?"parent: <"+this.parent.name+">":(null!=(r=this.parent)?r.name:void 0)?"node: <"+e+">, parent: <"+this.parent.name+">":"node: <"+e+">":""},t.prototype.ele=function(e,t,r){return this.element(e,t,r)},t.prototype.nod=function(e,t,r){return this.node(e,t,r)},t.prototype.txt=function(e){return this.text(e)},t.prototype.dat=function(e){return this.cdata(e)},t.prototype.com=function(e){return this.comment(e)},t.prototype.ins=function(e,t){return this.instruction(e,t)},t.prototype.doc=function(){return this.document()},t.prototype.dec=function(e,t,r){return this.declaration(e,t,r)},t.prototype.dtd=function(e,t){return this.doctype(e,t)},t.prototype.e=function(e,t,r){return this.element(e,t,r)},t.prototype.n=function(e,t,r){return this.node(e,t,r)},t.prototype.t=function(e){return this.text(e)},t.prototype.d=function(e){return this.cdata(e)},t.prototype.c=function(e){return this.comment(e)},t.prototype.r=function(e){return this.raw(e)},t.prototype.i=function(e,t){return this.instruction(e,t)},t.prototype.u=function(){return this.up()},t.prototype.importXMLBuilder=function(e){return this.importDocument(e)},t}()}).call(e)}),Ea=/* @__PURE__ */i((e,t)=>{(function(){var e={}.hasOwnProperty;t.exports=function(){function t(t){var r,n,i,o,a;for(i in this.assertLegalChar=(r=this.assertLegalChar,n=this,function(){return r.apply(n,arguments)}),t||(t={}),this.noDoubleEncoding=t.noDoubleEncoding,o=t.stringify||{})e.call(o,i)&&(a=o[i],this[i]=a)}return t.prototype.eleName=function(e){return e=""+e||"",this.assertLegalChar(e)},t.prototype.eleText=function(e){return e=""+e||"",this.assertLegalChar(this.elEscape(e))},t.prototype.cdata=function(e){return e=(e=""+e||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(e)},t.prototype.comment=function(e){if((e=""+e||"").match(/--/))throw new Error("Comment text cannot contain double-hypen: "+e);return this.assertLegalChar(e)},t.prototype.raw=function(e){return""+e||""},t.prototype.attName=function(e){return""+e||""},t.prototype.attValue=function(e){return e=""+e||"",this.attEscape(e)},t.prototype.insTarget=function(e){return""+e||""},t.prototype.insValue=function(e){if((e=""+e||"").match(/\?>/))throw new Error("Invalid processing instruction value: "+e);return e},t.prototype.xmlVersion=function(e){if(!(e=""+e||"").match(/1\.[0-9]+/))throw new Error("Invalid version number: "+e);return e},t.prototype.xmlEncoding=function(e){if(!(e=""+e||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+e);return e},t.prototype.xmlStandalone=function(e){return e?"yes":"no"},t.prototype.dtdPubID=function(e){return""+e||""},t.prototype.dtdSysID=function(e){return""+e||""},t.prototype.dtdElementValue=function(e){return""+e||""},t.prototype.dtdAttType=function(e){return""+e||""},t.prototype.dtdAttDefault=function(e){return null!=e?""+e||"":e},t.prototype.dtdEntityValue=function(e){return""+e||""},t.prototype.dtdNData=function(e){return""+e||""},t.prototype.convertAttKey="@",t.prototype.convertPIKey="?",t.prototype.convertTextKey="#text",t.prototype.convertCDataKey="#cdata",t.prototype.convertCommentKey="#comment",t.prototype.convertRawKey="#raw",t.prototype.assertLegalChar=function(e){var t=e.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/);if(t)throw new Error("Invalid character in string: "+e+" at index "+t.index);return e},t.prototype.elEscape=function(e){var t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g;return e.replace(t,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;")},t.prototype.attEscape=function(e){var t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g;return e.replace(t,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;")},t}()}).call(e)}),ka=/* @__PURE__ */i((e,t)=>{(function(){var e={}.hasOwnProperty;t.exports=function(){function t(t){var r,n,i,o,a,s,u,l,c;for(r in t||(t={}),this.pretty=t.pretty||!1,this.allowEmpty=null!=(n=t.allowEmpty)&&n,this.pretty?(this.indent=null!=(i=t.indent)?i:" ",this.newline=null!=(o=t.newline)?o:"\n",this.offset=null!=(a=t.offset)?a:0,this.dontprettytextnodes=null!=(s=t.dontprettytextnodes)?s:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=null!=(u=t.spacebeforeslash)?u:"",!0===this.spacebeforeslash&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,l=t.writer||{})e.call(l,r)&&(c=l[r],this[r]=c)}return t.prototype.set=function(t){var r,n,i;for(r in t||(t={}),"pretty"in t&&(this.pretty=t.pretty),"allowEmpty"in t&&(this.allowEmpty=t.allowEmpty),this.pretty?(this.indent="indent"in t?t.indent:" ",this.newline="newline"in t?t.newline:"\n",this.offset="offset"in t?t.offset:0,this.dontprettytextnodes="dontprettytextnodes"in t?t.dontprettytextnodes:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash="spacebeforeslash"in t?t.spacebeforeslash:"",!0===this.spacebeforeslash&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,n=t.writer||{})e.call(n,r)&&(i=n[r],this[r]=i);return this},t.prototype.space=function(e){var t;return this.pretty&&(t=(e||0)+this.offset+1)>0?new Array(t).join(this.indent):""},t}()}).call(e)}),Ta=/* @__PURE__ */i((e,t)=>{(function(){var e,r,n,i,o,a,s,u,l,c,f,h,p,d,m={}.hasOwnProperty;s=ha(),u=ya(),e=ca(),r=fa(),c=la(),h=va(),p=wa(),f=ba(),l=_a(),n=pa(),i=ma(),o=da(),a=ga(),d=ka(),t.exports=function(t){function d(e){d.__super__.constructor.call(this,e)}return function(e,t){for(var r in t)m.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype}(d,t),d.prototype.document=function(e){var t,n,i,o,a;for(this.textispresent=!1,o="",n=0,i=(a=e.children).length;n<i;n++)(t=a[n])instanceof l||(o+=function(){switch(!1){case!(t instanceof s):return this.declaration(t);case!(t instanceof u):return this.docType(t);case!(t instanceof r):return this.comment(t);case!(t instanceof f):return this.processingInstruction(t);default:return this.element(t,0)}}.call(this));return this.pretty&&o.slice(-this.newline.length)===this.newline&&(o=o.slice(0,-this.newline.length)),o},d.prototype.attribute=function(e){return" "+e.name+'="'+e.value+'"'},d.prototype.cdata=function(e,t){return this.space(t)+"<![CDATA["+e.text+"]]>"+this.newline},d.prototype.comment=function(e,t){return this.space(t)+"\x3c!-- "+e.text+" --\x3e"+this.newline},d.prototype.declaration=function(e,t){var r=this.space(t);return r+='<?xml version="'+e.version+'"',null!=e.encoding&&(r+=' encoding="'+e.encoding+'"'),null!=e.standalone&&(r+=' standalone="'+e.standalone+'"'),(r+=this.spacebeforeslash+"?>")+this.newline},d.prototype.docType=function(t,s){var u,l,c,h,p;if(s||(s=0),h=this.space(s),h+="<!DOCTYPE "+t.root().name,t.pubID&&t.sysID?h+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.sysID&&(h+=' SYSTEM "'+t.sysID+'"'),t.children.length>0){for(h+=" [",h+=this.newline,l=0,c=(p=t.children).length;l<c;l++)u=p[l],h+=function(){switch(!1){case!(u instanceof n):return this.dtdAttList(u,s+1);case!(u instanceof i):return this.dtdElement(u,s+1);case!(u instanceof o):return this.dtdEntity(u,s+1);case!(u instanceof a):return this.dtdNotation(u,s+1);case!(u instanceof e):return this.cdata(u,s+1);case!(u instanceof r):return this.comment(u,s+1);case!(u instanceof f):return this.processingInstruction(u,s+1);default:throw new Error("Unknown DTD node type: "+u.constructor.name)}}.call(this);h+="]"}return(h+=this.spacebeforeslash+">")+this.newline},d.prototype.element=function(t,n){var i,o,a,s,u,d,g,y,v,w,b,_,x;for(g in n||(n=0),x=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),y="",y+=(_=this.space(n))+"<"+t.name,v=t.attributes)m.call(v,g)&&(i=v[g],y+=this.attribute(i));if(0===t.children.length||t.children.every(function(e){return""===e.value}))this.allowEmpty?y+="></"+t.name+">"+this.newline:y+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&1===t.children.length&&null!=t.children[0].value)y+=">",y+=t.children[0].value,y+="</"+t.name+">"+this.newline;else{if(this.dontprettytextnodes)for(a=0,u=(w=t.children).length;a<u;a++)if(null!=(o=w[a]).value){this.textispresent++,x=!0;break}for(this.textispresent&&(this.newline="",this.pretty=!1,_=this.space(n)),y+=">"+this.newline,s=0,d=(b=t.children).length;s<d;s++)o=b[s],y+=function(){switch(!1){case!(o instanceof e):return this.cdata(o,n+1);case!(o instanceof r):return this.comment(o,n+1);case!(o instanceof c):return this.element(o,n+1);case!(o instanceof h):return this.raw(o,n+1);case!(o instanceof p):return this.text(o,n+1);case!(o instanceof f):return this.processingInstruction(o,n+1);case!(o instanceof l):return"";default:throw new Error("Unknown XML node type: "+o.constructor.name)}}.call(this);x&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),y+=_+"</"+t.name+">"+this.newline}return y},d.prototype.processingInstruction=function(e,t){var r=this.space(t)+"<?"+e.target;return e.value&&(r+=" "+e.value),r+(this.spacebeforeslash+"?>")+this.newline},d.prototype.raw=function(e,t){return this.space(t)+e.value+this.newline},d.prototype.text=function(e,t){return this.space(t)+e.value+this.newline},d.prototype.dtdAttList=function(e,t){var r=this.space(t)+"<!ATTLIST "+e.elementName+" "+e.attributeName+" "+e.attributeType;return"#DEFAULT"!==e.defaultValueType&&(r+=" "+e.defaultValueType),e.defaultValue&&(r+=' "'+e.defaultValue+'"'),r+(this.spacebeforeslash+">")+this.newline},d.prototype.dtdElement=function(e,t){return this.space(t)+"<!ELEMENT "+e.name+" "+e.value+this.spacebeforeslash+">"+this.newline},d.prototype.dtdEntity=function(e,t){var r=this.space(t)+"<!ENTITY";return e.pe&&(r+=" %"),r+=" "+e.name,e.value?r+=' "'+e.value+'"':(e.pubID&&e.sysID?r+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(r+=' SYSTEM "'+e.sysID+'"'),e.nData&&(r+=" NDATA "+e.nData)),r+(this.spacebeforeslash+">")+this.newline},d.prototype.dtdNotation=function(e,t){var r=this.space(t)+"<!NOTATION "+e.name;return e.pubID&&e.sysID?r+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.pubID?r+=' PUBLIC "'+e.pubID+'"':e.sysID&&(r+=' SYSTEM "'+e.sysID+'"'),r+(this.spacebeforeslash+">")+this.newline},d.prototype.openNode=function(e,t){var r,n,i,o;if(t||(t=0),e instanceof c){for(n in i=this.space(t)+"<"+e.name,o=e.attributes)m.call(o,n)&&(r=o[n],i+=this.attribute(r));return i+(e.children?">":"/>")+this.newline}return i=this.space(t)+"<!DOCTYPE "+e.rootNodeName,e.pubID&&e.sysID?i+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(i+=' SYSTEM "'+e.sysID+'"'),i+(e.children?" [":">")+this.newline},d.prototype.closeNode=function(e,t){switch(t||(t=0),!1){case!(e instanceof c):return this.space(t)+"</"+e.name+">"+this.newline;case!(e instanceof u):return this.space(t)+"]>"+this.newline}},d}(d)}).call(e)}),Sa=/* @__PURE__ */i((e,t)=>{(function(){var e,r,n,i,o={}.hasOwnProperty;i=sa().isPlainObject,e=xa(),n=Ea(),r=Ta(),t.exports=function(e){function t(e){t.__super__.constructor.call(this,null),this.name="?xml",e||(e={}),e.writer||(e.writer=new r),this.options=e,this.stringify=new n(e),this.isDocument=!0}return function(e,t){for(var r in t)o.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype}(t,e),t.prototype.end=function(e){var t;return e?i(e)&&(t=e,e=this.options.writer.set(t)):e=this.options.writer,e.document(this)},t.prototype.toString=function(e){return this.options.writer.set(e).document(this)},t}(e)}).call(e)}),Na=/* @__PURE__ */i((e,t)=>{(function(){var e,r,n,i,o,a,s,u,l,c,f,h,p,d,m,g,y,v,w,b,_={}.hasOwnProperty;b=sa(),v=b.isObject,y=b.isFunction,w=b.isPlainObject,g=b.getValue,c=la(),r=ca(),n=fa(),h=va(),m=wa(),f=ba(),u=ha(),l=ya(),i=pa(),a=da(),o=ma(),s=ga(),e=ua(),d=Ea(),p=Ta(),t.exports=function(){function t(e,t,r){var n;this.name="?xml",e||(e={}),e.writer?w(e.writer)&&(n=e.writer,e.writer=new p(n)):e.writer=new p(e),this.options=e,this.writer=e.writer,this.stringify=new d(e),this.onDataCallback=t||function(){},this.onEndCallback=r||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return t.prototype.node=function(e,t,r){var n,i;if(null==e)throw new Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw new Error("Document can only have one root node. "+this.debugInfo(e));return this.openCurrent(),e=g(e),null===t&&null==r&&(t=(n=[{},null])[0],r=n[1]),null==t&&(t={}),t=g(t),v(t)||(r=(i=[t,r])[0],t=i[1]),this.currentNode=new c(this,e,t),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=r&&this.text(r),this},t.prototype.element=function(e,t,r){return this.currentNode&&this.currentNode instanceof l?this.dtdElement.apply(this,arguments):this.node(e,t,r)},t.prototype.attribute=function(t,r){var n,i;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(t));if(null!=t&&(t=g(t)),v(t))for(n in t)_.call(t,n)&&(i=t[n],this.attribute(n,i));else y(r)&&(r=r.apply()),this.options.skipNullAttributes&&null==r||(this.currentNode.attributes[t]=new e(this,t,r));return this},t.prototype.text=function(e){var t;return this.openCurrent(),t=new m(this,e),this.onData(this.writer.text(t,this.currentLevel+1),this.currentLevel+1),this},t.prototype.cdata=function(e){var t;return this.openCurrent(),t=new r(this,e),this.onData(this.writer.cdata(t,this.currentLevel+1),this.currentLevel+1),this},t.prototype.comment=function(e){var t;return this.openCurrent(),t=new n(this,e),this.onData(this.writer.comment(t,this.currentLevel+1),this.currentLevel+1),this},t.prototype.raw=function(e){var t;return this.openCurrent(),t=new h(this,e),this.onData(this.writer.raw(t,this.currentLevel+1),this.currentLevel+1),this},t.prototype.instruction=function(e,t){var r,n,i,o,a;if(this.openCurrent(),null!=e&&(e=g(e)),null!=t&&(t=g(t)),Array.isArray(e))for(r=0,o=e.length;r<o;r++)n=e[r],this.instruction(n);else if(v(e))for(n in e)_.call(e,n)&&(i=e[n],this.instruction(n,i));else y(t)&&(t=t.apply()),a=new f(this,e,t),this.onData(this.writer.processingInstruction(a,this.currentLevel+1),this.currentLevel+1);return this},t.prototype.declaration=function(e,t,r){var n;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return n=new u(this,e,t,r),this.onData(this.writer.declaration(n,this.currentLevel+1),this.currentLevel+1),this},t.prototype.doctype=function(e,t,r){if(this.openCurrent(),null==e)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new l(this,t,r),this.currentNode.rootNodeName=e,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},t.prototype.dtdElement=function(e,t){var r;return this.openCurrent(),r=new o(this,e,t),this.onData(this.writer.dtdElement(r,this.currentLevel+1),this.currentLevel+1),this},t.prototype.attList=function(e,t,r,n,o){var a;return this.openCurrent(),a=new i(this,e,t,r,n,o),this.onData(this.writer.dtdAttList(a,this.currentLevel+1),this.currentLevel+1),this},t.prototype.entity=function(e,t){var r;return this.openCurrent(),r=new a(this,!1,e,t),this.onData(this.writer.dtdEntity(r,this.currentLevel+1),this.currentLevel+1),this},t.prototype.pEntity=function(e,t){var r;return this.openCurrent(),r=new a(this,!0,e,t),this.onData(this.writer.dtdEntity(r,this.currentLevel+1),this.currentLevel+1),this},t.prototype.notation=function(e,t){var r;return this.openCurrent(),r=new s(this,e,t),this.onData(this.writer.dtdNotation(r,this.currentLevel+1),this.currentLevel+1),this},t.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},t.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},t.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},t.prototype.openNode=function(e){if(!e.isOpen)return!this.root&&0===this.currentLevel&&e instanceof c&&(this.root=e),this.onData(this.writer.openNode(e,this.currentLevel),this.currentLevel),e.isOpen=!0},t.prototype.closeNode=function(e){if(!e.isClosed)return this.onData(this.writer.closeNode(e,this.currentLevel),this.currentLevel),e.isClosed=!0},t.prototype.onData=function(e,t){return this.documentStarted=!0,this.onDataCallback(e,t+1)},t.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},t.prototype.debugInfo=function(e){return null==e?"":"node: <"+e+">"},t.prototype.ele=function(){return this.element.apply(this,arguments)},t.prototype.nod=function(e,t,r){return this.node(e,t,r)},t.prototype.txt=function(e){return this.text(e)},t.prototype.dat=function(e){return this.cdata(e)},t.prototype.com=function(e){return this.comment(e)},t.prototype.ins=function(e,t){return this.instruction(e,t)},t.prototype.dec=function(e,t,r){return this.declaration(e,t,r)},t.prototype.dtd=function(e,t,r){return this.doctype(e,t,r)},t.prototype.e=function(e,t,r){return this.element(e,t,r)},t.prototype.n=function(e,t,r){return this.node(e,t,r)},t.prototype.t=function(e){return this.text(e)},t.prototype.d=function(e){return this.cdata(e)},t.prototype.c=function(e){return this.comment(e)},t.prototype.r=function(e){return this.raw(e)},t.prototype.i=function(e,t){return this.instruction(e,t)},t.prototype.att=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.a=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.ent=function(e,t){return this.entity(e,t)},t.prototype.pent=function(e,t){return this.pEntity(e,t)},t.prototype.not=function(e,t){return this.notation(e,t)},t}()}).call(e)}),Ia=/* @__PURE__ */i((e,t)=>{(function(){var e,r,n,i,o,a,s,u,l,c,f,h,p,d,m={}.hasOwnProperty;s=ha(),u=ya(),e=ca(),r=fa(),c=la(),h=va(),p=wa(),f=ba(),l=_a(),n=pa(),i=ma(),o=da(),a=ga(),d=ka(),t.exports=function(t){function d(e,t){d.__super__.constructor.call(this,t),this.stream=e}return function(e,t){for(var r in t)m.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype}(d,t),d.prototype.document=function(e){var t,n,i,o,a,c,h,p=e.children;for(n=0,o=p.length;n<o;n++)(t=p[n]).isLastRootNode=!1;for(e.children[e.children.length-1].isLastRootNode=!0,h=[],i=0,a=(c=e.children).length;i<a;i++)if(!((t=c[i])instanceof l))switch(!1){case!(t instanceof s):h.push(this.declaration(t));break;case!(t instanceof u):h.push(this.docType(t));break;case!(t instanceof r):h.push(this.comment(t));break;case!(t instanceof f):h.push(this.processingInstruction(t));break;default:h.push(this.element(t))}return h},d.prototype.attribute=function(e){return this.stream.write(" "+e.name+'="'+e.value+'"')},d.prototype.cdata=function(e,t){return this.stream.write(this.space(t)+"<![CDATA["+e.text+"]]>"+this.endline(e))},d.prototype.comment=function(e,t){return this.stream.write(this.space(t)+"\x3c!-- "+e.text+" --\x3e"+this.endline(e))},d.prototype.declaration=function(e,t){return this.stream.write(this.space(t)),this.stream.write('<?xml version="'+e.version+'"'),null!=e.encoding&&this.stream.write(' encoding="'+e.encoding+'"'),null!=e.standalone&&this.stream.write(' standalone="'+e.standalone+'"'),this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(e))},d.prototype.docType=function(t,s){var u,l,c,h;if(s||(s=0),this.stream.write(this.space(s)),this.stream.write("<!DOCTYPE "+t.root().name),t.pubID&&t.sysID?this.stream.write(' PUBLIC "'+t.pubID+'" "'+t.sysID+'"'):t.sysID&&this.stream.write(' SYSTEM "'+t.sysID+'"'),t.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(t)),l=0,c=(h=t.children).length;l<c;l++)switch(u=h[l],!1){case!(u instanceof n):this.dtdAttList(u,s+1);break;case!(u instanceof i):this.dtdElement(u,s+1);break;case!(u instanceof o):this.dtdEntity(u,s+1);break;case!(u instanceof a):this.dtdNotation(u,s+1);break;case!(u instanceof e):this.cdata(u,s+1);break;case!(u instanceof r):this.comment(u,s+1);break;case!(u instanceof f):this.processingInstruction(u,s+1);break;default:throw new Error("Unknown DTD node type: "+u.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(t))},d.prototype.element=function(t,n){var i,o,a,s,u,d,g,y;for(u in n||(n=0),y=this.space(n),this.stream.write(y+"<"+t.name),d=t.attributes)m.call(d,u)&&(i=d[u],this.attribute(i));if(0===t.children.length||t.children.every(function(e){return""===e.value}))this.allowEmpty?this.stream.write("></"+t.name+">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&1===t.children.length&&null!=t.children[0].value)this.stream.write(">"),this.stream.write(t.children[0].value),this.stream.write("</"+t.name+">");else{for(this.stream.write(">"+this.newline),a=0,s=(g=t.children).length;a<s;a++)switch(o=g[a],!1){case!(o instanceof e):this.cdata(o,n+1);break;case!(o instanceof r):this.comment(o,n+1);break;case!(o instanceof c):this.element(o,n+1);break;case!(o instanceof h):this.raw(o,n+1);break;case!(o instanceof p):this.text(o,n+1);break;case!(o instanceof f):this.processingInstruction(o,n+1);break;case!(o instanceof l):break;default:throw new Error("Unknown XML node type: "+o.constructor.name)}this.stream.write(y+"</"+t.name+">")}return this.stream.write(this.endline(t))},d.prototype.processingInstruction=function(e,t){return this.stream.write(this.space(t)+"<?"+e.target),e.value&&this.stream.write(" "+e.value),this.stream.write(this.spacebeforeslash+"?>"+this.endline(e))},d.prototype.raw=function(e,t){return this.stream.write(this.space(t)+e.value+this.endline(e))},d.prototype.text=function(e,t){return this.stream.write(this.space(t)+e.value+this.endline(e))},d.prototype.dtdAttList=function(e,t){return this.stream.write(this.space(t)+"<!ATTLIST "+e.elementName+" "+e.attributeName+" "+e.attributeType),"#DEFAULT"!==e.defaultValueType&&this.stream.write(" "+e.defaultValueType),e.defaultValue&&this.stream.write(' "'+e.defaultValue+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(e))},d.prototype.dtdElement=function(e,t){return this.stream.write(this.space(t)+"<!ELEMENT "+e.name+" "+e.value),this.stream.write(this.spacebeforeslash+">"+this.endline(e))},d.prototype.dtdEntity=function(e,t){return this.stream.write(this.space(t)+"<!ENTITY"),e.pe&&this.stream.write(" %"),this.stream.write(" "+e.name),e.value?this.stream.write(' "'+e.value+'"'):(e.pubID&&e.sysID?this.stream.write(' PUBLIC "'+e.pubID+'" "'+e.sysID+'"'):e.sysID&&this.stream.write(' SYSTEM "'+e.sysID+'"'),e.nData&&this.stream.write(" NDATA "+e.nData)),this.stream.write(this.spacebeforeslash+">"+this.endline(e))},d.prototype.dtdNotation=function(e,t){return this.stream.write(this.space(t)+"<!NOTATION "+e.name),e.pubID&&e.sysID?this.stream.write(' PUBLIC "'+e.pubID+'" "'+e.sysID+'"'):e.pubID?this.stream.write(' PUBLIC "'+e.pubID+'"'):e.sysID&&this.stream.write(' SYSTEM "'+e.sysID+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(e))},d.prototype.endline=function(e){return e.isLastRootNode?"":this.newline},d}(d)}).call(e)}),Da=/* @__PURE__ */i((e,t)=>{(function(){var e,r,n,i,o,a,s=sa();o=s.assign,a=s.isFunction,e=Sa(),r=Na(),i=Ta(),n=Ia(),t.exports.create=function(t,r,n,i){var a,s;if(null==t)throw new Error("Root element needs a name.");return i=o({},r,n,i),s=(a=new e(i)).element(t),i.headless||(a.declaration(i),null==i.pubID&&null==i.sysID||a.doctype(i)),s},t.exports.begin=function(t,n,i){var o;return a(t)&&(n=(o=[t,n])[0],i=o[1],t={}),n?new r(t,n,i):new e(t)},t.exports.stringWriter=function(e){return new i(e)},t.exports.streamWriter=function(e,t){return new n(e,t)}}).call(e)}),Oa=/* @__PURE__ */i(t=>{var r=(Wo(),e(Ho)),n=Da();function i(e,t){e.text(t.value)}t.writeString=function(e,t){var o=r.invert(t),a={element:function(e,t){var r=e.element(u(t.name),t.attributes);t.children.forEach(function(e){s(r,e)})},text:i};function s(e,t){return a[t.type](e,t)}function u(e){var t=/^\{(.*)\}(.*)$/.exec(e);if(t){var r=o[t[1]];return r+(""===r?"":":")+t[2]}return e}return function(e){var i=n.create(u(e.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return r.forEach(t,function(e,t){var r="xmlns"+(""===t?"":":"+t);i.attribute(r,e)}),e.children.forEach(function(e){s(i,e)}),i.end()}(e)}}),Aa=/* @__PURE__ */i(e=>{var t=Jo();e.Element=t.Element,e.element=t.element,e.emptyElement=t.emptyElement,e.text=t.text,e.readString=aa().readString,e.writeString=Oa().writeString}),Ca=/* @__PURE__ */i(t=>{var r=(Wo(),e(Ho)),n=Zo(),i=Aa();t.read=a,t.readXmlFromZipFile=function(e,t){return e.exists(t)?e.read(t,"utf-8").then(s).then(a):n.resolve(null)};var o={"http://schemas.openxmlformats.org/wordprocessingml/2006/main":"w","http://schemas.openxmlformats.org/officeDocument/2006/relationships":"r","http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":"wp","http://schemas.openxmlformats.org/drawingml/2006/main":"a","http://schemas.openxmlformats.org/drawingml/2006/picture":"pic","http://purl.oclc.org/ooxml/wordprocessingml/main":"w","http://purl.oclc.org/ooxml/officeDocument/relationships":"r","http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing":"wp","http://purl.oclc.org/ooxml/drawingml/main":"a","http://purl.oclc.org/ooxml/drawingml/picture":"pic","http://schemas.openxmlformats.org/package/2006/content-types":"content-types","http://schemas.openxmlformats.org/package/2006/relationships":"relationships","http://schemas.openxmlformats.org/markup-compatibility/2006":"mc","urn:schemas-microsoft-com:vml":"v","urn:schemas-microsoft-com:office:word":"office-word","http://schemas.microsoft.com/office/word/2010/wordml":"wordml"};function a(e){return i.readString(e,o).then(function(e){return u(e)[0]})}function s(e){return e.replace(/^\uFEFF/g,"")}function u(e){return"element"===e.type?"mc:AlternateContent"===e.name?e.firstOrEmpty("mc:Fallback").children:(e.children=r.flatten(e.children.map(u,!0)),[e]):[e]}}),Ra=/* @__PURE__ */i(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default={SYMBOL:{32:32,33:33,34:8704,35:35,36:8707,37:37,38:38,39:8717,40:40,41:41,42:42,43:43,44:44,45:8722,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:8773,65:913,66:914,67:935,68:916,69:917,70:934,71:915,72:919,73:921,74:977,75:922,76:923,77:924,78:925,79:927,80:928,81:920,82:929,83:931,84:932,85:933,86:962,87:937,88:926,89:936,90:918,91:91,92:8756,93:93,94:8869,95:95,96:8254,97:945,98:946,99:967,100:948,101:949,102:966,103:947,104:951,105:953,106:981,107:954,108:955,109:956,110:957,111:959,112:960,113:952,114:961,115:963,116:964,117:965,118:982,119:969,120:958,121:968,122:950,123:123,124:124,125:125,126:126,160:8364,161:978,162:8242,163:8804,164:8260,165:8734,166:402,167:9827,168:9830,169:9829,170:9824,171:8596,172:8592,173:8593,174:8594,175:8595,176:176,177:177,178:8243,179:8805,180:215,181:8733,182:8706,183:8226,184:247,185:8800,186:8801,187:8776,188:8230,189:9168,190:9135,191:8629,192:8501,193:8465,194:8476,195:8472,196:8855,197:8853,198:8709,199:8745,200:8746,201:8835,202:8839,203:8836,204:8834,205:8838,206:8712,207:8713,208:8736,209:8711,210:174,211:169,212:8482,213:8719,214:8730,215:8901,216:172,217:8743,218:8744,219:8660,220:8656,221:8657,222:8658,223:8659,224:9674,225:12296,226:174,227:169,228:8482,229:8721,230:9115,231:9116,232:9117,233:9121,234:9122,235:9123,236:9127,237:9128,238:9129,239:9130,240:63743,241:12297,242:8747,243:8992,244:9134,245:8993,246:9118,247:9119,248:9120,249:9124,250:9125,251:9126,252:9131,253:9132,254:9133},WEBDINGS:{32:32,33:128375,34:128376,35:128370,36:128374,37:127942,38:127894,39:128391,40:128488,41:128489,42:128496,43:128497,44:127798,45:127895,46:128638,47:128636,48:128469,49:128470,50:128471,51:9204,52:9205,53:9206,54:9207,55:9194,56:9193,57:9198,58:9197,59:9208,60:9209,61:9210,62:128474,63:128499,64:128736,65:127959,66:127960,67:127961,68:127962,69:127964,70:127981,71:127963,72:127968,73:127958,74:127965,75:128739,76:128269,77:127956,78:128065,79:128066,80:127966,81:127957,82:128740,83:127967,84:128755,85:128364,86:128363,87:128360,88:128264,89:127892,90:127893,91:128492,92:128637,93:128493,94:128490,95:128491,96:11156,97:10004,98:128690,99:11036,100:128737,101:128230,102:128753,103:11035,104:128657,105:128712,106:128745,107:128752,108:128968,109:128372,110:11044,111:128741,112:128660,113:128472,114:128473,115:10067,116:128754,117:128647,118:128653,119:9971,120:10680,121:8854,122:128685,123:128494,124:9168,125:128495,126:128498,128:128697,129:128698,130:128713,131:128714,132:128700,133:128125,134:127947,135:9975,136:127938,137:127948,138:127946,139:127940,140:127949,141:127950,142:128664,143:128480,144:128738,145:128176,146:127991,147:128179,148:128106,149:128481,150:128482,151:128483,152:10031,153:128388,154:128389,155:128387,156:128390,157:128441,158:128442,159:128443,160:128373,161:128368,162:128445,163:128446,164:128203,165:128466,166:128467,167:128366,168:128218,169:128478,170:128479,171:128451,172:128450,173:128444,174:127917,175:127900,176:127896,177:127897,178:127911,179:128191,180:127902,181:128247,182:127903,183:127916,184:128253,185:128249,186:128254,187:128251,188:127898,189:127899,190:128250,191:128187,192:128421,193:128422,194:128423,195:128377,196:127918,197:128379,198:128380,199:128223,200:128385,201:128384,202:128424,203:128425,204:128447,205:128426,206:128476,207:128274,208:128275,209:128477,210:128229,211:128228,212:128371,213:127779,214:127780,215:127781,216:127782,217:9729,218:127784,219:127783,220:127785,221:127786,222:127788,223:127787,224:127772,225:127777,226:128715,227:128719,228:127869,229:127864,230:128718,231:128717,232:9413,233:9855,234:128710,235:128392,236:127891,237:128484,238:128485,239:128486,240:128487,241:128746,242:128063,243:128038,244:128031,245:128021,246:128008,247:128620,248:128622,249:128621,250:128623,251:128506,252:127757,253:127759,254:127758,255:128330},WINGDINGS:{32:32,33:128393,34:9986,35:9985,36:128083,37:128365,38:128366,39:128367,40:128383,41:9990,42:128386,43:128387,44:128234,45:128235,46:128236,47:128237,48:128448,49:128449,50:128462,51:128463,52:128464,53:128452,54:8987,55:128430,56:128432,57:128434,58:128435,59:128436,60:128427,61:128428,62:9991,63:9997,64:128398,65:9996,66:128399,67:128077,68:128078,69:9756,70:9758,71:9757,72:9759,73:128400,74:9786,75:128528,76:9785,77:128163,78:128369,79:127987,80:127985,81:9992,82:9788,83:127778,84:10052,85:128326,86:10014,87:128328,88:10016,89:10017,90:9770,91:9775,92:128329,93:9784,94:9800,95:9801,96:9802,97:9803,98:9804,99:9805,100:9806,101:9807,102:9808,103:9809,104:9810,105:9811,106:128624,107:128629,108:9899,109:128318,110:9724,111:128911,112:128912,113:10065,114:10066,115:128927,116:10731,117:9670,118:10070,119:11049,120:8999,121:11193,122:8984,123:127989,124:127990,125:128630,126:128631,127:9647,128:127243,129:10112,130:10113,131:10114,132:10115,133:10116,134:10117,135:10118,136:10119,137:10120,138:10121,139:127244,140:10122,141:10123,142:10124,143:10125,144:10126,145:10127,146:10128,147:10129,148:10130,149:10131,150:128610,151:128608,152:128609,153:128611,154:128606,155:128604,156:128605,157:128607,158:8729,159:8226,160:11037,161:11096,162:128902,163:128904,164:128906,165:128907,166:128319,167:9642,168:128910,169:128961,170:128965,171:9733,172:128971,173:128975,174:128979,175:128977,176:11216,177:8982,178:11214,179:11215,180:11217,181:10026,182:10032,183:128336,184:128337,185:128338,186:128339,187:128340,188:128341,189:128342,190:128343,191:128344,192:128345,193:128346,194:128347,195:11184,196:11185,197:11186,198:11187,199:11188,200:11189,201:11190,202:11191,203:128618,204:128619,205:128597,206:128596,207:128599,208:128598,209:128592,210:128593,211:128594,212:128595,213:9003,214:8998,215:11160,216:11162,217:11161,218:11163,219:11144,220:11146,221:11145,222:11147,223:129128,224:129130,225:129129,226:129131,227:129132,228:129133,229:129135,230:129134,231:129144,232:129146,233:129145,234:129147,235:129148,236:129149,237:129151,238:129150,239:8678,240:8680,241:8679,242:8681,243:11012,244:8691,245:11009,246:11008,247:11011,248:11010,249:129196,250:129197,251:128502,252:10003,253:128503,254:128505},"WINGDINGS 2":{32:32,33:128394,34:128395,35:128396,36:128397,37:9988,38:9984,39:128382,40:128381,41:128453,42:128454,43:128455,44:128456,45:128457,46:128458,47:128459,48:128460,49:128461,50:128203,51:128465,52:128468,53:128437,54:128438,55:128439,56:128440,57:128429,58:128431,59:128433,60:128402,61:128403,62:128408,63:128409,64:128410,65:128411,66:128072,67:128073,68:128412,69:128413,70:128414,71:128415,72:128416,73:128417,74:128070,75:128071,76:128418,77:128419,78:128401,79:128500,80:128504,81:128501,82:9745,83:11197,84:9746,85:11198,86:11199,87:128711,88:10680,89:128625,90:128628,91:128626,92:128627,93:8253,94:128633,95:128634,96:128635,97:128614,98:128612,99:128613,100:128615,101:128602,102:128600,103:128601,104:128603,105:9450,106:9312,107:9313,108:9314,109:9315,110:9316,111:9317,112:9318,113:9319,114:9320,115:9321,116:9471,117:10102,118:10103,119:10104,120:10105,121:10106,122:10107,123:10108,124:10109,125:10110,126:10111,128:9737,129:127765,130:9789,131:9790,132:11839,133:10013,134:128327,135:128348,136:128349,137:128350,138:128351,139:128352,140:128353,141:128354,142:128355,143:128356,144:128357,145:128358,146:128359,147:128616,148:128617,149:8901,150:128900,151:10625,152:9679,153:9675,154:128901,155:128903,156:128905,157:8857,158:10687,159:128908,160:128909,161:9726,162:9632,163:9633,164:128913,165:128914,166:128915,167:128916,168:9635,169:128917,170:128918,171:128919,172:128920,173:11049,174:11045,175:9671,176:128922,177:9672,178:128923,179:128924,180:128925,181:128926,182:11050,183:11047,184:9674,185:128928,186:9686,187:9687,188:11210,189:11211,190:11200,191:11201,192:11039,193:11202,194:11043,195:11042,196:11203,197:11204,198:128929,199:128930,200:128931,201:128932,202:128933,203:128934,204:128935,205:128936,206:128937,207:128938,208:128939,209:128940,210:128941,211:128942,212:128943,213:128944,214:128945,215:128946,216:128947,217:128948,218:128949,219:128950,220:128951,221:128952,222:128953,223:128954,224:128955,225:128956,226:128957,227:128958,228:128959,229:128960,230:128962,231:128964,232:128966,233:128969,234:128970,235:10038,236:128972,237:128974,238:128976,239:128978,240:10041,241:128963,242:128967,243:10031,244:128973,245:128980,246:11212,247:11213,248:8251,249:8258},"WINGDINGS 3":{32:32,33:11104,34:11106,35:11105,36:11107,37:11110,38:11111,39:11113,40:11112,41:11120,42:11122,43:11121,44:11123,45:11126,46:11128,47:11131,48:11133,49:11108,50:11109,51:11114,52:11116,53:11115,54:11117,55:11085,56:11168,57:11169,58:11170,59:11171,60:11172,61:11173,62:11174,63:11175,64:11152,65:11153,66:11154,67:11155,68:11136,69:11139,70:11134,71:11135,72:11140,73:11142,74:11141,75:11143,76:11151,77:11149,78:11150,79:11148,80:11118,81:11119,82:9099,83:8996,84:8963,85:8997,86:9251,87:9085,88:8682,89:11192,90:129184,91:129185,92:129186,93:129187,94:129188,95:129189,96:129190,97:129191,98:129192,99:129193,100:129194,101:129195,102:129104,103:129106,104:129105,105:129107,106:129108,107:129109,108:129111,109:129110,110:129112,111:129113,112:9650,113:9660,114:9651,115:9661,116:9664,117:9654,118:9665,119:9655,120:9699,121:9698,122:9700,123:9701,124:128896,125:128898,126:128897,128:128899,129:11205,130:11206,131:11207,132:11208,133:11164,134:11166,135:11165,136:11167,137:129040,138:129042,139:129041,140:129043,141:129044,142:129046,143:129045,144:129047,145:129048,146:129050,147:129049,148:129051,149:129052,150:129054,151:129053,152:129055,153:129024,154:129026,155:129025,156:129027,157:129028,158:129030,159:129029,160:129031,161:129032,162:129034,163:129033,164:129035,165:129056,166:129058,167:129060,168:129062,169:129064,170:129066,171:129068,172:129180,173:129181,174:129182,175:129183,176:129070,177:129072,178:129074,179:129076,180:129078,181:129080,182:129082,183:129081,184:129083,185:129176,186:129178,187:129177,188:129179,189:129084,190:129086,191:129085,192:129087,193:129088,194:129090,195:129089,196:129091,197:129092,198:129094,199:129093,200:129095,201:11176,202:11177,203:11178,204:11179,205:11180,206:11181,207:11182,208:11183,209:129120,210:129122,211:129121,212:129123,213:129124,214:129125,215:129127,216:129126,217:129136,218:129138,219:129137,220:129139,221:129140,222:129141,223:129143,224:129142,225:129152,226:129154,227:129153,228:129155,229:129156,230:129157,231:129159,232:129158,233:129168,234:129170,235:129169,236:129171,237:129172,238:129174,239:129173,240:129175}}}),La=/* @__PURE__ */i(e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.hex=e.dec=e.codePoint=void 0;var r=t(Ra()),n=String.fromCodePoint?String.fromCodePoint:function(e){if(e<=65535)return String.fromCharCode(e);var t=Math.floor((e-65536)/1024)+55296,r=(e-65536)%1024+56320;return String.fromCharCode(t,r)};function i(e,t){var i=r.default[e.toUpperCase()];if(void 0!==i){var o=i[t];if(void 0!==o)return{codePoint:o,string:n(o)}}}e.codePoint=i,e.dec=function(e,t){return i(e,parseInt(t,10))},e.hex=function(e,t){return i(e,parseInt(t,16))}}),Ba=/* @__PURE__ */i(t=>{var r=(Wo(),e(Ho));function n(e,t){return i(function(r){return r.type===e?t(r):r})}function i(e){return function t(n){if(n.children){var i=r.map(n.children,t);n=r.extend(n,{children:i})}return e(n)}}function o(e){var t=[];return a(e,function(e){t.push(e)}),t}function a(e,t){e.children&&e.children.forEach(function(e){a(e,t),t(e)})}t.paragraph=function(e){return n("paragraph",e)},t.run=function(e){return n("run",e)},t._elements=i,t._elementsOfType=n,t.getDescendantsOfType=function(e,t){return o(e).filter(function(e){return e.type===t})},t.getDescendants=o}),Pa=/* @__PURE__ */i(e=>{e.uriToZipEntryName=function(e,t){return"/"===t.charAt(0)?t.substr(1):e+"/"+t},e.replaceFragment=function(e,t){var r=e.indexOf("#");return-1!==r&&(e=e.substring(0,r)),e+"#"+t}}),za=/* @__PURE__ */i(t=>{t.createBodyReader=function(e){return{readXmlElement:function(t){return new c(e).readXmlElement(t)},readXmlElements:function(t){return new c(e).readXmlElements(t)}}},t._readNumberingProperties=f;var r=La(),n=(Wo(),e(Ho)),i=Go(),o=Xo().Result,a=Xo().warning,s=Aa(),u=Ba(),l=Pa();function c(e){var t=[],o=[],c=[],b=e.relationships,_=e.contentTypes,x=e.docxFile,E=e.files,k=e.numbering,T=e.styles;function S(e){return w(e.map(N))}function N(e){if("element"===e.type){var t=B[e.name];if(t)return t(e);if(!Object.prototype.hasOwnProperty.call(p,e.name))return d([a("An unrecognised element was ignored: "+e.name)])}return m()}function I(e){return{start:e.attributes["w:start"]||e.attributes["w:left"],end:e.attributes["w:end"]||e.attributes["w:right"],firstLine:e.attributes["w:firstLine"],hanging:e.attributes["w:hanging"]}}function D(e){if(e){var t=e.attributes["w:val"];return void 0!==t&&"false"!==t&&"0"!==t&&"none"!==t}return!1}function O(e){if(e){var t=e.attributes["w:val"];return"false"!==t&&"0"!==t}return!1}function A(e,t,r,n){var i=[],o=e.first(t),s=null,u=null;if(o&&(s=o.attributes["w:val"])){var l=n(s);l?u=l.name:i.push(function(e,t){return a(e+" style with ID "+t+" was referenced but not defined in the document")}(r,s))}return y({styleId:s,name:u},i)}function C(e){return function(e,t){var r=/^\s*HYPERLINK\s+(\\l\s+)?(?:"(.*)"|([^\\]\S*))/.exec(e);if(r){var n=void 0===r[2]?r[3]:r[2];return{type:"hyperlink",options:void 0===r[1]?{href:n}:{anchor:n}}}if(/\s*FORMCHECKBOX\s*/.exec(e)){var i=t.firstOrEmpty("w:ffData").firstOrEmpty("w:checkBox"),o=i.first("w:checked");return{type:"checkbox",checked:O(null==o?i.first("w:default"):o)}}return{type:"unknown"}}(o.join(""),"begin"===e.type?e.fldChar:s.emptyElement)}function R(e){return function(t){var r=t.attributes["w:id"];return g(new i.NoteReference({noteType:e,noteId:r}))}}function L(e){return S(e.children)}var B={"w:p":function(e){var t=e.firstOrEmpty("w:pPr");if(t.firstOrEmpty("w:rPr").first("w:del"))return e.children.forEach(function(e){c.push(e)}),m();var r=e.children;return c.length>0&&(r=c.concat(r),c=[]),v.map(function(e){return function(e){return A(e,"w:pStyle","Paragraph",T.findParagraphStyleById)}(e).map(function(t){return{type:"paragraphProperties",styleId:t.styleId,styleName:t.name,alignment:e.firstOrEmpty("w:jc").attributes["w:val"],numbering:f(t.styleId,e.firstOrEmpty("w:numPr"),k),indent:I(e.firstOrEmpty("w:ind"))}})}(t),S(r),function(e,t){return new i.Paragraph(t,e)}).insertExtra()},"w:r":function(e){return v.map(function(e){return function(e){return A(e,"w:rStyle","Run",T.findCharacterStyleById)}(e).map(function(t){var r,n=e.firstOrEmpty("w:sz").attributes["w:val"],i=/^[0-9]+$/.test(n)?parseInt(n,10)/2:null;return{type:"runProperties",styleId:t.styleId,styleName:t.name,verticalAlignment:e.firstOrEmpty("w:vertAlign").attributes["w:val"],font:e.firstOrEmpty("w:rFonts").attributes["w:ascii"],fontSize:i,isBold:O(e.first("w:b")),isUnderline:D(e.first("w:u")),isItalic:O(e.first("w:i")),isStrikethrough:O(e.first("w:strike")),isAllCaps:O(e.first("w:caps")),isSmallCaps:O(e.first("w:smallCaps")),highlight:(r=e.firstOrEmpty("w:highlight").attributes["w:val"],r&&"none"!==r?r:null)}})}(e.firstOrEmpty("w:rPr")),S(e.children),function(e,r){var o,a=(o=n.last(t.filter(function(e){return"hyperlink"===e.type})))?o.options:null;return null!==a&&(r=[new i.Hyperlink(r,a)]),new i.Run(r,e)})},"w:fldChar":function(e){var r=e.attributes["w:fldCharType"];if("begin"===r)t.push({type:"begin",fldChar:e}),o=[];else if("end"===r){if(0===t.length)return d([a("Ignoring complex field end character without corresponding start character")]);var n=t.pop();if("begin"===n.type&&(n=C(n)),"checkbox"===n.type)return g(i.checkbox({checked:n.checked}))}else if("separate"===r){if(0===t.length)return d([a("Ignoring complex field separator character without corresponding start character")]);var s=C(t.pop());t.push(s)}return m()},"w:instrText":function(e){return o.push(e.text()),m()},"w:t":function(e){return g(new i.Text(e.text()))},"w:tab":function(e){return g(new i.Tab)},"w:noBreakHyphen":function(){return g(new i.Text("‑"))},"w:softHyphen":function(e){return g(new i.Text("­"))},"w:sym":function(e){var t=e.attributes["w:font"],n=e.attributes["w:char"],o=r.hex(t,n);return null==o&&/^F0..$/.test(n)&&(o=r.hex(t,n.substring(2))),null==o?d([a("A w:sym element with an unsupported character was ignored: char "+n+" in font "+t)]):g(new i.Text(o.string))},"w:hyperlink":function(e){var t=e.attributes["r:id"],r=e.attributes["w:anchor"];return S(e.children).map(function(o){function a(t){var r=e.attributes["w:tgtFrame"]||null;return new i.Hyperlink(o,n.extend({targetFrame:r},t))}if(t){var s=b.findTargetByRelationshipId(t);return r&&(s=l.replaceFragment(s,r)),a({href:s})}return r?a({anchor:r}):o})},"w:tbl":function(e){var t=function(e){return function(e){return A(e,"w:tblStyle","Table",T.findTableStyleById)}(e).map(function(e){return{styleId:e.styleId,styleName:e.name}})}(e.firstOrEmpty("w:tblPr"));return S(e.children).flatMap(P).flatMap(function(e){return t.map(function(t){return i.Table(e,t)})})},"w:tr":function(e){var t=e.firstOrEmpty("w:trPr");if(t.first("w:del"))return m();var r=!!t.first("w:tblHeader");return S(e.children).map(function(e){return i.TableRow(e,{isHeader:r})})},"w:tc":function(e){return S(e.children).map(function(t){var r=e.firstOrEmpty("w:tcPr"),n=r.firstOrEmpty("w:gridSpan").attributes["w:val"],o=n?parseInt(n,10):1,a=i.TableCell(t,{colSpan:o});return a._vMerge=function(e){var t=e.first("w:vMerge");if(t){var r=t.attributes["w:val"];return"continue"===r||!r}return null}(r),a})},"w:footnoteReference":R("footnote"),"w:endnoteReference":R("endnote"),"w:commentReference":function(e){return g(i.commentReference({commentId:e.attributes["w:id"]}))},"w:br":function(e){var t=e.attributes["w:type"];return null==t||"textWrapping"===t?g(i.lineBreak):"page"===t?g(i.pageBreak):"column"===t?g(i.columnBreak):d([a("Unsupported break type: "+t)])},"w:bookmarkStart":function(e){var t=e.attributes["w:name"];return"_GoBack"===t?m():g(new i.BookmarkStart({name:t}))},"mc:AlternateContent":function(e){return L(e.firstOrEmpty("mc:Fallback"))},"w:sdt":function(e){return S(e.firstOrEmpty("w:sdtContent").children).map(function(t){var r,n=e.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(n){var o=n.first("wordml:checked"),a=!!o&&"false"!==(r=o.attributes["wordml:val"])&&"0"!==r,s=i.checkbox({checked:a}),l=!1,c=t.map(u._elementsOfType(i.types.text,function(e){return e.value.length>0&&!l?(l=!0,s):e}));return l?c:s}return t})},"w:customXml":L,"w:ins":L,"w:moveFromRangeEnd":L,"w:moveFromRangeStart":L,"w:moveTo":L,"w:moveToRangeEnd":L,"w:moveToRangeStart":L,"w:object":L,"w:smartTag":L,"w:drawing":L,"w:pict":function(e){return L(e).toExtra()},"v:roundrect":L,"v:shape":L,"v:textbox":L,"w:txbxContent":L,"wp:inline":q,"wp:anchor":q,"v:imagedata":function(e){var t=e.attributes["r:id"];return t?j(F(t),e.attributes["o:title"]):d([a("A v:imagedata element without a relationship ID was ignored")])},"v:group":L,"v:rect":L};return{readXmlElement:N,readXmlElements:S};function P(e){if(n.any(e,function(e){return e.type!==i.types.tableRow}))return z(e),y(e,[a("unexpected non-row element in table, cell merging may be incorrect")]);if(n.any(e,function(e){return n.any(e.children,function(e){return e.type!==i.types.tableCell})}))return z(e),y(e,[a("unexpected non-cell element in table row, cell merging may be incorrect")]);var t={};return e.forEach(function(e){var r=0;e.children.forEach(function(e){e._vMerge&&t[r]?t[r].rowSpan++:(t[r]=e,e._vMerge=!1),r+=e.colSpan})}),e.forEach(function(e){e.children=e.children.filter(function(e){return!e._vMerge}),e.children.forEach(function(e){delete e._vMerge})}),g(e)}function z(e){e.forEach(function(e){u.getDescendantsOfType(e,i.types.tableCell).forEach(function(e){delete e._vMerge})})}function q(e){return w(e.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip").map(M.bind(null,e)))}function M(e,t){var r,n=e.firstOrEmpty("wp:docPr"),o=n.attributes,s=null==(r=o.descr)||/^\s*$/.test(r)?o.title:o.descr,u=function(e){var t=e.attributes["r:embed"],r=e.attributes["r:link"];if(t)return F(t);if(r){var n=b.findTargetByRelationshipId(r);return{path:n,read:E.read.bind(E,n)}}return null}(t);return null===u?d([a("Could not find image file for a:blip element")]):j(u,s).map(function(e){var t=n.firstOrEmpty("a:hlinkClick").attributes["r:id"];if(t){var r=b.findTargetByRelationshipId(t);return new i.Hyperlink([e],{href:r})}return e})}function F(e){var t=l.uriToZipEntryName("word",b.findTargetByRelationshipId(e));return{path:t,read:x.read.bind(x,t)}}function j(e,t){var r=_.findContentType(e.path);return y(i.Image({readImage:e.read,altText:t,contentType:r}),h[r]?[]:a("Image of type "+r+" is unlikely to display in web browsers"))}}function f(e,t,r){var n=t.firstOrEmpty("w:ilvl").attributes["w:val"],i=t.firstOrEmpty("w:numId").attributes["w:val"];if(void 0!==n&&void 0!==i)return r.findLevel(i,n);if(null!=e){var o=r.findLevelByParagraphStyleId(e);if(null!=o)return o}return void 0!==i?r.findLevel(i,"0"):null}var h={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},p={"office-word:wrap":!0,"v:shadow":!0,"v:shapetype":!0,"w:annotationRef":!0,"w:bookmarkEnd":!0,"w:sectPr":!0,"w:proofErr":!0,"w:lastRenderedPageBreak":!0,"w:commentRangeStart":!0,"w:commentRangeEnd":!0,"w:del":!0,"w:footnoteRef":!0,"w:endnoteRef":!0,"w:moveFrom":!0,"w:pPr":!0,"w:rPr":!0,"w:tblPr":!0,"w:tblGrid":!0,"w:trPr":!0,"w:tcPr":!0};function d(e){return new v(null,null,e)}function m(){return new v(null)}function g(e){return new v(e)}function y(e,t){return new v(e,null,t)}function v(e,t,r){this.value=e||[],this.extra=t||[],this._result=new o({element:this.value,extra:t},r),this.messages=this._result.messages}function w(e){var t=o.combine(n.pluck(e,"_result"));return new v(n.flatten(n.pluck(t.value,"element")),n.filter(n.flatten(n.pluck(t.value,"extra")),_),t.messages)}function b(e,t){return n.flatten([e,t])}function _(e){return e}v.prototype.toExtra=function(){return new v(null,b(this.extra,this.value),this.messages)},v.prototype.insertExtra=function(){var e=this.extra;return e&&e.length?new v(b(this.value,e),null,this.messages):this},v.prototype.map=function(e){var t=this._result.map(function(t){return e(t.element)});return new v(t.value,this.extra,t.messages)},v.prototype.flatMap=function(e){var t=this._result.flatMap(function(t){return e(t.element)._result});return new v(t.value.element,b(this.extra,t.value.extra),t.messages)},v.map=function(e,t,r){return new v(r(e.value,t.value),b(e.extra,t.extra),e.messages.concat(t.messages))}}),qa=/* @__PURE__ */i(e=>{e.DocumentXmlReader=function(e){var n=e.bodyReader;return{convertXmlToDocument:function(i){var o=i.first("w:body");if(null==o)throw new Error("Could not find the body element: are you sure this is a docx file?");var a=n.readXmlElements(o.children).map(function(r){return new t.Document(r,{notes:e.notes,comments:e.comments})});return new r(a.value,a.messages)}}};var t=Go(),r=Xo().Result}),Ma=/* @__PURE__ */i(e=>{function t(e){var t=Object.create(null);e.forEach(function(e){t[e.relationshipId]=e.target});var r=Object.create(null);return e.forEach(function(e){r[e.type]||(r[e.type]=[]),r[e.type].push(e.target)}),{findTargetByRelationshipId:function(e){return t[e]},findTargetsByType:function(e){return r[e]||[]}}}e.readRelationships=function(e){var r=[];return e.children.forEach(function(e){if("relationships:Relationship"===e.name){var t={relationshipId:e.attributes.Id,target:e.attributes.Target,type:e.attributes.Type};r.push(t)}}),new t(r)},e.defaultValue=new t([]),e.Relationships=t}),Fa=/* @__PURE__ */i(e=>{e.readContentTypesFromXml=function(e){var t=Object.create(null),n=Object.create(null);return e.children.forEach(function(e){if("content-types:Default"===e.name&&(t[e.attributes.Extension]=e.attributes.ContentType),"content-types:Override"===e.name){var r=e.attributes.PartName;"/"===r.charAt(0)&&(r=r.substring(1)),n[r]=e.attributes.ContentType}}),r(n,t)};var t={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};function r(e,r){return{findContentType:function(n){var i=e[n];if(i)return i;var o=n.split("."),a=o[o.length-1];if(Object.prototype.hasOwnProperty.call(r,a))return r[a];var s=t[a.toLowerCase()];return s?"image/"+s:null}}}e.defaultContentTypes=r({},{})}),ja=/* @__PURE__ */i(t=>{var r=(Wo(),e(Ho));function n(e,t,n){var i=r.flatten(r.values(t).map(function(e){return r.values(e.levels)})),o=r.indexBy(i.filter(function(e){return null!=e.paragraphStyleId}),"paragraphStyleId");function a(r,i,o){if(o[r])return null;o[r]=!0;var s=e[r];if(!s)return null;var u=t[s.abstractNumId];return u?null==u.numStyleLink?t[s.abstractNumId].levels[i]:a(n.findNumberingStyleById(u.numStyleLink).numId,i,o):null}return{findLevel:function(e,t){return a(e,t,Object.create(null))},findLevelByParagraphStyleId:function(e){return o[e]||null}}}t.readNumberingXml=function(e,t){if(!t||!t.styles)throw new Error("styles is missing");var r=function(e){var t=Object.create(null);return e.getElementsByTagName("w:abstractNum").forEach(function(e){var r=e.attributes["w:abstractNumId"];t[r]=function(e){var t=Object.create(null),r=null;return e.getElementsByTagName("w:lvl").forEach(function(e){var n=e.attributes["w:ilvl"],i="bullet"!==e.firstOrEmpty("w:numFmt").attributes["w:val"],o=e.firstOrEmpty("w:pStyle").attributes["w:val"];void 0===n?r={isOrdered:i,level:"0",paragraphStyleId:o}:t[n]={isOrdered:i,level:n,paragraphStyleId:o}}),null!==r&&void 0===t[r.level]&&(t[r.level]=r),{levels:t,numStyleLink:e.firstOrEmpty("w:numStyleLink").attributes["w:val"]}}(e)}),t}(e);return new n(function(e){var t=Object.create(null);return e.getElementsByTagName("w:num").forEach(function(e){var r=e.attributes["w:numId"];t[r]={abstractNumId:e.first("w:abstractNumId").attributes["w:val"]}}),t}(e),r,t.styles)},t.Numbering=n,t.defaultNumbering=new n({},{})}),Ua=/* @__PURE__ */i(e=>{function t(e,t,r,n){return{findParagraphStyleById:function(t){return e[t]},findCharacterStyleById:function(e){return t[e]},findTableStyleById:function(e){return r[e]},findNumberingStyleById:function(e){return n[e]}}}function r(e){var t=e.first("w:name");return t?t.attributes["w:val"]:null}function n(e){return e.attributes["w:styleId"]}e.readStylesXml=function(e){var i=Object.create(null),o=Object.create(null),a=Object.create(null),s=Object.create(null);return e.getElementsByTagName("w:style").forEach(function(e){var t,u=function(e){var t=e.attributes["w:type"];return"numbering"===t?function(e,t){var r=n(t);return{type:e,numId:t.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"],styleId:r}}(t,e):{type:t,styleId:n(e),name:r(e)}}(e);switch(u.type){case"paragraph":t=i;break;case"character":t=o;break;case"table":t=a;break;case"numbering":t=s}t&&void 0===t[u.styleId]&&(t[u.styleId]=u)}),new t(i,o,a,s)},e.Styles=t,e.defaultStyles=new t({},{}),t.EMPTY=new t({},{},{},{})}),Va=/* @__PURE__ */i(e=>{var t=Go(),r=Xo().Result;function n(e,n){function i(e){var t=e.attributes["w:type"];return"continuationSeparator"!==t&&"separator"!==t}function o(r){var i=r.attributes["w:id"];return n.readXmlElements(r.children).map(function(r){return t.Note({noteType:e,noteId:i,body:r})})}return function(t){return r.combine(t.getElementsByTagName("w:"+e).filter(i).map(o))}}e.createFootnotesReader=n.bind(e,"footnote"),e.createEndnotesReader=n.bind(e,"endnote")}),Ha=/* @__PURE__ */i(e=>{var t=Go(),r=Xo().Result;e.createCommentsReader=function(e){function n(r){var n=r.attributes["w:id"];function i(e){return(r.attributes[e]||"").trim()||null}return e.readXmlElements(r.children).map(function(e){return t.comment({commentId:n,body:e,authorName:i("w:author"),authorInitials:i("w:initials")})})}return function(e){return r.combine(e.getElementsByTagName("w:comment").map(n))}}}),Wa=/* @__PURE__ */i(e=>{var t=Zo();e.Files=function(){return{read:function(e){return t.reject(/* @__PURE__ */new Error("could not open external image: '"+e+"'\ncannot open linked files from a web browser"))}}}}),Za=/* @__PURE__ */i(e=>{e.read=function(e,i,o){i=i||{};var a=new d({externalFileAccess:(o=o||{}).externalFileAccess,relativeToFile:i.path});return t.props({contentTypes:b(e),partPaths:m(e),docxFile:e,files:a}).also(function(t){return{styles:(r=e,n=t.partPaths.styles,y({filename:n,readElement:f.readStylesXml,defaultValue:f.defaultStyles})(r))};var r,n}).also(function(t){return{numbering:(r=e,n=t.partPaths.numbering,i=t.styles,y({filename:n,readElement:function(e){return c.readNumberingXml(e,{styles:i})},defaultValue:c.defaultNumbering})(r))};var r,n,i}).also(function(e){return{footnotes:v(e.partPaths.footnotes,e,function(e,t){return t?h.createFootnotesReader(e)(t):new n([])}),endnotes:v(e.partPaths.endnotes,e,function(e,t){return t?h.createEndnotesReader(e)(t):new n([])}),comments:v(e.partPaths.comments,e,function(e,t){return t?p.createCommentsReader(e)(t):new n([])})}}).also(function(e){return{notes:e.footnotes.flatMap(function(t){return e.endnotes.map(function(e){return new r.Notes(t.concat(e))})})}}).then(function(e){return v(e.partPaths.mainDocument,e,function(t,r){return e.notes.flatMap(function(n){return e.comments.flatMap(function(e){return new s({bodyReader:t,notes:n,comments:e}).convertXmlToDocument(r)})})})})},e._findPartPaths=m;var t=Zo(),r=Go(),n=Xo().Result,i=$o(),o=Ca().readXmlFromZipFile,a=za().createBodyReader,s=qa().DocumentXmlReader,u=Ma(),l=Fa(),c=ja(),f=Ua(),h=Va(),p=Ha(),d=Wa().Files;function m(e){return _(e).then(function(t){var r=g({docxFile:e,relationships:t,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!e.exists(r))throw new Error("Could not find main document part. Are you sure this is a valid .docx file?");return y({filename:w(r),readElement:u.readRelationships,defaultValue:u.defaultValue})(e).then(function(t){function n(n){return g({docxFile:e,relationships:t,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+n,basePath:i.splitPath(r).dirname,fallbackPath:"word/"+n+".xml"})}return{mainDocument:r,comments:n("comments"),endnotes:n("endnotes"),footnotes:n("footnotes"),numbering:n("numbering"),styles:n("styles")}})})}function g(e){var t=e.docxFile,r=e.relationships,n=e.relationshipType,o=e.basePath,a=e.fallbackPath,s=r.findTargetsByType(n).map(function(e){return"/"===(t=i.joinPath(o,e)).substring(0,1)?t.substring(1):t;var t}).filter(function(e){return t.exists(e)});return 0===s.length?a:s[0]}function y(e){return function(t){return o(t,e.filename).then(function(t){return t?e.readElement(t):e.defaultValue})}}function v(e,t,r){return y({filename:w(e),readElement:u.readRelationships,defaultValue:u.defaultValue})(t.docxFile).then(function(n){var i=new a({relationships:n,contentTypes:t.contentTypes,docxFile:t.docxFile,numbering:t.numbering,styles:t.styles,files:t.files});return o(t.docxFile,e).then(function(e){return r(i,e)})})}function w(e){var t=i.splitPath(e);return i.joinPath(t.dirname,"_rels",t.basename+".rels")}var b=y({filename:"[Content_Types].xml",readElement:l.readContentTypesFromXml,defaultValue:l.defaultContentTypes}),_=y({filename:"_rels/.rels",readElement:u.readRelationships,defaultValue:u.defaultValue})}),Ga=/* @__PURE__ */i(t=>{var r=(Wo(),e(Ho)),n=Zo(),i=Aa();t.writeStyleMap=function(e,t){return e.write(a,t),function(e){var t="word/_rels/document.xml.rels",r="http://schemas.openxmlformats.org/package/2006/relationships",n="{"+r+"}Relationship";return e.read(t,"utf8").then(i.readString).then(function(a){u(a.children,n,"Id",{Id:"rMammothStyleMap",Type:o,Target:s});var l={"":r};return e.write(t,i.writeString(a,l))})}(e).then(function(){return function(e){var t="[Content_Types].xml",r="http://schemas.openxmlformats.org/package/2006/content-types",n="{"+r+"}Override";return e.read(t,"utf8").then(i.readString).then(function(o){u(o.children,n,"PartName",{PartName:s,ContentType:"text/prs.mammoth.style-map"});var a={"":r};return e.write(t,i.writeString(o,a))})}(e)})},t.readStyleMap=function(e){return e.exists(a)?e.read(a,"utf8"):n.resolve(null)};var o="http://schemas.zwobble.org/mammoth/style-map",a="mammoth/style-map",s="/"+a;function u(e,t,n,o){var a=r.find(e,function(e){return e.name===t&&e.attributes[n]===o[n]});a?a.attributes=o:e.push(i.element(t,o))}}),Xa=/* @__PURE__ */i(e=>{var t=$a();function r(e,t){return{type:"element",tag:e,children:t||[]}}e.freshElement=function(e,n,i){return r(t.element(e,n,{fresh:!0}),i)},e.nonFreshElement=function(e,n,i){return r(t.element(e,n,{fresh:!1}),i)},e.elementWithTag=r,e.text=function(e){return{type:"text",value:e}},e.forceWrite={type:"forceWrite"};var n={br:!0,hr:!0,img:!0,input:!0};e.isVoidElement=function(e){return 0===e.children.length&&n[e.tag.tagName]}}),Ka=/* @__PURE__ */i((t,r)=>{var n=(Wo(),e(Ho)),i=Xa();function o(e){var t=[];return e.map(a).forEach(function(e){l(t,e)}),t}function a(e){return s[e.type](e)}var s={element:function(e){return i.elementWithTag(e.tag,o(e.children))},text:u,forceWrite:u};function u(e){return e}function l(e,t){var r=e[e.length-1];"element"===t.type&&!t.tag.fresh&&r&&"element"===r.type&&t.tag.matchesElement(r.tag)?(t.tag.separator&&l(r.children,i.text(t.tag.separator)),t.children.forEach(function(e){l(r.children,e)})):e.push(t)}function c(e){return function(e){return n.flatten(n.map(e,function(e){return f[e.type](e)}),!0)}(e)}var f={element:function(e){var t=c(e.children);return 0!==t.length||i.isVoidElement(e)?[i.elementWithTag(e.tag,t)]:[]},text:function(e){return 0===e.value.length?[]:[e]},forceWrite:function(e){return[e]}};r.exports=function(e){return o(c(e))}}),Ya=/* @__PURE__ */i(e=>{var t=Xa();function r(e,t){t.forEach(function(t){!function(e,t){n[t.type](e,t)}(e,t)})}e.freshElement=t.freshElement,e.nonFreshElement=t.nonFreshElement,e.elementWithTag=t.elementWithTag,e.text=t.text,e.forceWrite=t.forceWrite,e.simplify=Ka();var n={element:function(e,n){t.isVoidElement(n)?e.selfClosing(n.tag.tagName,n.tag.attributes):(e.open(n.tag.tagName,n.tag.attributes),r(e,n.children),e.close(n.tag.tagName))},text:function(e,t){e.text(t.value)},forceWrite:function(){}};e.write=r}),$a=/* @__PURE__ */i(t=>{var r=(Wo(),e(Ho)),n=Ya();function i(e){return new o(e.map(function(e){return r.isString(e)?a(e):e}))}function o(e){this._elements=e}function a(e,t,r){return new s(e,t,r=r||{})}function s(e,t,n){var i=Object.create(null);r.isArray(e)?(e.forEach(function(e){i[e]=!0}),e=e[0]):i[e]=!0,this.tagName=e,this.tagNames=i,this.attributes=t||{},this.fresh=n.fresh,this.separator=n.separator}t.topLevelElement=function(e,t){return i([a(e,t,{fresh:!0})])},t.elements=i,t.element=a,o.prototype.wrap=function(e){for(var t=e(),r=this._elements.length-1;r>=0;r--)t=this._elements[r].wrapNodes(t);return t},s.prototype.matchesElement=function(e){return this.tagNames[e.tagName]&&r.isEqual(this.attributes||{},e.attributes||{})},s.prototype.wrap=function(e){return this.wrapNodes(e())},s.prototype.wrapNodes=function(e){return[n.elementWithTag(this,e)]},t.empty=i([]),t.ignore={wrap:function(){return[]}}}),Ja=/* @__PURE__ */i(t=>{var r=(Wo(),e(Ho)),n=Zo(),i=Ya();function o(e){return function(t,o){return n.resolve(e(t)).then(function(e){var n={};return t.altText&&(n.alt=t.altText),r.extend(n,e),[i.freshElement("img",n)]})}}t.imgElement=o,t.inline=t.imgElement,t.dataUri=o(function(e){return e.readAsBase64String().then(function(t){return{src:"data:"+e.contentType+";base64,"+t}})}),t.imageFilenameExtension=function(e){return e.contentType.split(/\/|\\/)[1]}}),Qa=/* @__PURE__ */i(t=>{var r=(Wo(),e(Ho));t.writer=function(e){return(e=e||{}).prettyPrint?function(){var e=0,t=[],o=!0,a=!1,s=i();function u(){if(a=!1,!o&&(0===t.length||n[t[t.length-1]])&&!l()){s._append("\n");for(var r=0;r<e;r++)s._append(" ")}}function l(){return r.some(t,function(e){return"pre"===e})}return{asString:s.asString,open:function(r,i){n[r]&&u(),t.push(r),s.open(r,i),n[r]&&e++,o=!1},close:function(r){n[r]&&(e--,u()),t.pop(),s.close(r)},text:function(e){a||(u(),a=!0);var t=l()?e:e.replace("\n","\n ");s.text(t)},selfClosing:function(e,t){u(),s.selfClosing(e,t)}}}():i()};var n={div:!0,p:!0,ul:!0,li:!0};function i(){var e=[];function t(e){return r.map(e,function(e,t){return" "+t+'="'+function(e){return e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}(e)+'"'}).join("")}return{asString:function(){return e.join("")},open:function(r,n){var i=t(n);e.push("<"+r+i+">")},close:function(t){e.push("</"+t+">")},text:function(t){e.push(function(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}(t))},selfClosing:function(r,n){var i=t(n);e.push("<"+r+i+" />")},_append:function(t){e.push(t)}}}}),es=/* @__PURE__ */i(t=>{var r=(Wo(),e(Ho)),n=Qa();function i(e){return o(e,e)}function o(e,t){return function(){return{start:e,end:t}}}function a(e){return function(t,r){return{start:r?"\n":"",end:r?"":"\n",list:{isOrdered:e.isOrdered,indent:r?r.indent+1:0,count:0}}}}var s={p:o("","\n\n"),br:o(""," \n"),ul:a({isOrdered:!1}),ol:a({isOrdered:!0}),li:function(e,t,r){(t=t||{indent:0,isOrdered:!1,count:0}).count++,r.hasClosed=!1;var n=t.isOrdered?t.count+".":"-";return{start:u("\t",t.indent)+n+" ",end:function(){if(!r.hasClosed)return r.hasClosed=!0,"\n"}}},strong:i("__"),em:i("*"),a:function(e){var t=e.href||"";return t?{start:"[",end:"]("+l(t)+")",anchorPosition:"before"}:{}},img:function(e){var t=e.src||"",r=e.alt||"";return t||r?{start:"!["+l(r)+"]("+l(t)+")"}:{}}};function u(e,t){return new Array(t+1).join(e)}function l(e){return e.replace(/\\/g,"\\\\").replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,"\\$1")}!function(){for(var e=1;e<=6;e++)s["h"+e]=o(u("#",e)+" ","\n\n")}(),t.writer=function(){var e=[],t=[],i=null,o={};function a(r,n){n=n||{};var a=(s[r]||function(){return{}})(n,i,o);t.push({end:a.end,list:i}),a.list&&(i=a.list);var l="before"===a.anchorPosition;l&&u(n),e.push(a.start||""),l||u(n)}function u(t){if(t.id){var r=n.writer();r.open("a",{id:t.id}),r.close("a"),e.push(r.asString())}}function c(n){var o=t.pop();i=o.list;var a=r.isFunction(o.end)?o.end():o.end;e.push(a||"")}return{asString:function(){return e.join("")},open:a,close:c,text:function(t){e.push(l(t))},selfClosing:function(e,t){a(e,t),c()}}}}),ts=/* @__PURE__ */i(e=>{var t=Qa(),r=es();e.writer=function(e){return"markdown"===(e=e||{}).outputFormat?r.writer():t.writer(e)}}),rs=/* @__PURE__ */i(t=>{var r=(Wo(),e(Ho)),n=Zo(),i=Go(),o=$a(),a=Xo(),s=Ja(),u=Ya(),l=ts();function c(e,t){var c=1,g=[],y=[],v=void 0===(e=r.extend({ignoreEmptyParagraphs:!0},e)).idPrefix?"":e.idPrefix,w=e.ignoreEmptyParagraphs,b=o.topLevelElement("p"),_=e.styleMap||[];function x(e,t,r){return p(e,function(e){return E(e,t,r)})}function E(e,t,r){if(!r)throw new Error("context not set");var n=P[e.type];return n?n(e,t,r):[]}function k(e,t){return T({type:e})||(t?o.element(t,{},{fresh:!1}):o.empty)}function T(e,t){var r=S(e);return r?r.to:t}function S(e){for(var t=0;t<_.length;t++)if(_[t].from.matches(e))return _[t]}function N(e){return D(e.noteType,e.noteId)}function I(e){return O(e.noteType,e.noteId)}function D(e,t){return A(e+"-"+t)}function O(e,t){return A(e+"-ref-"+t)}function A(e){return v+e}var C=o.elements([o.element("table",{},{fresh:!0})]);function R(e,t,r){var n=e.label,i=e.comment,o=x(i.body,t,r).concat([u.nonFreshElement("p",{},[u.text(" "),u.freshElement("a",{href:"#"+O("comment",i.commentId)},[u.text("↑")])])]);return[u.freshElement("dt",{id:D("comment",i.commentId)},[u.text("Comment "+n)]),u.freshElement("dd",{},o)]}var L,B,P={document:function(e,t,r){var n=x(e.children,t,r),i=x(g.map(function(t){return e.notes.resolve(t)}),t,r);return n.concat([u.freshElement("ol",{},i),u.freshElement("dl",{},p(y,function(e){return R(e,t,r)}))])},paragraph:function(e,t,r){return function(e,t){var r=S(e);return r?r.to:(e.styleId&&t.push(h("paragraph",e)),b)}(e,t).wrap(function(){var n=x(e.children,t,r);return w?n:[u.forceWrite].concat(n)})},run:function(e,t,r){var n=function(){return x(e.children,t,r)},a=[];if(null!==e.highlight){var s=T({type:"highlight",color:e.highlight});s&&a.push(s)}e.isSmallCaps&&a.push(k("smallCaps")),e.isAllCaps&&a.push(k("allCaps")),e.isStrikethrough&&a.push(k("strikethrough","s")),e.isUnderline&&a.push(k("underline")),e.verticalAlignment===i.verticalAlignment.subscript&&a.push(o.element("sub",{},{fresh:!1})),e.verticalAlignment===i.verticalAlignment.superscript&&a.push(o.element("sup",{},{fresh:!1})),e.isItalic&&a.push(k("italic","em")),e.isBold&&a.push(k("bold","strong"));var u=o.empty,l=S(e);return l?u=l.to:e.styleId&&t.push(h("run",e)),a.push(u),a.forEach(function(e){n=e.wrap.bind(e,n)}),n()},text:function(e,t,r){return[u.text(e.value)]},tab:function(e,t,r){return[u.text("\t")]},hyperlink:function(e,t,r){var n={href:e.anchor?"#"+A(e.anchor):e.href};null!=e.targetFrame&&(n.target=e.targetFrame);var i=x(e.children,t,r);return[u.nonFreshElement("a",n,i)]},checkbox:function(e){var t={type:"checkbox"};return e.checked&&(t.checked="checked"),[u.freshElement("input",t)]},bookmarkStart:function(e,t,r){return[u.freshElement("a",{id:A(e.name)},[u.forceWrite])]},noteReference:function(e,t,r){g.push(e);var n=u.freshElement("a",{href:"#"+N(e),id:I(e)},[u.text("["+c+++"]")]);return[u.freshElement("sup",{},[n])]},note:function(e,t,r){var n=x(e.body,t,r),i=u.elementWithTag(o.element("p",{},{fresh:!1}),[u.text(" "),u.freshElement("a",{href:"#"+I(e)},[u.text("↑")])]),a=n.concat([i]);return u.freshElement("li",{id:N(e)},a)},commentReference:function(e,r,n){return T(e,o.ignore).wrap(function(){var r=t[e.commentId],n=y.length+1,i="["+m(r)+n+"]";return y.push({label:i,comment:r}),[u.freshElement("a",{href:"#"+D("comment",e.commentId),id:O("comment",e.commentId)},[u.text(i)])]})},comment:R,image:(B=e.convertImage||s.dataUri,L=function(e,t){return n.try(function(){return B(e,t)}).catch(function(e){return t.push(a.error(e)),[]})},function(e,t,r){return[{type:"deferred",id:f++,value:function(){return L(e,t)}}]}),table:function(e,t,n){return T(e,C).wrap(function(){return function(e,t,n){var o,a=r.findIndex(e.children,function(e){return!e.type===i.types.tableRow||!e.isHeader});if(-1===a&&(a=e.children.length),0===a)o=x(e.children,t,r.extend({},n,{isTableHeader:!1}));else{var s=x(e.children.slice(0,a),t,r.extend({},n,{isTableHeader:!0})),l=x(e.children.slice(a),t,r.extend({},n,{isTableHeader:!1}));o=[u.freshElement("thead",{},s),u.freshElement("tbody",{},l)]}return[u.forceWrite].concat(o)}(e,t,n)})},tableRow:function(e,t,r){var n=x(e.children,t,r);return[u.freshElement("tr",{},[u.forceWrite].concat(n))]},tableCell:function(e,t,r){var n=r.isTableHeader?"th":"td",i=x(e.children,t,r),o={};return 1!==e.colSpan&&(o.colspan=e.colSpan.toString()),1!==e.rowSpan&&(o.rowspan=e.rowSpan.toString()),[u.freshElement(n,o,[u.forceWrite].concat(i))]},break:function(e,t,r){return function(e){var t=S(e);return t?t.to:"line"===e.breakType?o.topLevelElement("br"):o.empty}(e).wrap(function(){return[]})}};return{convertToHtml:function(t){var i=[],o=E(t,i,Object.create(null)),s=[];d(o,function(e){"deferred"===e.type&&s.push(e)});var c=Object.create(null);return n.forEachSeries(s,function(e){return e.value().then(function(t){c[e.id]=t})}).then(function(){var t=l.writer({prettyPrint:e.prettyPrint,outputFormat:e.outputFormat});return u.write(t,u.simplify(function e(t){return p(t,function(t){return"deferred"===t.type?c[t.id]:t.children?[r.extend({},t,{children:e(t.children)})]:[t]})}(o))),new a.Result(t.asString(),i)})}}}t.DocumentConverter=function(e){return{convertToHtml:function(t){return new c(e,r.indexBy(t.type===i.types.document?t.comments:[],"commentId")).convertToHtml(t)}}};var f=1;function h(e,t){return a.warning("Unrecognised "+e+" style: '"+t.styleName+"' (Style ID: "+t.styleId+")")}function p(e,t){return r.flatten(e.map(t),!0)}function d(e,t){e.forEach(function(e){t(e),e.children&&d(e.children,t)})}var m=t.commentAuthorLabel=function(e){return e.authorInitials||""}}),ns=/* @__PURE__ */i(e=>{var t=Go();e.convertElementToRawText=function e(r){if("text"===r.type)return r.value;if(r.type===t.types.tab)return"\t";var n="paragraph"===r.type?"\n\n":"";return(r.children||[]).map(e).join("")+n}}),is=/* @__PURE__ */i((e,t)=>{var r=t.exports=function(e,t){this._tokens=e,this._startIndex=t||0};r.prototype.head=function(){return this._tokens[this._startIndex]},r.prototype.tail=function(e){return new r(this._tokens,this._startIndex+1)},r.prototype.toArray=function(){return this._tokens.slice(this._startIndex)},r.prototype.end=function(){return this._tokens[this._tokens.length-1]},r.prototype.to=function(e){var t=this.head().source,r=e.head()||e.end();return t.to(r.source)}}),os=/* @__PURE__ */i(e=>{var t=is();e.Parser=function(e){return{parseTokens:function(e,r){return e(new t(r))}}}}),as=/* @__PURE__ */i(e=>{function t(e){return"function"==typeof e?e():e}e.none=Object.create({value:function(){throw new Error("Called value on none")},isNone:function(){return!0},isSome:function(){return!1},map:function(){return e.none},flatMap:function(){return e.none},filter:function(){return e.none},toArray:function(){return[]},orElse:t,valueOrElse:t}),e.some=function(e){return new r(e)};var r=function(e){this._value=e};r.prototype.value=function(){return this._value},r.prototype.isNone=function(){return!1},r.prototype.isSome=function(){return!0},r.prototype.map=function(e){return new r(e(this._value))},r.prototype.flatMap=function(e){return e(this._value)},r.prototype.filter=function(t){return t(this._value)?this:e.none},r.prototype.toArray=function(){return[this._value]},r.prototype.orElse=function(e){return this},r.prototype.valueOrElse=function(e){return this._value},e.isOption=function(t){return t===e.none||t instanceof r},e.fromNullable=function(t){return null==t?e.none:new r(t)}}),ss=/* @__PURE__ */i((e,t)=>{t.exports={failure:function(e,t){if(e.length<1)throw new Error("Failure must have errors");return new r({status:"failure",remaining:t,errors:e})},error:function(e,t){if(e.length<1)throw new Error("Failure must have errors");return new r({status:"error",remaining:t,errors:e})},success:function(e,t,n){return new r({status:"success",value:e,source:n,remaining:t,errors:[]})},cut:function(e){return new r({status:"cut",remaining:e,errors:[]})}};var r=function(e){this._value=e.value,this._status=e.status,this._hasValue=void 0!==e.value,this._remaining=e.remaining,this._source=e.source,this._errors=e.errors};r.prototype.map=function(e){return this._hasValue?new r({value:e(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this},r.prototype.changeRemaining=function(e){return new r({value:this._value,status:this._status,remaining:e,source:this._source,errors:this._errors})},r.prototype.isSuccess=function(){return"success"===this._status||"cut"===this._status},r.prototype.isFailure=function(){return"failure"===this._status},r.prototype.isError=function(){return"error"===this._status},r.prototype.isCut=function(){return"cut"===this._status},r.prototype.value=function(){return this._value},r.prototype.remaining=function(){return this._remaining},r.prototype.source=function(){return this._source},r.prototype.errors=function(){return this._errors}}),us=/* @__PURE__ */i(e=>{e.error=function(e){return new t(e)};var t=function(e){this.expected=e.expected,this.actual=e.actual,this._location=e.location};t.prototype.describe=function(){return(this._location?this._location.describe()+":\n":"")+"Expected "+this.expected+"\nbut got "+this.actual},t.prototype.lineNumber=function(){return this._location.lineNumber()},t.prototype.characterNumber=function(){return this._location.characterNumber()}}),ls=/* @__PURE__ */i(e=>{e.fromArray=function(e){var r=0,n=function(){return r<e.length};return new t({hasNext:n,next:function(){if(n())return e[r++];throw new Error("No more elements")}})};var t=function(e){this._iterator=e};t.prototype.map=function(e){var r=this._iterator;return new t({hasNext:function(){return r.hasNext()},next:function(){return e(r.next())}})},t.prototype.filter=function(e){var r,n=this._iterator,i=!1,o=!1,a=function(){if(!i)for(i=!0,o=!1;n.hasNext()&&!o;)r=n.next(),o=e(r)};return new t({hasNext:function(){return a(),o},next:function(){return a(),i=!1,r}})},t.prototype.first=function(){var e=this._iterator;return this._iterator.hasNext()?e.next():null},t.prototype.toArray=function(){for(var e=[];this._iterator.hasNext();)e.push(this._iterator.next());return e}}),cs=/* @__PURE__ */i(t=>{var r=(Wo(),e(Ho)),n=as(),i=ss(),o=us(),a=ls();t.token=function(e,t){var r=void 0!==t;return function(n){var o=n.head();return!o||o.name!==e||r&&o.value!==t?h(n,f({name:e,value:t})):i.success(o.value,n.tail(),o.source)}},t.tokenOfType=function(e){return t.token(e)},t.firstOf=function(e,t){return r.isArray(t)||(t=Array.prototype.slice.call(arguments,1)),function(r){return a.fromArray(t).map(function(e){return e(r)}).filter(function(e){return e.isSuccess()||e.isError()}).first()||h(r,e)}},t.then=function(e,t){return function(r){var n=e(r);return n.map,n.map(t)}},t.sequence=function(){var e=Array.prototype.slice.call(arguments,0),n=function(n){var o=r.foldl(e,function(e,t){var r=e.result,o=e.hasCut;if(!r.isSuccess())return{result:r,hasCut:o};var a=t(r.remaining());if(a.isCut())return{result:r,hasCut:!0};if(a.isSuccess()){var s;s=t.isCaptured?r.value().withValue(t,a.value()):r.value();var u=a.remaining(),l=n.to(u);return{result:i.success(s,u,l),hasCut:o}}return o?{result:i.error(a.errors(),a.remaining()),hasCut:o}:{result:a,hasCut:o}},{result:i.success(new s,n),hasCut:!1}).result,a=n.to(o.remaining());return o.map(function(e){return e.withValue(t.sequence.source,a)})};function o(e){return e.isCaptured}return n.head=function(){var i=r.find(e,o);return t.then(n,t.sequence.extract(i))},n.map=function(e){return t.then(n,function(t){return e.apply(this,t.toArray())})},n};var s=function(e,t){this._values=e||{},this._valuesArray=t||[]};s.prototype.withValue=function(e,t){if(e.captureName&&e.captureName in this._values)throw new Error('Cannot add second value for capture "'+e.captureName+'"');var n=r.clone(this._values);return n[e.captureName]=t,new s(n,this._valuesArray.concat([t]))},s.prototype.get=function(e){if(e.captureName in this._values)return this._values[e.captureName];throw new Error('No value for capture "'+e.captureName+'"')},s.prototype.toArray=function(){return this._valuesArray},t.sequence.capture=function(e,t){var r=function(){return e.apply(this,arguments)};return r.captureName=t,r.isCaptured=!0,r},t.sequence.extract=function(e){return function(t){return t.get(e)}},t.sequence.applyValues=function(e){var t=Array.prototype.slice.call(arguments,1);return function(r){var n=t.map(function(e){return r.get(e)});return e.apply(this,n)}},t.sequence.source={captureName:"☃source☃"},t.sequence.cut=function(){return function(e){return i.cut(e)}},t.optional=function(e){return function(t){var r=e(t);return r.isSuccess()?r.map(n.some):r.isFailure()?i.success(n.none,t):r}},t.zeroOrMoreWithSeparator=function(e,t){return c(e,t,!1)},t.oneOrMoreWithSeparator=function(e,t){return c(e,t,!0)};var u=t.zeroOrMore=function(e){return function(t){for(var r,n=[];(r=e(t))&&r.isSuccess();)t=r.remaining(),n.push(r.value());return r.isError()?r:i.success(n,t)}};function l(e){return i.success(null,e)}t.oneOrMore=function(e){return t.oneOrMoreWithSeparator(e,l)};var c=function(e,r,n){return function(o){var a=e(o);if(a.isSuccess()){var s=t.sequence.capture(e,"main"),l=u(t.then(t.sequence(r,s),t.sequence.extract(s)))(a.remaining());return i.success([a.value()].concat(l.value()),l.remaining())}return n||a.isError()?a:i.success([],o)}};t.leftAssociative=function(e,r,n){var o;o=(o=n?[{func:n,rule:r}]:r).map(function(e){return t.then(e.rule,function(t){return function(r,n){return e.func(r,t,n)}})});var a=t.firstOf.apply(null,["rules"].concat(o));return function(t){var r=t,n=e(t);if(!n.isSuccess())return n;for(var o=a(n.remaining());o.isSuccess();){var s=o.remaining(),u=r.to(o.remaining()),l=o.value();n=i.success(l(n.value(),u),s,u),o=a(n.remaining())}return o.isError()?o:n}},t.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)},t.nonConsuming=function(e){return function(t){return e(t).changeRemaining(t)}};var f=function(e){return e.value?e.name+' "'+e.value+'"':e.name};function h(e,t){var r,n=e.head();return r=n?o.error({expected:t,actual:f(n),location:n.source}):o.error({expected:t,actual:"end of tokens"}),i.failure([r],e)}}),fs=/* @__PURE__ */i((e,t)=>{t.exports=function(e,t){return{asString:function(){return e},range:function(n,i){return new r(e,t,n,i)}}};var r=function(e,t,r,n){this._string=e,this._description=t,this._startIndex=r,this._endIndex=n};r.prototype.to=function(e){return new r(this._string,this._description,this._startIndex,e._endIndex)},r.prototype.describe=function(){var e=this._position();return(this._description?this._description+"\n":"")+"Line number: "+e.lineNumber+"\nCharacter number: "+e.characterNumber},r.prototype.lineNumber=function(){return this._position().lineNumber},r.prototype.characterNumber=function(){return this._position().characterNumber},r.prototype._position=function(){for(var e=this,t=0,r=function(){return e._string.indexOf("\n",t)},n=1;-1!==r()&&r()<this._startIndex;)t=r()+1,n+=1;return{lineNumber:n,characterNumber:this._startIndex-t+1}}}),hs=/* @__PURE__ */i((e,t)=>{t.exports=function(e,t,r){this.name=e,this.value=t,r&&(this.source=r)}}),ps=/* @__PURE__ */i(e=>{var t=cs(),r=ss();function n(e){function i(){return e.map(function(e){return e.name})}function o(r){return t.firstOf("infix",e.map(function(e){return e.rule}))(r)}return{apply:function(e){for(var t,n;;){if(!(t=o(e.remaining())).isSuccess())return t.isFailure()?e:t;n=e.source().to(t.source()),e=r.success(t.value()(e.value(),n),t.remaining(),n)}},untilExclusive:function(t){return new n(e.slice(0,i().indexOf(t)))},untilInclusive:function(t){return new n(e.slice(0,i().indexOf(t)+1))}}}e.parser=function(e,r,o){var a={rule:function(){return l(s)},leftAssociative:function(e){return l(s.untilExclusive(e))},rightAssociative:function(e){return l(s.untilInclusive(e))}},s=new n(o.map(function(e){return{name:e.name,rule:i(e.ruleBuilder.bind(null,a))}})),u=t.firstOf(e,r);function l(e){return c.bind(null,e)}function c(e,t){var r=u(t);return r.isSuccess()?e.apply(r):r}return a},e.infix=function(t,r){return{name:t,ruleBuilder:r,map:function(n){return e.infix(t,function(e){var t=r(e);return function(e){return t(e).map(function(e){return function(t,r){return n(t,e,r)}})}})}}};var i=function(e){var t;return function(r){return t||(t=e()),t(r)}}}),ds=/* @__PURE__ */i(e=>{var t=hs(),r=fs();e.RegexTokeniser=function(e){function n(r,n,i){for(var o=0;o<e.length;o++){var a=e[o].regex;a.lastIndex=n;var s=a.exec(r);if(s){var u=n+s[0].length;if(s.index===n&&u>n){var l=s[1];return{token:new t(e[o].name,l,i.range(n,u)),endIndex:u}}}}return u=n+1,{token:new t("unrecognisedCharacter",r.substring(n,u),i.range(n,u)),endIndex:u}}return e=e.map(function(e){return{name:e.name,regex:new RegExp(e.regex.source,"g")}}),{tokenise:function(e,i){for(var o=new r(e,i),a=0,s=[];a<e.length;){var u=n(e,a,o);a=u.endIndex,s.push(u.token)}return s.push(function(e,r){return new t("end",null,r.range(e.length,e.length))}(e,o)),s}}}}),ms=/* @__PURE__ */i(e=>{e.Parser=os().Parser,e.rules=cs(),e.errors=us(),e.results=ss(),e.StringSource=fs(),e.Token=hs(),e.bottomUp=ps(),e.RegexTokeniser=ds().RegexTokeniser,e.rule=function(e){var t;return function(r){return t||(t=e()),t(r)}}}),gs=/* @__PURE__ */i(e=>{function t(e,t){t=t||{},this._elementType=e,this._styleId=t.styleId,this._styleName=t.styleName,t.list&&(this._listIndex=t.list.levelIndex,this._listIsOrdered=t.list.isOrdered)}function r(e){e=e||{},this._color=e.color}function n(e){e=e||{},this._breakType=e.breakType}function i(e,t){return e.toUpperCase()===t.toUpperCase()}function o(e,t){return 0===t.toUpperCase().indexOf(e.toUpperCase())}e.paragraph=function(e){return new t("paragraph",e)},e.run=function(e){return new t("run",e)},e.table=function(e){return new t("table",e)},e.bold=new t("bold"),e.italic=new t("italic"),e.underline=new t("underline"),e.strikethrough=new t("strikethrough"),e.allCaps=new t("allCaps"),e.smallCaps=new t("smallCaps"),e.highlight=function(e){return new r(e)},e.commentReference=new t("commentReference"),e.lineBreak=new n({breakType:"line"}),e.pageBreak=new n({breakType:"page"}),e.columnBreak=new n({breakType:"column"}),e.equalTo=function(e){return{operator:i,operand:e}},e.startsWith=function(e){return{operator:o,operand:e}},t.prototype.matches=function(e){return e.type===this._elementType&&(void 0===this._styleId||e.styleId===this._styleId)&&(void 0===this._styleName||e.styleName&&this._styleName.operator(this._styleName.operand,e.styleName))&&(void 0===this._listIndex||function(e,t,r){return e.numbering&&e.numbering.level==t&&e.numbering.isOrdered==r}(e,this._listIndex,this._listIsOrdered))&&(void 0===this._breakType||this._breakType===e.breakType)},r.prototype.matches=function(e){return"highlight"===e.type&&(void 0===this._color||e.color===this._color)},n.prototype.matches=function(e){return"break"===e.type&&(void 0===this._breakType||e.breakType===this._breakType)}}),ys=/* @__PURE__ */i(e=>{var t=ms().RegexTokeniser;e.tokenise=function(e){var n="(?:[a-zA-Z\\-_]|\\\\.)";return new t([{name:"identifier",regex:new RegExp("("+n+"(?:"+n+"|[0-9])*)")},{name:"dot",regex:/\./},{name:"colon",regex:/:/},{name:"gt",regex:/>/},{name:"whitespace",regex:/\s+/},{name:"arrow",regex:/=>/},{name:"equals",regex:/=/},{name:"startsWith",regex:/\^=/},{name:"open-paren",regex:/\(/},{name:"close-paren",regex:/\)/},{name:"open-square-bracket",regex:/\[/},{name:"close-square-bracket",regex:/\]/},{name:"string",regex:new RegExp(r+"'")},{name:"unterminated-string",regex:new RegExp(r)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]).tokenise(e)};var r="'((?:\\\\(?:.|$)|[^'\\\\])*)"}),vs=/* @__PURE__ */i(t=>{var r=(Wo(),e(Ho)),n=ms(),i=gs(),o=$a(),a=ys().tokenise,s=Xo();function u(){var e=n.rules.sequence,t=function(e,t){return n.rules.then(n.rules.token("identifier",e),function(){return t})},o=t("p",i.paragraph),a=t("r",i.run),s=n.rules.firstOf("p or r or table",o,a),u=n.rules.sequence(n.rules.tokenOfType("dot"),n.rules.sequence.cut(),n.rules.sequence.capture(c)).map(function(e){return{styleId:e}}),l=n.rules.firstOf("style name matcher",n.rules.then(n.rules.sequence(n.rules.tokenOfType("equals"),n.rules.sequence.cut(),n.rules.sequence.capture(h)).head(),function(e){return{styleName:i.equalTo(e)}}),n.rules.then(n.rules.sequence(n.rules.tokenOfType("startsWith"),n.rules.sequence.cut(),n.rules.sequence.capture(h)).head(),function(e){return{styleName:i.startsWith(e)}})),p=n.rules.sequence(n.rules.tokenOfType("open-square-bracket"),n.rules.sequence.cut(),n.rules.token("identifier","style-name"),n.rules.sequence.capture(l),n.rules.tokenOfType("close-square-bracket")).head(),d=n.rules.firstOf("list type",t("ordered-list",{isOrdered:!0}),t("unordered-list",{isOrdered:!1})),m=e(n.rules.tokenOfType("colon"),e.capture(d),e.cut(),n.rules.tokenOfType("open-paren"),e.capture(f),n.rules.tokenOfType("close-paren")).map(function(e,t){return{list:{isOrdered:e.isOrdered,levelIndex:t-1}}});function g(e){var t=n.rules.firstOf.apply(n.rules.firstOf,["matcher suffix"].concat(e)),i=n.rules.zeroOrMore(t);return n.rules.then(i,function(e){var t={};return e.forEach(function(e){r.extend(t,e)}),t})}var y=e(e.capture(s),e.capture(g([u,p,m]))).map(function(e,t){return e(t)}),v=e(n.rules.token("identifier","table"),e.capture(g([u,p]))).map(function(e){return i.table(e)}),w=t("b",i.bold),b=t("i",i.italic),_=t("u",i.underline),x=t("strike",i.strikethrough),E=t("all-caps",i.allCaps),k=t("small-caps",i.smallCaps),T=e(n.rules.token("identifier","highlight"),n.rules.sequence.capture(n.rules.optional(n.rules.sequence(n.rules.tokenOfType("open-square-bracket"),n.rules.sequence.cut(),n.rules.token("identifier","color"),n.rules.tokenOfType("equals"),n.rules.sequence.capture(h),n.rules.tokenOfType("close-square-bracket")).head()))).map(function(e){return i.highlight({color:e.valueOrElse(void 0)})}),S=t("comment-reference",i.commentReference),N=e(n.rules.token("identifier","br"),e.cut(),n.rules.tokenOfType("open-square-bracket"),n.rules.token("identifier","type"),n.rules.tokenOfType("equals"),e.capture(h),n.rules.tokenOfType("close-square-bracket")).map(function(e){switch(e){case"line":return i.lineBreak;case"page":return i.pageBreak;case"column":return i.columnBreak}});return n.rules.firstOf("element type",y,v,w,b,_,x,E,k,T,S,N)}function l(){var e=n.rules.sequence.capture,t=n.rules.tokenOfType("whitespace"),r=n.rules.then(n.rules.optional(n.rules.sequence(n.rules.tokenOfType("colon"),n.rules.token("identifier","fresh"))),function(e){return e.map(function(){return!0}).valueOrElse(!1)}),i=n.rules.then(n.rules.optional(n.rules.sequence(n.rules.tokenOfType("colon"),n.rules.token("identifier","separator"),n.rules.tokenOfType("open-paren"),e(h),n.rules.tokenOfType("close-paren")).head()),function(e){return e.valueOrElse("")}),a=n.rules.oneOrMoreWithSeparator(c,n.rules.tokenOfType("choice")),s=n.rules.sequence(e(a),e(n.rules.zeroOrMore(y)),e(r),e(i)).map(function(e,t,r,n){var i=Object.create(null),a={};return t.forEach(function(e){e.append&&i[e.name]?i[e.name]+=" "+e.value:i[e.name]=e.value}),r&&(a.fresh=!0),n&&(a.separator=n),o.element(e,i,a)});return n.rules.firstOf("html path",n.rules.then(n.rules.tokenOfType("bang"),function(){return o.ignore}),n.rules.then(n.rules.zeroOrMoreWithSeparator(s,n.rules.sequence(t,n.rules.tokenOfType("gt"),t)),o.elements))}t.readHtmlPath=function(e){return v(l(),e)},t.readDocumentMatcher=function(e){return v(u(),e)},t.readStyle=function(e){return v(_,e)};var c=n.rules.then(n.rules.tokenOfType("identifier"),d),f=n.rules.tokenOfType("integer"),h=n.rules.then(n.rules.tokenOfType("string"),d),p={n:"\n",r:"\r",t:"\t"};function d(e){return e.replace(/\\(.)/g,function(e,t){return p[t]||t})}var m=n.rules.sequence(n.rules.tokenOfType("open-square-bracket"),n.rules.sequence.cut(),n.rules.sequence.capture(c),n.rules.tokenOfType("equals"),n.rules.sequence.capture(h),n.rules.tokenOfType("close-square-bracket")).map(function(e,t){return{name:e,value:t,append:!1}}),g=n.rules.sequence(n.rules.tokenOfType("dot"),n.rules.sequence.cut(),n.rules.sequence.capture(c)).map(function(e){return{name:"class",value:e,append:!0}}),y=n.rules.firstOf("attribute or class",m,g);function v(e,t){var r=a(t),i=n.Parser().parseTokens(e,r);return i.isSuccess()?s.success(i.value()):new s.Result(null,[s.warning(w(t,i))])}function w(e,t){return"Did not understand this style mapping, so ignored it: "+e+"\n"+t.errors().map(b).join("\n")}function b(e){return"Error was at character number "+e.characterNumber()+": Expected "+e.expected+" but got "+e.actual}var _=n.rules.sequence(n.rules.sequence.capture(u()),n.rules.tokenOfType("whitespace"),n.rules.tokenOfType("arrow"),n.rules.sequence.capture(n.rules.optional(n.rules.sequence(n.rules.tokenOfType("whitespace"),n.rules.sequence.capture(l())).head())),n.rules.tokenOfType("end")).map(function(e,t){return{from:e,to:t.valueOrElse(o.empty)}})}),ws=/* @__PURE__ */i(t=>{t.readOptions=function(e){return e=e||{},r.extend({},i,e,{customStyleMap:o(e.styleMap),readStyleMap:function(){var e=this.customStyleMap;return this.includeEmbeddedStyleMap&&(e=e.concat(o(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(e=e.concat(n)),e}})};var r=(Wo(),e(Ho)),n=t._defaultStyleMap=["p.Heading1 => h1:fresh","p.Heading2 => h2:fresh","p.Heading3 => h3:fresh","p.Heading4 => h4:fresh","p.Heading5 => h5:fresh","p.Heading6 => h6:fresh","p[style-name='Heading 1'] => h1:fresh","p[style-name='Heading 2'] => h2:fresh","p[style-name='Heading 3'] => h3:fresh","p[style-name='Heading 4'] => h4:fresh","p[style-name='Heading 5'] => h5:fresh","p[style-name='Heading 6'] => h6:fresh","p[style-name='heading 1'] => h1:fresh","p[style-name='heading 2'] => h2:fresh","p[style-name='heading 3'] => h3:fresh","p[style-name='heading 4'] => h4:fresh","p[style-name='heading 5'] => h5:fresh","p[style-name='heading 6'] => h6:fresh","p.Heading => h1:fresh","p[style-name='Heading'] => h1:fresh","r[style-name='Strong'] => strong","p[style-name='footnote text'] => p:fresh","r[style-name='footnote reference'] =>","p[style-name='endnote text'] => p:fresh","r[style-name='endnote reference'] =>","p[style-name='annotation text'] => p:fresh","r[style-name='annotation reference'] =>","p[style-name='Footnote'] => p:fresh","r[style-name='Footnote anchor'] =>","p[style-name='Endnote'] => p:fresh","r[style-name='Endnote anchor'] =>","p:unordered-list(1) => ul > li:fresh","p:unordered-list(2) => ul|ol > li > ul > li:fresh","p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:ordered-list(1) => ol > li:fresh","p:ordered-list(2) => ul|ol > li > ol > li:fresh","p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","r[style-name='Hyperlink'] =>","p[style-name='Normal'] => p:fresh","p.Body => p:fresh","p[style-name='Body'] => p:fresh"],i=t._standardOptions={externalFileAccess:!1,transformDocument:function(e){return e},includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function o(e){return e?r.isString(e)?e.split("\n").map(function(e){return e.trim()}).filter(function(e){return""!==e&&"#"!==e.charAt(0)}):e:[]}}),bs=/* @__PURE__ */i(e=>{var t=Zo(),r=$o();e.openZip=function(e){return e.arrayBuffer?t.resolve(r.openArrayBuffer(e.arrayBuffer)):t.reject(/* @__PURE__ */new Error("Could not find file in options"))}}),_s=/* @__PURE__ */i(e=>{var t=$a(),r=Ya();e.element=function(e){return function(n){return r.elementWithTag(t.element(e),[n])}}}),xs=/* @__PURE__ */i(t=>{var r=(Wo(),e(Ho)),n=Za(),i=Ga(),o=rs().DocumentConverter,a=ns().convertElementToRawText,s=vs().readStyle,u=ws().readOptions,l=Zo(),c=bs(),f=Xo().Result;function h(e,t){t=u(t);var a=c.openZip(e).then(function(e){return i.readStyleMap(e).then(function(r){return t.embeddedStyleMap=r,e})}).then(function(i){return n.read(i,e,t).then(function(e){return e.map(t.transformDocument)}).then(function(e){return function(e,t){var n,i=(n=t.readStyleMap(),f.combine((n||[]).map(s)).map(function(e){return e.filter(function(e){return!!e})})),a=new o(r.extend({},t,{styleMap:i.value}));return e.flatMapThen(function(e){return i.flatMapThen(function(t){return a.convertToHtml(e)})})}(e,t)})});return l.toExternalPromise(a)}t.convertToHtml=function(e,t){return h(e,t)},t.convertToMarkdown=function(e,t){var r=Object.create(t||{});return r.outputFormat="markdown",h(e,r)},t.convert=h,t.extractRawText=function(e){var t=c.openZip(e).then(n.read).then(function(e){return e.map(a)});return l.toExternalPromise(t)},t.images=Ja(),t.transforms=Ba(),t.underline=_s(),t.embedStyleMap=function(e,t){var r=c.openZip(e).then(function(e){return i.writeStyleMap(e,t).then(function(){return e})}).then(function(e){return e.toArrayBuffer()}).then(function(e){return{toArrayBuffer:function(){return e},toBuffer:function(){return Buffer.from(e)}}});return l.toExternalPromise(r)},t.readEmbeddedStyleMap=function(e){var t=c.openZip(e).then(i.readStyleMap);return l.toExternalPromise(t)},t.styleMapping=function(){throw new Error("Use a raw string instead of mammoth.styleMapping e.g. \"p[style-name='Title'] => h1\" instead of mammoth.styleMapping(\"p[style-name='Title'] => h1\")")}});export default xs();