astronaut-cms 0.0.1 → 1.0.0

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 (119) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +84 -3
  3. package/dist/admin/THIRD_PARTY_LICENSES.md +7598 -0
  4. package/dist/admin/assets/assistant-DkS355co.js +201 -0
  5. package/dist/admin/assets/badge-BXsOvOPX.js +1 -0
  6. package/dist/admin/assets/changes-Ba0G_GN1.js +1 -0
  7. package/dist/admin/assets/client-VKp75fDU.js +5 -0
  8. package/dist/admin/assets/clsx-DB0hHKMi.js +1 -0
  9. package/dist/admin/assets/collapsible-B6P_J0Bg.js +1 -0
  10. package/dist/admin/assets/collapsible-item-UaoJaaPw.js +1 -0
  11. package/dist/admin/assets/collections._collection-BE1enDCq.js +1 -0
  12. package/dist/admin/assets/collections._collection._entry-D3UksnCo.js +52 -0
  13. package/dist/admin/assets/collections._collection.index-BN5d8UIY.js +1 -0
  14. package/dist/admin/assets/component-lookup-CUCiK8Xh.js +4 -0
  15. package/dist/admin/assets/config-Pm_BHLNT.js +1 -0
  16. package/dist/admin/assets/copy-DezZzPMV.js +1 -0
  17. package/dist/admin/assets/css-BGIxQoYs.js +1 -0
  18. package/dist/admin/assets/css-DgaLhXQH.js +1 -0
  19. package/dist/admin/assets/diff-woXpYk--.js +1 -0
  20. package/dist/admin/assets/dist-DzkcSBZl.js +1 -0
  21. package/dist/admin/assets/dist-UbA1s2kM.js +1 -0
  22. package/dist/admin/assets/docx-BctAmX91.js +56 -0
  23. package/dist/admin/assets/editor-FGqMznBK.js +2 -0
  24. package/dist/admin/assets/empty-DSBYiI_7.js +1 -0
  25. package/dist/admin/assets/entry-link-CQLN2Zpf.js +158 -0
  26. package/dist/admin/assets/error-banner-yskeRXe8.js +159 -0
  27. package/dist/admin/assets/errors-DkJ5E_ak.js +1 -0
  28. package/dist/admin/assets/field-BDK5tt3J.js +41 -0
  29. package/dist/admin/assets/field-schema-CacrjSYw.js +1 -0
  30. package/dist/admin/assets/file-text-BzBif8ui.js +1 -0
  31. package/dist/admin/assets/github-dark-C-LZuMrd.js +1 -0
  32. package/dist/admin/assets/github-light-EUqPIrTm.js +1 -0
  33. package/dist/admin/assets/highlighted-body-JLMTFACH-CIQujGv2.js +1 -0
  34. package/dist/admin/assets/html-CvFb5cGI.js +1 -0
  35. package/dist/admin/assets/javascript-BzbQS41l.js +1 -0
  36. package/dist/admin/assets/javascript-CpIGwZ_Y.js +1 -0
  37. package/dist/admin/assets/json-qhed-kSA.js +1 -0
  38. package/dist/admin/assets/jsx-Bz0zcwM4.js +1 -0
  39. package/dist/admin/assets/lib-CMURo-7A.js +21 -0
  40. package/dist/admin/assets/library-Cr3f75Es.js +1 -0
  41. package/dist/admin/assets/list-skeleton-BdTNfVXs.js +1 -0
  42. package/dist/admin/assets/markdown-BYOwaDjH.js +1 -0
  43. package/dist/admin/assets/matchContext-Bq5Es9aD.js +2 -0
  44. package/dist/admin/assets/media-browser-9-CPTCks.js +1 -0
  45. package/dist/admin/assets/media._library-BfFaEZLR.js +1 -0
  46. package/dist/admin/assets/mermaid-WFAXDIZX-CJ3hhA0i.js +1 -0
  47. package/dist/admin/assets/page-header-B4nvAsVA.js +1 -0
  48. package/dist/admin/assets/pdf-DgessaF0.js +106 -0
  49. package/dist/admin/assets/python-gzcpVVnB.js +1 -0
  50. package/dist/admin/assets/react-kbcsfQYH.js +1 -0
  51. package/dist/admin/assets/rolldown-runtime-BWaJ3C7D.js +1 -0
  52. package/dist/admin/assets/routes-CBt04sNR.js +1 -0
  53. package/dist/admin/assets/routes-D7tEdYGV.js +1 -0
  54. package/dist/admin/assets/save-actions-Cz0TkpcP.js +32 -0
  55. package/dist/admin/assets/select-Bv2EoLhN.js +1 -0
  56. package/dist/admin/assets/separator-DlYj_PoQ.js +3 -0
  57. package/dist/admin/assets/shell-DBEiq06l.js +1 -0
  58. package/dist/admin/assets/shellscript-CLZ0U2zV.js +1 -0
  59. package/dist/admin/assets/skeleton-CKiqTaRh.js +1 -0
  60. package/dist/admin/assets/sql-CEbI0hMM.js +1 -0
  61. package/dist/admin/assets/syntax-BAXqRKRO.js +8 -0
  62. package/dist/admin/assets/toggle-Y2UpJZyU.js +1 -0
  63. package/dist/admin/assets/toml-BPTmHmyx.js +1 -0
  64. package/dist/admin/assets/tsx-udAQXfEw.js +1 -0
  65. package/dist/admin/assets/typescript-bsJCZSQ-.js +1 -0
  66. package/dist/admin/assets/ui.module.css-WaO_77ml.js +56 -0
  67. package/dist/admin/assets/use-entries-B2lsaiK9.js +1 -0
  68. package/dist/admin/assets/useSelector-CWr3iU9K.js +1 -0
  69. package/dist/admin/assets/yaml-rwi0_p6S.js +1 -0
  70. package/dist/admin/assets/zwitch-Wwuax-dJ.js +1 -0
  71. package/dist/admin/bootstrap.d.ts +1 -0
  72. package/dist/admin/bootstrap.js +1 -0
  73. package/dist/admin/editor.d.ts +57 -0
  74. package/dist/admin/editor.js +1 -0
  75. package/dist/server/assets.d.ts +2 -0
  76. package/dist/server/assets.js +30 -0
  77. package/dist/server/chunks/anchors-DuZ1fokt.js +86 -0
  78. package/dist/server/chunks/auth-DJP9ryVd.js +44 -0
  79. package/dist/server/chunks/cms-markers-CUqrOnfA.js +78 -0
  80. package/dist/server/chunks/component-lookup-DAFg_Qg8.js +128 -0
  81. package/dist/server/chunks/config-WQqG4mNH.d.ts +193 -0
  82. package/dist/server/chunks/digest-BYzWNJea.js +753 -0
  83. package/dist/server/chunks/entry-checks-CKMag1G4.js +608 -0
  84. package/dist/server/chunks/field-schema-CfdN75jT.js +48 -0
  85. package/dist/server/chunks/http-BnsNh57m.d.ts +35 -0
  86. package/dist/server/chunks/i18n-BPmx7ESy.d.ts +15 -0
  87. package/dist/server/chunks/index-CYbkNvu5.d.ts +22 -0
  88. package/dist/server/chunks/media-BhqUVVYY.js +223 -0
  89. package/dist/server/chunks/paths-CEW9fvg8.js +17 -0
  90. package/dist/server/chunks/paths-Dztx2eUw.js +13 -0
  91. package/dist/server/chunks/types-DOR5XaJO.js +397 -0
  92. package/dist/server/chunks/types-Dkx4Xovf.d.ts +359 -0
  93. package/dist/server/chunks/types-DwA-C6Br.d.ts +266 -0
  94. package/dist/server/chunks/user-config-DoypbpQf.js +283 -0
  95. package/dist/server/chunks/xml-D8qPILJU.js +81 -0
  96. package/dist/server/config.d.ts +3 -0
  97. package/dist/server/config.js +18 -0
  98. package/dist/server/content.d.ts +48 -0
  99. package/dist/server/content.js +89 -0
  100. package/dist/server/endpoint.d.ts +11 -0
  101. package/dist/server/endpoint.js +2712 -0
  102. package/dist/server/integration.d.ts +7 -0
  103. package/dist/server/integration.js +1174 -0
  104. package/dist/server/internal.d.ts +65 -0
  105. package/dist/server/internal.js +30 -0
  106. package/dist/server/server-local.d.ts +453 -0
  107. package/dist/server/server-local.js +336 -0
  108. package/dist/styles/THIRD_PARTY_LICENSES.md +193 -0
  109. package/dist/styles/assets/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2 +0 -0
  110. package/dist/styles/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2 +0 -0
  111. package/dist/styles/assets/geist-latin-ext-wght-normal-DC-KSUi6.woff2 +0 -0
  112. package/dist/styles/assets/geist-latin-wght-normal-BgDaEnEv.woff2 +0 -0
  113. package/dist/styles/assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2 +0 -0
  114. package/dist/styles/styles.css +3 -0
  115. package/package.json +151 -5
  116. package/src/astro/Image.astro +28 -0
  117. package/src/astro/Video.astro +44 -0
  118. package/src/astro/admin.astro +137 -0
  119. package/src/astro/licenses.ts +5 -0
@@ -0,0 +1,56 @@
1
+ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,o)=>(o=n==null?{}:e(i(n)),l(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n)),d=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e),f=/* @__PURE__ */ (e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")}),p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,N=o((()=>{p=`1.13.8`,m=typeof self==`object`&&self.self===self&&self||typeof global==`object`&&global.global===global&&global||Function(`return this`)()||{},h=Array.prototype,g=Object.prototype,_=typeof Symbol<`u`?Symbol.prototype:null,v=h.push,y=h.slice,b=g.toString,x=g.hasOwnProperty,S=typeof ArrayBuffer<`u`,C=typeof DataView<`u`,w=Array.isArray,T=Object.keys,E=Object.create,D=S&&ArrayBuffer.isView,O=isNaN,k=isFinite,A=!{toString:null}.propertyIsEnumerable(`toString`),j=[`valueOf`,`isPrototypeOf`,`toString`,`propertyIsEnumerable`,`hasOwnProperty`,`toLocaleString`],M=2**53-1}));function P(e,t){return t=t==null?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;i<n;i++)r[i]=arguments[i+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var a=Array(t+1);for(i=0;i<t;i++)a[i]=arguments[i];return a[t]=r,e.apply(this,a)}}var F=o((()=>{}));function I(e){var t=typeof e;return t===`function`||t===`object`&&!!e}var L=o((()=>{}));function R(e){return e===null}var z=o((()=>{}));function B(e){return e===void 0}var V=o((()=>{}));function H(e){return e===!0||e===!1||b.call(e)===`[object Boolean]`}var U=o((()=>{N()}));function ee(e){return!!(e&&e.nodeType===1)}var te=o((()=>{}));function W(e){var t=`[object `+e+`]`;return function(e){return b.call(e)===t}}var G=o((()=>{N()})),ne,re=o((()=>{G(),ne=W(`String`)})),ie,ae=o((()=>{G(),ie=W(`Number`)})),oe,se=o((()=>{G(),oe=W(`Date`)})),ce,le=o((()=>{G(),ce=W(`RegExp`)})),ue,de=o((()=>{G(),ue=W(`Error`)})),fe,pe=o((()=>{G(),fe=W(`Symbol`)})),me,he=o((()=>{G(),me=W(`ArrayBuffer`)})),ge,_e,K,q=o((()=>{G(),N(),ge=W(`Function`),_e=m.document&&m.document.childNodes,typeof/./!=`function`&&typeof Int8Array!=`object`&&typeof _e!=`function`&&(ge=function(e){return typeof e==`function`||!1}),K=ge})),ve,ye=o((()=>{G(),ve=W(`Object`)})),be,xe,Se=o((()=>{N(),ye(),be=C&&(!/\[native code\]/.test(String(DataView))||ve(/* @__PURE__ */ new DataView(/* @__PURE__ */ new ArrayBuffer(8)))),xe=typeof Map<`u`&&ve(/* @__PURE__ */ new Map)}));function Ce(e){return e!=null&&K(e.getInt8)&&me(e.buffer)}var we,Te,Ee=o((()=>{G(),q(),he(),Se(),we=W(`DataView`),Te=be?Ce:we})),De,Oe=o((()=>{N(),G(),De=w||W(`Array`)}));function ke(e,t){return e!=null&&x.call(e,t)}var Ae=o((()=>{N()})),je,Me,Ne=o((()=>{G(),Ae(),je=W(`Arguments`),(function(){je(arguments)||(je=function(e){return ke(e,`callee`)})})(),Me=je}));function Pe(e){return!fe(e)&&k(e)&&!isNaN(parseFloat(e))}var Fe=o((()=>{N(),pe()}));function Ie(e){return ie(e)&&O(e)}var Le=o((()=>{N(),ae()}));function Re(e){return function(){return e}}var ze=o((()=>{}));function Be(e){return function(t){var n=e(t);return typeof n==`number`&&n>=0&&n<=M}}var Ve=o((()=>{N()}));function He(e){return function(t){return t?.[e]}}var Ue=o((()=>{})),We,Ge=o((()=>{Ue(),We=He(`byteLength`)})),Ke,qe=o((()=>{Ve(),Ge(),Ke=Be(We)}));function Je(e){return D?D(e)&&!Te(e):Ke(e)&&Ye.test(b.call(e))}var Ye,Xe,Ze=o((()=>{N(),Ee(),ze(),qe(),Ye=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,Xe=S?Je:Re(!1)})),J,Qe=o((()=>{Ue(),J=He(`length`)}));function $e(e){for(var t={},n=e.length,r=0;r<n;++r)t[e[r]]=!0;return{contains:function(e){return t[e]===!0},push:function(n){return t[n]=!0,e.push(n)}}}function et(e,t){t=$e(t);var n=j.length,r=e.constructor,i=K(r)&&r.prototype||g,a=`constructor`;for(ke(e,a)&&!t.contains(a)&&t.push(a);n--;)a=j[n],a in e&&e[a]!==i[a]&&!t.contains(a)&&t.push(a)}var tt=o((()=>{N(),q(),Ae()}));function Y(e){if(!I(e))return[];if(T)return T(e);var t=[];for(var n in e)ke(e,n)&&t.push(n);return A&&et(e,t),t}var X=o((()=>{L(),N(),Ae(),tt()}));function nt(e){if(e==null)return!0;var t=J(e);return typeof t==`number`&&(De(e)||ne(e)||Me(e))?t===0:J(Y(e))===0}var rt=o((()=>{Qe(),Oe(),re(),Ne(),X()}));function it(e,t){var n=Y(t),r=n.length;if(e==null)return!r;for(var i=Object(e),a=0;a<r;a++){var o=n[a];if(t[o]!==i[o]||!(o in i))return!1}return!0}var at=o((()=>{X()}));function Z(e){if(e instanceof Z)return e;if(!(this instanceof Z))return new Z(e);this._wrapped=e}var ot=o((()=>{N(),Z.VERSION=p,Z.prototype.value=function(){return this._wrapped},Z.prototype.valueOf=Z.prototype.toJSON=Z.prototype.value,Z.prototype.toString=function(){return String(this._wrapped)}}));function st(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,We(e))}var ct=o((()=>{Ge()}));function lt(e,t){for(var n=[{a:e,b:t}],r=[],i=[];n.length;){var a=n.pop();if(a===!0)r.pop(),i.pop();else{if(e=a.a,t=a.b,e===t){if(e!==0||1/e==1/t)continue;return!1}if(e==null||t==null)return!1;if(e!==e){if(t!==t)continue;return!1}var o=typeof e;if(o!==`function`&&o!==`object`&&typeof t!=`object`)return!1;e instanceof Z&&(e=e._wrapped),t instanceof Z&&(t=t._wrapped);var s=b.call(e);if(s!==b.call(t))return!1;if(be&&s==`[object Object]`&&Te(e)){if(!Te(t))return!1;s=ut}switch(s){case`[object RegExp]`:case`[object String]`:if(``+e==``+t)continue;return!1;case`[object Number]`:n.push({a:+e,b:+t});continue;case`[object Date]`:case`[object Boolean]`:if(+e==+t)continue;return!1;case`[object Symbol]`:if(_.valueOf.call(e)===_.valueOf.call(t))continue;return!1;case`[object ArrayBuffer]`:case ut:n.push({a:st(e),b:st(t)});continue}var c=s===`[object Array]`;if(!c&&Xe(e)){if(We(e)!==We(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)continue;c=!0}if(!c){if(typeof e!=`object`||typeof t!=`object`)return!1;var l=e.constructor,u=t.constructor;if(l!==u&&!(K(l)&&l instanceof l&&K(u)&&u instanceof u)&&`constructor`in e&&`constructor`in t)return!1}for(var d=r.length;d--;)if(r[d]===e){if(i[d]===t)break;return!1}if(!(d>=0)){if(r.push(e),i.push(t),n.push(!0),c){if(d=e.length,d!==t.length)return!1;for(;d--;)n.push({a:e[d],b:t[d]})}else{var f=Y(e),p;if(d=f.length,Y(t).length!==d)return!1;for(;d--;){if(p=f[d],!ke(t,p))return!1;n.push({a:e[p],b:t[p]})}}}}}return!0}var ut,dt=o((()=>{ot(),N(),Ge(),Ze(),q(),Se(),Ee(),X(),Ae(),ct(),ut=`[object DataView]`}));function ft(e){if(!I(e))return[];var t=[];for(var n in e)t.push(n);return A&&et(e,t),t}var pt=o((()=>{L(),N(),tt()}));function mt(e){var t=J(e);return function(n){if(n==null)return!1;var r=ft(n);if(J(r))return!1;for(var i=0;i<t;i++)if(!K(n[e[i]]))return!1;return e!==bt||!K(n[ht])}}var ht,gt,_t,vt,yt,bt,xt,St=o((()=>{Qe(),q(),pt(),ht=`forEach`,gt=`has`,_t=[`clear`,`delete`],vt=[`get`,gt,`set`],yt=_t.concat(ht,vt),bt=_t.concat(vt),xt=[`add`].concat(_t,ht,gt)})),Ct,wt=o((()=>{G(),Se(),St(),Ct=xe?mt(yt):W(`Map`)})),Tt,Et=o((()=>{G(),Se(),St(),Tt=xe?mt(bt):W(`WeakMap`)})),Dt,Ot=o((()=>{G(),Se(),St(),Dt=xe?mt(xt):W(`Set`)})),kt,At=o((()=>{G(),kt=W(`WeakSet`)}));function jt(e){for(var t=Y(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=e[t[i]];return r}var Mt=o((()=>{X()}));function Nt(e){for(var t=Y(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r}var Pt=o((()=>{X()}));function Ft(e){for(var t={},n=Y(e),r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t}var It=o((()=>{X()}));function Lt(e){var t=[];for(var n in e)K(e[n])&&t.push(n);return t.sort()}var Rt=o((()=>{q()}));function zt(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||n==null)return n;for(var i=1;i<r;i++)for(var a=arguments[i],o=e(a),s=o.length,c=0;c<s;c++){var l=o[c];t&&n[l]!==void 0||(n[l]=a[l])}return n}}var Bt=o((()=>{})),Vt,Ht=o((()=>{Bt(),pt(),Vt=zt(ft)})),Ut,Wt=o((()=>{Bt(),X(),Ut=zt(Y)})),Gt,Kt=o((()=>{Bt(),pt(),Gt=zt(ft,!0)}));function qt(){return function(){}}function Jt(e){if(!I(e))return{};if(E)return E(e);var t=qt();t.prototype=e;var n=new t;return t.prototype=null,n}var Yt=o((()=>{L(),N()}));function Xt(e,t){var n=Jt(e);return t&&Ut(n,t),n}var Zt=o((()=>{Yt(),Wt()}));function Qt(e){return I(e)?De(e)?e.slice():Vt({},e):e}var $t=o((()=>{L(),Oe(),Ht()}));function en(e,t){return t(e),e}var tn=o((()=>{}));function nn(e){return De(e)?e:[e]}var rn=o((()=>{ot(),Oe(),Z.toPath=nn}));function an(e){return Z.toPath(e)}var on=o((()=>{ot(),rn()}));function sn(e,t){for(var n=t.length,r=0;r<n;r++){if(e==null)return;e=e[t[r]]}return n?e:void 0}var cn=o((()=>{}));function ln(e,t,n){var r=sn(e,an(t));return B(r)?n:r}var un=o((()=>{on(),cn(),V()}));function dn(e,t){t=an(t);for(var n=t.length,r=0;r<n;r++){var i=t[r];if(!ke(e,i))return!1;e=e[i]}return!!n}var fn=o((()=>{Ae(),on()}));function pn(e){return e}var mn=o((()=>{}));function hn(e){return e=Ut({},e),function(t){return it(t,e)}}var gn=o((()=>{Wt(),at()}));function _n(e){return e=an(e),function(t){return sn(t,e)}}var vn=o((()=>{cn(),on()}));function yn(e,t,n){if(t===void 0)return e;switch(n??3){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,a){return e.call(t,n,r,i,a)}}return function(){return e.apply(t,arguments)}}var bn=o((()=>{}));function xn(e,t,n){return e==null?pn:K(e)?yn(e,t,n):I(e)&&!De(e)?hn(e):_n(e)}var Sn=o((()=>{mn(),q(),L(),Oe(),gn(),vn(),bn()}));function Cn(e,t){return xn(e,t,1/0)}var wn=o((()=>{ot(),Sn(),Z.iteratee=Cn}));function Tn(e,t,n){return Z.iteratee===Cn?xn(e,t,n):Z.iteratee(e,t)}var En=o((()=>{ot(),Sn(),wn()}));function Dn(e,t,n){t=Tn(t,n);for(var r=Y(e),i=r.length,a={},o=0;o<i;o++){var s=r[o];a[s]=t(e[s],s,e)}return a}var On=o((()=>{En(),X()}));function kn(){}var An=o((()=>{}));function jn(e){return e==null?kn:function(t){return ln(e,t)}}var Mn=o((()=>{An(),un()}));function Nn(e,t,n){var r=Array(Math.max(0,e));t=yn(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r}var Pn=o((()=>{bn()}));function Fn(e,t){return t??(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}var In=o((()=>{})),Ln,Rn=o((()=>{Ln=Date.now||function(){return(/* @__PURE__ */ new Date()).getTime()}}));function zn(e){var t=function(t){return e[t]},n=`(?:`+Y(e).join(`|`)+`)`,r=RegExp(n),i=RegExp(n,`g`);return function(e){return e=e==null?``:``+e,r.test(e)?e.replace(i,t):e}}var Bn=o((()=>{X()})),Vn,Hn=o((()=>{Vn={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#x27;`,"`":`&#x60;`}})),Un,Wn=o((()=>{Bn(),Hn(),Un=zn(Vn)})),Gn,Kn=o((()=>{It(),Hn(),Gn=Ft(Vn)})),qn,Jn=o((()=>{Bn(),Kn(),qn=zn(Gn)})),Yn,Xn=o((()=>{ot(),Yn=Z.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g}}));function Zn(e){return`\\`+er[e]}function Qn(e,t,n){!t&&n&&(t=n),t=Gt({},t,Z.templateSettings);var r=RegExp([(t.escape||$n).source,(t.interpolate||$n).source,(t.evaluate||$n).source].join(`|`)+`|$`,`g`),i=0,a=`__p+='`;e.replace(r,function(t,n,r,o,s){return a+=e.slice(i,s).replace(tr,Zn),i=s+t.length,n?a+=`'+
2
+ ((__t=(`+n+`))==null?'':_.escape(__t))+
3
+ '`:r?a+=`'+
4
+ ((__t=(`+r+`))==null?'':__t)+
5
+ '`:o&&(a+=`';
6
+ `+o+`
7
+ __p+='`),t}),a+=`';
8
+ `;var o=t.variable;if(o){if(!nr.test(o))throw Error(`variable is not a bare identifier: `+o)}else a=`with(obj||{}){
9
+ `+a+`}
10
+ `,o=`obj`;a=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
11
+ `+a+`return __p;
12
+ `;var s;try{s=Function(o,`_`,a)}catch(e){throw e.source=a,e}var c=function(e){return s.call(this,e,Z)};return c.source=`function(`+o+`){
13
+ `+a+`}`,c}var $n,er,tr,nr,rr=o((()=>{Kt(),ot(),Xn(),$n=/(.)^/,er={"'":`'`,"\\":`\\`,"\r":`r`,"\n":`n`,"\u2028":`u2028`,"\u2029":`u2029`},tr=/\\|'|\r|\n|\u2028|\u2029/g,nr=/^\s*(\w|\$)+\s*$/}));function ir(e,t,n){t=an(t);var r=t.length;if(!r)return K(n)?n.call(e):n;for(var i=0;i<r;i++){var a=e?.[t[i]];a===void 0&&(a=n,i=r),e=K(a)?a.call(e):a}return e}var ar=o((()=>{q(),on()}));function or(e){var t=++sr+``;return e?e+t:t}var sr,cr=o((()=>{sr=0}));function lr(e){var t=Z(e);return t._chain=!0,t}var ur=o((()=>{ot()}));function dr(e,t,n,r,i){if(!(r instanceof t))return e.apply(n,i);var a=Jt(e.prototype),o=e.apply(a,i);return I(o)?o:a}var fr=o((()=>{Yt(),L()})),pr,mr=o((()=>{F(),fr(),ot(),pr=P(function(e,t){var n=pr.placeholder,r=function(){for(var i=0,a=t.length,o=Array(a),s=0;s<a;s++)o[s]=t[s]===n?arguments[i++]:t[s];for(;i<arguments.length;)o.push(arguments[i++]);return dr(e,r,this,this,o)};return r}),pr.placeholder=Z})),hr,gr=o((()=>{F(),q(),fr(),hr=P(function(e,t,n){if(!K(e))throw TypeError(`Bind must be called on a function`);var r=P(function(i){return dr(e,r,t,this,n.concat(i))});return r})})),_r,vr=o((()=>{Ve(),Qe(),_r=Be(J)}));function yr(e,t,n){!t&&t!==0&&(t=1/0);for(var r=[],i=0,a=0,o=J(e)||0,s=[];;)if(a>=o){if(!s.length)break;var c=s.pop();a=c.i,e=c.v,o=J(e)}else{var l=e[a++];s.length>=t?r[i++]=l:_r(l)&&(De(l)||Me(l))?(s.push({i:a,v:e}),a=0,e=l,o=J(e)):n||(r[i++]=l)}return r}var br=o((()=>{Qe(),vr(),Oe(),Ne()})),xr,Sr=o((()=>{F(),br(),gr(),xr=P(function(e,t){t=yr(t,!1,!1);var n=t.length;if(n<1)throw Error(`bindAll must be passed function names`);for(;n--;){var r=t[n];e[r]=hr(e[r],e)}return e})}));function Cr(e,t){var n=function(r){var i=n.cache,a=``+(t?t.apply(this,arguments):r);return ke(i,a)||(i[a]=e.apply(this,arguments)),i[a]};return n.cache={},n}var wr=o((()=>{Ae()})),Tr,Er=o((()=>{F(),Tr=P(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)})})),Dr,Or=o((()=>{mr(),Er(),ot(),Dr=pr(Tr,Z,1)}));function kr(e,t,n){var r,i,a,o,s=0;n||={};var c=function(){s=n.leading===!1?0:Ln(),r=null,o=e.apply(i,a),r||(i=a=null)},l=function(){var l=Ln();!s&&n.leading===!1&&(s=l);var u=t-(l-s);return i=this,a=arguments,u<=0||u>t?(r&&=(clearTimeout(r),null),s=l,o=e.apply(i,a),r||(i=a=null)):!r&&n.trailing!==!1&&(r=setTimeout(c,u)),o};return l.cancel=function(){clearTimeout(r),s=0,r=i=a=null},l}var Ar=o((()=>{Rn()}));function jr(e,t,n){var r,i,a,o,s,c=function(){var l=Ln()-i;t>l?r=setTimeout(c,t-l):(r=null,n||(o=e.apply(s,a)),r||(a=s=null))},l=P(function(l){return s=this,a=l,i=Ln(),r||(r=setTimeout(c,t),n&&(o=e.apply(s,a))),o});return l.cancel=function(){clearTimeout(r),r=a=s=null},l}var Mr=o((()=>{F(),Rn()}));function Nr(e,t){return pr(t,e)}var Pr=o((()=>{mr()}));function Fr(e){return function(){return!e.apply(this,arguments)}}var Ir=o((()=>{}));function Lr(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}var Rr=o((()=>{}));function zr(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}var Br=o((()=>{}));function Vr(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var Hr=o((()=>{})),Ur,Wr=o((()=>{mr(),Hr(),Ur=pr(Vr,2)}));function Gr(e,t,n){t=Tn(t,n);for(var r=Y(e),i,a=0,o=r.length;a<o;a++)if(i=r[a],t(e[i],i,e))return i}var Kr=o((()=>{En(),X()}));function qr(e){return function(t,n,r){n=Tn(n,r);for(var i=J(t),a=e>0?0:i-1;a>=0&&a<i;a+=e)if(n(t[a],a,t))return a;return-1}}var Jr=o((()=>{En(),Qe()})),Yr,Xr=o((()=>{Jr(),Yr=qr(1)})),Zr,Qr=o((()=>{Jr(),Zr=qr(-1)}));function $r(e,t,n,r){n=Tn(n,r,1);for(var i=n(t),a=0,o=J(e);a<o;){var s=Math.floor((a+o)/2);n(e[s])<i?a=s+1:o=s}return a}var ei=o((()=>{En(),Qe()}));function ti(e,t,n){return function(r,i,a){var o=0,s=J(r);if(typeof a==`number`)e>0?o=a>=0?a:Math.max(a+s,o):s=a>=0?Math.min(a+1,s):a+s+1;else if(n&&a&&s)return a=n(r,i),r[a]===i?a:-1;if(i!==i)return a=t(y.call(r,o,s),Ie),a>=0?a+o:-1;for(a=e>0?o:s-1;a>=0&&a<s;a+=e)if(r[a]===i)return a;return-1}}var ni=o((()=>{Qe(),N(),Le()})),ri,ii=o((()=>{ei(),Xr(),ni(),ri=ti(1,Yr,$r)})),ai,oi=o((()=>{Qr(),ni(),ai=ti(-1,Zr)}));function si(e,t,n){var r=(_r(e)?Yr:Gr)(e,t,n);if(r!==void 0&&r!==-1)return e[r]}var ci=o((()=>{vr(),Xr(),Kr()}));function li(e,t){return si(e,hn(t))}var ui=o((()=>{ci(),gn()}));function di(e,t,n){t=yn(t,n);var r,i;if(_r(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var a=Y(e);for(r=0,i=a.length;r<i;r++)t(e[a[r]],a[r],e)}return e}var fi=o((()=>{bn(),vr(),X()}));function pi(e,t,n){t=Tn(t,n);for(var r=!_r(e)&&Y(e),i=(r||e).length,a=Array(i),o=0;o<i;o++){var s=r?r[o]:o;a[o]=t(e[s],s,e)}return a}var mi=o((()=>{En(),vr(),X()}));function hi(e){var t=function(t,n,r,i){var a=!_r(t)&&Y(t),o=(a||t).length,s=e>0?0:o-1;for(i||(r=t[a?a[s]:s],s+=e);s>=0&&s<o;s+=e){var c=a?a[s]:s;r=n(r,t[c],c,t)}return r};return function(e,n,r,i){var a=arguments.length>=3;return t(e,yn(n,i,4),r,a)}}var gi=o((()=>{vr(),X(),bn()})),_i,vi=o((()=>{gi(),_i=hi(1)})),yi,bi=o((()=>{gi(),yi=hi(-1)}));function xi(e,t,n){var r=[];return t=Tn(t,n),di(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r}var Si=o((()=>{En(),fi()}));function Ci(e,t,n){return xi(e,Fr(Tn(t)),n)}var wi=o((()=>{Si(),Ir(),En()}));function Ti(e,t,n){t=Tn(t,n);for(var r=!_r(e)&&Y(e),i=(r||e).length,a=0;a<i;a++){var o=r?r[a]:a;if(!t(e[o],o,e))return!1}return!0}var Ei=o((()=>{En(),vr(),X()}));function Di(e,t,n){t=Tn(t,n);for(var r=!_r(e)&&Y(e),i=(r||e).length,a=0;a<i;a++){var o=r?r[a]:a;if(t(e[o],o,e))return!0}return!1}var Oi=o((()=>{En(),vr(),X()}));function ki(e,t,n,r){return _r(e)||(e=jt(e)),(typeof n!=`number`||r)&&(n=0),ri(e,t,n)>=0}var Ai=o((()=>{vr(),Mt(),ii()})),ji,Mi=o((()=>{F(),q(),mi(),cn(),on(),ji=P(function(e,t,n){var r,i;return K(t)?i=t:(t=an(t),r=t.slice(0,-1),t=t[t.length-1]),pi(e,function(e){var a=i;if(!a){if(r&&r.length&&(e=sn(e,r)),e==null)return;a=e[t]}return a==null?a:a.apply(e,n)})})}));function Ni(e,t){return pi(e,_n(t))}var Pi=o((()=>{mi(),vn()}));function Fi(e,t){return xi(e,hn(t))}var Ii=o((()=>{Si(),gn()}));function Li(e,t,n){var r=-1/0,i=-1/0,a,o;if(t==null||typeof t==`number`&&typeof e[0]!=`object`&&e!=null){e=_r(e)?e:jt(e);for(var s=0,c=e.length;s<c;s++)a=e[s],a!=null&&a>r&&(r=a)}else t=Tn(t,n),di(e,function(e,n,a){o=t(e,n,a),(o>i||o===-1/0&&r===-1/0)&&(r=e,i=o)});return r}var Ri=o((()=>{vr(),Mt(),En(),fi()}));function zi(e,t,n){var r=1/0,i=1/0,a,o;if(t==null||typeof t==`number`&&typeof e[0]!=`object`&&e!=null){e=_r(e)?e:jt(e);for(var s=0,c=e.length;s<c;s++)a=e[s],a!=null&&a<r&&(r=a)}else t=Tn(t,n),di(e,function(e,n,a){o=t(e,n,a),(o<i||o===1/0&&r===1/0)&&(r=e,i=o)});return r}var Bi=o((()=>{vr(),Mt(),En(),fi()}));function Vi(e){return e?De(e)?y.call(e):ne(e)?e.match(Hi):_r(e)?pi(e,pn):jt(e):[]}var Hi,Ui=o((()=>{Oe(),N(),re(),vr(),mi(),mn(),Mt(),Hi=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g}));function Wi(e,t,n){if(t==null||n)return _r(e)||(e=jt(e)),e[Fn(e.length-1)];var r=Vi(e),i=J(r);t=Math.max(Math.min(t,i),0);for(var a=i-1,o=0;o<t;o++){var s=Fn(o,a),c=r[o];r[o]=r[s],r[s]=c}return r.slice(0,t)}var Gi=o((()=>{vr(),Mt(),Qe(),In(),Ui()}));function Ki(e){return Wi(e,1/0)}var qi=o((()=>{Gi()}));function Ji(e,t,n){var r=0;return t=Tn(t,n),Ni(pi(e,function(e,n,i){return{value:e,index:r++,criteria:t(e,n,i)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||n===void 0)return 1;if(n<r||r===void 0)return-1}return e.index-t.index}),`value`)}var Yi=o((()=>{En(),Pi(),mi()}));function Xi(e,t){return function(n,r,i){var a=t?[[],[]]:{};return r=Tn(r,i),di(n,function(t,i){e(a,t,r(t,i,n))}),a}}var Zi=o((()=>{En(),fi()})),Qi,$i=o((()=>{Zi(),Ae(),Qi=Xi(function(e,t,n){ke(e,n)?e[n].push(t):e[n]=[t]})})),ea,ta=o((()=>{Zi(),ea=Xi(function(e,t,n){e[n]=t})})),na,ra=o((()=>{Zi(),Ae(),na=Xi(function(e,t,n){ke(e,n)?e[n]++:e[n]=1})})),ia,aa=o((()=>{Zi(),ia=Xi(function(e,t,n){e[+!n].push(t)},!0)}));function oa(e){return e==null?0:_r(e)?e.length:Y(e).length}var sa=o((()=>{vr(),X()}));function ca(e,t,n){return t in n}var la=o((()=>{})),ua,da=o((()=>{F(),q(),bn(),pt(),la(),br(),ua=P(function(e,t){var n={},r=t[0];if(e==null)return n;K(r)?(t.length>1&&(r=yn(r,t[1])),t=ft(e)):(r=ca,t=yr(t,!1,!1),e=Object(e));for(var i=0,a=t.length;i<a;i++){var o=t[i],s=e[o];r(s,o,e)&&(n[o]=s)}return n})})),fa,pa=o((()=>{F(),q(),Ir(),mi(),br(),Ai(),da(),fa=P(function(e,t){var n=t[0],r;return K(n)?(n=Fr(n),t.length>1&&(r=t[1])):(t=pi(yr(t,!1,!1),String),n=function(e,n){return!ki(t,n)}),ua(e,n,r)})}));function ma(e,t,n){return y.call(e,0,Math.max(0,e.length-(t==null||n?1:t)))}var ha=o((()=>{N()}));function ga(e,t,n){return e==null||e.length<1?t==null||n?void 0:[]:t==null||n?e[0]:ma(e,e.length-t)}var _a=o((()=>{ha()}));function va(e,t,n){return y.call(e,t==null||n?1:t)}var ya=o((()=>{N()}));function ba(e,t,n){return e==null||e.length<1?t==null||n?void 0:[]:t==null||n?e[e.length-1]:va(e,Math.max(0,e.length-t))}var xa=o((()=>{ya()}));function Sa(e){return xi(e,Boolean)}var Ca=o((()=>{Si()}));function wa(e,t){return yr(e,t,!1)}var Ta=o((()=>{br()})),Ea,Da=o((()=>{F(),br(),Si(),Ai(),Ea=P(function(e,t){return t=yr(t,!0,!0),xi(e,function(e){return!ki(t,e)})})})),Oa,ka=o((()=>{F(),Da(),Oa=P(function(e,t){return Ea(e,t)})}));function Aa(e,t,n,r){H(t)||(r=n,n=t,t=!1),n!=null&&(n=Tn(n,r));for(var i=[],a=[],o=0,s=J(e);o<s;o++){var c=e[o],l=n?n(c,o,e):c;t&&!n?(o&&a===l||i.push(c),a=l):n?ki(a,l)||(a.push(l),i.push(c)):ki(i,c)||i.push(c)}return i}var ja=o((()=>{U(),En(),Qe(),Ai()})),Ma,Na=o((()=>{F(),ja(),br(),Ma=P(function(e){return Aa(yr(e,!0,!0))})}));function Pa(e){for(var t=[],n=arguments.length,r=0,i=J(e);r<i;r++){var a=e[r];if(!ki(t,a)){for(var o=1;o<n&&ki(arguments[o],a);o++);o===n&&t.push(a)}}return t}var Fa=o((()=>{Qe(),Ai()}));function Ia(e){for(var t=e&&Li(e,J).length||0,n=Array(t),r=0;r<t;r++)n[r]=Ni(e,r);return n}var La=o((()=>{Ri(),Qe(),Pi()})),Ra,za=o((()=>{F(),La(),Ra=P(Ia)}));function Ba(e,t){for(var n={},r=0,i=J(e);r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n}var Va=o((()=>{Qe()}));function Ha(e,t,n){t??(t=e||0,e=0),n||=t<e?-1:1;for(var r=Math.max(Math.ceil((t-e)/n),0),i=Array(r),a=0;a<r;a++,e+=n)i[a]=e;return i}var Ua=o((()=>{}));function Wa(e,t){if(t==null||t<1)return[];for(var n=[],r=0,i=e.length;r<i;)n.push(y.call(e,r,r+=t));return n}var Ga=o((()=>{N()}));function Ka(e,t){return e._chain?Z(t).chain():t}var qa=o((()=>{ot()}));function Ja(e){return di(Lt(e),function(t){var n=Z[t]=e[t];Z.prototype[t]=function(){var e=[this._wrapped];return v.apply(e,arguments),Ka(this,n.apply(Z,e))}}),Z}var Ya=o((()=>{ot(),fi(),Rt(),N(),qa()})),Xa,Za=o((()=>{ot(),fi(),N(),qa(),di([`pop`,`push`,`reverse`,`shift`,`sort`,`splice`,`unshift`],function(e){var t=h[e];Z.prototype[e]=function(){var n=this._wrapped;return n!=null&&(t.apply(n,arguments),(e===`shift`||e===`splice`)&&n.length===0&&delete n[0]),Ka(this,n)}}),di([`concat`,`join`,`slice`],function(e){var t=h[e];Z.prototype[e]=function(){var e=this._wrapped;return e!=null&&(e=t.apply(e,arguments)),Ka(this,e)}}),Xa=Z})),Qa=/* @__PURE__ */ c({VERSION:()=>p,after:()=>zr,all:()=>Ti,allKeys:()=>ft,any:()=>Di,assign:()=>Ut,before:()=>Vr,bind:()=>hr,bindAll:()=>xr,chain:()=>lr,chunk:()=>Wa,clone:()=>Qt,collect:()=>pi,compact:()=>Sa,compose:()=>Lr,constant:()=>Re,contains:()=>ki,countBy:()=>na,create:()=>Xt,debounce:()=>jr,default:()=>Xa,defaults:()=>Gt,defer:()=>Dr,delay:()=>Tr,detect:()=>si,difference:()=>Ea,drop:()=>va,each:()=>di,escape:()=>Un,every:()=>Ti,extend:()=>Vt,extendOwn:()=>Ut,filter:()=>xi,find:()=>si,findIndex:()=>Yr,findKey:()=>Gr,findLastIndex:()=>Zr,findWhere:()=>li,first:()=>ga,flatten:()=>wa,foldl:()=>_i,foldr:()=>yi,forEach:()=>di,functions:()=>Lt,get:()=>ln,groupBy:()=>Qi,has:()=>dn,head:()=>ga,identity:()=>pn,include:()=>ki,includes:()=>ki,indexBy:()=>ea,indexOf:()=>ri,initial:()=>ma,inject:()=>_i,intersection:()=>Pa,invert:()=>Ft,invoke:()=>ji,isArguments:()=>Me,isArray:()=>De,isArrayBuffer:()=>me,isBoolean:()=>H,isDataView:()=>Te,isDate:()=>oe,isElement:()=>ee,isEmpty:()=>nt,isEqual:()=>lt,isError:()=>ue,isFinite:()=>Pe,isFunction:()=>K,isMap:()=>Ct,isMatch:()=>it,isNaN:()=>Ie,isNull:()=>R,isNumber:()=>ie,isObject:()=>I,isRegExp:()=>ce,isSet:()=>Dt,isString:()=>ne,isSymbol:()=>fe,isTypedArray:()=>Xe,isUndefined:()=>B,isWeakMap:()=>Tt,isWeakSet:()=>kt,iteratee:()=>Cn,keys:()=>Y,last:()=>ba,lastIndexOf:()=>ai,map:()=>pi,mapObject:()=>Dn,matcher:()=>hn,matches:()=>hn,max:()=>Li,memoize:()=>Cr,methods:()=>Lt,min:()=>zi,mixin:()=>Ja,negate:()=>Fr,noop:()=>kn,now:()=>Ln,object:()=>Ba,omit:()=>fa,once:()=>Ur,pairs:()=>Nt,partial:()=>pr,partition:()=>ia,pick:()=>ua,pluck:()=>Ni,property:()=>_n,propertyOf:()=>jn,random:()=>Fn,range:()=>Ha,reduce:()=>_i,reduceRight:()=>yi,reject:()=>Ci,rest:()=>va,restArguments:()=>P,result:()=>ir,sample:()=>Wi,select:()=>xi,shuffle:()=>Ki,size:()=>oa,some:()=>Di,sortBy:()=>Ji,sortedIndex:()=>$r,tail:()=>va,take:()=>ga,tap:()=>en,template:()=>Qn,templateSettings:()=>Yn,throttle:()=>kr,times:()=>Nn,toArray:()=>Vi,toPath:()=>nn,transpose:()=>Ia,unescape:()=>qn,union:()=>Ma,uniq:()=>Aa,unique:()=>Aa,uniqueId:()=>or,unzip:()=>Ia,values:()=>jt,where:()=>Fi,without:()=>Oa,wrap:()=>Nr,zip:()=>Ra}),$a=o((()=>{N(),F(),L(),z(),V(),U(),te(),re(),ae(),se(),le(),de(),pe(),he(),Ee(),Oe(),q(),Ne(),Fe(),Le(),Ze(),rt(),at(),dt(),wt(),Et(),Ot(),At(),X(),pt(),Mt(),Pt(),It(),Rt(),Ht(),Wt(),Kt(),Zt(),$t(),tn(),un(),fn(),On(),mn(),ze(),An(),rn(),vn(),Mn(),gn(),Pn(),In(),Rn(),Wn(),Jn(),Xn(),rr(),ar(),cr(),ur(),wn(),mr(),gr(),Sr(),wr(),Er(),Or(),Ar(),Mr(),Pr(),Ir(),Rr(),Br(),Hr(),Wr(),Kr(),Xr(),Qr(),ei(),ii(),oi(),ci(),ui(),fi(),mi(),vi(),bi(),Si(),wi(),Ei(),Oi(),Ai(),Mi(),Pi(),Ii(),Ri(),Bi(),qi(),Gi(),Yi(),$i(),ta(),ra(),aa(),Ui(),sa(),da(),pa(),_a(),ha(),xa(),ya(),Ca(),Ta(),ka(),ja(),Na(),Fa(),Da(),La(),za(),Va(),Ua(),Ga(),Ya(),Za()})),eo,to=o((()=>{$a(),eo=Ja(Qa),eo._=eo})),Q=/* @__PURE__ */ c({VERSION:()=>p,after:()=>zr,all:()=>Ti,allKeys:()=>ft,any:()=>Di,assign:()=>Ut,before:()=>Vr,bind:()=>hr,bindAll:()=>xr,chain:()=>lr,chunk:()=>Wa,clone:()=>Qt,collect:()=>pi,compact:()=>Sa,compose:()=>Lr,constant:()=>Re,contains:()=>ki,countBy:()=>na,create:()=>Xt,debounce:()=>jr,default:()=>eo,defaults:()=>Gt,defer:()=>Dr,delay:()=>Tr,detect:()=>si,difference:()=>Ea,drop:()=>va,each:()=>di,escape:()=>Un,every:()=>Ti,extend:()=>Vt,extendOwn:()=>Ut,filter:()=>xi,find:()=>si,findIndex:()=>Yr,findKey:()=>Gr,findLastIndex:()=>Zr,findWhere:()=>li,first:()=>ga,flatten:()=>wa,foldl:()=>_i,foldr:()=>yi,forEach:()=>di,functions:()=>Lt,get:()=>ln,groupBy:()=>Qi,has:()=>dn,head:()=>ga,identity:()=>pn,include:()=>ki,includes:()=>ki,indexBy:()=>ea,indexOf:()=>ri,initial:()=>ma,inject:()=>_i,intersection:()=>Pa,invert:()=>Ft,invoke:()=>ji,isArguments:()=>Me,isArray:()=>De,isArrayBuffer:()=>me,isBoolean:()=>H,isDataView:()=>Te,isDate:()=>oe,isElement:()=>ee,isEmpty:()=>nt,isEqual:()=>lt,isError:()=>ue,isFinite:()=>Pe,isFunction:()=>K,isMap:()=>Ct,isMatch:()=>it,isNaN:()=>Ie,isNull:()=>R,isNumber:()=>ie,isObject:()=>I,isRegExp:()=>ce,isSet:()=>Dt,isString:()=>ne,isSymbol:()=>fe,isTypedArray:()=>Xe,isUndefined:()=>B,isWeakMap:()=>Tt,isWeakSet:()=>kt,iteratee:()=>Cn,keys:()=>Y,last:()=>ba,lastIndexOf:()=>ai,map:()=>pi,mapObject:()=>Dn,matcher:()=>hn,matches:()=>hn,max:()=>Li,memoize:()=>Cr,methods:()=>Lt,min:()=>zi,mixin:()=>Ja,negate:()=>Fr,noop:()=>kn,now:()=>Ln,object:()=>Ba,omit:()=>fa,once:()=>Ur,pairs:()=>Nt,partial:()=>pr,partition:()=>ia,pick:()=>ua,pluck:()=>Ni,property:()=>_n,propertyOf:()=>jn,random:()=>Fn,range:()=>Ha,reduce:()=>_i,reduceRight:()=>yi,reject:()=>Ci,rest:()=>va,restArguments:()=>P,result:()=>ir,sample:()=>Wi,select:()=>xi,shuffle:()=>Ki,size:()=>oa,some:()=>Di,sortBy:()=>Ji,sortedIndex:()=>$r,tail:()=>va,take:()=>ga,tap:()=>en,template:()=>Qn,templateSettings:()=>Yn,throttle:()=>kr,times:()=>Nn,toArray:()=>Vi,toPath:()=>nn,transpose:()=>Ia,unescape:()=>qn,union:()=>Ma,uniq:()=>Aa,unique:()=>Aa,uniqueId:()=>or,unzip:()=>Ia,values:()=>jt,where:()=>Fi,without:()=>Oa,wrap:()=>Nr,zip:()=>Ra}),$=o((()=>{to(),$a()})),no=/* @__PURE__ */ s((e=>{var t=($(),d(Q));e.defer=a,e.Promise=Promise,e.resolve=Promise.resolve.bind(Promise),e.reject=Promise.reject.bind(Promise),e.forEachSeries=function(e,t){var n=0,r=a(),i=function(){if(n<e.length){var a=e[n];n++,t(a).then(i,r.reject)}else r.resolve()};return i(),r.promise};var n=e.props=function(e){var t=Object.keys(e),n=Object.values(e);return i(Promise.all(n).then(function(e){for(var n={},r=0;r<t.length;r++)n[t[r]]=e[r];return n}))},r=function(e){return i(this.then(function(r){return n(t.extend({},r,e(r)))}))};function i(e){return e.also=r,e}e.try=function(e){try{return Promise.resolve(e())}catch(e){return Promise.reject(e)}};function a(){var e,t,n=new Promise(function(n,r){e=n,t=r});return{resolve:e,reject:t,promise:n}}function o(e){var t=new Promise(e);return t.__proto__=o.prototype,t}o.__proto__=Promise,o.prototype.__proto__=Promise.prototype,o.prototype.done=function(e,t){return this.then(e,t).catch(function(e){if(c()){var t=e instanceof Error?e.stack:e;process.stderr.write(`Fatal `+t+`
14
+ `),process.exit(2)}else setTimeout(function(){throw e},0)})};function s(e){return o.resolve(e)}e.toExternalPromise=s;function c(){return typeof process>`u`?!1:{}.toString.call(process).toLowerCase()===`[object process]`}})),ro=/* @__PURE__ */ s((e=>{var t=($(),d(Q)),n=e.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`};function r(e,t){return t||={},{type:n.document,children:e,notes:t.notes||new p({}),comments:t.comments||[]}}function i(e,t){t||={};var r=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}}}function a(e,t){return t||={},{type:n.run,children:e,styleId: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||o.baseline,font:t.font||null,fontSize:t.fontSize||null,highlight:t.highlight||null}}var o={baseline:`baseline`,superscript:`superscript`,subscript:`subscript`};function s(e){return{type:n.text,value:e}}function c(){return{type:n.tab}}function l(e){return{type:n.checkbox,checked:e.checked}}function u(e,t){return{type:n.hyperlink,children:e,href:t.href,anchor:t.anchor,targetFrame:t.targetFrame}}function f(e){return{type:n.noteReference,noteType:e.noteType,noteId:e.noteId}}function p(e){this._notes=t.indexBy(e,function(e){return _(e.noteType,e.noteId)})}p.prototype.resolve=function(e){return this.findNoteByKey(_(e.noteType,e.noteId))},p.prototype.findNoteByKey=function(e){return this._notes[e]||null};function m(e){return{type:n.note,noteType:e.noteType,noteId:e.noteId,body:e.body}}function h(e){return{type:n.commentReference,commentId:e.commentId}}function g(e){return{type:n.comment,commentId:e.commentId,body:e.body,authorName:e.authorName,authorInitials:e.authorInitials}}function _(e,t){return e+`-`+t}function v(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}}function y(e,t){return t||={},{type:n.table,children:e,styleId:t.styleId||null,styleName:t.styleName||null}}function b(e,t){return t||={},{type:n.tableRow,children:e,isHeader:t.isHeader||!1}}function x(e,t){return t||={},{type:n.tableCell,children:e,colSpan:t.colSpan==null?1:t.colSpan,rowSpan:t.rowSpan==null?1:t.rowSpan}}function S(e){return{type:n.break,breakType:e}}function C(e){return{type:n.bookmarkStart,name:e.name}}e.document=e.Document=r,e.paragraph=e.Paragraph=i,e.run=e.Run=a,e.text=e.Text=s,e.tab=e.Tab=c,e.checkbox=e.Checkbox=l,e.Hyperlink=u,e.noteReference=e.NoteReference=f,e.Notes=p,e.Note=m,e.commentReference=h,e.comment=g,e.Image=v,e.Table=y,e.TableRow=b,e.TableCell=x,e.lineBreak=S(`line`),e.pageBreak=S(`page`),e.columnBreak=S(`column`),e.BookmarkStart=C,e.verticalAlignment=o})),io=/* @__PURE__ */ s((e=>{var t=($(),d(Q));e.Result=n,e.success=r,e.warning=i,e.error=a;function n(e,t){this.value=e,this.messages=t||[]}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,o([this,t]))},n.prototype.flatMapThen=function(e){var t=this;return e(this.value).then(function(e){return new n(e.value,o([t,e]))})},n.combine=function(e){return new n(t.flatten(t.pluck(e,`value`)),o(e))};function r(e){return new n(e,[])}function i(e){return{type:`warning`,message:e}}function a(e){return{type:`error`,message:e.message,error:e}}function o(e){var n=[];return t.flatten(t.pluck(e,`messages`),!0).forEach(function(e){s(n,e)||n.push(e)}),n}function s(e,n){return t.find(e,c.bind(null,n))!==void 0}function c(e,t){return e.type===t.type&&e.message===t.message}})),ao=/* @__PURE__ */ s((e=>{e.byteLength=c,e.toByteArray=u,e.fromByteArray=p;for(var t=[],n=[],r=typeof Uint8Array<`u`?Uint8Array:Array,i=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,a=0,o=i.length;a<o;++a)t[a]=i[a],n[i.charCodeAt(a)]=a;n[45]=62,n[95]=63;function s(e){var t=e.length;if(t%4>0)throw Error(`Invalid string. Length must be a multiple of 4`);var n=e.indexOf(`=`);n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function c(e){var t=s(e),n=t[0],r=t[1];return(n+r)*3/4-r}function l(e,t,n){return(t+n)*3/4-n}function u(e){for(var t,i=s(e),a=i[0],o=i[1],c=new r(l(e,a,o)),u=0,d=o>0?a-4:a,f=0;f<d;f+=4)t=n[e.charCodeAt(f)]<<18|n[e.charCodeAt(f+1)]<<12|n[e.charCodeAt(f+2)]<<6|n[e.charCodeAt(f+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=t&255;return o===2&&(t=n[e.charCodeAt(f)]<<2|n[e.charCodeAt(f+1)]>>4,c[u++]=t&255),o===1&&(t=n[e.charCodeAt(f)]<<10|n[e.charCodeAt(f+1)]<<4|n[e.charCodeAt(f+2)]>>2,c[u++]=t>>8&255,c[u++]=t&255),c}function d(e){return t[e>>18&63]+t[e>>12&63]+t[e>>6&63]+t[e&63]}function f(e,t,n){for(var r,i=[],a=t;a<n;a+=3)r=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(e[a+2]&255),i.push(d(r));return i.join(``)}function p(e){for(var n,r=e.length,i=r%3,a=[],o=16383,s=0,c=r-i;s<c;s+=o)a.push(f(e,s,s+o>c?c:s+o));return i===1?(n=e[r-1],a.push(t[n>>2]+t[n<<4&63]+`==`)):i===2&&(n=(e[r-2]<<8)+e[r-1],a.push(t[n>>10]+t[n>>4&63]+t[n<<2&63]+`=`)),a.join(``)}})),oo=/* @__PURE__ */ s(((e,t)=>{
15
+ /*!
16
+
17
+ JSZip v3.10.2 - A JavaScript class for generating and reading zip files
18
+ <http://stuartk.com/jszip>
19
+
20
+ (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
21
+ Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
22
+
23
+ JSZip uses the library pako released under the MIT license :
24
+ https://github.com/nodeca/pako/blob/main/LICENSE
25
+ */
26
+ (function(n){typeof e==`object`&&t!==void 0?t.exports=n():typeof define==`function`&&define.amd?define([],n):(typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:this).JSZip=n()})(function(){return function e(t,n,r){function i(o,s){if(!n[o]){if(!t[o]){var c=typeof f==`function`&&f;if(!s&&c)return c(o,!0);if(a)return a(o,!0);var l=/* @__PURE__ */ Error(`Cannot find module '`+o+`'`);throw l.code=`MODULE_NOT_FOUND`,l}var u=n[o]={exports:{}};t[o][0].call(u.exports,function(e){var n=t[o][1][e];return i(n||e)},u,u.exports,e,t,n,r)}return n[o].exports}for(var a=typeof f==`function`&&f,o=0;o<r.length;o++)i(r[o]);return i}({1:[function(e,t,n){var r=e(`./utils`),i=e(`./support`),a=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`;n.encode=function(e){for(var t,n,i,o,s,c,l,u=[],d=0,f=e.length,p=f,m=r.getTypeOf(e)!==`string`;d<e.length;)p=f-d,i=m?(t=e[d++],n=d<f?e[d++]:0,d<f?e[d++]:0):(t=e.charCodeAt(d++),n=d<f?e.charCodeAt(d++):0,d<f?e.charCodeAt(d++):0),o=t>>2,s=(3&t)<<4|n>>4,c=1<p?(15&n)<<2|i>>6:64,l=2<p?63&i:64,u.push(a.charAt(o)+a.charAt(s)+a.charAt(c)+a.charAt(l));return u.join(``)},n.decode=function(e){var t,n,r,o,s,c,l=0,u=0,d=`data:`;if(e.substr(0,d.length)===d)throw Error(`Invalid base64 input, it looks like a data url.`);var f,p=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,``)).length/4;if(e.charAt(e.length-1)===a.charAt(64)&&p--,e.charAt(e.length-2)===a.charAt(64)&&p--,p%1!=0)throw Error(`Invalid base64 input, bad content length.`);for(f=i.uint8array?new Uint8Array(0|p):Array(0|p);l<e.length;)t=a.indexOf(e.charAt(l++))<<2|(o=a.indexOf(e.charAt(l++)))>>4,n=(15&o)<<4|(s=a.indexOf(e.charAt(l++)))>>2,r=(3&s)<<6|(c=a.indexOf(e.charAt(l++))),f[u++]=t,s!==64&&(f[u++]=n),c!==64&&(f[u++]=r);return f}},{"./support":30,"./utils":32}],2:[function(e,t,n){var r=e(`./external`),i=e(`./stream/DataWorker`),a=e(`./stream/Crc32Probe`),o=e(`./stream/DataLengthProbe`);function s(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o(`data_length`)),t=this;return e.on(`end`,function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error(`Bug : uncompressed data size mismatch`)}),e},getCompressedWorker:function(){return new i(r.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,n){return e.pipe(new a).pipe(new o(`uncompressedSize`)).pipe(t.compressWorker(n)).pipe(new o(`compressedSize`)).withStreamInfo(`compression`,t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){var r=e(`./stream/GenericWorker`);n.STORE={magic:`\0\0`,compressWorker:function(){return new r(`STORE compression`)},uncompressWorker:function(){return new r(`STORE decompression`)}},n.DEFLATE=e(`./flate`)},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){var r=e(`./utils`),i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return e!==void 0&&e.length?r.getTypeOf(e)===`string`?function(e,t,n,r){var a=i,o=r+n;e^=-1;for(var s=r;s<o;s++)e=e>>>8^a[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length,0):function(e,t,n,r){var a=i,o=r+n;e^=-1;for(var s=r;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){var r=null;r=typeof Promise<`u`?Promise:e(`lie`),t.exports={Promise:r}},{lie:37}],7:[function(e,t,n){var r=typeof Uint8Array<`u`&&typeof Uint16Array<`u`&&typeof Uint32Array<`u`,i=e(`pako`),a=e(`./utils`),o=e(`./stream/GenericWorker`),s=r?`uint8array`:`array`;function c(e,t){o.call(this,`FlateWorker/`+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic=`\b\0`,a.inherits(c,o),c.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(a.transformTo(s,e.data),!1)},c.prototype.flush=function(){o.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},c.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})}},n.compressWorker=function(e){return new c(`Deflate`,e)},n.uncompressWorker=function(){return new c(`Inflate`,{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){function r(e,t){var n,r=``;for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r}function i(e,t,n,i,o,u){var d,f,p=e.file,m=e.compression,h=u!==s.utf8encode,g=a.transformTo(`string`,u(p.name)),_=a.transformTo(`string`,s.utf8encode(p.name)),v=p.comment,y=a.transformTo(`string`,u(v)),b=a.transformTo(`string`,s.utf8encode(v)),x=_.length!==p.name.length,S=b.length!==v.length,C=``,w=``,T=``,E=p.dir,D=p.date,O={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(O.crc32=e.crc32,O.compressedSize=e.compressedSize,O.uncompressedSize=e.uncompressedSize);var k=0;t&&(k|=8),h||!x&&!S||(k|=2048);var A=0,j=0;E&&(A|=16),o===`UNIX`?(j=798,A|=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16}(p.unixPermissions,E)):(j=20,A|=function(e){return 63&(e||0)}(p.dosPermissions)),d=D.getUTCHours(),d<<=6,d|=D.getUTCMinutes(),d<<=5,d|=D.getUTCSeconds()/2,f=D.getUTCFullYear()-1980,f<<=4,f|=D.getUTCMonth()+1,f<<=5,f|=D.getUTCDate(),x&&(w=r(1,1)+r(c(g),4)+_,C+=`up`+r(w.length,2)+w),S&&(T=r(1,1)+r(c(y),4)+b,C+=`uc`+r(T.length,2)+T);var M=``;return M+=`
27
+ \0`,M+=r(k,2),M+=m.magic,M+=r(d,2),M+=r(f,2),M+=r(O.crc32,4),M+=r(O.compressedSize,4),M+=r(O.uncompressedSize,4),M+=r(g.length,2),M+=r(C.length,2),{fileRecord:l.LOCAL_FILE_HEADER+M+g+C,dirRecord:l.CENTRAL_FILE_HEADER+r(j,2)+M+r(y.length,2)+`\0\0\0\0`+r(A,4)+r(i,4)+g+C+y}}var a=e(`../utils`),o=e(`../stream/GenericWorker`),s=e(`../utf8`),c=e(`../crc32`),l=e(`../signature`);function u(e,t,n,r){o.call(this,`ZipFileWorker`),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(u,o),u.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,o.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return l.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.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 n=this.bytesWritten-e,i=function(e,t,n,i,o){var s=a.transformTo(`string`,o(i));return l.CENTRAL_DIRECTORY_END+`\0\0\0\0`+r(e,2)+r(e,2)+r(t,4)+r(n,4)+r(s.length,2)+s}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.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},u.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(e){var t=this._sources;if(!o.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch{}return!0},u.prototype.lock=function(){o.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){var r=e(`../compressions`),i=e(`./ZipFileWorker`);n.generateWorker=function(e,t,n){var a=new i(t.streamFiles,n,t.platform,t.encodeFileName),o=0;try{e.forEach(function(e,n){o++;var i=function(e,t){var n=e||t,i=r[n];if(!i)throw Error(n+` is not a valid compression method !`);return i}(n.options.compression,t.compression),s=n.options.compressionOptions||t.compressionOptions||{},c=n.dir,l=n.date;n._compressWorker(i,s).withStreamInfo(`file`,{name:e,dir:c,date:l,comment:n.comment||``,unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(a)}),a.entriesCount=o}catch(e){a.error(e)}return a}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){function r(){if(!(this instanceof r))return new r;if(arguments.length)throw 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 r;for(var t in this)typeof this[t]!=`function`&&(e[t]=this[t]);return e}}(r.prototype=e(`./object`)).loadAsync=e(`./load`),r.support=e(`./support`),r.defaults=e(`./defaults`),r.version=`3.10.2`,r.loadAsync=function(e,t){return new r().loadAsync(e,t)},r.external=e(`./external`),t.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,n){var r=e(`./utils`),i=e(`./external`),a=e(`./utf8`),o=e(`./zipEntries`),s=e(`./stream/Crc32Probe`),c=e(`./nodejsUtils`);function l(e){return new i.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new s);r.on(`error`,function(e){n(e)}).on(`end`,function(){r.streamInfo.crc32===e.decompressed.crc32?t():n(/* @__PURE__ */ Error(`Corrupted zip : CRC32 mismatch`))}).resume()})}t.exports=function(e,t){var n=this;return t=r.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),c.isNode&&c.isStream(e)?i.Promise.reject(/* @__PURE__ */ Error(`JSZip can't accept a stream when loading a zip file.`)):r.prepareContent(`the loaded zip file`,e,!0,t.optimizedBinaryString,t.base64).then(function(e){var n=new o(t);return n.load(e),n}).then(function(e){var n=[i.Promise.resolve(e)],r=e.files;if(t.checkCRC32)for(var a=0;a<r.length;a++)n.push(l(r[a]));return i.Promise.all(n)}).then(function(e){for(var i=e.shift(),a=i.files,o=0;o<a.length;o++){var s=a[o],c=s.fileNameStr,l=r.resolve(s.fileNameStr);n.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||(n.file(l).unsafeOriginalName=c)}return i.zipComment.length&&(n.comment=i.zipComment),n})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,n){var r=e(`../utils`),i=e(`../stream/GenericWorker`);function a(e,t){i.call(this,`Nodejs stream input adapter for `+e),this._upstreamEnded=!1,this._bindStream(t)}r.inherits(a,i),a.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()})},a.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=a},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,n){var r=e(`readable-stream`).Readable;function i(e,t,n){r.call(this,t),this._helper=e;var i=this;e.on(`data`,function(e,t){i.push(e)||i._helper.pause(),n&&n(t)}).on(`error`,function(e){i.emit(`error`,e)}).on(`end`,function(){i.push(null)})}e(`../utils`).inherits(i,r),i.prototype._read=function(){this._helper.resume()},t.exports=i},{"../utils":32,"readable-stream":16}],14:[function(e,t,n){t.exports={isNode:typeof Buffer<`u`,newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if(typeof e==`number`)throw 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&&typeof e.on==`function`&&typeof e.pause==`function`&&typeof e.resume==`function`}}},{}],15:[function(e,t,n){function r(e,t,n){var r,i=a.getTypeOf(t),s=a.extend(n||{},c);s.date=s.date||/* @__PURE__ */ new Date,s.compression!==null&&(s.compression=s.compression.toUpperCase()),typeof s.unixPermissions==`string`&&(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=h(e)),s.createFolders&&(r=m(e))&&g.call(this,r,!0);var d=i===`string`&&!1===s.binary&&!1===s.base64;n&&n.binary!==void 0||(s.binary=!d),(t instanceof l&&t.uncompressedSize===0||s.dir||!t||t.length===0)&&(s.base64=!1,s.binary=!0,t=``,s.compression=`STORE`,i=`string`);var _=null;_=t instanceof l||t instanceof o?t:f.isNode&&f.isStream(t)?new p(e,t):a.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var v=new u(e,_,s);this.files[e]=v}var i=e(`./utf8`),a=e(`./utils`),o=e(`./stream/GenericWorker`),s=e(`./stream/StreamHelper`),c=e(`./defaults`),l=e(`./compressedObject`),u=e(`./zipObject`),d=e(`./generate`),f=e(`./nodejsUtils`),p=e(`./nodejs/NodejsStreamInputAdapter`),m=function(e){e.slice(-1)===`/`&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf(`/`);return 0<t?e.substring(0,t):``},h=function(e){return e.slice(-1)!==`/`&&(e+=`/`),e},g=function(e,t){return t=t===void 0?c.createFolders:t,e=h(e),this.files[e]||r.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function _(e){return Object.prototype.toString.call(e)===`[object RegExp]`}t.exports={load:function(){throw Error(`This method has been removed in JSZip 3.0, please check the upgrade guide.`)},forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach(function(n,r){e(n,r)&&t.push(r)}),t},file:function(e,t,n){if(arguments.length!==1)return e=this.root+e,r.call(this,e,t,n),this;if(_(e)){var i=e;return this.filter(function(e,t){return!t.dir&&i.test(e)})}var a=this.files[this.root+e];return a&&!a.dir?a:null},folder:function(e){if(!e)return this;if(_(e))return this.filter(function(t,n){return n.dir&&e.test(t)});var t=this.root+e,n=g.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||=(e.slice(-1)!==`/`&&(e+=`/`),this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(t,n){return n.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw Error(`This method has been removed in JSZip 3.0, please check the upgrade guide.`)},generateInternalStream:function(e){var t,n={};try{if((n=a.extend(e||{},{streamFiles:!1,compression:`STORE`,compressionOptions:null,type:``,platform:`DOS`,comment:null,mimeType:`application/zip`,encodeFileName:i.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),n.type===`binarystring`&&(n.type=`string`),!n.type)throw Error(`No output type specified.`);a.checkSupport(n.type),n.platform!==`darwin`&&n.platform!==`freebsd`&&n.platform!==`linux`&&n.platform!==`sunos`||(n.platform=`UNIX`),n.platform===`win32`&&(n.platform=`DOS`);var r=n.comment||this.comment||``;t=d.generateWorker(this,n,r)}catch(e){(t=new o(`error`)).error(e)}return new s(t,n.type||`string`,n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(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,n){t.exports=e(`stream`)},{stream:void 0}],17:[function(e,t,n){var r=e(`./DataReader`);function i(e){r.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e(`../utils`).inherits(i,r),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;0<=a;--a)if(this.data[a]===t&&this.data[a+1]===n&&this.data[a+2]===r&&this.data[a+3]===i)return a-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&n===a[1]&&r===a[2]&&i===a[3]},i.prototype.readData=function(e){if(this.checkOffset(e),e===0)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,n){var r=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 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,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo(`string`,this.readData(e))},readData:function(){},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,n){var r=e(`./Uint8ArrayReader`);function i(e){r.call(this,e)}e(`../utils`).inherits(i,r),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,n){var r=e(`./DataReader`);function i(e){r.call(this,e)}e(`../utils`).inherits(i,r),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,n){var r=e(`./ArrayReader`);function i(e){r.call(this,e)}e(`../utils`).inherits(i,r),i.prototype.readData=function(e){if(this.checkOffset(e),e===0)return/* @__PURE__ */ new Uint8Array;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,n){var r=e(`../utils`),i=e(`../support`),a=e(`./ArrayReader`),o=e(`./StringReader`),s=e(`./NodeBufferReader`),c=e(`./Uint8ArrayReader`);t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),t!==`string`||i.uint8array?t===`nodebuffer`?new s(e):i.uint8array?new c(r.transformTo(`uint8array`,e)):new a(r.transformTo(`array`,e)):new o(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){n.LOCAL_FILE_HEADER=`PK`,n.CENTRAL_FILE_HEADER=`PK`,n.CENTRAL_DIRECTORY_END=`PK`,n.ZIP64_CENTRAL_DIRECTORY_LOCATOR=`PK\x07`,n.ZIP64_CENTRAL_DIRECTORY_END=`PK`,n.DATA_DESCRIPTOR=`PK\x07\b`},{}],24:[function(e,t,n){var r=e(`./GenericWorker`),i=e(`../utils`);function a(e){r.call(this,`ConvertWorker to `+e),this.destType=e}i.inherits(a,r),a.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){var r=e(`./GenericWorker`),i=e(`../crc32`);function a(){r.call(this,`Crc32Probe`),this.withStreamInfo(`crc32`,0)}e(`../utils`).inherits(a,r),a.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){var r=e(`../utils`),i=e(`./GenericWorker`);function a(e){i.call(this,`DataLengthProbe for `+e),this.propName=e,this.withStreamInfo(e,0)}r.inherits(a,i),a.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=a},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){var r=e(`../utils`),i=e(`./GenericWorker`);function a(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=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}r.inherits(a,i),a.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.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=a},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){function r(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}r.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 n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw 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 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=r},{}],29:[function(e,t,n){var r=e(`../utils`),i=e(`./ConvertWorker`),a=e(`./GenericWorker`),o=e(`../base64`),s=e(`../support`),c=e(`../external`),l=null;if(s.nodestream)try{l=e(`../nodejs/NodejsStreamOutputAdapter`)}catch{}function u(e,t){return new c.Promise(function(n,i){var a=[],s=e._internalType,c=e._outputType,l=e._mimeType;e.on(`data`,function(e,n){a.push(e),t&&t(n)}).on(`error`,function(e){a=[],i(e)}).on(`end`,function(){try{n(function(e,t,n){switch(e){case`blob`:return r.newBlob(r.transformTo(`arraybuffer`,t),n);case`base64`:return o.encode(t);default:return r.transformTo(e,t)}}(c,function(e,t){var n,r=0,i=null,a=0;for(n=0;n<t.length;n++)a+=t[n].length;switch(e){case`string`:return t.join(``);case`array`:return Array.prototype.concat.apply([],t);case`uint8array`:for(i=new Uint8Array(a),n=0;n<t.length;n++)i.set(t[n],r),r+=t[n].length;return i;case`nodebuffer`:return Buffer.concat(t);default:throw Error(`concat : unsupported type '`+e+`'`)}}(s,a),l))}catch(e){i(e)}a=[]}).resume()})}function d(e,t,n){var o=t;switch(t){case`blob`:case`arraybuffer`:o=`uint8array`;break;case`base64`:o=`string`}try{this._internalType=o,this._outputType=t,this._mimeType=n,r.checkSupport(o),this._worker=e.pipe(new i(o)),e.lock()}catch(e){this._worker=new a(`error`),this._worker.error(e)}}d.prototype={accumulate:function(e){return u(this,e)},on:function(e,t){var n=this;return e===`data`?this._worker.on(e,function(e){t.call(n,e.data,e.meta)}):this._worker.on(e,function(){r.delay(t,arguments,n)}),this},resume:function(){return r.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(r.checkSupport(`nodestream`),this._outputType!==`nodebuffer`)throw Error(this._outputType+` is not supported by this method`);return new l(this,{objectMode:this._outputType!==`nodebuffer`},e)}},t.exports=d},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,n){if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer=typeof ArrayBuffer<`u`&&typeof Uint8Array<`u`,n.nodebuffer=typeof Buffer<`u`,n.uint8array=typeof Uint8Array<`u`,typeof ArrayBuffer>`u`)n.blob=!1;else{var r=/* @__PURE__ */ new ArrayBuffer(0);try{n.blob=new Blob([r],{type:`application/zip`}).size===0}catch{try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(r),n.blob=i.getBlob(`application/zip`).size===0}catch{n.blob=!1}}}try{n.nodestream=!!e(`readable-stream`).Readable}catch{n.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,n){for(var r=e(`./utils`),i=e(`./support`),a=e(`./nodejsUtils`),o=e(`./stream/GenericWorker`),s=Array(256),c=0;c<256;c++)s[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;s[254]=s[254]=1;function l(){o.call(this,`utf-8 decode`),this.leftOver=null}function u(){o.call(this,`utf-8 encode`)}n.utf8encode=function(e){return i.nodebuffer?a.newBufferFrom(e,`utf-8`):function(e){var t,n,r,a,o,s=e.length,c=0;for(a=0;a<s;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(r=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(r-56320),a++),c+=n<128?1:n<2048?2:n<65536?3:4;for(t=i.uint8array?new Uint8Array(c):Array(c),a=o=0;o<c;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(r=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(r-56320),a++),n<128?t[o++]=n:(n<2048?t[o++]=192|n>>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t}(e)},n.utf8decode=function(e){return i.nodebuffer?r.transformTo(`nodebuffer`,e).toString(`utf-8`):function(e){var t,n,i,a,o=e.length,c=Array(2*o);for(t=n=0;t<o;)if((i=e[t++])<128)c[n++]=i;else if(4<(a=s[i]))c[n++]=65533,t+=a-1;else{for(i&=a===2?31:a===3?15:7;1<a&&t<o;)i=i<<6|63&e[t++],a--;1<a?c[n++]=65533:i<65536?c[n++]=i:(i-=65536,c[n++]=55296|i>>10&1023,c[n++]=56320|1023&i)}return c.length!==n&&(c.subarray?c=c.subarray(0,n):c.length=n),r.applyFromCharCode(c)}(e=r.transformTo(i.uint8array?`uint8array`:`array`,e))},r.inherits(l,o),l.prototype.processChunk=function(e){var t=r.transformTo(i.uint8array?`uint8array`:`array`,e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var a=t;(t=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),t.set(a,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var o=function(e,t){var n;for((t||=e.length)>e.length&&(t=e.length),n=t-1;0<=n&&(192&e[n])==128;)n--;return n<0||n===0?t:n+s[e[n]]>t?n:t}(t),c=t;o!==t.length&&(i.uint8array?(c=t.subarray(0,o),this.leftOver=t.subarray(o,t.length)):(c=t.slice(0,o),this.leftOver=t.slice(o,t.length))),this.push({data:n.utf8decode(c),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=l,r.inherits(u,o),u.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){var r=e(`./support`),i=e(`./base64`),a=e(`./nodejsUtils`),o=e(`./external`);function s(e){return e}function c(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}e(`setimmediate`),n.newBlob=function(e,t){n.checkSupport(`blob`);try{return new Blob([e],{type:t})}catch{try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return r.append(e),r.getBlob(t)}catch{throw Error(`Bug : can't construct the Blob.`)}}};var l={stringifyByChunk:function(e,t,n){var r=[],i=0,a=e.length;if(a<=n)return String.fromCharCode.apply(null,e);for(;i<a;)t===`array`||t===`nodebuffer`?r.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,a)))):r.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+n,a)))),i+=n;return r.join(``)},stringifyByChar:function(e){for(var t=``,n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&String.fromCharCode.apply(null,/* @__PURE__ */ new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&String.fromCharCode.apply(null,a.allocBuffer(1)).length===1}catch{return!1}}()}};function u(e){var t=65536,r=n.getTypeOf(e),i=!0;if(r===`uint8array`?i=l.applyCanBeUsed.uint8array:r===`nodebuffer`&&(i=l.applyCanBeUsed.nodebuffer),i)for(;1<t;)try{return l.stringifyByChunk(e,r,t)}catch{t=Math.floor(t/2)}return l.stringifyByChar(e)}function d(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.applyFromCharCode=u;var f={};f.string={string:s,array:function(e){return c(e,Array(e.length))},arraybuffer:function(e){return f.string.uint8array(e).buffer},uint8array:function(e){return c(e,new Uint8Array(e.length))},nodebuffer:function(e){return c(e,a.allocBuffer(e.length))}},f.array={string:u,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(e)}},f.arraybuffer={string:function(e){return u(new Uint8Array(e))},array:function(e){return d(new Uint8Array(e),Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(new Uint8Array(e))}},f.uint8array={string:u,array:function(e){return d(e,Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return a.newBufferFrom(e)}},f.nodebuffer={string:u,array:function(e){return d(e,Array(e.length))},arraybuffer:function(e){return f.nodebuffer.uint8array(e).buffer},uint8array:function(e){return d(e,new Uint8Array(e.length))},nodebuffer:s},n.transformTo=function(e,t){return t||=``,e?(n.checkSupport(e),f[n.getTypeOf(t)][e](t)):t},n.resolve=function(e){for(var t=e.split(`/`),n=[],r=0;r<t.length;r++){var i=t[r];i===`.`||i===``&&r!==0&&r!==t.length-1||(i===`..`?n.pop():n.push(i))}return n.join(`/`)},n.getTypeOf=function(e){if(typeof e==`string`)return`string`;var t=Object.prototype.toString.call(e);return t===`[object Array]`?`array`:r.nodebuffer&&a.isBuffer(e)?`nodebuffer`:r.uint8array&&t===`[object Uint8Array]`?`uint8array`:r.arraybuffer&&t===`[object ArrayBuffer]`?`arraybuffer`:void 0},n.checkSupport=function(e){if(!r[e.toLowerCase()])throw Error(e+` is not supported by this platform`)},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r=``;for(n=0;n<(e||``).length;n++)r+=`\\x`+((t=e.charCodeAt(n))<16?`0`:``)+t.toString(16).toUpperCase();return r},n.delay=function(e,t,n){setImmediate(function(){e.apply(n||null,t||[])})},n.inherits=function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&n[t]===void 0&&(n[t]=arguments[e][t]);return n},n.prepareContent=function(e,t,a,s,l){return o.Promise.resolve(t).then(function(t){return r.blob&&(t instanceof Blob||[`[object File]`,`[object Blob]`].indexOf(Object.prototype.toString.call(t))!==-1)?Blob.prototype.arrayBuffer===void 0?typeof FileReader<`u`?new o.Promise(function(e,n){var r=new FileReader;r.onload=function(t){e(t.target.result)},r.onerror=function(e){n(e.target.error)},r.readAsArrayBuffer(t)}):o.Promise.reject(/* @__PURE__ */ Error(e+` is a Blob, but we have no way of reading it.`)):t.arrayBuffer():t}).then(function(t){var u=n.getTypeOf(t);return u?(u===`arraybuffer`?t=n.transformTo(`uint8array`,t):u===`string`&&(l?t=i.decode(t):a&&!0!==s&&(t=function(e){return c(e,r.uint8array?new Uint8Array(e.length):Array(e.length))}(t))),t):o.Promise.reject(/* @__PURE__ */ 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,n){var r=e(`./reader/readerFor`),i=e(`./utils`),a=e(`./signature`),o=e(`./zipEntry`),s=e(`./support`);function c(e){this.files=[],this.loadOptions=e}c.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw Error(`Corrupted zip or bug: unexpected signature (`+i.pretty(t)+`, expected `+i.pretty(e)+`)`)}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},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`,n=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},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,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw Error(`Multi-volumes zip are not supported`)},readLocalFiles:function(){for(var e=0,t;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(e=new o({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw Error(`Corrupted zip or bug: expected `+this.centralDirRecords+` records in central dir, got `+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,a.LOCAL_FILE_HEADER)?/* @__PURE__ */ Error(`Corrupted zip: can't find end of central directory`):/* @__PURE__ */ 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(a.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(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw Error(`Corrupted zip: can't find the ZIP64 end of central directory locator`);if(this.reader.setIndex(e),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw Error(`Corrupted zip: can't find the ZIP64 end of central directory`);this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(0<r)this.isSignature(t,a.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw Error(`Corrupted zip: missing `+Math.abs(r)+` bytes.`)},prepareReader:function(e){this.reader=r(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=c},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,n){var r=e(`./reader/readerFor`),i=e(`./utils`),a=e(`./compressedObject`),o=e(`./crc32`),s=e(`./utf8`),c=e(`./compressions`),l=e(`./support`);function u(e,t){this.options=e,this.loadOptions=t}u.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),this.compressedSize===-1||this.uncompressedSize===-1)throw Error(`Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)`);if((t=function(e){for(var t in c)if(Object.prototype.hasOwnProperty.call(c,t)&&c[t].magic===e)return c[t];return null}(this.compressionMethod))===null)throw Error(`Corrupted zip : compression `+i.pretty(this.compressionMethod)+` unknown (inner file : `+i.transformTo(`string`,this.fileName)+`)`);this.decompressed=new a(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 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),e==0&&(this.dosPermissions=63&this.externalFileAttributes),e==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!==`/`||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=r(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,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||={};e.index+4<i;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r};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(t!==null)this.fileNameStr=t;else{var n=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(r!==null)this.fileCommentStr=r;else{var a=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=r(e.value);return t.readInt(1)===1&&o(this.fileName)===t.readInt(4)?s.utf8decode(t.readData(e.length-5)):null}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=r(e.value);return t.readInt(1)===1&&o(this.fileComment)===t.readInt(4)?s.utf8decode(t.readData(e.length-5)):null}return null}},t.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,n){function r(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var i=e(`./stream/StreamHelper`),a=e(`./stream/DataWorker`),o=e(`./utf8`),s=e(`./compressedObject`),c=e(`./stream/GenericWorker`);r.prototype={internalStream:function(e){var t=null,n=`string`;try{if(!e)throw Error(`No output type specified.`);var r=(n=e.toLowerCase())===`string`||n===`text`;n!==`binarystring`&&n!==`text`||(n=`string`),t=this._decompressWorker();var a=!this._dataBinary;a&&!r&&(t=t.pipe(new o.Utf8EncodeWorker)),!a&&r&&(t=t.pipe(new o.Utf8DecodeWorker))}catch(e){(t=new c(`error`)).error(e)}return new i(t,n,``)},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 n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new o.Utf8EncodeWorker)),s.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof c?this._data:new a(this._data)}};for(var l=[`asText`,`asBinary`,`asNodeBuffer`,`asUint8Array`,`asArrayBuffer`],u=function(){throw Error(`This method has been removed in JSZip 3.0, please check the upgrade guide.`)},d=0;d<l.length;d++)r.prototype[l[d]]=u;t.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,n){(function(e){var n,r,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var a=0,o=new i(u),s=e.document.createTextNode(``);o.observe(s,{characterData:!0}),n=function(){s.data=a=++a%2}}else if(e.setImmediate||e.MessageChannel===void 0)n=`document`in e&&`onreadystatechange`in e.document.createElement(`script`)?function(){var t=e.document.createElement(`script`);t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var c=new e.MessageChannel;c.port1.onmessage=u,n=function(){c.port2.postMessage(0)}}var l=[];function u(){var e,t;r=!0;for(var n=l.length;n;){for(t=l,l=[],e=-1;++e<n;)t[e]();n=l.length}r=!1}t.exports=function(e){l.push(e)!==1||r||n()}}).call(this,typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{})},{}],37:[function(e,t,n){var r=e(`immediate`);function i(){}var a={},o=[`REJECTED`],s=[`FULFILLED`],c=[`PENDING`];function l(e){if(typeof e!=`function`)throw TypeError(`resolver must be a function`);this.state=c,this.queue=[],this.outcome=void 0,e!==i&&p(this,e)}function u(e,t,n){this.promise=e,typeof t==`function`&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),typeof n==`function`&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){r(function(){var r;try{r=t(n)}catch(t){return a.reject(e,t)}r===e?a.reject(e,/* @__PURE__ */ TypeError(`Cannot resolve promise with itself`)):a.resolve(e,r)})}function f(e){var t=e&&e.then;if(e&&(typeof e==`object`||typeof e==`function`)&&typeof t==`function`)return function(){t.apply(e,arguments)}}function p(e,t){var n=!1;function r(t){n||(n=!0,a.reject(e,t))}function i(t){n||(n=!0,a.resolve(e,t))}var o=m(function(){t(i,r)});o.status===`error`&&r(o.value)}function m(e,t){var n={};try{n.value=e(t),n.status=`success`}catch(e){n.status=`error`,n.value=e}return n}(t.exports=l).prototype.finally=function(e){if(typeof e!=`function`)return this;var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})},l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,t){if(typeof e!=`function`&&this.state===s||typeof t!=`function`&&this.state===o)return this;var n=new this.constructor(i);return this.state===c?this.queue.push(new u(n,e,t)):d(n,this.state===s?e:t,this.outcome),n},u.prototype.callFulfilled=function(e){a.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){a.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},a.resolve=function(e,t){var n=m(f,t);if(n.status===`error`)return a.reject(e,n.value);var r=n.value;if(r)p(e,r);else{e.state=s,e.outcome=t;for(var i=-1,o=e.queue.length;++i<o;)e.queue[i].callFulfilled(t)}return e},a.reject=function(e,t){e.state=o,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},l.resolve=function(e){return e instanceof this?e:a.resolve(new this(i),e)},l.reject=function(e){var t=new this(i);return a.reject(t,e)},l.all=function(e){var t=this;if(Object.prototype.toString.call(e)!==`[object Array]`)return this.reject(/* @__PURE__ */ TypeError(`must be an array`));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var o=Array(n),s=0,c=-1,l=new this(i);++c<n;)u(e[c],c);return l;function u(e,i){t.resolve(e).then(function(e){o[i]=e,++s!==n||r||(r=!0,a.resolve(l,o))},function(e){r||(r=!0,a.reject(l,e))})}},l.race=function(e){var t=this;if(Object.prototype.toString.call(e)!==`[object Array]`)return this.reject(/* @__PURE__ */ TypeError(`must be an array`));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var o=-1,s=new this(i);++o<n;)c=e[o],t.resolve(c).then(function(e){r||(r=!0,a.resolve(s,e))},function(e){r||(r=!0,a.reject(s,e))});var c;return s}},{immediate:36}],38:[function(e,t,n){var r={};(0,e(`./lib/utils/common`).assign)(r,e(`./lib/deflate`),e(`./lib/inflate`),e(`./lib/zlib/constants`)),t.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,n){var r=e(`./zlib/deflate`),i=e(`./utils/common`),a=e(`./utils/strings`),o=e(`./zlib/messages`),s=e(`./zlib/zstream`),c=Object.prototype.toString,l=0,u=-1,d=0,f=8;function p(e){if(!(this instanceof p))return new p(e);this.options=i.assign({level:u,method:f,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,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 n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==l)throw Error(o[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var m=typeof t.dictionary==`string`?a.string2buf(t.dictionary):c.call(t.dictionary)===`[object ArrayBuffer]`?new Uint8Array(t.dictionary):t.dictionary;if((n=r.deflateSetDictionary(this.strm,m))!==l)throw Error(o[n]);this._dict_set=!0}}function m(e,t){var n=new p(t);if(n.push(e,!0),n.err)throw n.msg||o[n.err];return n.result}p.prototype.push=function(e,t){var n,o,s=this.strm,u=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?4:0,s.input=typeof e==`string`?a.string2buf(e):c.call(e)===`[object ArrayBuffer]`?new Uint8Array(e):e,s.next_in=0,s.avail_in=s.input.length;do{if(s.avail_out===0&&(s.output=new i.Buf8(u),s.next_out=0,s.avail_out=u),(n=r.deflate(s,o))!==1&&n!==l)return this.onEnd(n),!(this.ended=!0);s.avail_out!==0&&(s.avail_in!==0||o!==4&&o!==2)||(this.options.to===`string`?this.onData(a.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||s.avail_out===0)&&n!==1);return o===4?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===l):o!==2||(this.onEnd(l),!(s.avail_out=0))},p.prototype.onData=function(e){this.chunks.push(e)},p.prototype.onEnd=function(e){e===l&&(this.result=this.options.to===`string`?this.chunks.join(``):i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=p,n.deflate=m,n.deflateRaw=function(e,t){return(t||={}).raw=!0,m(e,t)},n.gzip=function(e,t){return(t||={}).gzip=!0,m(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,n){var r=e(`./zlib/inflate`),i=e(`./utils/common`),a=e(`./utils/strings`),o=e(`./zlib/constants`),s=e(`./zlib/messages`),c=e(`./zlib/zstream`),l=e(`./zlib/gzheader`),u=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(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,t.windowBits===0&&(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 c,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==o.Z_OK)throw Error(s[n]);this.header=new l,r.inflateGetHeader(this.strm,this.header)}function f(e,t){var n=new d(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}d.prototype.push=function(e,t){var n,s,c,l,d,f,p=this.strm,m=this.options.chunkSize,h=this.options.dictionary,g=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,p.input=typeof e==`string`?a.binstring2buf(e):u.call(e)===`[object ArrayBuffer]`?new Uint8Array(e):e,p.next_in=0,p.avail_in=p.input.length;do{if(p.avail_out===0&&(p.output=new i.Buf8(m),p.next_out=0,p.avail_out=m),(n=r.inflate(p,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&h&&(f=typeof h==`string`?a.string2buf(h):u.call(h)===`[object ArrayBuffer]`?new Uint8Array(h):h,n=r.inflateSetDictionary(this.strm,f)),n===o.Z_BUF_ERROR&&!0===g&&(n=o.Z_OK,g=!1),n!==o.Z_STREAM_END&&n!==o.Z_OK)return this.onEnd(n),!(this.ended=!0);p.next_out&&(p.avail_out!==0&&n!==o.Z_STREAM_END&&(p.avail_in!==0||s!==o.Z_FINISH&&s!==o.Z_SYNC_FLUSH)||(this.options.to===`string`?(c=a.utf8border(p.output,p.next_out),l=p.next_out-c,d=a.buf2string(p.output,c),p.next_out=l,p.avail_out=m-l,l&&i.arraySet(p.output,p.output,c,l,0),this.onData(d)):this.onData(i.shrinkBuf(p.output,p.next_out)))),p.avail_in===0&&p.avail_out===0&&(g=!0)}while((0<p.avail_in||p.avail_out===0)&&n!==o.Z_STREAM_END);return n===o.Z_STREAM_END&&(s=o.Z_FINISH),s===o.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===o.Z_OK):s!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),!(p.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===o.Z_OK&&(this.result=this.options.to===`string`?this.chunks.join(``):i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=d,n.inflate=f,n.inflateRaw=function(e,t){return(t||={}).raw=!0,f(e,t)},n.ungzip=f},{"./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,n){var r=typeof Uint8Array<`u`&&typeof Uint16Array<`u`&&typeof Int32Array<`u`;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if(typeof n!=`object`)throw TypeError(n+`must be non-object`);for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){for(var t=r=0,n=e.length,r,i,a,o;t<n;t++)r+=e[t].length;for(o=new Uint8Array(r),t=i=0,n=e.length;t<n;t++)a=e[t],o.set(a,i),i+=a.length;return o}},a={arraySet:function(e,t,n,r,i){for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,a))},n.setTyped(r)},{}],42:[function(e,t,n){var r=e(`./common`),i=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch{i=!1}try{String.fromCharCode.apply(null,/* @__PURE__ */ new Uint8Array(1))}catch{a=!1}for(var o=new r.Buf8(256),s=0;s<256;s++)o[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function c(e,t){if(t<65537&&(e.subarray&&a||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n=``,o=0;o<t;o++)n+=String.fromCharCode(e[o]);return n}o[254]=o[254]=1,n.string2buf=function(e){var t,n,i,a,o,s=e.length,c=0;for(a=0;a<s;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(i=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(i-56320),a++),c+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(c),a=o=0;o<c;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(i=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(i-56320),a++),n<128?t[o++]=n:(n<2048?t[o++]=192|n>>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t},n.buf2binstring=function(e){return c(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,i,a,s=t||e.length,l=Array(2*s);for(n=r=0;n<s;)if((i=e[n++])<128)l[r++]=i;else if(4<(a=o[i]))l[r++]=65533,n+=a-1;else{for(i&=a===2?31:a===3?15:7;1<a&&n<s;)i=i<<6|63&e[n++],a--;1<a?l[r++]=65533:i<65536?l[r++]=i:(i-=65536,l[r++]=55296|i>>10&1023,l[r++]=56320|1023&i)}return c(l,r)},n.utf8border=function(e,t){var n;for((t||=e.length)>e.length&&(t=e.length),n=t-1;0<=n&&(192&e[n])==128;)n--;return n<0||n===0?t:n+o[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){t.exports=function(e,t,n,r){for(var i=65535&e,a=e>>>16&65535,o=0;n!==0;){for(n-=o=2e3<n?2e3:n;a=a+(i=i+t[r++]|0)|0,--o;);i%=65521,a%=65521}return i|a<<16}},{}],44:[function(e,t,n){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,n){var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var a=r,o=i+n;e^=-1;for(var s=i;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,n){var r,i=e(`../utils/common`),a=e(`./trees`),o=e(`./adler32`),s=e(`./crc32`),c=e(`./messages`),l=0,u=4,d=0,f=-2,p=-1,m=4,h=2,g=8,_=9,v=286,y=30,b=19,x=2*v+1,S=15,C=3,w=258,T=w+C+1,E=42,D=113,O=1,k=2,A=3,j=4;function M(e,t){return e.msg=c[t],t}function N(e){return(e<<1)-(4<e?9:0)}function P(e){for(var t=e.length;0<=--t;)e[t]=0}function F(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function I(e,t){a._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,F(e.strm)}function L(e,t){e.pending_buf[e.pending++]=t}function R(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function z(e,t){var n,r,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-T?e.strstart-(e.w_size-T):0,l=e.window,u=e.w_mask,d=e.prev,f=e.strstart+w,p=l[a+o-1],m=l[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do if(l[(n=t)+o]===m&&l[n+o-1]===p&&l[n]===l[a]&&l[++n]===l[a+1]){a+=2,n++;do;while(l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&a<f);if(r=w-(f-a),a=f-w,o<r){if(e.match_start=t,s<=(o=r))break;p=l[a+o-1],m=l[a+o]}}while((t=d[t&u])>c&&--i!=0);return o<=e.lookahead?o:e.lookahead}function B(e){var t,n,r,a,c,l,u,d,f,p,m=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-T)){for(i.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=n=e.hash_size;r=e.head[--t],e.head[t]=m<=r?r-m:0,--n;);for(t=n=m;r=e.prev[--t],e.prev[t]=m<=r?r-m:0,--n;);a+=m}if(e.strm.avail_in===0)break;if(l=e.strm,u=e.window,d=e.strstart+e.lookahead,f=a,p=void 0,p=l.avail_in,f<p&&(p=f),n=p===0?0:(l.avail_in-=p,i.arraySet(u,l.input,l.next_in,p,d),l.state.wrap===1?l.adler=o(l.adler,u,p,d):l.state.wrap===2&&(l.adler=s(l.adler,u,p,d)),l.next_in+=p,l.total_in+=p,p),e.lookahead+=n,e.lookahead+e.insert>=C)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+C-1])&e.hash_mask,e.prev[c&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=c,c++,e.insert--,!(e.lookahead+e.insert<C)););}while(e.lookahead<T&&e.strm.avail_in!==0)}function V(e,t){for(var n,r;;){if(e.lookahead<T){if(B(e),e.lookahead<T&&t===l)return O;if(e.lookahead===0)break}if(n=0,e.lookahead>=C&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-T&&(e.match_length=z(e,n)),e.match_length>=C){if(r=a._tr_tally(e,e.strstart-e.match_start,e.match_length-C),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=C){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,--e.match_length!=0;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask}else r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=e.strstart<C-1?e.strstart:C-1,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}function H(e,t){for(var n,r,i;;){if(e.lookahead<T){if(B(e),e.lookahead<T&&t===l)return O;if(e.lookahead===0)break}if(n=0,e.lookahead>=C&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=C-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-T&&(e.match_length=z(e,n),e.match_length<=5&&(e.strategy===1||e.match_length===C&&4096<e.strstart-e.match_start)&&(e.match_length=C-1)),e.prev_length>=C&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-C,r=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-C),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+C-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),--e.prev_length!=0;);if(e.match_available=0,e.match_length=C-1,e.strstart++,r&&(I(e,!1),e.strm.avail_out===0))return O}else if(e.match_available){if((r=a._tr_tally(e,0,e.window[e.strstart-1]))&&I(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return O}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&=(r=a._tr_tally(e,0,e.window[e.strstart-1]),0),e.insert=e.strstart<C-1?e.strstart:C-1,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}function U(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function ee(){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=g,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(2*x),this.dyn_dtree=new i.Buf16(2*(2*y+1)),this.bl_tree=new i.Buf16(2*(2*b+1)),P(this.dyn_ltree),P(this.dyn_dtree),P(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(S+1),this.heap=new i.Buf16(2*v+1),P(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*v+1),P(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 te(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=h,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?E:D,e.adler=t.wrap===2?0:1,t.last_flush=l,a._tr_init(t),d):M(e,f)}function W(e){var t=te(e);return t===d&&function(e){e.window_size=2*e.w_size,P(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=C-1,e.match_available=0,e.ins_h=0}(e.state),t}function G(e,t,n,r,a,o){if(!e)return f;var s=1;if(t===p&&(t=6),r<0?(s=0,r=-r):15<r&&(s=2,r-=16),a<1||_<a||n!==g||r<8||15<r||t<0||9<t||o<0||m<o)return M(e,f);r===8&&(r=9);var c=new ee;return(e.state=c).strm=e,c.wrap=s,c.gzhead=null,c.w_bits=r,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=a+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+C-1)/C),c.window=new i.Buf8(2*c.w_size),c.head=new i.Buf16(c.hash_size),c.prev=new i.Buf16(c.w_size),c.lit_bufsize=1<<a+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new i.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=t,c.strategy=o,c.method=n,W(e)}r=[new U(0,0,0,0,function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(B(e),e.lookahead===0&&t===l)return O;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((e.strstart===0||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,I(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-T&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=0,t===u?(I(e,!0),e.strm.avail_out===0?A:j):(e.strstart>e.block_start&&(I(e,!1),e.strm.avail_out),O)}),new U(4,4,8,4,V),new U(4,5,16,8,V),new U(4,6,32,32,V),new U(4,4,16,16,H),new U(8,16,32,32,H),new U(8,16,128,128,H),new U(8,32,128,256,H),new U(32,128,258,1024,H),new U(32,258,258,4096,H)],n.deflateInit=function(e,t){return G(e,t,g,15,8,0)},n.deflateInit2=G,n.deflateReset=W,n.deflateResetKeep=te,n.deflateSetHeader=function(e,t){return e&&e.state&&e.state.wrap===2?(e.state.gzhead=t,d):f},n.deflate=function(e,t){var n,i,o,c;if(!e||!e.state||5<t||t<0)return e?M(e,f):f;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===666&&t!==u)return M(e,e.avail_out===0?-5:f);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===E){if(i.wrap===2)e.adler=0,L(i,31),L(i,139),L(i,8),i.gzhead?(L(i,+!!i.gzhead.text+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),L(i,255&i.gzhead.time),L(i,i.gzhead.time>>8&255),L(i,i.gzhead.time>>16&255),L(i,i.gzhead.time>>24&255),L(i,i.level===9?2:2<=i.strategy||i.level<2?4:0),L(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(L(i,255&i.gzhead.extra.length),L(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):(L(i,0),L(i,0),L(i,0),L(i,0),L(i,0),L(i,i.level===9?2:2<=i.strategy||i.level<2?4:0),L(i,3),i.status=D);else{var p=g+(i.w_bits-8<<4)<<8;p|=(2<=i.strategy||i.level<2?0:i.level<6?1:i.level===6?2:3)<<6,i.strstart!==0&&(p|=32),p+=31-p%31,i.status=D,R(i,p),i.strstart!==0&&(R(i,e.adler>>>16),R(i,65535&e.adler)),e.adler=1}}if(i.status===69){if(i.gzhead.extra){for(o=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),F(e),o=i.pending,i.pending!==i.pending_buf_size));)L(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73}if(i.status===73){if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),F(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,L(i,c)}while(c!==0);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),c===0&&(i.gzindex=0,i.status=91)}else i.status=91}if(i.status===91){if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),F(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,L(i,c)}while(c!==0);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),c===0&&(i.status=103)}else i.status=103}if(i.status===103&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&F(e),i.pending+2<=i.pending_buf_size&&(L(i,255&e.adler),L(i,e.adler>>8&255),e.adler=0,i.status=D)):i.status=D),i.pending!==0){if(F(e),e.avail_out===0)return i.last_flush=-1,d}else if(e.avail_in===0&&N(t)<=N(n)&&t!==u)return M(e,-5);if(i.status===666&&e.avail_in!==0)return M(e,-5);if(e.avail_in!==0||i.lookahead!==0||t!==l&&i.status!==666){var m=i.strategy===2?function(e,t){for(var n;;){if(e.lookahead===0&&(B(e),e.lookahead===0)){if(t===l)return O;break}if(e.match_length=0,n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=0,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}(i,t):i.strategy===3?function(e,t){for(var n,r,i,o,s=e.window;;){if(e.lookahead<=w){if(B(e),e.lookahead<=w&&t===l)return O;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=C&&0<e.strstart&&(r=s[i=e.strstart-1])===s[++i]&&r===s[++i]&&r===s[++i]){o=e.strstart+w;do;while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<o);e.match_length=w-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=C?(n=a._tr_tally(e,1,e.match_length-C),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=0,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}(i,t):r[i.level].func(i,t);if(m!==A&&m!==j||(i.status=666),m===O||m===A)return e.avail_out===0&&(i.last_flush=-1),d;if(m===k&&(t===1?a._tr_align(i):t!==5&&(a._tr_stored_block(i,0,0,!1),t===3&&(P(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),F(e),e.avail_out===0))return i.last_flush=-1,d}return t===u?i.wrap<=0?1:(i.wrap===2?(L(i,255&e.adler),L(i,e.adler>>8&255),L(i,e.adler>>16&255),L(i,e.adler>>24&255),L(i,255&e.total_in),L(i,e.total_in>>8&255),L(i,e.total_in>>16&255),L(i,e.total_in>>24&255)):(R(i,e.adler>>>16),R(i,65535&e.adler)),F(e),0<i.wrap&&(i.wrap=-i.wrap),i.pending===0?1:d):d},n.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==E&&t!==69&&t!==73&&t!==91&&t!==103&&t!==D&&t!==666?M(e,f):(e.state=null,t===D?M(e,-3):d):f},n.deflateSetDictionary=function(e,t){var n,r,a,s,c,l,u,p,m=t.length;if(!e||!e.state||(s=(n=e.state).wrap)===2||s===1&&n.status!==E||n.lookahead)return f;for(s===1&&(e.adler=o(e.adler,t,m,0)),n.wrap=0,m>=n.w_size&&(s===0&&(P(n.head),n.strstart=0,n.block_start=0,n.insert=0),p=new i.Buf8(n.w_size),i.arraySet(p,t,m-n.w_size,n.w_size,0),t=p,m=n.w_size),c=e.avail_in,l=e.next_in,u=e.input,e.avail_in=m,e.next_in=0,e.input=t,B(n);n.lookahead>=C;){for(r=n.strstart,a=n.lookahead-(C-1);n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+C-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--a;);n.strstart=r,n.lookahead=C-1,B(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=C-1,n.match_available=0,e.next_in=l,e.input=u,e.avail_in=c,n.wrap=s,d},n.deflateInfo=`pako deflate (from Nodeca project)`},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,n){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,n){t.exports=function(e,t){var n=e.state,r=e.next_in,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T=e.input,E;i=r+(e.avail_in-5),a=e.next_out,E=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),c=n.dmax,l=n.wsize,u=n.whave,d=n.wnext,f=n.window,p=n.hold,m=n.bits,h=n.lencode,g=n.distcode,_=(1<<n.lenbits)-1,v=(1<<n.distbits)-1;e:do{m<15&&(p+=T[r++]<<m,m+=8,p+=T[r++]<<m,m+=8),y=h[p&_];t:for(;;){if(p>>>=b=y>>>24,m-=b,(b=y>>>16&255)==0)E[a++]=65535&y;else{if(!(16&b)){if(!(64&b)){y=h[(65535&y)+(p&(1<<b)-1)];continue t}if(32&b){n.mode=12;break e}e.msg=`invalid literal/length code`,n.mode=30;break e}x=65535&y,(b&=15)&&(m<b&&(p+=T[r++]<<m,m+=8),x+=p&(1<<b)-1,p>>>=b,m-=b),m<15&&(p+=T[r++]<<m,m+=8,p+=T[r++]<<m,m+=8),y=g[p&v];r:for(;;){if(p>>>=b=y>>>24,m-=b,!(16&(b=y>>>16&255))){if(!(64&b)){y=g[(65535&y)+(p&(1<<b)-1)];continue r}e.msg=`invalid distance code`,n.mode=30;break e}if(S=65535&y,m<(b&=15)&&(p+=T[r++]<<m,(m+=8)<b&&(p+=T[r++]<<m,m+=8)),c<(S+=p&(1<<b)-1)){e.msg=`invalid distance too far back`,n.mode=30;break e}if(p>>>=b,m-=b,(b=a-o)<S){if(u<(b=S-b)&&n.sane){e.msg=`invalid distance too far back`,n.mode=30;break e}if(w=f,(C=0)===d){if(C+=l-b,b<x){for(x-=b;E[a++]=f[C++],--b;);C=a-S,w=E}}else if(d<b){if(C+=l+d-b,(b-=d)<x){for(x-=b;E[a++]=f[C++],--b;);if(C=0,d<x){for(x-=b=d;E[a++]=f[C++],--b;);C=a-S,w=E}}}else if(C+=d-b,b<x){for(x-=b;E[a++]=f[C++],--b;);C=a-S,w=E}for(;2<x;)E[a++]=w[C++],E[a++]=w[C++],E[a++]=w[C++],x-=3;x&&(E[a++]=w[C++],1<x&&(E[a++]=w[C++]))}else{for(C=a-S;E[a++]=E[C++],E[a++]=E[C++],E[a++]=E[C++],2<(x-=3););x&&(E[a++]=E[C++],1<x&&(E[a++]=E[C++]))}break}}break}}while(r<i&&a<s);r-=x=m>>3,p&=(1<<(m-=x<<3))-1,e.next_in=r,e.next_out=a,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=a<s?s-a+257:257-(a-s),n.hold=p,n.bits=m}},{}],49:[function(e,t,n){var r=e(`../utils/common`),i=e(`./adler32`),a=e(`./crc32`),o=e(`./inffast`),s=e(`./inftrees`),c=1,l=2,u=0,d=-2,f=1,p=852,m=592;function h(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function _(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=f,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(p),t.distcode=t.distdyn=new r.Buf32(m),t.sane=1,t.back=-1,u):d}function v(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,_(e)):d}function y(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?d:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,v(e))):d}function b(e,t){var n,r;return e?(r=new g,(e.state=r).window=null,(n=y(e,t))!==u&&(e.state=null),n):d}var x,S,C=!0;function w(e){if(C){var t;for(x=new r.Buf32(512),S=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(c,e.lens,0,288,x,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(l,e.lens,0,32,S,0,e.work,{bits:5}),C=!1}e.lencode=x,e.lenbits=9,e.distcode=S,e.distbits=5}function T(e,t,n,i){var a,o=e.state;return o.window===null&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new r.Buf8(o.wsize)),i>=o.wsize?(r.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(i<(a=o.wsize-o.wnext)&&(a=i),r.arraySet(o.window,t,n-i,a,o.wnext),(i-=a)?(r.arraySet(o.window,t,n-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=a))),0}n.inflateReset=v,n.inflateReset2=y,n.inflateResetKeep=_,n.inflateInit=function(e){return b(e,15)},n.inflateInit2=b,n.inflate=function(e,t){var n,p,m,g,_,v,y,b,x,S,C,E,D,O,k,A,j,M,N,P,F,I,L,R,z=0,B=new r.Buf8(4),V=[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&&e.avail_in!==0)return d;(n=e.state).mode===12&&(n.mode=13),_=e.next_out,m=e.output,y=e.avail_out,g=e.next_in,p=e.input,v=e.avail_in,b=n.hold,x=n.bits,S=v,C=y,I=u;e:for(;;)switch(n.mode){case f:if(n.wrap===0){n.mode=13;break}for(;x<16;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(2&n.wrap&&b===35615){B[n.check=0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0),x=b=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&b)<<8)+(b>>8))%31){e.msg=`incorrect header check`,n.mode=30;break}if((15&b)!=8){e.msg=`unknown compression method`,n.mode=30;break}if(x-=4,F=8+(15&(b>>>=4)),n.wbits===0)n.wbits=F;else if(F>n.wbits){e.msg=`invalid window size`,n.mode=30;break}n.dmax=1<<F,e.adler=n.check=1,n.mode=512&b?10:12,x=b=0;break;case 2:for(;x<16;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(n.flags=b,(255&n.flags)!=8){e.msg=`unknown compression method`,n.mode=30;break}if(57344&n.flags){e.msg=`unknown header flags set`,n.mode=30;break}n.head&&(n.head.text=b>>8&1),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),x=b=0,n.mode=3;case 3:for(;x<32;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}n.head&&(n.head.time=b),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,B[2]=b>>>16&255,B[3]=b>>>24&255,n.check=a(n.check,B,4,0)),x=b=0,n.mode=4;case 4:for(;x<16;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}n.head&&(n.head.xflags=255&b,n.head.os=b>>8),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),x=b=0,n.mode=5;case 5:if(1024&n.flags){for(;x<16;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}n.length=b,n.head&&(n.head.extra_len=b),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),x=b=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(v<(E=n.length)&&(E=v),E&&(n.head&&(F=n.head.extra_len-n.length,n.head.extra||(n.head.extra=Array(n.head.extra_len)),r.arraySet(n.head.extra,p,g,E,F)),512&n.flags&&(n.check=a(n.check,p,E,g)),v-=E,g+=E,n.length-=E),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(v===0)break e;for(E=0;F=p[g+E++],n.head&&F&&n.length<65536&&(n.head.name+=String.fromCharCode(F)),F&&E<v;);if(512&n.flags&&(n.check=a(n.check,p,E,g)),v-=E,g+=E,F)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(v===0)break e;for(E=0;F=p[g+E++],n.head&&F&&n.length<65536&&(n.head.comment+=String.fromCharCode(F)),F&&E<v;);if(512&n.flags&&(n.check=a(n.check,p,E,g)),v-=E,g+=E,F)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;x<16;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(b!==(65535&n.check)){e.msg=`header crc mismatch`,n.mode=30;break}x=b=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;x<32;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}e.adler=n.check=h(b),x=b=0,n.mode=11;case 11:if(n.havedict===0)return e.next_out=_,e.avail_out=y,e.next_in=g,e.avail_in=v,n.hold=b,n.bits=x,2;e.adler=n.check=1,n.mode=12;case 12:if(t===5||t===6)break e;case 13:if(n.last){b>>>=7&x,x-=7&x,n.mode=27;break}for(;x<3;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}switch(n.last=1&b,--x,3&(b>>>=1)){case 0:n.mode=14;break;case 1:if(w(n),n.mode=20,t!==6)break;b>>>=2,x-=2;break e;case 2:n.mode=17;break;case 3:e.msg=`invalid block type`,n.mode=30}b>>>=2,x-=2;break;case 14:for(b>>>=7&x,x-=7&x;x<32;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if((65535&b)!=(b>>>16^65535)){e.msg=`invalid stored block lengths`,n.mode=30;break}if(n.length=65535&b,x=b=0,n.mode=15,t===6)break e;case 15:n.mode=16;case 16:if(E=n.length){if(v<E&&(E=v),y<E&&(E=y),E===0)break e;r.arraySet(m,p,g,E,_),v-=E,g+=E,y-=E,_+=E,n.length-=E;break}n.mode=12;break;case 17:for(;x<14;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(n.nlen=257+(31&b),b>>>=5,x-=5,n.ndist=1+(31&b),b>>>=5,x-=5,n.ncode=4+(15&b),b>>>=4,x-=4,286<n.nlen||30<n.ndist){e.msg=`too many length or distance symbols`,n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;x<3;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}n.lens[V[n.have++]]=7&b,b>>>=3,x-=3}for(;n.have<19;)n.lens[V[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,L={bits:n.lenbits},I=s(0,n.lens,0,19,n.lencode,0,n.work,L),n.lenbits=L.bits,I){e.msg=`invalid code lengths set`,n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;A=(z=n.lencode[b&(1<<n.lenbits)-1])>>>16&255,j=65535&z,!((k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(j<16)b>>>=k,x-=k,n.lens[n.have++]=j;else{if(j===16){for(R=k+2;x<R;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(b>>>=k,x-=k,n.have===0){e.msg=`invalid bit length repeat`,n.mode=30;break}F=n.lens[n.have-1],E=3+(3&b),b>>>=2,x-=2}else if(j===17){for(R=k+3;x<R;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}x-=k,F=0,E=3+(7&(b>>>=k)),b>>>=3,x-=3}else{for(R=k+7;x<R;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}x-=k,F=0,E=11+(127&(b>>>=k)),b>>>=7,x-=7}if(n.have+E>n.nlen+n.ndist){e.msg=`invalid bit length repeat`,n.mode=30;break}for(;E--;)n.lens[n.have++]=F}}if(n.mode===30)break;if(n.lens[256]===0){e.msg=`invalid code -- missing end-of-block`,n.mode=30;break}if(n.lenbits=9,L={bits:n.lenbits},I=s(c,n.lens,0,n.nlen,n.lencode,0,n.work,L),n.lenbits=L.bits,I){e.msg=`invalid literal/lengths set`,n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,L={bits:n.distbits},I=s(l,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,L),n.distbits=L.bits,I){e.msg=`invalid distances set`,n.mode=30;break}if(n.mode=20,t===6)break e;case 20:n.mode=21;case 21:if(6<=v&&258<=y){e.next_out=_,e.avail_out=y,e.next_in=g,e.avail_in=v,n.hold=b,n.bits=x,o(e,C),_=e.next_out,m=e.output,y=e.avail_out,g=e.next_in,p=e.input,v=e.avail_in,b=n.hold,x=n.bits,n.mode===12&&(n.back=-1);break}for(n.back=0;A=(z=n.lencode[b&(1<<n.lenbits)-1])>>>16&255,j=65535&z,!((k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(A&&!(240&A)){for(M=k,N=A,P=j;A=(z=n.lencode[P+((b&(1<<M+N)-1)>>M)])>>>16&255,j=65535&z,!(M+(k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}b>>>=M,x-=M,n.back+=M}if(b>>>=k,x-=k,n.back+=k,n.length=j,A===0){n.mode=26;break}if(32&A){n.back=-1,n.mode=12;break}if(64&A){e.msg=`invalid literal/length code`,n.mode=30;break}n.extra=15&A,n.mode=22;case 22:if(n.extra){for(R=n.extra;x<R;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}n.length+=b&(1<<n.extra)-1,b>>>=n.extra,x-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;A=(z=n.distcode[b&(1<<n.distbits)-1])>>>16&255,j=65535&z,!((k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(!(240&A)){for(M=k,N=A,P=j;A=(z=n.distcode[P+((b&(1<<M+N)-1)>>M)])>>>16&255,j=65535&z,!(M+(k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}b>>>=M,x-=M,n.back+=M}if(b>>>=k,x-=k,n.back+=k,64&A){e.msg=`invalid distance code`,n.mode=30;break}n.offset=j,n.extra=15&A,n.mode=24;case 24:if(n.extra){for(R=n.extra;x<R;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}n.offset+=b&(1<<n.extra)-1,b>>>=n.extra,x-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg=`invalid distance too far back`,n.mode=30;break}n.mode=25;case 25:if(y===0)break e;if(E=C-y,n.offset>E){if((E=n.offset-E)>n.whave&&n.sane){e.msg=`invalid distance too far back`,n.mode=30;break}D=E>n.wnext?(E-=n.wnext,n.wsize-E):n.wnext-E,E>n.length&&(E=n.length),O=n.window}else O=m,D=_-n.offset,E=n.length;for(y<E&&(E=y),y-=E,n.length-=E;m[_++]=O[D++],--E;);n.length===0&&(n.mode=21);break;case 26:if(y===0)break e;m[_++]=n.length,y--,n.mode=21;break;case 27:if(n.wrap){for(;x<32;){if(v===0)break e;v--,b|=p[g++]<<x,x+=8}if(C-=y,e.total_out+=C,n.total+=C,C&&(e.adler=n.check=n.flags?a(n.check,m,C,_-C):i(n.check,m,C,_-C)),C=y,(n.flags?b:h(b))!==n.check){e.msg=`incorrect data check`,n.mode=30;break}x=b=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;x<32;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(b!==(0|n.total)){e.msg=`incorrect length check`,n.mode=30;break}x=b=0}n.mode=29;case 29:I=1;break e;case 30:I=-3;break e;case 31:return-4;default:return d}return e.next_out=_,e.avail_out=y,e.next_in=g,e.avail_in=v,n.hold=b,n.bits=x,(n.wsize||C!==e.avail_out&&n.mode<30&&(n.mode<27||t!==4))&&T(e,e.output,e.next_out,C-e.avail_out)?(n.mode=31,-4):(S-=e.avail_in,C-=e.avail_out,e.total_in+=S,e.total_out+=C,n.total+=C,n.wrap&&C&&(e.adler=n.check=n.flags?a(n.check,m,C,e.next_out-C):i(n.check,m,C,e.next_out-C)),e.data_type=n.bits+(n.last?64:0)+(n.mode===12?128:0)+(n.mode===20||n.mode===15?256:0),(S==0&&C===0||t===4)&&I===u&&(I=-5),I)},n.inflateEnd=function(e){if(!e||!e.state)return d;var t=e.state;return t.window&&=null,e.state=null,u},n.inflateGetHeader=function(e,t){var n;return e&&e.state&&2&(n=e.state).wrap?((n.head=t).done=!1,u):d},n.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?(n=e.state).wrap!==0&&n.mode!==11?d:n.mode===11&&i(1,t,r,0)!==n.check?-3:T(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,u):d},n.inflateInfo=`pako inflate (from Nodeca project)`},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,n){var r=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],a=[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],o=[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,n,c,l,u,d,f){var p,m,h,g,_,v,y,b,x,S=f.bits,C=0,w=0,T=0,E=0,D=0,O=0,k=0,A=0,j=0,M=0,N=null,P=0,F=new r.Buf16(16),I=new r.Buf16(16),L=null,R=0;for(C=0;C<=15;C++)F[C]=0;for(w=0;w<c;w++)F[t[n+w]]++;for(D=S,E=15;1<=E&&F[E]===0;E--);if(E<D&&(D=E),E===0)return l[u++]=20971520,l[u++]=20971520,f.bits=1,0;for(T=1;T<E&&F[T]===0;T++);for(D<T&&(D=T),C=A=1;C<=15;C++)if(A<<=1,(A-=F[C])<0)return-1;if(0<A&&(e===0||E!==1))return-1;for(I[1]=0,C=1;C<15;C++)I[C+1]=I[C]+F[C];for(w=0;w<c;w++)t[n+w]!==0&&(d[I[t[n+w]]++]=w);if(v=e===0?(N=L=d,19):e===1?(N=i,P-=257,L=a,R-=257,256):(N=o,L=s,-1),C=T,_=u,k=w=M=0,h=-1,g=(j=1<<(O=D))-1,e===1&&852<j||e===2&&592<j)return 1;for(;;){for(y=C-k,x=d[w]<v?(b=0,d[w]):d[w]>v?(b=L[R+d[w]],N[P+d[w]]):(b=96,0),p=1<<C-k,T=m=1<<O;l[_+(M>>k)+(m-=p)]=y<<24|b<<16|x,m!==0;);for(p=1<<C-1;M&p;)p>>=1;if(p===0?M=0:(M&=p-1,M+=p),w++,--F[C]==0){if(C===E)break;C=t[n+d[w]]}if(D<C&&(M&g)!==h){for(k===0&&(k=D),_+=T,A=1<<(O=C-k);O+k<E&&!((A-=F[O+k])<=0);)O++,A<<=1;if(j+=1<<O,e===1&&852<j||e===2&&592<j)return 1;l[h=M&g]=D<<24|O<<16|_-u}}return M!==0&&(l[_+M]=C-k<<24|4194304),f.bits=D,0}},{"../utils/common":41}],51:[function(e,t,n){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,n){var r=e(`../utils/common`),i=0,a=1;function o(e){for(var t=e.length;0<=--t;)e[t]=0}var s=0,c=29,l=256,u=l+1+c,d=30,f=19,p=2*u+1,m=15,h=16,g=7,_=256,v=16,y=17,b=18,x=[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],S=[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],C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],w=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],T=Array(2*(u+2));o(T);var E=Array(2*d);o(E);var D=Array(512);o(D);var O=Array(256);o(O);var k=Array(c);o(k);var A,j,M,N=Array(d);function P(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function F(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function I(e){return e<256?D[e]:D[256+(e>>>7)]}function L(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function R(e,t,n){e.bi_valid>h-n?(e.bi_buf|=t<<e.bi_valid&65535,L(e,e.bi_buf),e.bi_buf=t>>h-e.bi_valid,e.bi_valid+=n-h):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function z(e,t,n){R(e,n[2*t],n[2*t+1])}function B(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}function V(e,t,n){var r,i,a=Array(m+1),o=0;for(r=1;r<=m;r++)a[r]=o=o+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];s!==0&&(e[2*i]=B(a[s]++,s))}}function H(e){for(var t=0;t<u;t++)e.dyn_ltree[2*t]=0;for(t=0;t<d;t++)e.dyn_dtree[2*t]=0;for(t=0;t<f;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*_]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function U(e){8<e.bi_valid?L(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 ee(e,t,n,r){var i=2*t,a=2*n;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]}function te(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&ee(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!ee(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function W(e,t,n){var r,i,a,o,s=0;if(e.last_lit!==0)for(;r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,r===0?z(e,i,t):(z(e,(a=O[i])+l+1,t),(o=x[a])!==0&&R(e,i-=k[a],o),z(e,a=I(--r),n),(o=S[a])!==0&&R(e,r-=N[a],o)),s<e.last_lit;);z(e,_,t)}function G(e,t){var n,r,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,c=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=p,n=0;n<c;n++)a[2*n]===0?a[2*n+1]=0:(e.heap[++e.heap_len]=l=n,e.depth[n]=0);for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=l,n=e.heap_len>>1;1<=n;n--)te(e,a,n);for(i=c;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],te(e,a,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,a[2*i]=a[2*n]+a[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,a[2*n+1]=a[2*r+1]=i,e.heap[1]=i++,te(e,a,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,a,o,s,c=t.dyn_tree,l=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,g=t.stat_desc.max_length,_=0;for(a=0;a<=m;a++)e.bl_count[a]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<p;n++)g<(a=c[2*c[2*(r=e.heap[n])+1]+1]+1)&&(a=g,_++),c[2*r+1]=a,l<r||(e.bl_count[a]++,o=0,h<=r&&(o=f[r-h]),s=c[2*r],e.opt_len+=s*(a+o),d&&(e.static_len+=s*(u[2*r+1]+o)));if(_!==0){do{for(a=g-1;e.bl_count[a]===0;)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[g]--,_-=2}while(0<_);for(a=g;a!==0;a--)for(r=e.bl_count[a];r!==0;)l<(i=e.heap[--n])||(c[2*i+1]!==a&&(e.opt_len+=(a-c[2*i+1])*c[2*i],c[2*i+1]=a),r--)}}(e,t),V(a,l,e.bl_count)}function ne(e,t,n){var r,i,a=-1,o=t[1],s=0,c=7,l=4;for(o===0&&(c=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=o,o=t[2*(r+1)+1],++s<c&&i===o||(s<l?e.bl_tree[2*i]+=s:i===0?s<=10?e.bl_tree[2*y]++:e.bl_tree[2*b]++:(i!==a&&e.bl_tree[2*i]++,e.bl_tree[2*v]++),a=i,l=(s=0)===o?(c=138,3):i===o?(c=6,3):(c=7,4))}function re(e,t,n){var r,i,a=-1,o=t[1],s=0,c=7,l=4;for(o===0&&(c=138,l=3),r=0;r<=n;r++)if(i=o,o=t[2*(r+1)+1],!(++s<c&&i===o)){if(s<l)for(;z(e,i,e.bl_tree),--s!=0;);else i===0?s<=10?(z(e,y,e.bl_tree),R(e,s-3,3)):(z(e,b,e.bl_tree),R(e,s-11,7)):(i!==a&&(z(e,i,e.bl_tree),s--),z(e,v,e.bl_tree),R(e,s-3,2));a=i,l=(s=0)===o?(c=138,3):i===o?(c=6,3):(c=7,4)}}o(N);var ie=!1;function ae(e,t,n,i){R(e,(s<<1)+ +!!i,3),function(e,t,n,i){U(e),L(e,n),L(e,~n),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}n._tr_init=function(e){ie||=(function(){var e,t,n,r,i,a=Array(m+1);for(r=n=0;r<c-1;r++)for(k[r]=n,e=0;e<1<<x[r];e++)O[n++]=r;for(O[n-1]=r,r=i=0;r<16;r++)for(N[r]=i,e=0;e<1<<S[r];e++)D[i++]=r;for(i>>=7;r<d;r++)for(N[r]=i<<7,e=0;e<1<<S[r]-7;e++)D[256+i++]=r;for(t=0;t<=m;t++)a[t]=0;for(e=0;e<=143;)T[2*e+1]=8,e++,a[8]++;for(;e<=255;)T[2*e+1]=9,e++,a[9]++;for(;e<=279;)T[2*e+1]=7,e++,a[7]++;for(;e<=287;)T[2*e+1]=8,e++,a[8]++;for(V(T,u+1,a),e=0;e<d;e++)E[2*e+1]=5,E[2*e]=B(e,5);A=new P(T,x,l+1,u,m),j=new P(E,S,0,d,m),M=new P([],C,0,f,g)}(),!0),e.l_desc=new F(e.dyn_ltree,A),e.d_desc=new F(e.dyn_dtree,j),e.bl_desc=new F(e.bl_tree,M),e.bi_buf=0,e.bi_valid=0,H(e)},n._tr_stored_block=ae,n._tr_flush_block=function(e,t,n,r){var o,s,c=0;0<e.level?(e.strm.data_type===2&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&e.dyn_ltree[2*t]!==0)return i;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return a;for(t=32;t<l;t++)if(e.dyn_ltree[2*t]!==0)return a;return i}(e)),G(e,e.l_desc),G(e,e.d_desc),c=function(e){var t;for(ne(e,e.dyn_ltree,e.l_desc.max_code),ne(e,e.dyn_dtree,e.d_desc.max_code),G(e,e.bl_desc),t=f-1;3<=t&&e.bl_tree[2*w[t]+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),o=e.opt_len+3+7>>>3,(s=e.static_len+3+7>>>3)<=o&&(o=s)):o=s=n+5,n+4<=o&&t!==-1?ae(e,t,n,r):e.strategy===4||s===o?(R(e,2+ +!!r,3),W(e,T,E)):(R(e,4+ +!!r,3),function(e,t,n,r){var i;for(R(e,t-257,5),R(e,n-1,5),R(e,r-4,4),i=0;i<r;i++)R(e,e.bl_tree[2*w[i]+1],3);re(e,e.dyn_ltree,t-1),re(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,c+1),W(e,e.dyn_ltree,e.dyn_dtree)),H(e),r&&U(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,t===0?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(O[n]+l+1)]++,e.dyn_dtree[2*I(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){R(e,2,3),z(e,_,T),function(e){e.bi_valid===16?(L(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,n){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,n){(function(e){(function(e,t){if(!e.setImmediate){var n,r,i,a,o=1,s={},c=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,n={}.toString.call(e.process)===`[object process]`?function(e){process.nextTick(function(){f(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage(``,`*`),e.onmessage=n,t}}()?(a=`setImmediate$`+Math.random()+`$`,e.addEventListener?e.addEventListener(`message`,p,!1):e.attachEvent(`onmessage`,p),function(t){e.postMessage(a+t,`*`)}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){f(e.data)},function(e){i.port2.postMessage(e)}):l&&`onreadystatechange`in l.createElement(`script`)?(r=l.documentElement,function(e){var t=l.createElement(`script`);t.onreadystatechange=function(){f(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):function(e){setTimeout(f,0,e)},u.setImmediate=function(e){typeof e!=`function`&&(e=Function(``+e));for(var t=Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];return s[o]={callback:e,args:t},n(o),o++},u.clearImmediate=d}function d(e){delete s[e]}function f(e){if(c)setTimeout(f,0,e);else{var n=s[e];if(n){c=!0;try{(function(e){var n=e.callback,r=e.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(t,r)}})(n)}finally{d(e),c=!1}}}}function p(t){t.source===e&&typeof t.data==`string`&&t.data.indexOf(a)===0&&f(+t.data.slice(a.length))}})(typeof self>`u`?e===void 0?this:e:self)}).call(this,typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{})},{}]},{},[10])(10)})})),so=/* @__PURE__ */ s((e=>{var t=ao(),n=oo();e.openArrayBuffer=r,e.splitPath=i,e.joinPath=a;function r(e){return n.loadAsync(e).then(function(e){function n(t){return e.file(t)!==null}function r(n,r){return e.file(n).async(`uint8array`).then(function(e){return r===`base64`?t.fromByteArray(e):r?new TextDecoder(r).decode(e):e})}function i(t,n){e.file(t,n)}function a(){return e.generateAsync({type:`arraybuffer`})}return{exists:n,read:r,write:i,toArrayBuffer:a}})}function i(e){var t=e.lastIndexOf(`/`);return t===-1?{dirname:``,basename:e}:{dirname:e.substring(0,t),basename:e.substring(t+1)}}function a(){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(`/`)}})),co=/* @__PURE__ */ s((e=>{var t=($(),d(Q));e.Element=r,e.element=function(e,t,n){return new r(e,t,n)},e.text=function(e){return{type:`text`,value:e}};var n=e.emptyElement={first:function(){return null},firstOrEmpty:function(){return n},attributes:{},children:[]};function r(e,t,n){this.type=`element`,this.name=e,this.attributes=t||{},this.children=n||[]}r.prototype.first=function(e){return t.find(this.children,function(t){return t.name===e})},r.prototype.firstOrEmpty=function(e){return this.first(e)||n},r.prototype.getElementsByTagName=function(e){return a(t.filter(this.children,function(t){return t.name===e}))},r.prototype.text=function(){if(this.children.length===0)return``;if(this.children.length!==1||this.children[0].type!==`text`)throw Error(`Not implemented`);return this.children[0].value};var i={getElementsByTagName:function(e){return a(t.flatten(this.map(function(t){return t.getElementsByTagName(e)},!0)))}};function a(e){return t.extend(e,i)}})),lo=/* @__PURE__ */ s((e=>{function t(e,t,n){if(n===void 0&&(n=Array.prototype),e&&typeof n.find==`function`)return n.find.call(e,t);for(var r=0;r<e.length;r++)if(Object.prototype.hasOwnProperty.call(e,r)){var i=e[r];if(t.call(void 0,i,r,e))return i}}function n(e,t){return t===void 0&&(t=Object),t&&typeof t.freeze==`function`?t.freeze(e):e}function r(e,t){if(typeof e!=`object`||!e)throw TypeError(`target is not an object`);for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var i=n({HTML:`text/html`,isHTML:function(e){return e===i.HTML},XML_APPLICATION:`application/xml`,XML_TEXT:`text/xml`,XML_XHTML_APPLICATION:`application/xhtml+xml`,XML_SVG_IMAGE:`image/svg+xml`}),a=n({HTML:`http://www.w3.org/1999/xhtml`,isHTML:function(e){return e===a.HTML},SVG:`http://www.w3.org/2000/svg`,XML:`http://www.w3.org/XML/1998/namespace`,XMLNS:`http://www.w3.org/2000/xmlns/`}),o=/[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]/,s=RegExp(`[\\-\\.0-9`+o.source.slice(1,-1)+`\\u00B7\\u0300-\\u036F\\u203F-\\u2040]`),c=RegExp(`^`+o.source+s.source+`*(?::`+o.source+s.source+`*)?$`);e.assign=r,e.find=t,e.freeze=n,e.MIME_TYPE=i,e.NAMESPACE=a,e.nameStartChar=o,e.nameChar=s,e.tagNamePattern=c})),uo=/* @__PURE__ */ s((e=>{var t=lo(),n=t.find,r=t.NAMESPACE,i=t.tagNamePattern;function a(e){return e!==``}function o(e){return e?e.split(/[\t\n\f\r ]+/).filter(a):[]}function s(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function c(e){if(!e)return[];var t=o(e);return Object.keys(t.reduce(s,{}))}function l(e){return function(t){return e&&e.indexOf(t)!==-1}}function u(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function d(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,r=new r,u(n,r),e.prototype=n=r}n.constructor!=e&&(typeof e!=`function`&&console.error(`unknown Class:`+e),n.constructor=e)}var f={},p=f.ELEMENT_NODE=1,m=f.ATTRIBUTE_NODE=2,h=f.TEXT_NODE=3,g=f.CDATA_SECTION_NODE=4,_=f.ENTITY_REFERENCE_NODE=5,v=f.ENTITY_NODE=6,y=f.PROCESSING_INSTRUCTION_NODE=7,b=f.COMMENT_NODE=8,x=f.DOCUMENT_NODE=9,S=f.DOCUMENT_TYPE_NODE=10,C=f.DOCUMENT_FRAGMENT_NODE=11,w=f.NOTATION_NODE=12,T={},E={};T.INDEX_SIZE_ERR=(E[1]=`Index size error`,1),T.DOMSTRING_SIZE_ERR=(E[2]=`DOMString size error`,2);var D=T.HIERARCHY_REQUEST_ERR=(E[3]=`Hierarchy request error`,3);T.WRONG_DOCUMENT_ERR=(E[4]=`Wrong document`,4);var O=T.INVALID_CHARACTER_ERR=(E[5]=`Invalid character`,5);T.NO_DATA_ALLOWED_ERR=(E[6]=`No data allowed`,6),T.NO_MODIFICATION_ALLOWED_ERR=(E[7]=`No modification allowed`,7);var k=T.NOT_FOUND_ERR=(E[8]=`Not found`,8);T.NOT_SUPPORTED_ERR=(E[9]=`Not supported`,9);var A=T.INUSE_ATTRIBUTE_ERR=(E[10]=`Attribute in use`,10),j=T.INVALID_STATE_ERR=(E[11]=`Invalid state`,11);T.SYNTAX_ERR=(E[12]=`Syntax error`,12),T.INVALID_MODIFICATION_ERR=(E[13]=`Invalid modification`,13),T.NAMESPACE_ERR=(E[14]=`Invalid namespace`,14),T.INVALID_ACCESS_ERR=(E[15]=`Invalid access`,15);function M(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,E[e]),this.message=E[e],Error.captureStackTrace&&Error.captureStackTrace(this,M);return n.code=e,t&&(this.message=this.message+`: `+t),n}M.prototype=Error.prototype,u(T,M);function N(){}N.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t,n){for(var r=!!n&&!!n.requireWellFormed,i=[],a=0;a<this.length;a++)Ne(this[a],i,e,t,null,r);return i.join(``)},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}};function P(e,t){this._node=e,this._refresh=t,F(this)}function F(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var n=e._refresh(e._node);if(Ie(e,`length`,n.length),!e.$$length||n.length<e.$$length)for(var r=n.length;r in e;r++)Object.prototype.hasOwnProperty.call(e,r)&&delete e[r];u(n,e),e._inc=t}}P.prototype.item=function(e){return F(this),this[e]||null},d(P,N);function I(){this._nameIndex=Object.create(null)}function L(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function R(e,t){e._nameIndex[t.nodeName]=t}function z(e,t){e._nameIndex[t.nodeName]===t&&delete e._nameIndex[t.nodeName]}function B(e,t,n,r){if(r?(t[L(t,r)]=n,z(t,r)):t[t.length++]=n,R(t,n),e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&re(i,e,r),ne(i,e,n))}}function V(e,t,n){var r=L(t,n);if(r>=0){for(var i=t.length-1;r<i;)t[r]=t[++r];if(t.length=i,z(t,n),e){var a=e.ownerDocument;a&&(re(a,e,n),n.ownerElement=null)}}else throw new M(k,/* @__PURE__ */ Error(e.tagName+`@`+n))}I.prototype={length:0,item:N.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new M(A);var n=this._nameIndex[e.nodeName];return B(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t=e.ownerElement,n;if(t&&t!=this._ownerElement)throw new M(A);return n=this.getNamedItemNS(e.namespaceURI,e.localName),B(this._ownerElement,this,e,n),n},removeNamedItem:function(e){var t=this.getNamedItem(e);return V(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return V(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}};function H(){}H.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=new G;if(r.implementation=this,r.childNodes=new N,r.doctype=n||null,n&&r.appendChild(n),t){var i=r.createElementNS(e,t);r.appendChild(i)}return r},createDocumentType:function(e,t,n){var r=new Ce;return r.name=e,r.nodeName=e,r.publicId=t||``,r.systemId=n||``,r}};function U(){}U.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 ge(this,e,t)},replaceChild:function(e,t){ge(this,e,t,he),t&&this.removeChild(t)},removeChild:function(e){return ae(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return Fe(this.ownerDocument||this,this,e)},normalize:function(){W(this,null,{enter:function(e){for(var t=e.firstChild;t;){var n=t.nextSibling;if(n!==null&&n.nodeType===h&&t.nodeType===h){for(var r=[],i=n;i!==null&&i.nodeType===h;)r.push(i.data),i=i.nextSibling;for(var a=t.nextSibling;a!==i;){var o=a.nextSibling;a.parentNode=null,a.previousSibling=null,a.nextSibling=null,a=o}t.nextSibling=i,i===null?e.lastChild=t:i.previousSibling=t,t.appendData(r.join(``)),ie(e.ownerDocument,e),t=i}else t=n}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 n=t._nsMap;if(n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r}t=t.nodeType==m?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==m?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return this.lookupPrefix(e)==null}};function ee(e){return e==`<`&&`&lt;`||e==`>`&&`&gt;`||e==`&`&&`&amp;`||e==`"`&&`&quot;`||`&#`+e.charCodeAt()+`;`}u(f,U),u(f,U.prototype);function te(e,t){return W(e,null,{enter:function(e){return!t(e)||W.STOP}})===W.STOP}function W(e,t,n){for(var r=[{node:e,context:t,phase:W.ENTER}];r.length>0;){var i=r.pop();if(i.phase===W.ENTER){var a=n.enter(i.node,i.context);if(a===W.STOP)return W.STOP;if(r.push({node:i.node,context:a,phase:W.EXIT}),a==null)continue;for(var o=i.node.lastChild;o;)r.push({node:o,context:a,phase:W.ENTER}),o=o.previousSibling}else n.exit&&n.exit(i.node,i.context)}}W.STOP=Symbol(`walkDOM.STOP`),W.ENTER=0,W.EXIT=1;function G(){this.ownerDocument=this}function ne(e,t,n){e&&e._inc++,n.namespaceURI===r.XMLNS&&(t._nsMap[n.prefix?n.localName:``]=n.value)}function re(e,t,n,i){e&&e._inc++,n.namespaceURI===r.XMLNS&&delete t._nsMap[n.prefix?n.localName:``]}function ie(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var i=t.firstChild,a=0;i;)r[a++]=i,i=i.nextSibling;r.length=a,delete r[r.length]}}}function ae(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,ie(e.ownerDocument,e),t}function oe(e){return e&&(e.nodeType===U.DOCUMENT_NODE||e.nodeType===U.DOCUMENT_FRAGMENT_NODE||e.nodeType===U.ELEMENT_NODE)}function se(e){return e&&(le(e)||ue(e)||ce(e)||e.nodeType===U.DOCUMENT_FRAGMENT_NODE||e.nodeType===U.COMMENT_NODE||e.nodeType===U.PROCESSING_INSTRUCTION_NODE)}function ce(e){return e&&e.nodeType===U.DOCUMENT_TYPE_NODE}function le(e){return e&&e.nodeType===U.ELEMENT_NODE}function ue(e){return e&&e.nodeType===U.TEXT_NODE}function de(e,t){var r=e.childNodes||[];if(n(r,le)||ce(t))return!1;var i=n(r,ce);return!(t&&i&&r.indexOf(i)>r.indexOf(t))}function fe(e,t){var r=e.childNodes||[];function i(e){return le(e)&&e!==t}if(n(r,i))return!1;var a=n(r,ce);return!(t&&a&&r.indexOf(a)>r.indexOf(t))}function pe(e,t,n){if(!oe(e))throw new M(D,`Unexpected parent node type `+e.nodeType);if(n&&n.parentNode!==e)throw new M(k,`child not in parent`);if(!se(t)||ce(t)&&e.nodeType!==U.DOCUMENT_NODE)throw new M(D,`Unexpected node type `+t.nodeType+` for parent node type `+e.nodeType)}function me(e,t,r){var i=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===U.DOCUMENT_FRAGMENT_NODE){var o=a.filter(le);if(o.length>1||n(a,ue))throw new M(D,`More than one element or text in fragment`);if(o.length===1&&!de(e,r))throw new M(D,`Element in fragment can not be inserted before doctype`)}if(le(t)&&!de(e,r))throw new M(D,`Only one element can be added and only after doctype`);if(ce(t)){if(n(i,ce))throw new M(D,`Only one doctype is allowed`);var s=n(i,le);if(r&&i.indexOf(s)<i.indexOf(r))throw new M(D,`Doctype can only be inserted before an element`);if(!r&&s)throw new M(D,`Doctype can not be appended since element is present`)}}function he(e,t,r){var i=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===U.DOCUMENT_FRAGMENT_NODE){var o=a.filter(le);if(o.length>1||n(a,ue))throw new M(D,`More than one element or text in fragment`);if(o.length===1&&!fe(e,r))throw new M(D,`Element in fragment can not be inserted before doctype`)}if(le(t)&&!fe(e,r))throw new M(D,`Only one element can be added and only after doctype`);if(ce(t)){function e(e){return ce(e)&&e!==r}if(n(i,e))throw new M(D,`Only one doctype is allowed`);var s=n(i,le);if(r&&i.indexOf(s)<i.indexOf(r))throw new M(D,`Doctype can only be inserted before an element`)}}function ge(e,t,n,r){pe(e,t,n),e.nodeType===U.DOCUMENT_NODE&&(r||me)(e,t,n);var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===C){var a=t.firstChild;if(a==null)return t;var o=t.lastChild}else a=o=t;var s=n?n.previousSibling:e.lastChild;a.previousSibling=s,o.nextSibling=n,s?s.nextSibling=a:e.firstChild=a,n==null?e.lastChild=o:n.previousSibling=o;do{a.parentNode=e;var c=e.ownerDocument||e;_e(a,c)}while(a!==o&&(a=a.nextSibling));return ie(e.ownerDocument||e,e),t.nodeType==C&&(t.firstChild=t.lastChild=null),t}function _e(e,t){if(e.ownerDocument!==t){if(e.ownerDocument=t,e.nodeType===p&&e.attributes)for(var n=0;n<e.attributes.length;n++){var r=e.attributes.item(n);r&&(r.ownerDocument=t)}for(var i=e.firstChild;i;)_e(i,t),i=i.nextSibling}}function K(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,ie(e.ownerDocument,e,t),_e(t,e.ownerDocument||e),t}G.prototype={nodeName:`#document`,nodeType:x,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==C){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return ge(this,e,t),_e(e,this),this.documentElement===null&&e.nodeType===p&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),ae(this,e)},replaceChild:function(e,t){ge(this,e,t,he),_e(e,this),t&&this.removeChild(t),le(e)&&(this.documentElement=e)},importNode:function(e,t){return Pe(this,e,t)},getElementById:function(e){var t=null;return te(this.documentElement,function(n){if(n.nodeType==p&&n.getAttribute(`id`)==e)return t=n,!0}),t},getElementsByClassName:function(e){var t=c(e);return new P(this,function(n){var r=[];return t.length>0&&te(n.documentElement,function(i){if(i!==n&&i.nodeType===p){var a=i.getAttribute(`class`);if(a){var o=e===a;if(!o){var s=c(a);o=t.every(l(s))}o&&r.push(i)}}}),r})},createElement:function(e){var t=new q;t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new N;var n=t.attributes=new I;return n._ownerElement=t,t},createDocumentFragment:function(){var e=new De;return e.ownerDocument=this,e.childNodes=new N,e},createTextNode:function(e){var t=new be;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new xe;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){if(e.indexOf(`]]>`)!==-1)throw new M(O,`data contains "]]>"`);var t=new Se;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new Oe;return n.ownerDocument=this,n.tagName=n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new ve;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 M(O,`not a valid xml name "`+e+`"`);var t=new Ee;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new q,r=t.split(`:`),i=n.attributes=new I;return n.childNodes=new N,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,r.length==2?(n.prefix=r[0],n.localName=r[1]):n.localName=t,i._ownerElement=n,n},createAttributeNS:function(e,t){var n=new ve,r=t.split(`:`);return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,r.length==2?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},d(G,U);function q(){this._nsMap={}}q.prototype={nodeType:p,hasAttribute:function(e){return this.getAttributeNode(e)!=null},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 n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=``+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===C?this.insertBefore(e,null):K(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 n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return this.getAttributeNodeNS(e,t)!=null},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||``},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=``+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new P(this,function(t){var n=[];return te(t,function(r){r!==t&&r.nodeType==p&&(e===`*`||r.tagName==e)&&n.push(r)}),n})},getElementsByTagNameNS:function(e,t){return new P(this,function(n){var r=[];return te(n,function(i){i===n||i.nodeType!==p||e!==`*`&&i.namespaceURI!==e||t!==`*`&&i.localName!=t||r.push(i)}),r})}},G.prototype.getElementsByTagName=q.prototype.getElementsByTagName,G.prototype.getElementsByTagNameNS=q.prototype.getElementsByTagNameNS,d(q,U);function ve(){}ve.prototype.nodeType=m,d(ve,U);function ye(){}ye.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 Error(E[D])},deleteData:function(e,t){this.replaceData(e,t,``)},replaceData:function(e,t,n){var r=this.data.substring(0,e),i=this.data.substring(e+t);n=r+n+i,this.nodeValue=this.data=n,this.length=n.length}},d(ye,U);function be(){}be.prototype={nodeName:`#text`,nodeType:h,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},d(be,ye);function xe(){}xe.prototype={nodeName:`#comment`,nodeType:b},d(xe,ye);function Se(){}Se.prototype={nodeName:`#cdata-section`,nodeType:g},d(Se,ye);function Ce(){}Ce.prototype.nodeType=S,d(Ce,U);function we(){}we.prototype.nodeType=w,d(we,U);function Te(){}Te.prototype.nodeType=v,d(Te,U);function Ee(){}Ee.prototype.nodeType=_,d(Ee,U);function De(){}De.prototype.nodeName=`#document-fragment`,De.prototype.nodeType=C,d(De,U);function Oe(){}Oe.prototype.nodeType=y,d(Oe,U);function ke(){}ke.prototype.serializeToString=function(e,t,n,r){return Ae.call(e,t,n,r)},U.prototype.toString=Ae;function Ae(e,t,n){var r=!!n&&!!n.requireWellFormed,i=[],a=this.nodeType==9&&this.documentElement||this,o=a.prefix,s=a.namespaceURI;if(s&&o==null){var o=a.lookupPrefix(s);if(o==null)var c=[{namespace:s,prefix:null}]}return Ne(this,i,e,t,c,r),i.join(``)}function je(e,t,n){var i=e.prefix||``,a=e.namespaceURI;if(!a||i===`xml`&&a===r.XML||a===r.XMLNS)return!1;for(var o=n.length;o--;){var s=n[o];if(s.prefix===i)return s.namespace!==a}return!0}function Me(e,t,n,r){if(r&&!i.test(t))throw new M(j,`The attribute name "`+t+`" is not a valid XML QName`);e.push(` `,t,`="`,n.replace(/[<>&"\t\n\r]/g,ee),`"`)}function Ne(e,t,n,a,o,s){o||=[],W(e,{ns:o,isHTML:n},{enter:function(e,n){var o=n.ns,c=n.isHTML;if(a){if(e=a(e),e){if(typeof e==`string`)return t.push(e),null}else return null}switch(e.nodeType){case p:var l=e.attributes,u=l.length,d=e.tagName;c=r.isHTML(e.namespaceURI)||c;var f=d;if(!c&&!e.prefix&&e.namespaceURI){for(var v,w=0;w<l.length;w++)if(l.item(w).name===`xmlns`){v=l.item(w).value;break}if(!v)for(var T=o.length-1;T>=0;T--){var E=o[T];if(E.prefix===``&&E.namespace===e.namespaceURI){v=E.namespace;break}}if(v!==e.namespaceURI)for(var T=o.length-1;T>=0;T--){var E=o[T];if(E.namespace===e.namespaceURI){E.prefix&&(f=E.prefix+`:`+d);break}}}if(s&&!i.test(f))throw new M(j,`The element name "`+f+`" is not a valid XML QName`);t.push(`<`,f);for(var D=o.slice(),O=0;O<u;O++){var k=l.item(O);k.prefix==`xmlns`?D.push({prefix:k.localName,namespace:k.value}):k.nodeName==`xmlns`&&D.push({prefix:``,namespace:k.value})}for(var O=0;O<u;O++){var k=l.item(O);if(je(k,c,D)){var A=k.prefix||``,N=k.namespaceURI;Me(t,A?`xmlns:`+A:`xmlns`,N,s),D.push({prefix:A,namespace:N})}var P=a?a(k):k;P&&(typeof P==`string`?t.push(P):Me(t,P.name,P.value,s))}if(d===f&&je(e,c,D)){var F=e.prefix||``,N=e.namespaceURI;Me(t,F?`xmlns:`+F:`xmlns`,N,s),D.push({prefix:F,namespace:N})}var I=e.firstChild;if(I||c&&!/^(?:meta|link|img|br|hr|input)$/i.test(d)){if(t.push(`>`),c&&/^script$/i.test(d)){for(;I;)I.data?t.push(I.data):Ne(I,t,c,a,D.slice(),s),I=I.nextSibling;return t.push(`</`,d,`>`),null}return{ns:D,isHTML:c,tag:f}}return t.push(`/>`),null;case x:case C:return{ns:o.slice(),isHTML:c,tag:null};case m:return Me(t,e.name,e.value,s),null;case h:return t.push(e.data.replace(/[<&>]/g,ee)),null;case g:if(s&&e.data.indexOf(`]]>`)!==-1)throw new M(j,`The CDATASection data contains "]]>"`);return t.push(`<![CDATA[`,e.data.replace(/]]>/g,`]]]]><![CDATA[>`),`]]>`),null;case b:if(s&&e.data.indexOf(`-->`)!==-1)throw new M(j,`The comment node data contains "-->"`);return t.push(`<!--`,e.data,`-->`),null;case S:if(s){if(!i.test(e.name))throw new M(j,`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 M(j,`DocumentType publicId is not a valid PubidLiteral`);if(e.systemId&&!/^("[^"]*"|'[^']*')$/.test(e.systemId))throw new M(j,`DocumentType systemId is not a valid SystemLiteral`);if(e.internalSubset&&e.internalSubset.indexOf(`]>`)!==-1)throw new M(j,`DocumentType internalSubset contains "]>"`)}var L=e.publicId,R=e.systemId;if(t.push(`<!DOCTYPE `,e.name),L)t.push(` PUBLIC `,L),R&&R!=`.`&&t.push(` `,R),t.push(`>`);else if(R&&R!=`.`)t.push(` SYSTEM `,R,`>`);else{var z=e.internalSubset;z&&t.push(` [`,z,`]`),t.push(`>`)}return null;case y:if(s){if(!i.test(e.target)||e.target.indexOf(`:`)!==-1||e.target.toLowerCase()===`xml`)throw new M(j,`The processing instruction target "`+e.target+`" is not a valid XML NCName or is reserved`);if(e.data.indexOf(`?>`)!==-1)throw new M(j,`The ProcessingInstruction data contains "?>"`)}return t.push(`<?`,e.target,` `,e.data,`?>`),null;case _:if(s&&!i.test(e.nodeName))throw new M(j,`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,n){n&&n.tag&&t.push(`</`,n.tag,`>`)}})}function Pe(e,t,n){var r;return W(t,null,{enter:function(t,i){var a=t.cloneNode(!1);return a.ownerDocument=e,a.parentNode=null,i===null?r=a:i.appendChild(a),t.nodeType===m||n?a:null}}),r}function Fe(e,t,n){var r;return W(t,null,{enter:function(t,i){var a=new t.constructor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var s=t[o];typeof s!=`object`&&s!=a[o]&&(a[o]=s)}t.childNodes&&(a.childNodes=new N),a.ownerDocument=e;var c=n;switch(a.nodeType){case p:var l=t.attributes,u=a.attributes=new I,d=l.length;u._ownerElement=a;for(var f=0;f<d;f++)a.setAttributeNode(Fe(e,l.item(f),!0));break;case m:c=!0}return i===null?r=a:i.appendChild(a),c?a:null}}),r}function Ie(e,t,n){e[t]=n}try{Object.defineProperty&&(Object.defineProperty(P.prototype,"length",{get:function(){return F(this),this.$$length}}),Object.defineProperty(U.prototype,"textContent",{get:function(){if(this.nodeType===p||this.nodeType===C){var e=[];return W(this,null,{enter:function(t){if(t.nodeType===p||t.nodeType===C)return!0;if(t.nodeType===y||t.nodeType===b)return null;e.push(t.nodeValue)}}),e.join(``)}return this.nodeValue},set:function(e){switch(this.nodeType){case p:case C: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}}}),Ie=function(e,t,n){e[`$$`+t]=n})}catch{}e.DocumentType=Ce,e.DOMException=M,e.DOMImplementation=H,e.Element=q,e.Node=U,e.NodeList=N,e.walkDOM=W,e.XMLSerializer=ke})),fo=/* @__PURE__ */ s((e=>{var t=lo().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:`\xA0`,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:`
28
+ `,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:`\xA0`,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:` `,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})),po=/* @__PURE__ */ s((e=>{var t=lo().NAMESPACE,n=lo().tagNamePattern,r=0,i=1,a=2,o=3,s=4,c=5,l=6,u=7;function d(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,d)}d.prototype=/* @__PURE__ */ Error(),d.prototype.name=d.name;function f(){}f.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),y(t,t={}),p(e,t,n,r,this.errorHandler),r.endDocument()}};function p(e,r,i,a,o){function s(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function c(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(i,t)?i[t]:t.charAt(0)===`#`?s(parseInt(t.substr(1).replace(`x`,`0x`))):(o.error(`entity not found:`+e),e)}function l(t){if(t>E){var n=e.substring(E,t).replace(/&#?\w+;/g,c);C&&u(E),a.characters(n,0,t-E),E=t}}function u(t,n){for(;t>=p&&(n=y.exec(e));)f=n.index,p=f+n[0].length,C.lineNumber++;C.columnNumber=t-f+1}for(var f=0,p=0,y=/.*(?:\r\n?|\n)|.*$/g,C=a.locator,w=[{currentNSMap:r}],T={},E=0;;){try{var D=e.indexOf(`<`,E);if(D<0){if(!e.substr(E).match(/^\s*$/)){var O=a.doc,k=O.createTextNode(e.substr(E));O.appendChild(k),a.currentElement=k}return}switch(D>E&&l(D),e.charAt(D+1)){case`/`:var A=e.indexOf(`>`,D+3),j=e.substring(D+2,A).replace(/^([\s\S]*?[^ \t\n\r])?[ \t\n\r]*$/,`$1`),M=w.pop();A<0?(j=e.substring(D+2).replace(/[\s<].*/,``),o.error(`end tag name: `+j+` is not complete:`+M.tagName),A=D+1+j.length):j.match(/\s</)?(j=j.replace(/[\s<].*/,``),o.error(`end tag name: `+j+` maybe not complete`),A=D+1+j.length):/[ \t\n\r]/.test(j)&&n.test(j.split(/[ \t\n\r]/)[0])&&o.error(`end tag name is followed by whitespace and trailing content: "`+j+`"`);var N=M.localNSMap,P=M.tagName==j;if(P||M.tagName&&M.tagName.toLowerCase()==j.toLowerCase()){if(a.endElement(M.uri,M.localName,j),N)for(var F in N)Object.prototype.hasOwnProperty.call(N,F)&&a.endPrefixMapping(F);P||o.fatalError(`end tag name: `+j+` is not match the current start tagName:`+M.tagName)}else w.push(M);A++;break;case`?`:C&&u(D),A=x(e,D,a);break;case`!`:C&&u(D),A=b(e,D,a,o);break;default:C&&u(D);var I=new S,L=w[w.length-1].currentNSMap,A=h(e,D,I,L,c,o),R=I.length;if(!I.closed&&v(e,A,I.tagName,T)&&(I.closed=!0,i.nbsp||o.warning(`unclosed xml attribute`)),C&&R){for(var z=m(C,{}),B=0;B<R;B++){var V=I[B];u(V.offset),V.locator=m(C,{})}a.locator=z,g(I,a,L)&&w.push(I),a.locator=C}else g(I,a,L)&&w.push(I);t.isHTML(I.uri)&&!I.closed?A=_(e,A,I.tagName,c,a):A++}}catch(e){if(e instanceof d)throw e;o.error(`element parse error: `+e),A=-1}A>E?E=A:l(Math.max(D,E)+1)}}function m(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function h(e,n,d,f,p,m){function h(e,t,n){d.attributeNames.hasOwnProperty(e)&&m.fatalError(`Attribute `+e+` redefined`),d.addValue(e,t.replace(/[\t\n\r]/g,` `).replace(/&#?\w+;/g,p),n)}for(var g,_,v=++n,y=r;;){var b=e.charAt(v);if(y===r&&b===`<`)throw Error(`unexpected < in tag name: `+e.slice(n,v));switch(b){case`=`:if(y===i)g=e.slice(n,v),y=o;else if(y===a)y=o;else throw Error(`attribute equal must after attrName`);break;case`'`:case`"`:if(y===o||y===i){if(y===i&&(m.warning(`attribute value must after "="`),g=e.slice(n,v)),n=v+1,v=e.indexOf(b,n),v>0)_=e.slice(n,v),h(g,_,n-1),y=c;else throw Error(`attribute value no end '`+b+`' match`)}else if(y==s)_=e.slice(n,v),h(g,_,n),m.warning(`attribute "`+g+`" missed start quot(`+b+`)!!`),n=v+1,y=c;else throw Error(`attribute value must after "="`);break;case`/`:switch(y){case r:d.setTagName(e.slice(n,v));case c:case l:case u:y=u,d.closed=!0;case s:case i:break;case a:d.closed=!0;break;default:throw Error(`attribute invalid close char('/')`)}break;case``:return m.error(`unexpected end of input`),y==r&&d.setTagName(e.slice(n,v)),v;case`>`:switch(y){case r:d.setTagName(e.slice(n,v));case c:case l:case u:break;case s:case i:_=e.slice(n,v),_.slice(-1)===`/`&&(d.closed=!0,_=_.slice(0,-1));case a:y===a&&(_=g),y==s?(m.warning(`attribute "`+_+`" missed quot(")!`),h(g,_,n)):(t.isHTML(f[``])&&_.match(/^(?:disabled|checked|selected)$/i)||m.warning(`attribute "`+_+`" missed value!! "`+_+`" instead!!`),h(_,_,n));break;case o:throw Error(`attribute value missed!!`)}return v;case`€`:b=` `;default:if(b<=` `)switch(y){case r:d.setTagName(e.slice(n,v)),y=l;break;case i:g=e.slice(n,v),y=a;break;case s:var _=e.slice(n,v);m.warning(`attribute "`+_+`" missed quot(")!!`),h(g,_,n);case c:y=l}else switch(y){case a:d.tagName,t.isHTML(f[``])&&g.match(/^(?:disabled|checked|selected)$/i)||m.warning(`attribute "`+g+`" missed value!! "`+g+`" instead2!!`),h(g,g,n),n=v,y=i;break;case c:m.warning(`attribute space is required"`+g+`"!!`);case l:y=i,n=v;break;case o:y=s,n=v;break;case u:throw Error(`elements closed character '/' and '>' must be connected to`)}}v++}}function g(e,n,r){for(var i=e.tagName,a=null,o=e.length;o--;){var s=e[o],c=s.qName,l=s.value,u=c.indexOf(`:`);if(u>0)var d=s.prefix=c.slice(0,u),f=c.slice(u+1),p=d===`xmlns`&&f;else f=c,d=null,p=c===`xmlns`&&``;s.localName=f,p!==!1&&(a??(a={},r=Object.create(r)),r[p]=a[p]=l,s.uri=t.XMLNS,n.startPrefixMapping(p,l))}for(var o=e.length;o--;){s=e[o];var d=s.prefix;d&&(d===`xml`&&(s.uri=t.XML),d!==`xmlns`&&(s.uri=r[d||``]))}var u=i.indexOf(`:`);u>0?(d=e.prefix=i.slice(0,u),f=e.localName=i.slice(u+1)):(d=null,f=e.localName=i);var m=e.uri=r[d||``];if(n.startElement(m,f,i,e),e.closed){if(n.endElement(m,f,i),a)for(d in a)Object.prototype.hasOwnProperty.call(a,d)&&n.endPrefixMapping(d)}else return e.currentNSMap=r,e.localNSMap=a,!0}function _(e,t,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var a=e.indexOf(`</`+n+`>`,t),o=e.substring(t+1,a);if(/[&<]/.test(o))return/^script$/i.test(n)?(i.characters(o,0,o.length),a):(o=o.replace(/&#?\w+;/g,r),i.characters(o,0,o.length),a)}return t+1}function v(e,t,n,r){var i=r[n];return i??(i=e.lastIndexOf(`</`+n+`>`),i<t&&(i=e.lastIndexOf(`</`+n)),r[n]=i),i<t}function y(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function b(e,t,n,r){switch(e.charAt(t+2)){case`-`:if(e.charAt(t+3)===`-`){var i=e.indexOf(`-->`,t+4);return i>t?(n.comment(e,t+4,i-t-4),i+3):(r.error(`Unclosed comment`),-1)}return-1;default:if(e.substr(t+3,6)==`CDATA[`){var i=e.indexOf(`]]>`,t+9);return n.startCDATA(),n.characters(e,t+9,i-t-9),n.endCDATA(),i+3}var a=C(e,t),o=a.length;if(o>1&&/!doctype/i.test(a[0][0])){var s=a[1][0],c=!1,l=!1;o>3&&(/^public$/i.test(a[2][0])?(c=a[3][0],l=o>4&&a[4][0]):/^system$/i.test(a[2][0])&&(l=a[3][0]));var u=a[o-1];return n.startDTD(s,c,l),n.endDTD(),u.index+u[0].length}}return-1}function x(e,t,n){var r=e.indexOf(`?>`,t);if(r){var i=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)$/);return i?(i[0].length,n.processingInstruction(i[1],i[2]),r+2):-1}return-1}function S(){this.attributeNames={}}S.prototype={setTagName:function(e){if(!n.test(e))throw Error(`invalid tagName:`+e);this.tagName=e},addValue:function(e,t,r){if(!n.test(e))throw Error(`invalid attribute:`+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r}},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}};function C(e,t){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(i.lastIndex=t,i.exec(e);n=i.exec(e);)if(r.push(n),n[1])return r}e.XMLReader=f,e.ParseError=d})),mo=/* @__PURE__ */ s((e=>{var t=lo(),n=uo(),r=fo(),i=po(),a=n.DOMImplementation,o=t.NAMESPACE,s=i.ParseError,c=i.XMLReader;function l(e){return e.replace(/\r[\n\u0085]/g,`
29
+ `).replace(/[\r\u0085\u2028]/g,`
30
+ `)}function u(e){this.options=e||{locator:{}}}u.prototype.parseFromString=function(e,t){var n=this.options,i=new c,a=n.domBuilder||new f,s=n.errorHandler,u=n.locator,p=n.xmlns||{},m=/\/x?html?$/.test(t),h=m?r.HTML_ENTITIES:r.XML_ENTITIES;u&&a.setDocumentLocator(u),i.errorHandler=d(s,a,u),i.domBuilder=n.domBuilder||a,m&&(p[``]=o.HTML),p.xml=p.xml||o.XML;var g=n.normalizeLineEndings||l;return e&&typeof e==`string`?i.parse(g(e),p,h):i.errorHandler.error(`invalid doc source`),a.doc};function d(e,t,n){if(!e){if(t instanceof f)return t;e=t}var r={},i=e instanceof Function;n||={};function a(t){var a=e[t];!a&&i&&(a=e.length==2?function(n){e(t,n)}:e),r[t]=a&&function(e){a(`[xmldom `+t+`] `+e+m(n))}||function(){}}return a(`warning`),a(`error`),a(`fatalError`),r}function f(){this.cdata=!1}function p(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}f.prototype={startDocument:function(){this.doc=new a().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,a=i.createElementNS(e,n||t),o=r.length;g(this,a),this.currentElement=a,this.locator&&p(this.locator,a);for(var s=0;s<o;s++){var e=r.getURI(s),c=r.getValue(s),n=r.getQName(s),l=i.createAttributeNS(e,n);this.locator&&p(r.getLocator(s),l),l.value=l.nodeValue=c,a.setAttributeNode(l)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName,this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&p(this.locator,n),g(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=h.apply(this,arguments),e){if(this.cdata)var r=this.doc.createCDATASection(e);else var r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&p(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=h.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&p(this.locator,r),g(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var i=r.createDocumentType(e,t,n);this.locator&&p(this.locator,i),g(this,i),this.doc.doctype=i}},warning:function(e){console.warn(`[xmldom warning] `+e,m(this.locator))},error:function(e){console.error(`[xmldom error] `+e,m(this.locator))},fatalError:function(e){throw new s(e,this.locator)}};function m(e){if(e)return`
31
+ @`+(e.systemId||``)+`#[line:`+e.lineNumber+`,col:`+e.columnNumber+`]`}function h(e,t,n){return typeof e==`string`?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+``:e}`endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl`.replace(/\w+/g,function(e){f.prototype[e]=function(){return null}});function g(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}e.__DOMHandler=f,e.normalizeLineEndings=l,e.DOMParser=u})),ho=/* @__PURE__ */ s((e=>{var t=uo();e.DOMImplementation=t.DOMImplementation,e.XMLSerializer=t.XMLSerializer,e.DOMParser=mo().DOMParser})),go=/* @__PURE__ */ s((e=>{var t=ho(),n=uo();function r(e){var n=null,r=new t.DOMParser({errorHandler:function(e,t){n={level:e,message:t}}}).parseFromString(e);if(n===null)return r;throw Error(n.level+`: `+n.message)}e.parseFromString=r,e.Node=n.Node})),_o=/* @__PURE__ */ s((e=>{var t=no(),n=($(),d(Q)),r=go(),i=co(),a=i.Element;e.readString=s;var o=r.Node;function s(e,s){s||={};try{var c=r.parseFromString(e,`text/xml`)}catch(e){return t.reject(e)}if(c.documentElement.tagName===`parsererror`)return t.resolve(Error(c.documentElement.textContent));function l(e){switch(e.nodeType){case o.ELEMENT_NODE:return u(e);case o.TEXT_NODE:return i.text(e.nodeValue)}}function u(e){var t=d(e),r=[];n.forEach(e.childNodes,function(e){var t=l(e);t&&r.push(t)});var i=Object.create(null);return n.forEach(e.attributes,function(e){i[d(e)]=e.value}),new a(t,i,r)}function d(e){if(e.namespaceURI){var t=s[e.namespaceURI];return(t?t+`:`:`{`+e.namespaceURI+`}`)+e.localName}return e.localName}return t.resolve(l(c.documentElement))}})),vo=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n,r,i,a,o,s,c=[].slice,l={}.hasOwnProperty;e=function(){var e,t,n,r,i,o=arguments[0];if(i=2<=arguments.length?c.call(arguments,1):[],a(Object.assign))Object.assign.apply(null,arguments);else for(e=0,n=i.length;e<n;e++)if(r=i[e],r!=null)for(t in r)l.call(r,t)&&(o[t]=r[t]);return o},a=function(e){return!!e&&Object.prototype.toString.call(e)===`[object Function]`},o=function(e){var t;return!!e&&((t=typeof e)==`function`||t===`object`)},r=function(e){return a(Array.isArray)?Array.isArray(e):Object.prototype.toString.call(e)===`[object Array]`},i=function(e){var t;if(r(e))return!e.length;for(t in e)if(l.call(e,t))return!1;return!0},s=function(e){var t,n;return o(e)&&(n=Object.getPrototypeOf(e))&&(t=n.constructor)&&typeof t==`function`&&t instanceof t&&Function.prototype.toString.call(t)===Function.prototype.toString.call(Object)},n=function(e){return a(e.valueOf)?e.valueOf():e},t.exports.assign=e,t.exports.isFunction=a,t.exports.isObject=o,t.exports.isArray=r,t.exports.isEmpty=i,t.exports.isPlainObject=s,t.exports.getValue=n}).call(n)})),yo=/* @__PURE__ */ s(((e,t,n)=>{(function(){t.exports=(function(){function e(e,t,n){if(this.options=e.options,this.stringify=e.stringify,this.parent=e,t==null)throw Error(`Missing attribute name. `+this.debugInfo(t));if(n==null)throw Error(`Missing attribute value. `+this.debugInfo(t));this.name=this.stringify.attName(t),this.value=this.stringify.attValue(n)}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 e||=this.name,e==null?`parent: <`+this.parent.name+`>`:`attribute: {`+e+`}, parent: <`+this.parent.name+`>`},e})()}).call(n)})),bo=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n,r,i,a,o,s=function(e,t){for(var n in t)c.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},c={}.hasOwnProperty;o=vo(),a=o.isObject,i=o.isFunction,r=o.getValue,n=No(),e=yo(),t.exports=(function(t){s(n,t);function n(e,t,r){if(n.__super__.constructor.call(this,e),t==null)throw Error(`Missing element name. `+this.debugInfo());this.name=this.stringify.eleName(t),this.attributes={},r!=null&&this.attribute(r),e.isDocument&&(this.isRoot=!0,this.documentObject=e,e.rootObject=this)}return n.prototype.clone=function(){var e,t,n=Object.create(this),r;for(t in n.isRoot&&(n.documentObject=null),n.attributes={},r=this.attributes,r)c.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},n.prototype.attribute=function(t,n){var o,s;if(t!=null&&(t=r(t)),a(t))for(o in t)c.call(t,o)&&(s=t[o],this.attribute(o,s));else i(n)&&(n=n.apply()),this.options.skipNullAttributes&&n==null||(this.attributes[t]=new e(this,t,n));return this},n.prototype.removeAttribute=function(e){var t,n,i;if(e==null)throw Error(`Missing attribute name. `+this.debugInfo());if(e=r(e),Array.isArray(e))for(n=0,i=e.length;n<i;n++)t=e[n],delete this.attributes[t];else delete this.attributes[e];return this},n.prototype.toString=function(e){return this.options.writer.set(e).element(this)},n.prototype.att=function(e,t){return this.attribute(e,t)},n.prototype.a=function(e,t){return this.attribute(e,t)},n})(n)}).call(n)})),xo=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=No(),t.exports=(function(e){n(t,e);function t(e,n){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing CDATA text. `+this.debugInfo());this.text=this.stringify.cdata(n)}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).cdata(this)},t})(e)}).call(n)})),So=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=No(),t.exports=(function(e){n(t,e);function t(e,n){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing comment text. `+this.debugInfo());this.text=this.stringify.comment(n)}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).comment(this)},t})(e)}).call(n)})),Co=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n,r=function(e,t){for(var n in t)i.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},i={}.hasOwnProperty;n=vo().isObject,e=No(),t.exports=(function(e){r(t,e);function t(e,r,i,a){var o;t.__super__.constructor.call(this,e),n(r)&&(o=r,r=o.version,i=o.encoding,a=o.standalone),r||=`1.0`,this.version=this.stringify.xmlVersion(r),i!=null&&(this.encoding=this.stringify.xmlEncoding(i)),a!=null&&(this.standalone=this.stringify.xmlStandalone(a))}return t.prototype.toString=function(e){return this.options.writer.set(e).declaration(this)},t})(e)}).call(n)})),wo=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=No(),t.exports=(function(e){n(t,e);function t(e,n,r,i,a,o){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing DTD element name. `+this.debugInfo());if(r==null)throw Error(`Missing DTD attribute name. `+this.debugInfo(n));if(!i)throw Error(`Missing DTD attribute type. `+this.debugInfo(n));if(!a)throw Error(`Missing DTD attribute default. `+this.debugInfo(n));if(a.indexOf(`#`)!==0&&(a=`#`+a),!a.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw Error(`Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. `+this.debugInfo(n));if(o&&!a.match(/^(#FIXED|#DEFAULT)$/))throw Error(`Default value only applies to #FIXED or #DEFAULT. `+this.debugInfo(n));this.elementName=this.stringify.eleName(n),this.attributeName=this.stringify.attName(r),this.attributeType=this.stringify.dtdAttType(i),this.defaultValue=this.stringify.dtdAttDefault(o),this.defaultValueType=a}return t.prototype.toString=function(e){return this.options.writer.set(e).dtdAttList(this)},t})(e)}).call(n)})),To=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n,r=function(e,t){for(var n in t)i.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},i={}.hasOwnProperty;n=vo().isObject,e=No(),t.exports=(function(e){r(t,e);function t(e,r,i,a){if(t.__super__.constructor.call(this,e),i==null)throw Error(`Missing DTD entity name. `+this.debugInfo(i));if(a==null)throw Error(`Missing DTD entity value. `+this.debugInfo(i));if(this.pe=!!r,this.name=this.stringify.eleName(i),!n(a))this.value=this.stringify.dtdEntityValue(a);else{if(!a.pubID&&!a.sysID)throw Error(`Public and/or system identifiers are required for an external entity. `+this.debugInfo(i));if(a.pubID&&!a.sysID)throw Error(`System identifier is required for a public external entity. `+this.debugInfo(i));if(a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID)),a.nData!=null&&(this.nData=this.stringify.dtdNData(a.nData)),this.pe&&this.nData)throw Error(`Notation declaration is not allowed in a parameter entity. `+this.debugInfo(i))}}return t.prototype.toString=function(e){return this.options.writer.set(e).dtdEntity(this)},t})(e)}).call(n)})),Eo=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=No(),t.exports=(function(e){n(t,e);function t(e,n,r){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing DTD element name. `+this.debugInfo());r||=`(#PCDATA)`,Array.isArray(r)&&(r=`(`+r.join(`,`)+`)`),this.name=this.stringify.eleName(n),this.value=this.stringify.dtdElementValue(r)}return t.prototype.toString=function(e){return this.options.writer.set(e).dtdElement(this)},t})(e)}).call(n)})),Do=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=No(),t.exports=(function(e){n(t,e);function t(e,n,r){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing DTD notation name. `+this.debugInfo(n));if(!r.pubID&&!r.sysID)throw Error(`Public or system identifiers are required for an external entity. `+this.debugInfo(n));this.name=this.stringify.eleName(n),r.pubID!=null&&(this.pubID=this.stringify.dtdPubID(r.pubID)),r.sysID!=null&&(this.sysID=this.stringify.dtdSysID(r.sysID))}return t.prototype.toString=function(e){return this.options.writer.set(e).dtdNotation(this)},t})(e)}).call(n)})),Oo=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n,r,i,a,o,s=function(e,t){for(var n in t)c.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},c={}.hasOwnProperty;o=vo().isObject,a=No(),e=wo(),r=To(),n=Eo(),i=Do(),t.exports=(function(t){s(a,t);function a(e,t,n){var r,i;a.__super__.constructor.call(this,e),this.name=`!DOCTYPE`,this.documentObject=e,o(t)&&(r=t,t=r.pubID,n=r.sysID),n??(i=[t,n],n=i[0],t=i[1]),t!=null&&(this.pubID=this.stringify.dtdPubID(t)),n!=null&&(this.sysID=this.stringify.dtdSysID(n))}return a.prototype.element=function(e,t){var r=new n(this,e,t);return this.children.push(r),this},a.prototype.attList=function(t,n,r,i,a){var o=new e(this,t,n,r,i,a);return this.children.push(o),this},a.prototype.entity=function(e,t){var n=new r(this,!1,e,t);return this.children.push(n),this},a.prototype.pEntity=function(e,t){var n=new r(this,!0,e,t);return this.children.push(n),this},a.prototype.notation=function(e,t){var n=new i(this,e,t);return this.children.push(n),this},a.prototype.toString=function(e){return this.options.writer.set(e).docType(this)},a.prototype.ele=function(e,t){return this.element(e,t)},a.prototype.att=function(e,t,n,r,i){return this.attList(e,t,n,r,i)},a.prototype.ent=function(e,t){return this.entity(e,t)},a.prototype.pent=function(e,t){return this.pEntity(e,t)},a.prototype.not=function(e,t){return this.notation(e,t)},a.prototype.up=function(){return this.root()||this.documentObject},a})(a)}).call(n)})),ko=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=No(),t.exports=(function(e){n(t,e);function t(e,n){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing raw text. `+this.debugInfo());this.value=this.stringify.raw(n)}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).raw(this)},t})(e)}).call(n)})),Ao=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=No(),t.exports=(function(e){n(t,e);function t(e,n){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing element text. `+this.debugInfo());this.value=this.stringify.eleText(n)}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).text(this)},t})(e)}).call(n)})),jo=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=No(),t.exports=(function(e){n(t,e);function t(e,n,r){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing instruction target. `+this.debugInfo());this.target=this.stringify.insTarget(n),r&&(this.value=this.stringify.insValue(r))}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).processingInstruction(this)},t})(e)}).call(n)})),Mo=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=No(),t.exports=(function(e){n(t,e);function t(e){t.__super__.constructor.call(this,e),this.isDummy=!0}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return``},t})(e)}).call(n)})),No=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n,r,i,a,o,s,c,l,u,d,f,p,m,h={}.hasOwnProperty;m=vo(),p=m.isObject,f=m.isFunction,d=m.isEmpty,u=m.getValue,o=null,e=null,n=null,r=null,i=null,c=null,l=null,s=null,a=null,t.exports=(function(){function t(t){this.parent=t,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],o||(o=bo(),e=xo(),n=So(),r=Co(),i=Oo(),c=ko(),l=Ao(),s=jo(),a=Mo())}return t.prototype.element=function(e,t,n){var r,i,a,o,s,c=null,l,m,g,_,v;if(t===null&&n==null&&(g=[{},null],t=g[0],n=g[1]),t??={},t=u(t),p(t)||(_=[t,n],n=_[0],t=_[1]),e!=null&&(e=u(e)),Array.isArray(e))for(a=0,l=e.length;a<l;a++)i=e[a],c=this.element(i);else if(f(e))c=this.element(e.apply());else if(p(e)){for(s in e)if(h.call(e,s)){if(v=e[s],f(v)&&(v=v.apply()),p(v)&&d(v)&&(v=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&s.indexOf(this.stringify.convertAttKey)===0)c=this.attribute(s.substr(this.stringify.convertAttKey.length),v);else if(!this.options.separateArrayItems&&Array.isArray(v))for(o=0,m=v.length;o<m;o++)i=v[o],r={},r[s]=i,c=this.element(r);else p(v)?(c=this.element(s),c.element(v)):c=this.element(s,v)}}else c=this.options.skipNullNodes&&n===null?this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&e.indexOf(this.stringify.convertTextKey)===0?this.text(n):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&e.indexOf(this.stringify.convertCDataKey)===0?this.cdata(n):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&e.indexOf(this.stringify.convertCommentKey)===0?this.comment(n):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&e.indexOf(this.stringify.convertRawKey)===0?this.raw(n):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&e.indexOf(this.stringify.convertPIKey)===0?this.instruction(e.substr(this.stringify.convertPIKey.length),n):this.node(e,t,n);if(c==null)throw Error(`Could not create any elements with: `+e+`. `+this.debugInfo());return c},t.prototype.insertBefore=function(e,t,n){var r,i,a;if(this.isRoot)throw Error(`Cannot insert elements at root level. `+this.debugInfo(e));return i=this.parent.children.indexOf(this),a=this.parent.children.splice(i),r=this.parent.element(e,t,n),Array.prototype.push.apply(this.parent.children,a),r},t.prototype.insertAfter=function(e,t,n){var r,i,a;if(this.isRoot)throw Error(`Cannot insert elements at root level. `+this.debugInfo(e));return i=this.parent.children.indexOf(this),a=this.parent.children.splice(i+1),r=this.parent.element(e,t,n),Array.prototype.push.apply(this.parent.children,a),r},t.prototype.remove=function(){var e;if(this.isRoot)throw Error(`Cannot remove the root element. `+this.debugInfo());return e=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[e,e-e+1]),this.parent},t.prototype.node=function(e,t,n){var r,i;return e!=null&&(e=u(e)),t||={},t=u(t),p(t)||(i=[t,n],n=i[0],t=i[1]),r=new o(this,e,t),n!=null&&r.text(n),this.children.push(r),r},t.prototype.text=function(e){var t=new l(this,e);return this.children.push(t),this},t.prototype.cdata=function(t){var n=new e(this,t);return this.children.push(n),this},t.prototype.comment=function(e){var t=new n(this,e);return this.children.push(t),this},t.prototype.commentBefore=function(e){var t=this.parent.children.indexOf(this),n=this.parent.children.splice(t);return this.parent.comment(e),Array.prototype.push.apply(this.parent.children,n),this},t.prototype.commentAfter=function(e){var t=this.parent.children.indexOf(this),n=this.parent.children.splice(t+1);return this.parent.comment(e),Array.prototype.push.apply(this.parent.children,n),this},t.prototype.raw=function(e){var t=new c(this,e);return this.children.push(t),this},t.prototype.dummy=function(){var e=new a(this);return this.children.push(e),e},t.prototype.instruction=function(e,t){var n,r,i,a,o;if(e!=null&&(e=u(e)),t!=null&&(t=u(t)),Array.isArray(e))for(a=0,o=e.length;a<o;a++)n=e[a],this.instruction(n);else if(p(e))for(n in e)h.call(e,n)&&(r=e[n],this.instruction(n,r));else f(t)&&(t=t.apply()),i=new s(this,e,t),this.children.push(i);return this},t.prototype.instructionBefore=function(e,t){var n=this.parent.children.indexOf(this),r=this.parent.children.splice(n);return this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,r),this},t.prototype.instructionAfter=function(e,t){var n=this.parent.children.indexOf(this),r=this.parent.children.splice(n+1);return this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,r),this},t.prototype.declaration=function(e,t,n){var i=this.document(),a=new r(i,e,t,n);return i.children[0]instanceof r?i.children[0]=a:i.children.unshift(a),i.root()||i},t.prototype.doctype=function(e,t){var n,r=this.document(),a=new i(r,e,t),o,s,c,l,u,d=r.children,f;for(o=s=0,l=d.length;s<l;o=++s)if(n=d[o],n instanceof i)return r.children[o]=a,a;for(f=r.children,o=c=0,u=f.length;c<u;o=++c)if(n=f[o],n.isRoot)return r.children.splice(o,0,a),a;return r.children.push(a),a},t.prototype.up=function(){if(this.isRoot)throw 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;else if(e.isRoot)return e;else e=e.parent},t.prototype.document=function(){for(var e=this;e;)if(e.isDocument)return e;else 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;if(e<1)throw 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(e===-1||e===this.parent.children.length-1)throw 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){return e||=this.name,e==null&&!this.parent?.name?``:e==null?`parent: <`+this.parent.name+`>`:this.parent?.name?`node: <`+e+`>, parent: <`+this.parent.name+`>`:`node: <`+e+`>`},t.prototype.ele=function(e,t,n){return this.element(e,t,n)},t.prototype.nod=function(e,t,n){return this.node(e,t,n)},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,n){return this.declaration(e,t,n)},t.prototype.dtd=function(e,t){return this.doctype(e,t)},t.prototype.e=function(e,t,n){return this.element(e,t,n)},t.prototype.n=function(e,t,n){return this.node(e,t,n)},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(n)})),Po=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e=function(e,t){return function(){return e.apply(t,arguments)}},n={}.hasOwnProperty;t.exports=(function(){function t(t){this.assertLegalChar=e(this.assertLegalChar,this);var r,i,a;for(r in t||={},this.noDoubleEncoding=t.noDoubleEncoding,i=t.stringify||{},i)n.call(i,r)&&(a=i[r],this[r]=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=e.replace(`]]>`,`]]]]><![CDATA[>`),this.assertLegalChar(e)},t.prototype.comment=function(e){if(e=``+e||``,e.match(/--/))throw 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=``+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||``,e.match(/\?>/))throw Error(`Invalid processing instruction value: `+e);return e},t.prototype.xmlVersion=function(e){if(e=``+e||``,!e.match(/1\.[0-9]+/))throw Error(`Invalid version number: `+e);return e},t.prototype.xmlEncoding=function(e){if(e=``+e||``,!e.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw 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 e==null?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 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(n)})),Fo=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e={}.hasOwnProperty;t.exports=(function(){function t(t){var n,r,i;for(n in t||={},this.pretty=t.pretty||!1,this.allowEmpty=t.allowEmpty??!1,this.pretty?(this.indent=t.indent??` `,this.newline=t.newline??`
32
+ `,this.offset=t.offset??0,this.dontprettytextnodes=t.dontprettytextnodes??0):(this.indent=``,this.newline=``,this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=t.spacebeforeslash??``,this.spacebeforeslash===!0&&(this.spacebeforeslash=` `),this.newlinedefault=this.newline,this.prettydefault=this.pretty,r=t.writer||{},r)e.call(r,n)&&(i=r[n],this[n]=i)}return t.prototype.set=function(t){var n,r,i;for(n in 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:`
33
+ `,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:``,this.spacebeforeslash===!0&&(this.spacebeforeslash=` `),this.newlinedefault=this.newline,this.prettydefault=this.pretty,r=t.writer||{},r)e.call(r,n)&&(i=r[n],this[n]=i);return this},t.prototype.space=function(e){var t;return this.pretty?(t=(e||0)+this.offset+1,t>0?Array(t).join(this.indent):``):``},t})()}).call(n)})),Io=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n,r,i,a,o,s,c,l,u,d,f,p,m,h=function(e,t){for(var n in t)g.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},g={}.hasOwnProperty;s=Co(),c=Oo(),e=xo(),n=So(),u=bo(),f=ko(),p=Ao(),d=jo(),l=Mo(),r=wo(),i=Eo(),a=To(),o=Do(),m=Fo(),t.exports=(function(t){h(m,t);function m(e){m.__super__.constructor.call(this,e)}return m.prototype.document=function(e){var t,r,i,a,o;for(this.textispresent=!1,a=``,o=e.children,r=0,i=o.length;r<i;r++)t=o[r],t instanceof l||(a+=(function(){switch(!1){case!(t instanceof s):return this.declaration(t);case!(t instanceof c):return this.docType(t);case!(t instanceof n):return this.comment(t);case!(t instanceof d):return this.processingInstruction(t);default:return this.element(t,0)}}).call(this));return this.pretty&&a.slice(-this.newline.length)===this.newline&&(a=a.slice(0,-this.newline.length)),a},m.prototype.attribute=function(e){return` `+e.name+`="`+e.value+`"`},m.prototype.cdata=function(e,t){return this.space(t)+`<![CDATA[`+e.text+`]]>`+this.newline},m.prototype.comment=function(e,t){return this.space(t)+`<!-- `+e.text+` -->`+this.newline},m.prototype.declaration=function(e,t){var n=this.space(t);return n+=`<?xml version="`+e.version+`"`,e.encoding!=null&&(n+=` encoding="`+e.encoding+`"`),e.standalone!=null&&(n+=` standalone="`+e.standalone+`"`),n+=this.spacebeforeslash+`?>`,n+=this.newline,n},m.prototype.docType=function(t,s){var c,l,u,f,p;if(s||=0,f=this.space(s),f+=`<!DOCTYPE `+t.root().name,t.pubID&&t.sysID?f+=` PUBLIC "`+t.pubID+`" "`+t.sysID+`"`:t.sysID&&(f+=` SYSTEM "`+t.sysID+`"`),t.children.length>0){for(f+=` [`,f+=this.newline,p=t.children,l=0,u=p.length;l<u;l++)c=p[l],f+=(function(){switch(!1){case!(c instanceof r):return this.dtdAttList(c,s+1);case!(c instanceof i):return this.dtdElement(c,s+1);case!(c instanceof a):return this.dtdEntity(c,s+1);case!(c instanceof o):return this.dtdNotation(c,s+1);case!(c instanceof e):return this.cdata(c,s+1);case!(c instanceof n):return this.comment(c,s+1);case!(c instanceof d):return this.processingInstruction(c,s+1);default:throw Error(`Unknown DTD node type: `+c.constructor.name)}}).call(this);f+=`]`}return f+=this.spacebeforeslash+`>`,f+=this.newline,f},m.prototype.element=function(t,r){var i,a,o,s,c,m,h,_,v,y,b,x,S;for(h in r||=0,S=!1,this.textispresent?(this.newline=``,this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),x=this.space(r),_=``,_+=x+`<`+t.name,v=t.attributes,v)g.call(v,h)&&(i=v[h],_+=this.attribute(i));if(t.children.length===0||t.children.every(function(e){return e.value===``}))this.allowEmpty?_+=`></`+t.name+`>`+this.newline:_+=this.spacebeforeslash+`/>`+this.newline;else if(this.pretty&&t.children.length===1&&t.children[0].value!=null)_+=`>`,_+=t.children[0].value,_+=`</`+t.name+`>`+this.newline;else{if(this.dontprettytextnodes){for(y=t.children,o=0,c=y.length;o<c;o++)if(a=y[o],a.value!=null){this.textispresent++,S=!0;break}}for(this.textispresent&&(this.newline=``,this.pretty=!1,x=this.space(r)),_+=`>`+this.newline,b=t.children,s=0,m=b.length;s<m;s++)a=b[s],_+=(function(){switch(!1){case!(a instanceof e):return this.cdata(a,r+1);case!(a instanceof n):return this.comment(a,r+1);case!(a instanceof u):return this.element(a,r+1);case!(a instanceof f):return this.raw(a,r+1);case!(a instanceof p):return this.text(a,r+1);case!(a instanceof d):return this.processingInstruction(a,r+1);case!(a instanceof l):return``;default:throw Error(`Unknown XML node type: `+a.constructor.name)}}).call(this);S&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),_+=x+`</`+t.name+`>`+this.newline}return _},m.prototype.processingInstruction=function(e,t){var n=this.space(t)+`<?`+e.target;return e.value&&(n+=` `+e.value),n+=this.spacebeforeslash+`?>`+this.newline,n},m.prototype.raw=function(e,t){return this.space(t)+e.value+this.newline},m.prototype.text=function(e,t){return this.space(t)+e.value+this.newline},m.prototype.dtdAttList=function(e,t){var n=this.space(t)+`<!ATTLIST `+e.elementName+` `+e.attributeName+` `+e.attributeType;return e.defaultValueType!==`#DEFAULT`&&(n+=` `+e.defaultValueType),e.defaultValue&&(n+=` "`+e.defaultValue+`"`),n+=this.spacebeforeslash+`>`+this.newline,n},m.prototype.dtdElement=function(e,t){return this.space(t)+`<!ELEMENT `+e.name+` `+e.value+this.spacebeforeslash+`>`+this.newline},m.prototype.dtdEntity=function(e,t){var n=this.space(t)+`<!ENTITY`;return e.pe&&(n+=` %`),n+=` `+e.name,e.value?n+=` "`+e.value+`"`:(e.pubID&&e.sysID?n+=` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`:e.sysID&&(n+=` SYSTEM "`+e.sysID+`"`),e.nData&&(n+=` NDATA `+e.nData)),n+=this.spacebeforeslash+`>`+this.newline,n},m.prototype.dtdNotation=function(e,t){var n=this.space(t)+`<!NOTATION `+e.name;return e.pubID&&e.sysID?n+=` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`:e.pubID?n+=` PUBLIC "`+e.pubID+`"`:e.sysID&&(n+=` SYSTEM "`+e.sysID+`"`),n+=this.spacebeforeslash+`>`+this.newline,n},m.prototype.openNode=function(e,t){var n,r,i,a;if(t||=0,e instanceof u){for(r in i=this.space(t)+`<`+e.name,a=e.attributes,a)g.call(a,r)&&(n=a[r],i+=this.attribute(n));return i+=(e.children?`>`:`/>`)+this.newline,i}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,i},m.prototype.closeNode=function(e,t){switch(t||=0,!1){case!(e instanceof u):return this.space(t)+`</`+e.name+`>`+this.newline;case!(e instanceof c):return this.space(t)+`]>`+this.newline}},m})(m)}).call(n)})),Lo=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n,r,i,a=function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},o={}.hasOwnProperty;i=vo().isPlainObject,e=No(),r=Po(),n=Io(),t.exports=(function(e){a(t,e);function t(e){t.__super__.constructor.call(this,null),this.name=`?xml`,e||={},e.writer||(e.writer=new n),this.options=e,this.stringify=new r(e),this.isDocument=!0}return 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(n)})),Ro=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x={}.hasOwnProperty;b=vo(),v=b.isObject,_=b.isFunction,y=b.isPlainObject,g=b.getValue,u=bo(),n=xo(),r=So(),f=ko(),h=Ao(),d=jo(),c=Co(),l=Oo(),i=wo(),o=To(),a=Eo(),s=Do(),e=yo(),m=Po(),p=Io(),t.exports=(function(){function t(e,t,n){var r;this.name=`?xml`,e||={},e.writer?y(e.writer)&&(r=e.writer,e.writer=new p(r)):e.writer=new p(e),this.options=e,this.writer=e.writer,this.stringify=new m(e),this.onDataCallback=t||function(){},this.onEndCallback=n||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,n){var r,i;if(e==null)throw Error(`Missing node name.`);if(this.root&&this.currentLevel===-1)throw Error(`Document can only have one root node. `+this.debugInfo(e));return this.openCurrent(),e=g(e),t===null&&n==null&&(r=[{},null],t=r[0],n=r[1]),t??={},t=g(t),v(t)||(i=[t,n],n=i[0],t=i[1]),this.currentNode=new u(this,e,t),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,n!=null&&this.text(n),this},t.prototype.element=function(e,t,n){return this.currentNode&&this.currentNode instanceof l?this.dtdElement.apply(this,arguments):this.node(e,t,n)},t.prototype.attribute=function(t,n){var r,i;if(!this.currentNode||this.currentNode.children)throw Error(`att() can only be used immediately after an ele() call in callback mode. `+this.debugInfo(t));if(t!=null&&(t=g(t)),v(t))for(r in t)x.call(t,r)&&(i=t[r],this.attribute(r,i));else _(n)&&(n=n.apply()),this.options.skipNullAttributes&&n==null||(this.currentNode.attributes[t]=new e(this,t,n));return this},t.prototype.text=function(e){var t;return this.openCurrent(),t=new h(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 n(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 r(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 f(this,e),this.onData(this.writer.raw(t,this.currentLevel+1),this.currentLevel+1),this},t.prototype.instruction=function(e,t){var n,r,i,a,o;if(this.openCurrent(),e!=null&&(e=g(e)),t!=null&&(t=g(t)),Array.isArray(e))for(n=0,a=e.length;n<a;n++)r=e[n],this.instruction(r);else if(v(e))for(r in e)x.call(e,r)&&(i=e[r],this.instruction(r,i));else _(t)&&(t=t.apply()),o=new d(this,e,t),this.onData(this.writer.processingInstruction(o,this.currentLevel+1),this.currentLevel+1);return this},t.prototype.declaration=function(e,t,n){var r;if(this.openCurrent(),this.documentStarted)throw Error(`declaration() must be the first node.`);return r=new c(this,e,t,n),this.onData(this.writer.declaration(r,this.currentLevel+1),this.currentLevel+1),this},t.prototype.doctype=function(e,t,n){if(this.openCurrent(),e==null)throw Error(`Missing root node name.`);if(this.root)throw Error(`dtd() must come before the root node.`);return this.currentNode=new l(this,t,n),this.currentNode.rootNodeName=e,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},t.prototype.dtdElement=function(e,t){var n;return this.openCurrent(),n=new a(this,e,t),this.onData(this.writer.dtdElement(n,this.currentLevel+1),this.currentLevel+1),this},t.prototype.attList=function(e,t,n,r,a){var o;return this.openCurrent(),o=new i(this,e,t,n,r,a),this.onData(this.writer.dtdAttList(o,this.currentLevel+1),this.currentLevel+1),this},t.prototype.entity=function(e,t){var n;return this.openCurrent(),n=new o(this,!1,e,t),this.onData(this.writer.dtdEntity(n,this.currentLevel+1),this.currentLevel+1),this},t.prototype.pEntity=function(e,t){var n;return this.openCurrent(),n=new o(this,!0,e,t),this.onData(this.writer.dtdEntity(n,this.currentLevel+1),this.currentLevel+1),this},t.prototype.notation=function(e,t){var n;return this.openCurrent(),n=new s(this,e,t),this.onData(this.writer.dtdNotation(n,this.currentLevel+1),this.currentLevel+1),this},t.prototype.up=function(){if(this.currentLevel<0)throw 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&&this.currentLevel===0&&e instanceof u&&(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 e==null?``:`node: <`+e+`>`},t.prototype.ele=function(){return this.element.apply(this,arguments)},t.prototype.nod=function(e,t,n){return this.node(e,t,n)},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,n){return this.declaration(e,t,n)},t.prototype.dtd=function(e,t,n){return this.doctype(e,t,n)},t.prototype.e=function(e,t,n){return this.element(e,t,n)},t.prototype.n=function(e,t,n){return this.node(e,t,n)},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(n)})),zo=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n,r,i,a,o,s,c,l,u,d,f,p,m,h=function(e,t){for(var n in t)g.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},g={}.hasOwnProperty;s=Co(),c=Oo(),e=xo(),n=So(),u=bo(),f=ko(),p=Ao(),d=jo(),l=Mo(),r=wo(),i=Eo(),a=To(),o=Do(),m=Fo(),t.exports=(function(t){h(m,t);function m(e,t){m.__super__.constructor.call(this,t),this.stream=e}return m.prototype.document=function(e){var t,r,i,a,o,u=e.children,f,p;for(r=0,a=u.length;r<a;r++)t=u[r],t.isLastRootNode=!1;for(e.children[e.children.length-1].isLastRootNode=!0,f=e.children,p=[],i=0,o=f.length;i<o;i++)if(t=f[i],!(t instanceof l))switch(!1){case!(t instanceof s):p.push(this.declaration(t));break;case!(t instanceof c):p.push(this.docType(t));break;case!(t instanceof n):p.push(this.comment(t));break;case!(t instanceof d):p.push(this.processingInstruction(t));break;default:p.push(this.element(t))}return p},m.prototype.attribute=function(e){return this.stream.write(` `+e.name+`="`+e.value+`"`)},m.prototype.cdata=function(e,t){return this.stream.write(this.space(t)+`<![CDATA[`+e.text+`]]>`+this.endline(e))},m.prototype.comment=function(e,t){return this.stream.write(this.space(t)+`<!-- `+e.text+` -->`+this.endline(e))},m.prototype.declaration=function(e,t){return this.stream.write(this.space(t)),this.stream.write(`<?xml version="`+e.version+`"`),e.encoding!=null&&this.stream.write(` encoding="`+e.encoding+`"`),e.standalone!=null&&this.stream.write(` standalone="`+e.standalone+`"`),this.stream.write(this.spacebeforeslash+`?>`),this.stream.write(this.endline(e))},m.prototype.docType=function(t,s){var c,l,u,f;if(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)),f=t.children,l=0,u=f.length;l<u;l++)switch(c=f[l],!1){case!(c instanceof r):this.dtdAttList(c,s+1);break;case!(c instanceof i):this.dtdElement(c,s+1);break;case!(c instanceof a):this.dtdEntity(c,s+1);break;case!(c instanceof o):this.dtdNotation(c,s+1);break;case!(c instanceof e):this.cdata(c,s+1);break;case!(c instanceof n):this.comment(c,s+1);break;case!(c instanceof d):this.processingInstruction(c,s+1);break;default:throw Error(`Unknown DTD node type: `+c.constructor.name)}this.stream.write(`]`)}return this.stream.write(this.spacebeforeslash+`>`),this.stream.write(this.endline(t))},m.prototype.element=function(t,r){var i,a,o,s,c,m,h,_;for(c in r||=0,_=this.space(r),this.stream.write(_+`<`+t.name),m=t.attributes,m)g.call(m,c)&&(i=m[c],this.attribute(i));if(t.children.length===0||t.children.every(function(e){return e.value===``}))this.allowEmpty?this.stream.write(`></`+t.name+`>`):this.stream.write(this.spacebeforeslash+`/>`);else if(this.pretty&&t.children.length===1&&t.children[0].value!=null)this.stream.write(`>`),this.stream.write(t.children[0].value),this.stream.write(`</`+t.name+`>`);else{for(this.stream.write(`>`+this.newline),h=t.children,o=0,s=h.length;o<s;o++)switch(a=h[o],!1){case!(a instanceof e):this.cdata(a,r+1);break;case!(a instanceof n):this.comment(a,r+1);break;case!(a instanceof u):this.element(a,r+1);break;case!(a instanceof f):this.raw(a,r+1);break;case!(a instanceof p):this.text(a,r+1);break;case!(a instanceof d):this.processingInstruction(a,r+1);break;case!(a instanceof l):break;default:throw Error(`Unknown XML node type: `+a.constructor.name)}this.stream.write(_+`</`+t.name+`>`)}return this.stream.write(this.endline(t))},m.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))},m.prototype.raw=function(e,t){return this.stream.write(this.space(t)+e.value+this.endline(e))},m.prototype.text=function(e,t){return this.stream.write(this.space(t)+e.value+this.endline(e))},m.prototype.dtdAttList=function(e,t){return this.stream.write(this.space(t)+`<!ATTLIST `+e.elementName+` `+e.attributeName+` `+e.attributeType),e.defaultValueType!==`#DEFAULT`&&this.stream.write(` `+e.defaultValueType),e.defaultValue&&this.stream.write(` "`+e.defaultValue+`"`),this.stream.write(this.spacebeforeslash+`>`+this.endline(e))},m.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))},m.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))},m.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))},m.prototype.endline=function(e){return e.isLastRootNode?``:this.newline},m})(m)}).call(n)})),Bo=/* @__PURE__ */ s(((e,t,n)=>{(function(){var e,n,r,i,a,o,s=vo();a=s.assign,o=s.isFunction,e=Lo(),n=Ro(),i=Io(),r=zo(),t.exports.create=function(t,n,r,i){var o,s;if(t==null)throw Error(`Root element needs a name.`);return i=a({},n,r,i),o=new e(i),s=o.element(t),i.headless||(o.declaration(i),(i.pubID!=null||i.sysID!=null)&&o.doctype(i)),s},t.exports.begin=function(t,r,i){var a;return o(t)&&(a=[t,r],r=a[0],i=a[1],t={}),r?new n(t,r,i):new e(t)},t.exports.stringWriter=function(e){return new i(e)},t.exports.streamWriter=function(e,t){return new r(e,t)}}).call(n)})),Vo=/* @__PURE__ */ s((e=>{var t=($(),d(Q)),n=Bo();e.writeString=r;function r(e,r){var a=t.invert(r),o={element:c,text:i};function s(e,t){return o[t.type](e,t)}function c(e,t){var n=e.element(l(t.name),t.attributes);t.children.forEach(function(e){s(n,e)})}function l(e){var t=/^\{(.*)\}(.*)$/.exec(e);if(t){var n=a[t[1]];return n+(n===``?``:`:`)+t[2]}return e}function u(e){var i=n.create(l(e.name),{version:`1.0`,encoding:`UTF-8`,standalone:!0});return t.forEach(r,function(e,t){var n=`xmlns`+(t===``?``:`:`+t);i.attribute(n,e)}),e.children.forEach(function(e){s(i,e)}),i.end()}return u(e)}function i(e,t){e.text(t.value)}})),Ho=/* @__PURE__ */ s((e=>{var t=co();e.Element=t.Element,e.element=t.element,e.emptyElement=t.emptyElement,e.text=t.text,e.readString=_o().readString,e.writeString=Vo().writeString})),Uo=/* @__PURE__ */ s((e=>{var t=($(),d(Q)),n=no(),r=Ho();e.read=a,e.readXmlFromZipFile=o;var i={"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 r.readString(e,i).then(function(e){return c(e)[0]})}function o(e,t){return e.exists(t)?e.read(t,`utf-8`).then(s).then(a):n.resolve(null)}function s(e){return e.replace(/^\uFEFF/g,``)}function c(e){return e.type===`element`?e.name===`mc:AlternateContent`?e.firstOrEmpty(`mc:Fallback`).children:(e.children=t.flatten(e.children.map(c,!0)),[e]):[e]}})),Wo=/* @__PURE__ */ s((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}}})),Go=/* @__PURE__ */ s(((e,t,n)=>{var r=n&&n.__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 i=r(Wo()),a=String.fromCodePoint?String.fromCodePoint:l;function o(e,t){var n=i.default[e.toUpperCase()];if(n!==void 0){var r=n[t];if(r!==void 0)return{codePoint:r,string:a(r)}}}e.codePoint=o;function s(e,t){return o(e,parseInt(t,10))}e.dec=s;function c(e,t){return o(e,parseInt(t,16))}e.hex=c;function l(e){if(e<=65535)return String.fromCharCode(e);var t=Math.floor((e-65536)/1024)+55296,n=(e-65536)%1024+56320;return String.fromCharCode(t,n)}})),Ko=/* @__PURE__ */ s((e=>{var t=($(),d(Q));e.paragraph=n,e.run=r,e._elements=a,e._elementsOfType=i,e.getDescendantsOfType=o,e.getDescendants=s;function n(e){return i(`paragraph`,e)}function r(e){return i(`run`,e)}function i(e,t){return a(function(n){return n.type===e?t(n):n})}function a(e){return function n(r){if(r.children){var i=t.map(r.children,n);r=t.extend(r,{children:i})}return e(r)}}function o(e,t){return s(e).filter(function(e){return e.type===t})}function s(e){var t=[];return c(e,function(e){t.push(e)}),t}function c(e,t){e.children&&e.children.forEach(function(e){c(e,t),t(e)})}})),qo=/* @__PURE__ */ s((e=>{e.uriToZipEntryName=t,e.replaceFragment=n;function t(e,t){return t.charAt(0)===`/`?t.substr(1):e+`/`+t}function n(e,t){var n=e.indexOf(`#`);return n!==-1&&(e=e.substring(0,n)),e+`#`+t}})),Jo=/* @__PURE__ */ s((e=>{e.createBodyReader=l,e._readNumberingProperties=f;var t=Go(),n=($(),d(Q)),r=ro(),i=io().Result,a=io().warning,o=Ho(),s=Ko(),c=qo();function l(e){return{readXmlElement:function(t){return new u(e).readXmlElement(t)},readXmlElements:function(t){return new u(e).readXmlElements(t)}}}function u(e){var i=[],l=[],u=[],d=e.relationships,x=e.contentTypes,S=e.docxFile,C=e.files,w=e.numbering,T=e.styles;function E(e){return b(e.map(D))}function D(e){if(e.type===`element`){var t=ne[e.name];if(t)return t(e);if(!Object.prototype.hasOwnProperty.call(m,e.name))return h([a(`An unrecognised element was ignored: `+e.name)])}return g()}function O(e){return F(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`),w),indent:k(e.firstOrEmpty(`w:ind`))}})}function k(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 A(e){return I(e).map(function(t){var n=e.firstOrEmpty(`w:sz`).attributes[`w:val`],r=/^[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:r,isBold:M(e.first(`w:b`)),isUnderline:j(e.first(`w:u`)),isItalic:M(e.first(`w:i`)),isStrikethrough:M(e.first(`w:strike`)),isAllCaps:M(e.first(`w:caps`)),isSmallCaps:M(e.first(`w:smallCaps`)),highlight:P(e.firstOrEmpty(`w:highlight`).attributes[`w:val`])}})}function j(e){if(e){var t=e.attributes[`w:val`];return t!==void 0&&t!==`false`&&t!==`0`&&t!==`none`}return!1}function M(e){if(e){var t=e.attributes[`w:val`];return t!==`false`&&t!==`0`}return!1}function N(e){return e!==`false`&&e!==`0`}function P(e){return!e||e===`none`?null:e}function F(e){return R(e,`w:pStyle`,`Paragraph`,T.findParagraphStyleById)}function I(e){return R(e,`w:rStyle`,`Run`,T.findCharacterStyleById)}function L(e){return R(e,`w:tblStyle`,`Table`,T.findTableStyleById)}function R(e,t,n,r){var i=[],a=e.first(t),o=null,s=null;if(a&&(o=a.attributes[`w:val`],o)){var c=r(o);c?s=c.name:i.push(_e(n,o))}return v({styleId:o,name:s},i)}function z(e){var t=e.attributes[`w:fldCharType`];if(t===`begin`)i.push({type:`begin`,fldChar:e}),l=[];else if(t===`end`){if(i.length===0)return h([a(`Ignoring complex field end character without corresponding start character`)]);var n=i.pop();if(n.type===`begin`&&(n=V(n)),n.type===`checkbox`)return _(r.checkbox({checked:n.checked}))}else if(t===`separate`){if(i.length===0)return h([a(`Ignoring complex field separator character without corresponding start character`)]);var o=V(i.pop());i.push(o)}return g()}function B(){var e=n.last(i.filter(function(e){return e.type===`hyperlink`}));return e?e.options:null}function V(e){return H(l.join(``),e.type===`begin`?e.fldChar:o.emptyElement)}function H(e,t){var n=/^\s*HYPERLINK\s+(\\l\s+)?(?:"(.*)"|([^\\]\S*))/.exec(e);if(n){var r=n[2]===void 0?n[3]:n[2];return{type:`hyperlink`,options:n[1]===void 0?{href:r}:{anchor:r}}}if(/\s*FORMCHECKBOX\s*/.exec(e)){var i=t.firstOrEmpty(`w:ffData`).firstOrEmpty(`w:checkBox`);return{type:`checkbox`,checked:M(i.first(`w:checked`)??i.first(`w:default`))}}return{type:`unknown`}}function U(e){return l.push(e.text()),g()}function ee(e){var n=e.attributes[`w:font`],i=e.attributes[`w:char`],o=t.hex(n,i);return o==null&&/^F0..$/.test(i)&&(o=t.hex(n,i.substring(2))),o==null?h([a(`A w:sym element with an unsupported character was ignored: char `+i+` in font `+n)]):_(new r.Text(o.string))}function te(e){return function(t){var n=t.attributes[`w:id`];return _(new r.NoteReference({noteType:e,noteId:n}))}}function W(e){return _(r.commentReference({commentId:e.attributes[`w:id`]}))}function G(e){return E(e.children)}var ne={"w:p":function(e){var t=e.firstOrEmpty(`w:pPr`);if(t.firstOrEmpty(`w:rPr`).first(`w:del`))return e.children.forEach(function(e){u.push(e)}),g();var n=e.children;return u.length>0&&(n=u.concat(n),u=[]),y.map(O(t),E(n),function(e,t){return new r.Paragraph(t,e)}).insertExtra()},"w:r":function(e){return y.map(A(e.firstOrEmpty(`w:rPr`)),E(e.children),function(e,t){var n=B();return n!==null&&(t=[new r.Hyperlink(t,n)]),new r.Run(t,e)})},"w:fldChar":z,"w:instrText":U,"w:t":function(e){return _(new r.Text(e.text()))},"w:tab":function(e){return _(new r.Tab)},"w:noBreakHyphen":function(){return _(new r.Text(`‑`))},"w:softHyphen":function(e){return _(new r.Text(`­`))},"w:sym":ee,"w:hyperlink":function(e){var t=e.attributes[`r:id`],i=e.attributes[`w:anchor`];return E(e.children).map(function(a){function o(t){var i=e.attributes[`w:tgtFrame`]||null;return new r.Hyperlink(a,n.extend({targetFrame:i},t))}if(t){var s=d.findTargetByRelationshipId(t);return i&&(s=c.replaceFragment(s,i)),o({href:s})}return i?o({anchor:i}):a})},"w:tbl":re,"w:tr":ae,"w:tc":oe,"w:footnoteReference":te(`footnote`),"w:endnoteReference":te(`endnote`),"w:commentReference":W,"w:br":function(e){var t=e.attributes[`w:type`];return t==null||t===`textWrapping`?_(r.lineBreak):t===`page`?_(r.pageBreak):t===`column`?_(r.columnBreak):h([a(`Unsupported break type: `+t)])},"w:bookmarkStart":function(e){var t=e.attributes[`w:name`];return t===`_GoBack`?g():_(new r.BookmarkStart({name:t}))},"mc:AlternateContent":function(e){return G(e.firstOrEmpty(`mc:Fallback`))},"w:sdt":function(e){return E(e.firstOrEmpty(`w:sdtContent`).children).map(function(t){var n=e.firstOrEmpty(`w:sdtPr`).first(`wordml:checkbox`);if(n){var i=n.first(`wordml:checked`),a=!!i&&N(i.attributes[`wordml:val`]),o=r.checkbox({checked:a}),c=!1,l=t.map(s._elementsOfType(r.types.text,function(e){return e.value.length>0&&!c?(c=!0,o):e}));return c?l:o}return t})},"w:customXml":G,"w:ins":G,"w:moveFromRangeEnd":G,"w:moveFromRangeStart":G,"w:moveTo":G,"w:moveToRangeEnd":G,"w:moveToRangeStart":G,"w:object":G,"w:smartTag":G,"w:drawing":G,"w:pict":function(e){return G(e).toExtra()},"v:roundrect":G,"v:shape":G,"v:textbox":G,"w:txbxContent":G,"wp:inline":ue,"wp:anchor":ue,"v:imagedata":me,"v:group":G,"v:rect":G};return{readXmlElement:D,readXmlElements:E};function re(e){var t=ie(e.firstOrEmpty(`w:tblPr`));return E(e.children).flatMap(ce).flatMap(function(e){return t.map(function(t){return r.Table(e,t)})})}function ie(e){return L(e).map(function(e){return{styleId:e.styleId,styleName:e.name}})}function ae(e){var t=e.firstOrEmpty(`w:trPr`);if(t.first(`w:del`))return g();var n=!!t.first(`w:tblHeader`);return E(e.children).map(function(e){return r.TableRow(e,{isHeader:n})})}function oe(e){return E(e.children).map(function(t){var n=e.firstOrEmpty(`w:tcPr`),i=n.firstOrEmpty(`w:gridSpan`).attributes[`w:val`],a=i?parseInt(i,10):1,o=r.TableCell(t,{colSpan:a});return o._vMerge=se(n),o})}function se(e){var t=e.first(`w:vMerge`);if(t){var n=t.attributes[`w:val`];return n===`continue`||!n}return null}function ce(e){if(n.any(e,function(e){return e.type!==r.types.tableRow}))return le(e),v(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!==r.types.tableCell})}))return le(e),v(e,[a(`unexpected non-cell element in table row, cell merging may be incorrect`)]);var t={};return e.forEach(function(e){var n=0;e.children.forEach(function(e){e._vMerge&&t[n]?t[n].rowSpan++:(t[n]=e,e._vMerge=!1),n+=e.colSpan})}),e.forEach(function(e){e.children=e.children.filter(function(e){return!e._vMerge}),e.children.forEach(function(e){delete e._vMerge})}),_(e)}function le(e){e.forEach(function(e){s.getDescendantsOfType(e,r.types.tableCell).forEach(function(e){delete e._vMerge})})}function ue(e){return b(e.getElementsByTagName(`a:graphic`).getElementsByTagName(`a:graphicData`).getElementsByTagName(`pic:pic`).getElementsByTagName(`pic:blipFill`).getElementsByTagName(`a:blip`).map(de.bind(null,e)))}function de(e,t){var n=e.firstOrEmpty(`wp:docPr`),i=n.attributes,o=fe(i.descr)?i.title:i.descr,s=pe(t);return s===null?h([a(`Could not find image file for a:blip element`)]):ge(s,o).map(function(e){var t=n.firstOrEmpty(`a:hlinkClick`).attributes[`r:id`];if(t){var i=d.findTargetByRelationshipId(t);return new r.Hyperlink([e],{href:i})}return e})}function fe(e){return e==null||/^\s*$/.test(e)}function pe(e){var t=e.attributes[`r:embed`],n=e.attributes[`r:link`];if(t)return he(t);if(n){var r=d.findTargetByRelationshipId(n);return{path:r,read:C.read.bind(C,r)}}return null}function me(e){var t=e.attributes[`r:id`];return t?ge(he(t),e.attributes[`o:title`]):h([a(`A v:imagedata element without a relationship ID was ignored`)])}function he(e){var t=c.uriToZipEntryName(`word`,d.findTargetByRelationshipId(e));return{path:t,read:S.read.bind(S,t)}}function ge(e,t){var n=x.findContentType(e.path);return v(r.Image({readImage:e.read,altText:t,contentType:n}),p[n]?[]:a(`Image of type `+n+` is unlikely to display in web browsers`))}function _e(e,t){return a(e+` style with ID `+t+` was referenced but not defined in the document`)}}function f(e,t,n){var r=t.firstOrEmpty(`w:ilvl`).attributes[`w:val`],i=t.firstOrEmpty(`w:numId`).attributes[`w:val`];if(r!==void 0&&i!==void 0)return n.findLevel(i,r);if(e!=null){var a=n.findLevelByParagraphStyleId(e);if(a!=null)return a}return i===void 0?null:n.findLevel(i,`0`)}var p={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},m={"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 h(e){return new y(null,null,e)}function g(){return new y(null)}function _(e){return new y(e)}function v(e,t){return new y(e,null,t)}function y(e,t,n){this.value=e||[],this.extra=t||[],this._result=new i({element:this.value,extra:t},n),this.messages=this._result.messages}y.prototype.toExtra=function(){return new y(null,x(this.extra,this.value),this.messages)},y.prototype.insertExtra=function(){var e=this.extra;return e&&e.length?new y(x(this.value,e),null,this.messages):this},y.prototype.map=function(e){var t=this._result.map(function(t){return e(t.element)});return new y(t.value,this.extra,t.messages)},y.prototype.flatMap=function(e){var t=this._result.flatMap(function(t){return e(t.element)._result});return new y(t.value.element,x(this.extra,t.value.extra),t.messages)},y.map=function(e,t,n){return new y(n(e.value,t.value),x(e.extra,t.extra),e.messages.concat(t.messages))};function b(e){var t=i.combine(n.pluck(e,`_result`));return new y(n.flatten(n.pluck(t.value,`element`)),n.filter(n.flatten(n.pluck(t.value,`extra`)),S),t.messages)}function x(e,t){return n.flatten([e,t])}function S(e){return e}})),Yo=/* @__PURE__ */ s((e=>{e.DocumentXmlReader=r;var t=ro(),n=io().Result;function r(e){var r=e.bodyReader;function i(i){var a=i.first(`w:body`);if(a==null)throw Error(`Could not find the body element: are you sure this is a docx file?`);var o=r.readXmlElements(a.children).map(function(n){return new t.Document(n,{notes:e.notes,comments:e.comments})});return new n(o.value,o.messages)}return{convertXmlToDocument:i}}})),Xo=/* @__PURE__ */ s((e=>{e.readRelationships=t,e.defaultValue=new n([]),e.Relationships=n;function t(e){var t=[];return e.children.forEach(function(e){if(e.name===`relationships:Relationship`){var n={relationshipId:e.attributes.Id,target:e.attributes.Target,type:e.attributes.Type};t.push(n)}}),new n(t)}function n(e){var t=Object.create(null);e.forEach(function(e){t[e.relationshipId]=e.target});var n=Object.create(null);return e.forEach(function(e){n[e.type]||(n[e.type]=[]),n[e.type].push(e.target)}),{findTargetByRelationshipId:function(e){return t[e]},findTargetsByType:function(e){return n[e]||[]}}}})),Zo=/* @__PURE__ */ s((e=>{e.readContentTypesFromXml=n;var t={png:`png`,gif:`gif`,jpeg:`jpeg`,jpg:`jpeg`,tif:`tiff`,tiff:`tiff`,bmp:`bmp`};e.defaultContentTypes=r({},{});function n(e){var t=Object.create(null),n=Object.create(null);return e.children.forEach(function(e){if(e.name===`content-types:Default`&&(t[e.attributes.Extension]=e.attributes.ContentType),e.name===`content-types:Override`){var r=e.attributes.PartName;r.charAt(0)===`/`&&(r=r.substring(1)),n[r]=e.attributes.ContentType}}),r(n,t)}function r(e,n){return{findContentType:function(r){var i=e[r];if(i)return i;var a=r.split(`.`),o=a[a.length-1];if(Object.prototype.hasOwnProperty.call(n,o))return n[o];var s=t[o.toLowerCase()];return s?`image/`+s:null}}}})),Qo=/* @__PURE__ */ s((e=>{var t=($(),d(Q));e.readNumberingXml=r,e.Numbering=n,e.defaultNumbering=new n({},{});function n(e,n,r){var i=t.flatten(t.values(n).map(function(e){return t.values(e.levels)})),a=t.indexBy(i.filter(function(e){return e.paragraphStyleId!=null}),`paragraphStyleId`);function o(e,t){return s(e,t,Object.create(null))}function s(t,i,a){if(a[t])return null;a[t]=!0;var o=e[t];if(!o)return null;var c=n[o.abstractNumId];return c?c.numStyleLink==null?n[o.abstractNumId].levels[i]:s(r.findNumberingStyleById(c.numStyleLink).numId,i,a):null}function c(e){return a[e]||null}return{findLevel:o,findLevelByParagraphStyleId:c}}function r(e,t){if(!t||!t.styles)throw Error(`styles is missing`);var r=i(e);return new n(o(e,r),r,t.styles)}function i(e){var t=Object.create(null);return e.getElementsByTagName(`w:abstractNum`).forEach(function(e){var n=e.attributes[`w:abstractNumId`];t[n]=a(e)}),t}function a(e){var t=Object.create(null),n=null;return e.getElementsByTagName(`w:lvl`).forEach(function(e){var r=e.attributes[`w:ilvl`],i=e.firstOrEmpty(`w:numFmt`).attributes[`w:val`]!==`bullet`,a=e.firstOrEmpty(`w:pStyle`).attributes[`w:val`];r===void 0?n={isOrdered:i,level:`0`,paragraphStyleId:a}:t[r]={isOrdered:i,level:r,paragraphStyleId:a}}),n!==null&&t[n.level]===void 0&&(t[n.level]=n),{levels:t,numStyleLink:e.firstOrEmpty(`w:numStyleLink`).attributes[`w:val`]}}function o(e){var t=Object.create(null);return e.getElementsByTagName(`w:num`).forEach(function(e){var n=e.attributes[`w:numId`];t[n]={abstractNumId:e.first(`w:abstractNumId`).attributes[`w:val`]}}),t}})),$o=/* @__PURE__ */ s((e=>{e.readStylesXml=n,e.Styles=t,e.defaultStyles=new t({},{});function t(e,t,n,r){return{findParagraphStyleById:function(t){return e[t]},findCharacterStyleById:function(e){return t[e]},findTableStyleById:function(e){return n[e]},findNumberingStyleById:function(e){return r[e]}}}t.EMPTY=new t({},{},{},{});function n(e){var n=Object.create(null),i=Object.create(null),a=Object.create(null),o=Object.create(null);return e.getElementsByTagName(`w:style`).forEach(function(e){var t=r(e),s;switch(t.type){case`paragraph`:s=n;break;case`character`:s=i;break;case`table`:s=a;break;case`numbering`:s=o}s&&s[t.styleId]===void 0&&(s[t.styleId]=t)}),new t(n,i,a,o)}function r(e){var t=e.attributes[`w:type`];return t===`numbering`?a(t,e):{type:t,styleId:o(e),name:i(e)}}function i(e){var t=e.first(`w:name`);return t?t.attributes[`w:val`]:null}function a(e,t){var n=o(t);return{type:e,numId:t.firstOrEmpty(`w:pPr`).firstOrEmpty(`w:numPr`).firstOrEmpty(`w:numId`).attributes[`w:val`],styleId:n}}function o(e){return e.attributes[`w:styleId`]}})),es=/* @__PURE__ */ s(((e,t,n)=>{var r=ro(),i=io().Result;e.createFootnotesReader=a.bind(n,`footnote`),e.createEndnotesReader=a.bind(n,`endnote`);function a(e,t){function n(t){return i.combine(t.getElementsByTagName(`w:`+e).filter(a).map(o))}function a(e){var t=e.attributes[`w:type`];return t!==`continuationSeparator`&&t!==`separator`}function o(n){var i=n.attributes[`w:id`];return t.readXmlElements(n.children).map(function(t){return r.Note({noteType:e,noteId:i,body:t})})}return n}})),ts=/* @__PURE__ */ s((e=>{var t=ro(),n=io().Result;function r(e){function r(e){return n.combine(e.getElementsByTagName(`w:comment`).map(i))}function i(n){var r=n.attributes[`w:id`];function i(e){return(n.attributes[e]||``).trim()||null}return e.readXmlElements(n.children).map(function(e){return t.comment({commentId:r,body:e,authorName:i(`w:author`),authorInitials:i(`w:initials`)})})}return r}e.createCommentsReader=r})),ns=/* @__PURE__ */ s((e=>{var t=no();e.Files=n;function n(){function e(e){return t.reject(/* @__PURE__ */ Error(`could not open external image: '`+e+`'
34
+ cannot open linked files from a web browser`))}return{read:e}}})),rs=/* @__PURE__ */ s((e=>{e.read=h,e._findPartPaths=g;var t=no(),n=ro(),r=io().Result,i=so(),a=Uo().readXmlFromZipFile,o=Jo().createBodyReader,s=Yo().DocumentXmlReader,c=Xo(),l=Zo(),u=Qo(),d=$o(),f=es(),p=ts(),m=ns().Files;function h(e,i,a){i||={},a||={};var o=new m({externalFileAccess:a.externalFileAccess,relativeToFile:i.path});return t.props({contentTypes:S(e),partPaths:g(e),docxFile:e,files:o}).also(function(t){return{styles:w(e,t.partPaths.styles)}}).also(function(t){return{numbering:C(e,t.partPaths.numbering,t.styles)}}).also(function(e){return{footnotes:b(e.partPaths.footnotes,e,function(e,t){return t?f.createFootnotesReader(e)(t):new r([])}),endnotes:b(e.partPaths.endnotes,e,function(e,t){return t?f.createEndnotesReader(e)(t):new r([])}),comments:b(e.partPaths.comments,e,function(e,t){return t?p.createCommentsReader(e)(t):new r([])})}}).also(function(e){return{notes:e.footnotes.flatMap(function(t){return e.endnotes.map(function(e){return new n.Notes(t.concat(e))})})}}).then(function(e){return b(e.partPaths.mainDocument,e,function(t,n){return e.notes.flatMap(function(r){return e.comments.flatMap(function(e){return new s({bodyReader:t,notes:r,comments:e}).convertXmlToDocument(n)})})})})}function g(e){return T(e).then(function(t){var n=_({docxFile:e,relationships:t,relationshipType:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`,basePath:``,fallbackPath:`word/document.xml`});if(!e.exists(n))throw Error(`Could not find main document part. Are you sure this is a valid .docx file?`);return y({filename:x(n),readElement:c.readRelationships,defaultValue:c.defaultValue})(e).then(function(t){function r(r){return _({docxFile:e,relationships:t,relationshipType:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/`+r,basePath:i.splitPath(n).dirname,fallbackPath:`word/`+r+`.xml`})}return{mainDocument:n,comments:r(`comments`),endnotes:r(`endnotes`),footnotes:r(`footnotes`),numbering:r(`numbering`),styles:r(`styles`)}})})}function _(e){var t=e.docxFile,n=e.relationships,r=e.relationshipType,a=e.basePath,o=e.fallbackPath,s=n.findTargetsByType(r).map(function(e){return v(i.joinPath(a,e),`/`)}).filter(function(e){return t.exists(e)});return s.length===0?o:s[0]}function v(e,t){return e.substring(0,t.length)===t?e.substring(t.length):e}function y(e){return function(t){return a(t,e.filename).then(function(t){return t?e.readElement(t):e.defaultValue})}}function b(e,t,n){return y({filename:x(e),readElement:c.readRelationships,defaultValue:c.defaultValue})(t.docxFile).then(function(r){var i=new o({relationships:r,contentTypes:t.contentTypes,docxFile:t.docxFile,numbering:t.numbering,styles:t.styles,files:t.files});return a(t.docxFile,e).then(function(e){return n(i,e)})})}function x(e){var t=i.splitPath(e);return i.joinPath(t.dirname,`_rels`,t.basename+`.rels`)}var S=y({filename:`[Content_Types].xml`,readElement:l.readContentTypesFromXml,defaultValue:l.defaultContentTypes});function C(e,t,n){return y({filename:t,readElement:function(e){return u.readNumberingXml(e,{styles:n})},defaultValue:u.defaultNumbering})(e)}function w(e,t){return y({filename:t,readElement:d.readStylesXml,defaultValue:d.defaultStyles})(e)}var T=y({filename:`_rels/.rels`,readElement:c.readRelationships,defaultValue:c.defaultValue})})),is=/* @__PURE__ */ s((e=>{var t=($(),d(Q)),n=no(),r=Ho();e.writeStyleMap=s,e.readStyleMap=f;var i=`http://schemas.zwobble.org/mammoth/style-map`,a=`mammoth/style-map`,o=`/`+a;function s(e,t){return e.write(a,t),c(e).then(function(){return l(e)})}function c(e){var t=`word/_rels/document.xml.rels`,n=`http://schemas.openxmlformats.org/package/2006/relationships`,a=`{`+n+`}Relationship`;return e.read(t,`utf8`).then(r.readString).then(function(s){var c=s.children;u(c,a,`Id`,{Id:`rMammothStyleMap`,Type:i,Target:o});var l={"":n};return e.write(t,r.writeString(s,l))})}function l(e){var t=`[Content_Types].xml`,n=`http://schemas.openxmlformats.org/package/2006/content-types`,i=`{`+n+`}Override`;return e.read(t,`utf8`).then(r.readString).then(function(a){var s=a.children;u(s,i,`PartName`,{PartName:o,ContentType:`text/prs.mammoth.style-map`});var c={"":n};return e.write(t,r.writeString(a,c))})}function u(e,n,i,a){var o=t.find(e,function(e){return e.name===n&&e.attributes[i]===a[i]});o?o.attributes=a:e.push(r.element(n,a))}function f(e){return e.exists(a)?e.read(a,`utf8`):n.resolve(null)}})),as=/* @__PURE__ */ s((e=>{var t=cs();function n(e,n,r){return i(t.element(e,n,{fresh:!1}),r)}function r(e,n,r){return i(t.element(e,n,{fresh:!0}),r)}function i(e,t){return{type:`element`,tag:e,children:t||[]}}function a(e){return{type:`text`,value:e}}e.freshElement=r,e.nonFreshElement=n,e.elementWithTag=i,e.text=a,e.forceWrite={type:`forceWrite`};var o={br:!0,hr:!0,img:!0,input:!0};function s(e){return e.children.length===0&&o[e.tag.tagName]}e.isVoidElement=s})),os=/* @__PURE__ */ s(((e,t)=>{var n=($(),d(Q)),r=as();function i(e){return a(f(e))}function a(e){var t=[];return e.map(o).forEach(function(e){u(t,e)}),t}function o(e){return s[e.type](e)}var s={element:c,text:l,forceWrite:l};function c(e){return r.elementWithTag(e.tag,a(e.children))}function l(e){return e}function u(e,t){var n=e[e.length-1];t.type===`element`&&!t.tag.fresh&&n&&n.type===`element`&&t.tag.matchesElement(n.tag)?(t.tag.separator&&u(n.children,r.text(t.tag.separator)),t.children.forEach(function(e){u(n.children,e)})):e.push(t)}function f(e){return p(e,function(e){return m[e.type](e)})}function p(e,t){return n.flatten(n.map(e,t),!0)}var m={element:g,text:_,forceWrite:h};function h(e){return[e]}function g(e){var t=f(e.children);return t.length===0&&!r.isVoidElement(e)?[]:[r.elementWithTag(e.tag,t)]}function _(e){return e.value.length===0?[]:[e]}t.exports=i})),ss=/* @__PURE__ */ s((e=>{var t=as();e.freshElement=t.freshElement,e.nonFreshElement=t.nonFreshElement,e.elementWithTag=t.elementWithTag,e.text=t.text,e.forceWrite=t.forceWrite,e.simplify=os();function n(e,t){t.forEach(function(t){r(e,t)})}function r(e,t){i[t.type](e,t)}var i={element:a,text:o,forceWrite:function(){}};function a(e,r){t.isVoidElement(r)?e.selfClosing(r.tag.tagName,r.tag.attributes):(e.open(r.tag.tagName,r.tag.attributes),n(e,r.children),e.close(r.tag.tagName))}function o(e,t){e.text(t.value)}e.write=n})),cs=/* @__PURE__ */ s((e=>{var t=($(),d(Q)),n=ss();e.topLevelElement=r,e.elements=i,e.element=o;function r(e,t){return i([o(e,t,{fresh:!0})])}function i(e){return new a(e.map(function(e){return t.isString(e)?o(e):e}))}function a(e){this._elements=e}a.prototype.wrap=function(e){for(var t=e(),n=this._elements.length-1;n>=0;n--)t=this._elements[n].wrapNodes(t);return t};function o(e,t,n){return n||={},new s(e,t,n)}function s(e,n,r){var i=Object.create(null);t.isArray(e)?(e.forEach(function(e){i[e]=!0}),e=e[0]):i[e]=!0,this.tagName=e,this.tagNames=i,this.attributes=n||{},this.fresh=r.fresh,this.separator=r.separator}s.prototype.matchesElement=function(e){return this.tagNames[e.tagName]&&t.isEqual(this.attributes||{},e.attributes||{})},s.prototype.wrap=function(e){return this.wrapNodes(e())},s.prototype.wrapNodes=function(e){return[n.elementWithTag(this,e)]},e.empty=i([]),e.ignore={wrap:function(){return[]}}})),ls=/* @__PURE__ */ s((e=>{var t=($(),d(Q)),n=no(),r=ss();e.imgElement=i;function i(e){return function(i,a){return n.resolve(e(i)).then(function(e){var n={};return i.altText&&(n.alt=i.altText),t.extend(n,e),[r.freshElement(`img`,n)]})}}e.inline=e.imgElement,e.dataUri=i(function(e){return e.readAsBase64String().then(function(t){return{src:`data:`+e.contentType+`;base64,`+t}})});function a(e){return e.contentType.split(/\/|\\/)[1]}e.imageFilenameExtension=a})),us=/* @__PURE__ */ s((e=>{var t=($(),d(Q));e.writer=n;function n(e){return e||={},e.prettyPrint?i():a()}var r={div:!0,p:!0,ul:!0,li:!0};function i(){var e=0,n=[],i=!0,o=!1,s=a();function c(t,a){r[t]&&m(),n.push(t),s.open(t,a),r[t]&&e++,i=!1}function l(t){r[t]&&(e--,m()),n.pop(),s.close(t)}function u(e){p();var t=h()?e:e.replace(`
35
+ `,`
36
+ `);s.text(t)}function d(e,t){m(),s.selfClosing(e,t)}function f(){return n.length===0||r[n[n.length-1]]}function p(){o||=(m(),!0)}function m(){if(o=!1,!i&&f()&&!h()){s._append(`
37
+ `);for(var t=0;t<e;t++)s._append(` `)}}function h(){return t.some(n,function(e){return e===`pre`})}return{asString:s.asString,open:c,close:l,text:u,selfClosing:d}}function a(){var e=[];function n(t,n){var r=a(n);e.push(`<`+t+r+`>`)}function r(t){e.push(`</`+t+`>`)}function i(t,n){var r=a(n);e.push(`<`+t+r+` />`)}function a(e){return t.map(e,function(e,t){return` `+t+`="`+s(e)+`"`}).join(``)}function c(t){e.push(o(t))}function l(t){e.push(t)}function u(){return e.join(``)}return{asString:u,open:n,close:r,text:c,selfClosing:i,_append:l}}function o(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}function s(e){return e.replace(/&/g,`&amp;`).replace(/"/g,`&quot;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}})),ds=/* @__PURE__ */ s((e=>{var t=($(),d(Q)),n=us();function r(e){return i(e,e)}function i(e,t){return function(){return{start:e,end:t}}}function a(e){var t=e.href||``;return t?{start:`[`,end:`](`+p(t)+`)`,anchorPosition:`before`}:{}}function o(e){var t=e.src||``,n=e.alt||``;return t||n?{start:`![`+p(n)+`](`+p(t)+`)`}:{}}function s(e){return function(t,n){return{start:n?`
38
+ `:``,end:n?``:`
39
+ `,list:{isOrdered:e.isOrdered,indent:n?n.indent+1:0,count:0}}}}function c(e,t,n){t||={indent:0,isOrdered:!1,count:0},t.count++,n.hasClosed=!1;var r=t.isOrdered?t.count+`.`:`-`;return{start:u(` `,t.indent)+r+` `,end:function(){if(!n.hasClosed)return n.hasClosed=!0,`
40
+ `}}}var l={p:i(``,`
41
+
42
+ `),br:i(``,`
43
+ `),ul:s({isOrdered:!1}),ol:s({isOrdered:!0}),li:c,strong:r(`__`),em:r(`*`),a,img:o};(function(){for(var e=1;e<=6;e++)l[`h`+e]=i(u(`#`,e)+` `,`
44
+
45
+ `)})();function u(e,t){return Array(t+1).join(e)}function f(){var e=[],r=[],i=null,a={};function o(t,n){n||={};var o=(l[t]||function(){return{}})(n,i,a);r.push({end:o.end,list:i}),o.list&&(i=o.list);var c=o.anchorPosition===`before`;c&&s(n),e.push(o.start||``),c||s(n)}function s(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 a=r.pop();i=a.list;var o=t.isFunction(a.end)?a.end():a.end;e.push(o||``)}function u(e,t){o(e,t),c(e)}function d(t){e.push(p(t))}function f(){return e.join(``)}return{asString:f,open:o,close:c,text:d,selfClosing:u}}e.writer=f;function p(e){return e.replace(/\\/g,`\\\\`).replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,`\\$1`)}})),fs=/* @__PURE__ */ s((e=>{var t=us(),n=ds();e.writer=r;function r(e){return e||={},e.outputFormat===`markdown`?n.writer():t.writer(e)}})),ps=/* @__PURE__ */ s((e=>{var t=($(),d(Q)),n=no(),r=ro(),i=cs(),a=io(),o=ls(),s=ss(),c=fs();e.DocumentConverter=l;function l(e){return{convertToHtml:function(n){return new u(e,t.indexBy(n.type===r.types.document?n.comments:[],`commentId`)).convertToHtml(n)}}}function u(e,l){var u=1,d=[],f=[];e=t.extend({ignoreEmptyParagraphs:!0},e);var v=e.idPrefix===void 0?``:e.idPrefix,y=e.ignoreEmptyParagraphs,b=i.topLevelElement(`p`),x=e.styleMap||[];function S(r){var i=[],o=w(r,i,Object.create(null)),l=[];g(o,function(e){e.type===`deferred`&&l.push(e)});var u=Object.create(null);return n.forEachSeries(l,function(e){return e.value().then(function(t){u[e.id]=t})}).then(function(){function n(e){return h(e,function(e){return e.type===`deferred`?u[e.id]:e.children?[t.extend({},e,{children:n(e.children)})]:[e]})}var r=c.writer({prettyPrint:e.prettyPrint,outputFormat:e.outputFormat});return s.write(r,s.simplify(n(o))),new a.Result(r.asString(),i)})}function C(e,t,n){return h(e,function(e){return w(e,t,n)})}function w(e,t,n){if(!n)throw Error(`context not set`);var r=W[e.type];return r?r(e,t,n):[]}function T(e,t,n){return E(e,t).wrap(function(){var r=C(e.children,t,n);return y?r:[s.forceWrite].concat(r)})}function E(e,t){var n=A(e);return n?n.to:(e.styleId&&t.push(m(`paragraph`,e)),b)}function D(e,t,n){var a=function(){return C(e.children,t,n)},o=[];if(e.highlight!==null){var s=k({type:`highlight`,color:e.highlight});s&&o.push(s)}e.isSmallCaps&&o.push(O(`smallCaps`)),e.isAllCaps&&o.push(O(`allCaps`)),e.isStrikethrough&&o.push(O(`strikethrough`,`s`)),e.isUnderline&&o.push(O(`underline`)),e.verticalAlignment===r.verticalAlignment.subscript&&o.push(i.element(`sub`,{},{fresh:!1})),e.verticalAlignment===r.verticalAlignment.superscript&&o.push(i.element(`sup`,{},{fresh:!1})),e.isItalic&&o.push(O(`italic`,`em`)),e.isBold&&o.push(O(`bold`,`strong`));var c=i.empty,l=A(e);return l?c=l.to:e.styleId&&t.push(m(`run`,e)),o.push(c),o.forEach(function(e){a=e.wrap.bind(e,a)}),a()}function O(e,t){return k({type:e})||(t?i.element(t,{},{fresh:!1}):i.empty)}function k(e,t){var n=A(e);return n?n.to:t}function A(e){for(var t=0;t<x.length;t++)if(x[t].from.matches(e))return x[t]}function j(e){return function(t,r){return n.try(function(){return e(t,r)}).catch(function(e){return r.push(a.error(e)),[]})}}function M(e){return P(e.noteType,e.noteId)}function N(e){return F(e.noteType,e.noteId)}function P(e,t){return I(e+`-`+t)}function F(e,t){return I(e+`-ref-`+t)}function I(e){return v+e}var L=i.elements([i.element(`table`,{},{fresh:!0})]);function R(e,t,n){return k(e,L).wrap(function(){return z(e,t,n)})}function z(e,n,i){var a=t.findIndex(e.children,function(e){return!e.type===r.types.tableRow||!e.isHeader});a===-1&&(a=e.children.length);var o;if(a===0)o=C(e.children,n,t.extend({},i,{isTableHeader:!1}));else{var c=C(e.children.slice(0,a),n,t.extend({},i,{isTableHeader:!0})),l=C(e.children.slice(a),n,t.extend({},i,{isTableHeader:!1}));o=[s.freshElement(`thead`,{},c),s.freshElement(`tbody`,{},l)]}return[s.forceWrite].concat(o)}function B(e,t,n){var r=C(e.children,t,n);return[s.freshElement(`tr`,{},[s.forceWrite].concat(r))]}function V(e,t,n){var r=n.isTableHeader?`th`:`td`,i=C(e.children,t,n),a={};return e.colSpan!==1&&(a.colspan=e.colSpan.toString()),e.rowSpan!==1&&(a.rowspan=e.rowSpan.toString()),[s.freshElement(r,a,[s.forceWrite].concat(i))]}function H(e,t,n){return k(e,i.ignore).wrap(function(){var t=l[e.commentId],n=f.length+1,r=`[`+_(t)+n+`]`;return f.push({label:r,comment:t}),[s.freshElement(`a`,{href:`#`+P(`comment`,e.commentId),id:F(`comment`,e.commentId)},[s.text(r)])]})}function U(e,t,n){var r=e.label,i=e.comment,a=C(i.body,t,n).concat([s.nonFreshElement(`p`,{},[s.text(` `),s.freshElement(`a`,{href:`#`+F(`comment`,i.commentId)},[s.text(`↑`)])])]);return[s.freshElement(`dt`,{id:P(`comment`,i.commentId)},[s.text(`Comment `+r)]),s.freshElement(`dd`,{},a)]}function ee(e,t,n){return te(e).wrap(function(){return[]})}function te(e){var t=A(e);return t?t.to:e.breakType===`line`?i.topLevelElement(`br`):i.empty}var W={document:function(e,t,n){var r=C(e.children,t,n),i=C(d.map(function(t){return e.notes.resolve(t)}),t,n);return r.concat([s.freshElement(`ol`,{},i),s.freshElement(`dl`,{},h(f,function(e){return U(e,t,n)}))])},paragraph:T,run:D,text:function(e,t,n){return[s.text(e.value)]},tab:function(e,t,n){return[s.text(` `)]},hyperlink:function(e,t,n){var r={href:e.anchor?`#`+I(e.anchor):e.href};e.targetFrame!=null&&(r.target=e.targetFrame);var i=C(e.children,t,n);return[s.nonFreshElement(`a`,r,i)]},checkbox:function(e){var t={type:`checkbox`};return e.checked&&(t.checked=`checked`),[s.freshElement(`input`,t)]},bookmarkStart:function(e,t,n){return[s.freshElement(`a`,{id:I(e.name)},[s.forceWrite])]},noteReference:function(e,t,n){d.push(e);var r=s.freshElement(`a`,{href:`#`+M(e),id:N(e)},[s.text(`[`+u+++`]`)]);return[s.freshElement(`sup`,{},[r])]},note:function(e,t,n){var r=C(e.body,t,n),a=s.elementWithTag(i.element(`p`,{},{fresh:!1}),[s.text(` `),s.freshElement(`a`,{href:`#`+N(e)},[s.text(`↑`)])]),o=r.concat([a]);return s.freshElement(`li`,{id:M(e)},o)},commentReference:H,comment:U,image:p(j(e.convertImage||o.dataUri)),table:R,tableRow:B,tableCell:V,break:ee};return{convertToHtml:S}}var f=1;function p(e){return function(t,n,r){return[{type:`deferred`,id:f++,value:function(){return e(t,n,r)}}]}}function m(e,t){return a.warning(`Unrecognised `+e+` style: '`+t.styleName+`' (Style ID: `+t.styleId+`)`)}function h(e,n){return t.flatten(e.map(n),!0)}function g(e,t){e.forEach(function(e){t(e),e.children&&g(e.children,t)})}var _=e.commentAuthorLabel=function(e){return e.authorInitials||``}})),ms=/* @__PURE__ */ s((e=>{var t=ro();function n(e){if(e.type===`text`)return e.value;if(e.type===t.types.tab)return` `;var r=e.type===`paragraph`?`
46
+
47
+ `:``;return(e.children||[]).map(n).join(``)+r}e.convertElementToRawText=n})),hs=/* @__PURE__ */ s(((e,t)=>{var n=t.exports=function(e,t){this._tokens=e,this._startIndex=t||0};n.prototype.head=function(){return this._tokens[this._startIndex]},n.prototype.tail=function(e){return new n(this._tokens,this._startIndex+1)},n.prototype.toArray=function(){return this._tokens.slice(this._startIndex)},n.prototype.end=function(){return this._tokens[this._tokens.length-1]},n.prototype.to=function(e){var t=this.head().source,n=e.head()||e.end();return t.to(n.source)}})),gs=/* @__PURE__ */ s((e=>{var t=hs();e.Parser=function(e){return{parseTokens:function(e,n){return e(new t(n))}}}})),_s=/* @__PURE__ */ s((e=>{e.none=Object.create({value:function(){throw 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});function t(e){return typeof e==`function`?e():e}e.some=function(e){return new n(e)};var n=function(e){this._value=e};n.prototype.value=function(){return this._value},n.prototype.isNone=function(){return!1},n.prototype.isSome=function(){return!0},n.prototype.map=function(e){return new n(e(this._value))},n.prototype.flatMap=function(e){return e(this._value)},n.prototype.filter=function(t){return t(this._value)?this:e.none},n.prototype.toArray=function(){return[this._value]},n.prototype.orElse=function(e){return this},n.prototype.valueOrElse=function(e){return this._value},e.isOption=function(t){return t===e.none||t instanceof n},e.fromNullable=function(t){return t==null?e.none:new n(t)}})),vs=/* @__PURE__ */ s(((e,t)=>{t.exports={failure:function(e,t){if(e.length<1)throw Error(`Failure must have errors`);return new n({status:`failure`,remaining:t,errors:e})},error:function(e,t){if(e.length<1)throw Error(`Failure must have errors`);return new n({status:`error`,remaining:t,errors:e})},success:function(e,t,r){return new n({status:`success`,value:e,source:r,remaining:t,errors:[]})},cut:function(e){return new n({status:`cut`,remaining:e,errors:[]})}};var n=function(e){this._value=e.value,this._status=e.status,this._hasValue=e.value!==void 0,this._remaining=e.remaining,this._source=e.source,this._errors=e.errors};n.prototype.map=function(e){return this._hasValue?new n({value:e(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this},n.prototype.changeRemaining=function(e){return new n({value:this._value,status:this._status,remaining:e,source:this._source,errors:this._errors})},n.prototype.isSuccess=function(){return this._status===`success`||this._status===`cut`},n.prototype.isFailure=function(){return this._status===`failure`},n.prototype.isError=function(){return this._status===`error`},n.prototype.isCut=function(){return this._status===`cut`},n.prototype.value=function(){return this._value},n.prototype.remaining=function(){return this._remaining},n.prototype.source=function(){return this._source},n.prototype.errors=function(){return this._errors}})),ys=/* @__PURE__ */ s((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()+`:
48
+ `:``)+`Expected `+this.expected+`
49
+ but got `+this.actual},t.prototype.lineNumber=function(){return this._location.lineNumber()},t.prototype.characterNumber=function(){return this._location.characterNumber()}})),bs=/* @__PURE__ */ s((e=>{e.fromArray=function(e){var n=0,r=function(){return n<e.length};return new t({hasNext:r,next:function(){if(r())return e[n++];throw Error(`No more elements`)}})};var t=function(e){this._iterator=e};t.prototype.map=function(e){var n=this._iterator;return new t({hasNext:function(){return n.hasNext()},next:function(){return e(n.next())}})},t.prototype.filter=function(e){var n=this._iterator,r=!1,i=!1,a,o=function(){if(!r)for(r=!0,i=!1;n.hasNext()&&!i;)a=n.next(),i=e(a)};return new t({hasNext:function(){return o(),i},next:function(){o();var e=a;return r=!1,e}})},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}})),xs=/* @__PURE__ */ s((e=>{var t=($(),d(Q)),n=_s(),r=vs(),i=ys(),a=bs();e.token=function(e,t){var n=t!==void 0;return function(i){var a=i.head();return a&&a.name===e&&(!n||a.value===t)?r.success(a.value,i.tail(),a.source):f(i,u({name:e,value:t}))}},e.tokenOfType=function(t){return e.token(t)},e.firstOf=function(e,n){return t.isArray(n)||(n=Array.prototype.slice.call(arguments,1)),function(t){return a.fromArray(n).map(function(e){return e(t)}).filter(function(e){return e.isSuccess()||e.isError()}).first()||f(t,e)}},e.then=function(e,t){return function(n){var r=e(n);return r.map||console.log(r),r.map(t)}},e.sequence=function(){var n=Array.prototype.slice.call(arguments,0),i=function(i){var a=t.foldl(n,function(e,t){var n=e.result,a=e.hasCut;if(!n.isSuccess())return{result:n,hasCut:a};var o=t(n.remaining());if(o.isCut())return{result:n,hasCut:!0};if(o.isSuccess()){var s=t.isCaptured?n.value().withValue(t,o.value()):n.value(),c=o.remaining(),l=i.to(c);return{result:r.success(s,c,l),hasCut:a}}return a?{result:r.error(o.errors(),o.remaining()),hasCut:a}:{result:o,hasCut:a}},{result:r.success(new o,i),hasCut:!1}).result,s=i.to(a.remaining());return a.map(function(t){return t.withValue(e.sequence.source,s)})};i.head=function(){var r=t.find(n,a);return e.then(i,e.sequence.extract(r))},i.map=function(t){return e.then(i,function(e){return t.apply(this,e.toArray())})};function a(e){return e.isCaptured}return i};var o=function(e,t){this._values=e||{},this._valuesArray=t||[]};o.prototype.withValue=function(e,n){if(e.captureName&&e.captureName in this._values)throw Error(`Cannot add second value for capture "`+e.captureName+`"`);var r=t.clone(this._values);return r[e.captureName]=n,new o(r,this._valuesArray.concat([n]))},o.prototype.get=function(e){if(e.captureName in this._values)return this._values[e.captureName];throw Error(`No value for capture "`+e.captureName+`"`)},o.prototype.toArray=function(){return this._valuesArray},e.sequence.capture=function(e,t){var n=function(){return e.apply(this,arguments)};return n.captureName=t,n.isCaptured=!0,n},e.sequence.extract=function(e){return function(t){return t.get(e)}},e.sequence.applyValues=function(e){var t=Array.prototype.slice.call(arguments,1);return function(n){var r=t.map(function(e){return n.get(e)});return e.apply(this,r)}},e.sequence.source={captureName:`☃source☃`},e.sequence.cut=function(){return function(e){return r.cut(e)}},e.optional=function(e){return function(t){var i=e(t);return i.isSuccess()?i.map(n.some):i.isFailure()?r.success(n.none,t):i}},e.zeroOrMoreWithSeparator=function(e,t){return l(e,t,!1)},e.oneOrMoreWithSeparator=function(e,t){return l(e,t,!0)};var s=e.zeroOrMore=function(e){return function(t){for(var n=[],i;(i=e(t))&&i.isSuccess();)t=i.remaining(),n.push(i.value());return i.isError()?i:r.success(n,t)}};e.oneOrMore=function(t){return e.oneOrMoreWithSeparator(t,c)};function c(e){return r.success(null,e)}var l=function(t,n,i){return function(a){var o=t(a);if(o.isSuccess()){var c=e.sequence.capture(t,`main`),l=s(e.then(e.sequence(n,c),e.sequence.extract(c)))(o.remaining());return r.success([o.value()].concat(l.value()),l.remaining())}return i||o.isError()?o:r.success([],a)}};e.leftAssociative=function(t,n,i){var a=i?[{func:i,rule:n}]:n;a=a.map(function(t){return e.then(t.rule,function(e){return function(n,r){return t.func(n,e,r)}})});var o=e.firstOf.apply(null,[`rules`].concat(a));return function(e){var n=e,i=t(e);if(!i.isSuccess())return i;for(var a=o(i.remaining());a.isSuccess();){var s=a.remaining(),c=n.to(a.remaining()),l=a.value();i=r.success(l(i.value(),c),s,c),a=o(i.remaining())}return a.isError()?a:i}},e.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)},e.nonConsuming=function(e){return function(t){return e(t).changeRemaining(t)}};var u=function(e){return e.value?e.name+` "`+e.value+`"`:e.name};function f(e,t){var n,a=e.head();return n=a?i.error({expected:t,actual:u(a),location:a.source}):i.error({expected:t,actual:`end of tokens`}),r.failure([n],e)}})),Ss=/* @__PURE__ */ s(((e,t)=>{t.exports=function(e,t){return{asString:function(){return e},range:function(r,i){return new n(e,t,r,i)}}};var n=function(e,t,n,r){this._string=e,this._description=t,this._startIndex=n,this._endIndex=r};n.prototype.to=function(e){return new n(this._string,this._description,this._startIndex,e._endIndex)},n.prototype.describe=function(){var e=this._position();return(this._description?this._description+`
50
+ `:``)+`Line number: `+e.lineNumber+`
51
+ Character number: `+e.characterNumber},n.prototype.lineNumber=function(){return this._position().lineNumber},n.prototype.characterNumber=function(){return this._position().characterNumber},n.prototype._position=function(){for(var e=this,t=0,n=function(){return e._string.indexOf(`
52
+ `,t)},r=1;n()!==-1&&n()<this._startIndex;)t=n()+1,r+=1;var i=this._startIndex-t+1;return{lineNumber:r,characterNumber:i}}})),Cs=/* @__PURE__ */ s(((e,t)=>{t.exports=function(e,t,n){this.name=e,this.value=t,n&&(this.source=n)}})),ws=/* @__PURE__ */ s((e=>{var t=xs(),n=vs();e.parser=function(e,n,a){var o={rule:u,leftAssociative:d,rightAssociative:f},s=new r(a.map(l)),c=t.firstOf(e,n);function l(e){return{name:e.name,rule:i(e.ruleBuilder.bind(null,o))}}function u(){return p(s)}function d(e){return p(s.untilExclusive(e))}function f(e){return p(s.untilInclusive(e))}function p(e){return m.bind(null,e)}function m(e,t){var n=c(t);return n.isSuccess()?e.apply(n):n}return o};function r(e){function i(t){return new r(e.slice(0,o().indexOf(t)))}function a(t){return new r(e.slice(0,o().indexOf(t)+1))}function o(){return e.map(function(e){return e.name})}function s(e){for(var t,r;;)if(t=c(e.remaining()),t.isSuccess())r=e.source().to(t.source()),e=n.success(t.value()(e.value(),r),t.remaining(),r);else if(t.isFailure())return e;else return t}function c(n){return t.firstOf(`infix`,e.map(function(e){return e.rule}))(n)}return{apply:s,untilExclusive:i,untilInclusive:a}}e.infix=function(t,n){function r(r){return e.infix(t,function(e){var t=n(e);return function(e){return t(e).map(function(e){return function(t,n){return r(t,e,n)}})}})}return{name:t,ruleBuilder:n,map:r}};var i=function(e){var t;return function(n){return t||=e(),t(n)}}})),Ts=/* @__PURE__ */ s((e=>{var t=Cs(),n=Ss();e.RegexTokeniser=r;function r(e){e=e.map(function(e){return{name:e.name,regex:new RegExp(e.regex.source,`g`)}});function r(e,t){for(var r=new n(e,t),o=0,s=[];o<e.length;){var c=i(e,o,r);o=c.endIndex,s.push(c.token)}return s.push(a(e,r)),s}function i(n,r,i){for(var a=0;a<e.length;a++){var o=e[a].regex;o.lastIndex=r;var s=o.exec(n);if(s){var c=r+s[0].length;if(s.index===r&&c>r){var l=s[1],u=new t(e[a].name,l,i.range(r,c));return{token:u,endIndex:c}}}}var c=r+1,u=new t(`unrecognisedCharacter`,n.substring(r,c),i.range(r,c));return{token:u,endIndex:c}}function a(e,n){return new t(`end`,null,n.range(e.length,e.length))}return{tokenise:r}}})),Es=/* @__PURE__ */ s((e=>{e.Parser=gs().Parser,e.rules=xs(),e.errors=ys(),e.results=vs(),e.StringSource=Ss(),e.Token=Cs(),e.bottomUp=ws(),e.RegexTokeniser=Ts().RegexTokeniser,e.rule=function(e){var t;return function(n){return t||=e(),t(n)}}})),Ds=/* @__PURE__ */ s((e=>{e.paragraph=t,e.run=n,e.table=r,e.bold=new a(`bold`),e.italic=new a(`italic`),e.underline=new a(`underline`),e.strikethrough=new a(`strikethrough`),e.allCaps=new a(`allCaps`),e.smallCaps=new a(`smallCaps`),e.highlight=i,e.commentReference=new a(`commentReference`),e.lineBreak=new s({breakType:`line`}),e.pageBreak=new s({breakType:`page`}),e.columnBreak=new s({breakType:`column`}),e.equalTo=l,e.startsWith=u;function t(e){return new a(`paragraph`,e)}function n(e){return new a(`run`,e)}function r(e){return new a(`table`,e)}function i(e){return new o(e)}function a(e,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)}a.prototype.matches=function(e){return e.type===this._elementType&&(this._styleId===void 0||e.styleId===this._styleId)&&(this._styleName===void 0||e.styleName&&this._styleName.operator(this._styleName.operand,e.styleName))&&(this._listIndex===void 0||c(e,this._listIndex,this._listIsOrdered))&&(this._breakType===void 0||this._breakType===e.breakType)};function o(e){e||={},this._color=e.color}o.prototype.matches=function(e){return e.type===`highlight`&&(this._color===void 0||e.color===this._color)};function s(e){e||={},this._breakType=e.breakType}s.prototype.matches=function(e){return e.type===`break`&&(this._breakType===void 0||e.breakType===this._breakType)};function c(e,t,n){return e.numbering&&e.numbering.level==t&&e.numbering.isOrdered==n}function l(e){return{operator:d,operand:e}}function u(e){return{operator:f,operand:e}}function d(e,t){return e.toUpperCase()===t.toUpperCase()}function f(e,t){return t.toUpperCase().indexOf(e.toUpperCase())===0}})),Os=/* @__PURE__ */ s((e=>{var t=Es().RegexTokeniser;e.tokenise=r;var n=`'((?:\\\\(?:.|$)|[^'\\\\])*)`;function r(e){var r=`(?:[a-zA-Z\\-_]|\\\\.)`;return new t([{name:`identifier`,regex:RegExp(`(`+r+`(?:`+r+`|[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:RegExp(n+`'`)},{name:`unterminated-string`,regex:new RegExp(n)},{name:`integer`,regex:/([0-9]+)/},{name:`choice`,regex:/\|/},{name:`bang`,regex:/(!)/}]).tokenise(e)}})),ks=/* @__PURE__ */ s((e=>{var t=($(),d(Q)),n=Es(),r=Ds(),i=cs(),a=Os().tokenise,o=io();e.readHtmlPath=f,e.readDocumentMatcher=l,e.readStyle=s;function s(e){return S(T,e)}function c(){return 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(p())).head())),n.rules.tokenOfType(`end`)).map(function(e,t){return{from:e,to:t.valueOrElse(i.empty)}})}function l(e){return S(u(),e)}function u(){var e=n.rules.sequence,i=function(e,t){return n.rules.then(n.rules.token(`identifier`,e),function(){return t})},a=i(`p`,r.paragraph),o=i(`r`,r.run),s=n.rules.firstOf(`p or r or table`,a,o),c=n.rules.sequence(n.rules.tokenOfType(`dot`),n.rules.sequence.cut(),n.rules.sequence.capture(m)).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(g)).head(),function(e){return{styleName:r.equalTo(e)}}),n.rules.then(n.rules.sequence(n.rules.tokenOfType(`startsWith`),n.rules.sequence.cut(),n.rules.sequence.capture(g)).head(),function(e){return{styleName:r.startsWith(e)}})),u=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`,i(`ordered-list`,{isOrdered:!0}),i(`unordered-list`,{isOrdered:!1})),f=e(n.rules.tokenOfType(`colon`),e.capture(d),e.cut(),n.rules.tokenOfType(`open-paren`),e.capture(h),n.rules.tokenOfType(`close-paren`)).map(function(e,t){return{list:{isOrdered:e.isOrdered,levelIndex:t-1}}});function p(e){var r=n.rules.firstOf.apply(n.rules.firstOf,[`matcher suffix`].concat(e)),i=n.rules.zeroOrMore(r);return n.rules.then(i,function(e){var n={};return e.forEach(function(e){t.extend(n,e)}),n})}var _=e(e.capture(s),e.capture(p([c,u,f]))).map(function(e,t){return e(t)}),v=e(n.rules.token(`identifier`,`table`),e.capture(p([c,u]))).map(function(e){return r.table(e)}),y=i(`b`,r.bold),b=i(`i`,r.italic),x=i(`u`,r.underline),S=i(`strike`,r.strikethrough),C=i(`all-caps`,r.allCaps),w=i(`small-caps`,r.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(g),n.rules.tokenOfType(`close-square-bracket`)).head()))).map(function(e){return r.highlight({color:e.valueOrElse(void 0)})}),E=i(`comment-reference`,r.commentReference),D=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(g),n.rules.tokenOfType(`close-square-bracket`)).map(function(e){switch(e){case`line`:return r.lineBreak;case`page`:return r.pageBreak;case`column`:return r.columnBreak}});return n.rules.firstOf(`element type`,_,v,y,b,x,S,C,w,T,E,D)}function f(e){return S(p(),e)}function p(){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)}),a=n.rules.then(n.rules.optional(n.rules.sequence(n.rules.tokenOfType(`colon`),n.rules.token(`identifier`,`separator`),n.rules.tokenOfType(`open-paren`),e(g),n.rules.tokenOfType(`close-paren`)).head()),function(e){return e.valueOrElse(``)}),o=n.rules.oneOrMoreWithSeparator(m,n.rules.tokenOfType(`choice`)),s=n.rules.sequence(e(o),e(n.rules.zeroOrMore(x)),e(r),e(a)).map(function(e,t,n,r){var a=Object.create(null),o={};return t.forEach(function(e){e.append&&a[e.name]?a[e.name]+=` `+e.value:a[e.name]=e.value}),n&&(o.fresh=!0),r&&(o.separator=r),i.element(e,a,o)});return n.rules.firstOf(`html path`,n.rules.then(n.rules.tokenOfType(`bang`),function(){return i.ignore}),n.rules.then(n.rules.zeroOrMoreWithSeparator(s,n.rules.sequence(t,n.rules.tokenOfType(`gt`),t)),i.elements))}var m=n.rules.then(n.rules.tokenOfType(`identifier`),v),h=n.rules.tokenOfType(`integer`),g=n.rules.then(n.rules.tokenOfType(`string`),v),_={n:`
53
+ `,r:`\r`,t:` `};function v(e){return e.replace(/\\(.)/g,function(e,t){return _[t]||t})}var y=n.rules.sequence(n.rules.tokenOfType(`open-square-bracket`),n.rules.sequence.cut(),n.rules.sequence.capture(m),n.rules.tokenOfType(`equals`),n.rules.sequence.capture(g),n.rules.tokenOfType(`close-square-bracket`)).map(function(e,t){return{name:e,value:t,append:!1}}),b=n.rules.sequence(n.rules.tokenOfType(`dot`),n.rules.sequence.cut(),n.rules.sequence.capture(m)).map(function(e){return{name:`class`,value:e,append:!0}}),x=n.rules.firstOf(`attribute or class`,y,b);function S(e,t){var r=a(t),i=n.Parser().parseTokens(e,r);return i.isSuccess()?o.success(i.value()):new o.Result(null,[o.warning(C(t,i))])}function C(e,t){return`Did not understand this style mapping, so ignored it: `+e+`
54
+ `+t.errors().map(w).join(`
55
+ `)}function w(e){return`Error was at character number `+e.characterNumber()+`: Expected `+e.expected+` but got `+e.actual}var T=c()})),As=/* @__PURE__ */ s((e=>{e.readOptions=i;var t=($(),d(Q)),n=e._defaultStyleMap=/* @__PURE__ */ `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`.split(`,`),r=e._standardOptions={externalFileAccess:!1,transformDocument:o,includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function i(e){return e||={},t.extend({},r,e,{customStyleMap:a(e.styleMap),readStyleMap:function(){var e=this.customStyleMap;return this.includeEmbeddedStyleMap&&(e=e.concat(a(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(e=e.concat(n)),e}})}function a(e){return e?t.isString(e)?e.split(`
56
+ `).map(function(e){return e.trim()}).filter(function(e){return e!==``&&e.charAt(0)!==`#`}):e:[]}function o(e){return e}})),js=/* @__PURE__ */ s((e=>{var t=no(),n=so();e.openZip=r;function r(e){return e.arrayBuffer?t.resolve(n.openArrayBuffer(e.arrayBuffer)):t.reject(/* @__PURE__ */ Error(`Could not find file in options`))}})),Ms=/* @__PURE__ */ s((e=>{var t=cs(),n=ss();e.element=r;function r(e){return function(r){return n.elementWithTag(t.element(e),[r])}}})),Ns=/* @__PURE__ */ u((/* @__PURE__ */ s((e=>{$(),d(Q);var t=rs();is(),ps().DocumentConverter;var n=ms().convertElementToRawText;ks().readStyle,As().readOptions;var r=no(),i=js();io().Result,e.extractRawText=a,e.images=ls(),e.transforms=Ko(),e.underline=Ms();function a(e){var a=i.openZip(e).then(t.read).then(function(e){return e.map(n)});return r.toExternalPromise(a)}})))(),1);function Ps(e){globalThis.onmessage=async({data:t})=>{let n=await e(t).then(e=>({text:e}),e=>({error:String(e)}));postMessage(n)}}Ps(async e=>{let{value:t}=await Ns.extractRawText({arrayBuffer:e.buffer});return t});