@eigenpal/docx-js-editor 0.0.28 → 0.0.29

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 (136) hide show
  1. package/dist/{ClipboardManager-BzgQ-SOi.d.cts → ClipboardManager-t936d0KD.d.mts} +1 -1
  2. package/dist/{DocumentAgent-B9FUoSVS.d.cts → DocumentAgent-BqA9EJ3F.d.mts} +1 -1
  3. package/dist/FindReplaceDialog-AQFR4OCT.js +1 -1
  4. package/dist/FindReplaceDialog-N4J5OB7O.mjs +1 -0
  5. package/dist/FootnotePropertiesDialog-UFUIHLDW.mjs +1 -0
  6. package/dist/FootnotePropertiesDialog-YYIZU5U6.js +1 -1
  7. package/dist/HyperlinkDialog-HGZ2S37Z.js +1 -1
  8. package/dist/HyperlinkDialog-YQSQFHOP.mjs +1 -0
  9. package/dist/ImagePositionDialog-DQ4JWS4F.js +1 -1
  10. package/dist/ImagePositionDialog-HT6J2SHV.mjs +1 -0
  11. package/dist/ImagePropertiesDialog-3VK2S2AF.mjs +1 -0
  12. package/dist/ImagePropertiesDialog-GJMGLM6G.js +1 -1
  13. package/dist/PageSetupDialog-3QCVUNDL.mjs +1 -0
  14. package/dist/PageSetupDialog-ZZTFPZKJ.js +1 -1
  15. package/dist/TablePropertiesDialog-FI5E3RCB.mjs +1 -0
  16. package/dist/TablePropertiesDialog-STZOGHJB.js +1 -1
  17. package/dist/chunk-2KHL5RSD.js +3 -3
  18. package/dist/chunk-4VUZBV2S.js +1 -1
  19. package/dist/chunk-6WPRCJ5A.mjs +1 -0
  20. package/dist/chunk-7HZRJTOL.mjs +4 -0
  21. package/dist/chunk-AARNCPWR.js +1 -1
  22. package/dist/chunk-AZRYS2WF.mjs +2 -0
  23. package/dist/chunk-BUEMG4NW.js +1 -1
  24. package/dist/chunk-CQRI4YUS.mjs +26 -0
  25. package/dist/chunk-CTYOM6BE.js +2 -2
  26. package/dist/{chunk-PRBTINOW.js → chunk-DLVLK5FT.mjs} +2 -2
  27. package/dist/chunk-FVUGBRDD.js +1 -1
  28. package/dist/chunk-G72SXG7G.js +258 -0
  29. package/dist/chunk-H5NTJZO4.js +1 -1
  30. package/dist/chunk-I6LFWQFR.mjs +59 -0
  31. package/dist/chunk-IFPN3NT3.js +3 -3
  32. package/dist/chunk-IRO7KGGC.js +59 -0
  33. package/dist/chunk-KCUPCJFL.mjs +111 -0
  34. package/dist/chunk-LYBG4YI7.mjs +1 -0
  35. package/dist/chunk-M5F4SK3W.mjs +1 -0
  36. package/dist/chunk-MRWJ3GNH.js +9 -0
  37. package/dist/chunk-MVCTPHRR.mjs +258 -0
  38. package/dist/chunk-PB7VMDDP.js +24 -0
  39. package/dist/chunk-PJVI53AH.js +2 -2
  40. package/dist/chunk-QAZ4233N.mjs +1 -0
  41. package/dist/{chunk-OJ7NJK46.cjs → chunk-QQ63M65M.js} +1 -1
  42. package/dist/chunk-QTSXJRP6.mjs +1 -0
  43. package/dist/chunk-QVPR2W5S.js +1 -1
  44. package/dist/chunk-SE5EN2QL.js +1 -1
  45. package/dist/chunk-TAUMSKRE.mjs +1 -0
  46. package/dist/{chunk-JO2CKU4O.js → chunk-TDEHAPMZ.mjs} +1 -1
  47. package/dist/chunk-VHWEKJ35.js +10 -0
  48. package/dist/chunk-VR6PT4IZ.js +26 -0
  49. package/dist/chunk-W53SI3XW.mjs +1 -0
  50. package/dist/chunk-WOHFANC5.mjs +3 -0
  51. package/dist/chunk-XGL3EGKF.js +7 -7
  52. package/dist/chunk-XWBCP563.mjs +2 -0
  53. package/dist/{chunk-TOGKKPIW.js → chunk-YGTSQZRK.mjs} +1 -1
  54. package/dist/chunk-Z35FA4M4.mjs +10 -0
  55. package/dist/{clipboard-Cm7udEnb.d.cts → clipboard-BkM7Zvgs.d.mts} +1 -1
  56. package/dist/{colorResolver-Bu7uJqpw.d.cts → colorResolver-BwI_Uxp3.d.mts} +2 -2
  57. package/dist/{core-plugins-reexport.d.cts → core-plugins-reexport.d.mts} +4 -4
  58. package/dist/core-plugins-reexport.js +1 -1
  59. package/dist/core-plugins-reexport.mjs +1 -0
  60. package/dist/{core-reexport.d.cts → core-reexport.d.mts} +11 -11
  61. package/dist/core-reexport.js +1 -1
  62. package/dist/core-reexport.mjs +1 -0
  63. package/dist/executor-L2MVKMXO.js +1 -1
  64. package/dist/executor-XKBCCVNY.mjs +1 -0
  65. package/dist/{fontLoader-X8ocGzeD.d.cts → fontLoader-DicgJidU.d.mts} +1 -1
  66. package/dist/{headless-reexport.d.cts → headless-reexport.d.mts} +7 -7
  67. package/dist/headless-reexport.js +2 -2
  68. package/dist/headless-reexport.mjs +4 -0
  69. package/dist/{index.d.cts → index.d.mts} +14 -14
  70. package/dist/index.d.ts +2 -2
  71. package/dist/index.js +6 -6
  72. package/dist/index.mjs +155 -0
  73. package/dist/lib-BCT2DRYI.mjs +1 -0
  74. package/dist/lib-U35UU4OU.js +1 -1
  75. package/dist/{mcp-reexport.d.cts → mcp-reexport.d.mts} +2 -2
  76. package/dist/mcp-reexport.js +9 -9
  77. package/dist/mcp-reexport.mjs +16 -0
  78. package/dist/processTemplate-5ZST2Q5L.js +1 -0
  79. package/dist/{processTemplate-CGIQEJ26.js → processTemplate-LRHXOWMZ.mjs} +1 -1
  80. package/dist/{react-BgZObIoP.d.ts → react-By80Gfi-.d.ts} +4 -0
  81. package/dist/{react-D9JDP3cV.d.cts → react-C-pJU0Y4.d.mts} +8 -4
  82. package/dist/{react.d.cts → react.d.mts} +5 -5
  83. package/dist/react.d.ts +1 -1
  84. package/dist/react.js +1 -1
  85. package/dist/react.mjs +1 -0
  86. package/dist/{registry-Bxb5ZI1z.d.cts → registry-DyIMyB-0.d.mts} +1 -1
  87. package/dist/selectionRects-6TRAXB7D.js +1 -0
  88. package/dist/selectionRects-IS7ZAS3A.mjs +1 -0
  89. package/dist/{types-D03hsi5t.d.cts → types-B3LkfO0u.d.mts} +1 -1
  90. package/dist/{ui.d.cts → ui.d.mts} +3 -3
  91. package/dist/ui.js +1 -1
  92. package/dist/ui.mjs +1 -0
  93. package/dist/{variableDetector-iGl52A6q.d.cts → variableDetector-CIqTek7A.d.mts} +1 -1
  94. package/package.json +17 -18
  95. package/dist/FindReplaceDialog-J3DI3U5I.cjs +0 -1
  96. package/dist/FootnotePropertiesDialog-DO5DCAW6.cjs +0 -1
  97. package/dist/HyperlinkDialog-PEPS3C2G.cjs +0 -1
  98. package/dist/ImagePositionDialog-UYXYHSP4.cjs +0 -1
  99. package/dist/ImagePropertiesDialog-V6SVKINO.cjs +0 -1
  100. package/dist/PageSetupDialog-RLMYJ3BA.cjs +0 -1
  101. package/dist/TablePropertiesDialog-A36OXG3A.cjs +0 -1
  102. package/dist/chunk-2FYTKTQL.cjs +0 -111
  103. package/dist/chunk-2VHQ7YOQ.cjs +0 -1
  104. package/dist/chunk-3YHC2RAO.js +0 -258
  105. package/dist/chunk-63YB7DGI.js +0 -59
  106. package/dist/chunk-7OCUAFPO.cjs +0 -258
  107. package/dist/chunk-HE3SUXOQ.cjs +0 -4
  108. package/dist/chunk-HRUPO723.js +0 -10
  109. package/dist/chunk-IA4LPH2A.cjs +0 -1
  110. package/dist/chunk-JMR5HNJP.cjs +0 -10
  111. package/dist/chunk-KR32M3S4.cjs +0 -1
  112. package/dist/chunk-MSV5LTHM.cjs +0 -9
  113. package/dist/chunk-NLYEW36R.js +0 -26
  114. package/dist/chunk-NVAQQYBJ.cjs +0 -1
  115. package/dist/chunk-P7ZF45KZ.cjs +0 -1
  116. package/dist/chunk-PCJ5ACUV.cjs +0 -1
  117. package/dist/chunk-PVV7DV3L.cjs +0 -59
  118. package/dist/chunk-QDNL7NWN.cjs +0 -3
  119. package/dist/chunk-VPDOOMUJ.cjs +0 -26
  120. package/dist/chunk-VTAS7VZ6.cjs +0 -2
  121. package/dist/chunk-XKBIFFAS.cjs +0 -24
  122. package/dist/chunk-XS2AQFMF.cjs +0 -2
  123. package/dist/chunk-YS7FDEZ4.cjs +0 -1
  124. package/dist/core-plugins-reexport.cjs +0 -1
  125. package/dist/core-reexport.cjs +0 -1
  126. package/dist/executor-JGWZ7S6Z.cjs +0 -1
  127. package/dist/headless-reexport.cjs +0 -4
  128. package/dist/index.cjs +0 -155
  129. package/dist/lib-SPXD4LFI.cjs +0 -1
  130. package/dist/mcp-reexport.cjs +0 -16
  131. package/dist/processTemplate-FOYV6BC5.cjs +0 -1
  132. package/dist/react.cjs +0 -1
  133. package/dist/selectionRects-BMXJJCPJ.cjs +0 -1
  134. package/dist/selectionRects-TWK7CAC3.js +0 -1
  135. package/dist/ui.cjs +0 -1
  136. /package/dist/{agentApi-BVHzyk2l.d.cts → agentApi-BVHzyk2l.d.mts} +0 -0
@@ -1,4 +1,4 @@
1
- import {b,c}from'./chunk-H5NTJZO4.js';var ha=b(hi=>{var Tr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";hi.encode=function(e){for(var r="",t,n,o,u,s,c,f,h=0;h<e.length;)t=e.charCodeAt(h++),n=e.charCodeAt(h++),o=e.charCodeAt(h++),u=t>>2,s=(t&3)<<4|n>>4,c=(n&15)<<2|o>>6,f=o&63,isNaN(n)?c=f=64:isNaN(o)&&(f=64),r=r+Tr.charAt(u)+Tr.charAt(s)+Tr.charAt(c)+Tr.charAt(f);return r};hi.decode=function(e){var r="",t,n,o,u,s,c,f,h=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");h<e.length;)u=Tr.indexOf(e.charAt(h++)),s=Tr.indexOf(e.charAt(h++)),c=Tr.indexOf(e.charAt(h++)),f=Tr.indexOf(e.charAt(h++)),t=u<<2|s>>4,n=(s&15)<<4|c>>2,o=(c&3)<<6|f,r+=String.fromCharCode(t),c!==64&&(r+=String.fromCharCode(n)),f!==64&&(r+=String.fromCharCode(o));return r};});var Vr=b(Qe=>{Qe.base64=true;Qe.array=true;Qe.string=true;Qe.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";Qe.nodebuffer=typeof Buffer<"u";Qe.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")Qe.blob=false;else {di=new ArrayBuffer(0);try{Qe.blob=new Blob([di],{type:"application/zip"}).size===0;}catch{try{Au=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,gi=new Au,gi.append(di),Qe.blob=gi.getBlob("application/zip").size===0;}catch{Qe.blob=false;}}}var di,Au,gi;});var Cu=b((da,Tu)=>{(function(e,r){typeof da=="object"&&typeof Tu<"u"?r(da):typeof define=="function"&&define.amd?define(["exports"],r):r((e=typeof globalThis<"u"?globalThis:e||self).pako={});})(da,(function(e){function r(a){for(var l=a.length;--l>=0;)a[l]=0;}var t=256,n=286,o=30,u=15,s=new Uint8Array([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]),c=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),f=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),h=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),p=new Array(576);r(p);var y=new Array(60);r(y);var b=new Array(512);r(b);var w=new Array(256);r(w);var T=new Array(29);r(T);var C,O,P,R=new Array(o);function S(a,l,i,d,g){this.static_tree=a,this.extra_bits=l,this.extra_base=i,this.elems=d,this.max_length=g,this.has_stree=a&&a.length;}function k(a,l){this.dyn_tree=a,this.max_code=0,this.stat_desc=l;}r(R);var q=function(a){return a<256?b[a]:b[256+(a>>>7)]},V=function(a,l){a.pending_buf[a.pending++]=255&l,a.pending_buf[a.pending++]=l>>>8&255;},G=function(a,l,i){a.bi_valid>16-i?(a.bi_buf|=l<<a.bi_valid&65535,V(a,a.bi_buf),a.bi_buf=l>>16-a.bi_valid,a.bi_valid+=i-16):(a.bi_buf|=l<<a.bi_valid&65535,a.bi_valid+=i);},M=function(a,l,i){G(a,i[2*l],i[2*l+1]);},te=function(a,l){var i=0;do i|=1&a,a>>>=1,i<<=1;while(--l>0);return i>>>1},ge=function(a,l,i){var d,g,m=new Array(16),D=0;for(d=1;d<=u;d++)D=D+i[d-1]<<1,m[d]=D;for(g=0;g<=l;g++){var v=a[2*g+1];v!==0&&(a[2*g]=te(m[v]++,v));}},Ie=function(a){var l;for(l=0;l<n;l++)a.dyn_ltree[2*l]=0;for(l=0;l<o;l++)a.dyn_dtree[2*l]=0;for(l=0;l<19;l++)a.bl_tree[2*l]=0;a.dyn_ltree[512]=1,a.opt_len=a.static_len=0,a.sym_next=a.matches=0;},pe=function(a){a.bi_valid>8?V(a,a.bi_buf):a.bi_valid>0&&(a.pending_buf[a.pending++]=a.bi_buf),a.bi_buf=0,a.bi_valid=0;},tr=function(a,l,i,d){var g=2*l,m=2*i;return a[g]<a[m]||a[g]===a[m]&&d[l]<=d[i]},Te=function(a,l,i){for(var d=a.heap[i],g=i<<1;g<=a.heap_len&&(g<a.heap_len&&tr(l,a.heap[g+1],a.heap[g],a.depth)&&g++,!tr(l,d,a.heap[g],a.depth));)a.heap[i]=a.heap[g],i=g,g<<=1;a.heap[i]=d;},Lt=function(a,l,i){var d,g,m,D,v=0;if(a.sym_next!==0)do d=255&a.pending_buf[a.sym_buf+v++],d+=(255&a.pending_buf[a.sym_buf+v++])<<8,g=a.pending_buf[a.sym_buf+v++],d===0?M(a,g,l):(m=w[g],M(a,m+t+1,l),(D=s[m])!==0&&(g-=T[m],G(a,g,D)),d--,m=q(d),M(a,m,i),(D=c[m])!==0&&(d-=R[m],G(a,d,D)));while(v<a.sym_next);M(a,256,l);},Mt=function(a,l){var i,d,g,m=l.dyn_tree,D=l.stat_desc.static_tree,v=l.stat_desc.has_stree,_=l.stat_desc.elems,E=-1;for(a.heap_len=0,a.heap_max=573,i=0;i<_;i++)m[2*i]!==0?(a.heap[++a.heap_len]=E=i,a.depth[i]=0):m[2*i+1]=0;for(;a.heap_len<2;)m[2*(g=a.heap[++a.heap_len]=E<2?++E:0)]=1,a.depth[g]=0,a.opt_len--,v&&(a.static_len-=D[2*g+1]);for(l.max_code=E,i=a.heap_len>>1;i>=1;i--)Te(a,m,i);g=_;do i=a.heap[1],a.heap[1]=a.heap[a.heap_len--],Te(a,m,1),d=a.heap[1],a.heap[--a.heap_max]=i,a.heap[--a.heap_max]=d,m[2*g]=m[2*i]+m[2*d],a.depth[g]=(a.depth[i]>=a.depth[d]?a.depth[i]:a.depth[d])+1,m[2*i+1]=m[2*d+1]=g,a.heap[1]=g++,Te(a,m,1);while(a.heap_len>=2);a.heap[--a.heap_max]=a.heap[1],(function(x,$){var F,A,B,Q,Y,ee,I=$.dyn_tree,N=$.max_code,j=$.stat_desc.static_tree,fe=$.stat_desc.has_stree,U=$.stat_desc.extra_bits,ie=$.stat_desc.extra_base,ae=$.stat_desc.max_length,H=0;for(Q=0;Q<=u;Q++)x.bl_count[Q]=0;for(I[2*x.heap[x.heap_max]+1]=0,F=x.heap_max+1;F<573;F++)(Q=I[2*I[2*(A=x.heap[F])+1]+1]+1)>ae&&(Q=ae,H++),I[2*A+1]=Q,A>N||(x.bl_count[Q]++,Y=0,A>=ie&&(Y=U[A-ie]),ee=I[2*A],x.opt_len+=ee*(Q+Y),fe&&(x.static_len+=ee*(j[2*A+1]+Y)));if(H!==0){do{for(Q=ae-1;x.bl_count[Q]===0;)Q--;x.bl_count[Q]--,x.bl_count[Q+1]+=2,x.bl_count[ae]--,H-=2;}while(H>0);for(Q=ae;Q!==0;Q--)for(A=x.bl_count[Q];A!==0;)(B=x.heap[--F])>N||(I[2*B+1]!==Q&&(x.opt_len+=(Q-I[2*B+1])*I[2*B],I[2*B+1]=Q),A--);}})(a,l),ge(m,E,a.bl_count);},nt=function(a,l,i){var d,g,m=-1,D=l[1],v=0,_=7,E=4;for(D===0&&(_=138,E=3),l[2*(i+1)+1]=65535,d=0;d<=i;d++)g=D,D=l[2*(d+1)+1],++v<_&&g===D||(v<E?a.bl_tree[2*g]+=v:g!==0?(g!==m&&a.bl_tree[2*g]++,a.bl_tree[32]++):v<=10?a.bl_tree[34]++:a.bl_tree[36]++,v=0,m=g,D===0?(_=138,E=3):g===D?(_=6,E=3):(_=7,E=4));},Ut=function(a,l,i){var d,g,m=-1,D=l[1],v=0,_=7,E=4;for(D===0&&(_=138,E=3),d=0;d<=i;d++)if(g=D,D=l[2*(d+1)+1],!(++v<_&&g===D)){if(v<E)do M(a,g,a.bl_tree);while(--v!=0);else g!==0?(g!==m&&(M(a,g,a.bl_tree),v--),M(a,16,a.bl_tree),G(a,v-3,2)):v<=10?(M(a,17,a.bl_tree),G(a,v-3,3)):(M(a,18,a.bl_tree),G(a,v-11,7));v=0,m=g,D===0?(_=138,E=3):g===D?(_=6,E=3):(_=7,E=4);}},ne=false,Pe=function(a,l,i,d){G(a,0+(d?1:0),3),pe(a),V(a,i),V(a,~i),i&&a.pending_buf.set(a.window.subarray(l,l+i),a.pending),a.pending+=i;},at=function(a,l,i,d){var g,m,D=0;a.level>0?(a.strm.data_type===2&&(a.strm.data_type=(function(v){var _,E=4093624447;for(_=0;_<=31;_++,E>>>=1)if(1&E&&v.dyn_ltree[2*_]!==0)return 0;if(v.dyn_ltree[18]!==0||v.dyn_ltree[20]!==0||v.dyn_ltree[26]!==0)return 1;for(_=32;_<t;_++)if(v.dyn_ltree[2*_]!==0)return 1;return 0})(a)),Mt(a,a.l_desc),Mt(a,a.d_desc),D=(function(v){var _;for(nt(v,v.dyn_ltree,v.l_desc.max_code),nt(v,v.dyn_dtree,v.d_desc.max_code),Mt(v,v.bl_desc),_=18;_>=3&&v.bl_tree[2*h[_]+1]===0;_--);return v.opt_len+=3*(_+1)+5+5+4,_})(a),g=a.opt_len+3+7>>>3,(m=a.static_len+3+7>>>3)<=g&&(g=m)):g=m=i+5,i+4<=g&&l!==-1?Pe(a,l,i,d):a.strategy===4||m===g?(G(a,2+(d?1:0),3),Lt(a,p,y)):(G(a,4+(d?1:0),3),(function(v,_,E,x){var $;for(G(v,_-257,5),G(v,E-1,5),G(v,x-4,4),$=0;$<x;$++)G(v,v.bl_tree[2*h[$]+1],3);Ut(v,v.dyn_ltree,_-1),Ut(v,v.dyn_dtree,E-1);})(a,a.l_desc.max_code+1,a.d_desc.max_code+1,D+1),Lt(a,a.dyn_ltree,a.dyn_dtree)),Ie(a),d&&pe(a);},nr={_tr_init:function(a){ne||((function(){var l,i,d,g,m,D=new Array(16);for(d=0,g=0;g<28;g++)for(T[g]=d,l=0;l<1<<s[g];l++)w[d++]=g;for(w[d-1]=g,m=0,g=0;g<16;g++)for(R[g]=m,l=0;l<1<<c[g];l++)b[m++]=g;for(m>>=7;g<o;g++)for(R[g]=m<<7,l=0;l<1<<c[g]-7;l++)b[256+m++]=g;for(i=0;i<=u;i++)D[i]=0;for(l=0;l<=143;)p[2*l+1]=8,l++,D[8]++;for(;l<=255;)p[2*l+1]=9,l++,D[9]++;for(;l<=279;)p[2*l+1]=7,l++,D[7]++;for(;l<=287;)p[2*l+1]=8,l++,D[8]++;for(ge(p,287,D),l=0;l<o;l++)y[2*l+1]=5,y[2*l]=te(l,5);C=new S(p,s,257,n,u),O=new S(y,c,0,o,u),P=new S(new Array(0),f,0,19,7);})(),ne=true),a.l_desc=new k(a.dyn_ltree,C),a.d_desc=new k(a.dyn_dtree,O),a.bl_desc=new k(a.bl_tree,P),a.bi_buf=0,a.bi_valid=0,Ie(a);},_tr_stored_block:Pe,_tr_flush_block:at,_tr_tally:function(a,l,i){return a.pending_buf[a.sym_buf+a.sym_next++]=l,a.pending_buf[a.sym_buf+a.sym_next++]=l>>8,a.pending_buf[a.sym_buf+a.sym_next++]=i,l===0?a.dyn_ltree[2*i]++:(a.matches++,l--,a.dyn_ltree[2*(w[i]+t+1)]++,a.dyn_dtree[2*q(l)]++),a.sym_next===a.sym_end},_tr_align:function(a){G(a,2,3),M(a,256,p),(function(l){l.bi_valid===16?(V(l,l.bi_buf),l.bi_buf=0,l.bi_valid=0):l.bi_valid>=8&&(l.pending_buf[l.pending++]=255&l.bi_buf,l.bi_buf>>=8,l.bi_valid-=8);})(a);}},qt=function(a,l,i,d){for(var g=65535&a|0,m=a>>>16&65535|0,D=0;i!==0;){i-=D=i>2e3?2e3:i;do m=m+(g=g+l[d++]|0)|0;while(--D);g%=65521,m%=65521;}return g|m<<16|0},bp=new Uint32Array((function(){for(var a,l=[],i=0;i<256;i++){a=i;for(var d=0;d<8;d++)a=1&a?3988292384^a>>>1:a>>>1;l[i]=a;}return l})()),Ae=function(a,l,i,d){var g=bp,m=d+i;a^=-1;for(var D=d;D<m;D++)a=a>>>8^g[255&(a^l[D])];return -1^a},Fr={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"},X={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_MEM_ERROR:-4,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},xp=nr._tr_init,Ja=nr._tr_stored_block,wp=nr._tr_flush_block,Er=nr._tr_tally,Dp=nr._tr_align,br=X.Z_NO_FLUSH,Ap=X.Z_PARTIAL_FLUSH,Tp=X.Z_FULL_FLUSH,Xe=X.Z_FINISH,jo=X.Z_BLOCK,Ce=X.Z_OK,Vo=X.Z_STREAM_END,ar=X.Z_STREAM_ERROR,Cp=X.Z_DATA_ERROR,$a=X.Z_BUF_ERROR,_p=X.Z_DEFAULT_COMPRESSION,Sp=X.Z_FILTERED,$n=X.Z_HUFFMAN_ONLY,Op=X.Z_RLE,Np=X.Z_FIXED,Ip=X.Z_DEFAULT_STRATEGY,Bp=X.Z_UNKNOWN,ea=X.Z_DEFLATED,Lr=258,ir=262,it=42,Mr=113,zt=666,Ur=function(a,l){return a.msg=Fr[l],l},Xo=function(a){return 2*a-(a>4?9:0)},xr=function(a){for(var l=a.length;--l>=0;)a[l]=0;},Pp=function(a){var l,i,d,g=a.w_size;d=l=a.hash_size;do i=a.head[--d],a.head[d]=i>=g?i-g:0;while(--l);d=l=g;do i=a.prev[--d],a.prev[d]=i>=g?i-g:0;while(--l)},wr=function(a,l,i){return (l<<a.hash_shift^i)&a.hash_mask},qe=function(a){var l=a.state,i=l.pending;i>a.avail_out&&(i=a.avail_out),i!==0&&(a.output.set(l.pending_buf.subarray(l.pending_out,l.pending_out+i),a.next_out),a.next_out+=i,l.pending_out+=i,a.total_out+=i,a.avail_out-=i,l.pending-=i,l.pending===0&&(l.pending_out=0));},ze=function(a,l){wp(a,a.block_start>=0?a.block_start:-1,a.strstart-a.block_start,l),a.block_start=a.strstart,qe(a.strm);},se=function(a,l){a.pending_buf[a.pending++]=l;},jt=function(a,l){a.pending_buf[a.pending++]=l>>>8&255,a.pending_buf[a.pending++]=255&l;},ei=function(a,l,i,d){var g=a.avail_in;return g>d&&(g=d),g===0?0:(a.avail_in-=g,l.set(a.input.subarray(a.next_in,a.next_in+g),i),a.state.wrap===1?a.adler=qt(a.adler,l,g,i):a.state.wrap===2&&(a.adler=Ae(a.adler,l,g,i)),a.next_in+=g,a.total_in+=g,g)},Ho=function(a,l){var i,d,g=a.max_chain_length,m=a.strstart,D=a.prev_length,v=a.nice_match,_=a.strstart>a.w_size-ir?a.strstart-(a.w_size-ir):0,E=a.window,x=a.w_mask,$=a.prev,F=a.strstart+Lr,A=E[m+D-1],B=E[m+D];a.prev_length>=a.good_match&&(g>>=2),v>a.lookahead&&(v=a.lookahead);do if(E[(i=l)+D]===B&&E[i+D-1]===A&&E[i]===E[m]&&E[++i]===E[m+1]){m+=2,i++;do;while(E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&m<F);if(d=Lr-(F-m),m=F-Lr,d>D){if(a.match_start=l,D=d,d>=v)break;A=E[m+D-1],B=E[m+D];}}while((l=$[l&x])>_&&--g!=0);return D<=a.lookahead?D:a.lookahead},ot=function(a){var l,i,d,g=a.w_size;do{if(i=a.window_size-a.lookahead-a.strstart,a.strstart>=g+(g-ir)&&(a.window.set(a.window.subarray(g,g+g-i),0),a.match_start-=g,a.strstart-=g,a.block_start-=g,a.insert>a.strstart&&(a.insert=a.strstart),Pp(a),i+=g),a.strm.avail_in===0)break;if(l=ei(a.strm,a.window,a.strstart+a.lookahead,i),a.lookahead+=l,a.lookahead+a.insert>=3)for(d=a.strstart-a.insert,a.ins_h=a.window[d],a.ins_h=wr(a,a.ins_h,a.window[d+1]);a.insert&&(a.ins_h=wr(a,a.ins_h,a.window[d+3-1]),a.prev[d&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=d,d++,a.insert--,!(a.lookahead+a.insert<3)););}while(a.lookahead<ir&&a.strm.avail_in!==0)},Zo=function(a,l){var i,d,g,m=a.pending_buf_size-5>a.w_size?a.w_size:a.pending_buf_size-5,D=0,v=a.strm.avail_in;do{if(i=65535,g=a.bi_valid+42>>3,a.strm.avail_out<g||(g=a.strm.avail_out-g,i>(d=a.strstart-a.block_start)+a.strm.avail_in&&(i=d+a.strm.avail_in),i>g&&(i=g),i<m&&(i===0&&l!==Xe||l===br||i!==d+a.strm.avail_in)))break;D=l===Xe&&i===d+a.strm.avail_in?1:0,Ja(a,0,0,D),a.pending_buf[a.pending-4]=i,a.pending_buf[a.pending-3]=i>>8,a.pending_buf[a.pending-2]=~i,a.pending_buf[a.pending-1]=~i>>8,qe(a.strm),d&&(d>i&&(d=i),a.strm.output.set(a.window.subarray(a.block_start,a.block_start+d),a.strm.next_out),a.strm.next_out+=d,a.strm.avail_out-=d,a.strm.total_out+=d,a.block_start+=d,i-=d),i&&(ei(a.strm,a.strm.output,a.strm.next_out,i),a.strm.next_out+=i,a.strm.avail_out-=i,a.strm.total_out+=i);}while(D===0);return (v-=a.strm.avail_in)&&(v>=a.w_size?(a.matches=2,a.window.set(a.strm.input.subarray(a.strm.next_in-a.w_size,a.strm.next_in),0),a.strstart=a.w_size,a.insert=a.strstart):(a.window_size-a.strstart<=v&&(a.strstart-=a.w_size,a.window.set(a.window.subarray(a.w_size,a.w_size+a.strstart),0),a.matches<2&&a.matches++,a.insert>a.strstart&&(a.insert=a.strstart)),a.window.set(a.strm.input.subarray(a.strm.next_in-v,a.strm.next_in),a.strstart),a.strstart+=v,a.insert+=v>a.w_size-a.insert?a.w_size-a.insert:v),a.block_start=a.strstart),a.high_water<a.strstart&&(a.high_water=a.strstart),D?4:l!==br&&l!==Xe&&a.strm.avail_in===0&&a.strstart===a.block_start?2:(g=a.window_size-a.strstart,a.strm.avail_in>g&&a.block_start>=a.w_size&&(a.block_start-=a.w_size,a.strstart-=a.w_size,a.window.set(a.window.subarray(a.w_size,a.w_size+a.strstart),0),a.matches<2&&a.matches++,g+=a.w_size,a.insert>a.strstart&&(a.insert=a.strstart)),g>a.strm.avail_in&&(g=a.strm.avail_in),g&&(ei(a.strm,a.window,a.strstart,g),a.strstart+=g,a.insert+=g>a.w_size-a.insert?a.w_size-a.insert:g),a.high_water<a.strstart&&(a.high_water=a.strstart),g=a.bi_valid+42>>3,m=(g=a.pending_buf_size-g>65535?65535:a.pending_buf_size-g)>a.w_size?a.w_size:g,((d=a.strstart-a.block_start)>=m||(d||l===Xe)&&l!==br&&a.strm.avail_in===0&&d<=g)&&(i=d>g?g:d,D=l===Xe&&a.strm.avail_in===0&&i===d?1:0,Ja(a,a.block_start,i,D),a.block_start+=i,qe(a.strm)),D?3:1)},ri=function(a,l){for(var i,d;;){if(a.lookahead<ir){if(ot(a),a.lookahead<ir&&l===br)return 1;if(a.lookahead===0)break}if(i=0,a.lookahead>=3&&(a.ins_h=wr(a,a.ins_h,a.window[a.strstart+3-1]),i=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),i!==0&&a.strstart-i<=a.w_size-ir&&(a.match_length=Ho(a,i)),a.match_length>=3)if(d=Er(a,a.strstart-a.match_start,a.match_length-3),a.lookahead-=a.match_length,a.match_length<=a.max_lazy_match&&a.lookahead>=3){a.match_length--;do a.strstart++,a.ins_h=wr(a,a.ins_h,a.window[a.strstart+3-1]),i=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart;while(--a.match_length!=0);a.strstart++;}else a.strstart+=a.match_length,a.match_length=0,a.ins_h=a.window[a.strstart],a.ins_h=wr(a,a.ins_h,a.window[a.strstart+1]);else d=Er(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++;if(d&&(ze(a,false),a.strm.avail_out===0))return 1}return a.insert=a.strstart<2?a.strstart:2,l===Xe?(ze(a,true),a.strm.avail_out===0?3:4):a.sym_next&&(ze(a,false),a.strm.avail_out===0)?1:2},ut=function(a,l){for(var i,d,g;;){if(a.lookahead<ir){if(ot(a),a.lookahead<ir&&l===br)return 1;if(a.lookahead===0)break}if(i=0,a.lookahead>=3&&(a.ins_h=wr(a,a.ins_h,a.window[a.strstart+3-1]),i=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),a.prev_length=a.match_length,a.prev_match=a.match_start,a.match_length=2,i!==0&&a.prev_length<a.max_lazy_match&&a.strstart-i<=a.w_size-ir&&(a.match_length=Ho(a,i),a.match_length<=5&&(a.strategy===Sp||a.match_length===3&&a.strstart-a.match_start>4096)&&(a.match_length=2)),a.prev_length>=3&&a.match_length<=a.prev_length){g=a.strstart+a.lookahead-3,d=Er(a,a.strstart-1-a.prev_match,a.prev_length-3),a.lookahead-=a.prev_length-1,a.prev_length-=2;do++a.strstart<=g&&(a.ins_h=wr(a,a.ins_h,a.window[a.strstart+3-1]),i=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart);while(--a.prev_length!=0);if(a.match_available=0,a.match_length=2,a.strstart++,d&&(ze(a,false),a.strm.avail_out===0))return 1}else if(a.match_available){if((d=Er(a,0,a.window[a.strstart-1]))&&ze(a,false),a.strstart++,a.lookahead--,a.strm.avail_out===0)return 1}else a.match_available=1,a.strstart++,a.lookahead--;}return a.match_available&&(d=Er(a,0,a.window[a.strstart-1]),a.match_available=0),a.insert=a.strstart<2?a.strstart:2,l===Xe?(ze(a,true),a.strm.avail_out===0?3:4):a.sym_next&&(ze(a,false),a.strm.avail_out===0)?1:2};function or(a,l,i,d,g){this.good_length=a,this.max_lazy=l,this.nice_length=i,this.max_chain=d,this.func=g;}var Vt=[new or(0,0,0,0,Zo),new or(4,4,8,4,ri),new or(4,5,16,8,ri),new or(4,6,32,32,ri),new or(4,4,16,16,ut),new or(8,16,32,32,ut),new or(8,16,128,128,ut),new or(8,32,128,256,ut),new or(32,128,258,1024,ut),new or(32,258,258,4096,ut)];function Rp(){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=ea,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 Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),xr(this.dyn_ltree),xr(this.dyn_dtree),xr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),xr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),xr(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0;}var Xt=function(a){if(!a)return 1;var l=a.state;return !l||l.strm!==a||l.status!==it&&l.status!==57&&l.status!==69&&l.status!==73&&l.status!==91&&l.status!==103&&l.status!==Mr&&l.status!==zt?1:0},Go=function(a){if(Xt(a))return Ur(a,ar);a.total_in=a.total_out=0,a.data_type=Bp;var l=a.state;return l.pending=0,l.pending_out=0,l.wrap<0&&(l.wrap=-l.wrap),l.status=l.wrap===2?57:l.wrap?it:Mr,a.adler=l.wrap===2?0:1,l.last_flush=-2,xp(l),Ce},Yo=function(a){var l,i=Go(a);return i===Ce&&((l=a.state).window_size=2*l.w_size,xr(l.head),l.max_lazy_match=Vt[l.level].max_lazy,l.good_match=Vt[l.level].good_length,l.nice_match=Vt[l.level].nice_length,l.max_chain_length=Vt[l.level].max_chain,l.strstart=0,l.block_start=0,l.lookahead=0,l.insert=0,l.match_length=l.prev_length=2,l.match_available=0,l.ins_h=0),i},Wo=function(a,l,i,d,g,m){if(!a)return ar;var D=1;if(l===_p&&(l=6),d<0?(D=0,d=-d):d>15&&(D=2,d-=16),g<1||g>9||i!==ea||d<8||d>15||l<0||l>9||m<0||m>Np||d===8&&D!==1)return Ur(a,ar);d===8&&(d=9);var v=new Rp;return a.state=v,v.strm=a,v.status=it,v.wrap=D,v.gzhead=null,v.w_bits=d,v.w_size=1<<v.w_bits,v.w_mask=v.w_size-1,v.hash_bits=g+7,v.hash_size=1<<v.hash_bits,v.hash_mask=v.hash_size-1,v.hash_shift=~~((v.hash_bits+3-1)/3),v.window=new Uint8Array(2*v.w_size),v.head=new Uint16Array(v.hash_size),v.prev=new Uint16Array(v.w_size),v.lit_bufsize=1<<g+6,v.pending_buf_size=4*v.lit_bufsize,v.pending_buf=new Uint8Array(v.pending_buf_size),v.sym_buf=v.lit_bufsize,v.sym_end=3*(v.lit_bufsize-1),v.level=l,v.strategy=m,v.method=i,Yo(a)},Ht={deflateInit:function(a,l){return Wo(a,l,ea,15,8,Ip)},deflateInit2:Wo,deflateReset:Yo,deflateResetKeep:Go,deflateSetHeader:function(a,l){return Xt(a)||a.state.wrap!==2?ar:(a.state.gzhead=l,Ce)},deflate:function(a,l){if(Xt(a)||l>jo||l<0)return a?Ur(a,ar):ar;var i=a.state;if(!a.output||a.avail_in!==0&&!a.input||i.status===zt&&l!==Xe)return Ur(a,a.avail_out===0?$a:ar);var d=i.last_flush;if(i.last_flush=l,i.pending!==0){if(qe(a),a.avail_out===0)return i.last_flush=-1,Ce}else if(a.avail_in===0&&Xo(l)<=Xo(d)&&l!==Xe)return Ur(a,$a);if(i.status===zt&&a.avail_in!==0)return Ur(a,$a);if(i.status===it&&i.wrap===0&&(i.status=Mr),i.status===it){var g=ea+(i.w_bits-8<<4)<<8;if(g|=(i.strategy>=$n||i.level<2?0:i.level<6?1:i.level===6?2:3)<<6,i.strstart!==0&&(g|=32),jt(i,g+=31-g%31),i.strstart!==0&&(jt(i,a.adler>>>16),jt(i,65535&a.adler)),a.adler=1,i.status=Mr,qe(a),i.pending!==0)return i.last_flush=-1,Ce}if(i.status===57){if(a.adler=0,se(i,31),se(i,139),se(i,8),i.gzhead)se(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),se(i,255&i.gzhead.time),se(i,i.gzhead.time>>8&255),se(i,i.gzhead.time>>16&255),se(i,i.gzhead.time>>24&255),se(i,i.level===9?2:i.strategy>=$n||i.level<2?4:0),se(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(se(i,255&i.gzhead.extra.length),se(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(a.adler=Ae(a.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69;else if(se(i,0),se(i,0),se(i,0),se(i,0),se(i,0),se(i,i.level===9?2:i.strategy>=$n||i.level<2?4:0),se(i,3),i.status=Mr,qe(a),i.pending!==0)return i.last_flush=-1,Ce}if(i.status===69){if(i.gzhead.extra){for(var m=i.pending,D=(65535&i.gzhead.extra.length)-i.gzindex;i.pending+D>i.pending_buf_size;){var v=i.pending_buf_size-i.pending;if(i.pending_buf.set(i.gzhead.extra.subarray(i.gzindex,i.gzindex+v),i.pending),i.pending=i.pending_buf_size,i.gzhead.hcrc&&i.pending>m&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-m,m)),i.gzindex+=v,qe(a),i.pending!==0)return i.last_flush=-1,Ce;m=0,D-=v;}var _=new Uint8Array(i.gzhead.extra);i.pending_buf.set(_.subarray(i.gzindex,i.gzindex+D),i.pending),i.pending+=D,i.gzhead.hcrc&&i.pending>m&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-m,m)),i.gzindex=0;}i.status=73;}if(i.status===73){if(i.gzhead.name){var E,x=i.pending;do{if(i.pending===i.pending_buf_size){if(i.gzhead.hcrc&&i.pending>x&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-x,x)),qe(a),i.pending!==0)return i.last_flush=-1,Ce;x=0;}E=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,se(i,E);}while(E!==0);i.gzhead.hcrc&&i.pending>x&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-x,x)),i.gzindex=0;}i.status=91;}if(i.status===91){if(i.gzhead.comment){var $,F=i.pending;do{if(i.pending===i.pending_buf_size){if(i.gzhead.hcrc&&i.pending>F&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-F,F)),qe(a),i.pending!==0)return i.last_flush=-1,Ce;F=0;}$=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,se(i,$);}while($!==0);i.gzhead.hcrc&&i.pending>F&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-F,F));}i.status=103;}if(i.status===103){if(i.gzhead.hcrc){if(i.pending+2>i.pending_buf_size&&(qe(a),i.pending!==0))return i.last_flush=-1,Ce;se(i,255&a.adler),se(i,a.adler>>8&255),a.adler=0;}if(i.status=Mr,qe(a),i.pending!==0)return i.last_flush=-1,Ce}if(a.avail_in!==0||i.lookahead!==0||l!==br&&i.status!==zt){var A=i.level===0?Zo(i,l):i.strategy===$n?(function(B,Q){for(var Y;;){if(B.lookahead===0&&(ot(B),B.lookahead===0)){if(Q===br)return 1;break}if(B.match_length=0,Y=Er(B,0,B.window[B.strstart]),B.lookahead--,B.strstart++,Y&&(ze(B,false),B.strm.avail_out===0))return 1}return B.insert=0,Q===Xe?(ze(B,true),B.strm.avail_out===0?3:4):B.sym_next&&(ze(B,false),B.strm.avail_out===0)?1:2})(i,l):i.strategy===Op?(function(B,Q){for(var Y,ee,I,N,j=B.window;;){if(B.lookahead<=Lr){if(ot(B),B.lookahead<=Lr&&Q===br)return 1;if(B.lookahead===0)break}if(B.match_length=0,B.lookahead>=3&&B.strstart>0&&(ee=j[I=B.strstart-1])===j[++I]&&ee===j[++I]&&ee===j[++I]){N=B.strstart+Lr;do;while(ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&I<N);B.match_length=Lr-(N-I),B.match_length>B.lookahead&&(B.match_length=B.lookahead);}if(B.match_length>=3?(Y=Er(B,1,B.match_length-3),B.lookahead-=B.match_length,B.strstart+=B.match_length,B.match_length=0):(Y=Er(B,0,B.window[B.strstart]),B.lookahead--,B.strstart++),Y&&(ze(B,false),B.strm.avail_out===0))return 1}return B.insert=0,Q===Xe?(ze(B,true),B.strm.avail_out===0?3:4):B.sym_next&&(ze(B,false),B.strm.avail_out===0)?1:2})(i,l):Vt[i.level].func(i,l);if(A!==3&&A!==4||(i.status=zt),A===1||A===3)return a.avail_out===0&&(i.last_flush=-1),Ce;if(A===2&&(l===Ap?Dp(i):l!==jo&&(Ja(i,0,0,false),l===Tp&&(xr(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),qe(a),a.avail_out===0))return i.last_flush=-1,Ce}return l!==Xe?Ce:i.wrap<=0?Vo:(i.wrap===2?(se(i,255&a.adler),se(i,a.adler>>8&255),se(i,a.adler>>16&255),se(i,a.adler>>24&255),se(i,255&a.total_in),se(i,a.total_in>>8&255),se(i,a.total_in>>16&255),se(i,a.total_in>>24&255)):(jt(i,a.adler>>>16),jt(i,65535&a.adler)),qe(a),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Ce:Vo)},deflateEnd:function(a){if(Xt(a))return ar;var l=a.state.status;return a.state=null,l===Mr?Ur(a,Cp):Ce},deflateSetDictionary:function(a,l){var i=l.length;if(Xt(a))return ar;var d=a.state,g=d.wrap;if(g===2||g===1&&d.status!==it||d.lookahead)return ar;if(g===1&&(a.adler=qt(a.adler,l,i,0)),d.wrap=0,i>=d.w_size){g===0&&(xr(d.head),d.strstart=0,d.block_start=0,d.insert=0);var m=new Uint8Array(d.w_size);m.set(l.subarray(i-d.w_size,i),0),l=m,i=d.w_size;}var D=a.avail_in,v=a.next_in,_=a.input;for(a.avail_in=i,a.next_in=0,a.input=l,ot(d);d.lookahead>=3;){var E=d.strstart,x=d.lookahead-2;do d.ins_h=wr(d,d.ins_h,d.window[E+3-1]),d.prev[E&d.w_mask]=d.head[d.ins_h],d.head[d.ins_h]=E,E++;while(--x);d.strstart=E,d.lookahead=2,ot(d);}return d.strstart+=d.lookahead,d.block_start=d.strstart,d.insert=d.lookahead,d.lookahead=0,d.match_length=d.prev_length=2,d.match_available=0,a.next_in=v,a.input=_,a.avail_in=D,d.wrap=g,Ce},deflateInfo:"pako deflate (from Nodeca project)"};function ti(a){return ti=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},ti(a)}var kp=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},Ko=function(a){for(var l=Array.prototype.slice.call(arguments,1);l.length;){var i=l.shift();if(i){if(ti(i)!=="object")throw new TypeError(i+"must be non-object");for(var d in i)kp(i,d)&&(a[d]=i[d]);}}return a},Qo=function(a){for(var l=0,i=0,d=a.length;i<d;i++)l+=a[i].length;for(var g=new Uint8Array(l),m=0,D=0,v=a.length;m<v;m++){var _=a[m];g.set(_,D),D+=_.length;}return g},Jo=true;try{String.fromCharCode.apply(null,new Uint8Array(1));}catch{Jo=false;}for(var Zt=new Uint8Array(256),Dr=0;Dr<256;Dr++)Zt[Dr]=Dr>=252?6:Dr>=248?5:Dr>=240?4:Dr>=224?3:Dr>=192?2:1;Zt[254]=Zt[254]=1;var ni=function(a){if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(a);var l,i,d,g,m,D=a.length,v=0;for(g=0;g<D;g++)(64512&(i=a.charCodeAt(g)))==55296&&g+1<D&&(64512&(d=a.charCodeAt(g+1)))==56320&&(i=65536+(i-55296<<10)+(d-56320),g++),v+=i<128?1:i<2048?2:i<65536?3:4;for(l=new Uint8Array(v),m=0,g=0;m<v;g++)(64512&(i=a.charCodeAt(g)))==55296&&g+1<D&&(64512&(d=a.charCodeAt(g+1)))==56320&&(i=65536+(i-55296<<10)+(d-56320),g++),i<128?l[m++]=i:i<2048?(l[m++]=192|i>>>6,l[m++]=128|63&i):i<65536?(l[m++]=224|i>>>12,l[m++]=128|i>>>6&63,l[m++]=128|63&i):(l[m++]=240|i>>>18,l[m++]=128|i>>>12&63,l[m++]=128|i>>>6&63,l[m++]=128|63&i);return l},Fp=function(a,l){var i,d,g=l||a.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(a.subarray(0,l));var m=new Array(2*g);for(d=0,i=0;i<g;){var D=a[i++];if(D<128)m[d++]=D;else {var v=Zt[D];if(v>4)m[d++]=65533,i+=v-1;else {for(D&=v===2?31:v===3?15:7;v>1&&i<g;)D=D<<6|63&a[i++],v--;v>1?m[d++]=65533:D<65536?m[d++]=D:(D-=65536,m[d++]=55296|D>>10&1023,m[d++]=56320|1023&D);}}}return (function(_,E){if(E<65534&&_.subarray&&Jo)return String.fromCharCode.apply(null,_.length===E?_:_.subarray(0,E));for(var x="",$=0;$<E;$++)x+=String.fromCharCode(_[$]);return x})(m,d)},Lp=function(a,l){(l=l||a.length)>a.length&&(l=a.length);for(var i=l-1;i>=0&&(192&a[i])==128;)i--;return i<0||i===0?l:i+Zt[a[i]]>l?i:l},$o=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;},eu=Object.prototype.toString,Mp=X.Z_NO_FLUSH,Up=X.Z_SYNC_FLUSH,qp=X.Z_FULL_FLUSH,zp=X.Z_FINISH,ra=X.Z_OK,jp=X.Z_STREAM_END,Vp=X.Z_DEFAULT_COMPRESSION,Xp=X.Z_DEFAULT_STRATEGY,Hp=X.Z_DEFLATED;function Gt(a){this.options=Ko({level:Vp,method:Hp,chunkSize:16384,windowBits:15,memLevel:8,strategy:Xp},a||{});var l=this.options;l.raw&&l.windowBits>0?l.windowBits=-l.windowBits:l.gzip&&l.windowBits>0&&l.windowBits<16&&(l.windowBits+=16),this.err=0,this.msg="",this.ended=false,this.chunks=[],this.strm=new $o,this.strm.avail_out=0;var i=Ht.deflateInit2(this.strm,l.level,l.method,l.windowBits,l.memLevel,l.strategy);if(i!==ra)throw new Error(Fr[i]);if(l.header&&Ht.deflateSetHeader(this.strm,l.header),l.dictionary){var d;if(d=typeof l.dictionary=="string"?ni(l.dictionary):eu.call(l.dictionary)==="[object ArrayBuffer]"?new Uint8Array(l.dictionary):l.dictionary,(i=Ht.deflateSetDictionary(this.strm,d))!==ra)throw new Error(Fr[i]);this._dict_set=true;}}function ai(a,l){var i=new Gt(l);if(i.push(a,true),i.err)throw i.msg||Fr[i.err];return i.result}Gt.prototype.push=function(a,l){var i,d,g=this.strm,m=this.options.chunkSize;if(this.ended)return false;for(d=l===~~l?l:l===true?zp:Mp,typeof a=="string"?g.input=ni(a):eu.call(a)==="[object ArrayBuffer]"?g.input=new Uint8Array(a):g.input=a,g.next_in=0,g.avail_in=g.input.length;;)if(g.avail_out===0&&(g.output=new Uint8Array(m),g.next_out=0,g.avail_out=m),(d===Up||d===qp)&&g.avail_out<=6)this.onData(g.output.subarray(0,g.next_out)),g.avail_out=0;else {if((i=Ht.deflate(g,d))===jp)return g.next_out>0&&this.onData(g.output.subarray(0,g.next_out)),i=Ht.deflateEnd(this.strm),this.onEnd(i),this.ended=true,i===ra;if(g.avail_out!==0){if(d>0&&g.next_out>0)this.onData(g.output.subarray(0,g.next_out)),g.avail_out=0;else if(g.avail_in===0)break}else this.onData(g.output);}return true},Gt.prototype.onData=function(a){this.chunks.push(a);},Gt.prototype.onEnd=function(a){a===ra&&(this.result=Qo(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg;};var ta={Deflate:Gt,deflate:ai,deflateRaw:function(a,l){return (l=l||{}).raw=true,ai(a,l)},gzip:function(a,l){return (l=l||{}).gzip=true,ai(a,l)}},na=16209,Zp=function(a,l){var i,d,g,m,D,v,_,E,x,$,F,A,B,Q,Y,ee,I,N,j,fe,U,ie,ae,H,W=a.state;i=a.next_in,ae=a.input,d=i+(a.avail_in-5),g=a.next_out,H=a.output,m=g-(l-a.avail_out),D=g+(a.avail_out-257),v=W.dmax,_=W.wsize,E=W.whave,x=W.wnext,$=W.window,F=W.hold,A=W.bits,B=W.lencode,Q=W.distcode,Y=(1<<W.lenbits)-1,ee=(1<<W.distbits)-1;e:do{A<15&&(F+=ae[i++]<<A,A+=8,F+=ae[i++]<<A,A+=8),I=B[F&Y];r:for(;;){if(F>>>=N=I>>>24,A-=N,(N=I>>>16&255)===0)H[g++]=65535&I;else {if(!(16&N)){if((64&N)==0){I=B[(65535&I)+(F&(1<<N)-1)];continue r}if(32&N){W.mode=16191;break e}a.msg="invalid literal/length code",W.mode=na;break e}j=65535&I,(N&=15)&&(A<N&&(F+=ae[i++]<<A,A+=8),j+=F&(1<<N)-1,F>>>=N,A-=N),A<15&&(F+=ae[i++]<<A,A+=8,F+=ae[i++]<<A,A+=8),I=Q[F&ee];t:for(;;){if(F>>>=N=I>>>24,A-=N,!(16&(N=I>>>16&255))){if((64&N)==0){I=Q[(65535&I)+(F&(1<<N)-1)];continue t}a.msg="invalid distance code",W.mode=na;break e}if(fe=65535&I,A<(N&=15)&&(F+=ae[i++]<<A,(A+=8)<N&&(F+=ae[i++]<<A,A+=8)),(fe+=F&(1<<N)-1)>v){a.msg="invalid distance too far back",W.mode=na;break e}if(F>>>=N,A-=N,fe>(N=g-m)){if((N=fe-N)>E&&W.sane){a.msg="invalid distance too far back",W.mode=na;break e}if(U=0,ie=$,x===0){if(U+=_-N,N<j){j-=N;do H[g++]=$[U++];while(--N);U=g-fe,ie=H;}}else if(x<N){if(U+=_+x-N,(N-=x)<j){j-=N;do H[g++]=$[U++];while(--N);if(U=0,x<j){j-=N=x;do H[g++]=$[U++];while(--N);U=g-fe,ie=H;}}}else if(U+=x-N,N<j){j-=N;do H[g++]=$[U++];while(--N);U=g-fe,ie=H;}for(;j>2;)H[g++]=ie[U++],H[g++]=ie[U++],H[g++]=ie[U++],j-=3;j&&(H[g++]=ie[U++],j>1&&(H[g++]=ie[U++]));}else {U=g-fe;do H[g++]=H[U++],H[g++]=H[U++],H[g++]=H[U++],j-=3;while(j>2);j&&(H[g++]=H[U++],j>1&&(H[g++]=H[U++]));}break}}break}}while(i<d&&g<D);i-=j=A>>3,F&=(1<<(A-=j<<3))-1,a.next_in=i,a.next_out=g,a.avail_in=i<d?d-i+5:5-(i-d),a.avail_out=g<D?D-g+257:257-(g-D),W.hold=F,W.bits=A;},aa=15,Gp=new Uint16Array([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]),Yp=new Uint8Array([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]),Wp=new Uint16Array([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]),Kp=new Uint8Array([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]),Yt=function(a,l,i,d,g,m,D,v){var _,E,x,$,F,A,B,Q,Y,ee=v.bits,I=0,N=0,j=0,fe=0,U=0,ie=0,ae=0,H=0,W=0,ce=0,jr=null,Ar=new Uint16Array(16),fa=new Uint16Array(16),pa=null;for(I=0;I<=aa;I++)Ar[I]=0;for(N=0;N<d;N++)Ar[l[i+N]]++;for(U=ee,fe=aa;fe>=1&&Ar[fe]===0;fe--);if(U>fe&&(U=fe),fe===0)return g[m++]=20971520,g[m++]=20971520,v.bits=1,0;for(j=1;j<fe&&Ar[j]===0;j++);for(U<j&&(U=j),H=1,I=1;I<=aa;I++)if(H<<=1,(H-=Ar[I])<0)return -1;if(H>0&&(a===0||fe!==1))return -1;for(fa[1]=0,I=1;I<aa;I++)fa[I+1]=fa[I]+Ar[I];for(N=0;N<d;N++)l[i+N]!==0&&(D[fa[l[i+N]]++]=N);if(a===0?(jr=pa=D,A=20):a===1?(jr=Gp,pa=Yp,A=257):(jr=Wp,pa=Kp,A=0),ce=0,N=0,I=j,F=m,ie=U,ae=0,x=-1,$=(W=1<<U)-1,a===1&&W>852||a===2&&W>592)return 1;for(;;){B=I-ae,D[N]+1<A?(Q=0,Y=D[N]):D[N]>=A?(Q=pa[D[N]-A],Y=jr[D[N]-A]):(Q=96,Y=0),_=1<<I-ae,j=E=1<<ie;do g[F+(ce>>ae)+(E-=_)]=B<<24|Q<<16|Y|0;while(E!==0);for(_=1<<I-1;ce&_;)_>>=1;if(_!==0?(ce&=_-1,ce+=_):ce=0,N++,--Ar[I]==0){if(I===fe)break;I=l[i+D[N]];}if(I>U&&(ce&$)!==x){for(ae===0&&(ae=U),F+=j,H=1<<(ie=I-ae);ie+ae<fe&&!((H-=Ar[ie+ae])<=0);)ie++,H<<=1;if(W+=1<<ie,a===1&&W>852||a===2&&W>592)return 1;g[x=ce&$]=U<<24|ie<<16|F-m|0;}}return ce!==0&&(g[F+ce]=I-ae<<24|64<<16|0),v.bits=U,0},ru=X.Z_FINISH,Qp=X.Z_BLOCK,ia=X.Z_TREES,qr=X.Z_OK,Jp=X.Z_STREAM_END,$p=X.Z_NEED_DICT,Ke=X.Z_STREAM_ERROR,tu=X.Z_DATA_ERROR,nu=X.Z_MEM_ERROR,eh=X.Z_BUF_ERROR,au=X.Z_DEFLATED,oa=16180,ua=16190,hr=16191,ii=16192,oi=16194,sa=16199,la=16200,ui=16206,de=16209,iu=function(a){return (a>>>24&255)+(a>>>8&65280)+((65280&a)<<8)+((255&a)<<24)};function rh(){this.strm=null,this.mode=0,this.last=false,this.wrap=0,this.havedict=false,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 Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0;}var si,li,zr=function(a){if(!a)return 1;var l=a.state;return !l||l.strm!==a||l.mode<oa||l.mode>16211?1:0},ou=function(a){if(zr(a))return Ke;var l=a.state;return a.total_in=a.total_out=l.total=0,a.msg="",l.wrap&&(a.adler=1&l.wrap),l.mode=oa,l.last=0,l.havedict=0,l.flags=-1,l.dmax=32768,l.head=null,l.hold=0,l.bits=0,l.lencode=l.lendyn=new Int32Array(852),l.distcode=l.distdyn=new Int32Array(592),l.sane=1,l.back=-1,qr},uu=function(a){if(zr(a))return Ke;var l=a.state;return l.wsize=0,l.whave=0,l.wnext=0,ou(a)},su=function(a,l){var i;if(zr(a))return Ke;var d=a.state;return l<0?(i=0,l=-l):(i=5+(l>>4),l<48&&(l&=15)),l&&(l<8||l>15)?Ke:(d.window!==null&&d.wbits!==l&&(d.window=null),d.wrap=i,d.wbits=l,uu(a))},lu=function(a,l){if(!a)return Ke;var i=new rh;a.state=i,i.strm=a,i.window=null,i.mode=oa;var d=su(a,l);return d!==qr&&(a.state=null),d},cu=true,th=function(a){if(cu){si=new Int32Array(512),li=new Int32Array(32);for(var l=0;l<144;)a.lens[l++]=8;for(;l<256;)a.lens[l++]=9;for(;l<280;)a.lens[l++]=7;for(;l<288;)a.lens[l++]=8;for(Yt(1,a.lens,0,288,si,0,a.work,{bits:9}),l=0;l<32;)a.lens[l++]=5;Yt(2,a.lens,0,32,li,0,a.work,{bits:5}),cu=false;}a.lencode=si,a.lenbits=9,a.distcode=li,a.distbits=5;},fu=function(a,l,i,d){var g,m=a.state;return m.window===null&&(m.wsize=1<<m.wbits,m.wnext=0,m.whave=0,m.window=new Uint8Array(m.wsize)),d>=m.wsize?(m.window.set(l.subarray(i-m.wsize,i),0),m.wnext=0,m.whave=m.wsize):((g=m.wsize-m.wnext)>d&&(g=d),m.window.set(l.subarray(i-d,i-d+g),m.wnext),(d-=g)?(m.window.set(l.subarray(i-d,i),0),m.wnext=d,m.whave=m.wsize):(m.wnext+=g,m.wnext===m.wsize&&(m.wnext=0),m.whave<m.wsize&&(m.whave+=g))),0},dr={inflateReset:uu,inflateReset2:su,inflateResetKeep:ou,inflateInit:function(a){return lu(a,15)},inflateInit2:lu,inflate:function(a,l){var i,d,g,m,D,v,_,E,x,$,F,A,B,Q,Y,ee,I,N,j,fe,U,ie,ae,H,W=0,ce=new Uint8Array(4),jr=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(zr(a)||!a.output||!a.input&&a.avail_in!==0)return Ke;(i=a.state).mode===hr&&(i.mode=ii),D=a.next_out,g=a.output,_=a.avail_out,m=a.next_in,d=a.input,v=a.avail_in,E=i.hold,x=i.bits,$=v,F=_,ie=qr;e:for(;;)switch(i.mode){case oa:if(i.wrap===0){i.mode=ii;break}for(;x<16;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(2&i.wrap&&E===35615){i.wbits===0&&(i.wbits=15),i.check=0,ce[0]=255&E,ce[1]=E>>>8&255,i.check=Ae(i.check,ce,2,0),E=0,x=0,i.mode=16181;break}if(i.head&&(i.head.done=false),!(1&i.wrap)||(((255&E)<<8)+(E>>8))%31){a.msg="incorrect header check",i.mode=de;break}if((15&E)!==au){a.msg="unknown compression method",i.mode=de;break}if(x-=4,U=8+(15&(E>>>=4)),i.wbits===0&&(i.wbits=U),U>15||U>i.wbits){a.msg="invalid window size",i.mode=de;break}i.dmax=1<<i.wbits,i.flags=0,a.adler=i.check=1,i.mode=512&E?16189:hr,E=0,x=0;break;case 16181:for(;x<16;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(i.flags=E,(255&i.flags)!==au){a.msg="unknown compression method",i.mode=de;break}if(57344&i.flags){a.msg="unknown header flags set",i.mode=de;break}i.head&&(i.head.text=E>>8&1),512&i.flags&&4&i.wrap&&(ce[0]=255&E,ce[1]=E>>>8&255,i.check=Ae(i.check,ce,2,0)),E=0,x=0,i.mode=16182;case 16182:for(;x<32;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}i.head&&(i.head.time=E),512&i.flags&&4&i.wrap&&(ce[0]=255&E,ce[1]=E>>>8&255,ce[2]=E>>>16&255,ce[3]=E>>>24&255,i.check=Ae(i.check,ce,4,0)),E=0,x=0,i.mode=16183;case 16183:for(;x<16;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}i.head&&(i.head.xflags=255&E,i.head.os=E>>8),512&i.flags&&4&i.wrap&&(ce[0]=255&E,ce[1]=E>>>8&255,i.check=Ae(i.check,ce,2,0)),E=0,x=0,i.mode=16184;case 16184:if(1024&i.flags){for(;x<16;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}i.length=E,i.head&&(i.head.extra_len=E),512&i.flags&&4&i.wrap&&(ce[0]=255&E,ce[1]=E>>>8&255,i.check=Ae(i.check,ce,2,0)),E=0,x=0;}else i.head&&(i.head.extra=null);i.mode=16185;case 16185:if(1024&i.flags&&((A=i.length)>v&&(A=v),A&&(i.head&&(U=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Uint8Array(i.head.extra_len)),i.head.extra.set(d.subarray(m,m+A),U)),512&i.flags&&4&i.wrap&&(i.check=Ae(i.check,d,A,m)),v-=A,m+=A,i.length-=A),i.length))break e;i.length=0,i.mode=16186;case 16186:if(2048&i.flags){if(v===0)break e;A=0;do U=d[m+A++],i.head&&U&&i.length<65536&&(i.head.name+=String.fromCharCode(U));while(U&&A<v);if(512&i.flags&&4&i.wrap&&(i.check=Ae(i.check,d,A,m)),v-=A,m+=A,U)break e}else i.head&&(i.head.name=null);i.length=0,i.mode=16187;case 16187:if(4096&i.flags){if(v===0)break e;A=0;do U=d[m+A++],i.head&&U&&i.length<65536&&(i.head.comment+=String.fromCharCode(U));while(U&&A<v);if(512&i.flags&&4&i.wrap&&(i.check=Ae(i.check,d,A,m)),v-=A,m+=A,U)break e}else i.head&&(i.head.comment=null);i.mode=16188;case 16188:if(512&i.flags){for(;x<16;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(4&i.wrap&&E!==(65535&i.check)){a.msg="header crc mismatch",i.mode=de;break}E=0,x=0;}i.head&&(i.head.hcrc=i.flags>>9&1,i.head.done=true),a.adler=i.check=0,i.mode=hr;break;case 16189:for(;x<32;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}a.adler=i.check=iu(E),E=0,x=0,i.mode=ua;case ua:if(i.havedict===0)return a.next_out=D,a.avail_out=_,a.next_in=m,a.avail_in=v,i.hold=E,i.bits=x,$p;a.adler=i.check=1,i.mode=hr;case hr:if(l===Qp||l===ia)break e;case ii:if(i.last){E>>>=7&x,x-=7&x,i.mode=ui;break}for(;x<3;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}switch(i.last=1&E,x-=1,3&(E>>>=1)){case 0:i.mode=16193;break;case 1:if(th(i),i.mode=sa,l===ia){E>>>=2,x-=2;break e}break;case 2:i.mode=16196;break;case 3:a.msg="invalid block type",i.mode=de;}E>>>=2,x-=2;break;case 16193:for(E>>>=7&x,x-=7&x;x<32;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if((65535&E)!=(E>>>16^65535)){a.msg="invalid stored block lengths",i.mode=de;break}if(i.length=65535&E,E=0,x=0,i.mode=oi,l===ia)break e;case oi:i.mode=16195;case 16195:if(A=i.length){if(A>v&&(A=v),A>_&&(A=_),A===0)break e;g.set(d.subarray(m,m+A),D),v-=A,m+=A,_-=A,D+=A,i.length-=A;break}i.mode=hr;break;case 16196:for(;x<14;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(i.nlen=257+(31&E),E>>>=5,x-=5,i.ndist=1+(31&E),E>>>=5,x-=5,i.ncode=4+(15&E),E>>>=4,x-=4,i.nlen>286||i.ndist>30){a.msg="too many length or distance symbols",i.mode=de;break}i.have=0,i.mode=16197;case 16197:for(;i.have<i.ncode;){for(;x<3;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}i.lens[jr[i.have++]]=7&E,E>>>=3,x-=3;}for(;i.have<19;)i.lens[jr[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,ae={bits:i.lenbits},ie=Yt(0,i.lens,0,19,i.lencode,0,i.work,ae),i.lenbits=ae.bits,ie){a.msg="invalid code lengths set",i.mode=de;break}i.have=0,i.mode=16198;case 16198:for(;i.have<i.nlen+i.ndist;){for(;ee=(W=i.lencode[E&(1<<i.lenbits)-1])>>>16&255,I=65535&W,!((Y=W>>>24)<=x);){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(I<16)E>>>=Y,x-=Y,i.lens[i.have++]=I;else {if(I===16){for(H=Y+2;x<H;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(E>>>=Y,x-=Y,i.have===0){a.msg="invalid bit length repeat",i.mode=de;break}U=i.lens[i.have-1],A=3+(3&E),E>>>=2,x-=2;}else if(I===17){for(H=Y+3;x<H;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}x-=Y,U=0,A=3+(7&(E>>>=Y)),E>>>=3,x-=3;}else {for(H=Y+7;x<H;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}x-=Y,U=0,A=11+(127&(E>>>=Y)),E>>>=7,x-=7;}if(i.have+A>i.nlen+i.ndist){a.msg="invalid bit length repeat",i.mode=de;break}for(;A--;)i.lens[i.have++]=U;}}if(i.mode===de)break;if(i.lens[256]===0){a.msg="invalid code -- missing end-of-block",i.mode=de;break}if(i.lenbits=9,ae={bits:i.lenbits},ie=Yt(1,i.lens,0,i.nlen,i.lencode,0,i.work,ae),i.lenbits=ae.bits,ie){a.msg="invalid literal/lengths set",i.mode=de;break}if(i.distbits=6,i.distcode=i.distdyn,ae={bits:i.distbits},ie=Yt(2,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,ae),i.distbits=ae.bits,ie){a.msg="invalid distances set",i.mode=de;break}if(i.mode=sa,l===ia)break e;case sa:i.mode=la;case la:if(v>=6&&_>=258){a.next_out=D,a.avail_out=_,a.next_in=m,a.avail_in=v,i.hold=E,i.bits=x,Zp(a,F),D=a.next_out,g=a.output,_=a.avail_out,m=a.next_in,d=a.input,v=a.avail_in,E=i.hold,x=i.bits,i.mode===hr&&(i.back=-1);break}for(i.back=0;ee=(W=i.lencode[E&(1<<i.lenbits)-1])>>>16&255,I=65535&W,!((Y=W>>>24)<=x);){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(ee&&(240&ee)==0){for(N=Y,j=ee,fe=I;ee=(W=i.lencode[fe+((E&(1<<N+j)-1)>>N)])>>>16&255,I=65535&W,!(N+(Y=W>>>24)<=x);){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}E>>>=N,x-=N,i.back+=N;}if(E>>>=Y,x-=Y,i.back+=Y,i.length=I,ee===0){i.mode=16205;break}if(32&ee){i.back=-1,i.mode=hr;break}if(64&ee){a.msg="invalid literal/length code",i.mode=de;break}i.extra=15&ee,i.mode=16201;case 16201:if(i.extra){for(H=i.extra;x<H;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}i.length+=E&(1<<i.extra)-1,E>>>=i.extra,x-=i.extra,i.back+=i.extra;}i.was=i.length,i.mode=16202;case 16202:for(;ee=(W=i.distcode[E&(1<<i.distbits)-1])>>>16&255,I=65535&W,!((Y=W>>>24)<=x);){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if((240&ee)==0){for(N=Y,j=ee,fe=I;ee=(W=i.distcode[fe+((E&(1<<N+j)-1)>>N)])>>>16&255,I=65535&W,!(N+(Y=W>>>24)<=x);){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}E>>>=N,x-=N,i.back+=N;}if(E>>>=Y,x-=Y,i.back+=Y,64&ee){a.msg="invalid distance code",i.mode=de;break}i.offset=I,i.extra=15&ee,i.mode=16203;case 16203:if(i.extra){for(H=i.extra;x<H;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}i.offset+=E&(1<<i.extra)-1,E>>>=i.extra,x-=i.extra,i.back+=i.extra;}if(i.offset>i.dmax){a.msg="invalid distance too far back",i.mode=de;break}i.mode=16204;case 16204:if(_===0)break e;if(A=F-_,i.offset>A){if((A=i.offset-A)>i.whave&&i.sane){a.msg="invalid distance too far back",i.mode=de;break}A>i.wnext?(A-=i.wnext,B=i.wsize-A):B=i.wnext-A,A>i.length&&(A=i.length),Q=i.window;}else Q=g,B=D-i.offset,A=i.length;A>_&&(A=_),_-=A,i.length-=A;do g[D++]=Q[B++];while(--A);i.length===0&&(i.mode=la);break;case 16205:if(_===0)break e;g[D++]=i.length,_--,i.mode=la;break;case ui:if(i.wrap){for(;x<32;){if(v===0)break e;v--,E|=d[m++]<<x,x+=8;}if(F-=_,a.total_out+=F,i.total+=F,4&i.wrap&&F&&(a.adler=i.check=i.flags?Ae(i.check,g,F,D-F):qt(i.check,g,F,D-F)),F=_,4&i.wrap&&(i.flags?E:iu(E))!==i.check){a.msg="incorrect data check",i.mode=de;break}E=0,x=0;}i.mode=16207;case 16207:if(i.wrap&&i.flags){for(;x<32;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(4&i.wrap&&E!==(4294967295&i.total)){a.msg="incorrect length check",i.mode=de;break}E=0,x=0;}i.mode=16208;case 16208:ie=Jp;break e;case de:ie=tu;break e;case 16210:return nu;default:return Ke}return a.next_out=D,a.avail_out=_,a.next_in=m,a.avail_in=v,i.hold=E,i.bits=x,(i.wsize||F!==a.avail_out&&i.mode<de&&(i.mode<ui||l!==ru))&&fu(a,a.output,a.next_out,F-a.avail_out),$-=a.avail_in,F-=a.avail_out,a.total_in+=$,a.total_out+=F,i.total+=F,4&i.wrap&&F&&(a.adler=i.check=i.flags?Ae(i.check,g,F,a.next_out-F):qt(i.check,g,F,a.next_out-F)),a.data_type=i.bits+(i.last?64:0)+(i.mode===hr?128:0)+(i.mode===sa||i.mode===oi?256:0),($===0&&F===0||l===ru)&&ie===qr&&(ie=eh),ie},inflateEnd:function(a){if(zr(a))return Ke;var l=a.state;return l.window&&(l.window=null),a.state=null,qr},inflateGetHeader:function(a,l){if(zr(a))return Ke;var i=a.state;return (2&i.wrap)==0?Ke:(i.head=l,l.done=false,qr)},inflateSetDictionary:function(a,l){var i,d=l.length;return zr(a)||(i=a.state).wrap!==0&&i.mode!==ua?Ke:i.mode===ua&&qt(1,l,d,0)!==i.check?tu:fu(a,l,d,d)?(i.mode=16210,nu):(i.havedict=1,qr)},inflateInfo:"pako inflate (from Nodeca project)"},nh=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=false;},pu=Object.prototype.toString,ah=X.Z_NO_FLUSH,ih=X.Z_FINISH,Wt=X.Z_OK,ci=X.Z_STREAM_END,fi=X.Z_NEED_DICT,oh=X.Z_STREAM_ERROR,hu=X.Z_DATA_ERROR,uh=X.Z_MEM_ERROR;function Kt(a){this.options=Ko({chunkSize:65536,windowBits:15,to:""},a||{});var l=this.options;l.raw&&l.windowBits>=0&&l.windowBits<16&&(l.windowBits=-l.windowBits,l.windowBits===0&&(l.windowBits=-15)),!(l.windowBits>=0&&l.windowBits<16)||a&&a.windowBits||(l.windowBits+=32),l.windowBits>15&&l.windowBits<48&&(15&l.windowBits)==0&&(l.windowBits|=15),this.err=0,this.msg="",this.ended=false,this.chunks=[],this.strm=new $o,this.strm.avail_out=0;var i=dr.inflateInit2(this.strm,l.windowBits);if(i!==Wt)throw new Error(Fr[i]);if(this.header=new nh,dr.inflateGetHeader(this.strm,this.header),l.dictionary&&(typeof l.dictionary=="string"?l.dictionary=ni(l.dictionary):pu.call(l.dictionary)==="[object ArrayBuffer]"&&(l.dictionary=new Uint8Array(l.dictionary)),l.raw&&(i=dr.inflateSetDictionary(this.strm,l.dictionary))!==Wt))throw new Error(Fr[i])}function pi(a,l){var i=new Kt(l);if(i.push(a),i.err)throw i.msg||Fr[i.err];return i.result}Kt.prototype.push=function(a,l){var i,d,g,m=this.strm,D=this.options.chunkSize,v=this.options.dictionary;if(this.ended)return false;for(d=l===~~l?l:l===true?ih:ah,pu.call(a)==="[object ArrayBuffer]"?m.input=new Uint8Array(a):m.input=a,m.next_in=0,m.avail_in=m.input.length;;){for(m.avail_out===0&&(m.output=new Uint8Array(D),m.next_out=0,m.avail_out=D),(i=dr.inflate(m,d))===fi&&v&&((i=dr.inflateSetDictionary(m,v))===Wt?i=dr.inflate(m,d):i===hu&&(i=fi));m.avail_in>0&&i===ci&&m.state.wrap>0&&a[m.next_in]!==0;)dr.inflateReset(m),i=dr.inflate(m,d);switch(i){case oh:case hu:case fi:case uh:return this.onEnd(i),this.ended=true,false}if(g=m.avail_out,m.next_out&&(m.avail_out===0||i===ci))if(this.options.to==="string"){var _=Lp(m.output,m.next_out),E=m.next_out-_,x=Fp(m.output,_);m.next_out=E,m.avail_out=D-E,E&&m.output.set(m.output.subarray(_,_+E),0),this.onData(x);}else this.onData(m.output.length===m.next_out?m.output:m.output.subarray(0,m.next_out));if(i!==Wt||g!==0){if(i===ci)return i=dr.inflateEnd(this.strm),this.onEnd(i),this.ended=true,true;if(m.avail_in===0)break}}return true},Kt.prototype.onData=function(a){this.chunks.push(a);},Kt.prototype.onEnd=function(a){a===Wt&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Qo(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg;};var ca={Inflate:Kt,inflate:pi,inflateRaw:function(a,l){return (l=l||{}).raw=true,pi(a,l)},ungzip:pi},du=ta.Deflate,gu=ta.deflate,mu=ta.deflateRaw,vu=ta.gzip,yu=ca.Inflate,Eu=ca.inflate,bu=ca.inflateRaw,xu=ca.ungzip,wu=X,sh={Deflate:du,deflate:gu,deflateRaw:mu,gzip:vu,Inflate:yu,inflate:Eu,inflateRaw:bu,ungzip:xu,constants:wu};e.Deflate=du,e.Inflate=yu,e.constants=wu,e.default=sh,e.deflate=gu,e.deflateRaw=mu,e.gzip=vu,e.inflate=Eu,e.inflateRaw=bu,e.ungzip=xu,Object.defineProperty(e,"__esModule",{value:true});}));});var Ou=b(st=>{var _u=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",Su=Cu();st.uncompressInputType=_u?"uint8array":"array";st.compressInputType=_u?"uint8array":"array";st.magic="\b\0";st.compress=function(e,r){return Su.deflateRaw(e,{level:r.level||-1})};st.uncompress=function(e){return Su.inflateRaw(e)};});var ga=b(mi=>{mi.STORE={magic:"\0\0",compress:function(r){return r},uncompress:function(r){return r},compressInputType:null,uncompressInputType:null};mi.DEFLATE=Ou();});var ma=b((Gb,vi)=>{vi.exports=function(e,r){return typeof e=="number"?Buffer.alloc(e):Buffer.from(e,r)};vi.exports.test=function(e){return Buffer.isBuffer(e)};});var He=b(_e=>{function Ea(e){"@babel/helpers - typeof";return Ea=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ea(e)}var ya=Vr(),va=ga(),lt=ma();_e.string2binary=function(e){for(var r="",t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)&255);return r};_e.arrayBuffer2Blob=function(e,r){_e.checkSupport("blob"),r=r||"application/zip";try{return new Blob([e],{type:r})}catch{try{var t=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,n=new t;return n.append(e),n.getBlob(r)}catch{throw new Error("Bug : can't construct the Blob.")}}};function Qt(e){return e}function yi(e,r){for(var t=0;t<e.length;++t)r[t]=e.charCodeAt(t)&255;return r}function Jt(e){var r=65536,t=[],n=e.length,o=_e.getTypeOf(e),u=0,s=true;try{switch(o){case "uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case "nodebuffer":String.fromCharCode.apply(null,lt(0));break}}catch{s=false;}if(!s){for(var c="",f=0;f<e.length;f++)c+=String.fromCharCode(e[f]);return c}for(;u<n&&r>1;)try{o==="array"||o==="nodebuffer"?t.push(String.fromCharCode.apply(null,e.slice(u,Math.min(u+r,n)))):t.push(String.fromCharCode.apply(null,e.subarray(u,Math.min(u+r,n)))),u+=r;}catch{r=Math.floor(r/2);}return t.join("")}_e.applyFromCharCode=Jt;function ba(e,r){for(var t=0;t<e.length;t++)r[t]=e[t];return r}var Cr={};Cr.string={string:Qt,array:function(r){return yi(r,new Array(r.length))},arraybuffer:function(r){return Cr.string.uint8array(r).buffer},uint8array:function(r){return yi(r,new Uint8Array(r.length))},nodebuffer:function(r){return yi(r,lt(r.length))}};Cr.array={string:Jt,array:Qt,arraybuffer:function(r){return new Uint8Array(r).buffer},uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return lt(r)}};Cr.arraybuffer={string:function(r){return Jt(new Uint8Array(r))},array:function(r){return ba(new Uint8Array(r),new Array(r.byteLength))},arraybuffer:Qt,uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return lt(new Uint8Array(r))}};Cr.uint8array={string:Jt,array:function(r){return ba(r,new Array(r.length))},arraybuffer:function(r){return r.buffer},uint8array:Qt,nodebuffer:function(r){return lt(r)}};Cr.nodebuffer={string:Jt,array:function(r){return ba(r,new Array(r.length))},arraybuffer:function(r){return Cr.nodebuffer.uint8array(r).buffer},uint8array:function(r){return ba(r,new Uint8Array(r.length))},nodebuffer:Qt};_e.transformTo=function(e,r){if(r||(r=""),!e)return r;_e.checkSupport(e);var t=_e.getTypeOf(r),n=Cr[t][e](r);return n};_e.getTypeOf=function(e){if(e!=null){if(typeof e=="string")return "string";var r=Object.prototype.toString.call(e);if(r==="[object Array]")return "array";if(ya.nodebuffer&&lt.test(e))return "nodebuffer";if(ya.uint8array&&r==="[object Uint8Array]")return "uint8array";if(ya.arraybuffer&&r==="[object ArrayBuffer]")return "arraybuffer";if(r==="[object Promise]")throw new Error("Cannot read data from a promise, you probably are running new PizZip(data) with a promise");if(Ea(e)==="object"&&typeof e.file=="function")throw new Error("Cannot read data from a pizzip instance, you probably are running new PizZip(zip) with a zipinstance");if(r==="[object Date]")throw new Error("Cannot read data from a Date, you probably are running new PizZip(data) with a date");if(Ea(e)==="object"&&e.crc32==null)throw new Error("Unsupported data given to new PizZip(data) (object given)")}};_e.checkSupport=function(e){var r=ya[e.toLowerCase()];if(!r)throw new Error(e+" is not supported by this browser")};_e.MAX_VALUE_16BITS=65535;_e.MAX_VALUE_32BITS=-1;_e.pretty=function(e){var r="",t,n;for(n=0;n<(e||"").length;n++)t=e.charCodeAt(n),r+="\\x"+(t<16?"0":"")+t.toString(16).toUpperCase();return r};_e.findCompression=function(e){for(var r in va)if(va.hasOwnProperty(r)&&va[r].magic===e)return va[r];return null};_e.isRegExp=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"};_e.extend=function(){var e={},r,t;for(r=0;r<arguments.length;r++)for(t in arguments[r])arguments[r].hasOwnProperty(t)&&typeof e[t]>"u"&&(e[t]=arguments[r][t]);return e};});var Iu=b((Wb,Nu)=>{var lh=He(),ch=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];Nu.exports=function(r,t){if(typeof r>"u"||!r.length)return 0;var n=lh.getTypeOf(r)!=="string";typeof t>"u"&&(t=0);var o=0,u=0,s=0;t^=-1;for(var c=0,f=r.length;c<f;c++)s=n?r[c]:r.charCodeAt(c),u=(t^s)&255,o=ch[u],t=t>>>8^o;return t^-1};});var Ei=b(Xr=>{Xr.LOCAL_FILE_HEADER="PK";Xr.CENTRAL_FILE_HEADER="PK";Xr.CENTRAL_DIRECTORY_END="PK";Xr.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07";Xr.ZIP64_CENTRAL_DIRECTORY_END="PK";Xr.DATA_DESCRIPTOR="PK\x07\b";});var bi=b(Je=>{Je.base64=false;Je.binary=false;Je.dir=false;Je.createFolders=false;Je.date=null;Je.compression=null;Je.compressionOptions=null;Je.comment=null;Je.unixPermissions=null;Je.dosPermissions=null;});var xi=b((Jb,Pu)=>{function Bu(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null;}Bu.prototype={getContent:function(){return null},getCompressedContent:function(){return null}};Pu.exports=Bu;});var Ai=b(Di=>{var wi=He(),$t=Vr(),fh=ma(),en=new Array(256);for(gr=0;gr<256;gr++)en[gr]=gr>=252?6:gr>=248?5:gr>=240?4:gr>=224?3:gr>=192?2:1;var gr;en[254]=en[254]=1;function ph(e){var r,t,n,o,u,s=0,c=e.length;for(o=0;o<c;o++)t=e.charCodeAt(o),(t&64512)===55296&&o+1<c&&(n=e.charCodeAt(o+1),(n&64512)===56320&&(t=65536+(t-55296<<10)+(n-56320),o++)),s+=t<128?1:t<2048?2:t<65536?3:4;for($t.uint8array?r=new Uint8Array(s):r=new Array(s),u=0,o=0;u<s;o++)t=e.charCodeAt(o),(t&64512)===55296&&o+1<c&&(n=e.charCodeAt(o+1),(n&64512)===56320&&(t=65536+(t-55296<<10)+(n-56320),o++)),t<128?r[u++]=t:t<2048?(r[u++]=192|t>>>6,r[u++]=128|t&63):t<65536?(r[u++]=224|t>>>12,r[u++]=128|t>>>6&63,r[u++]=128|t&63):(r[u++]=240|t>>>18,r[u++]=128|t>>>12&63,r[u++]=128|t>>>6&63,r[u++]=128|t&63);return r}function hh(e,r){var t;for(r=r||e.length,r>e.length&&(r=e.length),t=r-1;t>=0&&(e[t]&192)===128;)t--;return t<0||t===0?r:t+en[e[t]]>r?t:r}function Ru(e){var r,t,n,o,u=e.length,s=new Array(u*2);for(t=0,r=0;r<u;){if(n=e[r++],n<128){s[t++]=n;continue}if(o=en[n],o>4){s[t++]=65533,r+=o-1;continue}for(n&=o===2?31:o===3?15:7;o>1&&r<u;)n=n<<6|e[r++]&63,o--;if(o>1){s[t++]=65533;continue}n<65536?s[t++]=n:(n-=65536,s[t++]=55296|n>>10&1023,s[t++]=56320|n&1023);}return s.length!==t&&(s.subarray?s=s.subarray(0,t):s.length=t),wi.applyFromCharCode(s)}Di.utf8encode=function(r){return $t.nodebuffer?fh(r,"utf-8"):ph(r)};Di.utf8decode=function(r){if($t.nodebuffer)return wi.transformTo("nodebuffer",r).toString("utf-8");r=wi.transformTo($t.uint8array?"uint8array":"array",r);for(var t=[],n=r.length,o=65536,u=0;u<n;){var s=hh(r,Math.min(u+o,n));$t.uint8array?t.push(Ru(r.subarray(u,s))):t.push(Ru(r.slice(u,s))),u=s;}return t.join("")};});var Lu=b((e1,Fu)=>{var dh=He();function ku(){this.data=[];}ku.prototype={append:function(r){r=dh.transformTo("string",r),this.data.push(r);},finalize:function(){return this.data.join("")}};Fu.exports=ku;});var qu=b((r1,Uu)=>{var gh=He();function Mu(e){this.data=new Uint8Array(e),this.index=0;}Mu.prototype={append:function(r){r.length!==0&&(r=gh.transformTo("uint8array",r),this.data.set(r,this.index),this.index+=r.length);},finalize:function(){return this.data}};Uu.exports=Mu;});var Ii=b((t1,Yu)=>{function mh(e,r){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=vh(e))||r){t&&(e=t);var n=0,o=function(){};return {s:o,n:function(){return n>=e.length?{done:true}:{done:false,value:e[n++]}},e:function(h){throw h},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1
+ import {b,c}from'./chunk-TAUMSKRE.mjs';var ha=b(hi=>{var Tr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";hi.encode=function(e){for(var r="",t,n,o,u,s,c,f,h=0;h<e.length;)t=e.charCodeAt(h++),n=e.charCodeAt(h++),o=e.charCodeAt(h++),u=t>>2,s=(t&3)<<4|n>>4,c=(n&15)<<2|o>>6,f=o&63,isNaN(n)?c=f=64:isNaN(o)&&(f=64),r=r+Tr.charAt(u)+Tr.charAt(s)+Tr.charAt(c)+Tr.charAt(f);return r};hi.decode=function(e){var r="",t,n,o,u,s,c,f,h=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");h<e.length;)u=Tr.indexOf(e.charAt(h++)),s=Tr.indexOf(e.charAt(h++)),c=Tr.indexOf(e.charAt(h++)),f=Tr.indexOf(e.charAt(h++)),t=u<<2|s>>4,n=(s&15)<<4|c>>2,o=(c&3)<<6|f,r+=String.fromCharCode(t),c!==64&&(r+=String.fromCharCode(n)),f!==64&&(r+=String.fromCharCode(o));return r};});var Vr=b(Qe=>{Qe.base64=true;Qe.array=true;Qe.string=true;Qe.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";Qe.nodebuffer=typeof Buffer<"u";Qe.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")Qe.blob=false;else {di=new ArrayBuffer(0);try{Qe.blob=new Blob([di],{type:"application/zip"}).size===0;}catch{try{Au=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,gi=new Au,gi.append(di),Qe.blob=gi.getBlob("application/zip").size===0;}catch{Qe.blob=false;}}}var di,Au,gi;});var Cu=b((da,Tu)=>{(function(e,r){typeof da=="object"&&typeof Tu<"u"?r(da):typeof define=="function"&&define.amd?define(["exports"],r):r((e=typeof globalThis<"u"?globalThis:e||self).pako={});})(da,(function(e){function r(a){for(var l=a.length;--l>=0;)a[l]=0;}var t=256,n=286,o=30,u=15,s=new Uint8Array([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]),c=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),f=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),h=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),p=new Array(576);r(p);var y=new Array(60);r(y);var b=new Array(512);r(b);var w=new Array(256);r(w);var T=new Array(29);r(T);var C,O,P,R=new Array(o);function S(a,l,i,d,g){this.static_tree=a,this.extra_bits=l,this.extra_base=i,this.elems=d,this.max_length=g,this.has_stree=a&&a.length;}function k(a,l){this.dyn_tree=a,this.max_code=0,this.stat_desc=l;}r(R);var q=function(a){return a<256?b[a]:b[256+(a>>>7)]},V=function(a,l){a.pending_buf[a.pending++]=255&l,a.pending_buf[a.pending++]=l>>>8&255;},G=function(a,l,i){a.bi_valid>16-i?(a.bi_buf|=l<<a.bi_valid&65535,V(a,a.bi_buf),a.bi_buf=l>>16-a.bi_valid,a.bi_valid+=i-16):(a.bi_buf|=l<<a.bi_valid&65535,a.bi_valid+=i);},M=function(a,l,i){G(a,i[2*l],i[2*l+1]);},te=function(a,l){var i=0;do i|=1&a,a>>>=1,i<<=1;while(--l>0);return i>>>1},ge=function(a,l,i){var d,g,m=new Array(16),D=0;for(d=1;d<=u;d++)D=D+i[d-1]<<1,m[d]=D;for(g=0;g<=l;g++){var v=a[2*g+1];v!==0&&(a[2*g]=te(m[v]++,v));}},Ie=function(a){var l;for(l=0;l<n;l++)a.dyn_ltree[2*l]=0;for(l=0;l<o;l++)a.dyn_dtree[2*l]=0;for(l=0;l<19;l++)a.bl_tree[2*l]=0;a.dyn_ltree[512]=1,a.opt_len=a.static_len=0,a.sym_next=a.matches=0;},pe=function(a){a.bi_valid>8?V(a,a.bi_buf):a.bi_valid>0&&(a.pending_buf[a.pending++]=a.bi_buf),a.bi_buf=0,a.bi_valid=0;},tr=function(a,l,i,d){var g=2*l,m=2*i;return a[g]<a[m]||a[g]===a[m]&&d[l]<=d[i]},Te=function(a,l,i){for(var d=a.heap[i],g=i<<1;g<=a.heap_len&&(g<a.heap_len&&tr(l,a.heap[g+1],a.heap[g],a.depth)&&g++,!tr(l,d,a.heap[g],a.depth));)a.heap[i]=a.heap[g],i=g,g<<=1;a.heap[i]=d;},Lt=function(a,l,i){var d,g,m,D,v=0;if(a.sym_next!==0)do d=255&a.pending_buf[a.sym_buf+v++],d+=(255&a.pending_buf[a.sym_buf+v++])<<8,g=a.pending_buf[a.sym_buf+v++],d===0?M(a,g,l):(m=w[g],M(a,m+t+1,l),(D=s[m])!==0&&(g-=T[m],G(a,g,D)),d--,m=q(d),M(a,m,i),(D=c[m])!==0&&(d-=R[m],G(a,d,D)));while(v<a.sym_next);M(a,256,l);},Mt=function(a,l){var i,d,g,m=l.dyn_tree,D=l.stat_desc.static_tree,v=l.stat_desc.has_stree,_=l.stat_desc.elems,E=-1;for(a.heap_len=0,a.heap_max=573,i=0;i<_;i++)m[2*i]!==0?(a.heap[++a.heap_len]=E=i,a.depth[i]=0):m[2*i+1]=0;for(;a.heap_len<2;)m[2*(g=a.heap[++a.heap_len]=E<2?++E:0)]=1,a.depth[g]=0,a.opt_len--,v&&(a.static_len-=D[2*g+1]);for(l.max_code=E,i=a.heap_len>>1;i>=1;i--)Te(a,m,i);g=_;do i=a.heap[1],a.heap[1]=a.heap[a.heap_len--],Te(a,m,1),d=a.heap[1],a.heap[--a.heap_max]=i,a.heap[--a.heap_max]=d,m[2*g]=m[2*i]+m[2*d],a.depth[g]=(a.depth[i]>=a.depth[d]?a.depth[i]:a.depth[d])+1,m[2*i+1]=m[2*d+1]=g,a.heap[1]=g++,Te(a,m,1);while(a.heap_len>=2);a.heap[--a.heap_max]=a.heap[1],(function(x,$){var F,A,B,Q,Y,ee,I=$.dyn_tree,N=$.max_code,j=$.stat_desc.static_tree,fe=$.stat_desc.has_stree,U=$.stat_desc.extra_bits,ie=$.stat_desc.extra_base,ae=$.stat_desc.max_length,H=0;for(Q=0;Q<=u;Q++)x.bl_count[Q]=0;for(I[2*x.heap[x.heap_max]+1]=0,F=x.heap_max+1;F<573;F++)(Q=I[2*I[2*(A=x.heap[F])+1]+1]+1)>ae&&(Q=ae,H++),I[2*A+1]=Q,A>N||(x.bl_count[Q]++,Y=0,A>=ie&&(Y=U[A-ie]),ee=I[2*A],x.opt_len+=ee*(Q+Y),fe&&(x.static_len+=ee*(j[2*A+1]+Y)));if(H!==0){do{for(Q=ae-1;x.bl_count[Q]===0;)Q--;x.bl_count[Q]--,x.bl_count[Q+1]+=2,x.bl_count[ae]--,H-=2;}while(H>0);for(Q=ae;Q!==0;Q--)for(A=x.bl_count[Q];A!==0;)(B=x.heap[--F])>N||(I[2*B+1]!==Q&&(x.opt_len+=(Q-I[2*B+1])*I[2*B],I[2*B+1]=Q),A--);}})(a,l),ge(m,E,a.bl_count);},nt=function(a,l,i){var d,g,m=-1,D=l[1],v=0,_=7,E=4;for(D===0&&(_=138,E=3),l[2*(i+1)+1]=65535,d=0;d<=i;d++)g=D,D=l[2*(d+1)+1],++v<_&&g===D||(v<E?a.bl_tree[2*g]+=v:g!==0?(g!==m&&a.bl_tree[2*g]++,a.bl_tree[32]++):v<=10?a.bl_tree[34]++:a.bl_tree[36]++,v=0,m=g,D===0?(_=138,E=3):g===D?(_=6,E=3):(_=7,E=4));},Ut=function(a,l,i){var d,g,m=-1,D=l[1],v=0,_=7,E=4;for(D===0&&(_=138,E=3),d=0;d<=i;d++)if(g=D,D=l[2*(d+1)+1],!(++v<_&&g===D)){if(v<E)do M(a,g,a.bl_tree);while(--v!=0);else g!==0?(g!==m&&(M(a,g,a.bl_tree),v--),M(a,16,a.bl_tree),G(a,v-3,2)):v<=10?(M(a,17,a.bl_tree),G(a,v-3,3)):(M(a,18,a.bl_tree),G(a,v-11,7));v=0,m=g,D===0?(_=138,E=3):g===D?(_=6,E=3):(_=7,E=4);}},ne=false,Pe=function(a,l,i,d){G(a,0+(d?1:0),3),pe(a),V(a,i),V(a,~i),i&&a.pending_buf.set(a.window.subarray(l,l+i),a.pending),a.pending+=i;},at=function(a,l,i,d){var g,m,D=0;a.level>0?(a.strm.data_type===2&&(a.strm.data_type=(function(v){var _,E=4093624447;for(_=0;_<=31;_++,E>>>=1)if(1&E&&v.dyn_ltree[2*_]!==0)return 0;if(v.dyn_ltree[18]!==0||v.dyn_ltree[20]!==0||v.dyn_ltree[26]!==0)return 1;for(_=32;_<t;_++)if(v.dyn_ltree[2*_]!==0)return 1;return 0})(a)),Mt(a,a.l_desc),Mt(a,a.d_desc),D=(function(v){var _;for(nt(v,v.dyn_ltree,v.l_desc.max_code),nt(v,v.dyn_dtree,v.d_desc.max_code),Mt(v,v.bl_desc),_=18;_>=3&&v.bl_tree[2*h[_]+1]===0;_--);return v.opt_len+=3*(_+1)+5+5+4,_})(a),g=a.opt_len+3+7>>>3,(m=a.static_len+3+7>>>3)<=g&&(g=m)):g=m=i+5,i+4<=g&&l!==-1?Pe(a,l,i,d):a.strategy===4||m===g?(G(a,2+(d?1:0),3),Lt(a,p,y)):(G(a,4+(d?1:0),3),(function(v,_,E,x){var $;for(G(v,_-257,5),G(v,E-1,5),G(v,x-4,4),$=0;$<x;$++)G(v,v.bl_tree[2*h[$]+1],3);Ut(v,v.dyn_ltree,_-1),Ut(v,v.dyn_dtree,E-1);})(a,a.l_desc.max_code+1,a.d_desc.max_code+1,D+1),Lt(a,a.dyn_ltree,a.dyn_dtree)),Ie(a),d&&pe(a);},nr={_tr_init:function(a){ne||((function(){var l,i,d,g,m,D=new Array(16);for(d=0,g=0;g<28;g++)for(T[g]=d,l=0;l<1<<s[g];l++)w[d++]=g;for(w[d-1]=g,m=0,g=0;g<16;g++)for(R[g]=m,l=0;l<1<<c[g];l++)b[m++]=g;for(m>>=7;g<o;g++)for(R[g]=m<<7,l=0;l<1<<c[g]-7;l++)b[256+m++]=g;for(i=0;i<=u;i++)D[i]=0;for(l=0;l<=143;)p[2*l+1]=8,l++,D[8]++;for(;l<=255;)p[2*l+1]=9,l++,D[9]++;for(;l<=279;)p[2*l+1]=7,l++,D[7]++;for(;l<=287;)p[2*l+1]=8,l++,D[8]++;for(ge(p,287,D),l=0;l<o;l++)y[2*l+1]=5,y[2*l]=te(l,5);C=new S(p,s,257,n,u),O=new S(y,c,0,o,u),P=new S(new Array(0),f,0,19,7);})(),ne=true),a.l_desc=new k(a.dyn_ltree,C),a.d_desc=new k(a.dyn_dtree,O),a.bl_desc=new k(a.bl_tree,P),a.bi_buf=0,a.bi_valid=0,Ie(a);},_tr_stored_block:Pe,_tr_flush_block:at,_tr_tally:function(a,l,i){return a.pending_buf[a.sym_buf+a.sym_next++]=l,a.pending_buf[a.sym_buf+a.sym_next++]=l>>8,a.pending_buf[a.sym_buf+a.sym_next++]=i,l===0?a.dyn_ltree[2*i]++:(a.matches++,l--,a.dyn_ltree[2*(w[i]+t+1)]++,a.dyn_dtree[2*q(l)]++),a.sym_next===a.sym_end},_tr_align:function(a){G(a,2,3),M(a,256,p),(function(l){l.bi_valid===16?(V(l,l.bi_buf),l.bi_buf=0,l.bi_valid=0):l.bi_valid>=8&&(l.pending_buf[l.pending++]=255&l.bi_buf,l.bi_buf>>=8,l.bi_valid-=8);})(a);}},qt=function(a,l,i,d){for(var g=65535&a|0,m=a>>>16&65535|0,D=0;i!==0;){i-=D=i>2e3?2e3:i;do m=m+(g=g+l[d++]|0)|0;while(--D);g%=65521,m%=65521;}return g|m<<16|0},bp=new Uint32Array((function(){for(var a,l=[],i=0;i<256;i++){a=i;for(var d=0;d<8;d++)a=1&a?3988292384^a>>>1:a>>>1;l[i]=a;}return l})()),Ae=function(a,l,i,d){var g=bp,m=d+i;a^=-1;for(var D=d;D<m;D++)a=a>>>8^g[255&(a^l[D])];return -1^a},Fr={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"},X={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_MEM_ERROR:-4,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},xp=nr._tr_init,Ja=nr._tr_stored_block,wp=nr._tr_flush_block,Er=nr._tr_tally,Dp=nr._tr_align,br=X.Z_NO_FLUSH,Ap=X.Z_PARTIAL_FLUSH,Tp=X.Z_FULL_FLUSH,Xe=X.Z_FINISH,jo=X.Z_BLOCK,Ce=X.Z_OK,Vo=X.Z_STREAM_END,ar=X.Z_STREAM_ERROR,Cp=X.Z_DATA_ERROR,$a=X.Z_BUF_ERROR,_p=X.Z_DEFAULT_COMPRESSION,Sp=X.Z_FILTERED,$n=X.Z_HUFFMAN_ONLY,Op=X.Z_RLE,Np=X.Z_FIXED,Ip=X.Z_DEFAULT_STRATEGY,Bp=X.Z_UNKNOWN,ea=X.Z_DEFLATED,Lr=258,ir=262,it=42,Mr=113,zt=666,Ur=function(a,l){return a.msg=Fr[l],l},Xo=function(a){return 2*a-(a>4?9:0)},xr=function(a){for(var l=a.length;--l>=0;)a[l]=0;},Pp=function(a){var l,i,d,g=a.w_size;d=l=a.hash_size;do i=a.head[--d],a.head[d]=i>=g?i-g:0;while(--l);d=l=g;do i=a.prev[--d],a.prev[d]=i>=g?i-g:0;while(--l)},wr=function(a,l,i){return (l<<a.hash_shift^i)&a.hash_mask},qe=function(a){var l=a.state,i=l.pending;i>a.avail_out&&(i=a.avail_out),i!==0&&(a.output.set(l.pending_buf.subarray(l.pending_out,l.pending_out+i),a.next_out),a.next_out+=i,l.pending_out+=i,a.total_out+=i,a.avail_out-=i,l.pending-=i,l.pending===0&&(l.pending_out=0));},ze=function(a,l){wp(a,a.block_start>=0?a.block_start:-1,a.strstart-a.block_start,l),a.block_start=a.strstart,qe(a.strm);},se=function(a,l){a.pending_buf[a.pending++]=l;},jt=function(a,l){a.pending_buf[a.pending++]=l>>>8&255,a.pending_buf[a.pending++]=255&l;},ei=function(a,l,i,d){var g=a.avail_in;return g>d&&(g=d),g===0?0:(a.avail_in-=g,l.set(a.input.subarray(a.next_in,a.next_in+g),i),a.state.wrap===1?a.adler=qt(a.adler,l,g,i):a.state.wrap===2&&(a.adler=Ae(a.adler,l,g,i)),a.next_in+=g,a.total_in+=g,g)},Ho=function(a,l){var i,d,g=a.max_chain_length,m=a.strstart,D=a.prev_length,v=a.nice_match,_=a.strstart>a.w_size-ir?a.strstart-(a.w_size-ir):0,E=a.window,x=a.w_mask,$=a.prev,F=a.strstart+Lr,A=E[m+D-1],B=E[m+D];a.prev_length>=a.good_match&&(g>>=2),v>a.lookahead&&(v=a.lookahead);do if(E[(i=l)+D]===B&&E[i+D-1]===A&&E[i]===E[m]&&E[++i]===E[m+1]){m+=2,i++;do;while(E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&m<F);if(d=Lr-(F-m),m=F-Lr,d>D){if(a.match_start=l,D=d,d>=v)break;A=E[m+D-1],B=E[m+D];}}while((l=$[l&x])>_&&--g!=0);return D<=a.lookahead?D:a.lookahead},ot=function(a){var l,i,d,g=a.w_size;do{if(i=a.window_size-a.lookahead-a.strstart,a.strstart>=g+(g-ir)&&(a.window.set(a.window.subarray(g,g+g-i),0),a.match_start-=g,a.strstart-=g,a.block_start-=g,a.insert>a.strstart&&(a.insert=a.strstart),Pp(a),i+=g),a.strm.avail_in===0)break;if(l=ei(a.strm,a.window,a.strstart+a.lookahead,i),a.lookahead+=l,a.lookahead+a.insert>=3)for(d=a.strstart-a.insert,a.ins_h=a.window[d],a.ins_h=wr(a,a.ins_h,a.window[d+1]);a.insert&&(a.ins_h=wr(a,a.ins_h,a.window[d+3-1]),a.prev[d&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=d,d++,a.insert--,!(a.lookahead+a.insert<3)););}while(a.lookahead<ir&&a.strm.avail_in!==0)},Zo=function(a,l){var i,d,g,m=a.pending_buf_size-5>a.w_size?a.w_size:a.pending_buf_size-5,D=0,v=a.strm.avail_in;do{if(i=65535,g=a.bi_valid+42>>3,a.strm.avail_out<g||(g=a.strm.avail_out-g,i>(d=a.strstart-a.block_start)+a.strm.avail_in&&(i=d+a.strm.avail_in),i>g&&(i=g),i<m&&(i===0&&l!==Xe||l===br||i!==d+a.strm.avail_in)))break;D=l===Xe&&i===d+a.strm.avail_in?1:0,Ja(a,0,0,D),a.pending_buf[a.pending-4]=i,a.pending_buf[a.pending-3]=i>>8,a.pending_buf[a.pending-2]=~i,a.pending_buf[a.pending-1]=~i>>8,qe(a.strm),d&&(d>i&&(d=i),a.strm.output.set(a.window.subarray(a.block_start,a.block_start+d),a.strm.next_out),a.strm.next_out+=d,a.strm.avail_out-=d,a.strm.total_out+=d,a.block_start+=d,i-=d),i&&(ei(a.strm,a.strm.output,a.strm.next_out,i),a.strm.next_out+=i,a.strm.avail_out-=i,a.strm.total_out+=i);}while(D===0);return (v-=a.strm.avail_in)&&(v>=a.w_size?(a.matches=2,a.window.set(a.strm.input.subarray(a.strm.next_in-a.w_size,a.strm.next_in),0),a.strstart=a.w_size,a.insert=a.strstart):(a.window_size-a.strstart<=v&&(a.strstart-=a.w_size,a.window.set(a.window.subarray(a.w_size,a.w_size+a.strstart),0),a.matches<2&&a.matches++,a.insert>a.strstart&&(a.insert=a.strstart)),a.window.set(a.strm.input.subarray(a.strm.next_in-v,a.strm.next_in),a.strstart),a.strstart+=v,a.insert+=v>a.w_size-a.insert?a.w_size-a.insert:v),a.block_start=a.strstart),a.high_water<a.strstart&&(a.high_water=a.strstart),D?4:l!==br&&l!==Xe&&a.strm.avail_in===0&&a.strstart===a.block_start?2:(g=a.window_size-a.strstart,a.strm.avail_in>g&&a.block_start>=a.w_size&&(a.block_start-=a.w_size,a.strstart-=a.w_size,a.window.set(a.window.subarray(a.w_size,a.w_size+a.strstart),0),a.matches<2&&a.matches++,g+=a.w_size,a.insert>a.strstart&&(a.insert=a.strstart)),g>a.strm.avail_in&&(g=a.strm.avail_in),g&&(ei(a.strm,a.window,a.strstart,g),a.strstart+=g,a.insert+=g>a.w_size-a.insert?a.w_size-a.insert:g),a.high_water<a.strstart&&(a.high_water=a.strstart),g=a.bi_valid+42>>3,m=(g=a.pending_buf_size-g>65535?65535:a.pending_buf_size-g)>a.w_size?a.w_size:g,((d=a.strstart-a.block_start)>=m||(d||l===Xe)&&l!==br&&a.strm.avail_in===0&&d<=g)&&(i=d>g?g:d,D=l===Xe&&a.strm.avail_in===0&&i===d?1:0,Ja(a,a.block_start,i,D),a.block_start+=i,qe(a.strm)),D?3:1)},ri=function(a,l){for(var i,d;;){if(a.lookahead<ir){if(ot(a),a.lookahead<ir&&l===br)return 1;if(a.lookahead===0)break}if(i=0,a.lookahead>=3&&(a.ins_h=wr(a,a.ins_h,a.window[a.strstart+3-1]),i=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),i!==0&&a.strstart-i<=a.w_size-ir&&(a.match_length=Ho(a,i)),a.match_length>=3)if(d=Er(a,a.strstart-a.match_start,a.match_length-3),a.lookahead-=a.match_length,a.match_length<=a.max_lazy_match&&a.lookahead>=3){a.match_length--;do a.strstart++,a.ins_h=wr(a,a.ins_h,a.window[a.strstart+3-1]),i=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart;while(--a.match_length!=0);a.strstart++;}else a.strstart+=a.match_length,a.match_length=0,a.ins_h=a.window[a.strstart],a.ins_h=wr(a,a.ins_h,a.window[a.strstart+1]);else d=Er(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++;if(d&&(ze(a,false),a.strm.avail_out===0))return 1}return a.insert=a.strstart<2?a.strstart:2,l===Xe?(ze(a,true),a.strm.avail_out===0?3:4):a.sym_next&&(ze(a,false),a.strm.avail_out===0)?1:2},ut=function(a,l){for(var i,d,g;;){if(a.lookahead<ir){if(ot(a),a.lookahead<ir&&l===br)return 1;if(a.lookahead===0)break}if(i=0,a.lookahead>=3&&(a.ins_h=wr(a,a.ins_h,a.window[a.strstart+3-1]),i=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),a.prev_length=a.match_length,a.prev_match=a.match_start,a.match_length=2,i!==0&&a.prev_length<a.max_lazy_match&&a.strstart-i<=a.w_size-ir&&(a.match_length=Ho(a,i),a.match_length<=5&&(a.strategy===Sp||a.match_length===3&&a.strstart-a.match_start>4096)&&(a.match_length=2)),a.prev_length>=3&&a.match_length<=a.prev_length){g=a.strstart+a.lookahead-3,d=Er(a,a.strstart-1-a.prev_match,a.prev_length-3),a.lookahead-=a.prev_length-1,a.prev_length-=2;do++a.strstart<=g&&(a.ins_h=wr(a,a.ins_h,a.window[a.strstart+3-1]),i=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart);while(--a.prev_length!=0);if(a.match_available=0,a.match_length=2,a.strstart++,d&&(ze(a,false),a.strm.avail_out===0))return 1}else if(a.match_available){if((d=Er(a,0,a.window[a.strstart-1]))&&ze(a,false),a.strstart++,a.lookahead--,a.strm.avail_out===0)return 1}else a.match_available=1,a.strstart++,a.lookahead--;}return a.match_available&&(d=Er(a,0,a.window[a.strstart-1]),a.match_available=0),a.insert=a.strstart<2?a.strstart:2,l===Xe?(ze(a,true),a.strm.avail_out===0?3:4):a.sym_next&&(ze(a,false),a.strm.avail_out===0)?1:2};function or(a,l,i,d,g){this.good_length=a,this.max_lazy=l,this.nice_length=i,this.max_chain=d,this.func=g;}var Vt=[new or(0,0,0,0,Zo),new or(4,4,8,4,ri),new or(4,5,16,8,ri),new or(4,6,32,32,ri),new or(4,4,16,16,ut),new or(8,16,32,32,ut),new or(8,16,128,128,ut),new or(8,32,128,256,ut),new or(32,128,258,1024,ut),new or(32,258,258,4096,ut)];function Rp(){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=ea,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 Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),xr(this.dyn_ltree),xr(this.dyn_dtree),xr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),xr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),xr(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0;}var Xt=function(a){if(!a)return 1;var l=a.state;return !l||l.strm!==a||l.status!==it&&l.status!==57&&l.status!==69&&l.status!==73&&l.status!==91&&l.status!==103&&l.status!==Mr&&l.status!==zt?1:0},Go=function(a){if(Xt(a))return Ur(a,ar);a.total_in=a.total_out=0,a.data_type=Bp;var l=a.state;return l.pending=0,l.pending_out=0,l.wrap<0&&(l.wrap=-l.wrap),l.status=l.wrap===2?57:l.wrap?it:Mr,a.adler=l.wrap===2?0:1,l.last_flush=-2,xp(l),Ce},Yo=function(a){var l,i=Go(a);return i===Ce&&((l=a.state).window_size=2*l.w_size,xr(l.head),l.max_lazy_match=Vt[l.level].max_lazy,l.good_match=Vt[l.level].good_length,l.nice_match=Vt[l.level].nice_length,l.max_chain_length=Vt[l.level].max_chain,l.strstart=0,l.block_start=0,l.lookahead=0,l.insert=0,l.match_length=l.prev_length=2,l.match_available=0,l.ins_h=0),i},Wo=function(a,l,i,d,g,m){if(!a)return ar;var D=1;if(l===_p&&(l=6),d<0?(D=0,d=-d):d>15&&(D=2,d-=16),g<1||g>9||i!==ea||d<8||d>15||l<0||l>9||m<0||m>Np||d===8&&D!==1)return Ur(a,ar);d===8&&(d=9);var v=new Rp;return a.state=v,v.strm=a,v.status=it,v.wrap=D,v.gzhead=null,v.w_bits=d,v.w_size=1<<v.w_bits,v.w_mask=v.w_size-1,v.hash_bits=g+7,v.hash_size=1<<v.hash_bits,v.hash_mask=v.hash_size-1,v.hash_shift=~~((v.hash_bits+3-1)/3),v.window=new Uint8Array(2*v.w_size),v.head=new Uint16Array(v.hash_size),v.prev=new Uint16Array(v.w_size),v.lit_bufsize=1<<g+6,v.pending_buf_size=4*v.lit_bufsize,v.pending_buf=new Uint8Array(v.pending_buf_size),v.sym_buf=v.lit_bufsize,v.sym_end=3*(v.lit_bufsize-1),v.level=l,v.strategy=m,v.method=i,Yo(a)},Ht={deflateInit:function(a,l){return Wo(a,l,ea,15,8,Ip)},deflateInit2:Wo,deflateReset:Yo,deflateResetKeep:Go,deflateSetHeader:function(a,l){return Xt(a)||a.state.wrap!==2?ar:(a.state.gzhead=l,Ce)},deflate:function(a,l){if(Xt(a)||l>jo||l<0)return a?Ur(a,ar):ar;var i=a.state;if(!a.output||a.avail_in!==0&&!a.input||i.status===zt&&l!==Xe)return Ur(a,a.avail_out===0?$a:ar);var d=i.last_flush;if(i.last_flush=l,i.pending!==0){if(qe(a),a.avail_out===0)return i.last_flush=-1,Ce}else if(a.avail_in===0&&Xo(l)<=Xo(d)&&l!==Xe)return Ur(a,$a);if(i.status===zt&&a.avail_in!==0)return Ur(a,$a);if(i.status===it&&i.wrap===0&&(i.status=Mr),i.status===it){var g=ea+(i.w_bits-8<<4)<<8;if(g|=(i.strategy>=$n||i.level<2?0:i.level<6?1:i.level===6?2:3)<<6,i.strstart!==0&&(g|=32),jt(i,g+=31-g%31),i.strstart!==0&&(jt(i,a.adler>>>16),jt(i,65535&a.adler)),a.adler=1,i.status=Mr,qe(a),i.pending!==0)return i.last_flush=-1,Ce}if(i.status===57){if(a.adler=0,se(i,31),se(i,139),se(i,8),i.gzhead)se(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),se(i,255&i.gzhead.time),se(i,i.gzhead.time>>8&255),se(i,i.gzhead.time>>16&255),se(i,i.gzhead.time>>24&255),se(i,i.level===9?2:i.strategy>=$n||i.level<2?4:0),se(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(se(i,255&i.gzhead.extra.length),se(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(a.adler=Ae(a.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69;else if(se(i,0),se(i,0),se(i,0),se(i,0),se(i,0),se(i,i.level===9?2:i.strategy>=$n||i.level<2?4:0),se(i,3),i.status=Mr,qe(a),i.pending!==0)return i.last_flush=-1,Ce}if(i.status===69){if(i.gzhead.extra){for(var m=i.pending,D=(65535&i.gzhead.extra.length)-i.gzindex;i.pending+D>i.pending_buf_size;){var v=i.pending_buf_size-i.pending;if(i.pending_buf.set(i.gzhead.extra.subarray(i.gzindex,i.gzindex+v),i.pending),i.pending=i.pending_buf_size,i.gzhead.hcrc&&i.pending>m&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-m,m)),i.gzindex+=v,qe(a),i.pending!==0)return i.last_flush=-1,Ce;m=0,D-=v;}var _=new Uint8Array(i.gzhead.extra);i.pending_buf.set(_.subarray(i.gzindex,i.gzindex+D),i.pending),i.pending+=D,i.gzhead.hcrc&&i.pending>m&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-m,m)),i.gzindex=0;}i.status=73;}if(i.status===73){if(i.gzhead.name){var E,x=i.pending;do{if(i.pending===i.pending_buf_size){if(i.gzhead.hcrc&&i.pending>x&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-x,x)),qe(a),i.pending!==0)return i.last_flush=-1,Ce;x=0;}E=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,se(i,E);}while(E!==0);i.gzhead.hcrc&&i.pending>x&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-x,x)),i.gzindex=0;}i.status=91;}if(i.status===91){if(i.gzhead.comment){var $,F=i.pending;do{if(i.pending===i.pending_buf_size){if(i.gzhead.hcrc&&i.pending>F&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-F,F)),qe(a),i.pending!==0)return i.last_flush=-1,Ce;F=0;}$=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,se(i,$);}while($!==0);i.gzhead.hcrc&&i.pending>F&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-F,F));}i.status=103;}if(i.status===103){if(i.gzhead.hcrc){if(i.pending+2>i.pending_buf_size&&(qe(a),i.pending!==0))return i.last_flush=-1,Ce;se(i,255&a.adler),se(i,a.adler>>8&255),a.adler=0;}if(i.status=Mr,qe(a),i.pending!==0)return i.last_flush=-1,Ce}if(a.avail_in!==0||i.lookahead!==0||l!==br&&i.status!==zt){var A=i.level===0?Zo(i,l):i.strategy===$n?(function(B,Q){for(var Y;;){if(B.lookahead===0&&(ot(B),B.lookahead===0)){if(Q===br)return 1;break}if(B.match_length=0,Y=Er(B,0,B.window[B.strstart]),B.lookahead--,B.strstart++,Y&&(ze(B,false),B.strm.avail_out===0))return 1}return B.insert=0,Q===Xe?(ze(B,true),B.strm.avail_out===0?3:4):B.sym_next&&(ze(B,false),B.strm.avail_out===0)?1:2})(i,l):i.strategy===Op?(function(B,Q){for(var Y,ee,I,N,j=B.window;;){if(B.lookahead<=Lr){if(ot(B),B.lookahead<=Lr&&Q===br)return 1;if(B.lookahead===0)break}if(B.match_length=0,B.lookahead>=3&&B.strstart>0&&(ee=j[I=B.strstart-1])===j[++I]&&ee===j[++I]&&ee===j[++I]){N=B.strstart+Lr;do;while(ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&I<N);B.match_length=Lr-(N-I),B.match_length>B.lookahead&&(B.match_length=B.lookahead);}if(B.match_length>=3?(Y=Er(B,1,B.match_length-3),B.lookahead-=B.match_length,B.strstart+=B.match_length,B.match_length=0):(Y=Er(B,0,B.window[B.strstart]),B.lookahead--,B.strstart++),Y&&(ze(B,false),B.strm.avail_out===0))return 1}return B.insert=0,Q===Xe?(ze(B,true),B.strm.avail_out===0?3:4):B.sym_next&&(ze(B,false),B.strm.avail_out===0)?1:2})(i,l):Vt[i.level].func(i,l);if(A!==3&&A!==4||(i.status=zt),A===1||A===3)return a.avail_out===0&&(i.last_flush=-1),Ce;if(A===2&&(l===Ap?Dp(i):l!==jo&&(Ja(i,0,0,false),l===Tp&&(xr(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),qe(a),a.avail_out===0))return i.last_flush=-1,Ce}return l!==Xe?Ce:i.wrap<=0?Vo:(i.wrap===2?(se(i,255&a.adler),se(i,a.adler>>8&255),se(i,a.adler>>16&255),se(i,a.adler>>24&255),se(i,255&a.total_in),se(i,a.total_in>>8&255),se(i,a.total_in>>16&255),se(i,a.total_in>>24&255)):(jt(i,a.adler>>>16),jt(i,65535&a.adler)),qe(a),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Ce:Vo)},deflateEnd:function(a){if(Xt(a))return ar;var l=a.state.status;return a.state=null,l===Mr?Ur(a,Cp):Ce},deflateSetDictionary:function(a,l){var i=l.length;if(Xt(a))return ar;var d=a.state,g=d.wrap;if(g===2||g===1&&d.status!==it||d.lookahead)return ar;if(g===1&&(a.adler=qt(a.adler,l,i,0)),d.wrap=0,i>=d.w_size){g===0&&(xr(d.head),d.strstart=0,d.block_start=0,d.insert=0);var m=new Uint8Array(d.w_size);m.set(l.subarray(i-d.w_size,i),0),l=m,i=d.w_size;}var D=a.avail_in,v=a.next_in,_=a.input;for(a.avail_in=i,a.next_in=0,a.input=l,ot(d);d.lookahead>=3;){var E=d.strstart,x=d.lookahead-2;do d.ins_h=wr(d,d.ins_h,d.window[E+3-1]),d.prev[E&d.w_mask]=d.head[d.ins_h],d.head[d.ins_h]=E,E++;while(--x);d.strstart=E,d.lookahead=2,ot(d);}return d.strstart+=d.lookahead,d.block_start=d.strstart,d.insert=d.lookahead,d.lookahead=0,d.match_length=d.prev_length=2,d.match_available=0,a.next_in=v,a.input=_,a.avail_in=D,d.wrap=g,Ce},deflateInfo:"pako deflate (from Nodeca project)"};function ti(a){return ti=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},ti(a)}var kp=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},Ko=function(a){for(var l=Array.prototype.slice.call(arguments,1);l.length;){var i=l.shift();if(i){if(ti(i)!=="object")throw new TypeError(i+"must be non-object");for(var d in i)kp(i,d)&&(a[d]=i[d]);}}return a},Qo=function(a){for(var l=0,i=0,d=a.length;i<d;i++)l+=a[i].length;for(var g=new Uint8Array(l),m=0,D=0,v=a.length;m<v;m++){var _=a[m];g.set(_,D),D+=_.length;}return g},Jo=true;try{String.fromCharCode.apply(null,new Uint8Array(1));}catch{Jo=false;}for(var Zt=new Uint8Array(256),Dr=0;Dr<256;Dr++)Zt[Dr]=Dr>=252?6:Dr>=248?5:Dr>=240?4:Dr>=224?3:Dr>=192?2:1;Zt[254]=Zt[254]=1;var ni=function(a){if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(a);var l,i,d,g,m,D=a.length,v=0;for(g=0;g<D;g++)(64512&(i=a.charCodeAt(g)))==55296&&g+1<D&&(64512&(d=a.charCodeAt(g+1)))==56320&&(i=65536+(i-55296<<10)+(d-56320),g++),v+=i<128?1:i<2048?2:i<65536?3:4;for(l=new Uint8Array(v),m=0,g=0;m<v;g++)(64512&(i=a.charCodeAt(g)))==55296&&g+1<D&&(64512&(d=a.charCodeAt(g+1)))==56320&&(i=65536+(i-55296<<10)+(d-56320),g++),i<128?l[m++]=i:i<2048?(l[m++]=192|i>>>6,l[m++]=128|63&i):i<65536?(l[m++]=224|i>>>12,l[m++]=128|i>>>6&63,l[m++]=128|63&i):(l[m++]=240|i>>>18,l[m++]=128|i>>>12&63,l[m++]=128|i>>>6&63,l[m++]=128|63&i);return l},Fp=function(a,l){var i,d,g=l||a.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(a.subarray(0,l));var m=new Array(2*g);for(d=0,i=0;i<g;){var D=a[i++];if(D<128)m[d++]=D;else {var v=Zt[D];if(v>4)m[d++]=65533,i+=v-1;else {for(D&=v===2?31:v===3?15:7;v>1&&i<g;)D=D<<6|63&a[i++],v--;v>1?m[d++]=65533:D<65536?m[d++]=D:(D-=65536,m[d++]=55296|D>>10&1023,m[d++]=56320|1023&D);}}}return (function(_,E){if(E<65534&&_.subarray&&Jo)return String.fromCharCode.apply(null,_.length===E?_:_.subarray(0,E));for(var x="",$=0;$<E;$++)x+=String.fromCharCode(_[$]);return x})(m,d)},Lp=function(a,l){(l=l||a.length)>a.length&&(l=a.length);for(var i=l-1;i>=0&&(192&a[i])==128;)i--;return i<0||i===0?l:i+Zt[a[i]]>l?i:l},$o=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;},eu=Object.prototype.toString,Mp=X.Z_NO_FLUSH,Up=X.Z_SYNC_FLUSH,qp=X.Z_FULL_FLUSH,zp=X.Z_FINISH,ra=X.Z_OK,jp=X.Z_STREAM_END,Vp=X.Z_DEFAULT_COMPRESSION,Xp=X.Z_DEFAULT_STRATEGY,Hp=X.Z_DEFLATED;function Gt(a){this.options=Ko({level:Vp,method:Hp,chunkSize:16384,windowBits:15,memLevel:8,strategy:Xp},a||{});var l=this.options;l.raw&&l.windowBits>0?l.windowBits=-l.windowBits:l.gzip&&l.windowBits>0&&l.windowBits<16&&(l.windowBits+=16),this.err=0,this.msg="",this.ended=false,this.chunks=[],this.strm=new $o,this.strm.avail_out=0;var i=Ht.deflateInit2(this.strm,l.level,l.method,l.windowBits,l.memLevel,l.strategy);if(i!==ra)throw new Error(Fr[i]);if(l.header&&Ht.deflateSetHeader(this.strm,l.header),l.dictionary){var d;if(d=typeof l.dictionary=="string"?ni(l.dictionary):eu.call(l.dictionary)==="[object ArrayBuffer]"?new Uint8Array(l.dictionary):l.dictionary,(i=Ht.deflateSetDictionary(this.strm,d))!==ra)throw new Error(Fr[i]);this._dict_set=true;}}function ai(a,l){var i=new Gt(l);if(i.push(a,true),i.err)throw i.msg||Fr[i.err];return i.result}Gt.prototype.push=function(a,l){var i,d,g=this.strm,m=this.options.chunkSize;if(this.ended)return false;for(d=l===~~l?l:l===true?zp:Mp,typeof a=="string"?g.input=ni(a):eu.call(a)==="[object ArrayBuffer]"?g.input=new Uint8Array(a):g.input=a,g.next_in=0,g.avail_in=g.input.length;;)if(g.avail_out===0&&(g.output=new Uint8Array(m),g.next_out=0,g.avail_out=m),(d===Up||d===qp)&&g.avail_out<=6)this.onData(g.output.subarray(0,g.next_out)),g.avail_out=0;else {if((i=Ht.deflate(g,d))===jp)return g.next_out>0&&this.onData(g.output.subarray(0,g.next_out)),i=Ht.deflateEnd(this.strm),this.onEnd(i),this.ended=true,i===ra;if(g.avail_out!==0){if(d>0&&g.next_out>0)this.onData(g.output.subarray(0,g.next_out)),g.avail_out=0;else if(g.avail_in===0)break}else this.onData(g.output);}return true},Gt.prototype.onData=function(a){this.chunks.push(a);},Gt.prototype.onEnd=function(a){a===ra&&(this.result=Qo(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg;};var ta={Deflate:Gt,deflate:ai,deflateRaw:function(a,l){return (l=l||{}).raw=true,ai(a,l)},gzip:function(a,l){return (l=l||{}).gzip=true,ai(a,l)}},na=16209,Zp=function(a,l){var i,d,g,m,D,v,_,E,x,$,F,A,B,Q,Y,ee,I,N,j,fe,U,ie,ae,H,W=a.state;i=a.next_in,ae=a.input,d=i+(a.avail_in-5),g=a.next_out,H=a.output,m=g-(l-a.avail_out),D=g+(a.avail_out-257),v=W.dmax,_=W.wsize,E=W.whave,x=W.wnext,$=W.window,F=W.hold,A=W.bits,B=W.lencode,Q=W.distcode,Y=(1<<W.lenbits)-1,ee=(1<<W.distbits)-1;e:do{A<15&&(F+=ae[i++]<<A,A+=8,F+=ae[i++]<<A,A+=8),I=B[F&Y];r:for(;;){if(F>>>=N=I>>>24,A-=N,(N=I>>>16&255)===0)H[g++]=65535&I;else {if(!(16&N)){if((64&N)==0){I=B[(65535&I)+(F&(1<<N)-1)];continue r}if(32&N){W.mode=16191;break e}a.msg="invalid literal/length code",W.mode=na;break e}j=65535&I,(N&=15)&&(A<N&&(F+=ae[i++]<<A,A+=8),j+=F&(1<<N)-1,F>>>=N,A-=N),A<15&&(F+=ae[i++]<<A,A+=8,F+=ae[i++]<<A,A+=8),I=Q[F&ee];t:for(;;){if(F>>>=N=I>>>24,A-=N,!(16&(N=I>>>16&255))){if((64&N)==0){I=Q[(65535&I)+(F&(1<<N)-1)];continue t}a.msg="invalid distance code",W.mode=na;break e}if(fe=65535&I,A<(N&=15)&&(F+=ae[i++]<<A,(A+=8)<N&&(F+=ae[i++]<<A,A+=8)),(fe+=F&(1<<N)-1)>v){a.msg="invalid distance too far back",W.mode=na;break e}if(F>>>=N,A-=N,fe>(N=g-m)){if((N=fe-N)>E&&W.sane){a.msg="invalid distance too far back",W.mode=na;break e}if(U=0,ie=$,x===0){if(U+=_-N,N<j){j-=N;do H[g++]=$[U++];while(--N);U=g-fe,ie=H;}}else if(x<N){if(U+=_+x-N,(N-=x)<j){j-=N;do H[g++]=$[U++];while(--N);if(U=0,x<j){j-=N=x;do H[g++]=$[U++];while(--N);U=g-fe,ie=H;}}}else if(U+=x-N,N<j){j-=N;do H[g++]=$[U++];while(--N);U=g-fe,ie=H;}for(;j>2;)H[g++]=ie[U++],H[g++]=ie[U++],H[g++]=ie[U++],j-=3;j&&(H[g++]=ie[U++],j>1&&(H[g++]=ie[U++]));}else {U=g-fe;do H[g++]=H[U++],H[g++]=H[U++],H[g++]=H[U++],j-=3;while(j>2);j&&(H[g++]=H[U++],j>1&&(H[g++]=H[U++]));}break}}break}}while(i<d&&g<D);i-=j=A>>3,F&=(1<<(A-=j<<3))-1,a.next_in=i,a.next_out=g,a.avail_in=i<d?d-i+5:5-(i-d),a.avail_out=g<D?D-g+257:257-(g-D),W.hold=F,W.bits=A;},aa=15,Gp=new Uint16Array([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]),Yp=new Uint8Array([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]),Wp=new Uint16Array([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]),Kp=new Uint8Array([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]),Yt=function(a,l,i,d,g,m,D,v){var _,E,x,$,F,A,B,Q,Y,ee=v.bits,I=0,N=0,j=0,fe=0,U=0,ie=0,ae=0,H=0,W=0,ce=0,jr=null,Ar=new Uint16Array(16),fa=new Uint16Array(16),pa=null;for(I=0;I<=aa;I++)Ar[I]=0;for(N=0;N<d;N++)Ar[l[i+N]]++;for(U=ee,fe=aa;fe>=1&&Ar[fe]===0;fe--);if(U>fe&&(U=fe),fe===0)return g[m++]=20971520,g[m++]=20971520,v.bits=1,0;for(j=1;j<fe&&Ar[j]===0;j++);for(U<j&&(U=j),H=1,I=1;I<=aa;I++)if(H<<=1,(H-=Ar[I])<0)return -1;if(H>0&&(a===0||fe!==1))return -1;for(fa[1]=0,I=1;I<aa;I++)fa[I+1]=fa[I]+Ar[I];for(N=0;N<d;N++)l[i+N]!==0&&(D[fa[l[i+N]]++]=N);if(a===0?(jr=pa=D,A=20):a===1?(jr=Gp,pa=Yp,A=257):(jr=Wp,pa=Kp,A=0),ce=0,N=0,I=j,F=m,ie=U,ae=0,x=-1,$=(W=1<<U)-1,a===1&&W>852||a===2&&W>592)return 1;for(;;){B=I-ae,D[N]+1<A?(Q=0,Y=D[N]):D[N]>=A?(Q=pa[D[N]-A],Y=jr[D[N]-A]):(Q=96,Y=0),_=1<<I-ae,j=E=1<<ie;do g[F+(ce>>ae)+(E-=_)]=B<<24|Q<<16|Y|0;while(E!==0);for(_=1<<I-1;ce&_;)_>>=1;if(_!==0?(ce&=_-1,ce+=_):ce=0,N++,--Ar[I]==0){if(I===fe)break;I=l[i+D[N]];}if(I>U&&(ce&$)!==x){for(ae===0&&(ae=U),F+=j,H=1<<(ie=I-ae);ie+ae<fe&&!((H-=Ar[ie+ae])<=0);)ie++,H<<=1;if(W+=1<<ie,a===1&&W>852||a===2&&W>592)return 1;g[x=ce&$]=U<<24|ie<<16|F-m|0;}}return ce!==0&&(g[F+ce]=I-ae<<24|64<<16|0),v.bits=U,0},ru=X.Z_FINISH,Qp=X.Z_BLOCK,ia=X.Z_TREES,qr=X.Z_OK,Jp=X.Z_STREAM_END,$p=X.Z_NEED_DICT,Ke=X.Z_STREAM_ERROR,tu=X.Z_DATA_ERROR,nu=X.Z_MEM_ERROR,eh=X.Z_BUF_ERROR,au=X.Z_DEFLATED,oa=16180,ua=16190,hr=16191,ii=16192,oi=16194,sa=16199,la=16200,ui=16206,de=16209,iu=function(a){return (a>>>24&255)+(a>>>8&65280)+((65280&a)<<8)+((255&a)<<24)};function rh(){this.strm=null,this.mode=0,this.last=false,this.wrap=0,this.havedict=false,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 Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0;}var si,li,zr=function(a){if(!a)return 1;var l=a.state;return !l||l.strm!==a||l.mode<oa||l.mode>16211?1:0},ou=function(a){if(zr(a))return Ke;var l=a.state;return a.total_in=a.total_out=l.total=0,a.msg="",l.wrap&&(a.adler=1&l.wrap),l.mode=oa,l.last=0,l.havedict=0,l.flags=-1,l.dmax=32768,l.head=null,l.hold=0,l.bits=0,l.lencode=l.lendyn=new Int32Array(852),l.distcode=l.distdyn=new Int32Array(592),l.sane=1,l.back=-1,qr},uu=function(a){if(zr(a))return Ke;var l=a.state;return l.wsize=0,l.whave=0,l.wnext=0,ou(a)},su=function(a,l){var i;if(zr(a))return Ke;var d=a.state;return l<0?(i=0,l=-l):(i=5+(l>>4),l<48&&(l&=15)),l&&(l<8||l>15)?Ke:(d.window!==null&&d.wbits!==l&&(d.window=null),d.wrap=i,d.wbits=l,uu(a))},lu=function(a,l){if(!a)return Ke;var i=new rh;a.state=i,i.strm=a,i.window=null,i.mode=oa;var d=su(a,l);return d!==qr&&(a.state=null),d},cu=true,th=function(a){if(cu){si=new Int32Array(512),li=new Int32Array(32);for(var l=0;l<144;)a.lens[l++]=8;for(;l<256;)a.lens[l++]=9;for(;l<280;)a.lens[l++]=7;for(;l<288;)a.lens[l++]=8;for(Yt(1,a.lens,0,288,si,0,a.work,{bits:9}),l=0;l<32;)a.lens[l++]=5;Yt(2,a.lens,0,32,li,0,a.work,{bits:5}),cu=false;}a.lencode=si,a.lenbits=9,a.distcode=li,a.distbits=5;},fu=function(a,l,i,d){var g,m=a.state;return m.window===null&&(m.wsize=1<<m.wbits,m.wnext=0,m.whave=0,m.window=new Uint8Array(m.wsize)),d>=m.wsize?(m.window.set(l.subarray(i-m.wsize,i),0),m.wnext=0,m.whave=m.wsize):((g=m.wsize-m.wnext)>d&&(g=d),m.window.set(l.subarray(i-d,i-d+g),m.wnext),(d-=g)?(m.window.set(l.subarray(i-d,i),0),m.wnext=d,m.whave=m.wsize):(m.wnext+=g,m.wnext===m.wsize&&(m.wnext=0),m.whave<m.wsize&&(m.whave+=g))),0},dr={inflateReset:uu,inflateReset2:su,inflateResetKeep:ou,inflateInit:function(a){return lu(a,15)},inflateInit2:lu,inflate:function(a,l){var i,d,g,m,D,v,_,E,x,$,F,A,B,Q,Y,ee,I,N,j,fe,U,ie,ae,H,W=0,ce=new Uint8Array(4),jr=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(zr(a)||!a.output||!a.input&&a.avail_in!==0)return Ke;(i=a.state).mode===hr&&(i.mode=ii),D=a.next_out,g=a.output,_=a.avail_out,m=a.next_in,d=a.input,v=a.avail_in,E=i.hold,x=i.bits,$=v,F=_,ie=qr;e:for(;;)switch(i.mode){case oa:if(i.wrap===0){i.mode=ii;break}for(;x<16;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(2&i.wrap&&E===35615){i.wbits===0&&(i.wbits=15),i.check=0,ce[0]=255&E,ce[1]=E>>>8&255,i.check=Ae(i.check,ce,2,0),E=0,x=0,i.mode=16181;break}if(i.head&&(i.head.done=false),!(1&i.wrap)||(((255&E)<<8)+(E>>8))%31){a.msg="incorrect header check",i.mode=de;break}if((15&E)!==au){a.msg="unknown compression method",i.mode=de;break}if(x-=4,U=8+(15&(E>>>=4)),i.wbits===0&&(i.wbits=U),U>15||U>i.wbits){a.msg="invalid window size",i.mode=de;break}i.dmax=1<<i.wbits,i.flags=0,a.adler=i.check=1,i.mode=512&E?16189:hr,E=0,x=0;break;case 16181:for(;x<16;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(i.flags=E,(255&i.flags)!==au){a.msg="unknown compression method",i.mode=de;break}if(57344&i.flags){a.msg="unknown header flags set",i.mode=de;break}i.head&&(i.head.text=E>>8&1),512&i.flags&&4&i.wrap&&(ce[0]=255&E,ce[1]=E>>>8&255,i.check=Ae(i.check,ce,2,0)),E=0,x=0,i.mode=16182;case 16182:for(;x<32;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}i.head&&(i.head.time=E),512&i.flags&&4&i.wrap&&(ce[0]=255&E,ce[1]=E>>>8&255,ce[2]=E>>>16&255,ce[3]=E>>>24&255,i.check=Ae(i.check,ce,4,0)),E=0,x=0,i.mode=16183;case 16183:for(;x<16;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}i.head&&(i.head.xflags=255&E,i.head.os=E>>8),512&i.flags&&4&i.wrap&&(ce[0]=255&E,ce[1]=E>>>8&255,i.check=Ae(i.check,ce,2,0)),E=0,x=0,i.mode=16184;case 16184:if(1024&i.flags){for(;x<16;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}i.length=E,i.head&&(i.head.extra_len=E),512&i.flags&&4&i.wrap&&(ce[0]=255&E,ce[1]=E>>>8&255,i.check=Ae(i.check,ce,2,0)),E=0,x=0;}else i.head&&(i.head.extra=null);i.mode=16185;case 16185:if(1024&i.flags&&((A=i.length)>v&&(A=v),A&&(i.head&&(U=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Uint8Array(i.head.extra_len)),i.head.extra.set(d.subarray(m,m+A),U)),512&i.flags&&4&i.wrap&&(i.check=Ae(i.check,d,A,m)),v-=A,m+=A,i.length-=A),i.length))break e;i.length=0,i.mode=16186;case 16186:if(2048&i.flags){if(v===0)break e;A=0;do U=d[m+A++],i.head&&U&&i.length<65536&&(i.head.name+=String.fromCharCode(U));while(U&&A<v);if(512&i.flags&&4&i.wrap&&(i.check=Ae(i.check,d,A,m)),v-=A,m+=A,U)break e}else i.head&&(i.head.name=null);i.length=0,i.mode=16187;case 16187:if(4096&i.flags){if(v===0)break e;A=0;do U=d[m+A++],i.head&&U&&i.length<65536&&(i.head.comment+=String.fromCharCode(U));while(U&&A<v);if(512&i.flags&&4&i.wrap&&(i.check=Ae(i.check,d,A,m)),v-=A,m+=A,U)break e}else i.head&&(i.head.comment=null);i.mode=16188;case 16188:if(512&i.flags){for(;x<16;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(4&i.wrap&&E!==(65535&i.check)){a.msg="header crc mismatch",i.mode=de;break}E=0,x=0;}i.head&&(i.head.hcrc=i.flags>>9&1,i.head.done=true),a.adler=i.check=0,i.mode=hr;break;case 16189:for(;x<32;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}a.adler=i.check=iu(E),E=0,x=0,i.mode=ua;case ua:if(i.havedict===0)return a.next_out=D,a.avail_out=_,a.next_in=m,a.avail_in=v,i.hold=E,i.bits=x,$p;a.adler=i.check=1,i.mode=hr;case hr:if(l===Qp||l===ia)break e;case ii:if(i.last){E>>>=7&x,x-=7&x,i.mode=ui;break}for(;x<3;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}switch(i.last=1&E,x-=1,3&(E>>>=1)){case 0:i.mode=16193;break;case 1:if(th(i),i.mode=sa,l===ia){E>>>=2,x-=2;break e}break;case 2:i.mode=16196;break;case 3:a.msg="invalid block type",i.mode=de;}E>>>=2,x-=2;break;case 16193:for(E>>>=7&x,x-=7&x;x<32;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if((65535&E)!=(E>>>16^65535)){a.msg="invalid stored block lengths",i.mode=de;break}if(i.length=65535&E,E=0,x=0,i.mode=oi,l===ia)break e;case oi:i.mode=16195;case 16195:if(A=i.length){if(A>v&&(A=v),A>_&&(A=_),A===0)break e;g.set(d.subarray(m,m+A),D),v-=A,m+=A,_-=A,D+=A,i.length-=A;break}i.mode=hr;break;case 16196:for(;x<14;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(i.nlen=257+(31&E),E>>>=5,x-=5,i.ndist=1+(31&E),E>>>=5,x-=5,i.ncode=4+(15&E),E>>>=4,x-=4,i.nlen>286||i.ndist>30){a.msg="too many length or distance symbols",i.mode=de;break}i.have=0,i.mode=16197;case 16197:for(;i.have<i.ncode;){for(;x<3;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}i.lens[jr[i.have++]]=7&E,E>>>=3,x-=3;}for(;i.have<19;)i.lens[jr[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,ae={bits:i.lenbits},ie=Yt(0,i.lens,0,19,i.lencode,0,i.work,ae),i.lenbits=ae.bits,ie){a.msg="invalid code lengths set",i.mode=de;break}i.have=0,i.mode=16198;case 16198:for(;i.have<i.nlen+i.ndist;){for(;ee=(W=i.lencode[E&(1<<i.lenbits)-1])>>>16&255,I=65535&W,!((Y=W>>>24)<=x);){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(I<16)E>>>=Y,x-=Y,i.lens[i.have++]=I;else {if(I===16){for(H=Y+2;x<H;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(E>>>=Y,x-=Y,i.have===0){a.msg="invalid bit length repeat",i.mode=de;break}U=i.lens[i.have-1],A=3+(3&E),E>>>=2,x-=2;}else if(I===17){for(H=Y+3;x<H;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}x-=Y,U=0,A=3+(7&(E>>>=Y)),E>>>=3,x-=3;}else {for(H=Y+7;x<H;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}x-=Y,U=0,A=11+(127&(E>>>=Y)),E>>>=7,x-=7;}if(i.have+A>i.nlen+i.ndist){a.msg="invalid bit length repeat",i.mode=de;break}for(;A--;)i.lens[i.have++]=U;}}if(i.mode===de)break;if(i.lens[256]===0){a.msg="invalid code -- missing end-of-block",i.mode=de;break}if(i.lenbits=9,ae={bits:i.lenbits},ie=Yt(1,i.lens,0,i.nlen,i.lencode,0,i.work,ae),i.lenbits=ae.bits,ie){a.msg="invalid literal/lengths set",i.mode=de;break}if(i.distbits=6,i.distcode=i.distdyn,ae={bits:i.distbits},ie=Yt(2,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,ae),i.distbits=ae.bits,ie){a.msg="invalid distances set",i.mode=de;break}if(i.mode=sa,l===ia)break e;case sa:i.mode=la;case la:if(v>=6&&_>=258){a.next_out=D,a.avail_out=_,a.next_in=m,a.avail_in=v,i.hold=E,i.bits=x,Zp(a,F),D=a.next_out,g=a.output,_=a.avail_out,m=a.next_in,d=a.input,v=a.avail_in,E=i.hold,x=i.bits,i.mode===hr&&(i.back=-1);break}for(i.back=0;ee=(W=i.lencode[E&(1<<i.lenbits)-1])>>>16&255,I=65535&W,!((Y=W>>>24)<=x);){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(ee&&(240&ee)==0){for(N=Y,j=ee,fe=I;ee=(W=i.lencode[fe+((E&(1<<N+j)-1)>>N)])>>>16&255,I=65535&W,!(N+(Y=W>>>24)<=x);){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}E>>>=N,x-=N,i.back+=N;}if(E>>>=Y,x-=Y,i.back+=Y,i.length=I,ee===0){i.mode=16205;break}if(32&ee){i.back=-1,i.mode=hr;break}if(64&ee){a.msg="invalid literal/length code",i.mode=de;break}i.extra=15&ee,i.mode=16201;case 16201:if(i.extra){for(H=i.extra;x<H;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}i.length+=E&(1<<i.extra)-1,E>>>=i.extra,x-=i.extra,i.back+=i.extra;}i.was=i.length,i.mode=16202;case 16202:for(;ee=(W=i.distcode[E&(1<<i.distbits)-1])>>>16&255,I=65535&W,!((Y=W>>>24)<=x);){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if((240&ee)==0){for(N=Y,j=ee,fe=I;ee=(W=i.distcode[fe+((E&(1<<N+j)-1)>>N)])>>>16&255,I=65535&W,!(N+(Y=W>>>24)<=x);){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}E>>>=N,x-=N,i.back+=N;}if(E>>>=Y,x-=Y,i.back+=Y,64&ee){a.msg="invalid distance code",i.mode=de;break}i.offset=I,i.extra=15&ee,i.mode=16203;case 16203:if(i.extra){for(H=i.extra;x<H;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}i.offset+=E&(1<<i.extra)-1,E>>>=i.extra,x-=i.extra,i.back+=i.extra;}if(i.offset>i.dmax){a.msg="invalid distance too far back",i.mode=de;break}i.mode=16204;case 16204:if(_===0)break e;if(A=F-_,i.offset>A){if((A=i.offset-A)>i.whave&&i.sane){a.msg="invalid distance too far back",i.mode=de;break}A>i.wnext?(A-=i.wnext,B=i.wsize-A):B=i.wnext-A,A>i.length&&(A=i.length),Q=i.window;}else Q=g,B=D-i.offset,A=i.length;A>_&&(A=_),_-=A,i.length-=A;do g[D++]=Q[B++];while(--A);i.length===0&&(i.mode=la);break;case 16205:if(_===0)break e;g[D++]=i.length,_--,i.mode=la;break;case ui:if(i.wrap){for(;x<32;){if(v===0)break e;v--,E|=d[m++]<<x,x+=8;}if(F-=_,a.total_out+=F,i.total+=F,4&i.wrap&&F&&(a.adler=i.check=i.flags?Ae(i.check,g,F,D-F):qt(i.check,g,F,D-F)),F=_,4&i.wrap&&(i.flags?E:iu(E))!==i.check){a.msg="incorrect data check",i.mode=de;break}E=0,x=0;}i.mode=16207;case 16207:if(i.wrap&&i.flags){for(;x<32;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(4&i.wrap&&E!==(4294967295&i.total)){a.msg="incorrect length check",i.mode=de;break}E=0,x=0;}i.mode=16208;case 16208:ie=Jp;break e;case de:ie=tu;break e;case 16210:return nu;default:return Ke}return a.next_out=D,a.avail_out=_,a.next_in=m,a.avail_in=v,i.hold=E,i.bits=x,(i.wsize||F!==a.avail_out&&i.mode<de&&(i.mode<ui||l!==ru))&&fu(a,a.output,a.next_out,F-a.avail_out),$-=a.avail_in,F-=a.avail_out,a.total_in+=$,a.total_out+=F,i.total+=F,4&i.wrap&&F&&(a.adler=i.check=i.flags?Ae(i.check,g,F,a.next_out-F):qt(i.check,g,F,a.next_out-F)),a.data_type=i.bits+(i.last?64:0)+(i.mode===hr?128:0)+(i.mode===sa||i.mode===oi?256:0),($===0&&F===0||l===ru)&&ie===qr&&(ie=eh),ie},inflateEnd:function(a){if(zr(a))return Ke;var l=a.state;return l.window&&(l.window=null),a.state=null,qr},inflateGetHeader:function(a,l){if(zr(a))return Ke;var i=a.state;return (2&i.wrap)==0?Ke:(i.head=l,l.done=false,qr)},inflateSetDictionary:function(a,l){var i,d=l.length;return zr(a)||(i=a.state).wrap!==0&&i.mode!==ua?Ke:i.mode===ua&&qt(1,l,d,0)!==i.check?tu:fu(a,l,d,d)?(i.mode=16210,nu):(i.havedict=1,qr)},inflateInfo:"pako inflate (from Nodeca project)"},nh=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=false;},pu=Object.prototype.toString,ah=X.Z_NO_FLUSH,ih=X.Z_FINISH,Wt=X.Z_OK,ci=X.Z_STREAM_END,fi=X.Z_NEED_DICT,oh=X.Z_STREAM_ERROR,hu=X.Z_DATA_ERROR,uh=X.Z_MEM_ERROR;function Kt(a){this.options=Ko({chunkSize:65536,windowBits:15,to:""},a||{});var l=this.options;l.raw&&l.windowBits>=0&&l.windowBits<16&&(l.windowBits=-l.windowBits,l.windowBits===0&&(l.windowBits=-15)),!(l.windowBits>=0&&l.windowBits<16)||a&&a.windowBits||(l.windowBits+=32),l.windowBits>15&&l.windowBits<48&&(15&l.windowBits)==0&&(l.windowBits|=15),this.err=0,this.msg="",this.ended=false,this.chunks=[],this.strm=new $o,this.strm.avail_out=0;var i=dr.inflateInit2(this.strm,l.windowBits);if(i!==Wt)throw new Error(Fr[i]);if(this.header=new nh,dr.inflateGetHeader(this.strm,this.header),l.dictionary&&(typeof l.dictionary=="string"?l.dictionary=ni(l.dictionary):pu.call(l.dictionary)==="[object ArrayBuffer]"&&(l.dictionary=new Uint8Array(l.dictionary)),l.raw&&(i=dr.inflateSetDictionary(this.strm,l.dictionary))!==Wt))throw new Error(Fr[i])}function pi(a,l){var i=new Kt(l);if(i.push(a),i.err)throw i.msg||Fr[i.err];return i.result}Kt.prototype.push=function(a,l){var i,d,g,m=this.strm,D=this.options.chunkSize,v=this.options.dictionary;if(this.ended)return false;for(d=l===~~l?l:l===true?ih:ah,pu.call(a)==="[object ArrayBuffer]"?m.input=new Uint8Array(a):m.input=a,m.next_in=0,m.avail_in=m.input.length;;){for(m.avail_out===0&&(m.output=new Uint8Array(D),m.next_out=0,m.avail_out=D),(i=dr.inflate(m,d))===fi&&v&&((i=dr.inflateSetDictionary(m,v))===Wt?i=dr.inflate(m,d):i===hu&&(i=fi));m.avail_in>0&&i===ci&&m.state.wrap>0&&a[m.next_in]!==0;)dr.inflateReset(m),i=dr.inflate(m,d);switch(i){case oh:case hu:case fi:case uh:return this.onEnd(i),this.ended=true,false}if(g=m.avail_out,m.next_out&&(m.avail_out===0||i===ci))if(this.options.to==="string"){var _=Lp(m.output,m.next_out),E=m.next_out-_,x=Fp(m.output,_);m.next_out=E,m.avail_out=D-E,E&&m.output.set(m.output.subarray(_,_+E),0),this.onData(x);}else this.onData(m.output.length===m.next_out?m.output:m.output.subarray(0,m.next_out));if(i!==Wt||g!==0){if(i===ci)return i=dr.inflateEnd(this.strm),this.onEnd(i),this.ended=true,true;if(m.avail_in===0)break}}return true},Kt.prototype.onData=function(a){this.chunks.push(a);},Kt.prototype.onEnd=function(a){a===Wt&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Qo(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg;};var ca={Inflate:Kt,inflate:pi,inflateRaw:function(a,l){return (l=l||{}).raw=true,pi(a,l)},ungzip:pi},du=ta.Deflate,gu=ta.deflate,mu=ta.deflateRaw,vu=ta.gzip,yu=ca.Inflate,Eu=ca.inflate,bu=ca.inflateRaw,xu=ca.ungzip,wu=X,sh={Deflate:du,deflate:gu,deflateRaw:mu,gzip:vu,Inflate:yu,inflate:Eu,inflateRaw:bu,ungzip:xu,constants:wu};e.Deflate=du,e.Inflate=yu,e.constants=wu,e.default=sh,e.deflate=gu,e.deflateRaw=mu,e.gzip=vu,e.inflate=Eu,e.inflateRaw=bu,e.ungzip=xu,Object.defineProperty(e,"__esModule",{value:true});}));});var Ou=b(st=>{var _u=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",Su=Cu();st.uncompressInputType=_u?"uint8array":"array";st.compressInputType=_u?"uint8array":"array";st.magic="\b\0";st.compress=function(e,r){return Su.deflateRaw(e,{level:r.level||-1})};st.uncompress=function(e){return Su.inflateRaw(e)};});var ga=b(mi=>{mi.STORE={magic:"\0\0",compress:function(r){return r},uncompress:function(r){return r},compressInputType:null,uncompressInputType:null};mi.DEFLATE=Ou();});var ma=b((Gb,vi)=>{vi.exports=function(e,r){return typeof e=="number"?Buffer.alloc(e):Buffer.from(e,r)};vi.exports.test=function(e){return Buffer.isBuffer(e)};});var He=b(_e=>{function Ea(e){"@babel/helpers - typeof";return Ea=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ea(e)}var ya=Vr(),va=ga(),lt=ma();_e.string2binary=function(e){for(var r="",t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)&255);return r};_e.arrayBuffer2Blob=function(e,r){_e.checkSupport("blob"),r=r||"application/zip";try{return new Blob([e],{type:r})}catch{try{var t=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,n=new t;return n.append(e),n.getBlob(r)}catch{throw new Error("Bug : can't construct the Blob.")}}};function Qt(e){return e}function yi(e,r){for(var t=0;t<e.length;++t)r[t]=e.charCodeAt(t)&255;return r}function Jt(e){var r=65536,t=[],n=e.length,o=_e.getTypeOf(e),u=0,s=true;try{switch(o){case "uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case "nodebuffer":String.fromCharCode.apply(null,lt(0));break}}catch{s=false;}if(!s){for(var c="",f=0;f<e.length;f++)c+=String.fromCharCode(e[f]);return c}for(;u<n&&r>1;)try{o==="array"||o==="nodebuffer"?t.push(String.fromCharCode.apply(null,e.slice(u,Math.min(u+r,n)))):t.push(String.fromCharCode.apply(null,e.subarray(u,Math.min(u+r,n)))),u+=r;}catch{r=Math.floor(r/2);}return t.join("")}_e.applyFromCharCode=Jt;function ba(e,r){for(var t=0;t<e.length;t++)r[t]=e[t];return r}var Cr={};Cr.string={string:Qt,array:function(r){return yi(r,new Array(r.length))},arraybuffer:function(r){return Cr.string.uint8array(r).buffer},uint8array:function(r){return yi(r,new Uint8Array(r.length))},nodebuffer:function(r){return yi(r,lt(r.length))}};Cr.array={string:Jt,array:Qt,arraybuffer:function(r){return new Uint8Array(r).buffer},uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return lt(r)}};Cr.arraybuffer={string:function(r){return Jt(new Uint8Array(r))},array:function(r){return ba(new Uint8Array(r),new Array(r.byteLength))},arraybuffer:Qt,uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return lt(new Uint8Array(r))}};Cr.uint8array={string:Jt,array:function(r){return ba(r,new Array(r.length))},arraybuffer:function(r){return r.buffer},uint8array:Qt,nodebuffer:function(r){return lt(r)}};Cr.nodebuffer={string:Jt,array:function(r){return ba(r,new Array(r.length))},arraybuffer:function(r){return Cr.nodebuffer.uint8array(r).buffer},uint8array:function(r){return ba(r,new Uint8Array(r.length))},nodebuffer:Qt};_e.transformTo=function(e,r){if(r||(r=""),!e)return r;_e.checkSupport(e);var t=_e.getTypeOf(r),n=Cr[t][e](r);return n};_e.getTypeOf=function(e){if(e!=null){if(typeof e=="string")return "string";var r=Object.prototype.toString.call(e);if(r==="[object Array]")return "array";if(ya.nodebuffer&&lt.test(e))return "nodebuffer";if(ya.uint8array&&r==="[object Uint8Array]")return "uint8array";if(ya.arraybuffer&&r==="[object ArrayBuffer]")return "arraybuffer";if(r==="[object Promise]")throw new Error("Cannot read data from a promise, you probably are running new PizZip(data) with a promise");if(Ea(e)==="object"&&typeof e.file=="function")throw new Error("Cannot read data from a pizzip instance, you probably are running new PizZip(zip) with a zipinstance");if(r==="[object Date]")throw new Error("Cannot read data from a Date, you probably are running new PizZip(data) with a date");if(Ea(e)==="object"&&e.crc32==null)throw new Error("Unsupported data given to new PizZip(data) (object given)")}};_e.checkSupport=function(e){var r=ya[e.toLowerCase()];if(!r)throw new Error(e+" is not supported by this browser")};_e.MAX_VALUE_16BITS=65535;_e.MAX_VALUE_32BITS=-1;_e.pretty=function(e){var r="",t,n;for(n=0;n<(e||"").length;n++)t=e.charCodeAt(n),r+="\\x"+(t<16?"0":"")+t.toString(16).toUpperCase();return r};_e.findCompression=function(e){for(var r in va)if(va.hasOwnProperty(r)&&va[r].magic===e)return va[r];return null};_e.isRegExp=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"};_e.extend=function(){var e={},r,t;for(r=0;r<arguments.length;r++)for(t in arguments[r])arguments[r].hasOwnProperty(t)&&typeof e[t]>"u"&&(e[t]=arguments[r][t]);return e};});var Iu=b((Wb,Nu)=>{var lh=He(),ch=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];Nu.exports=function(r,t){if(typeof r>"u"||!r.length)return 0;var n=lh.getTypeOf(r)!=="string";typeof t>"u"&&(t=0);var o=0,u=0,s=0;t^=-1;for(var c=0,f=r.length;c<f;c++)s=n?r[c]:r.charCodeAt(c),u=(t^s)&255,o=ch[u],t=t>>>8^o;return t^-1};});var Ei=b(Xr=>{Xr.LOCAL_FILE_HEADER="PK";Xr.CENTRAL_FILE_HEADER="PK";Xr.CENTRAL_DIRECTORY_END="PK";Xr.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07";Xr.ZIP64_CENTRAL_DIRECTORY_END="PK";Xr.DATA_DESCRIPTOR="PK\x07\b";});var bi=b(Je=>{Je.base64=false;Je.binary=false;Je.dir=false;Je.createFolders=false;Je.date=null;Je.compression=null;Je.compressionOptions=null;Je.comment=null;Je.unixPermissions=null;Je.dosPermissions=null;});var xi=b((Jb,Pu)=>{function Bu(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null;}Bu.prototype={getContent:function(){return null},getCompressedContent:function(){return null}};Pu.exports=Bu;});var Ai=b(Di=>{var wi=He(),$t=Vr(),fh=ma(),en=new Array(256);for(gr=0;gr<256;gr++)en[gr]=gr>=252?6:gr>=248?5:gr>=240?4:gr>=224?3:gr>=192?2:1;var gr;en[254]=en[254]=1;function ph(e){var r,t,n,o,u,s=0,c=e.length;for(o=0;o<c;o++)t=e.charCodeAt(o),(t&64512)===55296&&o+1<c&&(n=e.charCodeAt(o+1),(n&64512)===56320&&(t=65536+(t-55296<<10)+(n-56320),o++)),s+=t<128?1:t<2048?2:t<65536?3:4;for($t.uint8array?r=new Uint8Array(s):r=new Array(s),u=0,o=0;u<s;o++)t=e.charCodeAt(o),(t&64512)===55296&&o+1<c&&(n=e.charCodeAt(o+1),(n&64512)===56320&&(t=65536+(t-55296<<10)+(n-56320),o++)),t<128?r[u++]=t:t<2048?(r[u++]=192|t>>>6,r[u++]=128|t&63):t<65536?(r[u++]=224|t>>>12,r[u++]=128|t>>>6&63,r[u++]=128|t&63):(r[u++]=240|t>>>18,r[u++]=128|t>>>12&63,r[u++]=128|t>>>6&63,r[u++]=128|t&63);return r}function hh(e,r){var t;for(r=r||e.length,r>e.length&&(r=e.length),t=r-1;t>=0&&(e[t]&192)===128;)t--;return t<0||t===0?r:t+en[e[t]]>r?t:r}function Ru(e){var r,t,n,o,u=e.length,s=new Array(u*2);for(t=0,r=0;r<u;){if(n=e[r++],n<128){s[t++]=n;continue}if(o=en[n],o>4){s[t++]=65533,r+=o-1;continue}for(n&=o===2?31:o===3?15:7;o>1&&r<u;)n=n<<6|e[r++]&63,o--;if(o>1){s[t++]=65533;continue}n<65536?s[t++]=n:(n-=65536,s[t++]=55296|n>>10&1023,s[t++]=56320|n&1023);}return s.length!==t&&(s.subarray?s=s.subarray(0,t):s.length=t),wi.applyFromCharCode(s)}Di.utf8encode=function(r){return $t.nodebuffer?fh(r,"utf-8"):ph(r)};Di.utf8decode=function(r){if($t.nodebuffer)return wi.transformTo("nodebuffer",r).toString("utf-8");r=wi.transformTo($t.uint8array?"uint8array":"array",r);for(var t=[],n=r.length,o=65536,u=0;u<n;){var s=hh(r,Math.min(u+o,n));$t.uint8array?t.push(Ru(r.subarray(u,s))):t.push(Ru(r.slice(u,s))),u=s;}return t.join("")};});var Lu=b((e1,Fu)=>{var dh=He();function ku(){this.data=[];}ku.prototype={append:function(r){r=dh.transformTo("string",r),this.data.push(r);},finalize:function(){return this.data.join("")}};Fu.exports=ku;});var qu=b((r1,Uu)=>{var gh=He();function Mu(e){this.data=new Uint8Array(e),this.index=0;}Mu.prototype={append:function(r){r.length!==0&&(r=gh.transformTo("uint8array",r),this.data.set(r,this.index),this.index+=r.length);},finalize:function(){return this.data}};Uu.exports=Mu;});var Ii=b((t1,Yu)=>{function mh(e,r){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=vh(e))||r){t&&(e=t);var n=0,o=function(){};return {s:o,n:function(){return n>=e.length?{done:true}:{done:false,value:e[n++]}},e:function(h){throw h},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var u,s=true,c=false;return {s:function(){t=t.call(e);},n:function(){var h=t.next();return s=h.done,h},e:function(h){c=true,u=h;},f:function(){try{s||t.return==null||t.return();}finally{if(c)throw u}}}}function vh(e,r){if(e){if(typeof e=="string")return zu(e,r);var t={}.toString.call(e).slice(8,-1);return t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set"?Array.from(e):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?zu(e,r):void 0}}function zu(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var yh=Vr(),he=He(),Oi=Iu(),Ti=Ei(),Eh=bi(),Vu=ha(),Ci=ga(),xa=xi(),bh=ma(),ct=Ai(),xh=Lu(),wh=qu();function Xu(e){if(e._data instanceof xa&&(e._data=e._data.getContent(),e.options.binary=true,e.options.base64=false,he.getTypeOf(e._data)==="uint8array")){var r=e._data;e._data=new Uint8Array(r.length),r.length!==0&&e._data.set(r,0);}return e._data}function _i(e){var r=Xu(e),t=he.getTypeOf(r);return t==="string"?!e.options.binary&&yh.nodebuffer?bh(r,"utf-8"):e.asBinary():r}var Si={load:function(){throw new Error("Load method is not defined. Is the file pizzip-load.js included ?")},filter:function(r){var t=[],n,o,u,s;for(n in this.files)this.files.hasOwnProperty(n)&&(u=this.files[n],s=new Ni(u.name,u._data,he.extend(u.options)),o=n.slice(this.root.length,n.length),n.slice(0,this.root.length)===this.root&&r(o,s)&&t.push(s));return t},file:function(r,t,n){if(arguments.length===1){if(he.isRegExp(r)){var o=r;return this.filter(function(u,s){return !s.dir&&o.test(u)})}return this.filter(function(u,s){return !s.dir&&u===r})[0]||null}return r=this.root+r,Hu.call(this,r,t,n),this},folder:function(r){if(!r)return this;if(he.isRegExp(r))return this.filter(function(u,s){return s.dir&&r.test(u)});var t=this.root+r,n=Gu.call(this,t),o=this.shallowClone();return o.root=n.name,o},remove:function(r){r=this.root+r;var t=this.files[r];if(t||(r.slice(-1)!=="/"&&(r+="/"),t=this.files[r]),t&&!t.dir)delete this.files[r];else for(var n=this.filter(function(u,s){return s.name.slice(0,r.length)===r}),o=0;o<n.length;o++)delete this.files[n[o].name];return this},generate:function(r){r=he.extend(r||{},{base64:true,compression:"STORE",compressionOptions:null,type:"base64",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:ct.utf8encode}),he.checkSupport(r.type),(r.platform==="darwin"||r.platform==="freebsd"||r.platform==="linux"||r.platform==="sunos")&&(r.platform="UNIX"),r.platform==="win32"&&(r.platform="DOS");var t=[],n=he.transformTo("string",r.encodeFileName(r.comment||this.comment||"")),o=0,u=0,s,c,f=[];r.fileOrder instanceof Array&&(f=r.fileOrder);for(var h in this.files)f.indexOf(h)===-1&&f.push(h);typeof r.fileOrder=="function"&&(f=r.fileOrder(this.files));var p=mh(f),y;try{for(p.s();!(y=p.n()).done;){var b=y.value;if(this.files.hasOwnProperty(b)){var w=this.files[b],T=w.options.compression||r.compression.toUpperCase(),C=Ci[T];if(!C)throw new Error(T+" is not a valid compression method !");var O=w.options.compressionOptions||r.compressionOptions||{},P=Th.call(this,w,C,O),R=Sh.call(this,b,w,P,o,r.platform,r.encodeFileName);o+=R.fileRecord.length+P.compressedSize,u+=R.dirRecord.length,t.push(R);}}}catch(V){p.e(V);}finally{p.f();}var S="";S=Ti.CENTRAL_DIRECTORY_END+"\0\0\0\0"+ve(t.length,2)+ve(t.length,2)+ve(u,4)+ve(o,4)+ve(n.length,2)+n;var k=r.type.toLowerCase();for(k==="uint8array"||k==="arraybuffer"||k==="blob"||k==="nodebuffer"?s=new wh(o+u+S.length):s=new xh(o+u+S.length),c=0;c<t.length;c++)s.append(t[c].fileRecord),s.append(t[c].compressedObject.compressedContent);for(c=0;c<t.length;c++)s.append(t[c].dirRecord);s.append(S);var q=s.finalize();switch(r.type.toLowerCase()){case "uint8array":case "arraybuffer":case "nodebuffer":return he.transformTo(r.type.toLowerCase(),q);case "blob":return he.arrayBuffer2Blob(he.transformTo("arraybuffer",q),r.mimeType);case "base64":return r.base64?Vu.encode(q):q;default:return q}},crc32:function(r,t){return Oi(r,t)},utf8encode:function(r){return he.transformTo("string",ct.utf8encode(r))},utf8decode:function(r){return ct.utf8decode(r)}};function ju(e){var r=Xu(this);return r===null||typeof r>"u"?"":(this.options.base64&&(r=Vu.decode(r)),e&&this.options.binary?r=Si.utf8decode(r):r=he.transformTo("string",r),!e&&!this.options.binary&&(r=he.transformTo("string",Si.utf8encode(r))),r)}function Ni(e,r,t){this.name=e,this.dir=t.dir,this.date=t.date,this.comment=t.comment,this.unixPermissions=t.unixPermissions,this.dosPermissions=t.dosPermissions,this._data=r,this.options=t,this._initialMetadata={dir:t.dir,date:t.date};}Ni.prototype={asText:function(){return ju.call(this,true)},asBinary:function(){return ju.call(this,false)},asNodeBuffer:function(){var r=_i(this);return he.transformTo("nodebuffer",r)},asUint8Array:function(){var r=_i(this);return he.transformTo("uint8array",r)},asArrayBuffer:function(){return this.asUint8Array().buffer}};function ve(e,r){var t="",n;for(n=0;n<r;n++)t+=String.fromCharCode(e&255),e>>>=8;return t}function Dh(e){return e=e||{},e.base64===true&&(e.binary===null||e.binary===void 0)&&(e.binary=true),e=he.extend(e,Eh),e.date=e.date||new Date,e.compression!==null&&(e.compression=e.compression.toUpperCase()),e}function Hu(e,r,t){var n=he.getTypeOf(r),o;if(t=Dh(t),typeof t.unixPermissions=="string"&&(t.unixPermissions=parseInt(t.unixPermissions,8)),t.unixPermissions&&t.unixPermissions&16384&&(t.dir=true),t.dosPermissions&&t.dosPermissions&16&&(t.dir=true),t.dir&&(e=Zu(e)),t.createFolders&&(o=Ah(e))&&Gu.call(this,o,true),t.dir||r===null||typeof r>"u")t.base64=false,t.binary=false,r=null,n=null;else if(n==="string")t.binary&&!t.base64&&t.optimizedBinaryString!==true&&(r=he.string2binary(r));else {if(t.base64=false,t.binary=true,!n&&!(r instanceof xa))throw new Error("The data of '"+e+"' is in an unsupported format !");n==="arraybuffer"&&(r=he.transformTo("uint8array",r));}var u=new Ni(e,r,t);return this.files[e]=u,u}function Ah(e){e.slice(-1)==="/"&&(e=e.substring(0,e.length-1));var r=e.lastIndexOf("/");return r>0?e.substring(0,r):""}function Zu(e){return e.slice(-1)!=="/"&&(e+="/"),e}function Gu(e,r){return r=typeof r<"u"?r:false,e=Zu(e),this.files[e]||Hu.call(this,e,null,{dir:true,createFolders:r}),this.files[e]}function Th(e,r,t){var n=new xa,o;return e._data instanceof xa?(n.uncompressedSize=e._data.uncompressedSize,n.crc32=e._data.crc32,n.uncompressedSize===0||e.dir?(r=Ci.STORE,n.compressedContent="",n.crc32=0):e._data.compressionMethod===r.magic?n.compressedContent=e._data.getCompressedContent():(o=e._data.getContent(),n.compressedContent=r.compress(he.transformTo(r.compressInputType,o),t))):(o=_i(e),(!o||o.length===0||e.dir)&&(r=Ci.STORE,o=""),n.uncompressedSize=o.length,n.crc32=Oi(o),n.compressedContent=r.compress(he.transformTo(r.compressInputType,o),t)),n.compressedSize=n.compressedContent.length,n.compressionMethod=r.magic,n}function Ch(e,r){var t=e;return e||(t=r?16893:33204),(t&65535)<<16}function _h(e){return (e||0)&63}function Sh(e,r,t,n,o,u){var s=u!==ct.utf8encode,c=he.transformTo("string",u(r.name)),f=he.transformTo("string",ct.utf8encode(r.name)),h=r.comment||"",p=he.transformTo("string",u(h)),y=he.transformTo("string",ct.utf8encode(h)),b=f.length!==r.name.length,w=y.length!==h.length,T=r.options,C,O,P="",R="",S="",k,q;r._initialMetadata.dir!==r.dir?k=r.dir:k=T.dir,r._initialMetadata.date!==r.date?q=r.date:q=T.date;var V=0,G=0;k&&(V|=16),o==="UNIX"?(G=798,V|=Ch(r.unixPermissions,k)):(G=20,V|=_h(r.dosPermissions)),C=q.getHours(),C<<=6,C|=q.getMinutes(),C<<=5,C|=q.getSeconds()/2,O=q.getFullYear()-1980,O<<=4,O|=q.getMonth()+1,O<<=5,O|=q.getDate(),b&&(R=ve(1,1)+ve(Oi(c),4)+f,P+="up"+ve(R.length,2)+R),w&&(S=ve(1,1)+ve(this.crc32(p),4)+y,P+="uc"+ve(S.length,2)+S);var M="";M+=`
3
3
  \0`,M+=!s&&(b||w)?"\0\b":"\0\0",M+=t.compressionMethod,M+=ve(C,2),M+=ve(O,2),M+=ve(t.crc32,4),M+=ve(t.compressedSize,4),M+=ve(t.uncompressedSize,4),M+=ve(c.length,2),M+=ve(P.length,2);var te=Ti.LOCAL_FILE_HEADER+M+c+P,ge=Ti.CENTRAL_FILE_HEADER+ve(G,2)+M+ve(p.length,2)+"\0\0\0\0"+ve(V,4)+ve(n,4)+c+P+p;return {fileRecord:te,dirRecord:ge,compressedObject:t}}Yu.exports=Si;});var Bi=b((n1,Ku)=>{var Oh=He();function Wu(){this.data=null,this.length=0,this.index=0,this.zero=0;}Wu.prototype={checkOffset:function(r){this.checkIndex(this.index+r);},checkIndex:function(r){if(this.length<this.zero+r||r<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+r+"). Corrupted zip ?")},setIndex:function(r){this.checkIndex(r),this.index=r;},skip:function(r){this.setIndex(this.index+r);},byteAt:function(){},readInt:function(r){var t=0,n;for(this.checkOffset(r),n=this.index+r-1;n>=this.index;n--)t=(t<<8)+this.byteAt(n);return this.index+=r,t},readString:function(r){return Oh.transformTo("string",this.readData(r))},readData:function(){},lastIndexOfSignature:function(){},readDate:function(){var r=this.readInt(4);return new Date((r>>25&127)+1980,(r>>21&15)-1,r>>16&31,r>>11&31,r>>5&63,(r&31)<<1)}};Ku.exports=Wu;});var Pi=b((a1,Qu)=>{var Nh=Bi(),Ih=He();function rn(e,r){this.data=e,r||(this.data=Ih.string2binary(this.data)),this.length=this.data.length,this.index=0,this.zero=0;}rn.prototype=new Nh;rn.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)};rn.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero};rn.prototype.readData=function(e){this.checkOffset(e);var r=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,r};Qu.exports=rn;});var Ri=b((i1,Ju)=>{var Bh=Bi();function tn(e){if(e){this.data=e,this.length=this.data.length,this.index=0,this.zero=0;for(var r=0;r<this.data.length;r++)e[r]&=e[r];}}tn.prototype=new Bh;tn.prototype.byteAt=function(e){return this.data[this.zero+e]};tn.prototype.lastIndexOfSignature=function(e){for(var r=e.charCodeAt(0),t=e.charCodeAt(1),n=e.charCodeAt(2),o=e.charCodeAt(3),u=this.length-4;u>=0;--u)if(this.data[u]===r&&this.data[u+1]===t&&this.data[u+2]===n&&this.data[u+3]===o)return u-this.zero;return -1};tn.prototype.readData=function(e){if(this.checkOffset(e),e===0)return [];var r=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,r};Ju.exports=tn;});var Fi=b((o1,$u)=>{var Ph=Ri();function ki(e){e&&(this.data=e,this.length=this.data.length,this.index=0,this.zero=0);}ki.prototype=new Ph;ki.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array(0);var r=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,r};$u.exports=ki;});var rs=b((u1,es)=>{var Rh=Fi();function Li(e){this.data=e,this.length=this.data.length,this.index=0,this.zero=0;}Li.prototype=new Rh;Li.prototype.readData=function(e){this.checkOffset(e);var r=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,r};es.exports=Li;});var as=b((s1,ns)=>{var Mi=Pi(),$e=He(),kh=xi(),Hr=Ii(),Fh=Vr(),Lh=0,Mh=3;function ts(e,r){this.options=e,this.loadOptions=r;}ts.prototype={isEncrypted:function(){return (this.bitFlag&1)===1},useUTF8:function(){return (this.bitFlag&2048)===2048},prepareCompressedContent:function(r,t,n){return function(){var o=r.index;r.setIndex(t);var u=r.readData(n);return r.setIndex(o),u}},prepareContent:function(r,t,n,o,u){return function(){var s=$e.transformTo(o.uncompressInputType,this.getCompressedContent()),c=o.uncompress(s);if(c.length!==u)throw new Error("Bug : uncompressed data size mismatch");return c}},readLocalPart:function(r){r.skip(22),this.fileNameLength=r.readInt(2);var t=r.readInt(2);if(this.fileName=r.readData(this.fileNameLength),r.skip(t),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize == -1 || uncompressedSize == -1)");var n=$e.findCompression(this.compressionMethod);if(n===null)throw new Error("Corrupted zip : compression "+$e.pretty(this.compressionMethod)+" unknown (inner file : "+$e.transformTo("string",this.fileName)+")");if(this.decompressed=new kh,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(r,r.index,this.compressedSize,n),this.decompressed.getContent=this.prepareContent(r,r.index,this.compressedSize,n,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=$e.transformTo("string",this.decompressed.getContent()),Hr.crc32(this.decompressed)!==this.crc32))throw new Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(r){if(this.versionMadeBy=r.readInt(2),this.versionNeeded=r.readInt(2),this.bitFlag=r.readInt(2),this.compressionMethod=r.readString(2),this.date=r.readDate(),this.crc32=r.readInt(4),this.compressedSize=r.readInt(4),this.uncompressedSize=r.readInt(4),this.fileNameLength=r.readInt(2),this.extraFieldsLength=r.readInt(2),this.fileCommentLength=r.readInt(2),this.diskNumberStart=r.readInt(2),this.internalFileAttributes=r.readInt(2),this.externalFileAttributes=r.readInt(4),this.localHeaderOffset=r.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");this.fileName=r.readData(this.fileNameLength),this.readExtraFields(r),this.parseZIP64ExtraField(r),this.fileComment=r.readData(this.fileCommentLength);},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var r=this.versionMadeBy>>8;this.dir=!!(this.externalFileAttributes&16),r===Lh&&(this.dosPermissions=this.externalFileAttributes&63),r===Mh&&(this.unixPermissions=this.externalFileAttributes>>16&65535),!this.dir&&this.fileNameStr.slice(-1)==="/"&&(this.dir=true);},parseZIP64ExtraField:function(){if(this.extraFields[1]){var r=new Mi(this.extraFields[1].value);this.uncompressedSize===$e.MAX_VALUE_32BITS&&(this.uncompressedSize=r.readInt(8)),this.compressedSize===$e.MAX_VALUE_32BITS&&(this.compressedSize=r.readInt(8)),this.localHeaderOffset===$e.MAX_VALUE_32BITS&&(this.localHeaderOffset=r.readInt(8)),this.diskNumberStart===$e.MAX_VALUE_32BITS&&(this.diskNumberStart=r.readInt(4));}},readExtraFields:function(r){var t=r.index,n,o,u;for(this.extraFields=this.extraFields||{};r.index<t+this.extraFieldsLength;)n=r.readInt(2),o=r.readInt(2),u=r.readString(o),this.extraFields[n]={id:n,length:o,value:u};},handleUTF8:function(){var r=Fh.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=Hr.utf8decode(this.fileName),this.fileCommentStr=Hr.utf8decode(this.fileComment);else {var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else {var n=$e.transformTo(r,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n);}var o=this.findExtraFieldUnicodeComment();if(o!==null)this.fileCommentStr=o;else {var u=$e.transformTo(r,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(u);}}},findExtraFieldUnicodePath:function(){var r=this.extraFields[28789];if(r){var t=new Mi(r.value);return t.readInt(1)!==1||Hr.crc32(this.fileName)!==t.readInt(4)?null:Hr.utf8decode(t.readString(r.length-5))}return null},findExtraFieldUnicodeComment:function(){var r=this.extraFields[25461];if(r){var t=new Mi(r.value);return t.readInt(1)!==1||Hr.crc32(this.fileComment)!==t.readInt(4)?null:Hr.utf8decode(t.readString(r.length-5))}return null}};ns.exports=ts;});var us=b((l1,os)=>{var Uh=Pi(),qh=rs(),zh=Fi(),jh=Ri(),je=He(),er=Ei(),Vh=as(),wa=Vr();function is(e,r){this.files=[],this.loadOptions=r,e&&this.load(e);}is.prototype={checkSignature:function(r){var t=this.reader.readString(4);if(t!==r)throw new Error("Corrupted zip or bug : unexpected signature ("+je.pretty(t)+", expected "+je.pretty(r)+")")},isSignature:function(r,t){var n=this.reader.index;this.reader.setIndex(r);var o=this.reader.readString(4),u=o===t;return this.reader.setIndex(n),u},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 r=this.reader.readData(this.zipCommentLength),t=wa.uint8array?"uint8array":"array",n=je.transformTo(t,r);this.zipComment=this.loadOptions.decodeFileName(n);},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var r=this.zip64EndOfCentralSize-44,t=0,n,o,u;t<r;)n=this.reader.readInt(2),o=this.reader.readInt(4),u=this.reader.readString(o),this.zip64ExtensibleData[n]={id:n,length:o,value:u};},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var r,t;for(r=0;r<this.files.length;r++)t=this.files[r],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(er.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes();},readCentralDir:function(){var r;for(this.reader.setIndex(this.centralDirOffset);this.reader.readString(4)===er.CENTRAL_FILE_HEADER;)r=new Vh({zip64:this.zip64},this.loadOptions),r.readCentralPart(this.reader),this.files.push(r);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var r=this.reader.lastIndexOfSignature(er.CENTRAL_DIRECTORY_END);if(r<0){var t=!this.isSignature(0,er.LOCAL_FILE_HEADER);throw t?new Error("Can't find end of central directory : is this a zip file ?"):new Error("Corrupted zip : can't find end of central directory")}this.reader.setIndex(r);var n=r;if(this.checkSignature(er.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===je.MAX_VALUE_16BITS||this.diskWithCentralDirStart===je.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===je.MAX_VALUE_16BITS||this.centralDirRecords===je.MAX_VALUE_16BITS||this.centralDirSize===je.MAX_VALUE_32BITS||this.centralDirOffset===je.MAX_VALUE_32BITS){if(this.zip64=true,r=this.reader.lastIndexOfSignature(er.ZIP64_CENTRAL_DIRECTORY_LOCATOR),r<0)throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(r),this.checkSignature(er.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,er.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(er.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip : can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(er.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral();}var o=this.centralDirOffset+this.centralDirSize;this.zip64&&(o+=20,o+=12+this.zip64EndOfCentralSize);var u=n-o;if(u>0)this.isSignature(n,er.CENTRAL_FILE_HEADER)||(this.reader.zero=u);else if(u<0)throw new Error("Corrupted zip: missing "+Math.abs(u)+" bytes.")},prepareReader:function(r){var t=je.getTypeOf(r);if(je.checkSupport(t),t==="string"&&!wa.uint8array)this.reader=new Uh(r,this.loadOptions.optimizedBinaryString);else if(t==="nodebuffer")this.reader=new qh(r);else if(wa.uint8array)this.reader=new zh(je.transformTo("uint8array",r));else if(wa.array)this.reader=new jh(je.transformTo("array",r));else throw new Error("Unexpected error: unsupported type '"+t+"'")},load:function(r){this.prepareReader(r),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles();}};os.exports=is;});var ls=b((c1,ss)=>{var Xh=ha(),Hh=Ai(),Zh=He(),Gh=us();ss.exports=function(e,r){var t,n;r=Zh.extend(r||{},{base64:false,checkCRC32:false,optimizedBinaryString:false,createFolders:false,decodeFileName:Hh.utf8decode}),r.base64&&(e=Xh.decode(e));var o=new Gh(e,r),u=o.files;for(t=0;t<u.length;t++)n=u[t],this.file(n.fileNameStr,n.decompressed,{binary:true,optimizedBinaryString:true,date:n.date,dir:n.dir,comment:n.fileCommentStr.length?n.fileCommentStr:null,unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions,createFolders:r.createFolders});return o.zipComment.length&&(this.comment=o.zipComment),this};});var cs=b(Fe=>{var ke=He();Fe.string2binary=function(e){return ke.string2binary(e)};Fe.string2Uint8Array=function(e){return ke.transformTo("uint8array",e)};Fe.uint8Array2String=function(e){return ke.transformTo("string",e)};Fe.string2Blob=function(e){var r=ke.transformTo("arraybuffer",e);return ke.arrayBuffer2Blob(r)};Fe.arrayBuffer2Blob=function(e){return ke.arrayBuffer2Blob(e)};Fe.transformTo=function(e,r){return ke.transformTo(e,r)};Fe.getTypeOf=function(e){return ke.getTypeOf(e)};Fe.checkSupport=function(e){return ke.checkSupport(e)};Fe.MAX_VALUE_16BITS=ke.MAX_VALUE_16BITS;Fe.MAX_VALUE_32BITS=ke.MAX_VALUE_32BITS;Fe.pretty=function(e){return ke.pretty(e)};Fe.findCompression=function(e){return ke.findCompression(e)};Fe.isRegExp=function(e){return ke.isRegExp(e)};});var ps=b((p1,Ui)=>{var fs=ha();function Ve(e,r){if(!(this instanceof Ve))return new Ve(e,r);this.files={},this.comment=null,this.root="",e&&this.load(e,r),this.clone=function(){var t=this,n=new Ve;return Object.keys(this.files).forEach(function(o){n.file(o,t.files[o].asUint8Array());}),n},this.shallowClone=function(){var t=new Ve;for(var n in this)typeof this[n]!="function"&&(t[n]=this[n]);return t};}Ve.prototype=Ii();Ve.prototype.load=ls();Ve.support=Vr();Ve.defaults=bi();Ve.utils=cs();Ve.base64={encode:function(r){return fs.encode(r)},decode:function(r){return fs.decode(r)}};Ve.compressions=ga();Ui.exports=Ve;Ui.exports.default=Ve;});var Gr=b(Se=>{function Yh(e,r,t){if(t===void 0&&(t=Array.prototype),e&&typeof t.find=="function")return t.find.call(e,r);for(var n=0;n<e.length;n++)if(Zr(e,n)){var o=e[n];if(r.call(void 0,o,n,e))return o}}function ft(e,r){return r===void 0&&(r=Object),r&&typeof r.getOwnPropertyDescriptors=="function"&&(e=r.create(null,r.getOwnPropertyDescriptors(e))),r&&typeof r.freeze=="function"?r.freeze(e):e}function Zr(e,r){return Object.prototype.hasOwnProperty.call(e,r)}function Wh(e,r){if(e===null||typeof e!="object")throw new TypeError("target is not an object");for(var t in r)Zr(r,t)&&(e[t]=r[t]);return e}var hs=ft({allowfullscreen:true,async:true,autofocus:true,autoplay:true,checked:true,controls:true,default:true,defer:true,disabled:true,formnovalidate:true,hidden:true,ismap:true,itemscope:true,loop:true,multiple:true,muted:true,nomodule:true,novalidate:true,open:true,playsinline:true,readonly:true,required:true,reversed:true,selected:true});function Kh(e){return Zr(hs,e.toLowerCase())}var ds=ft({area:true,base:true,br:true,col:true,embed:true,hr:true,img:true,input:true,link:true,meta:true,param:true,source:true,track:true,wbr:true});function Qh(e){return Zr(ds,e.toLowerCase())}var nn=ft({script:false,style:false,textarea:true,title:true});function Jh(e){var r=e.toLowerCase();return Zr(nn,r)&&!nn[r]}function $h(e){var r=e.toLowerCase();return Zr(nn,r)&&nn[r]}function gs(e){return e===an.HTML}function ed(e){return gs(e)||e===an.XML_XHTML_APPLICATION}var an=ft({HTML:"text/html",XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),rd=Object.keys(an).map(function(e){return an[e]});function td(e){return rd.indexOf(e)>-1}var nd=ft({HTML:"http://www.w3.org/1999/xhtml",SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});Se.assign=Wh;Se.find=Yh;Se.freeze=ft;Se.HTML_BOOLEAN_ATTRIBUTES=hs;Se.HTML_RAW_TEXT_ELEMENTS=nn;Se.HTML_VOID_ELEMENTS=ds;Se.hasDefaultHTMLNamespace=ed;Se.hasOwn=Zr;Se.isHTMLBooleanAttribute=Kh;Se.isHTMLRawTextElement=Jh;Se.isHTMLEscapableRawTextElement=$h;Se.isHTMLMimeType=gs;Se.isHTMLVoidElement=Qh;Se.isValidMimeType=td;Se.MIME_TYPE=an;Se.NAMESPACE=nd;});var cn=b(ln=>{var ad=Gr();function vs(e,r){e.prototype=Object.create(Error.prototype,{constructor:{value:e},name:{value:e.name,enumerable:true,writable:r}});}var un=ad.freeze({Error:"Error",IndexSizeError:"IndexSizeError",DomstringSizeError:"DomstringSizeError",HierarchyRequestError:"HierarchyRequestError",WrongDocumentError:"WrongDocumentError",InvalidCharacterError:"InvalidCharacterError",NoDataAllowedError:"NoDataAllowedError",NoModificationAllowedError:"NoModificationAllowedError",NotFoundError:"NotFoundError",NotSupportedError:"NotSupportedError",InUseAttributeError:"InUseAttributeError",InvalidStateError:"InvalidStateError",SyntaxError:"SyntaxError",InvalidModificationError:"InvalidModificationError",NamespaceError:"NamespaceError",InvalidAccessError:"InvalidAccessError",ValidationError:"ValidationError",TypeMismatchError:"TypeMismatchError",SecurityError:"SecurityError",NetworkError:"NetworkError",AbortError:"AbortError",URLMismatchError:"URLMismatchError",QuotaExceededError:"QuotaExceededError",TimeoutError:"TimeoutError",InvalidNodeTypeError:"InvalidNodeTypeError",DataCloneError:"DataCloneError",EncodingError:"EncodingError",NotReadableError:"NotReadableError",UnknownError:"UnknownError",ConstraintError:"ConstraintError",DataError:"DataError",TransactionInactiveError:"TransactionInactiveError",ReadOnlyError:"ReadOnlyError",VersionError:"VersionError",OperationError:"OperationError",NotAllowedError:"NotAllowedError",OptOutError:"OptOutError"}),ys=Object.keys(un);function Es(e){return typeof e=="number"&&e>=1&&e<=25}function id(e){return typeof e=="string"&&e.substring(e.length-un.Error.length)===un.Error}function sn(e,r){Es(e)?(this.name=ys[e],this.message=r||""):(this.message=e,this.name=id(r)?r:un.Error),Error.captureStackTrace&&Error.captureStackTrace(this,sn);}vs(sn,true);Object.defineProperties(sn.prototype,{code:{enumerable:true,get:function(){var e=ys.indexOf(this.name);return Es(e)?e:0}}});var bs={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25},qi=Object.entries(bs);for(on=0;on<qi.length;on++)ms=qi[on][0],sn[ms]=qi[on][1];var ms,on;function zi(e,r){this.message=e,this.locator=r,Error.captureStackTrace&&Error.captureStackTrace(this,zi);}vs(zi);ln.DOMException=sn;ln.DOMExceptionName=un;ln.ExceptionCode=bs;ln.ParseError=zi;});var Yi=b(J=>{function _s(e){try{typeof e!="function"&&(e=RegExp);var r=new e("\u{1D306}","u").exec("\u{1D306}");return !!r&&r[0].length===2}catch{}return false}var gn=_s();function Yr(e){if(e.source[0]!=="[")throw new Error(e+" can not be used with chars");return e.source.slice(1,e.source.lastIndexOf("]"))}function pt(e,r){if(e.source[0]!=="[")throw new Error("/"+e.source+"/ can not be used with chars_without");if(!r||typeof r!="string")throw new Error(JSON.stringify(r)+" is not a valid search");if(e.source.indexOf(r)===-1)throw new Error('"'+r+'" is not is /'+e.source+"/");if(r==="-"&&e.source.indexOf(r)!==1)throw new Error('"'+r+'" is not at the first postion of /'+e.source+"/");return new RegExp(e.source.replace(r,""),gn?"u":"")}function re(e){var r=this;return new RegExp(Array.prototype.slice.call(arguments).map(function(t){var n=typeof t=="string";if(n&&r===void 0&&t==="|")throw new Error("use regg instead of reg to wrap expressions with `|`!");return n?t:t.source}).join(""),gn?"mu":"m")}function Z(e){if(arguments.length===0)throw new Error("no parameters provided");return re.apply(Z,["(?:"].concat(Array.prototype.slice.call(arguments),[")"]))}var od="\uFFFD",Wr=/[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;gn&&(Wr=re("[",Yr(Wr),"\\u{10000}-\\u{10FFFF}","]"));var Vi=/[\x20\x09\x0D\x0A]/,ud=Yr(Vi),le=re(Vi,"+"),me=re(Vi,"*"),fn=/[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;gn&&(fn=re("[",Yr(fn),"\\u{10000}-\\u{10FFFF}","]"));var sd=Yr(fn),Xi=re("[",sd,Yr(/[-.0-9\xB7]/),Yr(/[\u0300-\u036F\u203F-\u2040]/),"]"),Ze=re(fn,Xi,"*"),xs=re(Xi,"+"),ld=re("&",Ze,";"),cd=Z(/&#[0-9]+;|&#x[0-9a-fA-F]+;/),pn=Z(ld,"|",cd),hn=re("%",Ze,";"),Hi=Z(re('"',Z(/[^%&"]/,"|",hn,"|",pn),"*",'"'),"|",re("'",Z(/[^%&']/,"|",hn,"|",pn),"*","'")),fd=Z('"',Z(/[^<&"]/,"|",pn),"*",'"',"|","'",Z(/[^<&']/,"|",pn),"*","'"),pd=pt(fn,":"),hd=pt(Xi,":"),ws=re(pd,hd,"*"),mn=re(ws,Z(":",ws),"?"),dd=re("^",mn,"$"),gd=re("(",mn,")"),dn=Z(/"[^"]*"|'[^']*'/),md=re(/^<\?/,"(",Ze,")",Z(le,"(",Wr,"*?)"),"?",/\?>/),Ds=/[\x20\x0D\x0Aa-zA-Z0-9-'()+,./:=?;!*#@$_%]/,Da=Z('"',Ds,'*"',"|","'",pt(Ds,"'"),"*'"),Ss="<!--",Os="-->",vd=re(Ss,Z(pt(Wr,"-"),"|",re("-",pt(Wr,"-"))),"*",Os),As="#PCDATA",yd=Z(re(/\(/,me,As,Z(me,/\|/,me,mn),"*",me,/\)\*/),"|",re(/\(/,me,As,me,/\)/)),Ed=/[?*+]?/,bd=re(/\([^>]+\)/,Ed),xd=Z("EMPTY","|","ANY","|",yd,"|",bd),wd="<!ELEMENT",Dd=re(wd,le,Z(mn,"|",hn),le,Z(xd,"|",hn),me,">"),Ad=re("NOTATION",le,/\(/,me,Ze,Z(me,/\|/,me,Ze),"*",me,/\)/),Td=re(/\(/,me,xs,Z(me,/\|/,me,xs),"*",me,/\)/),Cd=Z(Ad,"|",Td),_d=Z(/CDATA|ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS/,"|",Cd),Sd=Z(/#REQUIRED|#IMPLIED/,"|",Z(Z("#FIXED",le),"?",fd)),Od=Z(le,Ze,le,_d,le,Sd),Nd="<!ATTLIST",Id=re(Nd,le,Ze,Od,"*",me,">"),ji="about:legacy-compat",Bd=Z('"'+ji+'"',"|","'"+ji+"'"),Zi="SYSTEM",Aa="PUBLIC",Ta=Z(Z(Zi,le,dn),"|",Z(Aa,le,Da,le,dn)),Pd=re("^",Z(Z(Zi,le,"(?<SystemLiteralOnly>",dn,")"),"|",Z(Aa,le,"(?<PubidLiteral>",Da,")",le,"(?<SystemLiteral>",dn,")"))),Rd=Z(le,"NDATA",le,Ze),kd=Z(Hi,"|",Z(Ta,Rd,"?")),Ns="<!ENTITY",Fd=re(Ns,le,Ze,le,kd,me,">"),Ld=Z(Hi,"|",Ta),Md=re(Ns,le,"%",le,Ze,le,Ld,me,">"),Ud=Z(Fd,"|",Md),qd=re(Aa,le,Da),zd=re("<!NOTATION",le,Ze,le,Z(Ta,"|",qd),me,">"),Gi=re(me,"=",me),Ts=/1[.]\d+/,jd=re(le,"version",Gi,Z("'",Ts,"'","|",'"',Ts,'"')),Cs=/[A-Za-z][-A-Za-z0-9._]*/,Vd=Z(le,"encoding",Gi,Z('"',Cs,'"',"|","'",Cs,"'")),Xd=Z(le,"standalone",Gi,Z("'",Z("yes","|","no"),"'","|",'"',Z("yes","|","no"),'"')),Hd=re(/^<\?xml/,jd,Vd,"?",Xd,"?",me,/\?>/),Zd="<!DOCTYPE",Gd="<![CDATA[",Yd="]]>",Wd=/<!\[CDATA\[/,Kd=/\]\]>/,Qd=re(Wr,"*?",Kd),Jd=re(Wd,Qd);J.chars=Yr;J.chars_without=pt;J.detectUnicodeSupport=_s;J.reg=re;J.regg=Z;J.ABOUT_LEGACY_COMPAT=ji;J.ABOUT_LEGACY_COMPAT_SystemLiteral=Bd;J.AttlistDecl=Id;J.CDATA_START=Gd;J.CDATA_END=Yd;J.CDSect=Jd;J.Char=Wr;J.Comment=vd;J.COMMENT_START=Ss;J.COMMENT_END=Os;J.DOCTYPE_DECL_START=Zd;J.elementdecl=Dd;J.EntityDecl=Ud;J.EntityValue=Hi;J.ExternalID=Ta;J.ExternalID_match=Pd;J.Name=Ze;J.NotationDecl=zd;J.Reference=pn;J.PEReference=hn;J.PI=md;J.PUBLIC=Aa;J.PubidLiteral=Da;J.QName=mn;J.QName_exact=dd;J.QName_group=gd;J.S=le;J.SChar_s=ud;J.S_OPT=me;J.SYSTEM=Zi;J.SystemLiteral=dn;J.UNICODE_REPLACEMENT_CHARACTER=od;J.UNICODE_SUPPORT=gn;J.XMLDecl=Hd;});var eo=b(Ee=>{var Ge=Gr(),sr=Ge.find,$d=Ge.hasDefaultHTMLNamespace,dt=Ge.hasOwn,e0=Ge.isHTMLMimeType,r0=Ge.isHTMLRawTextElement,t0=Ge.isHTMLVoidElement,vn=Ge.MIME_TYPE,lr=Ge.NAMESPACE,Re=Symbol(),Ls=cn(),z=Ls.DOMException,n0=Ls.DOMExceptionName,ur=Yi();function Le(e){if(e!==Re)throw new TypeError("Illegal constructor")}function a0(e){return e!==""}function i0(e){return e?e.split(/[\t\n\f\r ]+/).filter(a0):[]}function o0(e,r){return dt(e,r)||(e[r]=true),e}function Is(e){if(!e)return [];var r=i0(e);return Object.keys(r.reduce(o0,{}))}function u0(e){return function(r){return e&&e.indexOf(r)!==-1}}function Ms(e){if(!ur.QName_exact.test(e))throw new z(z.INVALID_CHARACTER_ERR,'invalid character in qualified name "'+e+'"')}function Ki(e,r){Ms(r),e=e||null;var t=null,n=r;if(r.indexOf(":")>=0){var o=r.split(":");t=o[0],n=o[1];}if(t!==null&&e===null)throw new z(z.NAMESPACE_ERR,"prefix is non-null and namespace is null");if(t==="xml"&&e!==Ge.NAMESPACE.XML)throw new z(z.NAMESPACE_ERR,'prefix is "xml" and namespace is not the XML namespace');if((t==="xmlns"||r==="xmlns")&&e!==Ge.NAMESPACE.XMLNS)throw new z(z.NAMESPACE_ERR,'either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace');if(e===Ge.NAMESPACE.XMLNS&&t!=="xmlns"&&r!=="xmlns")throw new z(z.NAMESPACE_ERR,'namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"');return [e,t,n]}function vt(e,r){for(var t in e)dt(e,t)&&(r[t]=e[t]);}function Me(e,r){var t=e.prototype;if(!(t instanceof r)){let n=function(){};n.prototype=r.prototype,n=new n,vt(t,n),e.prototype=t=n;}t.constructor!=e&&(typeof e!="function"&&console.error("unknown Class:"+e),t.constructor=e);}var Ue={},rr=Ue.ELEMENT_NODE=1,gt=Ue.ATTRIBUTE_NODE=2,Ca=Ue.TEXT_NODE=3,Us=Ue.CDATA_SECTION_NODE=4,qs=Ue.ENTITY_REFERENCE_NODE=5,s0=Ue.ENTITY_NODE=6,zs=Ue.PROCESSING_INSTRUCTION_NODE=7,js=Ue.COMMENT_NODE=8,En=Ue.DOCUMENT_NODE=9,Vs=Ue.DOCUMENT_TYPE_NODE=10,_r=Ue.DOCUMENT_FRAGMENT_NODE=11,l0=Ue.NOTATION_NODE=12,ye=Ge.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32});function Xs(e,r){if(r.length<e.length)return Xs(r,e);var t=null;for(var n in e){if(e[n]!==r[n])return t;t=e[n];}return t}function Bs(e){return e.guid||(e.guid=Math.random()),e.guid}function xe(){}xe.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e){for(var r=[],t=0;t<this.length;t++)ht(this[t],r,e);return r.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}};xe.prototype[Symbol.iterator]=function(){var e=this,r=0;return {next:function(){return r<e.length?{value:e[r++],done:false}:{done:true}},return:function(){return {done:true}}}};function Kr(e,r){this._node=e,this._refresh=r,Sa(this);}function Sa(e){var r=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==r){var t=e._refresh(e._node);if(tl(e,"length",t.length),!e.$$length||t.length<e.$$length)for(var n=t.length;n in e;n++)dt(e,n)&&delete e[n];vt(t,e),e._inc=r;}}Kr.prototype.item=function(e){return Sa(this),this[e]||null};Me(Kr,xe);function mt(){}function Hs(e,r){for(var t=0;t<e.length;){if(e[t]===r)return t;t++;}}function c0(e,r,t,n){if(n?r[Hs(r,n)]=t:(r[r.length]=t,r.length++),e){t.ownerElement=e;var o=e.ownerDocument;o&&(n&&Ys(o,e,n),f0(o,e,t));}}function Ps(e,r,t){var n=Hs(r,t);if(n>=0){for(var o=r.length-1;n<=o;)r[n]=r[++n];if(r.length=o,e){var u=e.ownerDocument;u&&Ys(u,e,t),t.ownerElement=null;}}}mt.prototype={length:0,item:xe.prototype.item,getNamedItem:function(e){this._ownerElement&&this._ownerElement._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());for(var r=0;r<this.length;){var t=this[r];if(t.nodeName===e)return t;r++;}return null},setNamedItem:function(e){var r=e.ownerElement;if(r&&r!==this._ownerElement)throw new z(z.INUSE_ATTRIBUTE_ERR);var t=this.getNamedItemNS(e.namespaceURI,e.localName);return t===e?e:(c0(this._ownerElement,this,e,t),t)},setNamedItemNS:function(e){return this.setNamedItem(e)},removeNamedItem:function(e){var r=this.getNamedItem(e);if(!r)throw new z(z.NOT_FOUND_ERR,e);return Ps(this._ownerElement,this,r),r},removeNamedItemNS:function(e,r){var t=this.getNamedItemNS(e,r);if(!t)throw new z(z.NOT_FOUND_ERR,e?e+" : "+r:r);return Ps(this._ownerElement,this,t),t},getNamedItemNS:function(e,r){e||(e=null);for(var t=0;t<this.length;){var n=this[t];if(n.localName===r&&n.namespaceURI===e)return n;t++;}return null}};mt.prototype[Symbol.iterator]=function(){var e=this,r=0;return {next:function(){return r<e.length?{value:e[r++],done:false}:{done:true}},return:function(){return {done:true}}}};function Zs(){}Zs.prototype={hasFeature:function(e,r){return true},createDocument:function(e,r,t){var n=vn.XML_APPLICATION;e===lr.HTML?n=vn.XML_XHTML_APPLICATION:e===lr.SVG&&(n=vn.XML_SVG_IMAGE);var o=new Sr(Re,{contentType:n});if(o.implementation=this,o.childNodes=new xe,o.doctype=t||null,t&&o.appendChild(t),r){var u=o.createElementNS(e,r);o.appendChild(u);}return o},createDocumentType:function(e,r,t,n){Ms(e);var o=new Ia(Re);return o.name=e,o.nodeName=e,o.publicId=r||"",o.systemId=t||"",o.internalSubset=n||"",o.childNodes=new xe,o},createHTMLDocument:function(e){var r=new Sr(Re,{contentType:vn.HTML});if(r.implementation=this,r.childNodes=new xe,e!==false){r.doctype=this.createDocumentType("html"),r.doctype.ownerDocument=r,r.appendChild(r.doctype);var t=r.createElement("html");r.appendChild(t);var n=r.createElement("head");if(t.appendChild(n),typeof e=="string"){var o=r.createElement("title");o.appendChild(r.createTextNode(e)),n.appendChild(o);}t.appendChild(r.createElement("body"));}return r}};function oe(e){Le(e);}oe.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,parentNode:null,get parentElement(){return this.parentNode&&this.parentNode.nodeType===this.ELEMENT_NODE?this.parentNode:null},childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,baseURI:"about:blank",get isConnected(){var e=this.getRootNode();return e&&e.nodeType===e.DOCUMENT_NODE},contains:function(e){if(!e)return false;var r=e;do{if(this===r)return true;r=e.parentNode;}while(r);return false},getRootNode:function(e){var r=this;do{if(!r.parentNode)return r;r=r.parentNode;}while(r)},isEqualNode:function(e){if(!e||this.nodeType!==e.nodeType)return false;switch(this.nodeType){case this.DOCUMENT_TYPE_NODE:if(this.name!==e.name||this.publicId!==e.publicId||this.systemId!==e.systemId)return false;break;case this.ELEMENT_NODE:if(this.namespaceURI!==e.namespaceURI||this.prefix!==e.prefix||this.localName!==e.localName||this.attributes.length!==e.attributes.length)return false;for(var r=0;r<this.attributes.length;r++){var t=this.attributes.item(r);if(!t.isEqualNode(e.getAttributeNodeNS(t.namespaceURI,t.localName)))return false}break;case this.ATTRIBUTE_NODE:if(this.namespaceURI!==e.namespaceURI||this.localName!==e.localName||this.value!==e.value)return false;break;case this.PROCESSING_INSTRUCTION_NODE:if(this.target!==e.target||this.data!==e.data)return false;break;case this.TEXT_NODE:case this.COMMENT_NODE:if(this.data!==e.data)return false;break}if(this.childNodes.length!==e.childNodes.length)return false;for(var r=0;r<this.childNodes.length;r++)if(!this.childNodes[r].isEqualNode(e.childNodes[r]))return false;return true},isSameNode:function(e){return this===e},insertBefore:function(e,r){return _a(this,e,r)},replaceChild:function(e,r){_a(this,e,r,Js),r&&this.removeChild(r);},removeChild:function(e){return Ks(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return Qi(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var r=e.nextSibling;r&&r.nodeType==Ca&&e.nodeType==Ca?(this.removeChild(r),e.appendData(r.data)):(e.normalize(),e=r);}},isSupported:function(e,r){return this.ownerDocument.implementation.hasFeature(e,r)},lookupPrefix:function(e){for(var r=this;r;){var t=r._nsMap;if(t){for(var n in t)if(dt(t,n)&&t[n]===e)return n}r=r.nodeType==gt?r.ownerDocument:r.parentNode;}return null},lookupNamespaceURI:function(e){for(var r=this;r;){var t=r._nsMap;if(t&&dt(t,e))return t[e];r=r.nodeType==gt?r.ownerDocument:r.parentNode;}return null},isDefaultNamespace:function(e){var r=this.lookupPrefix(e);return r==null},compareDocumentPosition:function(e){if(this===e)return 0;var r=e,t=this,n=null,o=null;if(r instanceof Qr&&(n=r,r=n.ownerElement),t instanceof Qr&&(o=t,t=o.ownerElement,n&&r&&t===r))for(var u=0,s;s=t.attributes[u];u++){if(s===n)return ye.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+ye.DOCUMENT_POSITION_PRECEDING;if(s===o)return ye.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+ye.DOCUMENT_POSITION_FOLLOWING}if(!r||!t||t.ownerDocument!==r.ownerDocument)return ye.DOCUMENT_POSITION_DISCONNECTED+ye.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+(Bs(t.ownerDocument)>Bs(r.ownerDocument)?ye.DOCUMENT_POSITION_FOLLOWING:ye.DOCUMENT_POSITION_PRECEDING);if(o&&r===t)return ye.DOCUMENT_POSITION_CONTAINS+ye.DOCUMENT_POSITION_PRECEDING;if(n&&r===t)return ye.DOCUMENT_POSITION_CONTAINED_BY+ye.DOCUMENT_POSITION_FOLLOWING;for(var c=[],f=r.parentNode;f;){if(!o&&f===t)return ye.DOCUMENT_POSITION_CONTAINED_BY+ye.DOCUMENT_POSITION_FOLLOWING;c.push(f),f=f.parentNode;}c.reverse();for(var h=[],p=t.parentNode;p;){if(!n&&p===r)return ye.DOCUMENT_POSITION_CONTAINS+ye.DOCUMENT_POSITION_PRECEDING;h.push(p),p=p.parentNode;}h.reverse();var y=Xs(c,h);for(var b in y.childNodes){var w=y.childNodes[b];if(w===t)return ye.DOCUMENT_POSITION_FOLLOWING;if(w===r)return ye.DOCUMENT_POSITION_PRECEDING;if(h.indexOf(w)>=0)return ye.DOCUMENT_POSITION_FOLLOWING;if(c.indexOf(w)>=0)return ye.DOCUMENT_POSITION_PRECEDING}return 0}};function Gs(e){return e=="<"&&"&lt;"||e==">"&&"&gt;"||e=="&"&&"&amp;"||e=='"'&&"&quot;"||"&#"+e.charCodeAt()+";"}vt(Ue,oe);vt(Ue,oe.prototype);vt(ye,oe);vt(ye,oe.prototype);function yn(e,r){if(r(e))return true;if(e=e.firstChild)do if(yn(e,r))return true;while(e=e.nextSibling)}function Sr(e,r){Le(e);var t=r||{};this.ownerDocument=this,this.contentType=t.contentType||vn.XML_APPLICATION,this.type=e0(this.contentType)?"html":"xml";}function f0(e,r,t){e&&e._inc++;var n=t.namespaceURI;n===lr.XMLNS&&(r._nsMap[t.prefix?t.localName:""]=t.value);}function Ys(e,r,t,n){e&&e._inc++;var o=t.namespaceURI;o===lr.XMLNS&&delete r._nsMap[t.prefix?t.localName:""];}function Ws(e,r,t){if(e&&e._inc){e._inc++;var n=r.childNodes;if(t&&!t.nextSibling)n[n.length++]=t;else {for(var o=r.firstChild,u=0;o;)n[u++]=o,o=o.nextSibling;n.length=u,delete n[n.length];}}}function Ks(e,r){if(e!==r.parentNode)throw new z(z.NOT_FOUND_ERR,"child's parent is not parent");var t=r.previousSibling,n=r.nextSibling;return t?t.nextSibling=n:e.firstChild=n,n?n.previousSibling=t:e.lastChild=t,Ws(e.ownerDocument,e),r.parentNode=null,r.previousSibling=null,r.nextSibling=null,r}function p0(e){return e&&(e.nodeType===oe.DOCUMENT_NODE||e.nodeType===oe.DOCUMENT_FRAGMENT_NODE||e.nodeType===oe.ELEMENT_NODE)}function h0(e){return e&&(e.nodeType===oe.CDATA_SECTION_NODE||e.nodeType===oe.COMMENT_NODE||e.nodeType===oe.DOCUMENT_FRAGMENT_NODE||e.nodeType===oe.DOCUMENT_TYPE_NODE||e.nodeType===oe.ELEMENT_NODE||e.nodeType===oe.PROCESSING_INSTRUCTION_NODE||e.nodeType===oe.TEXT_NODE)}function Or(e){return e&&e.nodeType===oe.DOCUMENT_TYPE_NODE}function mr(e){return e&&e.nodeType===oe.ELEMENT_NODE}function Qs(e){return e&&e.nodeType===oe.TEXT_NODE}function Rs(e,r){var t=e.childNodes||[];if(sr(t,mr)||Or(r))return false;var n=sr(t,Or);return !(r&&n&&t.indexOf(n)>t.indexOf(r))}function ks(e,r){var t=e.childNodes||[];function n(u){return mr(u)&&u!==r}if(sr(t,n))return false;var o=sr(t,Or);return !(r&&o&&t.indexOf(o)>t.indexOf(r))}function d0(e,r,t){if(!p0(e))throw new z(z.HIERARCHY_REQUEST_ERR,"Unexpected parent node type "+e.nodeType);if(t&&t.parentNode!==e)throw new z(z.NOT_FOUND_ERR,"child not in parent");if(!h0(r)||Or(r)&&e.nodeType!==oe.DOCUMENT_NODE)throw new z(z.HIERARCHY_REQUEST_ERR,"Unexpected node type "+r.nodeType+" for parent node type "+e.nodeType)}function g0(e,r,t){var n=e.childNodes||[],o=r.childNodes||[];if(r.nodeType===oe.DOCUMENT_FRAGMENT_NODE){var u=o.filter(mr);if(u.length>1||sr(o,Qs))throw new z(z.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(u.length===1&&!Rs(e,t))throw new z(z.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(mr(r)&&!Rs(e,t))throw new z(z.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(Or(r)){if(sr(n,Or))throw new z(z.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var s=sr(n,mr);if(t&&n.indexOf(s)<n.indexOf(t))throw new z(z.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element");if(!t&&s)throw new z(z.HIERARCHY_REQUEST_ERR,"Doctype can not be appended since element is present")}}function Js(e,r,t){var n=e.childNodes||[],o=r.childNodes||[];if(r.nodeType===oe.DOCUMENT_FRAGMENT_NODE){var u=o.filter(mr);if(u.length>1||sr(o,Qs))throw new z(z.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(u.length===1&&!ks(e,t))throw new z(z.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(mr(r)&&!ks(e,t))throw new z(z.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(Or(r)){if(sr(n,function(f){return Or(f)&&f!==t}))throw new z(z.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var s=sr(n,mr);if(t&&n.indexOf(s)<n.indexOf(t))throw new z(z.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element")}}function _a(e,r,t,n){d0(e,r,t),e.nodeType===oe.DOCUMENT_NODE&&(n||g0)(e,r,t);var o=r.parentNode;if(o&&o.removeChild(r),r.nodeType===_r){var u=r.firstChild;if(u==null)return r;var s=r.lastChild;}else u=s=r;var c=t?t.previousSibling:e.lastChild;u.previousSibling=c,s.nextSibling=t,c?c.nextSibling=u:e.firstChild=u,t==null?e.lastChild=s:t.previousSibling=s;do u.parentNode=e;while(u!==s&&(u=u.nextSibling));return Ws(e.ownerDocument||e,e,r),r.nodeType==_r&&(r.firstChild=r.lastChild=null),r}Sr.prototype={implementation:null,nodeName:"#document",nodeType:En,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,r){if(e.nodeType===_r){for(var t=e.firstChild;t;){var n=t.nextSibling;this.insertBefore(t,r),t=n;}return e}return _a(this,e,r),e.ownerDocument=this,this.documentElement===null&&e.nodeType===rr&&(this.documentElement=e),e},removeChild:function(e){var r=Ks(this,e);return r===this.documentElement&&(this.documentElement=null),r},replaceChild:function(e,r){_a(this,e,r,Js),e.ownerDocument=this,r&&this.removeChild(r),mr(e)&&(this.documentElement=e);},importNode:function(e,r){return rl(this,e,r)},getElementById:function(e){var r=null;return yn(this.documentElement,function(t){if(t.nodeType==rr&&t.getAttribute("id")==e)return r=t,true}),r},createElement:function(e){var r=new Nr(Re);r.ownerDocument=this,this.type==="html"&&(e=e.toLowerCase()),$d(this.contentType)&&(r.namespaceURI=lr.HTML),r.nodeName=e,r.tagName=e,r.localName=e,r.childNodes=new xe;var t=r.attributes=new mt;return t._ownerElement=r,r},createDocumentFragment:function(){var e=new xn(Re);return e.ownerDocument=this,e.childNodes=new xe,e},createTextNode:function(e){var r=new bn(Re);return r.ownerDocument=this,r.childNodes=new xe,r.appendData(e),r},createComment:function(e){var r=new Oa(Re);return r.ownerDocument=this,r.childNodes=new xe,r.appendData(e),r},createCDATASection:function(e){var r=new Na(Re);return r.ownerDocument=this,r.childNodes=new xe,r.appendData(e),r},createProcessingInstruction:function(e,r){var t=new Pa(Re);return t.ownerDocument=this,t.childNodes=new xe,t.nodeName=t.target=e,t.nodeValue=t.data=r,t},createAttribute:function(e){if(!ur.QName_exact.test(e))throw new z(z.INVALID_CHARACTER_ERR,'invalid character in name "'+e+'"');return this.type==="html"&&(e=e.toLowerCase()),this._createAttribute(e)},_createAttribute:function(e){var r=new Qr(Re);return r.ownerDocument=this,r.childNodes=new xe,r.name=e,r.nodeName=e,r.localName=e,r.specified=true,r},createEntityReference:function(e){if(!ur.Name.test(e))throw new z(z.INVALID_CHARACTER_ERR,'not a valid xml name "'+e+'"');if(this.type==="html")throw new z("document is an html document",n0.NotSupportedError);var r=new Ba(Re);return r.ownerDocument=this,r.childNodes=new xe,r.nodeName=e,r},createElementNS:function(e,r){var t=Ki(e,r),n=new Nr(Re),o=n.attributes=new mt;return n.childNodes=new xe,n.ownerDocument=this,n.nodeName=r,n.tagName=r,n.namespaceURI=t[0],n.prefix=t[1],n.localName=t[2],o._ownerElement=n,n},createAttributeNS:function(e,r){var t=Ki(e,r),n=new Qr(Re);return n.ownerDocument=this,n.childNodes=new xe,n.nodeName=r,n.name=r,n.specified=true,n.namespaceURI=t[0],n.prefix=t[1],n.localName=t[2],n}};Me(Sr,oe);function Nr(e){Le(e),this._nsMap=Object.create(null);}Nr.prototype={nodeType:rr,attributes:null,getQualifiedName:function(){return this.prefix?this.prefix+":"+this.localName:this.localName},_isInHTMLDocumentAndNamespace:function(){return this.ownerDocument.type==="html"&&this.namespaceURI===lr.HTML},hasAttributes:function(){return !!(this.attributes&&this.attributes.length)},hasAttribute:function(e){return !!this.getAttributeNode(e)},getAttribute:function(e){var r=this.getAttributeNode(e);return r?r.value:null},getAttributeNode:function(e){return this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase()),this.attributes.getNamedItem(e)},setAttribute:function(e,r){this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());var t=this.getAttributeNode(e);t?t.value=t.nodeValue=""+r:(t=this.ownerDocument._createAttribute(e),t.value=t.nodeValue=""+r,this.setAttributeNode(t));},removeAttribute:function(e){var r=this.getAttributeNode(e);r&&this.removeAttributeNode(r);},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,r){var t=this.getAttributeNodeNS(e,r);t&&this.removeAttributeNode(t);},hasAttributeNS:function(e,r){return this.getAttributeNodeNS(e,r)!=null},getAttributeNS:function(e,r){var t=this.getAttributeNodeNS(e,r);return t?t.value:null},setAttributeNS:function(e,r,t){var n=Ki(e,r),o=n[2],u=this.getAttributeNodeNS(e,o);u?u.value=u.nodeValue=""+t:(u=this.ownerDocument.createAttributeNS(e,r),u.value=u.nodeValue=""+t,this.setAttributeNode(u));},getAttributeNodeNS:function(e,r){return this.attributes.getNamedItemNS(e,r)},getElementsByClassName:function(e){var r=Is(e);return new Kr(this,function(t){var n=[];return r.length>0&&yn(t,function(o){if(o!==t&&o.nodeType===rr){var u=o.getAttribute("class");if(u){var s=e===u;if(!s){var c=Is(u);s=r.every(u0(c));}s&&n.push(o);}}}),n})},getElementsByTagName:function(e){var r=(this.nodeType===En?this:this.ownerDocument).type==="html",t=e.toLowerCase();return new Kr(this,function(n){var o=[];return yn(n,function(u){if(!(u===n||u.nodeType!==rr))if(e==="*")o.push(u);else {var s=u.getQualifiedName(),c=r&&u.namespaceURI===lr.HTML?t:e;s===c&&o.push(u);}}),o})},getElementsByTagNameNS:function(e,r){return new Kr(this,function(t){var n=[];return yn(t,function(o){o!==t&&o.nodeType===rr&&(e==="*"||o.namespaceURI===e)&&(r==="*"||o.localName==r)&&n.push(o);}),n})}};Sr.prototype.getElementsByClassName=Nr.prototype.getElementsByClassName;Sr.prototype.getElementsByTagName=Nr.prototype.getElementsByTagName;Sr.prototype.getElementsByTagNameNS=Nr.prototype.getElementsByTagNameNS;Me(Nr,oe);function Qr(e){Le(e),this.namespaceURI=null,this.prefix=null,this.ownerElement=null;}Qr.prototype.nodeType=gt;Me(Qr,oe);function yt(e){Le(e);}yt.prototype={data:"",substringData:function(e,r){return this.data.substring(e,e+r)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length;},insertData:function(e,r){this.replaceData(e,0,r);},deleteData:function(e,r){this.replaceData(e,r,"");},replaceData:function(e,r,t){var n=this.data.substring(0,e),o=this.data.substring(e+r);t=n+t+o,this.nodeValue=this.data=t,this.length=t.length;}};Me(yt,oe);function bn(e){Le(e);}bn.prototype={nodeName:"#text",nodeType:Ca,splitText:function(e){var r=this.data,t=r.substring(e);r=r.substring(0,e),this.data=this.nodeValue=r,this.length=r.length;var n=this.ownerDocument.createTextNode(t);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}};Me(bn,yt);function Oa(e){Le(e);}Oa.prototype={nodeName:"#comment",nodeType:js};Me(Oa,yt);function Na(e){Le(e);}Na.prototype={nodeName:"#cdata-section",nodeType:Us};Me(Na,bn);function Ia(e){Le(e);}Ia.prototype.nodeType=Vs;Me(Ia,oe);function Ji(e){Le(e);}Ji.prototype.nodeType=l0;Me(Ji,oe);function $i(e){Le(e);}$i.prototype.nodeType=s0;Me($i,oe);function Ba(e){Le(e);}Ba.prototype.nodeType=qs;Me(Ba,oe);function xn(e){Le(e);}xn.prototype.nodeName="#document-fragment";xn.prototype.nodeType=_r;Me(xn,oe);function Pa(e){Le(e);}Pa.prototype.nodeType=zs;Me(Pa,yt);function $s(){}$s.prototype.serializeToString=function(e,r){return el.call(e,r)};oe.prototype.toString=el;function el(e){var r=[],t=this.nodeType===En&&this.documentElement||this,n=t.prefix,o=t.namespaceURI;if(o&&n==null){var n=t.lookupPrefix(o);if(n==null)var u=[{namespace:o,prefix:null}];}return ht(this,r,e,u),r.join("")}function Fs(e,r,t){var n=e.prefix||"",o=e.namespaceURI;if(!o||n==="xml"&&o===lr.XML||o===lr.XMLNS)return false;for(var u=t.length;u--;){var s=t[u];if(s.prefix===n)return s.namespace!==o}return true}function Wi(e,r,t){e.push(" ",r,'="',t.replace(/[<>&"\t\n\r]/g,Gs),'"');}function ht(e,r,t,n){n||(n=[]);var o=e.nodeType===En?e:e.ownerDocument,u=o.type==="html";if(t)if(e=t(e),e){if(typeof e=="string"){r.push(e);return}}else return;switch(e.nodeType){case rr:var s=e.attributes,c=s.length,S=e.firstChild,f=e.tagName,h=f;if(!u&&!e.prefix&&e.namespaceURI){for(var p,y=0;y<s.length;y++)if(s.item(y).name==="xmlns"){p=s.item(y).value;break}if(!p)for(var b=n.length-1;b>=0;b--){var w=n[b];if(w.prefix===""&&w.namespace===e.namespaceURI){p=w.namespace;break}}if(p!==e.namespaceURI)for(var b=n.length-1;b>=0;b--){var w=n[b];if(w.namespace===e.namespaceURI){w.prefix&&(h=w.prefix+":"+f);break}}}r.push("<",h);for(var T=0;T<c;T++){var C=s.item(T);C.prefix=="xmlns"?n.push({prefix:C.localName,namespace:C.value}):C.nodeName=="xmlns"&&n.push({prefix:"",namespace:C.value});}for(var T=0;T<c;T++){var C=s.item(T);if(Fs(C,u,n)){var O=C.prefix||"",P=C.namespaceURI;Wi(r,O?"xmlns:"+O:"xmlns",P),n.push({prefix:O,namespace:P});}ht(C,r,t,n);}if(f===h&&Fs(e,u,n)){var O=e.prefix||"",P=e.namespaceURI;Wi(r,O?"xmlns:"+O:"xmlns",P),n.push({prefix:O,namespace:P});}var R=!S;if(R&&(u||e.namespaceURI===lr.HTML)&&(R=t0(f)),R)r.push("/>");else {if(r.push(">"),u&&r0(f))for(;S;)S.data?r.push(S.data):ht(S,r,t,n.slice()),S=S.nextSibling;else for(;S;)ht(S,r,t,n.slice()),S=S.nextSibling;r.push("</",h,">");}return;case En:case _r:for(var S=e.firstChild;S;)ht(S,r,t,n.slice()),S=S.nextSibling;return;case gt:return Wi(r,e.name,e.value);case Ca:return r.push(e.data.replace(/[<&>]/g,Gs));case Us:return r.push(ur.CDATA_START,e.data,ur.CDATA_END);case js:return r.push(ur.COMMENT_START,e.data,ur.COMMENT_END);case Vs:var k=e.publicId,q=e.systemId;r.push(ur.DOCTYPE_DECL_START," ",e.name),k?(r.push(" ",ur.PUBLIC," ",k),q&&q!=="."&&r.push(" ",q)):q&&q!=="."&&r.push(" ",ur.SYSTEM," ",q),e.internalSubset&&r.push(" [",e.internalSubset,"]"),r.push(">");return;case zs:return r.push("<?",e.target," ",e.data,"?>");case qs:return r.push("&",e.nodeName,";");default:r.push("??",e.nodeName);}}function rl(e,r,t){var n;switch(r.nodeType){case rr:n=r.cloneNode(false),n.ownerDocument=e;case _r:break;case gt:t=true;break}if(n||(n=r.cloneNode(false)),n.ownerDocument=e,n.parentNode=null,t)for(var o=r.firstChild;o;)n.appendChild(rl(e,o,t)),o=o.nextSibling;return n}function Qi(e,r,t){var n=new r.constructor(Re);for(var o in r)if(dt(r,o)){var u=r[o];typeof u!="object"&&u!=n[o]&&(n[o]=u);}switch(r.childNodes&&(n.childNodes=new xe),n.ownerDocument=e,n.nodeType){case rr:var s=r.attributes,c=n.attributes=new mt,f=s.length;c._ownerElement=n;for(var h=0;h<f;h++)n.setAttributeNode(Qi(e,s.item(h),true));break;case gt:t=true;}if(t)for(var p=r.firstChild;p;)n.appendChild(Qi(e,p,t)),p=p.nextSibling;return n}function tl(e,r,t){e[r]=t;}try{if(Object.defineProperty){let e=function(r){switch(r.nodeType){case rr:case _r:var t=[];for(r=r.firstChild;r;)r.nodeType!==7&&r.nodeType!==8&&t.push(e(r)),r=r.nextSibling;return t.join("");default:return r.nodeValue}};Object.defineProperty(Kr.prototype,"length",{get:function(){return Sa(this),this.$$length}}),Object.defineProperty(oe.prototype,"textContent",{get:function(){return e(this)},set:function(r){switch(this.nodeType){case rr:case _r:for(;this.firstChild;)this.removeChild(this.firstChild);(r||String(r))&&this.appendChild(this.ownerDocument.createTextNode(r));break;default:this.data=r,this.value=r,this.nodeValue=r;}}}),tl=function(r,t,n){r["$$"+t]=n;};}}catch{}Ee._updateLiveList=Sa;Ee.Attr=Qr;Ee.CDATASection=Na;Ee.CharacterData=yt;Ee.Comment=Oa;Ee.Document=Sr;Ee.DocumentFragment=xn;Ee.DocumentType=Ia;Ee.DOMImplementation=Zs;Ee.Element=Nr;Ee.Entity=$i;Ee.EntityReference=Ba;Ee.LiveNodeList=Kr;Ee.NamedNodeMap=mt;Ee.Node=oe;Ee.NodeList=xe;Ee.Notation=Ji;Ee.Text=bn;Ee.ProcessingInstruction=Pa;Ee.XMLSerializer=$s;});var al=b(wn=>{var nl=Gr().freeze;wn.XML_ENTITIES=nl({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'});wn.HTML_ENTITIES=nl({Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",AMP:"&",amp:"&",And:"\u2A53",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",ap:"\u2248",apacir:"\u2A6F",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",Barwed:"\u2306",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",Because:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxDL:"\u2557",boxDl:"\u2556",boxdL:"\u2555",boxdl:"\u2510",boxDR:"\u2554",boxDr:"\u2553",boxdR:"\u2552",boxdr:"\u250C",boxH:"\u2550",boxh:"\u2500",boxHD:"\u2566",boxHd:"\u2564",boxhD:"\u2565",boxhd:"\u252C",boxHU:"\u2569",boxHu:"\u2567",boxhU:"\u2568",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxUL:"\u255D",boxUl:"\u255C",boxuL:"\u255B",boxul:"\u2518",boxUR:"\u255A",boxUr:"\u2559",boxuR:"\u2558",boxur:"\u2514",boxV:"\u2551",boxv:"\u2502",boxVH:"\u256C",boxVh:"\u256B",boxvH:"\u256A",boxvh:"\u253C",boxVL:"\u2563",boxVl:"\u2562",boxvL:"\u2561",boxvl:"\u2524",boxVR:"\u2560",boxVr:"\u255F",boxvR:"\u255E",boxvr:"\u251C",bprime:"\u2035",Breve:"\u02D8",breve:"\u02D8",brvbar:"\xA6",Bscr:"\u212C",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",Cap:"\u22D2",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",CenterDot:"\xB7",centerdot:"\xB7",Cfr:"\u212D",cfr:"\u{1D520}",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",cir:"\u25CB",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",Colon:"\u2237",colon:":",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",Conint:"\u222F",conint:"\u222E",ContourIntegral:"\u222E",Copf:"\u2102",copf:"\u{1D554}",coprod:"\u2210",Coproduct:"\u2210",COPY:"\xA9",copy:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",Cross:"\u2A2F",cross:"\u2717",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",Cup:"\u22D3",cup:"\u222A",cupbrcap:"\u2A48",CupCap:"\u224D",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",Dagger:"\u2021",dagger:"\u2020",daleth:"\u2138",Darr:"\u21A1",dArr:"\u21D3",darr:"\u2193",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",DD:"\u2145",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",Diamond:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",Downarrow:"\u21D3",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",ecir:"\u2256",Ecirc:"\xCA",ecirc:"\xEA",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",eDot:"\u2251",edot:"\u0117",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",Escr:"\u2130",escr:"\u212F",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",ExponentialE:"\u2147",exponentiale:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",ForAll:"\u2200",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",Fscr:"\u2131",fscr:"\u{1D4BB}",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",gE:"\u2267",ge:"\u2265",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",Gg:"\u22D9",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gl:"\u2277",gla:"\u2AA5",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gnE:"\u2269",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",Gt:"\u226B",GT:">",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",hArr:"\u21D4",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",Hfr:"\u210C",hfr:"\u{1D525}",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",Hopf:"\u210D",hopf:"\u{1D559}",horbar:"\u2015",HorizontalLine:"\u2500",Hscr:"\u210B",hscr:"\u{1D4BD}",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",Ifr:"\u2111",ifr:"\u{1D526}",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Im:"\u2111",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",Int:"\u222C",int:"\u222B",intcal:"\u22BA",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",Iscr:"\u2110",iscr:"\u{1D4BE}",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",Lang:"\u27EA",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",Larr:"\u219E",lArr:"\u21D0",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",lAtail:"\u291B",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lBarr:"\u290E",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",lE:"\u2266",le:"\u2264",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",Leftarrow:"\u21D0",leftarrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",Ll:"\u22D8",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lnE:"\u2268",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftarrow:"\u27F5",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",Lscr:"\u2112",lscr:"\u{1D4C1}",Lsh:"\u21B0",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",Lt:"\u226A",LT:"<",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",Mscr:"\u2133",mscr:"\u{1D4C2}",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",neArr:"\u21D7",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
4
4
  `,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlArr:"\u21CD",nlarr:"\u219A",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nLeftarrow:"\u21CD",nleftarrow:"\u219A",nLeftrightarrow:"\u21CE",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",nopf:"\u{1D55F}",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nRightarrow:"\u21CF",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nVDash:"\u22AF",nVdash:"\u22AE",nvDash:"\u22AD",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwArr:"\u21D6",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",Ocirc:"\xD4",ocirc:"\xF4",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",Or:"\u2A54",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",Otimes:"\u2A37",otimes:"\u2297",otimesas:"\u2A36",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",Popf:"\u2119",popf:"\u{1D561}",pound:"\xA3",Pr:"\u2ABB",pr:"\u227A",prap:"\u2AB7",prcue:"\u227C",prE:"\u2AB3",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",Prime:"\u2033",prime:"\u2032",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportion:"\u2237",Proportional:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",Qopf:"\u211A",qopf:"\u{1D562}",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",QUOT:'"',quot:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",Rang:"\u27EB",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",Rarr:"\u21A0",rArr:"\u21D2",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",rAtail:"\u291C",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",RBarr:"\u2910",rBarr:"\u290F",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",Re:"\u211C",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",REG:"\xAE",reg:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",Rfr:"\u211C",rfr:"\u{1D52F}",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",Rightarrow:"\u21D2",rightarrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",Ropf:"\u211D",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",Rscr:"\u211B",rscr:"\u{1D4C7}",Rsh:"\u21B1",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",Sc:"\u2ABC",sc:"\u227B",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",sccue:"\u227D",scE:"\u2AB4",sce:"\u2AB0",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",searhk:"\u2925",seArr:"\u21D8",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",Square:"\u25A1",square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",Sub:"\u22D0",sub:"\u2282",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",Subset:"\u22D0",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",Sum:"\u2211",sum:"\u2211",sung:"\u266A",Sup:"\u22D1",sup:"\u2283",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",Supset:"\u22D1",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swArr:"\u21D9",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",Therefore:"\u2234",therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",Tilde:"\u223C",tilde:"\u02DC",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",TRADE:"\u2122",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",Uarr:"\u219F",uArr:"\u21D1",uarr:"\u2191",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrow:"\u2191",Uparrow:"\u21D1",uparrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",Updownarrow:"\u21D5",updownarrow:"\u2195",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",upsi:"\u03C5",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTee:"\u22A5",UpTeeArrow:"\u21A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",vArr:"\u21D5",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",Vbar:"\u2AEB",vBar:"\u2AE8",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",VDash:"\u22AB",Vdash:"\u22A9",vDash:"\u22A8",vdash:"\u22A2",Vdashl:"\u2AE6",Vee:"\u22C1",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",Verbar:"\u2016",verbar:"|",Vert:"\u2016",vert:"|",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",Wedge:"\u22C0",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",Xi:"\u039E",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",Yuml:"\u0178",yuml:"\xFF",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",Zfr:"\u2128",zfr:"\u{1D537}",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",Zopf:"\u2124",zopf:"\u{1D56B}",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"});wn.entityMap=wn.HTML_ENTITIES;});var gl=b(ka=>{var wt=Gr(),K=Yi(),ll=cn(),m0=wt.isHTMLEscapableRawTextElement,v0=wt.isHTMLMimeType,y0=wt.isHTMLRawTextElement,Cn=wt.hasOwn,il=wt.NAMESPACE,ol=ll.ParseError,E0=ll.DOMException,Dn=0,Ir=1,Et=2,An=3,bt=4,xt=5,Tn=6,Ra=7;function cl(){}cl.prototype={parse:function(e,r,t){var n=this.domBuilder;n.startDocument(),fl(r,r=Object.create(null)),b0(e,r,t,n,this.errorHandler),n.endDocument();}};var ro=/&#?\w+;?/g;function b0(e,r,t,n,o){var u=v0(n.mimeType);e.indexOf(K.UNICODE_REPLACEMENT_CHARACTER)>=0&&o.warning("Unicode replacement character detected, source encoding issues?");function s(ne){if(ne>65535){ne-=65536;var Pe=55296+(ne>>10),at=56320+(ne&1023);return String.fromCharCode(Pe,at)}else return String.fromCharCode(ne)}function c(ne){var Pe=ne[ne.length-1]===";"?ne:ne+";";if(!u&&Pe!==ne)return o.error("EntityRef: expecting ;"),ne;var at=K.Reference.exec(Pe);if(!at||at[0].length!==Pe.length)return o.error("entity not matching Reference production: "+ne),ne;var nr=Pe.slice(1,-1);return Cn(t,nr)?t[nr]:nr.charAt(0)==="#"?s(parseInt(nr.substring(1).replace("x","0x"))):(o.error("entity not found:"+ne),ne)}function f(ne){if(ne>O){var Pe=e.substring(O,ne).replace(ro,c);b&&w(O),n.characters(Pe,0,ne-O),O=ne;}}var h=0,p=0,y=/\r\n?|\n|$/g,b=n.locator;function w(ne,Pe){for(;ne>=p&&(Pe=y.exec(e));)h=p,p=Pe.index+Pe[0].length,b.lineNumber++;b.columnNumber=ne-h+1;}for(var T=[{currentNSMap:r}],C=[],O=0;;){try{var P=e.indexOf("<",O);if(P<0){if(!u&&C.length>0)return o.fatalError("unclosed xml tag(s): "+C.join(", "));if(!e.substring(O).match(/^\s*$/)){var R=n.doc,S=R.createTextNode(e.substring(O));if(R.documentElement)return o.error("Extra content at the end of the document");R.appendChild(S),n.currentElement=S;}return}if(P>O){var k=e.substring(O,P);!u&&C.length===0&&(k=k.replace(new RegExp(K.S_OPT.source,"g"),""),k&&o.error("Unexpected content outside root element: '"+k+"'")),f(P);}switch(e.charAt(P+1)){case "/":var Te=e.indexOf(">",P+2),q=e.substring(P+2,Te>0?Te:void 0);if(!q)return o.fatalError("end tag name missing");var V=Te>0&&K.reg("^",K.QName_group,K.S_OPT,"$").exec(q);if(!V)return o.fatalError('end tag name contains invalid characters: "'+q+'"');if(!n.currentElement&&!n.doc.documentElement)return;var G=C[C.length-1]||n.currentElement.tagName||n.doc.documentElement.tagName||"";if(G!==V[1]){var M=V[1].toLowerCase();if(!u||G.toLowerCase()!==M)return o.fatalError('Opening and ending tag mismatch: "'+G+'" != "'+q+'"')}var te=T.pop();C.pop();var ge=te.localNSMap;if(n.endElement(te.uri,te.localName,G),ge)for(var Ie in ge)Cn(ge,Ie)&&n.endPrefixMapping(Ie);Te++;break;case "?":b&&w(P),Te=A0(e,P,n,o);break;case "!":b&&w(P),Te=hl(e,P,n,o,u);break;default:b&&w(P);var pe=new dl,tr=T[T.length-1].currentNSMap,Te=x0(e,P,pe,tr,c,o,u),Lt=pe.length;if(pe.closed||(u&&wt.isHTMLVoidElement(pe.tagName)?pe.closed=!0:C.push(pe.tagName)),b&&Lt){for(var Mt=ul(b,{}),nt=0;nt<Lt;nt++){var Ut=pe[nt];w(Ut.offset),Ut.locator=ul(b,{});}n.locator=Mt,sl(pe,n,tr)&&T.push(pe),n.locator=b;}else sl(pe,n,tr)&&T.push(pe);u&&!pe.closed?Te=w0(e,Te,pe.tagName,c,n):Te++;}}catch(ne){if(ne instanceof ol)throw ne;if(ne instanceof E0)throw new ol(ne.name+": "+ne.message,n.locator,ne);o.error("element parse error: "+ne),Te=-1;}Te>O?O=Te:f(Math.max(P,O)+1);}}function ul(e,r){return r.lineNumber=e.lineNumber,r.columnNumber=e.columnNumber,r}function x0(e,r,t,n,o,u,s){function c(w,T,C){if(Cn(t.attributeNames,w))return u.fatalError("Attribute "+w+" redefined");if(!s&&T.indexOf("<")>=0)return u.fatalError("Unescaped '<' not allowed in attributes values");t.addValue(w,T.replace(/[\t\n\r]/g," ").replace(ro,o),C);}for(var f,h,p=++r,y=Dn;;){var b=e.charAt(p);switch(b){case "=":if(y===Ir)f=e.slice(r,p),y=An;else if(y===Et)y=An;else throw new Error("attribute equal must after attrName");break;case "'":case '"':if(y===An||y===Ir)if(y===Ir&&(u.warning('attribute value must after "="'),f=e.slice(r,p)),r=p+1,p=e.indexOf(b,r),p>0)h=e.slice(r,p),c(f,h,r-1),y=xt;else throw new Error("attribute value no end '"+b+"' match");else if(y==bt)h=e.slice(r,p),c(f,h,r),u.warning('attribute "'+f+'" missed start quot('+b+")!!"),r=p+1,y=xt;else throw new Error('attribute value must after "="');break;case "/":switch(y){case Dn:t.setTagName(e.slice(r,p));case xt:case Tn:case Ra:y=Ra,t.closed=true;case bt:case Ir:break;case Et:t.closed=true;break;default:throw new Error("attribute invalid close char('/')")}break;case "":return u.error("unexpected end of input"),y==Dn&&t.setTagName(e.slice(r,p)),p;case ">":switch(y){case Dn:t.setTagName(e.slice(r,p));case xt:case Tn:case Ra:break;case bt:case Ir:h=e.slice(r,p),h.slice(-1)==="/"&&(t.closed=true,h=h.slice(0,-1));case Et:y===Et&&(h=f),y==bt?(u.warning('attribute "'+h+'" missed quot(")!'),c(f,h,r)):(s||u.warning('attribute "'+h+'" missed value!! "'+h+'" instead!!'),c(h,h,r));break;case An:if(!s)return u.fatalError(`AttValue: ' or " expected`)}return p;case "\x80":b=" ";default:if(b<=" ")switch(y){case Dn:t.setTagName(e.slice(r,p)),y=Tn;break;case Ir:f=e.slice(r,p),y=Et;break;case bt:var h=e.slice(r,p);u.warning('attribute "'+h+'" missed quot(")!!'),c(f,h,r);case xt:y=Tn;break}else switch(y){case Et:s||u.warning('attribute "'+f+'" missed value!! "'+f+'" instead2!!'),c(f,f,r),r=p,y=Ir;break;case xt:u.warning('attribute space is required"'+f+'"!!');case Tn:y=Ir,r=p;break;case An:y=bt,r=p;break;case Ra:throw new Error("elements closed character '/' and '>' must be connected to")}}p++;}}function sl(e,r,t){for(var n=e.tagName,o=null,y=e.length;y--;){var u=e[y],s=u.qName,c=u.value,b=s.indexOf(":");if(b>0)var f=u.prefix=s.slice(0,b),h=s.slice(b+1),p=f==="xmlns"&&h;else h=s,f=null,p=s==="xmlns"&&"";u.localName=h,p!==false&&(o==null&&(o=Object.create(null),fl(t,t=Object.create(null))),t[p]=o[p]=c,u.uri=il.XMLNS,r.startPrefixMapping(p,c));}for(var y=e.length;y--;)u=e[y],u.prefix&&(u.prefix==="xml"&&(u.uri=il.XML),u.prefix!=="xmlns"&&(u.uri=t[u.prefix]));var b=n.indexOf(":");b>0?(f=e.prefix=n.slice(0,b),h=e.localName=n.slice(b+1)):(f=null,h=e.localName=n);var w=e.uri=t[f||""];if(r.startElement(w,h,n,e),e.closed){if(r.endElement(w,h,n),o)for(f in o)Cn(o,f)&&r.endPrefixMapping(f);}else return e.currentNSMap=t,e.localNSMap=o,true}function w0(e,r,t,n,o){var u=m0(t);if(u||y0(t)){var s=e.indexOf("</"+t+">",r),c=e.substring(r+1,s);return u&&(c=c.replace(ro,n)),o.characters(c,0,c.length),s}return r+1}function fl(e,r){for(var t in e)Cn(e,t)&&(r[t]=e[t]);}function pl(e,r){var t=r;function n(p){return p=p||0,e.charAt(t+p)}function o(p){p=p||1,t+=p;}function u(){for(var p=0;t<e.length;){var y=n();if(y!==" "&&y!==`
@@ -17,7 +17,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17
17
  `),f.indexOf(p.tag)!==-1||c.push(p),h):(u+=p.value,h):(h.push(p),h)},[])},postparse:function(r,t,n){function o(c,f,h){for(var p=[],y=0;y<t.length;y++){var b=t[y];p.push(b.getTraits(c,f,h));}return p}var u=[];function s(c,f){for(var h=c,p=0;p<t.length;p++){var y=t[p],b=y.postparse(h,Rr(Rr({},f),{},{postparse:function(T,C){return s(T,Rr(Rr({},f),C))},getTraits:o}));if(b!=null){if(b.errors){Eo(u,b.errors),h=b.postparsed;continue}h=b;}}return h}return {postparsed:s(r,n),errors:u}}};kc.exports=Hv;});var xo=b((U1,Lc)=>{function Zv(e,r){if(e.lIndex==null)return null;var t=r.scopeManager.scopePathItem;e.parentPart&&(t=t.slice(0,t.length-1));var n=r.filePath+"@"+e.lIndex.toString()+"-"+t.join("-");return n}Lc.exports=Zv;});var zc=b((q1,qc)=>{var Uc=Ye(),Gv=Uc.throwUnimplementedTagType,Yv=Uc.XTScopeParserError,Wv=be(),Mc=Wv.pushArray,Kv=xo();function Qv(e,r){for(var t=0,n=r.modules;t<n.length;t++){var o=n[t],u=o.render(e,r);if(u)return u}return false}function Jv(e){var r=e.baseNullGetter,t=e.compiled,n=e.scopeManager;e.nullGetter=function(w,T){return r(w,T||n)};for(var o=[],u=[],s=0,c=t.length;s<c;s++){var f=t[s];e.index=s,e.resolvedId=Kv(f,e);var h=void 0;try{h=Qv(f,e);}catch(w){if(w instanceof Yv){o.push(w),u.push(f);continue}throw w}if(h){h.errors&&Mc(o,h.errors),u.push(h);continue}if(f.type==="content"||f.type==="tag"){u.push(f);continue}Gv(f,s);}for(var p=[],y=0;y<u.length;y++){var b=u[y].value;b instanceof Array?Mc(p,b):b&&p.push(b);}return {errors:o,parts:p}}qc.exports=Jv;});var Xc=b((z1,Vc)=>{function jc(e){var r,t,n,o,u=0,s=e.length;for(n=0;n<s;n++)r=e.charCodeAt(n),(r&64512)===55296&&n+1<s&&(t=e.charCodeAt(n+1),(t&64512)===56320&&(r=65536+(r-55296<<10)+(t-56320),n++)),u+=r<128?1:r<2048?2:r<65536?3:4;var c=new Uint8Array(u);for(o=0,n=0;o<u;n++)r=e.charCodeAt(n),(r&64512)===55296&&n+1<s&&(t=e.charCodeAt(n+1),(t&64512)===56320&&(r=65536+(r-55296<<10)+(t-56320),n++)),r<128?c[o++]=r:r<2048?(c[o++]=192|r>>>6,c[o++]=128|r&63):r<65536?(c[o++]=224|r>>>12,c[o++]=128|r>>>6&63,c[o++]=128|r&63):(c[o++]=240|r>>>18,c[o++]=128|r>>>12&63,c[o++]=128|r>>>6&63,c[o++]=128|r&63);return c}function $v(e,r){for(var t=0,n=r.modules;t<n.length;t++){var o=n[t];e=o.postrender(e,r);}for(var u=0,s=r.joinUncorrupt(e,r),c="",f=0,h=65536,p=[],y=0,b=s.length;y<b;y++){var w=s[y];if(w.length+f>h){var T=jc(c);u+=T.length,p.push(T),c="";}c+=w,f+=w.length,delete s[y];}var C=jc(c);u+=C.length,p.push(C);for(var O=new Uint8Array(u),P=0,R=0;R<p.length;R++){for(var S=p[R],k=0;k<S.length;++k)O[k+P]=S[k];P+=S.length;}return O}Vc.exports=$v;});var Qc=b((j1,Kc)=>{function Un(e){"@babel/helpers - typeof";return Un=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Un(e)}function Hc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n);}return t}function Zc(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Hc(Object(t),true).forEach(function(n){ey(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Hc(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function ey(e,r,t){return (r=ry(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function ry(e){var r=ty(e,"string");return Un(r)=="symbol"?r:r+""}function ty(e,r){if(Un(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Un(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}var ny=be(),Gc=ny.pushArray,ay=xo();function iy(e,r){for(var t=0,n=r.modules;t<n.length;t++){var o=n[t],u=o.resolve(e,r);if(u)return u}return false}function Wc(e,r,t,n){var o=iy(e,Zc(Zc({},n),{},{resolvedId:ay(e,n)}));if(o)return o.then(function(u){r.push({tag:e.value,lIndex:e.lIndex,value:u});}).catch(function(u){u instanceof Array?Gc(t,u):t.push(u);});if(e.type==="placeholder")return n.scopeManager.getValueAsync(e.value,{part:e}).then(function(u){return u??n.nullGetter(e)}).then(function(u){r.push({tag:e.value,lIndex:e.lIndex,value:u});}).catch(function(u){u instanceof Array?Gc(t,u):t.push(u);})}function oy(e){var r=[],t=[],n=e.baseNullGetter,o=e.scopeManager;e.nullGetter=function(s,c){return n(s,c||o)},e.resolved=r;var u=uy(e,t,r);return u?u.then(function(){return Yc(e,t,r)}):Yc(e,t,r)}function uy(e,r,t){for(var n=null,o=function(){var f=s[u];if(["content","tag"].indexOf(f.type)!==-1)return 1;f.resolveFirst&&(n??(n=Promise.resolve(null)),n=n.then(function(){return Wc(f,t,r,e)}));},u=0,s=e.compiled;u<s.length;u++)o();return n}function Yc(e,r,t){for(var n=[],o=0,u=e.compiled;o<u.length;o++){var s=u[o];["content","tag"].indexOf(s.type)===-1&&(s.resolveFirst||n.push(Wc(s,t,r,e)));}return Promise.all(n).then(function(){return {errors:r,resolved:t}})}Kc.exports=oy;});var ef=b((V1,$c)=>{var qn=be(),It=qn.startsWith,sy=qn.endsWith,wo=qn.isStarting,Jc=qn.isEnding,ly=qn.isWhiteSpace,cy=Ha();function fy(e){for(var r="",t=0,n=e.length;t<n;t++){var o=e[t];ly(o)||It(o,"<w:bookmarkEnd")||(sy(r,"</w:tbl>")&&!It(o,"<w:p")&&!It(o,"<w:tbl")&&!It(o,"<w:sectPr")&&!It(o,"</w:ftr>")&&!It(o,"</w:hdr>")&&(o="<w:p/>".concat(o)),r=o,e[t]=o);}return e}function py(e,r){var t=r.fileTypeConfig.tagShouldContain||[],n="",o=-1;cy.docx.indexOf(r.contentType)!==-1&&(e=fy(e));for(var u=-1,s=0,c=t.length;s<c;s++)for(var f=t[s],h=f.tag,p=f.shouldContain,y=f.value,b=f.drop,w=f.dropParent,T=0,C=e.length;T<C;T++){var O=e[T];if(o===s){if(Jc(O,h))if(o=-1,w){for(var P=-1,R=u;R>0;R--)if(wo(e[R],w)){P=R;break}for(var S=P;S<=e.length;S++){if(Jc(e[S],w)){e[S]="";break}e[S]="";}}else {for(var k=u;k<=T;k++)e[k]="";b||(e[T]=n+y+O);}n+=O;for(var q=0,V=p.length;q<V;q++){var G=p[q];if(wo(O,G)){o=-1;break}}}o===-1&&wo(O,h)&&O.substr(1).indexOf("<")===-1&&(O[O.length-2]==="/"?e[T]="":(u=T,o=s,n=O));}return e}$c.exports=py;});var sf=b((X1,uf)=>{function zn(e){"@babel/helpers - typeof";return zn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},zn(e)}function hy(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function rf(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(e,gy(n.key),n);}}function dy(e,r,t){return r&&rf(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function gy(e){var r=my(e,"string");return zn(r)=="symbol"?r:r+""}function my(e,r){if(zn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(zn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var Ao=be(),tf=Ao.pushArray,vy=Ao.wordToUtf8,yy=Ao.convertSpaces,Ey=yo(),nf=go(),Do=Fc(),af=zc(),by=Xc(),of=Qc(),xy=ef();function wy(e,r){var t=Ey(e,r),n=t.matches.map(function(o){return o.array[2]});return vy(yy(n.join("")))}uf.exports=(function(){function e(r,t){hy(this,e),this.cachedParsers={},this.content=r;for(var n in t)this[n]=t[n];this.setModules({inspect:{filePath:t.filePath}});}return dy(e,[{key:"resolveTags",value:function(t){var n=this;this.tags=t;var o=this.getOptions(),u=this.filePath;o.scopeManager=this.scopeManager,o.resolve=of;var s=[];return Promise.all(this.modules.map(function(c){return Promise.resolve(c.preResolve(o)).catch(function(f){s.push(f);})})).then(function(){if(s.length!==0)throw s;return of(o).then(function(c){var f=c.resolved,h=c.errors;if(h=h.map(function(p){var y;return p instanceof Error||(p=new Error(p)),(y=p).properties||(y.properties={}),p.properties.file=u,p}),h.length!==0)throw h;return Promise.all(f).then(function(p){return o.scopeManager.root.finishedResolving=true,o.scopeManager.resolved=p,n.setModules({inspect:{resolved:p,filePath:u}}),p})}).catch(function(c){throw n.errorChecker(c),c})})}},{key:"getFullText",value:function(){return wy(this.content,this.fileTypeConfig.tagsXmlTextArray)}},{key:"setModules",value:function(t){for(var n=0,o=this.modules;n<o.length;n++){var u=o[n];u.set(t);}}},{key:"preparse",value:function(){this.allErrors=[],this.xmllexed=nf.xmlparse(this.content,{text:this.fileTypeConfig.tagsXmlTextArray,other:this.fileTypeConfig.tagsXmlLexedArray}),this.setModules({inspect:{filePath:this.filePath,xmllexed:this.xmllexed}});var t=nf.parse(this.xmllexed,this.delimiters,this.syntax,this.fileType),n=t.lexed,o=t.errors;tf(this.allErrors,o),this.lexed=n,this.setModules({inspect:{filePath:this.filePath,lexed:this.lexed}});var u=this.getOptions();this.lexed=Do.preparse(this.lexed,this.modules,u);}},{key:"parse",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.noPostParse;this.setModules({inspect:{filePath:this.filePath}});var o=this.getOptions();return this.parsed=Do.parse(this.lexed,this.modules,o),this.setModules({inspect:{filePath:this.filePath,parsed:this.parsed}}),n?this:this.postparse()}},{key:"postparse",value:function(){var t=this.getOptions(),n=Do.postparse(this.parsed,this.modules,t),o=n.postparsed,u=n.errors;return this.postparsed=o,this.setModules({inspect:{filePath:this.filePath,postparsed:this.postparsed}}),tf(this.allErrors,u),this.errorChecker(this.allErrors),this}},{key:"errorChecker",value:function(t){for(var n=0,o=t;n<o.length;n++){var u=o[n];u.properties||(u.properties={}),u.properties.file=this.filePath;}for(var s=0,c=this.modules;s<c.length;s++){var f=c[s];t=f.errorsTransformer(t);}}},{key:"baseNullGetter",value:function(t,n){for(var o=null,u=0,s=this.modules;u<s.length;u++){var c=s[u];o==null&&(o=c.nullGetter(t,n,this));}return o??this.nullGetter(t,n)}},{key:"getOptions",value:function(){return {compiled:this.postparsed,cachedParsers:this.cachedParsers,tags:this.tags,modules:this.modules,parser:this.parser,contentType:this.contentType,relsType:this.relsType,baseNullGetter:this.baseNullGetter.bind(this),filePath:this.filePath,syntax:this.syntax,fileTypeConfig:this.fileTypeConfig,fileType:this.fileType,linebreaks:this.linebreaks,stripInvalidXMLChars:this.stripInvalidXMLChars}}},{key:"render",value:function(t){this.filePath=t;var n=this.getOptions();n.resolved=this.scopeManager.resolved,n.scopeManager=this.scopeManager,n.render=af,n.joinUncorrupt=xy;var o=af(n),u=o.errors,s=o.parts;return u.length>0?(this.allErrors=u,this.errorChecker(u),this):(this.content=by(s,n),this.setModules({inspect:{filePath:this.filePath,content:this.content}}),this)}}])})();});var Df=b((H1,wf)=>{function Xn(e){"@babel/helpers - typeof";return Xn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Xn(e)}function lf(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n);}return t}function kr(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?lf(Object(t),true).forEach(function(n){Dy(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lf(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function Dy(e,r,t){return (r=yf(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function Ay(e,r){return Sy(e)||_y(e,r)||Cy(e,r)||Ty()}function Ty(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
18
18
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Cy(e,r){if(e){if(typeof e=="string")return cf(e,r);var t={}.toString.call(e).slice(8,-1);return t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set"?Array.from(e):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?cf(e,r):void 0}}function cf(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function _y(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,o,u,s,c=[],f=true,h=false;try{if(u=(t=t.call(e)).next,r===0);else for(;!(f=(n=u.call(t)).done)&&(c.push(n.value),c.length!==r);f=!0);}catch(p){h=true,o=p;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(h)throw o}}return c}}function Sy(e){if(Array.isArray(e))return e}function Oy(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function ff(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(e,yf(n.key),n);}}function Ny(e,r,t){return r&&ff(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function yf(e){var r=Iy(e,"string");return Xn(r)=="symbol"?r:r+""}function Iy(e,r){if(Xn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Xn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}var We=be(),By=We.chunkBy,Ef=We.last,_o=We.isParagraphStart,To=We.isModule,pf=We.pushArray,bf=We.isParagraphEnd,Py=We.isContent,Vn=We.startsWith,So=We.isTagEnd,Bt=We.isTagStart,Co=We.getSingleAttribute,hf=We.setSingleAttribute,Ry=Ha(),ky=Pr(),jn="loop";function Fy(e){for(var r=0;r<e.length;r++){var t=e[r];if(Py(t))return true}return false}function Ly(e){for(var r=0;r<e.length;r++){var t=e[r];if(t.type!=="content")return t}return null}function xf(e){var r=Ly(e.subparsed);return r!=null&&r.tag!=="w:t"}function My(e){return e.hasPageBreak&&xf(e)?'<w:p><w:r><w:br w:type="page"/></w:r></w:p>':""}function Uy(e){return e.length&&_o(e[0])&&bf(Ef(e))}function df(e){return Fy(e)?0:e.length}function gf(e){var r=e.parts.length-1;e.parts[r]==="</w:p>"?e.parts.splice(r,0,'<w:r><w:br w:type="page"/></w:r>'):e.parts.push('<w:p><w:r><w:br w:type="page"/></w:r></w:p>');}function qy(e){e.parts.unshift('<w:p><w:r><w:br w:type="page"/></w:r></w:p>');}function zy(e){for(var r=0;r<e.length;r++){var t=e[r];if(Bt("w:type",t)&&t.value.indexOf("continuous")!==-1)return true}return false}function jy(e){for(var r=0;r<e.length;r++){var t=e[r];if(Bt("w:type",t)&&t.value.indexOf('w:val="nextPage"')!==-1)return true}return false}function Vy(e,r){e.unshift("<w:p><w:pPr>".concat(r.map(function(t){var n=t.value;return n}).join(""),"</w:pPr></w:p>"));}function Xy(e){for(var r=false,t=false,n=0;n<e.length;n++){var o=e[n];!r&&Vn(o,"<w:sectPr")&&(t=true),t&&(Vn(o,"<w:type")&&(r=true),!r&&Vn(o,"</w:sectPr")&&(e.splice(n,0,'<w:type w:val="continuous"/>'),n++));}return e}function Hy(e){for(var r=0,t=0;t<e.length;t++)!Vn(e[t],"<w:headerReference")&&!Vn(e[t],"<w:footerReference")&&(e[r]=e[t],r++);return e.length=r,e}function mf(e){for(var r=0;r<e.length;r++){var t=e[r];if(t.tag==="w:br"&&t.value.indexOf('w:type="page"')!==-1)return true}return false}function vf(e){for(var r=0;r<e.length;r++){var t=e[r];if(t.tag==="w:drawing")return true}return false}function Zy(e){for(var r=[],t=null,n=0;n<e.length;n++){var o=e[n];Bt("w:sectPr",o)&&(t=[],r.push(t)),t!==null&&t.push(o),So("w:sectPr",o)&&(t=null);}return r}function Gy(e){for(var r=false,t=0,n=0;n<e.length;n++){var o=e[n];Bt("w:sectPr",o)&&(r=true),r&&(o.tag==="w:headerReference"||o.tag==="w:footerReference")&&(t++,r=false),So("w:sectPr",o)&&(r=false);}return t}function Yy(e){for(var r=[],t=false,n=e.length-1;n>=0;n--){var o=e[n];if(So("w:sectPr",o)&&(t=true),Bt("w:sectPr",o)&&(r.unshift(o.value),t=false),t&&r.unshift(o.value),_o(o)){if(r.length>0)return r.join("");break}}return ""}var Wy=(function(){function e(){Oy(this,e),this.name="LoopModule",this.inXfrm=false,this.totalSectPr=0,this.prefix={start:"#",end:"/",dash:/^-([^\s]+)\s(.+)/,inverted:"^"};}return Ny(e,[{key:"optionsTransformer",value:function(t,n){return this.docxtemplater=n,t}},{key:"preparse",value:function(t,n){var o=n.contentType;Ry.main.indexOf(o)!==-1&&(this.sects=Zy(t));}},{key:"matchers",value:function(){var t=jn;return [[this.prefix.start,t,{expandTo:"auto",location:"start",inverted:false}],[this.prefix.inverted,t,{expandTo:"auto",location:"start",inverted:true}],[this.prefix.end,t,{location:"end"}],[this.prefix.dash,t,function(n){var o=Ay(n,3),u=o[1],s=o[2];return {location:"start",inverted:false,expandTo:u,value:s}}]]}},{key:"getTraits",value:function(t,n){if(t==="expandPair"){for(var o=[],u=0,s=n.length;u<s;u++){var c=n[u];To(c,jn)&&c.subparsed==null&&o.push({part:c,offset:u});}return o}}},{key:"postparse",value:function(t,n){var o=n.basePart;if(o&&this.docxtemplater.fileType==="docx"&&t.length>0){o.sectPrCount=Gy(t),this.totalSectPr+=o.sectPrCount;for(var u=this.sects,s=0,c=u.length;s<c;s++){var f=u[s];if(o.lIndex<f[0].lIndex){s+1<u.length&&zy(u[s+1])&&(o.addContinuousType=true);break}if(t[0].lIndex<f[0].lIndex&&f[0].lIndex<o.lIndex){jy(u[s])&&(o.addNextPage={index:s});break}}o.lastParagrapSectPr=Yy(t);}if(!o||o.expandTo!=="auto"||o.module!==jn||!Uy(t))return t;o.paragraphLoop=true;var h=0,p=By(t,function(C){return _o(C)&&(h++,h===1)?"start":bf(C)&&(h--,h===0)?"end":null}),y=p[0],b=Ef(p),w=df(y),T=df(b);return o.hasPageBreakBeginning=mf(y),o.hasPageBreak=mf(b),vf(y)&&(w=0),vf(b)&&(T=0),t.slice(w,t.length-T)}},{key:"resolve",value:function(t,n){var o=this;if(!To(t,jn))return null;var u=n.scopeManager,s=u.getValueAsync(t.value,{part:t}),c=[],f;o.resolveSerially&&(f=Promise.resolve(null));function h(y,b,w){var T=u.createSubScopeManager(y,t.value,b,t,w);o.resolveSerially?(f=f.then(function(){return n.resolve(kr(kr({},n),{},{compiled:t.subparsed,tags:{},scopeManager:T}))}),c.push(f)):c.push(n.resolve(kr(kr({},n),{},{compiled:t.subparsed,tags:{},scopeManager:T})));}var p=[];return s.then(function(y){return y??(y=n.nullGetter(t)),y instanceof Promise?y.then(function(b){return b instanceof Array?Promise.all(b):b}):y instanceof Array?Promise.all(y):y}).then(function(y){return u.loopOverValue(y,h,t.inverted),Promise.all(c).then(function(b){return b.map(function(w){var T=w.resolved,C=w.errors;return pf(p,C),T})}).then(function(b){if(p.length>0)throw p;return b})})}},{key:"render",value:function(t,n){var o=this;if(t.tag==="p:xfrm"&&(o.inXfrm=t.position==="start"),t.tag==="a:ext"&&o.inXfrm)return o.lastExt=t,t;if(!To(t,jn))return null;var u=[],s=[],c=0,f=t.subparsed[0],h=0;f?.tag==="a:tr"&&(h=+Co(f.value,"h")),c-=h;var p=0,y=xf(t);function b(O,P,R){c+=h;for(var S=n.scopeManager.createSubScopeManager(O,t.value,P,t,R),k=0,q=t.subparsed;k<q.length;k++){var V=q[k];if(Bt("a16:rowId",V)){var G=+Co(V.value,"val")+p;p=1,V.value=hf(V.value,"val",G);}}var M=n.render(kr(kr({},n),{},{compiled:t.subparsed,tags:{},scopeManager:S}));t.hasPageBreak&&P===R-1&&y&&gf(M);var te=S.scopePathItem.some(function(tr){return tr!==0});te?(t.sectPrCount===1&&(M.parts=Hy(M.parts)),t.addContinuousType&&(M.parts=Xy(M.parts))):t.addNextPage&&Vy(M.parts,o.sects[t.addNextPage.index]),t.addNextPage&&gf(M),t.hasPageBreakBeginning&&y&&qy(M);for(var ge=0,Ie=M.parts;ge<Ie.length;ge++){var pe=Ie[ge];u.push(pe);}pf(s,M.errors);}var w=n.scopeManager.getValue(t.value,{part:t});w??(w=n.nullGetter(t));var T=n.scopeManager.loopOverValue(w,b,t.inverted);if(T===false)return t.lastParagrapSectPr?t.paragraphLoop?{value:"<w:p><w:pPr>".concat(t.lastParagrapSectPr,"</w:pPr></w:p>")}:{value:"</w:t></w:r></w:p><w:p><w:pPr>".concat(t.lastParagrapSectPr,"</w:pPr><w:r><w:t>")}:{value:My(t)||"",errors:s};if(c!==0){var C=+Co(o.lastExt.value,"cy");o.lastExt.value=hf(o.lastExt.value,"cy",C+c);}return {value:n.joinUncorrupt(u,kr(kr({},n),{},{basePart:t})),errors:s}}}])})();wf.exports=function(){return ky(new Wy)};});var Of=b((Z1,Sf)=>{function Hn(e){"@babel/helpers - typeof";return Hn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Hn(e)}function Ky(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Af(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(e,Jy(n.key),n);}}function Qy(e,r,t){return r&&Af(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function Jy(e){var r=$y(e,"string");return Hn(r)=="symbol"?r:r+""}function $y(e,r){if(Hn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Hn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var eE=Pr(),Zn=be(),rE=Zn.isTextStart,tE=Zn.isTextEnd,nE=Zn.endsWith,aE=Zn.startsWith,Tf=Zn.pushArray,Cf='<w:t xml:space="preserve">',iE=Cf.length,_f="</w:t>",oE=_f.length;function uE(e){return rE(e)&&e.tag==="w:t"}function Oo(e,r){var t=e[r].value;return e[r+1].value==="</w:t>"||t.indexOf('xml:space="preserve"')!==-1?t:t.substr(0,t.length-1)+' xml:space="preserve">'}function sE(e,r){return e&&e.basePart&&r.length>1}var lE=(function(){function e(){Ky(this,e),this.name="SpacePreserveModule";}return Qy(e,[{key:"postparse",value:function(t,n){var o=[],u=false,s=0,c=0;function f(p,y){return p.type==="placeholder"&&y.length>1}var h=t.reduce(function(p,y){return uE(y)&&(u=true,c=o.length),u?(o.push(y),sE(n,o)&&(s=n.basePart.endLindex,o[0].value=Oo(o,0)),f(y,o)&&(o[c].value=Oo(o,c),s=y.endLindex),tE(y)&&y.lIndex>s&&(s!==0&&(o[c].value=Oo(o,c)),Tf(p,o),o=[],u=false,s=0,c=0),p):(p.push(y),p)},[]);return Tf(h,o),h}},{key:"postrender",value:function(t){for(var n="",o=0,u=0,s=t.length;u<s;u++){var c=t[u];c!==""&&(nE(n,Cf)&&aE(c,_f)&&(t[o]=n.substr(0,n.length-iE)+"<w:t/>",c=c.substr(oE)),n=c,o=u,t[u]=c);}return t}}])})();Sf.exports=function(){return eE(new lE)};});var kf=b((G1,Rf)=>{function Gn(e){"@babel/helpers - typeof";return Gn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Gn(e)}function cE(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Nf(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(e,pE(n.key),n);}}function fE(e,r,t){return r&&Nf(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function pE(e){var r=hE(e,"string");return Gn(r)=="symbol"?r:r+""}function hE(e,r){if(Gn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Gn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var dE=Xa(),Bf=be(),gE=Bf.isContent,If=Bf.getPartWithDelimiters,Pf=Ye(),mE=Pf.throwRawTagShouldBeOnlyTextInParagraph,vE=Pf.getInvalidRawXMLValueException,yE=Pr(),No="rawxml";function EE(e){for(var r=e.part,t=e.left,n=e.right,o=e.postparsed,u=e.index,s=o.slice(t+1,n),c=0,f=s.length;c<f;c++)if(c!==u-t-1){var h=s[c];gE(h)&&mE({paragraphParts:s,part:r});}return r}var bE=(function(){function e(){cE(this,e),this.name="RawXmlModule",this.prefix="@";}return fE(e,[{key:"optionsTransformer",value:function(t,n){return this.fileTypeConfig=n.fileTypeConfig,t}},{key:"matchers",value:function(){return [[this.prefix,No]]}},{key:"postparse",value:function(t){var n=this;return dE.expandToOne(t,{moduleName:No,getInner:EE,expandTo:this.fileTypeConfig.tagRawXml,error:{message:"Raw tag not in paragraph",id:"raw_tag_outerxml_invalid",explanation:function(u){return 'The tag "'.concat(If(u,n.docxtemplater),'" is not inside a paragraph, putting raw tags inside an inline loop is disallowed.')}}})}},{key:"render",value:function(t,n){if(t.module!==No)return null;var o,u=[];try{o=n.scopeManager.getValue(t.value,{part:t}),o??(o=n.nullGetter(t));}catch(s){return u.push(s),{errors:u}}return o=o||"",typeof o=="string"?{value:o}:{errors:[vE({tag:t.value,value:o,partDelims:If(t,this.docxtemplater),part:t,offset:t.offset})]}}}])})();Rf.exports=function(){return yE(new bE)};});var Lf=b((Y1,Ff)=>{function xE(e,r){for(var t=-1,n=0,o=e.length;n<o;n++)r[n]>=e[n].length||(t===-1||e[n][r[n]].offset<e[t][r[t]].offset)&&(t=n);return t}Ff.exports=function(e){for(var r=0,t=0,n=e;t<n.length;t++){var o=n[t];r+=o.length;}e=e.filter(function(h){return h.length>0});for(var u=new Array(r),s=e.map(function(){return 0}),c=0;c<r;c++){var f=xE(e,s);u[c]=e[f][s[f]],s[f]++;}return u};});var jf=b((W1,zf)=>{function Yn(e){"@babel/helpers - typeof";return Yn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Yn(e)}function wE(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Mf(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(e,AE(n.key),n);}}function DE(e,r,t){return r&&Mf(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function AE(e){var r=TE(e,"string");return Yn(r)=="symbol"?r:r+""}function TE(e,r){if(Yn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Yn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var CE="expandPair",_E=Lf(),Po=be(),SE=Po.getLeft,OE=Po.getRight,Bo=Po.pushArray,NE=Pr(),IE=Xa(),BE=IE.getExpandToDefault,Ro=Ye(),Uf=Ro.getUnmatchedLoopException,PE=Ro.getClosingTagNotMatchOpeningTag,qf=Ro.getUnbalancedLoopException;function RE(e){switch(e.location){case "start":return 1;case "end":return -1}}function Io(e,r){return e!=null&&r!=null&&(e.part.location==="start"&&r.part.location==="end"&&e.part.value===r.part.value||r.part.value==="")}function kE(e){for(var r=0,t=[];r<e.length;){var n=e[r].part;if(n.location==="end"){if(r===0)return e.splice(0,1),t.push(Uf(n)),{traits:e,errors:t};var o=r,u=r-1,s=1;if(Io(e[u],e[o]))return e.splice(o,1),e.splice(u,1),{errors:t,traits:e};for(;s<50;){var c=e[u-s],f=e[o+s];if(Io(c,e[o]))return e.splice(o,1),e.splice(u-s,1),{errors:t,traits:e};if(Io(e[u],f))return e.splice(o+s,1),e.splice(u,1),{errors:t,traits:e};s++;}return t.push(PE({tags:[e[u].part,e[o].part]})),e.splice(o,1),e.splice(u,1),{traits:e,errors:t}}r++;}for(var h=0;h<e.length;h++){var p=e[h].part;t.push(Uf(p));}return {traits:[],errors:t}}function FE(e){var r={},t=[],n=[],o=[];for(Bo(o,e);o.length>0;){var u=kE(o);Bo(t,u.errors),o=u.traits;}if(t.length>0)return {pairs:n,errors:t};for(var s=0,c=0;c<e.length;c++){var f=e[c],h=f.part,p=RE(h);if(s+=p,p===1)r[s]=f;else {var y=r[s+1];s===0&&n.push([y,f]);}s=s>=0?s:0;}return {pairs:n,errors:t}}var LE=(function(){function e(){wE(this,e),this.name="ExpandPairTrait";}return DE(e,[{key:"optionsTransformer",value:function(t,n){return n.options.paragraphLoop&&Bo(n.fileTypeConfig.expandTags,n.fileTypeConfig.onParagraphLoop),this.expandTags=n.fileTypeConfig.expandTags,t}},{key:"postparse",value:function(t,n){var o=this,u=n.getTraits,s=n.postparse,c=n.fileType,f=u(CE,t,n);f=f.map(function(R){return R||[]}),f=_E(f);var h=FE(f),p=h.pairs,y=h.errors,b=0,w=null,T=p.map(function(R){var S=R[0].part.expandTo;if(S==="auto"&&c!=="text"){var k=BE(t,R,o.expandTags);k.error&&y.push(k.error),S=k.value;}if(!S||c==="text"){var q=R[0].offset,V=R[1].offset;return q<b&&!o.docxtemplater.options.syntax.allowUnbalancedLoops&&y.push(qf(R,w)),w=R,b=V,[q,V]}var G,M;try{G=SE(t,S,R[0].offset);}catch(te){y.push(te);}try{M=OE(t,S,R[1].offset);}catch(te){y.push(te);}return G<b&&!o.docxtemplater.options.syntax.allowUnbalancedLoops&&y.push(qf(R,w)),b=M,w=R,[G,M]});if(y.length>0)return {postparsed:t,errors:y};var C=0,O,P=t.reduce(function(R,S,k){var q=C<p.length&&T[C][0]<=k&&k<=T[C][1],V=p[C],G=T[C];if(!q)return R.push(S),R;if(G[0]===k&&(O=[]),V[0].offset!==k&&V[1].offset!==k&&O.push(S),G[1]===k){var M=t[V[0].offset];M.subparsed=s(O,{basePart:M}),M.endLindex=V[1].part.lIndex,delete M.location,delete M.expandTo,R.push(M),C++;for(var te=T[C];te&&te[0]<k;)C++,te=T[C];}return R},[]);return {postparsed:P,errors:y}}}])})();zf.exports=function(){return NE(new LE)};});var Gf=b((K1,Zf)=>{function Wn(e){"@babel/helpers - typeof";return Wn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Wn(e)}function ME(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Vf(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(e,qE(n.key),n);}}function UE(e,r,t){return r&&Vf(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function qE(e){var r=zE(e,"string");return Wn(r)=="symbol"?r:r+""}function zE(e,r){if(Wn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Wn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var jE=Pr(),Hf=Ye(),VE=Hf.getScopeCompilationError,XE=Hf.getCorruptCharactersException,ko=be(),Xf=ko.utf8ToWord,HE=ko.hasCorruptCharacters,ZE=ko.removeCorruptCharacters,Ka=fo(),GE=Ka.settingsContentType,YE=Ka.coreContentType,WE=Ka.appContentType,KE=Ka.customContentType,QE=[GE,YE,WE,KE],JE={docx:"w",pptx:"a"},$E=(function(){function e(){ME(this,e),this.name="Render",this.recordRun=false,this.recordedRun=[];}return UE(e,[{key:"set",value:function(t){t.compiled&&(this.compiled=t.compiled),t.data!=null&&(this.data=t.data);}},{key:"optionsTransformer",value:function(t,n){return this.docxtemplater=n,this.brTag=n.fileType==="docx"?"<w:r><w:br/></w:r>":"<a:br/>",this.prefix=JE[n.fileType],this.runStartTag="".concat(this.prefix,":r"),this.runPropsStartTag="".concat(this.prefix,":rPr"),t}},{key:"postparse",value:function(t,n){for(var o=[],u=0;u<t.length;u++){var s=t[u];if(s.type==="placeholder"){var c=s.value;try{n.cachedParsers[s.lIndex]=this.docxtemplater.parser(c,{tag:s});}catch(f){o.push(VE({tag:c,rootError:f,offset:s.offset}));}}}return {postparsed:t,errors:o}}},{key:"getRenderedMap",value:function(t){for(var n in this.compiled)t[n]={from:n,data:this.data};return t}},{key:"render",value:function(t,n){var o=n.contentType,u=n.scopeManager,s=n.linebreaks,c=n.nullGetter,f=n.fileType,h=n.stripInvalidXMLChars;if(QE.indexOf(o)!==-1&&(s=false),s&&this.recordRuns(t),!(t.type!=="placeholder"||t.module)){var p;try{p=u.getValue(t.value,{part:t});}catch(y){return {errors:[y]}}if(p??(p=c(t)),typeof p=="string"){if(h)p=ZE(p);else if(["docx","pptx","xlsx"].indexOf(f)!==-1&&HE(p))return {errors:[XE({tag:t.value,value:p,offset:t.offset})]}}return f==="text"?{value:p}:{value:s&&typeof p=="string"?this.renderLineBreaks(p):Xf(p)}}}},{key:"recordRuns",value:function(t){t.tag===this.runStartTag?this.recordedRun="":t.tag===this.runPropsStartTag?(t.position==="start"&&(this.recordRun=true,this.recordedRun+=t.value),(t.position==="end"||t.position==="selfclosing")&&(this.recordedRun+=t.value,this.recordRun=false)):this.recordRun&&(this.recordedRun+=t.value);}},{key:"renderLineBreaks",value:function(t){for(var n=[],o=t.split(`
19
19
  `),u=0,s=o.length;u<s;u++)n.push(Xf(o[u])),u<o.length-1&&n.push("</".concat(this.prefix,":t></").concat(this.prefix,":r>").concat(this.brTag,"<").concat(this.prefix,":r>").concat(this.recordedRun,"<").concat(this.prefix,":t").concat(this.docxtemplater.fileType==="docx"?' xml:space="preserve"':"",">"));return n}}])})();Zf.exports=function(){return jE(new $E)};});var $f=b((Q1,Jf)=>{var Yf=Df(),eb=Of(),Wf=kf(),Kf=jf(),Qf=Gf();function rb(){return {getTemplatedFiles:function(){return []},templatedNs:["http://schemas.microsoft.com/office/2006/coverPageProps"],textPath:function(r){return r.textTarget},tagsXmlTextArray:["Company","HyperlinkBase","Manager","cp:category","cp:keywords","dc:creator","dc:description","dc:subject","dc:title","cp:contentStatus","PublishDate","Abstract","CompanyAddress","CompanyPhone","CompanyFax","CompanyEmail","w:t","a:t","m:t","vt:lpstr","vt:lpwstr"],tagsXmlLexedArray:["w:proofState","w:tc","w:tr","w:tbl","w:ftr","w:hdr","w:body","w:document","w:p","w:r","w:br","w:rPr","w:pPr","w:spacing","w:sdtContent","w:sdt","w:drawing","w:sectPr","w:type","w:headerReference","w:footerReference","w:bookmarkStart","w:bookmarkEnd","w:commentRangeStart","w:commentRangeEnd","w:commentReference"],droppedTagsInsidePlaceholder:["w:p","w:br","w:bookmarkStart","w:bookmarkEnd"],expandTags:[{contains:"w:tc",expand:"w:tr"}],onParagraphLoop:[{contains:"w:p",expand:"w:p",onlyTextInTag:true}],tagRawXml:"w:p",baseModules:[Yf,eb,Kf,Wf,Qf],tagShouldContain:[{tag:"w:sdtContent",shouldContain:["w:p","w:r","w:commentRangeStart","w:sdt"],value:"<w:p></w:p>"},{tag:"w:tc",shouldContain:["w:p"],value:"<w:p></w:p>"},{tag:"w:tr",shouldContain:["w:tc"],drop:true},{tag:"w:tbl",shouldContain:["w:tr"],drop:true}]}}function tb(){return {getTemplatedFiles:function(){return []},textPath:function(r){return r.textTarget},tagsXmlTextArray:["Company","HyperlinkBase","Manager","cp:category","cp:keywords","dc:creator","dc:description","dc:subject","dc:title","a:t","m:t","vt:lpstr","vt:lpwstr"],tagsXmlLexedArray:["p:sp","a:tc","a:tr","a:tbl","a:graphicData","a:p","a:r","a:rPr","p:txBody","a:txBody","a:off","a:ext","p:graphicFrame","p:xfrm","a16:rowId","a:endParaRPr"],droppedTagsInsidePlaceholder:["a:p","a:endParaRPr"],expandTags:[{contains:"a:tc",expand:"a:tr"}],onParagraphLoop:[{contains:"a:p",expand:"a:p",onlyTextInTag:true}],tagRawXml:"p:sp",baseModules:[Yf,Kf,Wf,Qf],tagShouldContain:[{tag:"a:tbl",shouldContain:["a:tr"],dropParent:"p:graphicFrame"},{tag:"p:txBody",shouldContain:["a:p"],value:"<a:p></a:p>"},{tag:"a:txBody",shouldContain:["a:p"],value:"<a:p></a:p>"}]}}Jf.exports={docx:rb,pptx:tb};});var yp=b((J1,qo)=>{var nb=["modules"];function ep(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n);}return t}function fr(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ep(Object(t),true).forEach(function(n){ab(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ep(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function ab(e,r,t){return (r=lp(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function rp(e,r){return sb(e)||ub(e,r)||ob(e,r)||ib()}function ib(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
20
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ob(e,r){if(e){if(typeof e=="string")return tp(e,r);var t={}.toString.call(e).slice(8,-1);return t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set"?Array.from(e):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?tp(e,r):void 0}}function tp(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function ub(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,o,u,s,c=[],f=true,h=false;try{if(u=(t=t.call(e)).next,r===0){if(Object(t)!==t)return;f=!1;}else for(;!(f=(n=u.call(t)).done)&&(c.push(n.value),c.length!==r);f=!0);}catch(p){h=true,o=p;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(h)throw o}}return c}}function sb(e){if(Array.isArray(e))return e}function Rt(e){"@babel/helpers - typeof";return Rt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Rt(e)}function lb(e,r){if(e==null)return {};var t,n,o=cb(e,r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n<u.length;n++)t=u[n],r.indexOf(t)===-1&&{}.propertyIsEnumerable.call(e,t)&&(o[t]=e[t]);}return o}function cb(e,r){if(e==null)return {};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n];}return t}function fb(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function np(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(e,lp(n.key),n);}}function pb(e,r,t){return r&&np(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function lp(e){var r=hb(e,"string");return Rt(r)=="symbol"?r:r+""}function hb(e,r){if(Rt(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Rt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}var Be=be(),De=Ul(),db=De.object({allowUnopenedTag:De.boolean().optional(),allowUnclosedTag:De.boolean().optional(),allowUnbalancedLoops:De.boolean().optional(),changeDelimiterPrefix:De.string().optional().nullable()}),gb=De.object({delimiters:De.object({start:De.string().nullable(),end:De.string().nullable()}).strict().optional(),fileTypeConfig:De.object({}).optional(),paragraphLoop:De.boolean().optional(),parser:De.function().optional(),errorLogging:De.union([De.boolean(),De.string()]).optional(),linebreaks:De.boolean().optional(),nullGetter:De.function().optional(),syntax:db.optional(),stripInvalidXMLChars:De.boolean().optional(),warnFn:De.function().optional()}).strict(),mb=zl(),cp=mb.getRelsTypes,fp=Xl(),pp=fp.collectContentTypes,hp=fp.getContentTypes,dp=Pr(),vb=Xa(),yb=oc(),Eb=hc(),ap=go(),bb=Cc(),Fo=bb.getTags,gp=Sc(),yr=Ye(),mp=yr.throwMultiError,xb=yr.throwResolveBeforeCompile,wb=yr.throwRenderInvalidTemplate,Db=yr.throwRenderTwice,Qn=yr.XTInternalError,Ab=yr.XTTemplateError,Tb=yr.throwFileTypeNotIdentified,Cb=yr.throwFileTypeNotHandled,Qa=yr.throwApiVersionError;Be.getRelsTypes=cp;Be.traits=vb;Be.moduleWrapper=dp;Be.collectContentTypes=pp;Be.getContentTypes=hp;var ip=Be.getDefaults,_b=Be.str2xml,Sb=Be.xml2str,Uo=Be.concatArrays,op=Be.uniq,Ob=Be.getDuplicates,Nb=Be.stableSort,Lo=Be.pushArray,up=Be.utf8ToWord,Ib=Be.invertMap,Bb="[Content_Types].xml",Pb="_rels/.rels",pr=[3,47,2];function Rb(e){var r=Ob(e.map(function(t){var n=t.name;return n}));if(r.length>0)throw new Qn('Detected duplicate module "'.concat(r[0],'"'))}function kb(e){for(var r=0,t=e.modules;r<t.length;r++)for(var n=t[r],o=0,u=n.xmlContentTypes||[];o<u.length;o++)for(var s=u[o],c=e.invertedContentTypes[s]||[],f=0;f<c.length;f++){var h=c[f];e.zip.files[h]&&e.options.xmlFileNames.push(h);}}function Fb(e){return Nb(e,function(r,t){return (t.priority||0)-(r.priority||0)})}function Kn(e){var r=[];for(var t in e)r.push(t);for(var n=[Bb,Pb],o=["word/","xl/","ppt/"],u=0;u<r.length;u++)for(var s=r[u],c=0;c<o.length;c++){var f=o[c];s.indexOf("".concat(f))===0&&n.push(s);}for(var h=0;h<r.length;h++){var p=r[h];n.indexOf(p)===-1&&n.push(p);}return n}function vp(e,r){e.hideDeprecations!==true&&console.warn(r);}function Pt(e,r){if(e.hideDeprecations!==true)return vp(e,'Deprecated method ".'.concat(r,'", view upgrade guide : https://docxtemplater.com/docs/api/#upgrade-guide, stack : ').concat(new Error().stack))}function Mo(e){e.modules=e.modules.filter(function(r){if(!r.supportedFileTypes)return true;if(!Array.isArray(r.supportedFileTypes))throw new Error("The supportedFileTypes field of the module must be an array");var t=r.supportedFileTypes.includes(e.fileType);return t||r.on("detached"),t});}function sp(e){var r=e.compiled;e.errors=Uo(Object.keys(r).map(function(t){return r[t].allErrors})),e.errors.length!==0&&(e.options.errorLogging&&gp(e.errors,e.options.errorLogging),mp(e.errors));}function Lb(e){return typeof Buffer<"u"&&typeof Buffer.isBuffer=="function"&&Buffer.isBuffer(e)}var tt=(function(){function e(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.modules,o=n===void 0?[]:n,u=lb(t,nb);if(fb(this,e),this.targets=[],this.rendered=false,this.scopeManagers={},this.compiled={},this.modules=[yb()],this.xmlDocuments={},arguments.length===0)vp(this,"Deprecated docxtemplater constructor with no arguments, view upgrade guide : https://docxtemplater.com/docs/api/#upgrade-guide, stack : ".concat(new Error().stack)),this.hideDeprecations=true,this.setOptions(u);else {if(this.hideDeprecations=true,this.setOptions(u),Lb(r))throw new Error("You passed a Buffer to the Docxtemplater constructor. The first argument of docxtemplater's constructor must be a valid zip file (jszip v2 or pizzip v3)");if(!r||!r.files||typeof r.file!="function")throw new Error("The first argument of docxtemplater's constructor must be a valid zip file (jszip v2 or pizzip v3)");if(!Array.isArray(o))throw new Error("The modules argument of docxtemplater's constructor must be an array");for(var s=0;s<o.length;s++){var c=o[s];this.attachModule(c);}this.loadZip(r),this.compile(),this.v4Constructor=true;}this.hideDeprecations=false;}return pb(e,[{key:"verifyApiVersion",value:function(t){return t=t.split(".").map(function(n){return parseInt(n,10)}),t.length!==3&&Qa("neededVersion is not a valid version",{neededVersion:t,explanation:"the neededVersion must be an array of length 3"}),t[0]!==pr[0]&&Qa("The major api version do not match, you probably have to update docxtemplater with npm install --save docxtemplater",{neededVersion:t,currentModuleApiVersion:pr,explanation:"moduleAPIVersionMismatch : needed=".concat(t.join("."),", current=").concat(pr.join("."))}),t[1]>pr[1]&&Qa("The minor api version is not uptodate, you probably have to update docxtemplater with npm install --save docxtemplater",{neededVersion:t,currentModuleApiVersion:pr,explanation:"moduleAPIVersionMismatch : needed=".concat(t.join("."),", current=").concat(pr.join("."))}),t[1]===pr[1]&&t[2]>pr[2]&&Qa("The patch api version is not uptodate, you probably have to update docxtemplater with npm install --save docxtemplater",{neededVersion:t,currentModuleApiVersion:pr,explanation:"moduleAPIVersionMismatch : needed=".concat(t.join("."),", current=").concat(pr.join("."))}),true}},{key:"setModules",value:function(t){for(var n=0,o=this.modules;n<o.length;n++){var u=o[n];u.set(t);}}},{key:"sendEvent",value:function(t){for(var n=0,o=this.modules;n<o.length;n++){var u=o[n];u.on(t);}}},{key:"attachModule",value:function(t){if(this.v4Constructor)throw new Qn("attachModule() should not be called manually when using the v4 constructor");Pt(this,"attachModule");var n=Rt(t);if(n==="function")throw new Qn("Cannot attach a class/function as a module. Most probably you forgot to instantiate the module by using `new` on the module.");if(!t||n!=="object")throw new Qn("Cannot attachModule with a falsy value");if(t.requiredAPIVersion&&this.verifyApiVersion(t.requiredAPIVersion),t.attached===true)if(typeof t.clone=="function")t=t.clone();else throw new Error('Cannot attach a module that was already attached : "'.concat(t.name,'". The most likely cause is that you are instantiating the module at the root level, and using it for multiple instances of Docxtemplater'));t.attached=true;var o=dp(t);return this.modules.push(o),o.on("attached"),this.fileType&&Mo(this),this}},{key:"findModule",value:function(t){for(var n=0,o=this.modules;n<o.length;n++){var u=o[n];if(u.name===t)return u}}},{key:"setOptions",value:function(t){var n,o;if(this.v4Constructor)throw new Error("setOptions() should not be called manually when using the v4 constructor");if(!t)throw new Error("setOptions should be called with an object as first parameter");var u=gb.validate(t);if(u.success===false)throw new Error(u.error);Pt(this,"setOptions"),this.options={};var s=ip();for(var c in s){var f=s[c];this.options[c]=t[c]!=null?t[c]:this[c]||f,this[c]=this.options[c];}return (n=this.delimiters).start&&(n.start=up(this.delimiters.start)),(o=this.delimiters).end&&(o.end=up(this.delimiters.end)),this}},{key:"loadZip",value:function(t){if(this.v4Constructor)throw new Error("loadZip() should not be called manually when using the v4 constructor");if(Pt(this,"loadZip"),t.loadAsync)throw new Qn("Docxtemplater doesn't handle JSZip version >=3, please use pizzip");t.xtRendered&&this.options.warnFn([new Error("This zip file appears to be the outcome of a previous docxtemplater generation. This typically indicates that docxtemplater was integrated by reusing the same zip file. It is recommended to create a new Pizzip instance for each docxtemplater generation.")]),this.zip=t,this.updateFileTypeConfig(),this.modules=Uo([this.fileTypeConfig.baseModules.map(function(s){return s()}),this.modules]);for(var n=0,o=this.modules;n<o.length;n++){var u=o[n];u.zip=this.zip,u.docxtemplater=this,u.fileTypeConfig=this.fileTypeConfig,u.fileType=this.fileType,u.xtOptions=this.options,u.modules=this.modules;}return Mo(this),this}},{key:"precompileFile",value:function(t){var n=this.createTemplateClass(t);n.preparse(),this.compiled[t]=n;}},{key:"compileFile",value:function(t){this.compiled[t].parse();}},{key:"getScopeManager",value:function(t,n,o){var u;return (u=this.scopeManagers)[t]||(u[t]=Eb({tags:o,parser:this.parser,cachedParsers:n.cachedParsers})),this.scopeManagers[t]}},{key:"resolveData",value:function(t){var n=this;Pt(this,"resolveData");var o=[];return Object.keys(this.compiled).length||xb(),Promise.resolve(t).then(function(u){return n.data=u,n.setModules({data:n.data,Lexer:ap}),n.mapper=n.modules.reduce(function(s,c){return c.getRenderedMap(s)},{}),Promise.all(Object.keys(n.mapper).map(function(s){var c=n.mapper[s],f=c.from,h=c.data;return Promise.resolve(h).then(function(p){var y=n.compiled[f];return y.filePath=s,y.scopeManager=n.getScopeManager(s,y,p),y.resolveTags(p).then(function(b){return y.scopeManager.finishedResolving=true,b},function(b){Lo(o,b);})})})).then(function(s){return o.length!==0&&(n.options.errorLogging&&gp(o,n.options.errorLogging),mp(o)),Uo(s)})})}},{key:"compile",value:function(){if(Pt(this,"compile"),this.updateFileTypeConfig(),Rb(this.modules),this.modules=Fb(this.modules),Object.keys(this.compiled).length)return this;for(var t=this.options,n=0,o=this.modules;n<o.length;n++){var u=o[n];t=u.optionsTransformer(t,this);}this.options=t,this.options.xmlFileNames=op(this.options.xmlFileNames);for(var s=0,c=this.options.xmlFileNames;s<c.length;s++){var f=c[s],h=this.zip.files[f].asText();this.xmlDocuments[f]=_b(h);}this.setModules({zip:this.zip,xmlDocuments:this.xmlDocuments});for(var p=0,y=this.modules;p<y.length;p++){var b=y[p];b.xmlDocuments=this.xmlDocuments;}this.getTemplatedFiles(),this.sendEvent("before-preparse");for(var w=0,T=this.templatedFiles;w<T.length;w++){var C=T[w];this.zip.files[C]!=null&&this.precompileFile(C);}this.sendEvent("after-preparse");for(var O=0,P=this.templatedFiles;O<P.length;O++){var R=P[O];this.zip.files[R]!=null&&this.compiled[R].parse({noPostParse:true});}this.sendEvent("after-parse");for(var S=0,k=this.templatedFiles;S<k.length;S++){var q=k[S];this.zip.files[q]!=null&&this.compiled[q].postparse();}return this.sendEvent("after-postparse"),this.setModules({compiled:this.compiled}),sp(this),this}},{key:"updateFileTypeConfig",value:function(){this.relsTypes=cp(this.zip);var t=hp(this.zip),n=t.overrides,o=t.defaults,u=t.contentTypes,s=t.contentTypeXml;s&&(this.filesContentTypes=pp(n,o,this.zip),this.invertedContentTypes=Ib(this.filesContentTypes),this.setModules({contentTypes:this.contentTypes,invertedContentTypes:this.invertedContentTypes}));var c;this.zip.files.mimetype&&(c="odt");for(var f=0,h=this.modules;f<h.length;f++){var p=h[f];c=p.getFileType({zip:this.zip,contentTypes:u,contentTypeXml:s,overrides:n,defaults:o,doc:this})||c;}if(this.fileType=c,c==="odt"&&Cb(c),c||Tb(this.zip),kb(this),Mo(this),this.fileTypeConfig=this.options.fileTypeConfig||this.fileTypeConfig,!this.fileTypeConfig)if(e.FileTypeConfig[this.fileType])this.fileTypeConfig=e.FileTypeConfig[this.fileType]();else {var y='Filetype "'.concat(this.fileType,'" is not supported'),b="filetype_not_supported";this.fileType==="xlsx"&&(y='Filetype "'.concat(this.fileType,'" is supported only with the paid XlsxModule'),b="xlsx_filetype_needs_xlsx_module");var w=new Ab(y);throw w.properties={id:b,explanation:y},w}return this}},{key:"renderAsync",value:function(t){var n=this;this.hideDeprecations=true;var o=this.resolveData(t);return this.hideDeprecations=false,this.zip.xtRendered=true,o.then(function(){return n.render()})}},{key:"render",value:function(t){this.zip.xtRendered=true,this.rendered&&Db(),this.rendered=true,Object.keys(this.compiled).length===0&&this.compile(),this.errors.length>0&&wb(),arguments.length>0&&(this.data=t),this.setModules({data:this.data,Lexer:ap}),this.mapper||(this.mapper=this.modules.reduce(function(V,G){return G.getRenderedMap(V)},{}));var n=[];for(var o in this.mapper){var u=this.mapper[o],s=u.from,c=u.data,f=this.compiled[s];f.scopeManager=this.getScopeManager(o,f,c),f.render(o),n.push([o,f.content,f]),delete f.content;}for(var h=0;h<n.length;h++)for(var p=n[h],y=rp(p,3),b=y[1],w=y[2],T=0,C=this.modules;T<C.length;T++){var O=C[T];if(O.preZip){var P=O.preZip(b,w);typeof P=="string"&&(p[1]=P);}}for(var R=0;R<n.length;R++){var S=rp(n[R],2),k=S[0],q=S[1];this.zip.file(k,q,{createFolders:true});}return sp(this),this.sendEvent("syncing-zip"),this.syncZip(),this.sendEvent("synced-zip"),this}},{key:"syncZip",value:function(){for(var t in this.xmlDocuments){this.zip.remove(t);var n=Sb(this.xmlDocuments[t]);this.zip.file(t,n,{createFolders:true});}}},{key:"setData",value:function(t){return Pt(this,"setData"),this.data=t,this}},{key:"getZip",value:function(){return this.zip}},{key:"createTemplateClass",value:function(t){var n=this.zip.files[t].asText();return this.createTemplateClassFromContent(n,t)}},{key:"createTemplateClassFromContent",value:function(t,n){for(var o={filePath:n,contentType:this.filesContentTypes[n],relsType:this.relsTypes[n]},u=ip(),s=Lo(Object.keys(u),["filesContentTypes","fileTypeConfig","fileType","modules"]),c=0;c<s.length;c++){var f=s[c];o[f]=this[f];}return new e.XmlTemplater(t,o)}},{key:"getFullText",value:function(t){return this.createTemplateClass(t||this.fileTypeConfig.textPath(this)).getFullText()}},{key:"getTemplatedFiles",value:function(){this.templatedFiles=this.fileTypeConfig.getTemplatedFiles(this.zip),Lo(this.templatedFiles,this.targets);var t=this.fileTypeConfig.templatedNs||[];if(t.length>0){for(var n in this.filesContentTypes)if(/^customXml\/item\d+\.xml$/.test(n))for(var o=0;o<t.length;o++){var u=t[o],s=this.zip.file(n).asText();s.indexOf('xmlns="'.concat(u,'"'))!==-1&&this.templatedFiles.push(n);}}return this.templatedFiles=op(this.templatedFiles),this.templatedFiles}},{key:"getTags",value:function(){var t={headers:[],footers:[]};for(var n in this.compiled){var o=this.filesContentTypes[n];o==="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"&&(t.document={target:n,tags:Fo(this.compiled[n].postparsed)}),o==="application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml"&&t.headers.push({target:n,tags:Fo(this.compiled[n].postparsed)}),o==="application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml"&&t.footers.push({target:n,tags:Fo(this.compiled[n].postparsed)});}return t}},{key:"toBuffer",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"nodebuffer"}))}},{key:"toBlob",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"blob"}))}},{key:"toBase64",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"base64"}))}},{key:"toUint8Array",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"uint8array"}))}},{key:"toArrayBuffer",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"arraybuffer"}))}}])})();tt.DocUtils=Be;tt.Errors=Ye();tt.XmlTemplater=sf();tt.FileTypeConfig=$f();tt.XmlMatcher=yo();qo.exports=tt;qo.exports.default=tt;});var kt=c(ps(),1),Ft=c(yp(),1);function zo(e,r,t={}){return Mb(e,r,t).buffer}function Mb(e,r,t={}){let{nullGetter:n="keep",linebreaks:o=true,delimiters:u}=t,s=[],c=[],f=[];try{let h=new kt.default(e),p=new Ft.default(h,{paragraphLoop:!0,linebreaks:o,nullGetter:b=>{let w=b.value||"";if(n==="error")throw new Error(`Undefined variable: ${w}`);return n==="empty"?(f.push(w),""):(f.push(w),`{${w}}`)},delimiters:u?{start:u.start||"{",end:u.end||"}"}:void 0});return Object.keys(r).forEach(b=>{r[b]!==void 0&&r[b]!==null&&c.push(b);}),p.setData(r),p.render(),{buffer:p.getZip().generate({type:"arraybuffer",compression:"DEFLATE",compressionOptions:{level:6}}),replacedVariables:c,unreplacedVariables:f,warnings:s}}catch(h){throw Jn(h)}}function Ub(e,r,t={}){let n=zo(e,r,t);return new Blob([n],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"})}function $1(e,r,t="document",n={}){let o=Ub(e,r,n);jb(o,`${t}.docx`);}function ex(e){try{let r=new kt.default(e),n=new Ft.default(r,{paragraphLoop:!0,linebreaks:!0}).getFullText();return Ep(n)}catch(r){throw Jn(r)}}function rx(e){let r=[],t=[];try{let n=new kt.default(e),u=new Ft.default(n,{paragraphLoop:!0,linebreaks:!0}).getFullText();t=Ep(u);let s=qb(u);for(let c of s)r.push({message:`Unclosed tag: ${c}`,variable:c,type:"parse"});return {valid:r.length===0,errors:r,tags:t}}catch(n){return r.push(Jn(n)),{valid:false,errors:r,tags:t}}}function tx(e,r){return e.filter(t=>!(t in r)||r[t]===void 0||r[t]===null)}function nx(e,r){try{let t=new kt.default(e),n=new Ft.default(t,{paragraphLoop:!0,linebreaks:!0,nullGetter:o=>`[${o.value||""}]`});return n.setData(r),n.render(),n.getFullText()}catch(t){throw Jn(t)}}function Ep(e){let r=[],t=/\{([^{}]+)\}/g,n;for(;(n=t.exec(e))!==null;){let o=n[1].trim();o&&!r.includes(o)&&r.push(o);}return r.sort()}function qb(e){let r=[],t=0,n="";for(let o of e)o==="{"?(t++,n=""):o==="}"?(t--,t<0&&(t=0)):t>0&&(n+=o);return t>0&&n.trim()&&r.push(n.trim()),r}function zb(e){return "properties"in e&&typeof e.properties=="object"}function Jn(e){if(e instanceof Error){if(zb(e)&&e.properties?.errors){let r=e.properties.errors[0];return {message:r?.message||"Template processing error",variable:r?.properties?.tag,type:"render",originalError:e}}if(e.message.includes("undefined")){let r=e.message.match(/undefined (?:variable|tag):\s*(\S+)/i);return {message:e.message,variable:r?r[1]:void 0,type:"undefined",originalError:e}}return e.message.includes("parse")||e.message.includes("unclosed")||e.message.includes("syntax")?{message:e.message,type:"parse",originalError:e}:{message:e.message,type:"unknown",originalError:e}}return {message:String(e),type:"unknown"}}function jb(e,r){let t=URL.createObjectURL(e),n=document.createElement("a");n.href=t,n.download=r,document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(t);}function ax(e,r,t={}){let{linebreaks:n=true,delimiters:o}=t;try{let u=new kt.default(e),s=new Ft.default(u,{paragraphLoop:!0,linebreaks:n,delimiters:o?{start:o.start||"{",end:o.end||"}"}:void 0});return s.setData(r),s.render(),s.getZip().generate({type:"arraybuffer",compression:"DEFLATE"})}catch(u){throw Jn(u)}}function ix(e={}){return (r,t)=>zo(r,t,e)}var ox=zo;/*! Bundled license information:
20
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ob(e,r){if(e){if(typeof e=="string")return tp(e,r);var t={}.toString.call(e).slice(8,-1);return t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set"?Array.from(e):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?tp(e,r):void 0}}function tp(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function ub(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,o,u,s,c=[],f=true,h=false;try{if(u=(t=t.call(e)).next,r===0){if(Object(t)!==t)return;f=!1;}else for(;!(f=(n=u.call(t)).done)&&(c.push(n.value),c.length!==r);f=!0);}catch(p){h=true,o=p;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(h)throw o}}return c}}function sb(e){if(Array.isArray(e))return e}function Rt(e){"@babel/helpers - typeof";return Rt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Rt(e)}function lb(e,r){if(e==null)return {};var t,n,o=cb(e,r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n<u.length;n++)t=u[n],r.indexOf(t)===-1&&{}.propertyIsEnumerable.call(e,t)&&(o[t]=e[t]);}return o}function cb(e,r){if(e==null)return {};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n];}return t}function fb(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function np(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(e,lp(n.key),n);}}function pb(e,r,t){return r&&np(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function lp(e){var r=hb(e,"string");return Rt(r)=="symbol"?r:r+""}function hb(e,r){if(Rt(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Rt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}var Be=be(),De=Ul(),db=De.object({allowUnopenedTag:De.boolean().optional(),allowUnclosedTag:De.boolean().optional(),allowUnbalancedLoops:De.boolean().optional(),changeDelimiterPrefix:De.string().optional().nullable()}),gb=De.object({delimiters:De.object({start:De.string().nullable(),end:De.string().nullable()}).strict().optional(),fileTypeConfig:De.object({}).optional(),paragraphLoop:De.boolean().optional(),parser:De.function().optional(),errorLogging:De.union([De.boolean(),De.string()]).optional(),linebreaks:De.boolean().optional(),nullGetter:De.function().optional(),syntax:db.optional(),stripInvalidXMLChars:De.boolean().optional(),warnFn:De.function().optional()}).strict(),mb=zl(),cp=mb.getRelsTypes,fp=Xl(),pp=fp.collectContentTypes,hp=fp.getContentTypes,dp=Pr(),vb=Xa(),yb=oc(),Eb=hc(),ap=go(),bb=Cc(),Fo=bb.getTags,gp=Sc(),yr=Ye(),mp=yr.throwMultiError,xb=yr.throwResolveBeforeCompile,wb=yr.throwRenderInvalidTemplate,Db=yr.throwRenderTwice,Qn=yr.XTInternalError,Ab=yr.XTTemplateError,Tb=yr.throwFileTypeNotIdentified,Cb=yr.throwFileTypeNotHandled,Qa=yr.throwApiVersionError;Be.getRelsTypes=cp;Be.traits=vb;Be.moduleWrapper=dp;Be.collectContentTypes=pp;Be.getContentTypes=hp;var ip=Be.getDefaults,_b=Be.str2xml,Sb=Be.xml2str,Uo=Be.concatArrays,op=Be.uniq,Ob=Be.getDuplicates,Nb=Be.stableSort,Lo=Be.pushArray,up=Be.utf8ToWord,Ib=Be.invertMap,Bb="[Content_Types].xml",Pb="_rels/.rels",pr=[3,47,2];function Rb(e){var r=Ob(e.map(function(t){var n=t.name;return n}));if(r.length>0)throw new Qn('Detected duplicate module "'.concat(r[0],'"'))}function kb(e){for(var r=0,t=e.modules;r<t.length;r++)for(var n=t[r],o=0,u=n.xmlContentTypes||[];o<u.length;o++)for(var s=u[o],c=e.invertedContentTypes[s]||[],f=0;f<c.length;f++){var h=c[f];e.zip.files[h]&&e.options.xmlFileNames.push(h);}}function Fb(e){return Nb(e,function(r,t){return (t.priority||0)-(r.priority||0)})}function Kn(e){var r=[];for(var t in e)r.push(t);for(var n=[Bb,Pb],o=["word/","xl/","ppt/"],u=0;u<r.length;u++)for(var s=r[u],c=0;c<o.length;c++){var f=o[c];s.indexOf("".concat(f))===0&&n.push(s);}for(var h=0;h<r.length;h++){var p=r[h];n.indexOf(p)===-1&&n.push(p);}return n}function vp(e,r){e.hideDeprecations!==true&&console.warn(r);}function Pt(e,r){if(e.hideDeprecations!==true)return vp(e,'Deprecated method ".'.concat(r,'", view upgrade guide : https://docxtemplater.com/docs/api/#upgrade-guide, stack : ').concat(new Error().stack))}function Mo(e){e.modules=e.modules.filter(function(r){if(!r.supportedFileTypes)return true;if(!Array.isArray(r.supportedFileTypes))throw new Error("The supportedFileTypes field of the module must be an array");var t=r.supportedFileTypes.includes(e.fileType);return t||r.on("detached"),t});}function sp(e){var r=e.compiled;e.errors=Uo(Object.keys(r).map(function(t){return r[t].allErrors})),e.errors.length!==0&&(e.options.errorLogging&&gp(e.errors,e.options.errorLogging),mp(e.errors));}function Lb(e){return typeof Buffer<"u"&&typeof Buffer.isBuffer=="function"&&Buffer.isBuffer(e)}var tt=(function(){function e(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.modules,o=n===void 0?[]:n,u=lb(t,nb);if(fb(this,e),this.targets=[],this.rendered=false,this.scopeManagers={},this.compiled={},this.modules=[yb()],this.xmlDocuments={},arguments.length===0)vp(this,"Deprecated docxtemplater constructor with no arguments, view upgrade guide : https://docxtemplater.com/docs/api/#upgrade-guide, stack : ".concat(new Error().stack)),this.hideDeprecations=true,this.setOptions(u);else {if(this.hideDeprecations=true,this.setOptions(u),Lb(r))throw new Error("You passed a Buffer to the Docxtemplater constructor. The first argument of docxtemplater's constructor must be a valid zip file (jszip v2 or pizzip v3)");if(!r||!r.files||typeof r.file!="function")throw new Error("The first argument of docxtemplater's constructor must be a valid zip file (jszip v2 or pizzip v3)");if(!Array.isArray(o))throw new Error("The modules argument of docxtemplater's constructor must be an array");for(var s=0;s<o.length;s++){var c=o[s];this.attachModule(c);}this.loadZip(r),this.compile(),this.v4Constructor=true;}this.hideDeprecations=false;}return pb(e,[{key:"verifyApiVersion",value:function(t){return t=t.split(".").map(function(n){return parseInt(n,10)}),t.length!==3&&Qa("neededVersion is not a valid version",{neededVersion:t,explanation:"the neededVersion must be an array of length 3"}),t[0]!==pr[0]&&Qa("The major api version do not match, you probably have to update docxtemplater with npm install --save docxtemplater",{neededVersion:t,currentModuleApiVersion:pr,explanation:"moduleAPIVersionMismatch : needed=".concat(t.join("."),", current=").concat(pr.join("."))}),t[1]>pr[1]&&Qa("The minor api version is not uptodate, you probably have to update docxtemplater with npm install --save docxtemplater",{neededVersion:t,currentModuleApiVersion:pr,explanation:"moduleAPIVersionMismatch : needed=".concat(t.join("."),", current=").concat(pr.join("."))}),t[1]===pr[1]&&t[2]>pr[2]&&Qa("The patch api version is not uptodate, you probably have to update docxtemplater with npm install --save docxtemplater",{neededVersion:t,currentModuleApiVersion:pr,explanation:"moduleAPIVersionMismatch : needed=".concat(t.join("."),", current=").concat(pr.join("."))}),true}},{key:"setModules",value:function(t){for(var n=0,o=this.modules;n<o.length;n++){var u=o[n];u.set(t);}}},{key:"sendEvent",value:function(t){for(var n=0,o=this.modules;n<o.length;n++){var u=o[n];u.on(t);}}},{key:"attachModule",value:function(t){if(this.v4Constructor)throw new Qn("attachModule() should not be called manually when using the v4 constructor");Pt(this,"attachModule");var n=Rt(t);if(n==="function")throw new Qn("Cannot attach a class/function as a module. Most probably you forgot to instantiate the module by using `new` on the module.");if(!t||n!=="object")throw new Qn("Cannot attachModule with a falsy value");if(t.requiredAPIVersion&&this.verifyApiVersion(t.requiredAPIVersion),t.attached===true)if(typeof t.clone=="function")t=t.clone();else throw new Error('Cannot attach a module that was already attached : "'.concat(t.name,'". The most likely cause is that you are instantiating the module at the root level, and using it for multiple instances of Docxtemplater'));t.attached=true;var o=dp(t);return this.modules.push(o),o.on("attached"),this.fileType&&Mo(this),this}},{key:"findModule",value:function(t){for(var n=0,o=this.modules;n<o.length;n++){var u=o[n];if(u.name===t)return u}}},{key:"setOptions",value:function(t){var n,o;if(this.v4Constructor)throw new Error("setOptions() should not be called manually when using the v4 constructor");if(!t)throw new Error("setOptions should be called with an object as first parameter");var u=gb.validate(t);if(u.success===false)throw new Error(u.error);Pt(this,"setOptions"),this.options={};var s=ip();for(var c in s){var f=s[c];this.options[c]=t[c]!=null?t[c]:this[c]||f,this[c]=this.options[c];}return (n=this.delimiters).start&&(n.start=up(this.delimiters.start)),(o=this.delimiters).end&&(o.end=up(this.delimiters.end)),this}},{key:"loadZip",value:function(t){if(this.v4Constructor)throw new Error("loadZip() should not be called manually when using the v4 constructor");if(Pt(this,"loadZip"),t.loadAsync)throw new Qn("Docxtemplater doesn't handle JSZip version >=3, please use pizzip");t.xtRendered&&this.options.warnFn([new Error("This zip file appears to be the outcome of a previous docxtemplater generation. This typically indicates that docxtemplater was integrated by reusing the same zip file. It is recommended to create a new Pizzip instance for each docxtemplater generation.")]),this.zip=t,this.updateFileTypeConfig(),this.modules=Uo([this.fileTypeConfig.baseModules.map(function(s){return s()}),this.modules]);for(var n=0,o=this.modules;n<o.length;n++){var u=o[n];u.zip=this.zip,u.docxtemplater=this,u.fileTypeConfig=this.fileTypeConfig,u.fileType=this.fileType,u.xtOptions=this.options,u.modules=this.modules;}return Mo(this),this}},{key:"precompileFile",value:function(t){var n=this.createTemplateClass(t);n.preparse(),this.compiled[t]=n;}},{key:"compileFile",value:function(t){this.compiled[t].parse();}},{key:"getScopeManager",value:function(t,n,o){var u;return (u=this.scopeManagers)[t]||(u[t]=Eb({tags:o,parser:this.parser,cachedParsers:n.cachedParsers})),this.scopeManagers[t]}},{key:"resolveData",value:function(t){var n=this;Pt(this,"resolveData");var o=[];return Object.keys(this.compiled).length||xb(),Promise.resolve(t).then(function(u){return n.data=u,n.setModules({data:n.data,Lexer:ap}),n.mapper=n.modules.reduce(function(s,c){return c.getRenderedMap(s)},{}),Promise.all(Object.keys(n.mapper).map(function(s){var c=n.mapper[s],f=c.from,h=c.data;return Promise.resolve(h).then(function(p){var y=n.compiled[f];return y.filePath=s,y.scopeManager=n.getScopeManager(s,y,p),y.resolveTags(p).then(function(b){return y.scopeManager.finishedResolving=true,b},function(b){Lo(o,b);})})})).then(function(s){return o.length!==0&&(n.options.errorLogging&&gp(o,n.options.errorLogging),mp(o)),Uo(s)})})}},{key:"compile",value:function(){if(Pt(this,"compile"),this.updateFileTypeConfig(),Rb(this.modules),this.modules=Fb(this.modules),Object.keys(this.compiled).length)return this;for(var t=this.options,n=0,o=this.modules;n<o.length;n++){var u=o[n];t=u.optionsTransformer(t,this);}this.options=t,this.options.xmlFileNames=op(this.options.xmlFileNames);for(var s=0,c=this.options.xmlFileNames;s<c.length;s++){var f=c[s],h=this.zip.files[f].asText();this.xmlDocuments[f]=_b(h);}this.setModules({zip:this.zip,xmlDocuments:this.xmlDocuments});for(var p=0,y=this.modules;p<y.length;p++){var b=y[p];b.xmlDocuments=this.xmlDocuments;}this.getTemplatedFiles(),this.sendEvent("before-preparse");for(var w=0,T=this.templatedFiles;w<T.length;w++){var C=T[w];this.zip.files[C]!=null&&this.precompileFile(C);}this.sendEvent("after-preparse");for(var O=0,P=this.templatedFiles;O<P.length;O++){var R=P[O];this.zip.files[R]!=null&&this.compiled[R].parse({noPostParse:true});}this.sendEvent("after-parse");for(var S=0,k=this.templatedFiles;S<k.length;S++){var q=k[S];this.zip.files[q]!=null&&this.compiled[q].postparse();}return this.sendEvent("after-postparse"),this.setModules({compiled:this.compiled}),sp(this),this}},{key:"updateFileTypeConfig",value:function(){this.relsTypes=cp(this.zip);var t=hp(this.zip),n=t.overrides,o=t.defaults,u=t.contentTypes,s=t.contentTypeXml;s&&(this.filesContentTypes=pp(n,o,this.zip),this.invertedContentTypes=Ib(this.filesContentTypes),this.setModules({contentTypes:this.contentTypes,invertedContentTypes:this.invertedContentTypes}));var c;this.zip.files.mimetype&&(c="odt");for(var f=0,h=this.modules;f<h.length;f++){var p=h[f];c=p.getFileType({zip:this.zip,contentTypes:u,contentTypeXml:s,overrides:n,defaults:o,doc:this})||c;}if(this.fileType=c,c==="odt"&&Cb(c),c||Tb(this.zip),kb(this),Mo(this),this.fileTypeConfig=this.options.fileTypeConfig||this.fileTypeConfig,!this.fileTypeConfig)if(e.FileTypeConfig[this.fileType])this.fileTypeConfig=e.FileTypeConfig[this.fileType]();else {var y='Filetype "'.concat(this.fileType,'" is not supported'),b="filetype_not_supported";this.fileType==="xlsx"&&(y='Filetype "'.concat(this.fileType,'" is supported only with the paid XlsxModule'),b="xlsx_filetype_needs_xlsx_module");var w=new Ab(y);throw w.properties={id:b,explanation:y},w}return this}},{key:"renderAsync",value:function(t){var n=this;this.hideDeprecations=true;var o=this.resolveData(t);return this.hideDeprecations=false,this.zip.xtRendered=true,o.then(function(){return n.render()})}},{key:"render",value:function(t){this.zip.xtRendered=true,this.rendered&&Db(),this.rendered=true,Object.keys(this.compiled).length===0&&this.compile(),this.errors.length>0&&wb(),arguments.length>0&&(this.data=t),this.setModules({data:this.data,Lexer:ap}),this.mapper||(this.mapper=this.modules.reduce(function(V,G){return G.getRenderedMap(V)},{}));var n=[];for(var o in this.mapper){var u=this.mapper[o],s=u.from,c=u.data,f=this.compiled[s];f.scopeManager=this.getScopeManager(o,f,c),f.render(o),n.push([o,f.content,f]),delete f.content;}for(var h=0;h<n.length;h++)for(var p=n[h],y=rp(p,3),b=y[1],w=y[2],T=0,C=this.modules;T<C.length;T++){var O=C[T];if(O.preZip){var P=O.preZip(b,w);typeof P=="string"&&(p[1]=P);}}for(var R=0;R<n.length;R++){var S=rp(n[R],2),k=S[0],q=S[1];this.zip.file(k,q,{createFolders:true});}return sp(this),this.sendEvent("syncing-zip"),this.syncZip(),this.sendEvent("synced-zip"),this}},{key:"syncZip",value:function(){for(var t in this.xmlDocuments){this.zip.remove(t);var n=Sb(this.xmlDocuments[t]);this.zip.file(t,n,{createFolders:true});}}},{key:"setData",value:function(t){return Pt(this,"setData"),this.data=t,this}},{key:"getZip",value:function(){return this.zip}},{key:"createTemplateClass",value:function(t){var n=this.zip.files[t].asText();return this.createTemplateClassFromContent(n,t)}},{key:"createTemplateClassFromContent",value:function(t,n){for(var o={filePath:n,contentType:this.filesContentTypes[n],relsType:this.relsTypes[n]},u=ip(),s=Lo(Object.keys(u),["filesContentTypes","fileTypeConfig","fileType","modules"]),c=0;c<s.length;c++){var f=s[c];o[f]=this[f];}return new e.XmlTemplater(t,o)}},{key:"getFullText",value:function(t){return this.createTemplateClass(t||this.fileTypeConfig.textPath(this)).getFullText()}},{key:"getTemplatedFiles",value:function(){this.templatedFiles=this.fileTypeConfig.getTemplatedFiles(this.zip),Lo(this.templatedFiles,this.targets);var t=this.fileTypeConfig.templatedNs||[];if(t.length>0){for(var n in this.filesContentTypes)if(/^customXml\/item\d+\.xml$/.test(n))for(var o=0;o<t.length;o++){var u=t[o],s=this.zip.file(n).asText();s.indexOf('xmlns="'.concat(u,'"'))!==-1&&this.templatedFiles.push(n);}}return this.templatedFiles=op(this.templatedFiles),this.templatedFiles}},{key:"getTags",value:function(){var t={headers:[],footers:[]};for(var n in this.compiled){var o=this.filesContentTypes[n];o==="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"&&(t.document={target:n,tags:Fo(this.compiled[n].postparsed)}),o==="application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml"&&t.headers.push({target:n,tags:Fo(this.compiled[n].postparsed)}),o==="application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml"&&t.footers.push({target:n,tags:Fo(this.compiled[n].postparsed)});}return t}},{key:"toBuffer",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"nodebuffer"}))}},{key:"toBlob",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"blob"}))}},{key:"toBase64",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"base64"}))}},{key:"toUint8Array",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"uint8array"}))}},{key:"toArrayBuffer",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"arraybuffer"}))}}])})();tt.DocUtils=Be;tt.Errors=Ye();tt.XmlTemplater=sf();tt.FileTypeConfig=$f();tt.XmlMatcher=yo();qo.exports=tt;qo.exports.default=tt;});var kt=c(ps()),Ft=c(yp());function zo(e,r,t={}){return Mb(e,r,t).buffer}function Mb(e,r,t={}){let{nullGetter:n="keep",linebreaks:o=true,delimiters:u}=t,s=[],c=[],f=[];try{let h=new kt.default(e),p=new Ft.default(h,{paragraphLoop:!0,linebreaks:o,nullGetter:b=>{let w=b.value||"";if(n==="error")throw new Error(`Undefined variable: ${w}`);return n==="empty"?(f.push(w),""):(f.push(w),`{${w}}`)},delimiters:u?{start:u.start||"{",end:u.end||"}"}:void 0});return Object.keys(r).forEach(b=>{r[b]!==void 0&&r[b]!==null&&c.push(b);}),p.setData(r),p.render(),{buffer:p.getZip().generate({type:"arraybuffer",compression:"DEFLATE",compressionOptions:{level:6}}),replacedVariables:c,unreplacedVariables:f,warnings:s}}catch(h){throw Jn(h)}}function Ub(e,r,t={}){let n=zo(e,r,t);return new Blob([n],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"})}function $1(e,r,t="document",n={}){let o=Ub(e,r,n);jb(o,`${t}.docx`);}function ex(e){try{let r=new kt.default(e),n=new Ft.default(r,{paragraphLoop:!0,linebreaks:!0}).getFullText();return Ep(n)}catch(r){throw Jn(r)}}function rx(e){let r=[],t=[];try{let n=new kt.default(e),u=new Ft.default(n,{paragraphLoop:!0,linebreaks:!0}).getFullText();t=Ep(u);let s=qb(u);for(let c of s)r.push({message:`Unclosed tag: ${c}`,variable:c,type:"parse"});return {valid:r.length===0,errors:r,tags:t}}catch(n){return r.push(Jn(n)),{valid:false,errors:r,tags:t}}}function tx(e,r){return e.filter(t=>!(t in r)||r[t]===void 0||r[t]===null)}function nx(e,r){try{let t=new kt.default(e),n=new Ft.default(t,{paragraphLoop:!0,linebreaks:!0,nullGetter:o=>`[${o.value||""}]`});return n.setData(r),n.render(),n.getFullText()}catch(t){throw Jn(t)}}function Ep(e){let r=[],t=/\{([^{}]+)\}/g,n;for(;(n=t.exec(e))!==null;){let o=n[1].trim();o&&!r.includes(o)&&r.push(o);}return r.sort()}function qb(e){let r=[],t=0,n="";for(let o of e)o==="{"?(t++,n=""):o==="}"?(t--,t<0&&(t=0)):t>0&&(n+=o);return t>0&&n.trim()&&r.push(n.trim()),r}function zb(e){return "properties"in e&&typeof e.properties=="object"}function Jn(e){if(e instanceof Error){if(zb(e)&&e.properties?.errors){let r=e.properties.errors[0];return {message:r?.message||"Template processing error",variable:r?.properties?.tag,type:"render",originalError:e}}if(e.message.includes("undefined")){let r=e.message.match(/undefined (?:variable|tag):\s*(\S+)/i);return {message:e.message,variable:r?r[1]:void 0,type:"undefined",originalError:e}}return e.message.includes("parse")||e.message.includes("unclosed")||e.message.includes("syntax")?{message:e.message,type:"parse",originalError:e}:{message:e.message,type:"unknown",originalError:e}}return {message:String(e),type:"unknown"}}function jb(e,r){let t=URL.createObjectURL(e),n=document.createElement("a");n.href=t,n.download=r,document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(t);}function ax(e,r,t={}){let{linebreaks:n=true,delimiters:o}=t;try{let u=new kt.default(e),s=new Ft.default(u,{paragraphLoop:!0,linebreaks:n,delimiters:o?{start:o.start||"{",end:o.end||"}"}:void 0});return s.setData(r),s.render(),s.getZip().generate({type:"arraybuffer",compression:"DEFLATE"})}catch(u){throw Jn(u)}}function ix(e={}){return (r,t)=>zo(r,t,e)}var ox=zo;/*! Bundled license information:
21
21
 
22
22
  pako/dist/pako.es5.min.js:
23
23
  (*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) *)