@zeke-02/docx-editor 0.0.35 → 0.5.1

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 (168) hide show
  1. package/README.md +34 -29
  2. package/dist/{ClipboardManager-C1l58nzE.d.ts → ClipboardManager-CVKX0v9q.d.ts} +1 -1
  3. package/dist/{ClipboardManager-Cjb_v74d.d.mts → ClipboardManager-V3aaMnWE.d.mts} +1 -1
  4. package/dist/{DocumentAgent-E8OX_8j0.d.mts → DocumentAgent-BWflKHpH.d.mts} +1 -1
  5. package/dist/{DocumentAgent-iedmc_8s.d.ts → DocumentAgent-DsdXtetF.d.ts} +1 -1
  6. package/dist/{FindReplaceDialog-YW3R4FHM.mjs → FindReplaceDialog-L3YF5HIS.mjs} +1 -1
  7. package/dist/FindReplaceDialog-SEBWC5P7.js +1 -0
  8. package/dist/{FootnotePropertiesDialog-LNFJXQUG.mjs → FootnotePropertiesDialog-TNVJJCY6.mjs} +1 -1
  9. package/dist/{FootnotePropertiesDialog-7QX54WQT.js → FootnotePropertiesDialog-XQ7NIFIU.js} +1 -1
  10. package/dist/{HyperlinkDialog-HNYTXDCB.mjs → HyperlinkDialog-FR4IZZ7E.mjs} +1 -1
  11. package/dist/HyperlinkDialog-WEK6JSAC.js +1 -0
  12. package/dist/{ImagePositionDialog-M65BYQQE.js → ImagePositionDialog-2YXRAGZS.js} +1 -1
  13. package/dist/{ImagePositionDialog-B4RLP2W5.mjs → ImagePositionDialog-JSZSIKF5.mjs} +1 -1
  14. package/dist/ImagePropertiesDialog-527MFLQO.mjs +1 -0
  15. package/dist/{ImagePropertiesDialog-O4WQSF5M.js → ImagePropertiesDialog-HG4K3IE7.js} +1 -1
  16. package/dist/PageSetupDialog-GALVJMUB.js +1 -0
  17. package/dist/PageSetupDialog-TGQIAMI7.mjs +1 -0
  18. package/dist/SplitCellDialog-JIAC3RYV.js +1 -0
  19. package/dist/SplitCellDialog-NP3JJYHD.mjs +1 -0
  20. package/dist/{TablePropertiesDialog-WOZ4ES3H.js → TablePropertiesDialog-T7D4HSVP.js} +1 -1
  21. package/dist/TablePropertiesDialog-TIK4AA5M.mjs +1 -0
  22. package/dist/{clipboard-BWhM0CRj.d.mts → TableToolbar-DUgmob2I.d.ts} +227 -135
  23. package/dist/{clipboard-BvkuNZub.d.ts → TableToolbar-YL74HNS1.d.mts} +227 -135
  24. package/dist/{agentApi-mv532p8I.d.mts → agentApi-DLt94vXk.d.mts} +83 -5
  25. package/dist/{agentApi-mv532p8I.d.ts → agentApi-DLt94vXk.d.ts} +83 -5
  26. package/dist/chunk-23SXXIZS.js +111 -0
  27. package/dist/chunk-3F52AP2Q.js +1 -0
  28. package/dist/chunk-42O5GXM5.mjs +82 -0
  29. package/dist/chunk-54ULJEHM.mjs +1 -0
  30. package/dist/chunk-5XK326FI.mjs +1 -0
  31. package/dist/chunk-76IYR7C7.mjs +1 -0
  32. package/dist/chunk-7BG7QY7I.js +182 -0
  33. package/dist/chunk-AGRIVA4G.js +1 -0
  34. package/dist/chunk-BTCQ2QI3.mjs +3 -0
  35. package/dist/chunk-BXRC4U3X.mjs +2 -0
  36. package/dist/chunk-CPAYKE6X.mjs +1 -0
  37. package/dist/chunk-DACWLFKI.mjs +1 -0
  38. package/dist/{chunk-377ZVTSE.js → chunk-EHFEG3TX.js} +1 -1
  39. package/dist/chunk-EPBFWE36.js +2 -0
  40. package/dist/chunk-FXES3YDB.js +82 -0
  41. package/dist/chunk-HI66BSGS.mjs +9 -0
  42. package/dist/chunk-INTPVEO6.mjs +9 -0
  43. package/dist/chunk-IOAGVW6Q.mjs +2 -0
  44. package/dist/chunk-JCEWC5QL.mjs +4 -0
  45. package/dist/chunk-JTIUFACT.js +1 -0
  46. package/dist/chunk-KUTCCI4X.mjs +182 -0
  47. package/dist/{chunk-KCOGY3V2.js → chunk-LUF7PWIC.js} +4 -4
  48. package/dist/chunk-LVGJKS7Y.mjs +24 -0
  49. package/dist/chunk-MGEN6GOE.mjs +2 -0
  50. package/dist/chunk-MOE2ZGUE.js +18 -0
  51. package/dist/chunk-MWLHJWB6.js +9 -0
  52. package/dist/chunk-OFYVDN3U.mjs +2 -0
  53. package/dist/chunk-P4VSHBGZ.js +2 -0
  54. package/dist/chunk-P5FQHIES.mjs +1 -0
  55. package/dist/chunk-PBC7XAYZ.js +3 -0
  56. package/dist/chunk-PEMB6SZT.js +2 -0
  57. package/dist/chunk-PKEOQIQO.mjs +2 -0
  58. package/dist/chunk-PQMSZTBB.js +9 -0
  59. package/dist/chunk-Q7UDQXAF.js +1 -0
  60. package/dist/chunk-QGTAIC5E.js +1 -0
  61. package/dist/chunk-R3QMYPL5.mjs +59 -0
  62. package/dist/chunk-RBUTXXQJ.mjs +18 -0
  63. package/dist/chunk-RRWYZ2TS.mjs +111 -0
  64. package/dist/{chunk-AU5NVRHP.js → chunk-SFUM35DH.js} +2 -2
  65. package/dist/chunk-SNLC6EK2.js +1 -0
  66. package/dist/chunk-TMTLIGLZ.js +59 -0
  67. package/dist/{chunk-RTFUE3KK.mjs → chunk-TSE2PWFX.mjs} +3 -3
  68. package/dist/chunk-UWYD42WV.js +4 -0
  69. package/dist/chunk-UXVACQCY.mjs +1 -0
  70. package/dist/{chunk-Z26WOH6R.mjs → chunk-W4EIKDM6.mjs} +2 -2
  71. package/dist/chunk-WNS2RBQD.js +2 -0
  72. package/dist/chunk-YC5KZSYD.js +24 -0
  73. package/dist/chunk-Z3KMSHUP.js +1 -0
  74. package/dist/core-plugins-reexport.d.mts +4 -4
  75. package/dist/core-plugins-reexport.d.ts +4 -4
  76. package/dist/core-plugins-reexport.js +1 -1
  77. package/dist/core-plugins-reexport.mjs +1 -1
  78. package/dist/core-reexport.d.mts +47 -16
  79. package/dist/core-reexport.d.ts +47 -16
  80. package/dist/core-reexport.js +1 -1
  81. package/dist/core-reexport.mjs +1 -1
  82. package/dist/{colorResolver-C5fQ4fxP.d.mts → documentSerializer-DtS_-oGA.d.mts} +378 -376
  83. package/dist/{colorResolver-Bp9flT3l.d.ts → documentSerializer-Wj1p2ASa.d.ts} +378 -376
  84. package/dist/executor-C3VXF7QA.mjs +1 -0
  85. package/dist/executor-GDBV3AGV.js +1 -0
  86. package/dist/headless-reexport.d.mts +14 -12
  87. package/dist/headless-reexport.d.ts +14 -12
  88. package/dist/headless-reexport.js +1 -4
  89. package/dist/headless-reexport.mjs +1 -4
  90. package/dist/index.css +1 -1
  91. package/dist/index.d.mts +284 -172
  92. package/dist/index.d.ts +284 -172
  93. package/dist/index.js +17 -9
  94. package/dist/index.mjs +17 -9
  95. package/dist/{fontLoader-0G00frKD.d.mts → insertOperations-BTH1Asas.d.mts} +86 -86
  96. package/dist/{fontLoader-DPdt4JvW.d.ts → insertOperations-CbUnXAXH.d.ts} +86 -86
  97. package/dist/layout-bridge-EA4DJ227.js +1 -0
  98. package/dist/layout-bridge-XDPSO6GO.mjs +1 -0
  99. package/dist/mcp-reexport.d.mts +2 -2
  100. package/dist/mcp-reexport.d.ts +2 -2
  101. package/dist/mcp-reexport.js +8 -8
  102. package/dist/mcp-reexport.mjs +7 -7
  103. package/dist/processTemplate-MJ2PCSO5.js +1 -0
  104. package/dist/{processTemplate-LRHXOWMZ.mjs → processTemplate-W2C5PXZB.mjs} +1 -1
  105. package/dist/{react-1OO-DXvx.d.ts → react-B0W16SV6.d.ts} +384 -166
  106. package/dist/{react-B1dSZ_w1.d.mts → react-D0Pn1nww.d.mts} +384 -166
  107. package/dist/react.css +1 -1
  108. package/dist/react.d.mts +5 -5
  109. package/dist/react.d.ts +5 -5
  110. package/dist/react.js +1 -1
  111. package/dist/react.mjs +1 -1
  112. package/dist/{registry-BWGKcKc1.d.ts → registry-CH9V-IX0.d.ts} +1 -1
  113. package/dist/{registry-8XOdjHGC.d.mts → registry-CWBKYlNW.d.mts} +1 -1
  114. package/dist/styles.css +1 -1
  115. package/dist/{types-DIBvJ7AJ.d.mts → types-UDsUq8D3.d.mts} +1 -1
  116. package/dist/{types-CfAiObQo.d.ts → types-jbivc9Lj.d.ts} +1 -1
  117. package/dist/ui.d.mts +33 -83
  118. package/dist/ui.d.ts +33 -83
  119. package/dist/ui.js +1 -1
  120. package/dist/ui.mjs +1 -1
  121. package/dist/{variableDetector-DNO18eZ1.d.mts → variableDetector-CdQ7ZTzA.d.mts} +1 -1
  122. package/dist/{variableDetector-BIJFVpkl.d.ts → variableDetector-DsRV3A9z.d.ts} +1 -1
  123. package/i18n/de.json +49 -2
  124. package/i18n/en.json +55 -8
  125. package/i18n/he.json +792 -0
  126. package/i18n/pl.json +49 -2
  127. package/i18n/pt-BR.json +792 -0
  128. package/i18n/tr.json +792 -0
  129. package/i18n/zh-CN.json +792 -0
  130. package/package.json +17 -5
  131. package/dist/FindReplaceDialog-KNJETYJX.js +0 -1
  132. package/dist/HyperlinkDialog-GBAYMTUE.js +0 -1
  133. package/dist/ImagePropertiesDialog-JOGW3WDU.mjs +0 -1
  134. package/dist/PageSetupDialog-2GIBTKMJ.js +0 -1
  135. package/dist/PageSetupDialog-Q7SHEZIJ.mjs +0 -1
  136. package/dist/TablePropertiesDialog-LMXWX3FI.mjs +0 -1
  137. package/dist/chunk-2HDYCD2Q.mjs +0 -1
  138. package/dist/chunk-37SLIJPH.mjs +0 -58
  139. package/dist/chunk-3OKYQQQ5.js +0 -111
  140. package/dist/chunk-4VUZBV2S.js +0 -1
  141. package/dist/chunk-6YRWZ32V.js +0 -261
  142. package/dist/chunk-7MGFEP2R.mjs +0 -26
  143. package/dist/chunk-7QTNB64A.mjs +0 -9
  144. package/dist/chunk-AARNCPWR.js +0 -1
  145. package/dist/chunk-DC65PJYE.js +0 -4
  146. package/dist/chunk-DLVLK5FT.mjs +0 -24
  147. package/dist/chunk-EV3CM6TU.js +0 -1
  148. package/dist/chunk-FVUGBRDD.js +0 -1
  149. package/dist/chunk-FW5LYOOZ.mjs +0 -111
  150. package/dist/chunk-GZOCOWWB.mjs +0 -2
  151. package/dist/chunk-KUL2SDYC.js +0 -26
  152. package/dist/chunk-LYBG4YI7.mjs +0 -1
  153. package/dist/chunk-M5F4SK3W.mjs +0 -1
  154. package/dist/chunk-P7WEP4JU.js +0 -9
  155. package/dist/chunk-PB7VMDDP.js +0 -24
  156. package/dist/chunk-QAZ4233N.mjs +0 -1
  157. package/dist/chunk-QSUPYUOP.js +0 -2
  158. package/dist/chunk-QTSXJRP6.mjs +0 -1
  159. package/dist/chunk-S67UBZDL.mjs +0 -261
  160. package/dist/chunk-SE5EN2QL.js +0 -1
  161. package/dist/chunk-X5A54T6S.mjs +0 -4
  162. package/dist/chunk-YKBSKEBS.mjs +0 -2
  163. package/dist/chunk-ZJNGMDRE.js +0 -58
  164. package/dist/executor-L2MVKMXO.js +0 -1
  165. package/dist/executor-XKBCCVNY.mjs +0 -1
  166. package/dist/processTemplate-5ZST2Q5L.js +0 -1
  167. package/dist/selectionRects-DEX5THEG.js +0 -1
  168. package/dist/selectionRects-SQTAHMCH.mjs +0 -1
@@ -0,0 +1,24 @@
1
+ import {b,c}from'./chunk-TAUMSKRE.mjs';var da=b(vi=>{var Nr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";vi.encode=function(e){for(var r="",t,n,i,u,s,c,f,p=0;p<e.length;)t=e.charCodeAt(p++),n=e.charCodeAt(p++),i=e.charCodeAt(p++),u=t>>2,s=(t&3)<<4|n>>4,c=(n&15)<<2|i>>6,f=i&63,isNaN(n)?c=f=64:isNaN(i)&&(f=64),r=r+Nr.charAt(u)+Nr.charAt(s)+Nr.charAt(c)+Nr.charAt(f);return r};vi.decode=function(e){var r="",t,n,i,u,s,c,f,p=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");p<e.length;)u=Nr.indexOf(e.charAt(p++)),s=Nr.indexOf(e.charAt(p++)),c=Nr.indexOf(e.charAt(p++)),f=Nr.indexOf(e.charAt(p++)),t=u<<2|s>>4,n=(s&15)<<4|c>>2,i=(c&3)<<6|f,r+=String.fromCharCode(t),c!==64&&(r+=String.fromCharCode(n)),f!==64&&(r+=String.fromCharCode(i));return r};});var Yr=b(tr=>{tr.base64=true;tr.array=true;tr.string=true;tr.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";tr.nodebuffer=typeof Buffer<"u";tr.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")tr.blob=false;else {mi=new ArrayBuffer(0);try{tr.blob=new Blob([mi],{type:"application/zip"}).size===0;}catch{try{Ou=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,yi=new Ou,yi.append(mi),tr.blob=yi.getBlob("application/zip").size===0;}catch{tr.blob=false;}}}var mi,Ou,yi;});var Iu=b((ga,Nu)=>{(function(e,r){typeof ga=="object"&&typeof Nu<"u"?r(ga):typeof define=="function"&&define.amd?define(["exports"],r):r((e=typeof globalThis<"u"?globalThis:e||self).pako={});})(ga,(function(e){function r(a){for(var l=a.length;--l>=0;)a[l]=0;}var t=256,n=286,i=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]),p=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),h=new Array(576);r(h);var m=new Array(60);r(m);var b=new Array(512);r(b);var x=new Array(256);r(x);var T=new Array(29);r(T);var _,C,O,P=new Array(i);function k(a,l,o,d,g){this.static_tree=a,this.extra_bits=l,this.extra_base=o,this.elems=d,this.max_length=g,this.has_stree=a&&a.length;}function B(a,l){this.dyn_tree=a,this.max_code=0,this.stat_desc=l;}r(P);var z=function(a){return a<256?b[a]:b[256+(a>>>7)]},j=function(a,l){a.pending_buf[a.pending++]=255&l,a.pending_buf[a.pending++]=l>>>8&255;},X=function(a,l,o){a.bi_valid>16-o?(a.bi_buf|=l<<a.bi_valid&65535,j(a,a.bi_buf),a.bi_buf=l>>16-a.bi_valid,a.bi_valid+=o-16):(a.bi_buf|=l<<a.bi_valid&65535,a.bi_valid+=o);},F=function(a,l,o){X(a,o[2*l],o[2*l+1]);},Z=function(a,l){var o=0;do o|=1&a,a>>>=1,o<<=1;while(--l>0);return o>>>1},le=function(a,l,o){var d,g,v=new Array(16),D=0;for(d=1;d<=u;d++)D=D+o[d-1]<<1,v[d]=D;for(g=0;g<=l;g++){var y=a[2*g+1];y!==0&&(a[2*g]=Z(v[y]++,y));}},pe=function(a){var l;for(l=0;l<n;l++)a.dyn_ltree[2*l]=0;for(l=0;l<i;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;},ee=function(a){a.bi_valid>8?j(a,a.bi_buf):a.bi_valid>0&&(a.pending_buf[a.pending++]=a.bi_buf),a.bi_buf=0,a.bi_valid=0;},_e=function(a,l,o,d){var g=2*l,v=2*o;return a[g]<a[v]||a[g]===a[v]&&d[l]<=d[o]},fe=function(a,l,o){for(var d=a.heap[o],g=o<<1;g<=a.heap_len&&(g<a.heap_len&&_e(l,a.heap[g+1],a.heap[g],a.depth)&&g++,!_e(l,d,a.heap[g],a.depth));)a.heap[o]=a.heap[g],o=g,g<<=1;a.heap[o]=d;},jt=function(a,l,o){var d,g,v,D,y=0;if(a.sym_next!==0)do d=255&a.pending_buf[a.sym_buf+y++],d+=(255&a.pending_buf[a.sym_buf+y++])<<8,g=a.pending_buf[a.sym_buf+y++],d===0?F(a,g,l):(v=x[g],F(a,v+t+1,l),(D=s[v])!==0&&(g-=T[v],X(a,g,D)),d--,v=z(d),F(a,v,o),(D=c[v])!==0&&(d-=P[v],X(a,d,D)));while(y<a.sym_next);F(a,256,l);},Vt=function(a,l){var o,d,g,v=l.dyn_tree,D=l.stat_desc.static_tree,y=l.stat_desc.has_stree,S=l.stat_desc.elems,E=-1;for(a.heap_len=0,a.heap_max=573,o=0;o<S;o++)v[2*o]!==0?(a.heap[++a.heap_len]=E=o,a.depth[o]=0):v[2*o+1]=0;for(;a.heap_len<2;)v[2*(g=a.heap[++a.heap_len]=E<2?++E:0)]=1,a.depth[g]=0,a.opt_len--,y&&(a.static_len-=D[2*g+1]);for(l.max_code=E,o=a.heap_len>>1;o>=1;o--)fe(a,v,o);g=S;do o=a.heap[1],a.heap[1]=a.heap[a.heap_len--],fe(a,v,1),d=a.heap[1],a.heap[--a.heap_max]=o,a.heap[--a.heap_max]=d,v[2*g]=v[2*o]+v[2*d],a.depth[g]=(a.depth[o]>=a.depth[d]?a.depth[o]:a.depth[d])+1,v[2*o+1]=v[2*d+1]=g,a.heap[1]=g++,fe(a,v,1);while(a.heap_len>=2);a.heap[--a.heap_max]=a.heap[1],(function(w,te){var L,A,R,$,W,ne,I=te.dyn_tree,N=te.max_code,V=te.stat_desc.static_tree,ge=te.stat_desc.has_stree,U=te.stat_desc.extra_bits,oe=te.stat_desc.extra_base,ie=te.stat_desc.max_length,G=0;for($=0;$<=u;$++)w.bl_count[$]=0;for(I[2*w.heap[w.heap_max]+1]=0,L=w.heap_max+1;L<573;L++)($=I[2*I[2*(A=w.heap[L])+1]+1]+1)>ie&&($=ie,G++),I[2*A+1]=$,A>N||(w.bl_count[$]++,W=0,A>=oe&&(W=U[A-oe]),ne=I[2*A],w.opt_len+=ne*($+W),ge&&(w.static_len+=ne*(V[2*A+1]+W)));if(G!==0){do{for($=ie-1;w.bl_count[$]===0;)$--;w.bl_count[$]--,w.bl_count[$+1]+=2,w.bl_count[ie]--,G-=2;}while(G>0);for($=ie;$!==0;$--)for(A=w.bl_count[$];A!==0;)(R=w.heap[--L])>N||(I[2*R+1]!==$&&(w.opt_len+=($-I[2*R+1])*I[2*R],I[2*R+1]=$),A--);}})(a,l),le(v,E,a.bl_count);},it=function(a,l,o){var d,g,v=-1,D=l[1],y=0,S=7,E=4;for(D===0&&(S=138,E=3),l[2*(o+1)+1]=65535,d=0;d<=o;d++)g=D,D=l[2*(d+1)+1],++y<S&&g===D||(y<E?a.bl_tree[2*g]+=y:g!==0?(g!==v&&a.bl_tree[2*g]++,a.bl_tree[32]++):y<=10?a.bl_tree[34]++:a.bl_tree[36]++,y=0,v=g,D===0?(S=138,E=3):g===D?(S=6,E=3):(S=7,E=4));},Xt=function(a,l,o){var d,g,v=-1,D=l[1],y=0,S=7,E=4;for(D===0&&(S=138,E=3),d=0;d<=o;d++)if(g=D,D=l[2*(d+1)+1],!(++y<S&&g===D)){if(y<E)do F(a,g,a.bl_tree);while(--y!=0);else g!==0?(g!==v&&(F(a,g,a.bl_tree),y--),F(a,16,a.bl_tree),X(a,y-3,2)):y<=10?(F(a,17,a.bl_tree),X(a,y-3,3)):(F(a,18,a.bl_tree),X(a,y-11,7));y=0,v=g,D===0?(S=138,E=3):g===D?(S=6,E=3):(S=7,E=4);}},ae=false,ke=function(a,l,o,d){X(a,0+(d?1:0),3),ee(a),j(a,o),j(a,~o),o&&a.pending_buf.set(a.window.subarray(l,l+o),a.pending),a.pending+=o;},ot=function(a,l,o,d){var g,v,D=0;a.level>0?(a.strm.data_type===2&&(a.strm.data_type=(function(y){var S,E=4093624447;for(S=0;S<=31;S++,E>>>=1)if(1&E&&y.dyn_ltree[2*S]!==0)return 0;if(y.dyn_ltree[18]!==0||y.dyn_ltree[20]!==0||y.dyn_ltree[26]!==0)return 1;for(S=32;S<t;S++)if(y.dyn_ltree[2*S]!==0)return 1;return 0})(a)),Vt(a,a.l_desc),Vt(a,a.d_desc),D=(function(y){var S;for(it(y,y.dyn_ltree,y.l_desc.max_code),it(y,y.dyn_dtree,y.d_desc.max_code),Vt(y,y.bl_desc),S=18;S>=3&&y.bl_tree[2*p[S]+1]===0;S--);return y.opt_len+=3*(S+1)+5+5+4,S})(a),g=a.opt_len+3+7>>>3,(v=a.static_len+3+7>>>3)<=g&&(g=v)):g=v=o+5,o+4<=g&&l!==-1?ke(a,l,o,d):a.strategy===4||v===g?(X(a,2+(d?1:0),3),jt(a,h,m)):(X(a,4+(d?1:0),3),(function(y,S,E,w){var te;for(X(y,S-257,5),X(y,E-1,5),X(y,w-4,4),te=0;te<w;te++)X(y,y.bl_tree[2*p[te]+1],3);Xt(y,y.dyn_ltree,S-1),Xt(y,y.dyn_dtree,E-1);})(a,a.l_desc.max_code+1,a.d_desc.max_code+1,D+1),jt(a,a.dyn_ltree,a.dyn_dtree)),pe(a),d&&ee(a);},or={_tr_init:function(a){ae||((function(){var l,o,d,g,v,D=new Array(16);for(d=0,g=0;g<28;g++)for(T[g]=d,l=0;l<1<<s[g];l++)x[d++]=g;for(x[d-1]=g,v=0,g=0;g<16;g++)for(P[g]=v,l=0;l<1<<c[g];l++)b[v++]=g;for(v>>=7;g<i;g++)for(P[g]=v<<7,l=0;l<1<<c[g]-7;l++)b[256+v++]=g;for(o=0;o<=u;o++)D[o]=0;for(l=0;l<=143;)h[2*l+1]=8,l++,D[8]++;for(;l<=255;)h[2*l+1]=9,l++,D[9]++;for(;l<=279;)h[2*l+1]=7,l++,D[7]++;for(;l<=287;)h[2*l+1]=8,l++,D[8]++;for(le(h,287,D),l=0;l<i;l++)m[2*l+1]=5,m[2*l]=Z(l,5);_=new k(h,s,257,n,u),C=new k(m,c,0,i,u),O=new k(new Array(0),f,0,19,7);})(),ae=true),a.l_desc=new B(a.dyn_ltree,_),a.d_desc=new B(a.dyn_dtree,C),a.bl_desc=new B(a.bl_tree,O),a.bi_buf=0,a.bi_valid=0,pe(a);},_tr_stored_block:ke,_tr_flush_block:ot,_tr_tally:function(a,l,o){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++]=o,l===0?a.dyn_ltree[2*o]++:(a.matches++,l--,a.dyn_ltree[2*(x[o]+t+1)]++,a.dyn_dtree[2*z(l)]++),a.sym_next===a.sym_end},_tr_align:function(a){X(a,2,3),F(a,256,h),(function(l){l.bi_valid===16?(j(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);}},Ht=function(a,l,o,d){for(var g=65535&a|0,v=a>>>16&65535|0,D=0;o!==0;){o-=D=o>2e3?2e3:o;do v=v+(g=g+l[d++]|0)|0;while(--D);g%=65521,v%=65521;}return g|v<<16|0},Dp=new Uint32Array((function(){for(var a,l=[],o=0;o<256;o++){a=o;for(var d=0;d<8;d++)a=1&a?3988292384^a>>>1:a>>>1;l[o]=a;}return l})()),Ce=function(a,l,o,d){var g=Dp,v=d+o;a^=-1;for(var D=d;D<v;D++)a=a>>>8^g[255&(a^l[D])];return -1^a},zr={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"},H={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},Ap=or._tr_init,ri=or._tr_stored_block,Tp=or._tr_flush_block,Ar=or._tr_tally,Cp=or._tr_align,Tr=H.Z_NO_FLUSH,_p=H.Z_PARTIAL_FLUSH,Sp=H.Z_FULL_FLUSH,Ge=H.Z_FINISH,Go=H.Z_BLOCK,Se=H.Z_OK,Yo=H.Z_STREAM_END,ur=H.Z_STREAM_ERROR,Op=H.Z_DATA_ERROR,ti=H.Z_BUF_ERROR,Np=H.Z_DEFAULT_COMPRESSION,Ip=H.Z_FILTERED,ea=H.Z_HUFFMAN_ONLY,Pp=H.Z_RLE,Bp=H.Z_FIXED,Rp=H.Z_DEFAULT_STRATEGY,Fp=H.Z_UNKNOWN,ra=H.Z_DEFLATED,jr=258,sr=262,ut=42,Vr=113,Zt=666,Xr=function(a,l){return a.msg=zr[l],l},Wo=function(a){return 2*a-(a>4?9:0)},Cr=function(a){for(var l=a.length;--l>=0;)a[l]=0;},kp=function(a){var l,o,d,g=a.w_size;d=l=a.hash_size;do o=a.head[--d],a.head[d]=o>=g?o-g:0;while(--l);d=l=g;do o=a.prev[--d],a.prev[d]=o>=g?o-g:0;while(--l)},_r=function(a,l,o){return (l<<a.hash_shift^o)&a.hash_mask},Ve=function(a){var l=a.state,o=l.pending;o>a.avail_out&&(o=a.avail_out),o!==0&&(a.output.set(l.pending_buf.subarray(l.pending_out,l.pending_out+o),a.next_out),a.next_out+=o,l.pending_out+=o,a.total_out+=o,a.avail_out-=o,l.pending-=o,l.pending===0&&(l.pending_out=0));},Xe=function(a,l){Tp(a,a.block_start>=0?a.block_start:-1,a.strstart-a.block_start,l),a.block_start=a.strstart,Ve(a.strm);},ce=function(a,l){a.pending_buf[a.pending++]=l;},Gt=function(a,l){a.pending_buf[a.pending++]=l>>>8&255,a.pending_buf[a.pending++]=255&l;},ni=function(a,l,o,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),o),a.state.wrap===1?a.adler=Ht(a.adler,l,g,o):a.state.wrap===2&&(a.adler=Ce(a.adler,l,g,o)),a.next_in+=g,a.total_in+=g,g)},Ko=function(a,l){var o,d,g=a.max_chain_length,v=a.strstart,D=a.prev_length,y=a.nice_match,S=a.strstart>a.w_size-sr?a.strstart-(a.w_size-sr):0,E=a.window,w=a.w_mask,te=a.prev,L=a.strstart+jr,A=E[v+D-1],R=E[v+D];a.prev_length>=a.good_match&&(g>>=2),y>a.lookahead&&(y=a.lookahead);do if(E[(o=l)+D]===R&&E[o+D-1]===A&&E[o]===E[v]&&E[++o]===E[v+1]){v+=2,o++;do;while(E[++v]===E[++o]&&E[++v]===E[++o]&&E[++v]===E[++o]&&E[++v]===E[++o]&&E[++v]===E[++o]&&E[++v]===E[++o]&&E[++v]===E[++o]&&E[++v]===E[++o]&&v<L);if(d=jr-(L-v),v=L-jr,d>D){if(a.match_start=l,D=d,d>=y)break;A=E[v+D-1],R=E[v+D];}}while((l=te[l&w])>S&&--g!=0);return D<=a.lookahead?D:a.lookahead},st=function(a){var l,o,d,g=a.w_size;do{if(o=a.window_size-a.lookahead-a.strstart,a.strstart>=g+(g-sr)&&(a.window.set(a.window.subarray(g,g+g-o),0),a.match_start-=g,a.strstart-=g,a.block_start-=g,a.insert>a.strstart&&(a.insert=a.strstart),kp(a),o+=g),a.strm.avail_in===0)break;if(l=ni(a.strm,a.window,a.strstart+a.lookahead,o),a.lookahead+=l,a.lookahead+a.insert>=3)for(d=a.strstart-a.insert,a.ins_h=a.window[d],a.ins_h=_r(a,a.ins_h,a.window[d+1]);a.insert&&(a.ins_h=_r(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<sr&&a.strm.avail_in!==0)},Qo=function(a,l){var o,d,g,v=a.pending_buf_size-5>a.w_size?a.w_size:a.pending_buf_size-5,D=0,y=a.strm.avail_in;do{if(o=65535,g=a.bi_valid+42>>3,a.strm.avail_out<g||(g=a.strm.avail_out-g,o>(d=a.strstart-a.block_start)+a.strm.avail_in&&(o=d+a.strm.avail_in),o>g&&(o=g),o<v&&(o===0&&l!==Ge||l===Tr||o!==d+a.strm.avail_in)))break;D=l===Ge&&o===d+a.strm.avail_in?1:0,ri(a,0,0,D),a.pending_buf[a.pending-4]=o,a.pending_buf[a.pending-3]=o>>8,a.pending_buf[a.pending-2]=~o,a.pending_buf[a.pending-1]=~o>>8,Ve(a.strm),d&&(d>o&&(d=o),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,o-=d),o&&(ni(a.strm,a.strm.output,a.strm.next_out,o),a.strm.next_out+=o,a.strm.avail_out-=o,a.strm.total_out+=o);}while(D===0);return (y-=a.strm.avail_in)&&(y>=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<=y&&(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-y,a.strm.next_in),a.strstart),a.strstart+=y,a.insert+=y>a.w_size-a.insert?a.w_size-a.insert:y),a.block_start=a.strstart),a.high_water<a.strstart&&(a.high_water=a.strstart),D?4:l!==Tr&&l!==Ge&&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&&(ni(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,v=(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)>=v||(d||l===Ge)&&l!==Tr&&a.strm.avail_in===0&&d<=g)&&(o=d>g?g:d,D=l===Ge&&a.strm.avail_in===0&&o===d?1:0,ri(a,a.block_start,o,D),a.block_start+=o,Ve(a.strm)),D?3:1)},ai=function(a,l){for(var o,d;;){if(a.lookahead<sr){if(st(a),a.lookahead<sr&&l===Tr)return 1;if(a.lookahead===0)break}if(o=0,a.lookahead>=3&&(a.ins_h=_r(a,a.ins_h,a.window[a.strstart+3-1]),o=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),o!==0&&a.strstart-o<=a.w_size-sr&&(a.match_length=Ko(a,o)),a.match_length>=3)if(d=Ar(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=_r(a,a.ins_h,a.window[a.strstart+3-1]),o=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=_r(a,a.ins_h,a.window[a.strstart+1]);else d=Ar(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++;if(d&&(Xe(a,false),a.strm.avail_out===0))return 1}return a.insert=a.strstart<2?a.strstart:2,l===Ge?(Xe(a,true),a.strm.avail_out===0?3:4):a.sym_next&&(Xe(a,false),a.strm.avail_out===0)?1:2},lt=function(a,l){for(var o,d,g;;){if(a.lookahead<sr){if(st(a),a.lookahead<sr&&l===Tr)return 1;if(a.lookahead===0)break}if(o=0,a.lookahead>=3&&(a.ins_h=_r(a,a.ins_h,a.window[a.strstart+3-1]),o=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,o!==0&&a.prev_length<a.max_lazy_match&&a.strstart-o<=a.w_size-sr&&(a.match_length=Ko(a,o),a.match_length<=5&&(a.strategy===Ip||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=Ar(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=_r(a,a.ins_h,a.window[a.strstart+3-1]),o=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&&(Xe(a,false),a.strm.avail_out===0))return 1}else if(a.match_available){if((d=Ar(a,0,a.window[a.strstart-1]))&&Xe(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=Ar(a,0,a.window[a.strstart-1]),a.match_available=0),a.insert=a.strstart<2?a.strstart:2,l===Ge?(Xe(a,true),a.strm.avail_out===0?3:4):a.sym_next&&(Xe(a,false),a.strm.avail_out===0)?1:2};function lr(a,l,o,d,g){this.good_length=a,this.max_lazy=l,this.nice_length=o,this.max_chain=d,this.func=g;}var Yt=[new lr(0,0,0,0,Qo),new lr(4,4,8,4,ai),new lr(4,5,16,8,ai),new lr(4,6,32,32,ai),new lr(4,4,16,16,lt),new lr(8,16,32,32,lt),new lr(8,16,128,128,lt),new lr(8,32,128,256,lt),new lr(32,128,258,1024,lt),new lr(32,258,258,4096,lt)];function Lp(){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=ra,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),Cr(this.dyn_ltree),Cr(this.dyn_dtree),Cr(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),Cr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Cr(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 Wt=function(a){if(!a)return 1;var l=a.state;return !l||l.strm!==a||l.status!==ut&&l.status!==57&&l.status!==69&&l.status!==73&&l.status!==91&&l.status!==103&&l.status!==Vr&&l.status!==Zt?1:0},Jo=function(a){if(Wt(a))return Xr(a,ur);a.total_in=a.total_out=0,a.data_type=Fp;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?ut:Vr,a.adler=l.wrap===2?0:1,l.last_flush=-2,Ap(l),Se},$o=function(a){var l,o=Jo(a);return o===Se&&((l=a.state).window_size=2*l.w_size,Cr(l.head),l.max_lazy_match=Yt[l.level].max_lazy,l.good_match=Yt[l.level].good_length,l.nice_match=Yt[l.level].nice_length,l.max_chain_length=Yt[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),o},eu=function(a,l,o,d,g,v){if(!a)return ur;var D=1;if(l===Np&&(l=6),d<0?(D=0,d=-d):d>15&&(D=2,d-=16),g<1||g>9||o!==ra||d<8||d>15||l<0||l>9||v<0||v>Bp||d===8&&D!==1)return Xr(a,ur);d===8&&(d=9);var y=new Lp;return a.state=y,y.strm=a,y.status=ut,y.wrap=D,y.gzhead=null,y.w_bits=d,y.w_size=1<<y.w_bits,y.w_mask=y.w_size-1,y.hash_bits=g+7,y.hash_size=1<<y.hash_bits,y.hash_mask=y.hash_size-1,y.hash_shift=~~((y.hash_bits+3-1)/3),y.window=new Uint8Array(2*y.w_size),y.head=new Uint16Array(y.hash_size),y.prev=new Uint16Array(y.w_size),y.lit_bufsize=1<<g+6,y.pending_buf_size=4*y.lit_bufsize,y.pending_buf=new Uint8Array(y.pending_buf_size),y.sym_buf=y.lit_bufsize,y.sym_end=3*(y.lit_bufsize-1),y.level=l,y.strategy=v,y.method=o,$o(a)},Kt={deflateInit:function(a,l){return eu(a,l,ra,15,8,Rp)},deflateInit2:eu,deflateReset:$o,deflateResetKeep:Jo,deflateSetHeader:function(a,l){return Wt(a)||a.state.wrap!==2?ur:(a.state.gzhead=l,Se)},deflate:function(a,l){if(Wt(a)||l>Go||l<0)return a?Xr(a,ur):ur;var o=a.state;if(!a.output||a.avail_in!==0&&!a.input||o.status===Zt&&l!==Ge)return Xr(a,a.avail_out===0?ti:ur);var d=o.last_flush;if(o.last_flush=l,o.pending!==0){if(Ve(a),a.avail_out===0)return o.last_flush=-1,Se}else if(a.avail_in===0&&Wo(l)<=Wo(d)&&l!==Ge)return Xr(a,ti);if(o.status===Zt&&a.avail_in!==0)return Xr(a,ti);if(o.status===ut&&o.wrap===0&&(o.status=Vr),o.status===ut){var g=ra+(o.w_bits-8<<4)<<8;if(g|=(o.strategy>=ea||o.level<2?0:o.level<6?1:o.level===6?2:3)<<6,o.strstart!==0&&(g|=32),Gt(o,g+=31-g%31),o.strstart!==0&&(Gt(o,a.adler>>>16),Gt(o,65535&a.adler)),a.adler=1,o.status=Vr,Ve(a),o.pending!==0)return o.last_flush=-1,Se}if(o.status===57){if(a.adler=0,ce(o,31),ce(o,139),ce(o,8),o.gzhead)ce(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),ce(o,255&o.gzhead.time),ce(o,o.gzhead.time>>8&255),ce(o,o.gzhead.time>>16&255),ce(o,o.gzhead.time>>24&255),ce(o,o.level===9?2:o.strategy>=ea||o.level<2?4:0),ce(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(ce(o,255&o.gzhead.extra.length),ce(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(a.adler=Ce(a.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=69;else if(ce(o,0),ce(o,0),ce(o,0),ce(o,0),ce(o,0),ce(o,o.level===9?2:o.strategy>=ea||o.level<2?4:0),ce(o,3),o.status=Vr,Ve(a),o.pending!==0)return o.last_flush=-1,Se}if(o.status===69){if(o.gzhead.extra){for(var v=o.pending,D=(65535&o.gzhead.extra.length)-o.gzindex;o.pending+D>o.pending_buf_size;){var y=o.pending_buf_size-o.pending;if(o.pending_buf.set(o.gzhead.extra.subarray(o.gzindex,o.gzindex+y),o.pending),o.pending=o.pending_buf_size,o.gzhead.hcrc&&o.pending>v&&(a.adler=Ce(a.adler,o.pending_buf,o.pending-v,v)),o.gzindex+=y,Ve(a),o.pending!==0)return o.last_flush=-1,Se;v=0,D-=y;}var S=new Uint8Array(o.gzhead.extra);o.pending_buf.set(S.subarray(o.gzindex,o.gzindex+D),o.pending),o.pending+=D,o.gzhead.hcrc&&o.pending>v&&(a.adler=Ce(a.adler,o.pending_buf,o.pending-v,v)),o.gzindex=0;}o.status=73;}if(o.status===73){if(o.gzhead.name){var E,w=o.pending;do{if(o.pending===o.pending_buf_size){if(o.gzhead.hcrc&&o.pending>w&&(a.adler=Ce(a.adler,o.pending_buf,o.pending-w,w)),Ve(a),o.pending!==0)return o.last_flush=-1,Se;w=0;}E=o.gzindex<o.gzhead.name.length?255&o.gzhead.name.charCodeAt(o.gzindex++):0,ce(o,E);}while(E!==0);o.gzhead.hcrc&&o.pending>w&&(a.adler=Ce(a.adler,o.pending_buf,o.pending-w,w)),o.gzindex=0;}o.status=91;}if(o.status===91){if(o.gzhead.comment){var te,L=o.pending;do{if(o.pending===o.pending_buf_size){if(o.gzhead.hcrc&&o.pending>L&&(a.adler=Ce(a.adler,o.pending_buf,o.pending-L,L)),Ve(a),o.pending!==0)return o.last_flush=-1,Se;L=0;}te=o.gzindex<o.gzhead.comment.length?255&o.gzhead.comment.charCodeAt(o.gzindex++):0,ce(o,te);}while(te!==0);o.gzhead.hcrc&&o.pending>L&&(a.adler=Ce(a.adler,o.pending_buf,o.pending-L,L));}o.status=103;}if(o.status===103){if(o.gzhead.hcrc){if(o.pending+2>o.pending_buf_size&&(Ve(a),o.pending!==0))return o.last_flush=-1,Se;ce(o,255&a.adler),ce(o,a.adler>>8&255),a.adler=0;}if(o.status=Vr,Ve(a),o.pending!==0)return o.last_flush=-1,Se}if(a.avail_in!==0||o.lookahead!==0||l!==Tr&&o.status!==Zt){var A=o.level===0?Qo(o,l):o.strategy===ea?(function(R,$){for(var W;;){if(R.lookahead===0&&(st(R),R.lookahead===0)){if($===Tr)return 1;break}if(R.match_length=0,W=Ar(R,0,R.window[R.strstart]),R.lookahead--,R.strstart++,W&&(Xe(R,false),R.strm.avail_out===0))return 1}return R.insert=0,$===Ge?(Xe(R,true),R.strm.avail_out===0?3:4):R.sym_next&&(Xe(R,false),R.strm.avail_out===0)?1:2})(o,l):o.strategy===Pp?(function(R,$){for(var W,ne,I,N,V=R.window;;){if(R.lookahead<=jr){if(st(R),R.lookahead<=jr&&$===Tr)return 1;if(R.lookahead===0)break}if(R.match_length=0,R.lookahead>=3&&R.strstart>0&&(ne=V[I=R.strstart-1])===V[++I]&&ne===V[++I]&&ne===V[++I]){N=R.strstart+jr;do;while(ne===V[++I]&&ne===V[++I]&&ne===V[++I]&&ne===V[++I]&&ne===V[++I]&&ne===V[++I]&&ne===V[++I]&&ne===V[++I]&&I<N);R.match_length=jr-(N-I),R.match_length>R.lookahead&&(R.match_length=R.lookahead);}if(R.match_length>=3?(W=Ar(R,1,R.match_length-3),R.lookahead-=R.match_length,R.strstart+=R.match_length,R.match_length=0):(W=Ar(R,0,R.window[R.strstart]),R.lookahead--,R.strstart++),W&&(Xe(R,false),R.strm.avail_out===0))return 1}return R.insert=0,$===Ge?(Xe(R,true),R.strm.avail_out===0?3:4):R.sym_next&&(Xe(R,false),R.strm.avail_out===0)?1:2})(o,l):Yt[o.level].func(o,l);if(A!==3&&A!==4||(o.status=Zt),A===1||A===3)return a.avail_out===0&&(o.last_flush=-1),Se;if(A===2&&(l===_p?Cp(o):l!==Go&&(ri(o,0,0,false),l===Sp&&(Cr(o.head),o.lookahead===0&&(o.strstart=0,o.block_start=0,o.insert=0))),Ve(a),a.avail_out===0))return o.last_flush=-1,Se}return l!==Ge?Se:o.wrap<=0?Yo:(o.wrap===2?(ce(o,255&a.adler),ce(o,a.adler>>8&255),ce(o,a.adler>>16&255),ce(o,a.adler>>24&255),ce(o,255&a.total_in),ce(o,a.total_in>>8&255),ce(o,a.total_in>>16&255),ce(o,a.total_in>>24&255)):(Gt(o,a.adler>>>16),Gt(o,65535&a.adler)),Ve(a),o.wrap>0&&(o.wrap=-o.wrap),o.pending!==0?Se:Yo)},deflateEnd:function(a){if(Wt(a))return ur;var l=a.state.status;return a.state=null,l===Vr?Xr(a,Op):Se},deflateSetDictionary:function(a,l){var o=l.length;if(Wt(a))return ur;var d=a.state,g=d.wrap;if(g===2||g===1&&d.status!==ut||d.lookahead)return ur;if(g===1&&(a.adler=Ht(a.adler,l,o,0)),d.wrap=0,o>=d.w_size){g===0&&(Cr(d.head),d.strstart=0,d.block_start=0,d.insert=0);var v=new Uint8Array(d.w_size);v.set(l.subarray(o-d.w_size,o),0),l=v,o=d.w_size;}var D=a.avail_in,y=a.next_in,S=a.input;for(a.avail_in=o,a.next_in=0,a.input=l,st(d);d.lookahead>=3;){var E=d.strstart,w=d.lookahead-2;do d.ins_h=_r(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(--w);d.strstart=E,d.lookahead=2,st(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=y,a.input=S,a.avail_in=D,d.wrap=g,Se},deflateInfo:"pako deflate (from Nodeca project)"};function ii(a){return ii=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},ii(a)}var Mp=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},ru=function(a){for(var l=Array.prototype.slice.call(arguments,1);l.length;){var o=l.shift();if(o){if(ii(o)!=="object")throw new TypeError(o+"must be non-object");for(var d in o)Mp(o,d)&&(a[d]=o[d]);}}return a},tu=function(a){for(var l=0,o=0,d=a.length;o<d;o++)l+=a[o].length;for(var g=new Uint8Array(l),v=0,D=0,y=a.length;v<y;v++){var S=a[v];g.set(S,D),D+=S.length;}return g},nu=true;try{String.fromCharCode.apply(null,new Uint8Array(1));}catch{nu=false;}for(var Qt=new Uint8Array(256),Sr=0;Sr<256;Sr++)Qt[Sr]=Sr>=252?6:Sr>=248?5:Sr>=240?4:Sr>=224?3:Sr>=192?2:1;Qt[254]=Qt[254]=1;var oi=function(a){if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(a);var l,o,d,g,v,D=a.length,y=0;for(g=0;g<D;g++)(64512&(o=a.charCodeAt(g)))==55296&&g+1<D&&(64512&(d=a.charCodeAt(g+1)))==56320&&(o=65536+(o-55296<<10)+(d-56320),g++),y+=o<128?1:o<2048?2:o<65536?3:4;for(l=new Uint8Array(y),v=0,g=0;v<y;g++)(64512&(o=a.charCodeAt(g)))==55296&&g+1<D&&(64512&(d=a.charCodeAt(g+1)))==56320&&(o=65536+(o-55296<<10)+(d-56320),g++),o<128?l[v++]=o:o<2048?(l[v++]=192|o>>>6,l[v++]=128|63&o):o<65536?(l[v++]=224|o>>>12,l[v++]=128|o>>>6&63,l[v++]=128|63&o):(l[v++]=240|o>>>18,l[v++]=128|o>>>12&63,l[v++]=128|o>>>6&63,l[v++]=128|63&o);return l},qp=function(a,l){var o,d,g=l||a.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(a.subarray(0,l));var v=new Array(2*g);for(d=0,o=0;o<g;){var D=a[o++];if(D<128)v[d++]=D;else {var y=Qt[D];if(y>4)v[d++]=65533,o+=y-1;else {for(D&=y===2?31:y===3?15:7;y>1&&o<g;)D=D<<6|63&a[o++],y--;y>1?v[d++]=65533:D<65536?v[d++]=D:(D-=65536,v[d++]=55296|D>>10&1023,v[d++]=56320|1023&D);}}}return (function(S,E){if(E<65534&&S.subarray&&nu)return String.fromCharCode.apply(null,S.length===E?S:S.subarray(0,E));for(var w="",te=0;te<E;te++)w+=String.fromCharCode(S[te]);return w})(v,d)},Up=function(a,l){(l=l||a.length)>a.length&&(l=a.length);for(var o=l-1;o>=0&&(192&a[o])==128;)o--;return o<0||o===0?l:o+Qt[a[o]]>l?o:l},au=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;},iu=Object.prototype.toString,zp=H.Z_NO_FLUSH,jp=H.Z_SYNC_FLUSH,Vp=H.Z_FULL_FLUSH,Xp=H.Z_FINISH,ta=H.Z_OK,Hp=H.Z_STREAM_END,Zp=H.Z_DEFAULT_COMPRESSION,Gp=H.Z_DEFAULT_STRATEGY,Yp=H.Z_DEFLATED;function Jt(a){this.options=ru({level:Zp,method:Yp,chunkSize:16384,windowBits:15,memLevel:8,strategy:Gp},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 au,this.strm.avail_out=0;var o=Kt.deflateInit2(this.strm,l.level,l.method,l.windowBits,l.memLevel,l.strategy);if(o!==ta)throw new Error(zr[o]);if(l.header&&Kt.deflateSetHeader(this.strm,l.header),l.dictionary){var d;if(d=typeof l.dictionary=="string"?oi(l.dictionary):iu.call(l.dictionary)==="[object ArrayBuffer]"?new Uint8Array(l.dictionary):l.dictionary,(o=Kt.deflateSetDictionary(this.strm,d))!==ta)throw new Error(zr[o]);this._dict_set=true;}}function ui(a,l){var o=new Jt(l);if(o.push(a,true),o.err)throw o.msg||zr[o.err];return o.result}Jt.prototype.push=function(a,l){var o,d,g=this.strm,v=this.options.chunkSize;if(this.ended)return false;for(d=l===~~l?l:l===true?Xp:zp,typeof a=="string"?g.input=oi(a):iu.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(v),g.next_out=0,g.avail_out=v),(d===jp||d===Vp)&&g.avail_out<=6)this.onData(g.output.subarray(0,g.next_out)),g.avail_out=0;else {if((o=Kt.deflate(g,d))===Hp)return g.next_out>0&&this.onData(g.output.subarray(0,g.next_out)),o=Kt.deflateEnd(this.strm),this.onEnd(o),this.ended=true,o===ta;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},Jt.prototype.onData=function(a){this.chunks.push(a);},Jt.prototype.onEnd=function(a){a===ta&&(this.result=tu(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg;};var na={Deflate:Jt,deflate:ui,deflateRaw:function(a,l){return (l=l||{}).raw=true,ui(a,l)},gzip:function(a,l){return (l=l||{}).gzip=true,ui(a,l)}},aa=16209,Wp=function(a,l){var o,d,g,v,D,y,S,E,w,te,L,A,R,$,W,ne,I,N,V,ge,U,oe,ie,G,Q=a.state;o=a.next_in,ie=a.input,d=o+(a.avail_in-5),g=a.next_out,G=a.output,v=g-(l-a.avail_out),D=g+(a.avail_out-257),y=Q.dmax,S=Q.wsize,E=Q.whave,w=Q.wnext,te=Q.window,L=Q.hold,A=Q.bits,R=Q.lencode,$=Q.distcode,W=(1<<Q.lenbits)-1,ne=(1<<Q.distbits)-1;e:do{A<15&&(L+=ie[o++]<<A,A+=8,L+=ie[o++]<<A,A+=8),I=R[L&W];r:for(;;){if(L>>>=N=I>>>24,A-=N,(N=I>>>16&255)===0)G[g++]=65535&I;else {if(!(16&N)){if((64&N)==0){I=R[(65535&I)+(L&(1<<N)-1)];continue r}if(32&N){Q.mode=16191;break e}a.msg="invalid literal/length code",Q.mode=aa;break e}V=65535&I,(N&=15)&&(A<N&&(L+=ie[o++]<<A,A+=8),V+=L&(1<<N)-1,L>>>=N,A-=N),A<15&&(L+=ie[o++]<<A,A+=8,L+=ie[o++]<<A,A+=8),I=$[L&ne];t:for(;;){if(L>>>=N=I>>>24,A-=N,!(16&(N=I>>>16&255))){if((64&N)==0){I=$[(65535&I)+(L&(1<<N)-1)];continue t}a.msg="invalid distance code",Q.mode=aa;break e}if(ge=65535&I,A<(N&=15)&&(L+=ie[o++]<<A,(A+=8)<N&&(L+=ie[o++]<<A,A+=8)),(ge+=L&(1<<N)-1)>y){a.msg="invalid distance too far back",Q.mode=aa;break e}if(L>>>=N,A-=N,ge>(N=g-v)){if((N=ge-N)>E&&Q.sane){a.msg="invalid distance too far back",Q.mode=aa;break e}if(U=0,oe=te,w===0){if(U+=S-N,N<V){V-=N;do G[g++]=te[U++];while(--N);U=g-ge,oe=G;}}else if(w<N){if(U+=S+w-N,(N-=w)<V){V-=N;do G[g++]=te[U++];while(--N);if(U=0,w<V){V-=N=w;do G[g++]=te[U++];while(--N);U=g-ge,oe=G;}}}else if(U+=w-N,N<V){V-=N;do G[g++]=te[U++];while(--N);U=g-ge,oe=G;}for(;V>2;)G[g++]=oe[U++],G[g++]=oe[U++],G[g++]=oe[U++],V-=3;V&&(G[g++]=oe[U++],V>1&&(G[g++]=oe[U++]));}else {U=g-ge;do G[g++]=G[U++],G[g++]=G[U++],G[g++]=G[U++],V-=3;while(V>2);V&&(G[g++]=G[U++],V>1&&(G[g++]=G[U++]));}break}}break}}while(o<d&&g<D);o-=V=A>>3,L&=(1<<(A-=V<<3))-1,a.next_in=o,a.next_out=g,a.avail_in=o<d?d-o+5:5-(o-d),a.avail_out=g<D?D-g+257:257-(g-D),Q.hold=L,Q.bits=A;},ia=15,Kp=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]),Qp=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]),Jp=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]),$p=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]),$t=function(a,l,o,d,g,v,D,y){var S,E,w,te,L,A,R,$,W,ne=y.bits,I=0,N=0,V=0,ge=0,U=0,oe=0,ie=0,G=0,Q=0,de=0,Gr=null,Or=new Uint16Array(16),pa=new Uint16Array(16),ha=null;for(I=0;I<=ia;I++)Or[I]=0;for(N=0;N<d;N++)Or[l[o+N]]++;for(U=ne,ge=ia;ge>=1&&Or[ge]===0;ge--);if(U>ge&&(U=ge),ge===0)return g[v++]=20971520,g[v++]=20971520,y.bits=1,0;for(V=1;V<ge&&Or[V]===0;V++);for(U<V&&(U=V),G=1,I=1;I<=ia;I++)if(G<<=1,(G-=Or[I])<0)return -1;if(G>0&&(a===0||ge!==1))return -1;for(pa[1]=0,I=1;I<ia;I++)pa[I+1]=pa[I]+Or[I];for(N=0;N<d;N++)l[o+N]!==0&&(D[pa[l[o+N]]++]=N);if(a===0?(Gr=ha=D,A=20):a===1?(Gr=Kp,ha=Qp,A=257):(Gr=Jp,ha=$p,A=0),de=0,N=0,I=V,L=v,oe=U,ie=0,w=-1,te=(Q=1<<U)-1,a===1&&Q>852||a===2&&Q>592)return 1;for(;;){R=I-ie,D[N]+1<A?($=0,W=D[N]):D[N]>=A?($=ha[D[N]-A],W=Gr[D[N]-A]):($=96,W=0),S=1<<I-ie,V=E=1<<oe;do g[L+(de>>ie)+(E-=S)]=R<<24|$<<16|W|0;while(E!==0);for(S=1<<I-1;de&S;)S>>=1;if(S!==0?(de&=S-1,de+=S):de=0,N++,--Or[I]==0){if(I===ge)break;I=l[o+D[N]];}if(I>U&&(de&te)!==w){for(ie===0&&(ie=U),L+=V,G=1<<(oe=I-ie);oe+ie<ge&&!((G-=Or[oe+ie])<=0);)oe++,G<<=1;if(Q+=1<<oe,a===1&&Q>852||a===2&&Q>592)return 1;g[w=de&te]=U<<24|oe<<16|L-v|0;}}return de!==0&&(g[L+de]=I-ie<<24|64<<16|0),y.bits=U,0},ou=H.Z_FINISH,eh=H.Z_BLOCK,oa=H.Z_TREES,Hr=H.Z_OK,rh=H.Z_STREAM_END,th=H.Z_NEED_DICT,rr=H.Z_STREAM_ERROR,uu=H.Z_DATA_ERROR,su=H.Z_MEM_ERROR,nh=H.Z_BUF_ERROR,lu=H.Z_DEFLATED,ua=16180,sa=16190,vr=16191,si=16192,li=16194,la=16199,ca=16200,ci=16206,me=16209,cu=function(a){return (a>>>24&255)+(a>>>8&65280)+((65280&a)<<8)+((255&a)<<24)};function ah(){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 fi,pi,Zr=function(a){if(!a)return 1;var l=a.state;return !l||l.strm!==a||l.mode<ua||l.mode>16211?1:0},fu=function(a){if(Zr(a))return rr;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=ua,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,Hr},pu=function(a){if(Zr(a))return rr;var l=a.state;return l.wsize=0,l.whave=0,l.wnext=0,fu(a)},hu=function(a,l){var o;if(Zr(a))return rr;var d=a.state;return l<0?(o=0,l=-l):(o=5+(l>>4),l<48&&(l&=15)),l&&(l<8||l>15)?rr:(d.window!==null&&d.wbits!==l&&(d.window=null),d.wrap=o,d.wbits=l,pu(a))},du=function(a,l){if(!a)return rr;var o=new ah;a.state=o,o.strm=a,o.window=null,o.mode=ua;var d=hu(a,l);return d!==Hr&&(a.state=null),d},gu=true,ih=function(a){if(gu){fi=new Int32Array(512),pi=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($t(1,a.lens,0,288,fi,0,a.work,{bits:9}),l=0;l<32;)a.lens[l++]=5;$t(2,a.lens,0,32,pi,0,a.work,{bits:5}),gu=false;}a.lencode=fi,a.lenbits=9,a.distcode=pi,a.distbits=5;},vu=function(a,l,o,d){var g,v=a.state;return v.window===null&&(v.wsize=1<<v.wbits,v.wnext=0,v.whave=0,v.window=new Uint8Array(v.wsize)),d>=v.wsize?(v.window.set(l.subarray(o-v.wsize,o),0),v.wnext=0,v.whave=v.wsize):((g=v.wsize-v.wnext)>d&&(g=d),v.window.set(l.subarray(o-d,o-d+g),v.wnext),(d-=g)?(v.window.set(l.subarray(o-d,o),0),v.wnext=d,v.whave=v.wsize):(v.wnext+=g,v.wnext===v.wsize&&(v.wnext=0),v.whave<v.wsize&&(v.whave+=g))),0},mr={inflateReset:pu,inflateReset2:hu,inflateResetKeep:fu,inflateInit:function(a){return du(a,15)},inflateInit2:du,inflate:function(a,l){var o,d,g,v,D,y,S,E,w,te,L,A,R,$,W,ne,I,N,V,ge,U,oe,ie,G,Q=0,de=new Uint8Array(4),Gr=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 rr;(o=a.state).mode===vr&&(o.mode=si),D=a.next_out,g=a.output,S=a.avail_out,v=a.next_in,d=a.input,y=a.avail_in,E=o.hold,w=o.bits,te=y,L=S,oe=Hr;e:for(;;)switch(o.mode){case ua:if(o.wrap===0){o.mode=si;break}for(;w<16;){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}if(2&o.wrap&&E===35615){o.wbits===0&&(o.wbits=15),o.check=0,de[0]=255&E,de[1]=E>>>8&255,o.check=Ce(o.check,de,2,0),E=0,w=0,o.mode=16181;break}if(o.head&&(o.head.done=false),!(1&o.wrap)||(((255&E)<<8)+(E>>8))%31){a.msg="incorrect header check",o.mode=me;break}if((15&E)!==lu){a.msg="unknown compression method",o.mode=me;break}if(w-=4,U=8+(15&(E>>>=4)),o.wbits===0&&(o.wbits=U),U>15||U>o.wbits){a.msg="invalid window size",o.mode=me;break}o.dmax=1<<o.wbits,o.flags=0,a.adler=o.check=1,o.mode=512&E?16189:vr,E=0,w=0;break;case 16181:for(;w<16;){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}if(o.flags=E,(255&o.flags)!==lu){a.msg="unknown compression method",o.mode=me;break}if(57344&o.flags){a.msg="unknown header flags set",o.mode=me;break}o.head&&(o.head.text=E>>8&1),512&o.flags&&4&o.wrap&&(de[0]=255&E,de[1]=E>>>8&255,o.check=Ce(o.check,de,2,0)),E=0,w=0,o.mode=16182;case 16182:for(;w<32;){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}o.head&&(o.head.time=E),512&o.flags&&4&o.wrap&&(de[0]=255&E,de[1]=E>>>8&255,de[2]=E>>>16&255,de[3]=E>>>24&255,o.check=Ce(o.check,de,4,0)),E=0,w=0,o.mode=16183;case 16183:for(;w<16;){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}o.head&&(o.head.xflags=255&E,o.head.os=E>>8),512&o.flags&&4&o.wrap&&(de[0]=255&E,de[1]=E>>>8&255,o.check=Ce(o.check,de,2,0)),E=0,w=0,o.mode=16184;case 16184:if(1024&o.flags){for(;w<16;){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}o.length=E,o.head&&(o.head.extra_len=E),512&o.flags&&4&o.wrap&&(de[0]=255&E,de[1]=E>>>8&255,o.check=Ce(o.check,de,2,0)),E=0,w=0;}else o.head&&(o.head.extra=null);o.mode=16185;case 16185:if(1024&o.flags&&((A=o.length)>y&&(A=y),A&&(o.head&&(U=o.head.extra_len-o.length,o.head.extra||(o.head.extra=new Uint8Array(o.head.extra_len)),o.head.extra.set(d.subarray(v,v+A),U)),512&o.flags&&4&o.wrap&&(o.check=Ce(o.check,d,A,v)),y-=A,v+=A,o.length-=A),o.length))break e;o.length=0,o.mode=16186;case 16186:if(2048&o.flags){if(y===0)break e;A=0;do U=d[v+A++],o.head&&U&&o.length<65536&&(o.head.name+=String.fromCharCode(U));while(U&&A<y);if(512&o.flags&&4&o.wrap&&(o.check=Ce(o.check,d,A,v)),y-=A,v+=A,U)break e}else o.head&&(o.head.name=null);o.length=0,o.mode=16187;case 16187:if(4096&o.flags){if(y===0)break e;A=0;do U=d[v+A++],o.head&&U&&o.length<65536&&(o.head.comment+=String.fromCharCode(U));while(U&&A<y);if(512&o.flags&&4&o.wrap&&(o.check=Ce(o.check,d,A,v)),y-=A,v+=A,U)break e}else o.head&&(o.head.comment=null);o.mode=16188;case 16188:if(512&o.flags){for(;w<16;){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}if(4&o.wrap&&E!==(65535&o.check)){a.msg="header crc mismatch",o.mode=me;break}E=0,w=0;}o.head&&(o.head.hcrc=o.flags>>9&1,o.head.done=true),a.adler=o.check=0,o.mode=vr;break;case 16189:for(;w<32;){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}a.adler=o.check=cu(E),E=0,w=0,o.mode=sa;case sa:if(o.havedict===0)return a.next_out=D,a.avail_out=S,a.next_in=v,a.avail_in=y,o.hold=E,o.bits=w,th;a.adler=o.check=1,o.mode=vr;case vr:if(l===eh||l===oa)break e;case si:if(o.last){E>>>=7&w,w-=7&w,o.mode=ci;break}for(;w<3;){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}switch(o.last=1&E,w-=1,3&(E>>>=1)){case 0:o.mode=16193;break;case 1:if(ih(o),o.mode=la,l===oa){E>>>=2,w-=2;break e}break;case 2:o.mode=16196;break;case 3:a.msg="invalid block type",o.mode=me;}E>>>=2,w-=2;break;case 16193:for(E>>>=7&w,w-=7&w;w<32;){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}if((65535&E)!=(E>>>16^65535)){a.msg="invalid stored block lengths",o.mode=me;break}if(o.length=65535&E,E=0,w=0,o.mode=li,l===oa)break e;case li:o.mode=16195;case 16195:if(A=o.length){if(A>y&&(A=y),A>S&&(A=S),A===0)break e;g.set(d.subarray(v,v+A),D),y-=A,v+=A,S-=A,D+=A,o.length-=A;break}o.mode=vr;break;case 16196:for(;w<14;){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}if(o.nlen=257+(31&E),E>>>=5,w-=5,o.ndist=1+(31&E),E>>>=5,w-=5,o.ncode=4+(15&E),E>>>=4,w-=4,o.nlen>286||o.ndist>30){a.msg="too many length or distance symbols",o.mode=me;break}o.have=0,o.mode=16197;case 16197:for(;o.have<o.ncode;){for(;w<3;){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}o.lens[Gr[o.have++]]=7&E,E>>>=3,w-=3;}for(;o.have<19;)o.lens[Gr[o.have++]]=0;if(o.lencode=o.lendyn,o.lenbits=7,ie={bits:o.lenbits},oe=$t(0,o.lens,0,19,o.lencode,0,o.work,ie),o.lenbits=ie.bits,oe){a.msg="invalid code lengths set",o.mode=me;break}o.have=0,o.mode=16198;case 16198:for(;o.have<o.nlen+o.ndist;){for(;ne=(Q=o.lencode[E&(1<<o.lenbits)-1])>>>16&255,I=65535&Q,!((W=Q>>>24)<=w);){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}if(I<16)E>>>=W,w-=W,o.lens[o.have++]=I;else {if(I===16){for(G=W+2;w<G;){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}if(E>>>=W,w-=W,o.have===0){a.msg="invalid bit length repeat",o.mode=me;break}U=o.lens[o.have-1],A=3+(3&E),E>>>=2,w-=2;}else if(I===17){for(G=W+3;w<G;){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}w-=W,U=0,A=3+(7&(E>>>=W)),E>>>=3,w-=3;}else {for(G=W+7;w<G;){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}w-=W,U=0,A=11+(127&(E>>>=W)),E>>>=7,w-=7;}if(o.have+A>o.nlen+o.ndist){a.msg="invalid bit length repeat",o.mode=me;break}for(;A--;)o.lens[o.have++]=U;}}if(o.mode===me)break;if(o.lens[256]===0){a.msg="invalid code -- missing end-of-block",o.mode=me;break}if(o.lenbits=9,ie={bits:o.lenbits},oe=$t(1,o.lens,0,o.nlen,o.lencode,0,o.work,ie),o.lenbits=ie.bits,oe){a.msg="invalid literal/lengths set",o.mode=me;break}if(o.distbits=6,o.distcode=o.distdyn,ie={bits:o.distbits},oe=$t(2,o.lens,o.nlen,o.ndist,o.distcode,0,o.work,ie),o.distbits=ie.bits,oe){a.msg="invalid distances set",o.mode=me;break}if(o.mode=la,l===oa)break e;case la:o.mode=ca;case ca:if(y>=6&&S>=258){a.next_out=D,a.avail_out=S,a.next_in=v,a.avail_in=y,o.hold=E,o.bits=w,Wp(a,L),D=a.next_out,g=a.output,S=a.avail_out,v=a.next_in,d=a.input,y=a.avail_in,E=o.hold,w=o.bits,o.mode===vr&&(o.back=-1);break}for(o.back=0;ne=(Q=o.lencode[E&(1<<o.lenbits)-1])>>>16&255,I=65535&Q,!((W=Q>>>24)<=w);){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}if(ne&&(240&ne)==0){for(N=W,V=ne,ge=I;ne=(Q=o.lencode[ge+((E&(1<<N+V)-1)>>N)])>>>16&255,I=65535&Q,!(N+(W=Q>>>24)<=w);){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}E>>>=N,w-=N,o.back+=N;}if(E>>>=W,w-=W,o.back+=W,o.length=I,ne===0){o.mode=16205;break}if(32&ne){o.back=-1,o.mode=vr;break}if(64&ne){a.msg="invalid literal/length code",o.mode=me;break}o.extra=15&ne,o.mode=16201;case 16201:if(o.extra){for(G=o.extra;w<G;){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}o.length+=E&(1<<o.extra)-1,E>>>=o.extra,w-=o.extra,o.back+=o.extra;}o.was=o.length,o.mode=16202;case 16202:for(;ne=(Q=o.distcode[E&(1<<o.distbits)-1])>>>16&255,I=65535&Q,!((W=Q>>>24)<=w);){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}if((240&ne)==0){for(N=W,V=ne,ge=I;ne=(Q=o.distcode[ge+((E&(1<<N+V)-1)>>N)])>>>16&255,I=65535&Q,!(N+(W=Q>>>24)<=w);){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}E>>>=N,w-=N,o.back+=N;}if(E>>>=W,w-=W,o.back+=W,64&ne){a.msg="invalid distance code",o.mode=me;break}o.offset=I,o.extra=15&ne,o.mode=16203;case 16203:if(o.extra){for(G=o.extra;w<G;){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}o.offset+=E&(1<<o.extra)-1,E>>>=o.extra,w-=o.extra,o.back+=o.extra;}if(o.offset>o.dmax){a.msg="invalid distance too far back",o.mode=me;break}o.mode=16204;case 16204:if(S===0)break e;if(A=L-S,o.offset>A){if((A=o.offset-A)>o.whave&&o.sane){a.msg="invalid distance too far back",o.mode=me;break}A>o.wnext?(A-=o.wnext,R=o.wsize-A):R=o.wnext-A,A>o.length&&(A=o.length),$=o.window;}else $=g,R=D-o.offset,A=o.length;A>S&&(A=S),S-=A,o.length-=A;do g[D++]=$[R++];while(--A);o.length===0&&(o.mode=ca);break;case 16205:if(S===0)break e;g[D++]=o.length,S--,o.mode=ca;break;case ci:if(o.wrap){for(;w<32;){if(y===0)break e;y--,E|=d[v++]<<w,w+=8;}if(L-=S,a.total_out+=L,o.total+=L,4&o.wrap&&L&&(a.adler=o.check=o.flags?Ce(o.check,g,L,D-L):Ht(o.check,g,L,D-L)),L=S,4&o.wrap&&(o.flags?E:cu(E))!==o.check){a.msg="incorrect data check",o.mode=me;break}E=0,w=0;}o.mode=16207;case 16207:if(o.wrap&&o.flags){for(;w<32;){if(y===0)break e;y--,E+=d[v++]<<w,w+=8;}if(4&o.wrap&&E!==(4294967295&o.total)){a.msg="incorrect length check",o.mode=me;break}E=0,w=0;}o.mode=16208;case 16208:oe=rh;break e;case me:oe=uu;break e;case 16210:return su;default:return rr}return a.next_out=D,a.avail_out=S,a.next_in=v,a.avail_in=y,o.hold=E,o.bits=w,(o.wsize||L!==a.avail_out&&o.mode<me&&(o.mode<ci||l!==ou))&&vu(a,a.output,a.next_out,L-a.avail_out),te-=a.avail_in,L-=a.avail_out,a.total_in+=te,a.total_out+=L,o.total+=L,4&o.wrap&&L&&(a.adler=o.check=o.flags?Ce(o.check,g,L,a.next_out-L):Ht(o.check,g,L,a.next_out-L)),a.data_type=o.bits+(o.last?64:0)+(o.mode===vr?128:0)+(o.mode===la||o.mode===li?256:0),(te===0&&L===0||l===ou)&&oe===Hr&&(oe=nh),oe},inflateEnd:function(a){if(Zr(a))return rr;var l=a.state;return l.window&&(l.window=null),a.state=null,Hr},inflateGetHeader:function(a,l){if(Zr(a))return rr;var o=a.state;return (2&o.wrap)==0?rr:(o.head=l,l.done=false,Hr)},inflateSetDictionary:function(a,l){var o,d=l.length;return Zr(a)||(o=a.state).wrap!==0&&o.mode!==sa?rr:o.mode===sa&&Ht(1,l,d,0)!==o.check?uu:vu(a,l,d,d)?(o.mode=16210,su):(o.havedict=1,Hr)},inflateInfo:"pako inflate (from Nodeca project)"},oh=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;},mu=Object.prototype.toString,uh=H.Z_NO_FLUSH,sh=H.Z_FINISH,en=H.Z_OK,hi=H.Z_STREAM_END,di=H.Z_NEED_DICT,lh=H.Z_STREAM_ERROR,yu=H.Z_DATA_ERROR,ch=H.Z_MEM_ERROR;function rn(a){this.options=ru({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 au,this.strm.avail_out=0;var o=mr.inflateInit2(this.strm,l.windowBits);if(o!==en)throw new Error(zr[o]);if(this.header=new oh,mr.inflateGetHeader(this.strm,this.header),l.dictionary&&(typeof l.dictionary=="string"?l.dictionary=oi(l.dictionary):mu.call(l.dictionary)==="[object ArrayBuffer]"&&(l.dictionary=new Uint8Array(l.dictionary)),l.raw&&(o=mr.inflateSetDictionary(this.strm,l.dictionary))!==en))throw new Error(zr[o])}function gi(a,l){var o=new rn(l);if(o.push(a),o.err)throw o.msg||zr[o.err];return o.result}rn.prototype.push=function(a,l){var o,d,g,v=this.strm,D=this.options.chunkSize,y=this.options.dictionary;if(this.ended)return false;for(d=l===~~l?l:l===true?sh:uh,mu.call(a)==="[object ArrayBuffer]"?v.input=new Uint8Array(a):v.input=a,v.next_in=0,v.avail_in=v.input.length;;){for(v.avail_out===0&&(v.output=new Uint8Array(D),v.next_out=0,v.avail_out=D),(o=mr.inflate(v,d))===di&&y&&((o=mr.inflateSetDictionary(v,y))===en?o=mr.inflate(v,d):o===yu&&(o=di));v.avail_in>0&&o===hi&&v.state.wrap>0&&a[v.next_in]!==0;)mr.inflateReset(v),o=mr.inflate(v,d);switch(o){case lh:case yu:case di:case ch:return this.onEnd(o),this.ended=true,false}if(g=v.avail_out,v.next_out&&(v.avail_out===0||o===hi))if(this.options.to==="string"){var S=Up(v.output,v.next_out),E=v.next_out-S,w=qp(v.output,S);v.next_out=E,v.avail_out=D-E,E&&v.output.set(v.output.subarray(S,S+E),0),this.onData(w);}else this.onData(v.output.length===v.next_out?v.output:v.output.subarray(0,v.next_out));if(o!==en||g!==0){if(o===hi)return o=mr.inflateEnd(this.strm),this.onEnd(o),this.ended=true,true;if(v.avail_in===0)break}}return true},rn.prototype.onData=function(a){this.chunks.push(a);},rn.prototype.onEnd=function(a){a===en&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=tu(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg;};var fa={Inflate:rn,inflate:gi,inflateRaw:function(a,l){return (l=l||{}).raw=true,gi(a,l)},ungzip:gi},Eu=na.Deflate,bu=na.deflate,wu=na.deflateRaw,xu=na.gzip,Du=fa.Inflate,Au=fa.inflate,Tu=fa.inflateRaw,Cu=fa.ungzip,_u=H,fh={Deflate:Eu,deflate:bu,deflateRaw:wu,gzip:xu,Inflate:Du,inflate:Au,inflateRaw:Tu,ungzip:Cu,constants:_u};e.Deflate=Eu,e.Inflate=Du,e.constants=_u,e.default=fh,e.deflate=bu,e.deflateRaw=wu,e.gzip=xu,e.inflate=Au,e.inflateRaw=Tu,e.ungzip=Cu,Object.defineProperty(e,"__esModule",{value:true});}));});var Ru=b(ct=>{var Pu=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",Bu=Iu();ct.uncompressInputType=Pu?"uint8array":"array";ct.compressInputType=Pu?"uint8array":"array";ct.magic="\b\0";ct.compress=function(e,r){return Bu.deflateRaw(e,{level:r.level||-1})};ct.uncompress=function(e){return Bu.inflateRaw(e)};});var va=b(Ei=>{Ei.STORE={magic:"\0\0",compress:function(r){return r},uncompress:function(r){return r},compressInputType:null,uncompressInputType:null};Ei.DEFLATE=Ru();});var ma=b((e1,bi)=>{bi.exports=function(e,r){return typeof e=="number"?Buffer.alloc(e):Buffer.from(e,r)};bi.exports.test=function(e){return Buffer.isBuffer(e)};});var Ye=b(Oe=>{function ba(e){"@babel/helpers - typeof";return ba=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},ba(e)}var Ea=Yr(),ya=va(),ft=ma();Oe.string2binary=function(e){for(var r="",t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)&255);return r};Oe.arrayBuffer2Blob=function(e,r){Oe.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 tn(e){return e}function wi(e,r){for(var t=0;t<e.length;++t)r[t]=e.charCodeAt(t)&255;return r}function nn(e){var r=65536,t=[],n=e.length,i=Oe.getTypeOf(e),u=0,s=true;try{switch(i){case "uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case "nodebuffer":String.fromCharCode.apply(null,ft(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{i==="array"||i==="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("")}Oe.applyFromCharCode=nn;function wa(e,r){for(var t=0;t<e.length;t++)r[t]=e[t];return r}var Ir={};Ir.string={string:tn,array:function(r){return wi(r,new Array(r.length))},arraybuffer:function(r){return Ir.string.uint8array(r).buffer},uint8array:function(r){return wi(r,new Uint8Array(r.length))},nodebuffer:function(r){return wi(r,ft(r.length))}};Ir.array={string:nn,array:tn,arraybuffer:function(r){return new Uint8Array(r).buffer},uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return ft(r)}};Ir.arraybuffer={string:function(r){return nn(new Uint8Array(r))},array:function(r){return wa(new Uint8Array(r),new Array(r.byteLength))},arraybuffer:tn,uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return ft(new Uint8Array(r))}};Ir.uint8array={string:nn,array:function(r){return wa(r,new Array(r.length))},arraybuffer:function(r){return r.buffer},uint8array:tn,nodebuffer:function(r){return ft(r)}};Ir.nodebuffer={string:nn,array:function(r){return wa(r,new Array(r.length))},arraybuffer:function(r){return Ir.nodebuffer.uint8array(r).buffer},uint8array:function(r){return wa(r,new Uint8Array(r.length))},nodebuffer:tn};Oe.transformTo=function(e,r){if(r||(r=""),!e)return r;Oe.checkSupport(e);var t=Oe.getTypeOf(r),n=Ir[t][e](r);return n};Oe.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(Ea.nodebuffer&&ft.test(e))return "nodebuffer";if(Ea.uint8array&&r==="[object Uint8Array]")return "uint8array";if(Ea.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(ba(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(ba(e)==="object"&&e.crc32==null)throw new Error("Unsupported data given to new PizZip(data) (object given)")}};Oe.checkSupport=function(e){var r=Ea[e.toLowerCase()];if(!r)throw new Error(e+" is not supported by this browser")};Oe.MAX_VALUE_16BITS=65535;Oe.MAX_VALUE_32BITS=-1;Oe.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};Oe.findCompression=function(e){for(var r in ya)if(ya.hasOwnProperty(r)&&ya[r].magic===e)return ya[r];return null};Oe.isRegExp=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"};Oe.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 ku=b((t1,Fu)=>{var ph=Ye(),hh=[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];Fu.exports=function(r,t){if(typeof r>"u"||!r.length)return 0;var n=ph.getTypeOf(r)!=="string";typeof t>"u"&&(t=0);var i=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,i=hh[u],t=t>>>8^i;return t^-1};});var xi=b(Wr=>{Wr.LOCAL_FILE_HEADER="PK";Wr.CENTRAL_FILE_HEADER="PK";Wr.CENTRAL_DIRECTORY_END="PK";Wr.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07";Wr.ZIP64_CENTRAL_DIRECTORY_END="PK";Wr.DATA_DESCRIPTOR="PK\x07\b";});var Di=b(nr=>{nr.base64=false;nr.binary=false;nr.dir=false;nr.createFolders=false;nr.date=null;nr.compression=null;nr.compressionOptions=null;nr.comment=null;nr.unixPermissions=null;nr.dosPermissions=null;});var Ai=b((i1,Mu)=>{function Lu(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null;}Lu.prototype={getContent:function(){return null},getCompressedContent:function(){return null}};Mu.exports=Lu;});var _i=b(Ci=>{var Ti=Ye(),an=Yr(),dh=ma(),on=new Array(256);for(yr=0;yr<256;yr++)on[yr]=yr>=252?6:yr>=248?5:yr>=240?4:yr>=224?3:yr>=192?2:1;var yr;on[254]=on[254]=1;function gh(e){var r,t,n,i,u,s=0,c=e.length;for(i=0;i<c;i++)t=e.charCodeAt(i),(t&64512)===55296&&i+1<c&&(n=e.charCodeAt(i+1),(n&64512)===56320&&(t=65536+(t-55296<<10)+(n-56320),i++)),s+=t<128?1:t<2048?2:t<65536?3:4;for(an.uint8array?r=new Uint8Array(s):r=new Array(s),u=0,i=0;u<s;i++)t=e.charCodeAt(i),(t&64512)===55296&&i+1<c&&(n=e.charCodeAt(i+1),(n&64512)===56320&&(t=65536+(t-55296<<10)+(n-56320),i++)),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 vh(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+on[e[t]]>r?t:r}function qu(e){var r,t,n,i,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(i=on[n],i>4){s[t++]=65533,r+=i-1;continue}for(n&=i===2?31:i===3?15:7;i>1&&r<u;)n=n<<6|e[r++]&63,i--;if(i>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),Ti.applyFromCharCode(s)}Ci.utf8encode=function(r){return an.nodebuffer?dh(r,"utf-8"):gh(r)};Ci.utf8decode=function(r){if(an.nodebuffer)return Ti.transformTo("nodebuffer",r).toString("utf-8");r=Ti.transformTo(an.uint8array?"uint8array":"array",r);for(var t=[],n=r.length,i=65536,u=0;u<n;){var s=vh(r,Math.min(u+i,n));an.uint8array?t.push(qu(r.subarray(u,s))):t.push(qu(r.slice(u,s))),u=s;}return t.join("")};});var ju=b((u1,zu)=>{var mh=Ye();function Uu(){this.data=[];}Uu.prototype={append:function(r){r=mh.transformTo("string",r),this.data.push(r);},finalize:function(){return this.data.join("")}};zu.exports=Uu;});var Hu=b((s1,Xu)=>{var yh=Ye();function Vu(e){this.data=new Uint8Array(e),this.index=0;}Vu.prototype={append:function(r){r.length!==0&&(r=yh.transformTo("uint8array",r),this.data.set(r,this.index),this.index+=r.length);},finalize:function(){return this.data}};Xu.exports=Vu;});var Ri=b((l1,$u)=>{function Eh(e,r){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=bh(e))||r){t&&(e=t);var n=0,i=function(){};return {s:i,n:function(){return n>=e.length?{done:true}:{done:false,value:e[n++]}},e:function(p){throw p},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
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 p=t.next();return s=p.done,p},e:function(p){c=true,u=p;},f:function(){try{s||t.return==null||t.return();}finally{if(c)throw u}}}}function bh(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 wh=Yr(),ve=Ye(),Pi=ku(),Si=xi(),xh=Di(),Yu=da(),Oi=va(),xa=Ai(),Dh=ma(),pt=_i(),Ah=ju(),Th=Hu();function Wu(e){if(e._data instanceof xa&&(e._data=e._data.getContent(),e.options.binary=true,e.options.base64=false,ve.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 Ni(e){var r=Wu(e),t=ve.getTypeOf(r);return t==="string"?!e.options.binary&&wh.nodebuffer?Dh(r,"utf-8"):e.asBinary():r}var Ii={load:function(){throw new Error("Load method is not defined. Is the file pizzip-load.js included ?")},filter:function(r){var t=[],n,i,u,s;for(n in this.files)this.files.hasOwnProperty(n)&&(u=this.files[n],s=new Bi(u.name,u._data,ve.extend(u.options)),i=n.slice(this.root.length,n.length),n.slice(0,this.root.length)===this.root&&r(i,s)&&t.push(s));return t},file:function(r,t,n){if(arguments.length===1){if(ve.isRegExp(r)){var i=r;return this.filter(function(u,s){return !s.dir&&i.test(u)})}return this.filter(function(u,s){return !s.dir&&u===r})[0]||null}return r=this.root+r,Ku.call(this,r,t,n),this},folder:function(r){if(!r)return this;if(ve.isRegExp(r))return this.filter(function(u,s){return s.dir&&r.test(u)});var t=this.root+r,n=Ju.call(this,t),i=this.shallowClone();return i.root=n.name,i},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}),i=0;i<n.length;i++)delete this.files[n[i].name];return this},generate:function(r){r=ve.extend(r||{},{base64:true,compression:"STORE",compressionOptions:null,type:"base64",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:pt.utf8encode}),ve.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=ve.transformTo("string",r.encodeFileName(r.comment||this.comment||"")),i=0,u=0,s,c,f=[];r.fileOrder instanceof Array&&(f=r.fileOrder);for(var p in this.files)f.indexOf(p)===-1&&f.push(p);typeof r.fileOrder=="function"&&(f=r.fileOrder(this.files));var h=Eh(f),m;try{for(h.s();!(m=h.n()).done;){var b=m.value;if(this.files.hasOwnProperty(b)){var x=this.files[b],T=x.options.compression||r.compression.toUpperCase(),_=Oi[T];if(!_)throw new Error(T+" is not a valid compression method !");var C=x.options.compressionOptions||r.compressionOptions||{},O=Sh.call(this,x,_,C),P=Ih.call(this,b,x,O,i,r.platform,r.encodeFileName);i+=P.fileRecord.length+O.compressedSize,u+=P.dirRecord.length,t.push(P);}}}catch(j){h.e(j);}finally{h.f();}var k="";k=Si.CENTRAL_DIRECTORY_END+"\0\0\0\0"+Ee(t.length,2)+Ee(t.length,2)+Ee(u,4)+Ee(i,4)+Ee(n.length,2)+n;var B=r.type.toLowerCase();for(B==="uint8array"||B==="arraybuffer"||B==="blob"||B==="nodebuffer"?s=new Th(i+u+k.length):s=new Ah(i+u+k.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(k);var z=s.finalize();switch(r.type.toLowerCase()){case "uint8array":case "arraybuffer":case "nodebuffer":return ve.transformTo(r.type.toLowerCase(),z);case "blob":return ve.arrayBuffer2Blob(ve.transformTo("arraybuffer",z),r.mimeType);case "base64":return r.base64?Yu.encode(z):z;default:return z}},crc32:function(r,t){return Pi(r,t)},utf8encode:function(r){return ve.transformTo("string",pt.utf8encode(r))},utf8decode:function(r){return pt.utf8decode(r)}};function Gu(e){var r=Wu(this);return r===null||typeof r>"u"?"":(this.options.base64&&(r=Yu.decode(r)),e&&this.options.binary?r=Ii.utf8decode(r):r=ve.transformTo("string",r),!e&&!this.options.binary&&(r=ve.transformTo("string",Ii.utf8encode(r))),r)}function Bi(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};}Bi.prototype={asText:function(){return Gu.call(this,true)},asBinary:function(){return Gu.call(this,false)},asNodeBuffer:function(){var r=Ni(this);return ve.transformTo("nodebuffer",r)},asUint8Array:function(){var r=Ni(this);return ve.transformTo("uint8array",r)},asArrayBuffer:function(){return this.asUint8Array().buffer}};function Ee(e,r){var t="",n;for(n=0;n<r;n++)t+=String.fromCharCode(e&255),e>>>=8;return t}function Ch(e){return e=e||{},e.base64===true&&(e.binary===null||e.binary===void 0)&&(e.binary=true),e=ve.extend(e,xh),e.date=e.date||new Date,e.compression!==null&&(e.compression=e.compression.toUpperCase()),e}function Ku(e,r,t){var n=ve.getTypeOf(r),i;if(t=Ch(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=Qu(e)),t.createFolders&&(i=_h(e))&&Ju.call(this,i,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=ve.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=ve.transformTo("uint8array",r));}var u=new Bi(e,r,t);return this.files[e]=u,u}function _h(e){e.slice(-1)==="/"&&(e=e.substring(0,e.length-1));var r=e.lastIndexOf("/");return r>0?e.substring(0,r):""}function Qu(e){return e.slice(-1)!=="/"&&(e+="/"),e}function Ju(e,r){return r=typeof r<"u"?r:false,e=Qu(e),this.files[e]||Ku.call(this,e,null,{dir:true,createFolders:r}),this.files[e]}function Sh(e,r,t){var n=new xa,i;return e._data instanceof xa?(n.uncompressedSize=e._data.uncompressedSize,n.crc32=e._data.crc32,n.uncompressedSize===0||e.dir?(r=Oi.STORE,n.compressedContent="",n.crc32=0):e._data.compressionMethod===r.magic?n.compressedContent=e._data.getCompressedContent():(i=e._data.getContent(),n.compressedContent=r.compress(ve.transformTo(r.compressInputType,i),t))):(i=Ni(e),(!i||i.length===0||e.dir)&&(r=Oi.STORE,i=""),n.uncompressedSize=i.length,n.crc32=Pi(i),n.compressedContent=r.compress(ve.transformTo(r.compressInputType,i),t)),n.compressedSize=n.compressedContent.length,n.compressionMethod=r.magic,n}function Oh(e,r){var t=e;return e||(t=r?16893:33204),(t&65535)<<16}function Nh(e){return (e||0)&63}function Ih(e,r,t,n,i,u){var s=u!==pt.utf8encode,c=ve.transformTo("string",u(r.name)),f=ve.transformTo("string",pt.utf8encode(r.name)),p=r.comment||"",h=ve.transformTo("string",u(p)),m=ve.transformTo("string",pt.utf8encode(p)),b=f.length!==r.name.length,x=m.length!==p.length,T=r.options,_,C,O="",P="",k="",B,z;r._initialMetadata.dir!==r.dir?B=r.dir:B=T.dir,r._initialMetadata.date!==r.date?z=r.date:z=T.date;var j=0,X=0;B&&(j|=16),i==="UNIX"?(X=798,j|=Oh(r.unixPermissions,B)):(X=20,j|=Nh(r.dosPermissions)),_=z.getHours(),_<<=6,_|=z.getMinutes(),_<<=5,_|=z.getSeconds()/2,C=z.getFullYear()-1980,C<<=4,C|=z.getMonth()+1,C<<=5,C|=z.getDate(),b&&(P=Ee(1,1)+Ee(Pi(c),4)+f,O+="up"+Ee(P.length,2)+P),x&&(k=Ee(1,1)+Ee(this.crc32(h),4)+m,O+="uc"+Ee(k.length,2)+k);var F="";F+=`
3
+ \0`,F+=!s&&(b||x)?"\0\b":"\0\0",F+=t.compressionMethod,F+=Ee(_,2),F+=Ee(C,2),F+=Ee(t.crc32,4),F+=Ee(t.compressedSize,4),F+=Ee(t.uncompressedSize,4),F+=Ee(c.length,2),F+=Ee(O.length,2);var Z=Si.LOCAL_FILE_HEADER+F+c+O,le=Si.CENTRAL_FILE_HEADER+Ee(X,2)+F+Ee(h.length,2)+"\0\0\0\0"+Ee(j,4)+Ee(n,4)+c+O+h;return {fileRecord:Z,dirRecord:le,compressedObject:t}}$u.exports=Ii;});var Fi=b((c1,rs)=>{var Ph=Ye();function es(){this.data=null,this.length=0,this.index=0,this.zero=0;}es.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 Ph.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)}};rs.exports=es;});var ki=b((f1,ts)=>{var Bh=Fi(),Rh=Ye();function un(e,r){this.data=e,r||(this.data=Rh.string2binary(this.data)),this.length=this.data.length,this.index=0,this.zero=0;}un.prototype=new Bh;un.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)};un.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero};un.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};ts.exports=un;});var Li=b((p1,ns)=>{var Fh=Fi();function sn(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];}}sn.prototype=new Fh;sn.prototype.byteAt=function(e){return this.data[this.zero+e]};sn.prototype.lastIndexOfSignature=function(e){for(var r=e.charCodeAt(0),t=e.charCodeAt(1),n=e.charCodeAt(2),i=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]===i)return u-this.zero;return -1};sn.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};ns.exports=sn;});var qi=b((h1,as)=>{var kh=Li();function Mi(e){e&&(this.data=e,this.length=this.data.length,this.index=0,this.zero=0);}Mi.prototype=new kh;Mi.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};as.exports=Mi;});var os=b((d1,is)=>{var Lh=qi();function Ui(e){this.data=e,this.length=this.data.length,this.index=0,this.zero=0;}Ui.prototype=new Lh;Ui.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};is.exports=Ui;});var ls=b((g1,ss)=>{var zi=ki(),ar=Ye(),Mh=Ai(),Kr=Ri(),qh=Yr(),Uh=0,zh=3;function us(e,r){this.options=e,this.loadOptions=r;}us.prototype={isEncrypted:function(){return (this.bitFlag&1)===1},useUTF8:function(){return (this.bitFlag&2048)===2048},prepareCompressedContent:function(r,t,n){return function(){var i=r.index;r.setIndex(t);var u=r.readData(n);return r.setIndex(i),u}},prepareContent:function(r,t,n,i,u){return function(){var s=ar.transformTo(i.uncompressInputType,this.getCompressedContent()),c=i.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=ar.findCompression(this.compressionMethod);if(n===null)throw new Error("Corrupted zip : compression "+ar.pretty(this.compressionMethod)+" unknown (inner file : "+ar.transformTo("string",this.fileName)+")");if(this.decompressed=new Mh,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=ar.transformTo("string",this.decompressed.getContent()),Kr.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===Uh&&(this.dosPermissions=this.externalFileAttributes&63),r===zh&&(this.unixPermissions=this.externalFileAttributes>>16&65535),!this.dir&&this.fileNameStr.slice(-1)==="/"&&(this.dir=true);},parseZIP64ExtraField:function(){if(this.extraFields[1]){var r=new zi(this.extraFields[1].value);this.uncompressedSize===ar.MAX_VALUE_32BITS&&(this.uncompressedSize=r.readInt(8)),this.compressedSize===ar.MAX_VALUE_32BITS&&(this.compressedSize=r.readInt(8)),this.localHeaderOffset===ar.MAX_VALUE_32BITS&&(this.localHeaderOffset=r.readInt(8)),this.diskNumberStart===ar.MAX_VALUE_32BITS&&(this.diskNumberStart=r.readInt(4));}},readExtraFields:function(r){var t=r.index,n,i,u;for(this.extraFields=this.extraFields||{};r.index<t+this.extraFieldsLength;)n=r.readInt(2),i=r.readInt(2),u=r.readString(i),this.extraFields[n]={id:n,length:i,value:u};},handleUTF8:function(){var r=qh.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=Kr.utf8decode(this.fileName),this.fileCommentStr=Kr.utf8decode(this.fileComment);else {var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else {var n=ar.transformTo(r,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n);}var i=this.findExtraFieldUnicodeComment();if(i!==null)this.fileCommentStr=i;else {var u=ar.transformTo(r,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(u);}}},findExtraFieldUnicodePath:function(){var r=this.extraFields[28789];if(r){var t=new zi(r.value);return t.readInt(1)!==1||Kr.crc32(this.fileName)!==t.readInt(4)?null:Kr.utf8decode(t.readString(r.length-5))}return null},findExtraFieldUnicodeComment:function(){var r=this.extraFields[25461];if(r){var t=new zi(r.value);return t.readInt(1)!==1||Kr.crc32(this.fileComment)!==t.readInt(4)?null:Kr.utf8decode(t.readString(r.length-5))}return null}};ss.exports=us;});var ps=b((v1,fs)=>{var jh=ki(),Vh=os(),Xh=qi(),Hh=Li(),He=Ye(),ir=xi(),Zh=ls(),Da=Yr();function cs(e,r){this.files=[],this.loadOptions=r,e&&this.load(e);}cs.prototype={checkSignature:function(r){var t=this.reader.readString(4);if(t!==r)throw new Error("Corrupted zip or bug : unexpected signature ("+He.pretty(t)+", expected "+He.pretty(r)+")")},isSignature:function(r,t){var n=this.reader.index;this.reader.setIndex(r);var i=this.reader.readString(4),u=i===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=Da.uint8array?"uint8array":"array",n=He.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,i,u;t<r;)n=this.reader.readInt(2),i=this.reader.readInt(4),u=this.reader.readString(i),this.zip64ExtensibleData[n]={id:n,length:i,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(ir.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)===ir.CENTRAL_FILE_HEADER;)r=new Zh({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(ir.CENTRAL_DIRECTORY_END);if(r<0){var t=!this.isSignature(0,ir.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(ir.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===He.MAX_VALUE_16BITS||this.diskWithCentralDirStart===He.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===He.MAX_VALUE_16BITS||this.centralDirRecords===He.MAX_VALUE_16BITS||this.centralDirSize===He.MAX_VALUE_32BITS||this.centralDirOffset===He.MAX_VALUE_32BITS){if(this.zip64=true,r=this.reader.lastIndexOfSignature(ir.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(ir.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,ir.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(ir.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(ir.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral();}var i=this.centralDirOffset+this.centralDirSize;this.zip64&&(i+=20,i+=12+this.zip64EndOfCentralSize);var u=n-i;if(u>0)this.isSignature(n,ir.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=He.getTypeOf(r);if(He.checkSupport(t),t==="string"&&!Da.uint8array)this.reader=new jh(r,this.loadOptions.optimizedBinaryString);else if(t==="nodebuffer")this.reader=new Vh(r);else if(Da.uint8array)this.reader=new Xh(He.transformTo("uint8array",r));else if(Da.array)this.reader=new Hh(He.transformTo("array",r));else throw new Error("Unexpected error: unsupported type '"+t+"'")},load:function(r){this.prepareReader(r),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles();}};fs.exports=cs;});var ds=b((m1,hs)=>{var Gh=da(),Yh=_i(),Wh=Ye(),Kh=ps();hs.exports=function(e,r){var t,n;r=Wh.extend(r||{},{base64:false,checkCRC32:false,optimizedBinaryString:false,createFolders:false,decodeFileName:Yh.utf8decode}),r.base64&&(e=Gh.decode(e));var i=new Kh(e,r),u=i.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 i.zipComment.length&&(this.comment=i.zipComment),this};});var gs=b(qe=>{var Me=Ye();qe.string2binary=function(e){return Me.string2binary(e)};qe.string2Uint8Array=function(e){return Me.transformTo("uint8array",e)};qe.uint8Array2String=function(e){return Me.transformTo("string",e)};qe.string2Blob=function(e){var r=Me.transformTo("arraybuffer",e);return Me.arrayBuffer2Blob(r)};qe.arrayBuffer2Blob=function(e){return Me.arrayBuffer2Blob(e)};qe.transformTo=function(e,r){return Me.transformTo(e,r)};qe.getTypeOf=function(e){return Me.getTypeOf(e)};qe.checkSupport=function(e){return Me.checkSupport(e)};qe.MAX_VALUE_16BITS=Me.MAX_VALUE_16BITS;qe.MAX_VALUE_32BITS=Me.MAX_VALUE_32BITS;qe.pretty=function(e){return Me.pretty(e)};qe.findCompression=function(e){return Me.findCompression(e)};qe.isRegExp=function(e){return Me.isRegExp(e)};});var ms=b((E1,ji)=>{var vs=da();function Ze(e,r){if(!(this instanceof Ze))return new Ze(e,r);this.files={},this.comment=null,this.root="",e&&this.load(e,r),this.clone=function(){var t=this,n=new Ze;return Object.keys(this.files).forEach(function(i){n.file(i,t.files[i].asUint8Array());}),n},this.shallowClone=function(){var t=new Ze;for(var n in this)typeof this[n]!="function"&&(t[n]=this[n]);return t};}Ze.prototype=Ri();Ze.prototype.load=ds();Ze.support=Yr();Ze.defaults=Di();Ze.utils=gs();Ze.base64={encode:function(r){return vs.encode(r)},decode:function(r){return vs.decode(r)}};Ze.compressions=va();ji.exports=Ze;ji.exports.default=Ze;});var Jr=b(Ne=>{function Qh(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(Qr(e,n)){var i=e[n];if(r.call(void 0,i,n,e))return i}}function ht(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 Qr(e,r){return Object.prototype.hasOwnProperty.call(e,r)}function Jh(e,r){if(e===null||typeof e!="object")throw new TypeError("target is not an object");for(var t in r)Qr(r,t)&&(e[t]=r[t]);return e}var ys=ht({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 $h(e){return Qr(ys,e.toLowerCase())}var Es=ht({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 ed(e){return Qr(Es,e.toLowerCase())}var ln=ht({script:false,style:false,textarea:true,title:true});function rd(e){var r=e.toLowerCase();return Qr(ln,r)&&!ln[r]}function td(e){var r=e.toLowerCase();return Qr(ln,r)&&ln[r]}function bs(e){return e===cn.HTML}function nd(e){return bs(e)||e===cn.XML_XHTML_APPLICATION}var cn=ht({HTML:"text/html",XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),ad=Object.keys(cn).map(function(e){return cn[e]});function id(e){return ad.indexOf(e)>-1}var od=ht({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/"});Ne.assign=Jh;Ne.find=Qh;Ne.freeze=ht;Ne.HTML_BOOLEAN_ATTRIBUTES=ys;Ne.HTML_RAW_TEXT_ELEMENTS=ln;Ne.HTML_VOID_ELEMENTS=Es;Ne.hasDefaultHTMLNamespace=nd;Ne.hasOwn=Qr;Ne.isHTMLBooleanAttribute=$h;Ne.isHTMLRawTextElement=rd;Ne.isHTMLEscapableRawTextElement=td;Ne.isHTMLMimeType=bs;Ne.isHTMLVoidElement=ed;Ne.isValidMimeType=id;Ne.MIME_TYPE=cn;Ne.NAMESPACE=od;});var gn=b(dn=>{var ud=Jr();function xs(e,r){e.prototype=Object.create(Error.prototype,{constructor:{value:e},name:{value:e.name,enumerable:true,writable:r}});}var pn=ud.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"}),Ds=Object.keys(pn);function As(e){return typeof e=="number"&&e>=1&&e<=25}function sd(e){return typeof e=="string"&&e.substring(e.length-pn.Error.length)===pn.Error}function hn(e,r){As(e)?(this.name=Ds[e],this.message=r||""):(this.message=e,this.name=sd(r)?r:pn.Error),Error.captureStackTrace&&Error.captureStackTrace(this,hn);}xs(hn,true);Object.defineProperties(hn.prototype,{code:{enumerable:true,get:function(){var e=Ds.indexOf(this.name);return As(e)?e:0}}});var Ts={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},Vi=Object.entries(Ts);for(fn=0;fn<Vi.length;fn++)ws=Vi[fn][0],hn[ws]=Vi[fn][1];var ws,fn;function Xi(e,r){this.message=e,this.locator=r,Error.captureStackTrace&&Error.captureStackTrace(this,Xi);}xs(Xi);dn.DOMException=hn;dn.DOMExceptionName=pn;dn.ExceptionCode=Ts;dn.ParseError=Xi;});var Qi=b(K=>{function Ps(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 vt=Ps();function Pr(e){if(e.source[0]!=="[")throw new Error(e+" can not be used with chars");return e.source.slice(1,e.source.lastIndexOf("]"))}function dt(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,""),vt?"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(""),vt?"mu":"m")}function Y(e){if(arguments.length===0)throw new Error("no parameters provided");return re.apply(Y,["(?:"].concat(Array.prototype.slice.call(arguments),[")"]))}var ld="\uFFFD",Br=/[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;vt&&(Br=re("[",Pr(Br),"\\u{10000}-\\u{10FFFF}","]"));var cd=new RegExp("[^"+Pr(Br)+"]",vt?"u":""),Zi=/[\x20\x09\x0D\x0A]/,fd=Pr(Zi),he=re(Zi,"+"),ye=re(Zi,"*"),vn=/[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;vt&&(vn=re("[",Pr(vn),"\\u{10000}-\\u{10FFFF}","]"));var pd=Pr(vn),Gi=re("[",pd,Pr(/[-.0-9\xB7]/),Pr(/[\u0300-\u036F\u203F-\u2040]/),"]"),We=re(vn,Gi,"*"),Cs=re(Gi,"+"),hd=re("&",We,";"),dd=Y(/&#[0-9]+;|&#x[0-9a-fA-F]+;/),mn=Y(hd,"|",dd),yn=re("%",We,";"),Yi=Y(re('"',Y(/[^%&"]/,"|",yn,"|",mn),"*",'"'),"|",re("'",Y(/[^%&']/,"|",yn,"|",mn),"*","'")),gd=Y('"',Y(/[^<&"]/,"|",mn),"*",'"',"|","'",Y(/[^<&']/,"|",mn),"*","'"),vd=dt(vn,":"),md=dt(Gi,":"),_s=re(vd,md,"*"),En=re(_s,Y(":",_s),"?"),yd=re("^",En,"$"),Ed=re("(",En,")"),gt=Y(/"[^"]*"|'[^']*'/),bd=re(/^<\?/,"(",We,")",Y(he,"(",Br,"*?)"),"?",/\?>/),Ss=/[\x20\x0D\x0Aa-zA-Z0-9-'()+,./:=?;!*#@$_%]/,bn=Y('"',Ss,'*"',"|","'",dt(Ss,"'"),"*'"),Bs="<!--",Rs="-->",wd=re(Bs,Y(dt(Br,"-"),"|",re("-",dt(Br,"-"))),"*",Rs),Os="#PCDATA",xd=Y(re(/\(/,ye,Os,Y(ye,/\|/,ye,En),"*",ye,/\)\*/),"|",re(/\(/,ye,Os,ye,/\)/)),Dd=/[?*+]?/,Ad=re(/\([^>]+\)/,Dd),Td=Y("EMPTY","|","ANY","|",xd,"|",Ad),Cd="<!ELEMENT",_d=re(Cd,he,Y(En,"|",yn),he,Y(Td,"|",yn),ye,">"),Sd=re("NOTATION",he,/\(/,ye,We,Y(ye,/\|/,ye,We),"*",ye,/\)/),Od=re(/\(/,ye,Cs,Y(ye,/\|/,ye,Cs),"*",ye,/\)/),Nd=Y(Sd,"|",Od),Id=Y(/CDATA|ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS/,"|",Nd),Pd=Y(/#REQUIRED|#IMPLIED/,"|",Y(Y("#FIXED",he),"?",gd)),Bd=Y(he,We,he,Id,he,Pd),Rd="<!ATTLIST",Fd=re(Rd,he,We,Bd,"*",ye,">"),Hi="about:legacy-compat",kd=Y('"'+Hi+'"',"|","'"+Hi+"'"),Wi="SYSTEM",Aa="PUBLIC",Ta=Y(Y(Wi,he,gt),"|",Y(Aa,he,bn,he,gt)),Ld=re("^",Y(Y(Wi,he,"(?<SystemLiteralOnly>",gt,")"),"|",Y(Aa,he,"(?<PubidLiteral>",bn,")",he,"(?<SystemLiteral>",gt,")"))),Md=re("^",bn,"$"),qd=re("^",gt,"$"),Ud=Y(he,"NDATA",he,We),zd=Y(Yi,"|",Y(Ta,Ud,"?")),Fs="<!ENTITY",jd=re(Fs,he,We,he,zd,ye,">"),Vd=Y(Yi,"|",Ta),Xd=re(Fs,he,"%",he,We,he,Vd,ye,">"),Hd=Y(jd,"|",Xd),Zd=re(Aa,he,bn),Gd=re("<!NOTATION",he,We,he,Y(Ta,"|",Zd),ye,">"),Ki=re(ye,"=",ye),Ns=/1[.]\d+/,Yd=re(he,"version",Ki,Y("'",Ns,"'","|",'"',Ns,'"')),Is=/[A-Za-z][-A-Za-z0-9._]*/,Wd=Y(he,"encoding",Ki,Y('"',Is,'"',"|","'",Is,"'")),Kd=Y(he,"standalone",Ki,Y("'",Y("yes","|","no"),"'","|",'"',Y("yes","|","no"),'"')),Qd=re(/^<\?xml/,Yd,Wd,"?",Kd,"?",ye,/\?>/),Jd="<!DOCTYPE",$d="<![CDATA[",e0="]]>",r0=/<!\[CDATA\[/,t0=/\]\]>/,n0=re(Br,"*?",t0),a0=re(r0,n0);K.chars=Pr;K.chars_without=dt;K.detectUnicodeSupport=Ps;K.reg=re;K.regg=Y;K.ABOUT_LEGACY_COMPAT=Hi;K.ABOUT_LEGACY_COMPAT_SystemLiteral=kd;K.AttlistDecl=Fd;K.CDATA_START=$d;K.CDATA_END=e0;K.CDSect=a0;K.Char=Br;K.Comment=wd;K.COMMENT_START=Bs;K.COMMENT_END=Rs;K.DOCTYPE_DECL_START=Jd;K.elementdecl=_d;K.EntityDecl=Hd;K.EntityValue=Yi;K.ExternalID=Ta;K.ExternalID_match=Ld;K.Name=We;K.NotationDecl=Gd;K.Reference=mn;K.PEReference=yn;K.PI=bd;K.PUBLIC=Aa;K.PubidLiteral=bn;K.PubidLiteral_match=Md;K.QName=En;K.QName_exact=yd;K.QName_group=Ed;K.S=he;K.SChar_s=fd;K.S_OPT=ye;K.SYSTEM=Wi;K.SystemLiteral=gt;K.SystemLiteral_match=qd;K.InvalidChar=cd;K.UNICODE_REPLACEMENT_CHARACTER=ld;K.UNICODE_SUPPORT=vt;K.XMLDecl=Qd;});var io=b(we=>{var Je=Jr(),fr=Je.find,i0=Je.hasDefaultHTMLNamespace,yt=Je.hasOwn,o0=Je.isHTMLMimeType,u0=Je.isHTMLRawTextElement,s0=Je.isHTMLVoidElement,wn=Je.MIME_TYPE,pr=Je.NAMESPACE,Le=Symbol(),js=gn(),q=js.DOMException,Ke=js.DOMExceptionName,Ie=Qi();function Ue(e){if(e!==Le)throw new TypeError("Illegal constructor")}function l0(e){return e!==""}function c0(e){return e?e.split(/[\t\n\f\r ]+/).filter(l0):[]}function f0(e,r){return yt(e,r)||(e[r]=true),e}function ks(e){if(!e)return [];var r=c0(e);return Object.keys(r.reduce(f0,{}))}function p0(e){return function(r){return e&&e.indexOf(r)!==-1}}function Vs(e){if(!Ie.QName_exact.test(e))throw new q(q.INVALID_CHARACTER_ERR,'invalid character in qualified name "'+e+'"')}function $i(e,r){Vs(r),e=e||null;var t=null,n=r;if(r.indexOf(":")>=0){var i=r.split(":");t=i[0],n=i[1];}if(t!==null&&e===null)throw new q(q.NAMESPACE_ERR,"prefix is non-null and namespace is null");if(t==="xml"&&e!==Je.NAMESPACE.XML)throw new q(q.NAMESPACE_ERR,'prefix is "xml" and namespace is not the XML namespace');if((t==="xmlns"||r==="xmlns")&&e!==Je.NAMESPACE.XMLNS)throw new q(q.NAMESPACE_ERR,'either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace');if(e===Je.NAMESPACE.XMLNS&&t!=="xmlns"&&r!=="xmlns")throw new q(q.NAMESPACE_ERR,'namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"');return [e,t,n]}function wt(e,r){for(var t in e)yt(e,t)&&(r[t]=e[t]);}function ze(e,r){var t=e.prototype;if(!(t instanceof r)){let n=function(){};n.prototype=r.prototype,n=new n,wt(t,n),e.prototype=t=n;}t.constructor!=e&&(typeof e!="function"&&console.error("unknown Class:"+e),t.constructor=e);}var je={},Qe=je.ELEMENT_NODE=1,Et=je.ATTRIBUTE_NODE=2,Sa=je.TEXT_NODE=3,Xs=je.CDATA_SECTION_NODE=4,Hs=je.ENTITY_REFERENCE_NODE=5,h0=je.ENTITY_NODE=6,eo=je.PROCESSING_INSTRUCTION_NODE=7,ro=je.COMMENT_NODE=8,mt=je.DOCUMENT_NODE=9,Zs=je.DOCUMENT_TYPE_NODE=10,Rr=je.DOCUMENT_FRAGMENT_NODE=11,d0=je.NOTATION_NODE=12,be=Je.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 Gs(e,r){if(r.length<e.length)return Gs(r,e);var t=null;for(var n in e){if(e[n]!==r[n])return t;t=e[n];}return t}function Ls(e){return e.guid||(e.guid=Math.random()),e.guid}function De(){}De.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e){var r;typeof e=="function"?r={requireWellFormed:false,splitCDATASections:true,nodeFilter:e}:e?r={requireWellFormed:!!e.requireWellFormed,splitCDATASections:e.splitCDATASections!==false,nodeFilter:e.nodeFilter||null}:r={requireWellFormed:false,splitCDATASections:true,nodeFilter:null};for(var t=[],n=0;n<this.length;n++)ao(this[n],t,null,r);return t.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}};De.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 cr(e,r){this._node=e,this._refresh=r,Na(this);}function Na(e){var r=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==r){var t=e._refresh(e._node);if(il(e,"length",t.length),!e.$$length||t.length<e.$$length)for(var n=t.length;n in e;n++)yt(e,n)&&delete e[n];wt(t,e),e._inc=r;}}cr.prototype.item=function(e){return Na(this),this[e]||null};ze(cr,De);function bt(){}function Ys(e,r){for(var t=0;t<e.length;){if(e[t]===r)return t;t++;}}function g0(e,r,t,n){if(n?r[Ys(r,n)]=t:(r[r.length]=t,r.length++),e){t.ownerElement=e;var i=e.ownerDocument;i&&(n&&Qs(i,e,n),v0(i,e,t));}}function Ms(e,r,t){var n=Ys(r,t);if(n>=0){for(var i=r.length-1;n<=i;)r[n]=r[++n];if(r.length=i,e){var u=e.ownerDocument;u&&Qs(u,e,t),t.ownerElement=null;}}}bt.prototype={length:0,item:De.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 q(q.INUSE_ATTRIBUTE_ERR);var t=this.getNamedItemNS(e.namespaceURI,e.localName);return t===e?e:(g0(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 q(q.NOT_FOUND_ERR,e);return Ms(this._ownerElement,this,r),r},removeNamedItemNS:function(e,r){var t=this.getNamedItemNS(e,r);if(!t)throw new q(q.NOT_FOUND_ERR,e?e+" : "+r:r);return Ms(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}};bt.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 Ws(){}Ws.prototype={hasFeature:function(e,r){return true},createDocument:function(e,r,t){var n=wn.XML_APPLICATION;e===pr.HTML?n=wn.XML_XHTML_APPLICATION:e===pr.SVG&&(n=wn.XML_SVG_IMAGE);var i=new br(Le,{contentType:n});if(i.implementation=this,i.childNodes=new De,i.doctype=t||null,t&&i.appendChild(t),r){var u=i.createElementNS(e,r);i.appendChild(u);}return i},createDocumentType:function(e,r,t,n){Vs(e);var i=new Ba(Le);return i.name=e,i.nodeName=e,i.publicId=r||"",i.systemId=t||"",i.internalSubset=n||"",i.childNodes=new De,i},createHTMLDocument:function(e){var r=new br(Le,{contentType:wn.HTML});if(r.implementation=this,r.childNodes=new De,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 i=r.createElement("title");i.appendChild(r.createTextNode(e)),n.appendChild(i);}t.appendChild(r.createElement("body"));}return r}};function ue(e){Ue(e);}ue.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=r.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)return false;for(var r=[{node:this,other:e}];r.length>0;){var t=r.pop(),n=t.node,i=t.other;if(n.nodeType!==i.nodeType)return false;switch(n.nodeType){case n.DOCUMENT_TYPE_NODE:if(n.name!==i.name||n.publicId!==i.publicId||n.systemId!==i.systemId)return false;break;case n.ELEMENT_NODE:if(n.namespaceURI!==i.namespaceURI||n.prefix!==i.prefix||n.localName!==i.localName||n.attributes.length!==i.attributes.length)return false;for(var u=0;u<n.attributes.length;u++){var s=n.attributes.item(u),c=i.getAttributeNodeNS(s.namespaceURI,s.localName);if(!c)return false;r.push({node:s,other:c});}break;case n.ATTRIBUTE_NODE:if(n.namespaceURI!==i.namespaceURI||n.localName!==i.localName||n.value!==i.value)return false;break;case n.PROCESSING_INSTRUCTION_NODE:if(n.target!==i.target||n.data!==i.data)return false;break;case n.TEXT_NODE:case n.CDATA_SECTION_NODE:case n.COMMENT_NODE:if(n.data!==i.data)return false;break}if(n.childNodes.length!==i.childNodes.length)return false;for(var u=n.childNodes.length-1;u>=0;u--)r.push({node:n.childNodes[u],other:i.childNodes[u]});}return true},isSameNode:function(e){return this===e},insertBefore:function(e,r){return Oa(this,e,r)},replaceChild:function(e,r){Oa(this,e,r,rl),r&&this.removeChild(r);},removeChild:function(e){return $s(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return al(this.ownerDocument||this,this,e)},normalize:function(){Pe(this,null,{enter:function(e){for(var r=e.firstChild;r;){var t=r.nextSibling;t!==null&&t.nodeType===Sa&&r.nodeType===Sa?(e.removeChild(t),r.appendData(t.data)):r=t;}return true}});},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(yt(t,n)&&t[n]===e)return n}r=r.nodeType==Et?r.ownerDocument:r.parentNode;}return null},lookupNamespaceURI:function(e){for(var r=this;r;){var t=r._nsMap;if(t&&yt(t,e))return t[e];r=r.nodeType==Et?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,i=null;if(r instanceof $r&&(n=r,r=n.ownerElement),t instanceof $r&&(i=t,t=i.ownerElement,n&&r&&t===r))for(var u=0,s;s=t.attributes[u];u++){if(s===n)return be.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+be.DOCUMENT_POSITION_PRECEDING;if(s===i)return be.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+be.DOCUMENT_POSITION_FOLLOWING}if(!r||!t||t.ownerDocument!==r.ownerDocument)return be.DOCUMENT_POSITION_DISCONNECTED+be.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+(Ls(t.ownerDocument)>Ls(r.ownerDocument)?be.DOCUMENT_POSITION_FOLLOWING:be.DOCUMENT_POSITION_PRECEDING);if(i&&r===t)return be.DOCUMENT_POSITION_CONTAINS+be.DOCUMENT_POSITION_PRECEDING;if(n&&r===t)return be.DOCUMENT_POSITION_CONTAINED_BY+be.DOCUMENT_POSITION_FOLLOWING;for(var c=[],f=r.parentNode;f;){if(!i&&f===t)return be.DOCUMENT_POSITION_CONTAINED_BY+be.DOCUMENT_POSITION_FOLLOWING;c.push(f),f=f.parentNode;}c.reverse();for(var p=[],h=t.parentNode;h;){if(!n&&h===r)return be.DOCUMENT_POSITION_CONTAINS+be.DOCUMENT_POSITION_PRECEDING;p.push(h),h=h.parentNode;}p.reverse();var m=Gs(c,p);for(var b in m.childNodes){var x=m.childNodes[b];if(x===t)return be.DOCUMENT_POSITION_FOLLOWING;if(x===r)return be.DOCUMENT_POSITION_PRECEDING;if(p.indexOf(x)>=0)return be.DOCUMENT_POSITION_FOLLOWING;if(c.indexOf(x)>=0)return be.DOCUMENT_POSITION_PRECEDING}return 0}};function Ks(e){return e=="<"&&"&lt;"||e==">"&&"&gt;"||e=="&"&&"&amp;"||e=='"'&&"&quot;"||"&#"+e.charCodeAt()+";"}wt(je,ue);wt(je,ue.prototype);wt(be,ue);wt(be,ue.prototype);function _a(e,r){Pe(e,null,{enter:function(t){return r(t)?Pe.STOP:true}});}function Pe(e,r,t){for(var n=[{node:e,context:r,phase:Pe.ENTER}];n.length>0;){var i=n.pop();if(i.phase===Pe.ENTER){var u=t.enter(i.node,i.context);if(u===Pe.STOP)return Pe.STOP;if(n.push({node:i.node,context:u,phase:Pe.EXIT}),u==null)continue;for(var s=i.node.lastChild;s;)n.push({node:s,context:u,phase:Pe.ENTER}),s=s.previousSibling;}else t.exit&&t.exit(i.node,i.context);}}Pe.STOP=Symbol("walkDOM.STOP");Pe.ENTER=0;Pe.EXIT=1;function br(e,r){Ue(e);var t=r||{};this.ownerDocument=this,this.contentType=t.contentType||wn.XML_APPLICATION,this.type=o0(this.contentType)?"html":"xml";}function v0(e,r,t){e&&e._inc++;var n=t.namespaceURI;n===pr.XMLNS&&(r._nsMap[t.prefix?t.localName:""]=t.value);}function Qs(e,r,t,n){e&&e._inc++;var i=t.namespaceURI;i===pr.XMLNS&&delete r._nsMap[t.prefix?t.localName:""];}function Js(e,r,t){if(e&&e._inc){e._inc++;var n=r.childNodes;if(t&&!t.nextSibling)n[n.length++]=t;else {for(var i=r.firstChild,u=0;i;)n[u++]=i,i=i.nextSibling;n.length=u,delete n[n.length];}}}function $s(e,r){if(e!==r.parentNode)throw new q(q.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,Js(e.ownerDocument,e),r.parentNode=null,r.previousSibling=null,r.nextSibling=null,r}function m0(e){return e&&(e.nodeType===ue.DOCUMENT_NODE||e.nodeType===ue.DOCUMENT_FRAGMENT_NODE||e.nodeType===ue.ELEMENT_NODE)}function y0(e){return e&&(e.nodeType===ue.CDATA_SECTION_NODE||e.nodeType===ue.COMMENT_NODE||e.nodeType===ue.DOCUMENT_FRAGMENT_NODE||e.nodeType===ue.DOCUMENT_TYPE_NODE||e.nodeType===ue.ELEMENT_NODE||e.nodeType===ue.PROCESSING_INSTRUCTION_NODE||e.nodeType===ue.TEXT_NODE)}function Fr(e){return e&&e.nodeType===ue.DOCUMENT_TYPE_NODE}function Er(e){return e&&e.nodeType===ue.ELEMENT_NODE}function el(e){return e&&e.nodeType===ue.TEXT_NODE}function qs(e,r){var t=e.childNodes||[];if(fr(t,Er)||Fr(r))return false;var n=fr(t,Fr);return !(r&&n&&t.indexOf(n)>t.indexOf(r))}function Us(e,r){var t=e.childNodes||[];function n(u){return Er(u)&&u!==r}if(fr(t,n))return false;var i=fr(t,Fr);return !(r&&i&&t.indexOf(i)>t.indexOf(r))}function E0(e,r,t){if(!m0(e))throw new q(q.HIERARCHY_REQUEST_ERR,"Unexpected parent node type "+e.nodeType);if(t&&t.parentNode!==e)throw new q(q.NOT_FOUND_ERR,"child not in parent");if(!y0(r)||Fr(r)&&e.nodeType!==ue.DOCUMENT_NODE)throw new q(q.HIERARCHY_REQUEST_ERR,"Unexpected node type "+r.nodeType+" for parent node type "+e.nodeType)}function b0(e,r,t){var n=e.childNodes||[],i=r.childNodes||[];if(r.nodeType===ue.DOCUMENT_FRAGMENT_NODE){var u=i.filter(Er);if(u.length>1||fr(i,el))throw new q(q.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(u.length===1&&!qs(e,t))throw new q(q.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(Er(r)&&!qs(e,t))throw new q(q.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(Fr(r)){if(fr(n,Fr))throw new q(q.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var s=fr(n,Er);if(t&&n.indexOf(s)<n.indexOf(t))throw new q(q.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element");if(!t&&s)throw new q(q.HIERARCHY_REQUEST_ERR,"Doctype can not be appended since element is present")}}function rl(e,r,t){var n=e.childNodes||[],i=r.childNodes||[];if(r.nodeType===ue.DOCUMENT_FRAGMENT_NODE){var u=i.filter(Er);if(u.length>1||fr(i,el))throw new q(q.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(u.length===1&&!Us(e,t))throw new q(q.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(Er(r)&&!Us(e,t))throw new q(q.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(Fr(r)){if(fr(n,function(f){return Fr(f)&&f!==t}))throw new q(q.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var s=fr(n,Er);if(t&&n.indexOf(s)<n.indexOf(t))throw new q(q.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element")}}function Oa(e,r,t,n){E0(e,r,t),e.nodeType===ue.DOCUMENT_NODE&&(n||b0)(e,r,t);var i=r.parentNode;if(i&&i.removeChild(r),r.nodeType===Rr){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 Js(e.ownerDocument||e,e,r),r.nodeType==Rr&&(r.firstChild=r.lastChild=null),r}br.prototype={implementation:null,nodeName:"#document",nodeType:mt,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,r){if(e.nodeType===Rr){for(var t=e.firstChild;t;){var n=t.nextSibling;this.insertBefore(t,r),t=n;}return e}return Oa(this,e,r),e.ownerDocument=this,this.documentElement===null&&e.nodeType===Qe&&(this.documentElement=e),e},removeChild:function(e){var r=$s(this,e);return r===this.documentElement&&(this.documentElement=null),r},replaceChild:function(e,r){Oa(this,e,r,rl),e.ownerDocument=this,r&&this.removeChild(r),Er(e)&&(this.documentElement=e);},importNode:function(e,r){return w0(this,e,r)},getElementById:function(e){var r=null;return _a(this.documentElement,function(t){if(t.nodeType==Qe&&t.getAttribute("id")==e)return r=t,true}),r},createElement:function(e){var r=new wr(Le);r.ownerDocument=this,this.type==="html"&&(e=e.toLowerCase()),i0(this.contentType)&&(r.namespaceURI=pr.HTML),r.nodeName=e,r.tagName=e,r.localName=e,r.childNodes=new De;var t=r.attributes=new bt;return t._ownerElement=r,r},createDocumentFragment:function(){var e=new Dt(Le);return e.ownerDocument=this,e.childNodes=new De,e},createTextNode:function(e){var r=new xn(Le);return r.ownerDocument=this,r.childNodes=new De,r.appendData(e),r},createComment:function(e){var r=new Ia(Le);return r.ownerDocument=this,r.childNodes=new De,r.appendData(e),r},createCDATASection:function(e){if(e.indexOf("]]>")!==-1)throw new q(q.INVALID_CHARACTER_ERR,'data contains "]]>"');var r=new Pa(Le);return r.ownerDocument=this,r.childNodes=new De,r.appendData(e),r},createProcessingInstruction:function(e,r){var t=new Fa(Le);return t.ownerDocument=this,t.childNodes=new De,t.nodeName=t.target=e,t.nodeValue=t.data=r,t},createAttribute:function(e){if(!Ie.QName_exact.test(e))throw new q(q.INVALID_CHARACTER_ERR,'invalid character in name "'+e+'"');return this.type==="html"&&(e=e.toLowerCase()),this._createAttribute(e)},_createAttribute:function(e){var r=new $r(Le);return r.ownerDocument=this,r.childNodes=new De,r.name=e,r.nodeName=e,r.localName=e,r.specified=true,r},createEntityReference:function(e){if(!Ie.Name.test(e))throw new q(q.INVALID_CHARACTER_ERR,'not a valid xml name "'+e+'"');if(this.type==="html")throw new q("document is an html document",Ke.NotSupportedError);var r=new Ra(Le);return r.ownerDocument=this,r.childNodes=new De,r.nodeName=e,r},createElementNS:function(e,r){var t=$i(e,r),n=new wr(Le),i=n.attributes=new bt;return n.childNodes=new De,n.ownerDocument=this,n.nodeName=r,n.tagName=r,n.namespaceURI=t[0],n.prefix=t[1],n.localName=t[2],i._ownerElement=n,n},createAttributeNS:function(e,r){var t=$i(e,r),n=new $r(Le);return n.ownerDocument=this,n.childNodes=new De,n.nodeName=r,n.name=r,n.specified=true,n.namespaceURI=t[0],n.prefix=t[1],n.localName=t[2],n}};ze(br,ue);function wr(e){Ue(e),this._nsMap=Object.create(null);}wr.prototype={nodeType:Qe,attributes:null,getQualifiedName:function(){return this.prefix?this.prefix+":"+this.localName:this.localName},_isInHTMLDocumentAndNamespace:function(){return this.ownerDocument.type==="html"&&this.namespaceURI===pr.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=$i(e,r),i=n[2],u=this.getAttributeNodeNS(e,i);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=ks(e);return new cr(this,function(t){var n=[];return r.length>0&&_a(t,function(i){if(i!==t&&i.nodeType===Qe){var u=i.getAttribute("class");if(u){var s=e===u;if(!s){var c=ks(u);s=r.every(p0(c));}s&&n.push(i);}}}),n})},getElementsByTagName:function(e){var r=(this.nodeType===mt?this:this.ownerDocument).type==="html",t=e.toLowerCase();return new cr(this,function(n){var i=[];return _a(n,function(u){if(!(u===n||u.nodeType!==Qe))if(e==="*")i.push(u);else {var s=u.getQualifiedName(),c=r&&u.namespaceURI===pr.HTML?t:e;s===c&&i.push(u);}}),i})},getElementsByTagNameNS:function(e,r){return new cr(this,function(t){var n=[];return _a(t,function(i){i!==t&&i.nodeType===Qe&&(e==="*"||i.namespaceURI===e)&&(r==="*"||i.localName==r)&&n.push(i);}),n})}};br.prototype.getElementsByClassName=wr.prototype.getElementsByClassName;br.prototype.getElementsByTagName=wr.prototype.getElementsByTagName;br.prototype.getElementsByTagNameNS=wr.prototype.getElementsByTagNameNS;ze(wr,ue);function $r(e){Ue(e),this.namespaceURI=null,this.prefix=null,this.ownerElement=null;}$r.prototype.nodeType=Et;ze($r,ue);function xt(e){Ue(e);}xt.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),i=this.data.substring(e+r);t=n+t+i,this.nodeValue=this.data=t,this.length=t.length;}};ze(xt,ue);function xn(e){Ue(e);}xn.prototype={nodeName:"#text",nodeType:Sa,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}};ze(xn,xt);function Ia(e){Ue(e);}Ia.prototype={nodeName:"#comment",nodeType:ro};ze(Ia,xt);function Pa(e){Ue(e);}Pa.prototype={nodeName:"#cdata-section",nodeType:Xs};ze(Pa,xn);function Ba(e){Ue(e);}Ba.prototype.nodeType=Zs;ze(Ba,ue);function to(e){Ue(e);}to.prototype.nodeType=d0;ze(to,ue);function no(e){Ue(e);}no.prototype.nodeType=h0;ze(no,ue);function Ra(e){Ue(e);}Ra.prototype.nodeType=Hs;ze(Ra,ue);function Dt(e){Ue(e);}Dt.prototype.nodeName="#document-fragment";Dt.prototype.nodeType=Rr;ze(Dt,ue);function Fa(e){Ue(e);}Fa.prototype.nodeType=eo;ze(Fa,xt);function tl(){}tl.prototype.serializeToString=function(e,r){return nl.call(e,r)};ue.prototype.toString=nl;function nl(e){var r;typeof e=="function"?r={requireWellFormed:false,splitCDATASections:true,nodeFilter:e}:e!=null?r={requireWellFormed:!!e.requireWellFormed,splitCDATASections:e.splitCDATASections!==false,nodeFilter:e.nodeFilter||null}:r={requireWellFormed:false,splitCDATASections:true,nodeFilter:null};var t=[],n=this.nodeType===mt&&this.documentElement||this,i=n.prefix,u=n.namespaceURI;if(u&&i==null){var i=n.lookupPrefix(u);if(i==null)var s=[{namespace:u,prefix:null}];}return ao(this,t,s,r),t.join("")}function zs(e,r,t){var n=e.prefix||"",i=e.namespaceURI;if(!i||n==="xml"&&i===pr.XML||i===pr.XMLNS)return false;for(var u=t.length;u--;){var s=t[u];if(s.prefix===n)return s.namespace!==i}return true}function Ca(e,r,t){e.push(" ",r,'="',t.replace(/[<>&"\t\n\r]/g,Ks),'"');}function ao(e,r,t,n){t||(t=[]);var i=n.nodeFilter,u=n.requireWellFormed,s=n.splitCDATASections,c=e.nodeType===mt?e:e.ownerDocument,f=c.type==="html";Pe(e,{ns:t},{enter:function(p,h){var m=h.ns;if(i)if(p=i(p),p){if(typeof p=="string")return r.push(p),null}else return null;switch(p.nodeType){case Qe:var b=p.attributes,x=b.length,T=p.tagName,_=T;if(!f&&!p.prefix&&p.namespaceURI){for(var C,O=0;O<b.length;O++)if(b.item(O).name==="xmlns"){C=b.item(O).value;break}if(!C)for(var P=m.length-1;P>=0;P--){var k=m[P];if(k.prefix===""&&k.namespace===p.namespaceURI){C=k.namespace;break}}if(C!==p.namespaceURI)for(var P=m.length-1;P>=0;P--){var k=m[P];if(k.namespace===p.namespaceURI){k.prefix&&(_=k.prefix+":"+T);break}}}r.push("<",_);for(var B=m.slice(),z=0;z<x;z++){var j=b.item(z);j.prefix=="xmlns"?B.push({prefix:j.localName,namespace:j.value}):j.nodeName=="xmlns"&&B.push({prefix:"",namespace:j.value});}for(var z=0;z<x;z++){var j=b.item(z);if(zs(j,f,B)){var X=j.prefix||"",F=j.namespaceURI;Ca(r,X?"xmlns:"+X:"xmlns",F),B.push({prefix:X,namespace:F});}var Z=i?i(j):j;Z&&(typeof Z=="string"?r.push(Z):Ca(r,Z.name,Z.value));}if(T===_&&zs(p,f,B)){var le=p.prefix||"",F=p.namespaceURI;Ca(r,le?"xmlns:"+le:"xmlns",F),B.push({prefix:le,namespace:F});}var pe=!p.firstChild;if(pe&&(f||p.namespaceURI===pr.HTML)&&(pe=s0(T)),pe)return r.push("/>"),null;if(r.push(">"),f&&u0(T)){for(var ee=p.firstChild;ee;)ee.data?r.push(ee.data):ao(ee,r,B.slice(),n),ee=ee.nextSibling;return r.push("</",_,">"),null}return {ns:B,tag:_};case mt:case Rr:if(u&&p.nodeType===mt&&p.documentElement==null)throw new q("The Document has no documentElement",Ke.InvalidStateError);return {ns:m};case Et:return Ca(r,p.name,p.value),null;case Sa:if(u&&Ie.InvalidChar.test(p.data))throw new q("The Text node data contains characters outside the XML Char production",Ke.InvalidStateError);return r.push(p.data.replace(/[<&>]/g,Ks)),null;case Xs:if(u&&p.data.indexOf("]]>")!==-1)throw new q('The CDATASection data contains "]]>"',Ke.InvalidStateError);return s?r.push(Ie.CDATA_START,p.data.replace(/]]>/g,"]]]]><![CDATA[>"),Ie.CDATA_END):r.push(Ie.CDATA_START,p.data,Ie.CDATA_END),null;case ro:if(u){if(Ie.InvalidChar.test(p.data))throw new q("The comment node data contains characters outside the XML Char production",Ke.InvalidStateError);if(p.data.indexOf("--")!==-1||p.data[p.data.length-1]==="-")throw new q('The comment node data contains "--" or ends with "-"',Ke.InvalidStateError)}return r.push(Ie.COMMENT_START,p.data,Ie.COMMENT_END),null;case Zs:var _e=p.publicId,fe=p.systemId;if(u){if(_e&&!Ie.PubidLiteral_match.test(_e))throw new q("DocumentType publicId is not a valid PubidLiteral",Ke.InvalidStateError);if(fe&&fe!=="."&&!Ie.SystemLiteral_match.test(fe))throw new q("DocumentType systemId is not a valid SystemLiteral",Ke.InvalidStateError);if(p.internalSubset&&p.internalSubset.indexOf("]>")!==-1)throw new q('DocumentType internalSubset contains "]>"',Ke.InvalidStateError)}return r.push(Ie.DOCTYPE_DECL_START," ",p.name),_e?(r.push(" ",Ie.PUBLIC," ",_e),fe&&fe!=="."&&r.push(" ",fe)):fe&&fe!=="."&&r.push(" ",Ie.SYSTEM," ",fe),p.internalSubset&&r.push(" [",p.internalSubset,"]"),r.push(">"),null;case eo:if(u){if(p.target.indexOf(":")!==-1||p.target.toLowerCase()==="xml")throw new q("The ProcessingInstruction target is not well-formed",Ke.InvalidStateError);if(Ie.InvalidChar.test(p.data))throw new q("The ProcessingInstruction data contains characters outside the XML Char production",Ke.InvalidStateError);if(p.data.indexOf("?>")!==-1)throw new q('The ProcessingInstruction data contains "?>"',Ke.InvalidStateError)}return r.push("<?",p.target," ",p.data,"?>"),null;case Hs:return r.push("&",p.nodeName,";"),null;default:return r.push("??",p.nodeName),null}},exit:function(p,h){h&&h.tag&&r.push("</",h.tag,">");}});}function w0(e,r,t){var n;return Pe(r,null,{enter:function(i,u){var s=i.cloneNode(false);s.ownerDocument=e,s.parentNode=null,u===null?n=s:u.appendChild(s);var c=i.nodeType===Et||t;return c?s:null}}),n}function al(e,r,t){var n;return Pe(r,null,{enter:function(i,u){var s=new i.constructor(Le);for(var c in i)if(yt(i,c)){var f=i[c];typeof f!="object"&&f!=s[c]&&(s[c]=f);}i.childNodes&&(s.childNodes=new De),s.ownerDocument=e;var p=t;switch(s.nodeType){case Qe:var h=i.attributes,m=s.attributes=new bt,b=h.length;m._ownerElement=s;for(var x=0;x<b;x++)s.setAttributeNode(al(e,h.item(x),true));break;case Et:p=true;}return u!==null?u.appendChild(s):n=s,p?s:null}}),n}function il(e,r,t){e[r]=t;}function Ji(e){for(var r=[],t=e.firstChild;t;)t.nodeType===Qe&&r.push(t),t=t.nextSibling;return r}try{Object.defineProperty&&(Object.defineProperty(cr.prototype,"length",{get:function(){return Na(this),this.$$length}}),Object.defineProperty(ue.prototype,"textContent",{get:function(){if(this.nodeType===Qe||this.nodeType===Rr){var e=[];return Pe(this,null,{enter:function(r){if(r.nodeType===Qe||r.nodeType===Rr)return !0;if(r.nodeType===eo||r.nodeType===ro)return null;e.push(r.nodeValue);}}),e.join("")}return this.nodeValue},set:function(e){switch(this.nodeType){case Qe:case Rr:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e;}}}),Object.defineProperty(wr.prototype,"children",{get:function(){return new cr(this,Ji)}}),Object.defineProperty(br.prototype,"children",{get:function(){return new cr(this,Ji)}}),Object.defineProperty(Dt.prototype,"children",{get:function(){return new cr(this,Ji)}}),il=function(e,r,t){e["$$"+r]=t;});}catch{}we._updateLiveList=Na;we.Attr=$r;we.CDATASection=Pa;we.CharacterData=xt;we.Comment=Ia;we.Document=br;we.DocumentFragment=Dt;we.DocumentType=Ba;we.DOMImplementation=Ws;we.Element=wr;we.Entity=no;we.EntityReference=Ra;we.LiveNodeList=cr;we.NamedNodeMap=bt;we.Node=ue;we.NodeList=De;we.Notation=to;we.Text=xn;we.ProcessingInstruction=Fa;we.walkDOM=Pe;we.XMLSerializer=tl;});var ul=b(Dn=>{var ol=Jr().freeze;Dn.XML_ENTITIES=ol({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'});Dn.HTML_ENTITIES=ol({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
+ `,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"});Dn.entityMap=Dn.HTML_ENTITIES;});var yl=b(La=>{var _t=Jr(),J=Qi(),pl=gn(),x0=_t.isHTMLEscapableRawTextElement,D0=_t.isHTMLMimeType,A0=_t.isHTMLRawTextElement,_n=_t.hasOwn,sl=_t.NAMESPACE,ll=pl.ParseError,T0=pl.DOMException,An=0,kr=1,At=2,Tn=3,Tt=4,Ct=5,Cn=6,ka=7;function hl(){}hl.prototype={parse:function(e,r,t){var n=this.domBuilder;n.startDocument(),dl(r,r=Object.create(null)),C0(e,r,t,n,this.errorHandler),n.endDocument();}};var oo=/&#?\w+;?/g;function C0(e,r,t,n,i){var u=D0(n.mimeType);e.indexOf(J.UNICODE_REPLACEMENT_CHARACTER)>=0&&i.warning("Unicode replacement character detected, source encoding issues?");function s(ae){if(ae>65535){ae-=65536;var ke=55296+(ae>>10),ot=56320+(ae&1023);return String.fromCharCode(ke,ot)}else return String.fromCharCode(ae)}function c(ae){var ke=ae[ae.length-1]===";"?ae:ae+";";if(!u&&ke!==ae)return i.error("EntityRef: expecting ;"),ae;var ot=J.Reference.exec(ke);if(!ot||ot[0].length!==ke.length)return i.error("entity not matching Reference production: "+ae),ae;var or=ke.slice(1,-1);return _n(t,or)?t[or]:or.charAt(0)==="#"?s(parseInt(or.substring(1).replace("x","0x"))):(i.error("entity not found:"+ae),ae)}function f(ae){if(ae>C){var ke=e.substring(C,ae).replace(oo,c);b&&x(C),n.characters(ke,0,ae-C),C=ae;}}var p=0,h=0,m=/\r\n?|\n|$/g,b=n.locator;function x(ae,ke){for(;ae>=h&&(ke=m.exec(e));)p=h,h=ke.index+ke[0].length,b.lineNumber++;b.columnNumber=ae-p+1;}for(var T=[{currentNSMap:r}],_=[],C=0;;){try{var O=e.indexOf("<",C);if(O<0){if(!u&&_.length>0)return i.fatalError("unclosed xml tag(s): "+_.join(", "));if(!e.substring(C).match(/^\s*$/)){var P=n.doc,k=P.createTextNode(e.substring(C));if(P.documentElement)return i.error("Extra content at the end of the document");P.appendChild(k),n.currentElement=k;}return}if(O>C){var B=e.substring(C,O);!u&&_.length===0&&(B=B.replace(new RegExp(J.S_OPT.source,"g"),""),B&&i.error("Unexpected content outside root element: '"+B+"'")),f(O);}switch(e.charAt(O+1)){case "/":var fe=e.indexOf(">",O+2),z=e.substring(O+2,fe>0?fe:void 0);if(!z)return i.fatalError("end tag name missing");var j=fe>0&&J.reg("^",J.QName_group,J.S_OPT,"$").exec(z);if(!j)return i.fatalError('end tag name contains invalid characters: "'+z+'"');if(!n.currentElement&&!n.doc.documentElement)return;var X=_[_.length-1]||n.currentElement.tagName||n.doc.documentElement.tagName||"";if(X!==j[1]){var F=j[1].toLowerCase();if(!u||X.toLowerCase()!==F)return i.fatalError('Opening and ending tag mismatch: "'+X+'" != "'+z+'"')}var Z=T.pop();_.pop();var le=Z.localNSMap;if(n.endElement(Z.uri,Z.localName,X),le)for(var pe in le)_n(le,pe)&&n.endPrefixMapping(pe);fe++;break;case "?":b&&x(O),fe=N0(e,O,n,i);break;case "!":b&&x(O),fe=vl(e,O,n,i,u);break;default:b&&x(O);var ee=new ml,_e=T[T.length-1].currentNSMap,fe=_0(e,O,ee,_e,c,i,u),jt=ee.length;if(ee.closed||(u&&_t.isHTMLVoidElement(ee.tagName)?ee.closed=!0:_.push(ee.tagName)),b&&jt){for(var Vt=cl(b,{}),it=0;it<jt;it++){var Xt=ee[it];x(Xt.offset),Xt.locator=cl(b,{});}n.locator=Vt,fl(ee,n,_e)&&T.push(ee),n.locator=b;}else fl(ee,n,_e)&&T.push(ee);u&&!ee.closed?fe=S0(e,fe,ee.tagName,c,n):fe++;}}catch(ae){if(ae instanceof ll)throw ae;if(ae instanceof T0)throw new ll(ae.name+": "+ae.message,n.locator,ae);i.error("element parse error: "+ae),fe=-1;}fe>C?C=fe:f(Math.max(O,C)+1);}}function cl(e,r){return r.lineNumber=e.lineNumber,r.columnNumber=e.columnNumber,r}function _0(e,r,t,n,i,u,s){function c(x,T,_){if(_n(t.attributeNames,x))return u.fatalError("Attribute "+x+" redefined");if(!s&&T.indexOf("<")>=0)return u.fatalError("Unescaped '<' not allowed in attributes values");t.addValue(x,T.replace(/[\t\n\r]/g," ").replace(oo,i),_);}for(var f,p,h=++r,m=An;;){var b=e.charAt(h);switch(b){case "=":if(m===kr)f=e.slice(r,h),m=Tn;else if(m===At)m=Tn;else throw new Error("attribute equal must after attrName");break;case "'":case '"':if(m===Tn||m===kr)if(m===kr&&(u.warning('attribute value must after "="'),f=e.slice(r,h)),r=h+1,h=e.indexOf(b,r),h>0)p=e.slice(r,h),c(f,p,r-1),m=Ct;else throw new Error("attribute value no end '"+b+"' match");else if(m==Tt)p=e.slice(r,h),c(f,p,r),u.warning('attribute "'+f+'" missed start quot('+b+")!!"),r=h+1,m=Ct;else throw new Error('attribute value must after "="');break;case "/":switch(m){case An:t.setTagName(e.slice(r,h));case Ct:case Cn:case ka:m=ka,t.closed=true;case Tt:case kr:break;case At:t.closed=true;break;default:throw new Error("attribute invalid close char('/')")}break;case "":return u.error("unexpected end of input"),m==An&&t.setTagName(e.slice(r,h)),h;case ">":switch(m){case An:t.setTagName(e.slice(r,h));case Ct:case Cn:case ka:break;case Tt:case kr:p=e.slice(r,h),p.slice(-1)==="/"&&(t.closed=true,p=p.slice(0,-1));case At:m===At&&(p=f),m==Tt?(u.warning('attribute "'+p+'" missed quot(")!'),c(f,p,r)):(s||u.warning('attribute "'+p+'" missed value!! "'+p+'" instead!!'),c(p,p,r));break;case Tn:if(!s)return u.fatalError(`AttValue: ' or " expected`)}return h;case "\x80":b=" ";default:if(b<=" ")switch(m){case An:t.setTagName(e.slice(r,h)),m=Cn;break;case kr:f=e.slice(r,h),m=At;break;case Tt:var p=e.slice(r,h);u.warning('attribute "'+p+'" missed quot(")!!'),c(f,p,r);case Ct:m=Cn;break}else switch(m){case At:s||u.warning('attribute "'+f+'" missed value!! "'+f+'" instead2!!'),c(f,f,r),r=h,m=kr;break;case Ct:u.warning('attribute space is required"'+f+'"!!');case Cn:m=kr,r=h;break;case Tn:m=Tt,r=h;break;case ka:throw new Error("elements closed character '/' and '>' must be connected to")}}h++;}}function fl(e,r,t){for(var n=e.tagName,i=null,m=e.length;m--;){var u=e[m],s=u.qName,c=u.value,b=s.indexOf(":");if(b>0)var f=u.prefix=s.slice(0,b),p=s.slice(b+1),h=f==="xmlns"&&p;else p=s,f=null,h=s==="xmlns"&&"";u.localName=p,h!==false&&(i==null&&(i=Object.create(null),dl(t,t=Object.create(null))),t[h]=i[h]=c,u.uri=sl.XMLNS,r.startPrefixMapping(h,c));}for(var m=e.length;m--;)u=e[m],u.prefix&&(u.prefix==="xml"&&(u.uri=sl.XML),u.prefix!=="xmlns"&&(u.uri=t[u.prefix]));var b=n.indexOf(":");b>0?(f=e.prefix=n.slice(0,b),p=e.localName=n.slice(b+1)):(f=null,p=e.localName=n);var x=e.uri=t[f||""];if(r.startElement(x,p,n,e),e.closed){if(r.endElement(x,p,n),i)for(f in i)_n(i,f)&&r.endPrefixMapping(f);}else return e.currentNSMap=t,e.localNSMap=i,true}function S0(e,r,t,n,i){var u=x0(t);if(u||A0(t)){var s=e.indexOf("</"+t+">",r),c=e.substring(r+1,s);return u&&(c=c.replace(oo,n)),i.characters(c,0,c.length),s}return r+1}function dl(e,r){for(var t in e)_n(e,t)&&(r[t]=e[t]);}function gl(e,r){var t=r;function n(h){return h=h||0,e.charAt(t+h)}function i(h){h=h||1,t+=h;}function u(){for(var h=0;t<e.length;){var m=n();if(m!==" "&&m!==`
5
+ `&&m!==" "&&m!=="\r")return h;h++,i();}return -1}function s(){return e.substring(t)}function c(h){return e.substring(t,t+h.length)===h}function f(h){return e.substring(t,t+h.length).toUpperCase()===h.toUpperCase()}function p(h){var m=J.reg("^",h),b=m.exec(s());return b?(i(b[0].length),b[0]):null}return {char:n,getIndex:function(){return t},getMatch:p,getSource:function(){return e},skip:i,skipBlanks:u,substringFromIndex:s,substringStartsWith:c,substringStartsWithCaseInsensitive:f}}function O0(e,r){function t(c,f){var p=J.PI.exec(c.substringFromIndex());return p?p[1].toLowerCase()==="xml"?f.fatalError("xml declaration is only allowed at the start of the document, but found at position "+c.getIndex()):(c.skip(p[0].length),p[0]):f.fatalError("processing instruction is not well-formed at position "+c.getIndex())}var n=e.getSource();if(e.char()==="["){e.skip(1);for(var i=e.getIndex();e.getIndex()<n.length;){if(e.skipBlanks(),e.char()==="]"){var u=n.substring(i,e.getIndex());return e.skip(1),u}var s=null;if(e.char()==="<"&&e.char(1)==="!")switch(e.char(2)){case "E":e.char(3)==="L"?s=e.getMatch(J.elementdecl):e.char(3)==="N"&&(s=e.getMatch(J.EntityDecl));break;case "A":s=e.getMatch(J.AttlistDecl);break;case "N":s=e.getMatch(J.NotationDecl);break;case "-":s=e.getMatch(J.Comment);break}else if(e.char()==="<"&&e.char(1)==="?")s=t(e,r);else if(e.char()==="%")s=e.getMatch(J.PEReference);else return r.fatalError("Error detected in Markup declaration");if(!s)return r.fatalError("Error in internal subset at position "+e.getIndex())}return r.fatalError("doctype internal subset is not well-formed, missing ]")}}function vl(e,r,t,n,i){var u=gl(e,r);switch(i?u.char(2).toUpperCase():u.char(2)){case "-":var s=u.getMatch(J.Comment);return s?(t.comment(s,J.COMMENT_START.length,s.length-J.COMMENT_START.length-J.COMMENT_END.length),u.getIndex()):n.fatalError("comment is not well-formed at position "+u.getIndex());case "[":var c=u.getMatch(J.CDSect);return c?!i&&!t.currentElement?n.fatalError("CDATA outside of element"):(t.startCDATA(),t.characters(c,J.CDATA_START.length,c.length-J.CDATA_START.length-J.CDATA_END.length),t.endCDATA(),u.getIndex()):n.fatalError("Invalid CDATA starting at position "+r);case "D":{if(t.doc&&t.doc.documentElement)return n.fatalError("Doctype not allowed inside or after documentElement at position "+u.getIndex());if(i?!u.substringStartsWithCaseInsensitive(J.DOCTYPE_DECL_START):!u.substringStartsWith(J.DOCTYPE_DECL_START))return n.fatalError("Expected "+J.DOCTYPE_DECL_START+" at position "+u.getIndex());if(u.skip(J.DOCTYPE_DECL_START.length),u.skipBlanks()<1)return n.fatalError("Expected whitespace after "+J.DOCTYPE_DECL_START+" at position "+u.getIndex());var f={name:void 0,publicId:void 0,systemId:void 0,internalSubset:void 0};if(f.name=u.getMatch(J.Name),!f.name)return n.fatalError("doctype name missing or contains unexpected characters at position "+u.getIndex());if(i&&f.name.toLowerCase()!=="html"&&n.warning("Unexpected DOCTYPE in HTML document at position "+u.getIndex()),u.skipBlanks(),u.substringStartsWith(J.PUBLIC)||u.substringStartsWith(J.SYSTEM)){var p=J.ExternalID_match.exec(u.substringFromIndex());if(!p)return n.fatalError("doctype external id is not well-formed at position "+u.getIndex());p.groups.SystemLiteralOnly!==void 0?f.systemId=p.groups.SystemLiteralOnly:(f.systemId=p.groups.SystemLiteral,f.publicId=p.groups.PubidLiteral),u.skip(p[0].length);}else if(i&&u.substringStartsWithCaseInsensitive(J.SYSTEM)){if(u.skip(J.SYSTEM.length),u.skipBlanks()<1)return n.fatalError("Expected whitespace after "+J.SYSTEM+" at position "+u.getIndex());if(f.systemId=u.getMatch(J.ABOUT_LEGACY_COMPAT_SystemLiteral),!f.systemId)return n.fatalError("Expected "+J.ABOUT_LEGACY_COMPAT+" in single or double quotes after "+J.SYSTEM+" at position "+u.getIndex())}return i&&f.systemId&&!J.ABOUT_LEGACY_COMPAT_SystemLiteral.test(f.systemId)&&n.warning("Unexpected doctype.systemId in HTML document at position "+u.getIndex()),i||(u.skipBlanks(),f.internalSubset=O0(u,n)),u.skipBlanks(),u.char()!==">"?n.fatalError("doctype not terminated with > at position "+u.getIndex()):(u.skip(1),t.startDTD(f.name,f.publicId,f.systemId,f.internalSubset),t.endDTD(),u.getIndex())}default:return n.fatalError('Not well-formed XML starting with "<!" at position '+r)}}function N0(e,r,t,n){var i=e.substring(r).match(J.PI);if(!i)return n.fatalError("Invalid processing instruction starting at position "+r);if(i[1].toLowerCase()==="xml"){if(r>0)return n.fatalError("processing instruction at position "+r+" is an xml declaration which is only at the start of the document");if(!J.XMLDecl.test(e.substring(r)))return n.fatalError("xml declaration is not well-formed")}return t.processingInstruction(i[1],i[2]),r+i[0].length}function ml(){this.attributeNames=Object.create(null);}ml.prototype={setTagName:function(e){if(!J.QName_exact.test(e))throw new Error("invalid tagName:"+e);this.tagName=e;},addValue:function(e,r,t){if(!J.QName_exact.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:r,offset:t};},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}};La.XMLReader=hl;La.parseUtils=gl;La.parseDoctypeCommentOrCData=vl;});var Tl=b(Ot=>{var et=Jr(),I0=io(),P0=gn(),El=ul(),B0=yl(),R0=I0.DOMImplementation,F0=et.hasDefaultHTMLNamespace,k0=et.isHTMLMimeType,L0=et.isValidMimeType,xl=et.MIME_TYPE,uo=et.NAMESPACE,bl=P0.ParseError,M0=B0.XMLReader;function Dl(e){return e.replace(/\r[\n\u0085]/g,`
6
+ `).replace(/[\r\u0085\u2028\u2029]/g,`
7
+ `)}function Al(e){if(e=e||{},e.locator===void 0&&(e.locator=true),this.assign=e.assign||et.assign,this.domHandler=e.domHandler||qa,this.onError=e.onError||e.errorHandler,e.errorHandler&&typeof e.errorHandler!="function")throw new TypeError("errorHandler object is no longer supported, switch to onError!");e.errorHandler&&e.errorHandler("warning","The `errorHandler` option has been deprecated, use `onError` instead!",this),this.normalizeLineEndings=e.normalizeLineEndings||Dl,this.locator=!!e.locator,this.xmlns=this.assign(Object.create(null),e.xmlns);}Al.prototype.parseFromString=function(e,r){if(!L0(r))throw new TypeError('DOMParser.parseFromString: the provided mimeType "'+r+'" is not valid.');var t=this.assign(Object.create(null),this.xmlns),n=El.XML_ENTITIES,i=t[""]||null;F0(r)?(n=El.HTML_ENTITIES,i=uo.HTML):r===xl.XML_SVG_IMAGE&&(i=uo.SVG),t[""]=i,t.xml=t.xml||uo.XML;var u=new this.domHandler({mimeType:r,defaultNamespace:i,onError:this.onError}),s=this.locator?{}:void 0;this.locator&&u.setDocumentLocator(s);var c=new M0;c.errorHandler=u,c.domBuilder=u;var f=!et.isHTMLMimeType(r);return f&&typeof e!="string"&&c.errorHandler.fatalError("source is not a string"),c.parse(this.normalizeLineEndings(String(e)),t,n),u.doc.documentElement||c.errorHandler.fatalError("missing root element"),u.doc};function qa(e){var r=e||{};this.mimeType=r.mimeType||xl.XML_APPLICATION,this.defaultNamespace=r.defaultNamespace||null,this.cdata=false,this.currentElement=void 0,this.doc=void 0,this.locator=void 0,this.onError=r.onError;}function St(e,r){r.lineNumber=e.lineNumber,r.columnNumber=e.columnNumber;}qa.prototype={startDocument:function(){var e=new R0;this.doc=k0(this.mimeType)?e.createHTMLDocument(false):e.createDocument(this.defaultNamespace,"");},startElement:function(e,r,t,n){var i=this.doc,u=i.createElementNS(e,t||r),s=n.length;Ma(this,u),this.currentElement=u,this.locator&&St(this.locator,u);for(var c=0;c<s;c++){var e=n.getURI(c),f=n.getValue(c),t=n.getQName(c),p=i.createAttributeNS(e,t);this.locator&&St(n.getLocator(c),p),p.value=p.nodeValue=f,u.setAttributeNode(p);}},endElement:function(e,r,t){this.currentElement=this.currentElement.parentNode;},startPrefixMapping:function(e,r){},endPrefixMapping:function(e){},processingInstruction:function(e,r){var t=this.doc.createProcessingInstruction(e,r);this.locator&&St(this.locator,t),Ma(this,t);},ignorableWhitespace:function(e,r,t){},characters:function(e,r,t){if(e=wl.apply(this,arguments),e){if(this.cdata)var n=this.doc.createCDATASection(e);else var n=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(e)&&this.doc.appendChild(n),this.locator&&St(this.locator,n);}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize();},setDocumentLocator:function(e){e&&(e.lineNumber=0),this.locator=e;},comment:function(e,r,t){e=wl.apply(this,arguments);var n=this.doc.createComment(e);this.locator&&St(this.locator,n),Ma(this,n);},startCDATA:function(){this.cdata=true;},endCDATA:function(){this.cdata=false;},startDTD:function(e,r,t,n){var i=this.doc.implementation;if(i&&i.createDocumentType){var u=i.createDocumentType(e,r,t,n);this.locator&&St(this.locator,u),Ma(this,u),this.doc.doctype=u;}},reportError:function(e,r){if(typeof this.onError=="function")try{this.onError(e,r,this);}catch(t){throw new bl("Reporting "+e+' "'+r+'" caused '+t,this.locator)}else console.error("[xmldom "+e+"] "+r,q0(this.locator));},warning:function(e){this.reportError("warning",e);},error:function(e){this.reportError("error",e);},fatalError:function(e){throw this.reportError("fatalError",e),new bl(e,this.locator)}};function q0(e){if(e)return `
8
+ @#[line:`+e.lineNumber+",col:"+e.columnNumber+"]"}function wl(e,r,t){return typeof e=="string"?e.substr(r,t):e.length>=r+t||r?new java.lang.String(e,r,t)+"":e}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){qa.prototype[e]=function(){return null};});function Ma(e,r){e.currentElement?e.currentElement.appendChild(r):e.doc.appendChild(r);}function U0(e){if(e==="error")throw "onErrorStopParsing"}function z0(){throw "onWarningStopParsing"}Ot.__DOMHandler=qa;Ot.DOMParser=Al;Ot.normalizeLineEndings=Dl;Ot.onErrorStopParsing=U0;Ot.onWarningStopParsing=z0;});var Cl=b(se=>{var Nt=Jr();se.assign=Nt.assign;se.hasDefaultHTMLNamespace=Nt.hasDefaultHTMLNamespace;se.isHTMLMimeType=Nt.isHTMLMimeType;se.isValidMimeType=Nt.isValidMimeType;se.MIME_TYPE=Nt.MIME_TYPE;se.NAMESPACE=Nt.NAMESPACE;var Ua=gn();se.DOMException=Ua.DOMException;se.DOMExceptionName=Ua.DOMExceptionName;se.ExceptionCode=Ua.ExceptionCode;se.ParseError=Ua.ParseError;var Ae=io();se.Attr=Ae.Attr;se.CDATASection=Ae.CDATASection;se.CharacterData=Ae.CharacterData;se.Comment=Ae.Comment;se.Document=Ae.Document;se.DocumentFragment=Ae.DocumentFragment;se.DocumentType=Ae.DocumentType;se.DOMImplementation=Ae.DOMImplementation;se.Element=Ae.Element;se.Entity=Ae.Entity;se.EntityReference=Ae.EntityReference;se.LiveNodeList=Ae.LiveNodeList;se.NamedNodeMap=Ae.NamedNodeMap;se.Node=Ae.Node;se.NodeList=Ae.NodeList;se.Notation=Ae.Notation;se.ProcessingInstruction=Ae.ProcessingInstruction;se.Text=Ae.Text;se.XMLSerializer=Ae.XMLSerializer;var za=Tl();se.DOMParser=za.DOMParser;se.normalizeLineEndings=za.normalizeLineEndings;se.onErrorStopParsing=za.onErrorStopParsing;se.onWarningStopParsing=za.onWarningStopParsing;});var ja=b((S1,_l)=>{function j0(e){return e[e.length-1]}function V0(e){return e[0]}_l.exports={last:j0,first:V0};});var $e=b((O1,Nl)=>{function Sn(e){"@babel/helpers - typeof";return Sn=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},Sn(e)}function Sl(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n);}return t}function X0(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Sl(Object(t),true).forEach(function(n){H0(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Sl(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function H0(e,r,t){return (r=Z0(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function Z0(e){var r=G0(e,"string");return Sn(r)=="symbol"?r:r+""}function G0(e,r){if(Sn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Sn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}var Ol=ja(),Va=Ol.last,rt=Ol.first;function tt(e){this.name="GenericError",this.message=e,this.stack=new Error(e).stack;}tt.prototype=Error.prototype;function Be(e){this.name="TemplateError",this.message=e,this.stack=new Error(e).stack;}Be.prototype=new tt;function On(e){this.name="RenderingError",this.message=e,this.stack=new Error(e).stack;}On.prototype=new tt;function Xa(e){this.name="ScopeParserError",this.message=e,this.stack=new Error(e).stack;}Xa.prototype=new tt;function Lr(e){this.name="InternalError",this.properties={explanation:"InternalError"},this.message=e,this.stack=new Error(e).stack;}Lr.prototype=new tt;function so(e){this.name="APIVersionError",this.properties={explanation:"APIVersionError"},this.message=e,this.stack=new Error(e).stack;}so.prototype=new tt;function Y0(e,r){var t=new so(e);throw t.properties=X0({id:"api_version_error"},r),t}function W0(e){var r=Object.keys(e.files).slice(0,10),t="";r.length===0?t="Empty zip file":t="Zip file contains : ".concat(r.join(","));var n=new Lr("The filetype for this file could not be identified, is this file corrupted ? ".concat(t));throw n.properties={id:"filetype_not_identified",explanation:"The filetype for this file could not be identified, is this file corrupted ? ".concat(t)},n}function K0(e){var r=new Lr('The filetype "'.concat(e,'" is not handled by docxtemplater'));throw r.properties={id:"filetype_not_handled",explanation:'The file you are trying to generate is of type "'.concat(e,'", but only docx and pptx formats are handled'),fileType:e},r}function Q0(e){var r=new Be("Multi error");throw r.properties={errors:e,id:"multi_error",explanation:"The template has multiple errors"},r}function J0(e){var r=new Be("Unopened tag");return r.properties={xtag:Va(e.xtag.split(" ")),id:"unopened_tag",context:e.xtag,offset:e.offset,lIndex:e.lIndex,explanation:'The tag beginning with "'.concat(e.xtag.substr(0,30),'" is unopened')},r}function $0(e){var r=new Be("Duplicate open tag, expected one open tag");return r.properties={xtag:rt(e.xtag.split(" ")),id:"duplicate_open_tag",context:e.xtag,offset:e.offset,lIndex:e.lIndex,explanation:'The tag beginning with "'.concat(e.xtag.substr(0,30),'" has duplicate open tags')},r}function e2(e){var r=new Be("Duplicate close tag, expected one close tag");return r.properties={xtag:rt(e.xtag.split(" ")),id:"duplicate_close_tag",context:e.xtag,offset:e.offset,lIndex:e.lIndex,explanation:'The tag ending with "'.concat(e.xtag.substr(0,30),'" has duplicate close tags')},r}function r2(e){var r=new Be("Unclosed tag");return r.properties={xtag:rt(e.xtag.split(" ")).substr(1),id:"unclosed_tag",context:e.xtag,offset:e.offset,lIndex:e.lIndex,explanation:'The tag beginning with "'.concat(e.xtag.substr(0,30),'" is unclosed')},r}function t2(e){e.position==="left"?n2(e):a2(e);}function n2(e){var r=new Be('No tag "'.concat(e.element,'" was found at the ').concat(e.position)),t=e.parsed[e.index];throw r.properties={id:"no_xml_tag_found_at_left",explanation:'No tag "'.concat(e.element,'" was found at the left'),offset:t.offset,part:t,parsed:e.parsed,index:e.index,element:e.element},r}function a2(e){var r=new Be('No tag "'.concat(e.element,'" was found at the ').concat(e.position)),t=e.parsed[e.index];throw r.properties={id:"no_xml_tag_found_at_right",explanation:'No tag "'.concat(e.element,'" was found at the right'),offset:t.offset,part:t,parsed:e.parsed,index:e.index,element:e.element},r}function i2(e){var r=e.tag,t=e.value,n=e.offset,i=new On("There are some XML corrupt characters");return i.properties={id:"invalid_xml_characters",xtag:r,value:t,offset:n,explanation:'There are some corrupt characters for the field "'.concat(r,'"')},i}function o2(e){var r=e.tag,t=e.value,n=e.offset,i=e.partDelims,u=new On("Non string values are not allowed for rawXML tags");return u.properties={id:"invalid_raw_xml_value",xtag:r,value:t,offset:n,explanation:'The value of the raw tag : "'.concat(i,'" is not a string')},u}function u2(e){var r=e.part,t=r.value,n=r.offset,i=e.id,u=i===void 0?"raw_tag_outerxml_invalid":i,s=e.message,c=s===void 0?"Raw tag not in paragraph":s,f=e.part,p=e.explanation,h=p===void 0?'The tag "'.concat(t,'" is not inside a paragraph'):p;typeof h=="function"&&(h=h(f));var m=new Be(c);throw m.properties={id:u,explanation:h,rootError:e.rootError,xtag:t,offset:n,postparsed:e.postparsed,expandTo:e.expandTo,index:e.index},m}function s2(e){var r=new Be("Raw tag should be the only text in paragraph"),t=e.part.value;throw r.properties={id:"raw_xml_tag_should_be_only_text_in_paragraph",explanation:'The raw tag "'.concat(t,'" should be the only text in this paragraph. This means that this tag should not be surrounded by any text or spaces.'),xtag:t,offset:e.part.offset,paragraphParts:e.paragraphParts},r}function l2(e){var r=e.location,t=e.offset,n=e.square,i=r==="start"?"unclosed":"unopened",u=r==="start"?"Unclosed":"Unopened",s=new Be("".concat(u," loop")),c=e.value;return s.properties={id:"".concat(i,"_loop"),explanation:'The loop with tag "'.concat(c,'" is ').concat(i),xtag:c,offset:t},n&&(s.properties.square=n),s}function c2(e,r){var t=new Be("Unbalanced loop tag"),n=r[0].part.value,i=r[1].part.value,u=e[0].part.value,s=e[1].part.value;return t.properties={id:"unbalanced_loop_tags",explanation:"Unbalanced loop tags {#".concat(n,"}{/").concat(i,"}{#").concat(u,"}{/").concat(s,"}"),offset:[r[0].part.offset,e[1].part.offset],lastPair:{left:r[0].part.value,right:r[1].part.value},pair:{left:e[0].part.value,right:e[1].part.value}},t}function f2(e){var r=e.tags,t=new Be("Closing tag does not match opening tag");return t.properties={id:"closing_tag_does_not_match_opening_tag",explanation:'The tag "'.concat(r[0].value,'" is closed by the tag "').concat(r[1].value,'"'),openingtag:rt(r).value,offset:[rt(r).offset,Va(r).offset],closingtag:Va(r).value},rt(r).square&&(t.properties.square=[rt(r).square,Va(r).square]),t}function p2(e){var r=e.tag,t=e.offset,n=new Be('The position of the loop tags "'.concat(r,'" would produce invalid XML'));return n.properties={xtag:r,id:"loop_position_invalid",explanation:'The tags "'.concat(r,'" are misplaced in the document, for example one of them is in a table and the other one outside the table'),offset:t},n}function h2(e){var r=e.tag,t=e.rootError,n=e.offset,i=new Xa("Scope parser compilation failed");return i.properties={id:"scopeparser_compilation_failed",offset:n,xtag:r,explanation:'The scope parser for the tag "'.concat(r,'" failed to compile'),rootError:t},i}function d2(e){var r=e.tag,t=e.scope,n=e.error,i=e.offset,u=new Xa("Scope parser execution failed");return u.properties={id:"scopeparser_execution_failed",explanation:'The scope parser for the tag "'.concat(r,'" failed to execute'),scope:t,offset:i,xtag:r,rootError:n},u}function g2(e,r){var t='Unimplemented tag type "'.concat(e.type,'"');e.module&&(t+=' "'.concat(e.module,'"'));var n=new Be(t);throw n.properties={part:e,index:r,id:"unimplemented_tag_type"},n}function v2(){var e=new Lr("Malformed xml");throw e.properties={explanation:"The template contains malformed xml",id:"malformed_xml"},e}function m2(){var e=new Lr("You must run `.compile()` before running `.resolveData()`");throw e.properties={id:"resolve_before_compile",explanation:"You must run `.compile()` before running `.resolveData()`"},e}function y2(){var e=new Lr("You should not call .render on a document that had compilation errors");throw e.properties={id:"render_on_invalid_template",explanation:"You should not call .render on a document that had compilation errors"},e}function E2(){var e=new Lr("You should not call .render twice on the same docxtemplater instance");throw e.properties={id:"render_twice",explanation:"You should not call .render twice on the same docxtemplater instance"},e}function b2(e,r){var t=new Be("An XML file has invalid xml");throw t.properties={id:"file_has_invalid_xml",content:e,offset:r,explanation:"The docx contains invalid XML, it is most likely corrupt"},t}Nl.exports={XTError:tt,XTTemplateError:Be,XTInternalError:Lr,XTScopeParserError:Xa,XTAPIVersionError:so,RenderingError:On,XTRenderingError:On,getClosingTagNotMatchOpeningTag:f2,getLoopPositionProducesInvalidXMLError:p2,getScopeCompilationError:h2,getScopeParserExecutionError:d2,getUnclosedTagException:r2,getUnopenedTagException:J0,getUnmatchedLoopException:l2,getDuplicateCloseTagException:e2,getDuplicateOpenTagException:$0,getCorruptCharactersException:i2,getInvalidRawXMLValueException:o2,getUnbalancedLoopException:c2,throwApiVersionError:Y0,throwFileTypeNotHandled:K0,throwFileTypeNotIdentified:W0,throwMalformedXml:v2,throwMultiError:Q0,throwExpandNotFound:u2,throwRawTagShouldBeOnlyTextInParagraph:s2,throwUnimplementedTagType:g2,throwXmlTagNotFound:t2,throwXmlInvalid:b2,throwResolveBeforeCompile:m2,throwRenderInvalidTemplate:y2,throwRenderTwice:E2};});var xe=b((N1,Ml)=>{function w2(e,r){return T2(e)||A2(e,r)||D2(e,r)||x2()}function x2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
9
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function D2(e,r){if(e){if(typeof e=="string")return Il(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)?Il(e,r):void 0}}function Il(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 A2(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,i,u,s,c=[],f=true,p=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(h){p=true,i=h;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(p)throw i}}return c}}function T2(e){if(Array.isArray(e))return e}var Pl=Cl(),C2=Pl.DOMParser,_2=Pl.XMLSerializer,S2=$e(),Bl=S2.throwXmlTagNotFound,Rl=ja(),O2=Rl.last,N2=Rl.first;function I2(e){return /^[ \n\r\t]+$/.test(e)}function P2(e){return {get:function(t){return e==="."?t:t&&t[e]}}}function B2(e){for(var r=0;r<e.length;r++){var t=e[r];t.message&&console.warn("Warning : "+t.message);}}var lo={};function R2(e,r,t){var n;if(lo[r]?n=lo[r]:(n=new RegExp("(<.* ".concat(r,'=")([^"]*)(".*)$')),lo[r]=n),n.test(e))return e.replace(n,"$1".concat(t,"$3"));var i=e.lastIndexOf("/>");return i===-1&&(i=e.lastIndexOf(">")),e.substr(0,i)+" ".concat(r,'="').concat(t,'"')+e.substr(i)}function F2(e,r){var t=e.indexOf(" ".concat(r,'="'));if(t===-1)return null;var n=e.substr(t).search(/["']/)+t,i=e.substr(n+1).search(/["']/)+n;return e.substr(n+1,i-n)}function k2(e,r){return e.indexOf(r,e.length-r.length)!==-1}function L2(e,r){return e.substring(0,r.length)===r}function M2(e){for(var r=[],t={},n=[],i=0,u=e.length;i<u;++i)t[e[i]]?r.push(e[i]):(t[e[i]]=true,n.push(e[i]));return r}function q2(e){for(var r={},t=[],n=0,i=e.length;n<i;++n)r[e[n]]||(r[e[n]]=true,t.push(e[n]));return t}function U2(e,r){for(var t=[[]],n=0;n<e.length;n++){var i=e[n],u=t[t.length-1],s=r(i);s==="start"?t.push([i]):s==="end"?(u.push(i),t.push([])):u.push(i);}for(var c=[],f=0;f<t.length;f++){var p=t[f];p.length>0&&c.push(p);}return c}function z2(){return {errorLogging:"json",stripInvalidXMLChars:false,paragraphLoop:false,nullGetter:function(r){return r.module?"":"undefined"},xmlFileNames:["[Content_Types].xml"],parser:P2,warnFn:B2,linebreaks:false,fileTypeConfig:null,delimiters:{start:"{",end:"}"},syntax:{changeDelimiterPrefix:"=",preserveNewlinesInTags:false,allowUnopenedTag:false,allowUnclosedTag:false,allowUnbalancedLoops:false}}}function j2(e){return new _2().serializeToString(e).replace(/xmlns(:[a-z0-9]+)?="" ?/g,"")}function V2(e){return e.charCodeAt(0)===65279&&(e=e.substr(1)),new C2().parseFromString(e,"text/xml")}var Fl=[["&","&amp;"],["<","&lt;"],[">","&gt;"],['"',"&quot;"],["'","&apos;"]],Nn=Fl.map(function(e){var r=w2(e,2),t=r[0],n=r[1];return {rstart:new RegExp(n,"g"),rend:new RegExp(t,"g"),start:n,end:t}});function X2(e){for(var r=Nn.length-1;r>=0;r--){var t=Nn[r];e=e.replace(t.rstart,t.end);}return e}function H2(e){var r;(r=e)!==null&&r!==void 0&&r.toString?e=e.toString():e="";for(var t,n=0,i=Nn.length;n<i;n++)t=Nn[n],e=e.replace(t.rend,t.start);return e}function Z2(e){for(var r=[],t=0;t<e.length;t++)for(var n=e[t],i=0;i<n.length;i++){var u=n[i];r.push(u);}return r}function G2(e,r){if(!r)return e;for(var t=0,n=r.length;t<n;t++)e.push(r[t]);return e}var Y2=new RegExp("\xA0","g");function W2(e){return e.replace(Y2," ")}function K2(e,r){for(var t=[],n;(n=e.exec(r))!=null;)t.push({array:n,offset:n.index});return t}function fo(e,r){return e==="</"+r+">"}function po(e,r){return e.indexOf("<"+r)===0&&[">"," ","/"].indexOf(e[r.length+1])!==-1}function Q2(e,r,t){var n=kl(e,r,t);if(n!==null)return n;Bl({position:"right",element:r,parsed:e,index:t});}function kl(e,r,t){typeof r=="string"&&(r=[r]);for(var n=1,i=t,u=e.length;i<u;i++)for(var s=e[i],c=0,f=r;c<f.length;c++){var p=f[c];if(fo(s.value,p)&&n--,po(s.value,p)&&n++,n===0)return i}return null}function J2(e,r,t){var n=Ll(e,r,t);if(n!==null)return n;Bl({position:"left",element:r,parsed:e,index:t});}function Ll(e,r,t){typeof r=="string"&&(r=[r]);for(var n=1,i=t;i>=0;i--)for(var u=e[i],s=0,c=r;s<c.length;s++){var f=c[s];if(po(u.value,f)&&n--,fo(u.value,f)&&n++,n===0)return i}return null}function $2(e,r){var t=r.type,n=r.tag,i=r.position;return t==="tag"&&n===e&&(i==="start"||i==="selfclosing")}function eg(e,r){var t=r.type,n=r.tag,i=r.position;return t==="tag"&&n===e&&i==="end"}function rg(e){var r=e.type,t=e.tag,n=e.position;return ["w:p","a:p","text:p"].indexOf(t)!==-1&&r==="tag"&&n==="start"}function tg(e){var r=e.type,t=e.tag,n=e.position;return ["w:p","a:p","text:p"].indexOf(t)!==-1&&r==="tag"&&n==="end"}function ng(e){var r=e.type,t=e.tag,n=e.position;return ["w:br","a:br"].indexOf(t)!==-1&&r==="tag"&&(n==="start"||n==="selfclosing")}function ag(e){var r=e.type,t=e.position,n=e.text;return n&&r==="tag"&&t==="start"}function ig(e){var r=e.type,t=e.position,n=e.text;return n&&r==="tag"&&t==="end"}function og(e){var r=e.type,t=e.position;return r==="placeholder"||r==="content"&&t==="insidetag"}function ug(e,r){var t=e.module,n=e.type;return r instanceof Array||(r=[r]),n==="placeholder"&&r.indexOf(t)!==-1}var co=/[\x00-\x08\x0B\x0C\x0E-\x1F]/g;function sg(e){return co.lastIndex=0,co.test(e)}function lg(e){return typeof e!="string"&&(e=String(e)),e.replace(co,"")}function cg(e){var r={};for(var t in e){var n=e[t];r[n]||(r[n]=[]),r[n].push(t);}return r}function fg(e,r){for(var t=[],n=0;n<e.length;n++)t.push({item:e[n],index:n});t.sort(function(s,c){return r(s.item,c.item)||s.index-c.index});for(var i=[],u=0;u<t.length;u++)i.push(t[u].item);return i}function pg(e,r){return r.delimiters.start+e.raw+r.delimiters.end}Ml.exports={getPartWithDelimiters:pg,endsWith:k2,startsWith:L2,isContent:og,isParagraphStart:rg,isParagraphEnd:tg,isBreakTag:ng,isTagStart:$2,isTagEnd:eg,isTextStart:ag,isTextEnd:ig,isStarting:po,isEnding:fo,isModule:ug,uniq:q2,getDuplicates:M2,chunkBy:U2,last:O2,first:N2,xml2str:j2,str2xml:V2,getRightOrNull:kl,getRight:Q2,getLeftOrNull:Ll,getLeft:J2,pregMatchAll:K2,convertSpaces:W2,charMapRegexes:Nn,hasCorruptCharacters:sg,removeCorruptCharacters:lg,getDefaults:z2,wordToUtf8:X2,utf8ToWord:H2,concatArrays:Z2,pushArray:G2,invertMap:cg,charMap:Fl,getSingleAttribute:F2,setSingleAttribute:R2,isWhiteSpace:I2,stableSort:fg};});var jl=b((I1,zl)=>{function hg(e,r){return mg(e)||vg(e,r)||gg(e,r)||dg()}function dg(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
10
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gg(e,r){if(e){if(typeof e=="string")return ql(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)?ql(e,r):void 0}}function ql(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 vg(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,i,u,s,c=[],f=true,p=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(h){p=true,i=h;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(p)throw i}}return c}}function mg(e){if(Array.isArray(e))return e}function Re(e){"@babel/helpers - typeof";return Re=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},Re(e)}function yg(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Ul(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,bg(n.key),n);}}function Eg(e,r,t){return t&&Ul(e,t),Object.defineProperty(e,"prototype",{writable:false}),e}function bg(e){var r=wg(e,"string");return Re(r)=="symbol"?r:r+""}function wg(e,r){if(Re(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Re(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var xg=(function(){function e(){yg(this,e);}return Eg(e,null,[{key:"createSchema",value:function(t){var n={validate:t,optional:function(){return e.createSchema(function(u){return u===void 0?{success:true,value:u}:t(u)})},nullable:function(){return e.createSchema(function(u){return u==null?{success:true,value:u}:t(u)})}};return n}},{key:"string",value:function(){return e.createSchema(function(t){return typeof t!="string"?{success:false,error:"Expected string, received ".concat(Re(t))}:{success:true,value:t}})}},{key:"date",value:function(){return e.createSchema(function(t){return t instanceof Date?{success:true,value:t}:{success:false,error:"Expected date, received ".concat(Re(t))}})}},{key:"boolean",value:function(){return e.createSchema(function(t){return typeof t!="boolean"?{success:false,error:"Expected boolean, received ".concat(Re(t))}:{success:true,value:t}})}},{key:"number",value:function(){return e.createSchema(function(t){return typeof t!="number"?{success:false,error:"Expected number, received ".concat(Re(t))}:{success:true,value:t}})}},{key:"function",value:function(){return e.createSchema(function(t){return typeof t!="function"?{success:false,error:"Expected function, received ".concat(Re(t))}:{success:true,value:t}})}},{key:"array",value:function(t){return e.createSchema(function(n){if(!Array.isArray(n))return {success:false,error:"Expected array, received ".concat(Re(n))};for(var i=0;i<n.length;i++){var u=t.validate(n[i]);if(!u.success)return {success:false,error:"".concat(u.error," at index ").concat(i)}}return {success:true,value:n}})}},{key:"any",value:function(){return e.createSchema(function(t){return {success:true,value:t}})}},{key:"isRegex",value:function(){return e.createSchema(function(t){return t instanceof RegExp?{success:true,value:t}:{success:false,error:"Expected RegExp, received ".concat(Re(t))}})}},{key:"union",value:function(t){return e.createSchema(function(n){for(var i=0;i<t.length;i++){var u=t[i],s=u.validate(n);if(s.success)return s}return {success:false,error:"Value ".concat(n," does not match any schema in union")}})}},{key:"object",value:function(t){var n=e.createSchema(function(i){if(i==null)return {success:false,error:"Expected object, received ".concat(i)};if(Re(i)!=="object")return {success:false,error:"Expected object, received ".concat(Re(i))};for(var u=0,s=Object.entries(t);u<s.length;u++){var c=hg(s[u],2),f=c[0],p=c[1],h=p.validate(i[f]);if(!h.success)return {success:false,error:"".concat(h.error," at ").concat(f)}}return {success:true,value:i}});return n.strict=function(){return e.createSchema(function(i){var u=n.validate(i);if(!u.success)return u;var s=Object.keys(i).filter(function(c){return !(c in t)});return s.length>0?{success:false,error:"Unexpected properties: ".concat(s.join(", "))}:u})},n}},{key:"record",value:function(t){return e.createSchema(function(n){if(n===null)return {success:false,error:"Expected object, received null"};if(Re(n)!=="object")return {success:false,error:"Expected object, received ".concat(Re(n))};for(var i=0,u=Object.keys(n);i<u.length;i++){var s=u[i];if(typeof s!="string")return {success:false,error:"Expected string key, received ".concat(Re(s)," at ").concat(s)};var c=t.validate(n[s]);if(!c.success)return {success:false,error:"".concat(c.error," at key ").concat(s)}}return {success:true,value:n}})}}])})();zl.exports=xg;});var Xl=b((P1,Vl)=>{var Dg=xe(),Ag=Dg.str2xml,Tg="_rels/.rels";function Cg(e){for(var r=e.files[Tg],t=r?Ag(r.asText()):null,n=t?t.getElementsByTagName("Relationship"):[],i={},u=0;u<n.length;u++){var s=n[u];i[s.getAttribute("Target")]=s.getAttribute("Type");}return i}Vl.exports={getRelsTypes:Cg};});var Gl=b((B1,Zl)=>{var _g=xe(),Sg=_g.str2xml,Hl="[Content_Types].xml";function Og(e,r,t){for(var n={},i=0;i<e.length;i++){var u=e[i],s=u.getAttribute("ContentType"),c=u.getAttribute("PartName").substr(1);n[c]=s;}return t.file(/./).map(function(f){for(var p=f.name,h=0;h<r.length;h++){var m=r[h],b=m.getAttribute("ContentType"),x=m.getAttribute("Extension");p.slice(p.length-x.length)===x&&!n[p]&&p!==Hl&&(n[p]=b);}n[p]||(n[p]="");}),n}function Ng(e){var r=e.files[Hl],t=r?Sg(r.asText()):null,n=t?t.getElementsByTagName("Override"):null,i=t?t.getElementsByTagName("Default"):null;return {overrides:n,defaults:i,contentTypes:r,contentTypeXml:t}}Zl.exports={collectContentTypes:Og,getContentTypes:Ng};});var Mr=b((R1,Yl)=>{var Ig=$e(),Pg=Ig.XTInternalError;function xr(){}function It(e){return e}Yl.exports=function(e){var r={on:xr,set:xr,getFileType:xr,optionsTransformer:It,preparse:It,matchers:function(){return []},parse:xr,getTraits:xr,postparse:It,errorsTransformer:It,preResolve:xr,resolve:xr,getRenderedMap:It,render:xr,nullGetter:xr,postrender:It};if(Object.keys(r).every(function(i){return !e[i]})){var t=new Pg("This module cannot be wrapped, because it doesn't define any of the necessary functions");throw t.properties={id:"module_cannot_be_wrapped",explanation:"This module cannot be wrapped, because it doesn't define any of the necessary functions"},t}for(var n in r)e[n]||(e[n]=r[n]);return e};});var Za=b((F1,tc)=>{function Pn(e){"@babel/helpers - typeof";return Pn=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},Pn(e)}function Bg(e){return kg(e)||Fg(e)||ec(e)||Rg()}function Rg(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
11
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fg(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function kg(e){if(Array.isArray(e))return ho(e)}function $l(e,r){return qg(e)||Mg(e,r)||ec(e,r)||Lg()}function Lg(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
12
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ec(e,r){if(e){if(typeof e=="string")return ho(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)?ho(e,r):void 0}}function ho(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 Mg(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,i,u,s,c=[],f=true,p=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(h){p=true,i=h;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(p)throw i}}return c}}function qg(e){if(Array.isArray(e))return e}function Wl(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n);}return t}function rc(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Wl(Object(t),true).forEach(function(n){Ug(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Wl(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function Ug(e,r,t){return (r=zg(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function zg(e){var r=jg(e,"string");return Pn(r)=="symbol"?r:r+""}function jg(e,r){if(Pn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Pn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}var hr=xe(),Vg=hr.getRightOrNull,Xg=hr.getRight,Hg=hr.getLeft,Zg=hr.getLeftOrNull,Gg=hr.chunkBy,Yg=hr.isTagStart,Wg=hr.isTagEnd,Kl=hr.isContent,Ha=hr.last,In=hr.first,vo=$e(),Kg=vo.XTTemplateError,Qg=vo.throwExpandNotFound,Ql=vo.getLoopPositionProducesInvalidXMLError;function Jg(e,r){if(e.length===0)return false;var t=Ha(e).substr(1);return t.indexOf(r)===0}function $g(e){for(var r=[],t=0;t<e.length;t++){var n=e[t],i=n.position,u=n.value,s=n.tag;s&&(i==="end"?Jg(r,s)?r.pop():r.push(u):i==="start"&&r.push(u));}return r}function ev(e,r){for(var t=0;t<r.length;t++){var n=r[t];if(n.indexOf("<".concat(e))===0)return true}return false}function rv(e,r,t){for(var n=$g(e.slice(r[0].offset,r[1].offset)),i=function(){var f=t[s],p=f.contains,h=f.expand,m=f.onlyTextInTag;if(ev(p,n)){if(m){var b=Zg(e,p,r[0].offset),x=Vg(e,p,r[1].offset);if(b===null||x===null)return 0;var T=e.slice(b,x),_=Gg(T,function(le){return Yg(p,le)?"start":Wg(p,le)?"end":null}),C=In(_),O=Ha(_),P=C.filter(Kl),k=O.filter(Kl);if(P.length!==1||k.length!==1)return 0}for(var B=tv(n),z=0,j=0;j<B.length;j++){var X=B[j],F=X.tag,Z=X.position;F===h&&(Z==="start"&&z++,Z==="end"&&z--);}return z!==0?{v:{error:Ql({tag:In(r).part.value,offset:[In(r).part.offset,Ha(r).part.offset]})}}:{v:{value:h}}}},u,s=0;s<t.length;s++)if(u=i(),u!==0&&u)return u.v;return nv(n)?{}:{error:Ql({tag:In(r).part.value,offset:[In(r).part.offset,Ha(r).part.offset]})}}function tv(e){for(var r=[],t=0;t<e.length;t++){var n=e[t],i=go(n),u=/^\s*<\//.test(n)?"end":"start";r.push({tag:i,position:u});}return r}function go(e){return e.replace(/^\s*<\/?([a-zA-Z:]+).*/,"$1")}function nv(e){if(e.length%2===1)return false;for(var r=0,t=e.length/2;r<t;r++){var n=e[r],i=e[e.length-r-1],u=go(n),s=go(i);if(u!==s)return false}return true}function av(e,r,t,n){var i=e.expandTo||n.expandTo;if(i){var u,s;try{s=Hg(t,i,r),u=Xg(t,i,r);}catch(p){var c=rc({part:e,rootError:p,postparsed:t,expandTo:i,index:r},n.error);if(n.onError){var f=n.onError(c);if(f==="ignore")return}Qg(c);}return [s,u]}}function Jl(e,r,t,n){var i=$l(e,2),u=i[0],s=i[1],c=t.indexOf(r),f=t.slice(u,c),p=t.slice(c+1,s+1),h=n.getInner({postparse:n.postparse,index:c,part:r,leftParts:f,rightParts:p,left:u,right:s,postparsed:t});return h.length||(h.expanded=[f,p],h=[h]),{left:u,right:s,inner:h}}function iv(e,r){var t=[];e.errors&&(t=e.errors,e=e.postparsed);for(var n=[],i=0,u=e.length;i<u;i++){var s=e[i];if(s.type==="placeholder"&&s.module===r.moduleName&&!s.subparsed&&!s.expanded)try{var c=av(s,i,e,r);if(!c)continue;var f=$l(c,2),p=f[0],h=f[1];n.push({left:p,right:h,part:s,i,leftPart:e[p],rightPart:e[h]});}catch(k){t.push(k);}}n.sort(function(k,B){return k.left===B.left?B.part.lIndex<k.part.lIndex?1:-1:B.left<k.left?1:-1});for(var m=-1,b=0,x=0,T=n.length;x<T;x++){var _,C=n[x];if(m=Math.max(m,x>0?n[x-1].right:0),!(C.left<m)){var O=void 0;try{O=Jl([C.left+b,C.right+b],C.part,e,r);}catch(k){if(r.onError){var P=r.onError(rc({part:C.part,rootError:k,postparsed:e,expandOne:Jl},r.errors));if(P==="ignore")continue}if(k instanceof Kg)t.push(k);else throw k}O&&(b+=O.inner.length-(O.right+1-O.left),(_=e).splice.apply(_,[O.left,O.right+1-O.left].concat(Bg(O.inner))));}}return {postparsed:e,errors:t}}tc.exports={expandToOne:iv,getExpandToDefault:rv};});var Ga=b((k1,ac)=>{var ov="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml",uv="application/vnd.ms-word.document.macroEnabled.main+xml",sv="application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml",lv="application/vnd.ms-word.template.macroEnabledTemplate.main+xml",cv="application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml",fv="application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml",pv="application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml",hv="application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml",dv="application/vnd.openxmlformats-officedocument.presentationml.slide+xml",gv="application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml",vv="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml",mv="application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml",yv="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",Ev="application/vnd.ms-excel.sheet.macroEnabled.main+xml",bv="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",nc=[ov,uv,sv,lv],wv={main:nc,docx:[cv].concat(nc,[hv,fv,pv]),pptx:[dv,gv,vv,mv],xlsx:[yv,Ev,bv]};ac.exports=wv;});var mo=b((L1,ic)=>{var xv="application/vnd.openxmlformats-package.core-properties+xml",Dv="application/vnd.openxmlformats-officedocument.extended-properties+xml",Av="application/vnd.openxmlformats-officedocument.custom-properties+xml",Tv="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml",Cv="application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml",_v="application/vnd.ms-office.drawingml.diagramDrawing+xml";ic.exports={settingsContentType:Tv,coreContentType:xv,appContentType:Dv,customContentType:Av,diagramDataContentType:Cv,diagramDrawingContentType:_v};});var lc=b((M1,sc)=>{function Bn(e){"@babel/helpers - typeof";return Bn=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},Bn(e)}function Sv(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function oc(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,Nv(n.key),n);}}function Ov(e,r,t){return r&&oc(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function Nv(e){var r=Iv(e,"string");return Bn(r)=="symbol"?r:r+""}function Iv(e,r){if(Bn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Bn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var Pv=xe(),Bv=Pv.pushArray,Rv=Mr(),yo=Ga(),Pt=mo(),Fv=Pt.settingsContentType,kv=Pt.coreContentType,Lv=Pt.appContentType,Mv=Pt.customContentType,qv=Pt.diagramDataContentType,Uv=Pt.diagramDrawingContentType,uc=[Fv,kv,Lv,Mv,qv,Uv],zv=(function(){function e(){Sv(this,e),this.name="Common";}return Ov(e,[{key:"getFileType",value:function(t){var n=t.doc,i=n.invertedContentTypes;if(i){for(var u=0;u<uc.length;u++){var s=uc[u];i[s]&&Bv(n.targets,i[s]);}for(var c=["docx","pptx","xlsx"],f,p=0;p<c.length;p++)for(var h=c[p],m=yo[h],b=0;b<m.length;b++){var x=m[b];if(i[x])for(var T=0,_=i[x];T<_.length;T++){var C=_[T];n.relsTypes[C]&&["http://purl.oclc.org/ooxml/officeDocument/relationships/officeDocument","http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"].indexOf(n.relsTypes[C])===-1||(f=h,(yo.main.indexOf(x)!==-1||x===yo.pptx[0])&&(n.textTarget||(n.textTarget=C)),f!=="xlsx"&&n.targets.push(C));}}return f}}}])})();sc.exports=function(){return Rv(new zv)};});var vc=b((q1,gc)=>{function Rn(e){"@babel/helpers - typeof";return Rn=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},Rn(e)}function jv(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function cc(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,Xv(n.key),n);}}function Vv(e,r,t){return r&&cc(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function Xv(e){var r=Hv(e,"string");return Rn(r)=="symbol"?r:r+""}function Hv(e,r){if(Rn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Rn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var Zv=$e(),Ya=Zv.getScopeParserExecutionError,Gv=ja(),fc=Gv.last,Yv=xe(),Bt=Yv.concatArrays;function pc(e,r){for(var t=e.length>>>0,n,i=0;i<t;i++)if(n=e[i],r.call(this,n,i,e))return n}function hc(e,r,t){var n=this,i=this.scopeList[t],u=this.scopeList[this.scopeList.length-1];if(this.root.finishedResolving){for(var s=this.resolved,c=function(){var x=n.scopeLindex[f];s=pc(s,function(T){return T.lIndex===x}),s=s.value[n.scopePathItem[f]];},f=this.resolveOffset,p=this.scopePath.length;f<p;f++)c();return pc(s,function(b){return r.part.lIndex===b.lIndex}).value}var h,m;!this.cachedParsers||!r.part?m=this.parser(e,{tag:r.part,scopePath:this.scopePath}):this.cachedParsers[r.part.lIndex]?m=this.cachedParsers[r.part.lIndex]:m=this.cachedParsers[r.part.lIndex]=this.parser(e,{tag:r.part,scopePath:this.scopePath});try{h=m.get(i,this.getContext(r,t));}catch(b){throw Ya({tag:e,scope:i,error:b,offset:r.part.offset})}if(h==null&&t>0)return hc.call(this,e,r,t-1);if(typeof h=="function")try{h=h(u,this);}catch(b){throw Ya({tag:e,scope:i,error:b,offset:r.part.offset})}return h}function dc(e,r,t){var n=this,i=this.scopeList[t],u=this.scopeList[this.scopeList.length-1],s;return !this.cachedParsers||!r.part?s=this.parser(e,{tag:r.part,scopePath:this.scopePath}):this.cachedParsers[r.part.lIndex]?s=this.cachedParsers[r.part.lIndex]:s=this.cachedParsers[r.part.lIndex]=this.parser(e,{tag:r.part,scopePath:this.scopePath}),Promise.resolve().then(function(){return s.get(i,n.getContext(r,t))}).catch(function(c){throw Ya({tag:e,scope:i,error:c,offset:r.part.offset})}).then(function(c){return c==null&&t>0?dc.call(n,e,r,t-1):c}).then(function(c){if(typeof c=="function")try{c=c(u,n);}catch(f){throw Ya({tag:e,scope:i,error:f,offset:r.part.offset})}return c})}var Wv=(function(){function e(r){jv(this,e),this.root=r.root||this,this.resolveOffset=r.resolveOffset||0,this.scopePath=r.scopePath,this.scopePathItem=r.scopePathItem,this.scopePathLength=r.scopePathLength,this.scopeList=r.scopeList,this.scopeType="",this.scopeTypes=r.scopeTypes,this.scopeLindex=r.scopeLindex,this.parser=r.parser,this.resolved=r.resolved,this.cachedParsers=r.cachedParsers;}return Vv(e,[{key:"loopOver",value:function(t,n,i,u){return this.loopOverValue(this.getValue(t,u),n,i)}},{key:"functorIfInverted",value:function(t,n,i,u,s){return t&&n(i,u,s),t}},{key:"isValueFalsy",value:function(t,n){return t==null||!t||n==="[object Array]"&&t.length===0}},{key:"loopOverValue",value:function(t,n,i){this.root.finishedResolving&&(i=false);var u=Object.prototype.toString.call(t);if(this.isValueFalsy(t,u))return this.scopeType=false,this.functorIfInverted(i,n,fc(this.scopeList),0,1);if(u==="[object Array]"){this.scopeType="array";for(var s=0;s<t.length;s++)this.functorIfInverted(!i,n,t[s],s,t.length);return true}return u==="[object Object]"?(this.scopeType="object",this.functorIfInverted(!i,n,t,0,1)):this.functorIfInverted(!i,n,fc(this.scopeList),0,1)}},{key:"getValue",value:function(t,n){var i=hc.call(this,t,n,this.scopeList.length-1);return i}},{key:"getValueAsync",value:function(t,n){return dc.call(this,t,n,this.scopeList.length-1)}},{key:"getContext",value:function(t,n){return {num:n,meta:t,scopeList:this.scopeList,resolved:this.resolved,scopePath:this.scopePath,scopeTypes:this.scopeTypes,scopePathItem:this.scopePathItem,scopePathLength:this.scopePathLength}}},{key:"createSubScopeManager",value:function(t,n,i,u,s){return new e({root:this.root,resolveOffset:this.resolveOffset,resolved:this.resolved,parser:this.parser,cachedParsers:this.cachedParsers,scopeTypes:Bt([this.scopeTypes,[this.scopeType]]),scopeList:Bt([this.scopeList,[t]]),scopePath:Bt([this.scopePath,[n]]),scopePathItem:Bt([this.scopePathItem,[i]]),scopePathLength:Bt([this.scopePathLength,[s]]),scopeLindex:Bt([this.scopeLindex,[u.lIndex]])})}}])})();gc.exports=function(e){return e.scopePath=[],e.scopePathItem=[],e.scopePathLength=[],e.scopeTypes=[],e.scopeLindex=[],e.scopeList=[e.tags],new Wv(e)};});var bo=b((U1,_c)=>{function kn(e){"@babel/helpers - typeof";return kn=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},kn(e)}function Ac(e,r){return $v(e)||Jv(e,r)||Qv(e,r)||Kv()}function Kv(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
13
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qv(e,r){if(e){if(typeof e=="string")return mc(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)?mc(e,r):void 0}}function mc(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 Jv(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,i,u,s,c=[],f=true,p=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(h){p=true,i=h;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(p)throw i}}return c}}function $v(e){if(Array.isArray(e))return e}function yc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n);}return t}function Rt(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?yc(Object(t),true).forEach(function(n){em(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):yc(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function em(e,r,t){return (r=rm(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function rm(e){var r=tm(e,"string");return kn(r)=="symbol"?r:r+""}function tm(e,r){if(kn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(kn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}var nt=$e(),Ec=nt.getUnclosedTagException,nm=nt.getUnopenedTagException,am=nt.getDuplicateOpenTagException,im=nt.getDuplicateCloseTagException,bc=nt.throwMalformedXml,om=nt.throwXmlInvalid,wc=nt.XTTemplateError,Ka=xe(),um=Ka.isTextStart,sm=Ka.isTextEnd,xc=Ka.wordToUtf8,lm=Ka.pushArray,Tc=0,Cc=1,Fn=2,Wa=3;function cm(e,r){return e[0]<=r.offset&&r.offset<e[1]}function fm(e,r){return um(e)?(r&&bc(),true):sm(e)?(r||bc(),false):r}function pm(e){var r="",t=1,n=e.indexOf(" ");return e[e.length-2]==="/"?(r="selfclosing",n===-1&&(n=e.length-2)):e[1]==="/"?(t=2,r="end",n===-1&&(n=e.length-1)):(r="start",n===-1&&(n=e.length-1)),{tag:e.slice(t,n),position:r}}function hm(e,r,t){for(var n=0,i=e.length,u={},s=0;s<r.length;s++){var c=r[s];u[c]=true;}for(var f=0;f<t.length;f++){var p=t[f];u[p]=false;}for(var h=[];n<i&&(n=e.indexOf("<",n),n!==-1);){var m=n,b=e.indexOf("<",n+1);n=e.indexOf(">",n),(n===-1||b!==-1&&n>b)&&om(e,m);var x=e.slice(m,n+1),T=pm(x),_=T.tag,C=T.position,O=u[_];O!=null&&h.push({type:"tag",position:C,text:O,offset:m,value:x,tag:_});}return h}function dm(e,r,t){var n=[],i=false,u={offset:0},s,c=e.reduce(function(p,h){var m=h.position,b=h.offset,x=u.offset,T=u.length;if(s=r.substr(x,b-x),i&&m==="start"){if(x+T===b&&(s=r.substr(x,b-x+T+4),!t.allowUnclosedTag))return n.push(am({xtag:s,offset:x})),u=h,p.push(Rt(Rt({},h),{},{error:true})),p;t.allowUnclosedTag||n.push(Ec({xtag:xc(s),offset:x})),p.pop();}return !i&&m==="end"?t.allowUnopenedTag?p:x+T===b?(s=r.substr(x-4,b-x+T+4),n.push(im({xtag:s,offset:x})),u=h,p.push(Rt(Rt({},h),{},{error:true})),p):(n.push(nm({xtag:s,offset:b})),u=h,p.push(Rt(Rt({},h),{},{error:true})),p):(i=m==="start",u=h,p.push(h),p)},[]);if(i){var f=u.offset;s=r.substr(f,r.length-f),t.allowUnclosedTag||n.push(Ec({xtag:xc(s),offset:f})),c.pop();}return {delimiterWithErrors:c,errors:n}}function gm(e,r){return e===-1&&r===-1?Tc:e===r?Cc:e===-1||r===-1?r<e?Fn:Wa:e<r?Fn:Wa}function vm(e){var r=e.split(" ");if(r.length!==2){var t=new wc("New Delimiters cannot be parsed");throw t.properties={id:"change_delimiters_invalid",explanation:"Cannot parser delimiters"},t}var n=Ac(r,2),i=n[0],u=n[1];if(i.length===0||u.length===0){var s=new wc("New Delimiters cannot be parsed");throw s.properties={id:"change_delimiters_invalid",explanation:"Cannot parser delimiters"},s}return [i,u]}function mm(e,r,t){var n=[],i=r.start,u=r.end,s=-1,c=false;if(i==null&&u==null)return [];for(;;){var f=e.indexOf(i,s+1),p=e.indexOf(u,s+1),h=null,m=void 0,b=gm(f,p);switch(b===Cc&&(b=c?Wa:Fn),b){case Tc:return n;case Wa:c=false,s=p,h="end",m=u.length;break;case Fn:c=true,s=f,h="start",m=i.length;break}if(t.changeDelimiterPrefix&&b===Fn&&e[s+i.length]===t.changeDelimiterPrefix){n.push({offset:f,position:"start",length:i.length,changedelimiter:true});var x=e.indexOf(t.changeDelimiterPrefix,s+i.length+1),T=e.indexOf(u,x+1);n.push({offset:T,position:"end",length:u.length,changedelimiter:true});var _=e.substr(s+i.length+1,x-s-i.length-1),C=vm(_),O=Ac(C,2);i=O[0],u=O[1],s=T;continue}n.push({offset:s,position:h,length:m});}}function Dc(e,r,t){for(var n="",i=0;i<e.length;i++){var u=e[i];n+=u.value;}for(var s=mm(n,r,t),c=0,f=[],p=0;p<e.length;p++){var h=e[p];c+=h.value.length,f.push({offset:c-h.value.length,lIndex:h.lIndex});}for(var m=dm(s,n,t),b=m.delimiterWithErrors,x=m.errors,T=0,_=0,C=[],O=0;O<f.length;O++){for(var P=f[O],k=e[O],B=P.offset,z=[B,B+k.value.length],j=k.value,X=[];_<b.length&&cm(z,b[_]);)X.push(b[_]),_++;var F=[],Z=0;T>0&&(Z=T,T=0);for(var le=0;le<X.length;le++){var pe=X[le],ee=j.substr(Z,pe.offset-B-Z);if(pe.changedelimiter){pe.position==="start"?ee.length>0&&F.push({type:"content",value:ee}):Z=pe.offset-B+pe.length;continue}ee.length>0&&(F.push({type:"content",value:ee}),Z+=ee.length);var _e={type:"delimiter",position:pe.position,offset:Z+B};F.push(_e),Z=pe.offset-B+pe.length;}T=Z-j.length;var fe=j.substr(Z);fe.length>0&&F.push({type:"content",value:fe}),C.push(F);}return {parsed:C,errors:x}}function Eo(e){return e.type==="content"&&e.position==="insidetag"}function ym(e){return e.filter(Eo)}function Em(e,r){for(var t=false,n=0;n<e.length;n++){var i=e[n];t=fm(i,t),i.type==="content"&&(i.position=t?"insidetag":"outsidetag"),r!=="text"&&Eo(i)&&(i.value=i.value.replace(/>/g,"&gt;"));}}_c.exports={parseDelimiters:Dc,parse:function(r,t,n,i){Em(r,i);for(var u=Dc(ym(r),t,n),s=u.parsed,c=u.errors,f=[],p=0,h=0,m=0;m<r.length;m++){var b=r[m];if(Eo(b)){for(var x=0,T=s[p];x<T.length;x++){var _=T[x];_.type==="content"&&(_.position="insidetag"),_.lIndex=h++;}lm(f,s[p]),p++;}else b.lIndex=h++,f.push(b);}return {errors:c,lexed:f}},xmlparse:function(r,t){for(var n=hm(r,t.text,t.other),i=0,u=[],s=0;s<n.length;s++){var c=n[s];r.length>i&&c.offset-i>0&&u.push({type:"content",value:r.substr(i,c.offset-i)}),i=c.offset+c.value.length,delete c.offset,u.push(c);}return r.length>i&&u.push({type:"content",value:r.substr(i)}),u}};});var Oc=b((z1,Sc)=>{function wo(e){return Dm(e)||xm(e)||wm(e)||bm()}function bm(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
14
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wm(e,r){if(e){if(typeof e=="string")return xo(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)?xo(e,r):void 0}}function xm(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Dm(e){if(Array.isArray(e))return xo(e)}function xo(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 Ln(e){return e.type==="placeholder"}function Am(e){var r={},t=[{items:e.filter(Ln),parents:[],path:[]}];function n(F,Z,le){le.length&&t.push({items:le,parents:[].concat(wo(Z.parents),[F]),path:F.dataBound!==false&&!F.attrParsed&&F.value&&!F.attrParsed?[].concat(wo(Z.path),[F.value]):wo(Z.path)});}function i(F,Z){for(var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Z.length,pe=F,ee=0;ee<le;ee++)pe=pe[Z[ee]];return pe}function u(F,Z){for(var le=Z.length,pe=0;pe<Z.length;pe++){var ee=Z[pe],_e=typeof ee.lIndex=="number"?ee.lIndex:parseInt(ee.lIndex.split("-")[0],10);_e>F.lIndex&&le--;}return le}for(;t.length>0;)for(var s=t.pop(),c=i(r,s.path),f=0,p=s.items;f<p.length;f++){var h,m,b=p[f];if(b.attrParsed){for(var x in b.attrParsed)n(b,s,b.attrParsed[x].filter(Ln));continue}if(b.subparsed){if(b.dataBound!==false){var T,_;(T=c)[_=b.value]||(T[_]={});}n(b,s,b.subparsed.filter(Ln));continue}if(b.cellParsed){for(var C=0,O=b.cellPostParsed;C<O.length;C++){var P=O[C];if(P.type==="placeholder"){if(P.module==="pro-xml-templating/xls-module-loop")continue;if(P.subparsed){var k,B;(k=c)[B=P.value]||(k[B]={}),n(P,s,P.subparsed.filter(Ln));}else {var z,j,X=u(b,s.parents);c=i(r,s.path,X),(z=c)[j=P.value]||(z[j]={});}}}continue}b.dataBound!==false&&((h=c)[m=b.value]||(h[m]={}));}return r}Sc.exports={getTags:Am,isPlaceholder:Ln};});var Ic=b((j1,Nc)=>{var Tm=xe(),Cm=Tm.pushArray;function _m(e,r){return r instanceof Error?Cm(Object.getOwnPropertyNames(r),["stack"]).reduce(function(t,n){return t[n]=r[n],n==="stack"&&(t[n]=r[n].toString()),t},{}):r}function Sm(e,r){if(console.log(JSON.stringify({error:e},_m,r==="json"?2:null)),e.properties&&e.properties.errors instanceof Array){var t=e.properties.errors.map(function(n){return n.properties.explanation}).join(`
15
+ `);console.log("errorMessages",t);}}Nc.exports=Sm;});var Do=b((V1,Pc)=>{var Om=xe(),Nm=Om.pregMatchAll;Pc.exports=function(r,t){var n={content:r},i=t.join("|"),u=new RegExp("(?:(<(?:".concat(i,")[^>]*>)([^<>]*)</(?:").concat(i,")>)|(<(?:").concat(i,")[^>]*/>)"),"g");return n.matches=Nm(u,n.content),n};});var Rc=b((X1,Bc)=>{function Mn(e){"@babel/helpers - typeof";return Mn=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},Mn(e)}var Im=new RegExp("\xA0","g");function Ft(e){return e.replace(Im," ")}function Pm(e,r){var t=Mn(e);if(t==="string")return Ft(r.substr(0,e.length))===e;if(e instanceof RegExp)return e.test(Ft(r));if(t==="function")return !!e(r)}function Bm(e,r){var t=Mn(e);if(t==="string")return Ft(r).substr(e.length);if(e instanceof RegExp)return Ft(r).match(e)[1];if(t==="function")return e(r)}function Rm(e,r){var t=Mn(e);if(t==="string")return [r,Ft(r).substr(e.length)];if(e instanceof RegExp)return Ft(r).match(e);if(t==="function")return [r,e(r)]}Bc.exports={match:Pm,getValue:Bm,getValues:Rm};});var qc=b((H1,Mc)=>{function qn(e){"@babel/helpers - typeof";return qn=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},qn(e)}function Fc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n);}return t}function qr(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Fc(Object(t),true).forEach(function(n){Fm(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Fc(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function Fm(e,r,t){return (r=km(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function km(e){var r=Lm(e,"string");return qn(r)=="symbol"?r:r+""}function Lm(e,r){if(qn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(qn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}function kc(e,r){return zm(e)||Um(e,r)||qm(e,r)||Mm()}function Mm(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
16
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qm(e,r){if(e){if(typeof e=="string")return Lc(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)?Lc(e,r):void 0}}function Lc(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 Um(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,i,u,s,c=[],f=true,p=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(h){p=true,i=h;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(p)throw i}}return c}}function zm(e){if(Array.isArray(e))return e}var Qa=xe(),jm=Qa.wordToUtf8,Ao=Qa.pushArray,Vm=Qa.isParagraphStart,Xm=Qa.isBreakTag,To=Rc(),Hm=To.match,Zm=To.getValue,Gm=To.getValues;function Ym(e,r){for(var t=[],n=0;n<e.length;n++){var i=e[n];if(i.matchers){var u=i.matchers(r);if(!(u instanceof Array))throw new Error("module matcher returns a non array");Ao(t,u);}}return t}function Wm(e,r,t){for(var n=[],i=0;i<e.length;i++){var u=e[i],s=kc(u,2),c=s[0],f=s[1],p=u[2]||{};if(t.match(c,r)){var h=t.getValues(c,r);if(typeof p=="function"&&(p=p(h)),!p.value){var m=kc(h,2);p.value=m[1];}n.push(qr({type:"placeholder",prefix:c,module:f,onMatch:p.onMatch,priority:p.priority},p));}}return n}function Km(e,r){var t=r.modules,n=r.startOffset,i=r.lIndex,u;r.offset=n,r.match=Hm,r.getValue=Zm,r.getValues=Gm;var s=Ym(t,r),c=Wm(s,e,r);if(c.length>0){for(var f=null,p=0;p<c.length;p++){var h=c[p];h.priority||(h.priority=-h.value.length),(!f||h.priority>f.priority)&&(f=h);}return f.offset=n,delete f.priority,f.endLindex=i,f.lIndex=i,f.raw=e,f.onMatch&&f.onMatch(f),delete f.onMatch,delete f.prefix,f}for(var m=0;m<t.length;m++){var b=t[m];if(u=b.parse(e,r),u)return u.offset=n,u.endLindex=i,u.lIndex=i,u.raw=e,u}return {type:"placeholder",value:e,offset:n,endLindex:i,lIndex:i}}var Qm={preparse:function(r,t,n){function i(u,s){for(var c=0;c<t.length;c++){var f=t[c];u=f.preparse(u,s)||u;}return u}return i(r,n)},parse:function(r,t,n){var i=false,u="",s,c=[],f=n.fileTypeConfig.droppedTagsInsidePlaceholder||[];return r.reduce(function(p,h){return h.type==="delimiter"?(i=h.position==="start",h.position==="end"&&(n.parse=function(m){return Km(m,qr(qr(qr({},n),h),{},{startOffset:s,modules:t}))},p.push(n.parse(jm(u))),Ao(p,c),c=[]),h.position==="start"&&(c=[],s=h.offset),u="",p):i?h.type!=="content"||h.position!=="insidetag"?(n.syntax.preserveNewlinesInTags&&(Xm(h)||Vm(h))&&(u+=`
17
+ `),f.indexOf(h.tag)!==-1||c.push(h),p):(u+=h.value,p):(p.push(h),p)},[])},postparse:function(r,t,n){function i(c,f,p){for(var h=[],m=0;m<t.length;m++){var b=t[m];h.push(b.getTraits(c,f,p));}return h}var u=[];function s(c,f){for(var p=c,h=0;h<t.length;h++){var m=t[h],b=m.postparse(p,qr(qr({},f),{},{postparse:function(T,_){return s(T,qr(qr({},f),_))},getTraits:i}));if(b!=null){if(b.errors){Ao(u,b.errors),p=b.postparsed;continue}p=b;}}return p}return {postparsed:s(r,n),errors:u}}};Mc.exports=Qm;});var Co=b((Z1,Uc)=>{function Jm(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}Uc.exports=Jm;});var Xc=b((G1,Vc)=>{var jc=$e(),$m=jc.throwUnimplementedTagType,ey=jc.XTScopeParserError,ry=xe(),zc=ry.pushArray,ty=Co();function ny(e,r){for(var t=0,n=r.modules;t<n.length;t++){var i=n[t],u=i.render(e,r);if(u)return u}return false}function ay(e){var r=e.baseNullGetter,t=e.compiled,n=e.scopeManager;e.nullGetter=function(x,T){return r(x,T||n)};for(var i=[],u=[],s=0,c=t.length;s<c;s++){var f=t[s];e.index=s,e.resolvedId=ty(f,e);var p=void 0;try{p=ny(f,e);}catch(x){if(x instanceof ey){i.push(x),u.push(f);continue}throw x}if(p){p.errors&&zc(i,p.errors),u.push(p);continue}if(f.type==="content"||f.type==="tag"){u.push(f);continue}$m(f,s);}for(var h=[],m=0;m<u.length;m++){var b=u[m].value;b instanceof Array?zc(h,b):b&&h.push(b);}return {errors:i,parts:h}}Vc.exports=ay;});var Gc=b((Y1,Zc)=>{function Hc(e){var r,t,n,i,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(i=0,n=0;i<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[i++]=r:r<2048?(c[i++]=192|r>>>6,c[i++]=128|r&63):r<65536?(c[i++]=224|r>>>12,c[i++]=128|r>>>6&63,c[i++]=128|r&63):(c[i++]=240|r>>>18,c[i++]=128|r>>>12&63,c[i++]=128|r>>>6&63,c[i++]=128|r&63);return c}function iy(e,r){for(var t=0,n=r.modules;t<n.length;t++){var i=n[t];e=i.postrender(e,r);}for(var u=0,s=r.joinUncorrupt(e,r),c="",f=0,p=65536,h=[],m=0,b=s.length;m<b;m++){var x=s[m];if(x.length+f>p){var T=Hc(c);u+=T.length,h.push(T),c="";}c+=x,f+=x.length,delete s[m];}var _=Hc(c);u+=_.length,h.push(_);for(var C=new Uint8Array(u),O=0,P=0;P<h.length;P++){for(var k=h[P],B=0;B<k.length;++B)C[B+O]=k[B];O+=k.length;}return C}Zc.exports=iy;});var ef=b((W1,$c)=>{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 Yc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n);}return t}function Wc(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Yc(Object(t),true).forEach(function(n){oy(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Yc(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function oy(e,r,t){return (r=uy(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function uy(e){var r=sy(e,"string");return Un(r)=="symbol"?r:r+""}function sy(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 ly=xe(),Kc=ly.pushArray,cy=Co();function fy(e,r){for(var t=0,n=r.modules;t<n.length;t++){var i=n[t],u=i.resolve(e,r);if(u)return u}return false}function Jc(e,r,t,n){var i=fy(e,Wc(Wc({},n),{},{resolvedId:cy(e,n)}));if(i)return i.then(function(u){r.push({tag:e.value,lIndex:e.lIndex,value:u});}).catch(function(u){u instanceof Array?Kc(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?Kc(t,u):t.push(u);})}function py(e){var r=[],t=[],n=e.baseNullGetter,i=e.scopeManager;e.nullGetter=function(s,c){return n(s,c||i)},e.resolved=r;var u=hy(e,t,r);return u?u.then(function(){return Qc(e,t,r)}):Qc(e,t,r)}function hy(e,r,t){for(var n=null,i=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 Jc(f,t,r,e)}));},u=0,s=e.compiled;u<s.length;u++)i();return n}function Qc(e,r,t){for(var n=[],i=0,u=e.compiled;i<u.length;i++){var s=u[i];["content","tag"].indexOf(s.type)===-1&&(s.resolveFirst||n.push(Jc(s,t,r,e)));}return Promise.all(n).then(function(){return {errors:r,resolved:t}})}$c.exports=py;});var nf=b((K1,tf)=>{var zn=xe(),kt=zn.startsWith,dy=zn.endsWith,_o=zn.isStarting,rf=zn.isEnding,gy=zn.isWhiteSpace,vy=Ga();function my(e){for(var r="",t=0,n=e.length;t<n;t++){var i=e[t];gy(i)||kt(i,"<w:bookmarkEnd")||(dy(r,"</w:tbl>")&&!kt(i,"<w:p")&&!kt(i,"<w:tbl")&&!kt(i,"<w:sectPr")&&!kt(i,"</w:ftr>")&&!kt(i,"</w:hdr>")&&(i="<w:p/>".concat(i)),r=i,e[t]=i);}return e}function yy(e,r){var t=r.fileTypeConfig.tagShouldContain||[],n="",i=-1;vy.docx.indexOf(r.contentType)!==-1&&(e=my(e));for(var u=-1,s=0,c=t.length;s<c;s++)for(var f=t[s],p=f.tag,h=f.shouldContain,m=f.value,b=f.drop,x=f.dropParent,T=0,_=e.length;T<_;T++){var C=e[T];if(i===s){if(rf(C,p))if(i=-1,x){for(var O=-1,P=u;P>0;P--)if(_o(e[P],x)){O=P;break}for(var k=O;k<=e.length;k++){if(rf(e[k],x)){e[k]="";break}e[k]="";}}else {for(var B=u;B<=T;B++)e[B]="";b||(e[T]=n+m+C);}n+=C;for(var z=0,j=h.length;z<j;z++){var X=h[z];if(_o(C,X)){i=-1;break}}}i===-1&&_o(C,p)&&C.substr(1).indexOf("<")===-1&&(C[C.length-2]==="/"?e[T]="":(u=T,i=s,n=C));}return e}tf.exports=yy;});var ff=b((Q1,cf)=>{function jn(e){"@babel/helpers - typeof";return jn=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},jn(e)}function Ey(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,wy(n.key),n);}}function by(e,r,t){return r&&af(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function wy(e){var r=xy(e,"string");return jn(r)=="symbol"?r:r+""}function xy(e,r){if(jn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(jn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var Oo=xe(),of=Oo.pushArray,Dy=Oo.wordToUtf8,Ay=Oo.convertSpaces,Ty=Do(),uf=bo(),So=qc(),sf=Xc(),Cy=Gc(),lf=ef(),_y=nf();function Sy(e,r){for(var t=Ty(e,r),n=[],i=0,u=t.matches;i<u.length;i++){var s=u[i];n.push(s.array[2]);}return Dy(Ay(n.join("")))}cf.exports=(function(){function e(r,t){Ey(this,e),this.cachedParsers={},this.content=r;for(var n in t)this[n]=t[n];this.setModules({inspect:{filePath:t.filePath}});}return by(e,[{key:"resolveTags",value:function(t){var n=this;this.tags=t;var i=this.getOptions(),u=this.filePath;i.scopeManager=this.scopeManager,i.resolve=lf;for(var s=[],c=[],f=0,p=this.modules;f<p.length;f++){var h=p[f];c.push(Promise.resolve(h.preResolve(i)).catch(function(m){s.push(m);}));}return Promise.all(c).then(function(){if(s.length!==0)throw s;return lf(i).then(function(m){for(var b=m.resolved,x=m.errors,T=0;T<x.length;T++){var _,C=x[T];C instanceof Error||(C=new Error(C)),(_=C).properties||(_.properties={}),C.properties.file=u,x[T]=C;}if(x.length!==0)throw x;return Promise.all(b).then(function(O){return i.scopeManager.root.finishedResolving=true,i.scopeManager.resolved=O,n.setModules({inspect:{resolved:O,filePath:u}}),O})}).catch(function(m){throw n.errorChecker(m),m})})}},{key:"getFullText",value:function(){return Sy(this.content,this.fileTypeConfig.tagsXmlTextArray)}},{key:"setModules",value:function(t){for(var n=0,i=this.modules;n<i.length;n++){var u=i[n];u.set(t);}}},{key:"preparse",value:function(){this.allErrors=[],this.xmllexed=uf.xmlparse(this.content,{text:this.fileTypeConfig.tagsXmlTextArray,other:this.fileTypeConfig.tagsXmlLexedArray}),this.setModules({inspect:{filePath:this.filePath,xmllexed:this.xmllexed}});var t=uf.parse(this.xmllexed,this.delimiters,this.syntax,this.fileType),n=t.lexed,i=t.errors;of(this.allErrors,i),this.lexed=n,this.setModules({inspect:{filePath:this.filePath,lexed:this.lexed}});var u=this.getOptions();this.lexed=So.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 i=this.getOptions();return this.parsed=So.parse(this.lexed,this.modules,i),this.setModules({inspect:{filePath:this.filePath,parsed:this.parsed}}),n?this:this.postparse()}},{key:"postparse",value:function(){var t=this.getOptions(),n=So.postparse(this.parsed,this.modules,t),i=n.postparsed,u=n.errors;return this.postparsed=i,this.setModules({inspect:{filePath:this.filePath,postparsed:this.postparsed}}),of(this.allErrors,u),this.errorChecker(this.allErrors),this}},{key:"errorChecker",value:function(t){for(var n=0,i=t;n<i.length;n++){var u=i[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 i=null,u=0,s=this.modules;u<s.length;u++){var c=s[u];i==null&&(i=c.nullGetter(t,n,this));}return i??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=sf,n.joinUncorrupt=_y;var i=sf(n),u=i.errors,s=i.parts;return u.length>0?(this.allErrors=u,this.errorChecker(u),this):(this.content=Cy(s,n),this.setModules({inspect:{filePath:this.filePath,content:this.content}}),this)}}])})();});var Cf=b((J1,Tf)=>{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 pf(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n);}return t}function Ur(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?pf(Object(t),true).forEach(function(n){Oy(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pf(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function Oy(e,r,t){return (r=xf(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function Ny(e,r){return Ry(e)||By(e,r)||Py(e,r)||Iy()}function Iy(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
18
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Py(e,r){if(e){if(typeof e=="string")return hf(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)?hf(e,r):void 0}}function hf(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 By(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,i,u,s,c=[],f=true,p=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(h){p=true,i=h;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(p)throw i}}return c}}function Ry(e){if(Array.isArray(e))return e}function Fy(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function df(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,xf(n.key),n);}}function ky(e,r,t){return r&&df(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function xf(e){var r=Ly(e,"string");return Hn(r)=="symbol"?r:r+""}function Ly(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 (r==="string"?String:Number)(e)}var er=xe(),My=er.chunkBy,Ja=er.last,Po=er.isParagraphStart,No=er.isModule,gf=er.pushArray,Df=er.isParagraphEnd,qy=er.isContent,Xn=er.startsWith,Bo=er.isTagEnd,Lt=er.isTagStart,Io=er.getSingleAttribute,vf=er.setSingleAttribute,Uy=Ga(),zy=Mr(),jy=xe(),mf=jy.isWhiteSpace,Vn="loop";function Vy(e){for(var r=0;r<e.length;r++){var t=e[r];if(qy(t))return true}return false}function Xy(e){for(var r=0;r<e.length;r++){var t=e[r];if(t.type!=="content")return t}return null}function Af(e){var r=Xy(e.subparsed);return r!=null&&r.tag!=="w:t"}function Hy(e){return e.hasPageBreak&&Af(e)?'<w:p><w:r><w:br w:type="page"/></w:r></w:p>':""}function Zy(e){return e.length&&Po(e[0])&&Df(Ja(e))}function yf(e){return Vy(e)?0:e.length}function Ef(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 Gy(e){e.parts.unshift('<w:p><w:r><w:br w:type="page"/></w:r></w:p>');}function Yy(e){for(var r=0;r<e.length;r++){var t=e[r];if(Lt("w:type",t)&&t.value.indexOf("continuous")!==-1)return true}return false}function Wy(e){for(var r=0;r<e.length;r++){var t=e[r];if(Lt("w:type",t)&&t.value.indexOf('w:val="nextPage"')!==-1)return true}return false}function Ky(e,r){for(var t="",n=0;n<r.length;n++){var i=r[n].value;t+=i;}e.unshift("<w:p><w:pPr>".concat(t,"</w:pPr></w:p>"));}function Qy(e){for(var r=false,t=false,n=0;n<e.length;n++){var i=e[n];!r&&Xn(i,"<w:sectPr")&&(t=true),t&&(Xn(i,"<w:type")&&(r=true),!r&&Xn(i,"</w:sectPr")&&(e.splice(n,0,'<w:type w:val="continuous"/>'),n++));}return e}function Jy(e){for(var r=0,t=0;t<e.length;t++)!Xn(e[t],"<w:headerReference")&&!Xn(e[t],"<w:footerReference")&&(e[r]=e[t],r++);return e.length=r,e}function bf(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 wf(e){for(var r=0;r<e.length;r++){var t=e[r];if(t.tag==="w:drawing")return true}return false}function $y(e){for(var r=[],t=null,n=0;n<e.length;n++){var i=e[n];Lt("w:sectPr",i)&&(t=[],r.push(t)),t!==null&&t.push(i),Bo("w:sectPr",i)&&(t=null);}return r}function eE(e){for(var r=false,t=0,n=0;n<e.length;n++){var i=e[n];Lt("w:sectPr",i)&&(r=true),r&&(i.tag==="w:headerReference"||i.tag==="w:footerReference")&&(t++,r=false),Bo("w:sectPr",i)&&(r=false);}return t}function rE(e){for(var r=[],t=false,n=e.length-1;n>=0;n--){var i=e[n];if(Bo("w:sectPr",i)&&(t=true),Lt("w:sectPr",i)&&(r.unshift(i.value),t=false),t&&r.unshift(i.value),Po(i)){if(r.length>0)return r.join("");break}}return ""}var tE=(function(){function e(){Fy(this,e),this.name="LoopModule",this.inXfrm=false,this.totalSectPr=0,this.prefix={start:"#",end:"/",dash:/^-([^\s]+)\s(.+)/,inverted:"^"};}return ky(e,[{key:"optionsTransformer",value:function(t,n){return this.docxtemplater=n,t}},{key:"preparse",value:function(t,n){var i=n.contentType;Uy.main.indexOf(i)!==-1&&(this.sects=$y(t));}},{key:"matchers",value:function(){var t=Vn;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 i=Ny(n,3),u=i[1],s=i[2];return {location:"start",inverted:false,expandTo:u,value:s}}]]}},{key:"getTraits",value:function(t,n){if(t==="expandPair"){for(var i=[],u=0,s=n.length;u<s;u++){var c=n[u];No(c,Vn)&&c.subparsed==null&&i.push({part:c,offset:u});}return i}}},{key:"postparse",value:function(t,n){var i=n.basePart;if(i&&this.docxtemplater.fileType==="docx"&&t.length>0){i.sectPrCount=eE(t),this.totalSectPr+=i.sectPrCount;for(var u=this.sects,s=0,c=u.length;s<c;s++){var f=u[s];if(i.lIndex<f[0].lIndex){s+1<u.length&&Yy(u[s+1])&&(i.addContinuousType=true);break}if(t[0].lIndex<f[0].lIndex&&f[0].lIndex<i.lIndex){Wy(u[s])&&(i.addNextPage={index:s});break}}i.lastParagrapSectPr=rE(t);}if(!i||i.expandTo!=="auto"||i.module!==Vn||!Zy(t))return t;i.paragraphLoop=true;var p=0,h=My(t,function(_){return Po(_)&&(p++,p===1)?"start":Df(_)&&(p--,p===0)?"end":null}),m=h[0],b=Ja(h),x=yf(m),T=yf(b);return x>0&&h[1][0].type==="content"&&mf(h[1][0].value)&&(x+=1),T>0&&Ja(h[h.length-2]).type==="content"&&mf(Ja(h[h.length-2]).value)&&(T+=1),i.hasPageBreakBeginning=bf(m),i.hasPageBreak=bf(b),wf(m)&&(x=0),wf(b)&&(T=0),t.slice(x,t.length-T)}},{key:"resolve",value:function(t,n){var i=this;if(!No(t,Vn))return null;var u=n.scopeManager,s=u.getValueAsync(t.value,{part:t}),c=[],f;i.resolveSerially&&(f=Promise.resolve(null));function p(m,b,x){var T=u.createSubScopeManager(m,t.value,b,t,x);i.resolveSerially?(f=f.then(function(){return n.resolve(Ur(Ur({},n),{},{compiled:t.subparsed,tags:{},scopeManager:T}))}),c.push(f)):c.push(n.resolve(Ur(Ur({},n),{},{compiled:t.subparsed,tags:{},scopeManager:T})));}var h=[];return s.then(function(m){return m??(m=n.nullGetter(t)),m instanceof Promise?m.then(function(b){return b instanceof Array?Promise.all(b):b}):m instanceof Array?Promise.all(m):m}).then(function(m){return u.loopOverValue(m,p,t.inverted),Promise.all(c).then(function(b){for(var x=[],T=0;T<b.length;T++){var _=b[T],C=_.resolved,O=_.errors;gf(h,O),x.push(C);}return x}).then(function(b){if(h.length>0)throw h;return b})})}},{key:"render",value:function(t,n){var i=this;if(t.tag==="p:xfrm"&&(i.inXfrm=t.position==="start"),t.tag==="a:ext"&&i.inXfrm)return i.lastExt=t,t;if(!No(t,Vn))return null;var u=[],s=[],c=0,f=t.subparsed[0],p=0;f?.tag==="a:tr"&&(p=+Io(f.value,"h")),c-=p;var h=0,m=Af(t);function b(C,O,P){c+=p;for(var k=n.scopeManager.createSubScopeManager(C,t.value,O,t,P),B=0,z=t.subparsed;B<z.length;B++){var j=z[B];if(Lt("a16:rowId",j)){var X=+Io(j.value,"val")+h;h=1,j.value=vf(j.value,"val",X);}}var F=n.render(Ur(Ur({},n),{},{compiled:t.subparsed,tags:{},scopeManager:k}));t.hasPageBreak&&O===P-1&&m&&Ef(F);var Z=k.scopePathItem.some(function(_e){return _e!==0});Z?(t.sectPrCount===1&&(F.parts=Jy(F.parts)),t.addContinuousType&&(F.parts=Qy(F.parts))):t.addNextPage&&Ky(F.parts,i.sects[t.addNextPage.index]),t.addNextPage&&Ef(F),t.hasPageBreakBeginning&&m&&Gy(F);for(var le=0,pe=F.parts;le<pe.length;le++){var ee=pe[le];u.push(ee);}gf(s,F.errors);}var x=n.scopeManager.getValue(t.value,{part:t});x??(x=n.nullGetter(t));var T=n.scopeManager.loopOverValue(x,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:Hy(t)||"",errors:s};if(c!==0){var _=+Io(i.lastExt.value,"cy");i.lastExt.value=vf(i.lastExt.value,"cy",_+c);}return {value:n.joinUncorrupt(u,Ur(Ur({},n),{},{basePart:t})),errors:s}}}])})();Tf.exports=function(){return zy(new tE)};});var Pf=b(($1,If)=>{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 nE(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function _f(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,iE(n.key),n);}}function aE(e,r,t){return r&&_f(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function iE(e){var r=oE(e,"string");return Zn(r)=="symbol"?r:r+""}function oE(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 uE=Mr(),Gn=xe(),sE=Gn.isTextStart,lE=Gn.isTextEnd,cE=Gn.endsWith,fE=Gn.startsWith,Sf=Gn.pushArray,Of='<w:t xml:space="preserve">',pE=Of.length,Nf="</w:t>",hE=Nf.length;function dE(e){return sE(e)&&e.tag==="w:t"}function Ro(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 gE(e,r){return e&&e.basePart&&r.length>1}var vE=(function(){function e(){nE(this,e),this.name="SpacePreserveModule";}return aE(e,[{key:"postparse",value:function(t,n){var i=[],u=false,s=0,c=0;function f(h,m){return h.type==="placeholder"&&m.length>1}var p=t.reduce(function(h,m){return dE(m)&&(u=true,c=i.length),u?(i.push(m),gE(n,i)&&(s=n.basePart.endLindex,i[0].value=Ro(i,0)),f(m,i)&&(i[c].value=Ro(i,c),s=m.endLindex),lE(m)&&m.lIndex>s&&(s!==0&&(i[c].value=Ro(i,c)),Sf(h,i),i=[],u=false,s=0,c=0),h):(h.push(m),h)},[]);return Sf(p,i),p}},{key:"postrender",value:function(t){for(var n="",i=0,u=0,s=t.length;u<s;u++){var c=t[u];c!==""&&(cE(n,Of)&&fE(c,Nf)&&(t[i]=n.substr(0,n.length-pE)+"<w:t/>",c=c.substr(hE)),n=c,i=u,t[u]=c);}return t}}])})();If.exports=function(){return uE(new vE)};});var Mf=b((ew,Lf)=>{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 mE(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Bf(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,EE(n.key),n);}}function yE(e,r,t){return r&&Bf(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function EE(e){var r=bE(e,"string");return Yn(r)=="symbol"?r:r+""}function bE(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 wE=Za(),Ff=xe(),xE=Ff.isContent,Rf=Ff.getPartWithDelimiters,kf=$e(),DE=kf.throwRawTagShouldBeOnlyTextInParagraph,AE=kf.getInvalidRawXMLValueException,TE=Mr(),Fo="rawxml";function CE(e){for(var r=e.part,t=e.left,n=e.right,i=e.postparsed,u=e.index,s=i.slice(t+1,n),c=0,f=s.length;c<f;c++)if(c!==u-t-1){var p=s[c];xE(p)&&DE({paragraphParts:s,part:r});}return r}var _E=(function(){function e(){mE(this,e),this.name="RawXmlModule",this.prefix="@";}return yE(e,[{key:"optionsTransformer",value:function(t,n){return this.fileTypeConfig=n.fileTypeConfig,t}},{key:"matchers",value:function(){return [[this.prefix,Fo]]}},{key:"postparse",value:function(t){var n=this;return wE.expandToOne(t,{moduleName:Fo,getInner:CE,expandTo:this.fileTypeConfig.tagRawXml,error:{message:"Raw tag not in paragraph",id:"raw_tag_outerxml_invalid",explanation:function(u){return 'The tag "'.concat(Rf(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!==Fo)return null;var i,u=[];try{i=n.scopeManager.getValue(t.value,{part:t}),i??(i=n.nullGetter(t));}catch(s){return u.push(s),{errors:u}}return i=i||"",typeof i=="string"?{value:i}:{errors:[AE({tag:t.value,value:i,partDelims:Rf(t,this.docxtemplater),part:t,offset:t.offset})]}}}])})();Lf.exports=function(){return TE(new _E)};});var Uf=b((rw,qf)=>{function SE(e,r){for(var t=-1,n=0,i=e.length;n<i;n++)r[n]>=e[n].length||(t===-1||e[n][r[n]].offset<e[t][r[t]].offset)&&(t=n);return t}qf.exports=function(e){for(var r=0,t=0,n=e;t<n.length;t++){var i=n[t];r+=i.length;}e=e.filter(function(p){return p.length>0});for(var u=new Array(r),s=e.map(function(){return 0}),c=0;c<r;c++){var f=SE(e,s);u[c]=e[f][s[f]],s[f]++;}return u};});var Hf=b((tw,Xf)=>{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 OE(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function zf(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,IE(n.key),n);}}function NE(e,r,t){return r&&zf(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function IE(e){var r=PE(e,"string");return Wn(r)=="symbol"?r:r+""}function PE(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 BE="expandPair",RE=Uf(),Mo=xe(),FE=Mo.getLeft,kE=Mo.getRight,Lo=Mo.pushArray,LE=Mr(),ME=Za(),qE=ME.getExpandToDefault,qo=$e(),jf=qo.getUnmatchedLoopException,UE=qo.getClosingTagNotMatchOpeningTag,Vf=qo.getUnbalancedLoopException;function zE(e){switch(e.location){case "start":return 1;case "end":return -1}}function ko(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 jE(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(jf(n)),{traits:e,errors:t};var i=r,u=r-1,s=1;if(ko(e[u],e[i]))return e.splice(i,1),e.splice(u,1),{errors:t,traits:e};for(;s<50;){var c=e[u-s],f=e[i+s];if(ko(c,e[i]))return e.splice(i,1),e.splice(u-s,1),{errors:t,traits:e};if(ko(e[u],f))return e.splice(i+s,1),e.splice(u,1),{errors:t,traits:e};s++;}return t.push(UE({tags:[e[u].part,e[i].part]})),e.splice(i,1),e.splice(u,1),{traits:e,errors:t}}r++;}for(var p=0;p<e.length;p++){var h=e[p].part;t.push(jf(h));}return {traits:[],errors:t}}function VE(e){var r={},t=[],n=[],i=[];for(Lo(i,e);i.length>0;){var u=jE(i);Lo(t,u.errors),i=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],p=f.part,h=zE(p);if(s+=h,h===1)r[s]=f;else {var m=r[s+1];s===0&&n.push([m,f]);}s=s>=0?s:0;}return {pairs:n,errors:t}}var XE=(function(){function e(){OE(this,e),this.name="ExpandPairTrait";}return NE(e,[{key:"optionsTransformer",value:function(t,n){return n.options.paragraphLoop&&Lo(n.fileTypeConfig.expandTags,n.fileTypeConfig.onParagraphLoop),this.expandTags=n.fileTypeConfig.expandTags,t}},{key:"postparse",value:function(t,n){var i=this,u=n.getTraits,s=n.postparse,c=n.fileType,f=u(BE,t,n);f=f.map(function(P){return P||[]}),f=RE(f);var p=VE(f),h=p.pairs,m=p.errors,b=0,x=null,T=h.map(function(P){var k=P[0].part.expandTo;if(k==="auto"&&c!=="text"){var B=qE(t,P,i.expandTags);B.error&&m.push(B.error),k=B.value;}if(!k||c==="text"){var z=P[0].offset,j=P[1].offset;return z<b&&!i.docxtemplater.options.syntax.allowUnbalancedLoops&&m.push(Vf(P,x)),x=P,b=j,[z,j]}var X,F;try{X=FE(t,k,P[0].offset);}catch(Z){m.push(Z);}try{F=kE(t,k,P[1].offset);}catch(Z){m.push(Z);}return X<b&&!i.docxtemplater.options.syntax.allowUnbalancedLoops&&m.push(Vf(P,x)),b=F,x=P,[X,F]});if(m.length>0)return {postparsed:t,errors:m};var _=0,C,O=t.reduce(function(P,k,B){var z=_<h.length&&T[_][0]<=B&&B<=T[_][1],j=h[_],X=T[_];if(!z)return P.push(k),P;if(X[0]===B&&(C=[]),j[0].offset!==B&&j[1].offset!==B&&C.push(k),X[1]===B){var F=t[j[0].offset];F.subparsed=s(C,{basePart:F}),F.endLindex=j[1].part.lIndex,delete F.location,delete F.expandTo,P.push(F),_++;for(var Z=T[_];Z&&Z[0]<B;)_++,Z=T[_];}return P},[]);return {postparsed:O,errors:m}}}])})();Xf.exports=function(){return LE(new XE)};});var Kf=b((nw,Wf)=>{function Kn(e){"@babel/helpers - typeof";return Kn=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},Kn(e)}function HE(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Zf(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,GE(n.key),n);}}function ZE(e,r,t){return r&&Zf(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function GE(e){var r=YE(e,"string");return Kn(r)=="symbol"?r:r+""}function YE(e,r){if(Kn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Kn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var WE=Mr(),Yf=$e(),KE=Yf.getScopeCompilationError,QE=Yf.getCorruptCharactersException,Uo=xe(),Gf=Uo.utf8ToWord,JE=Uo.hasCorruptCharacters,$E=Uo.removeCorruptCharacters,$a=mo(),eb=$a.settingsContentType,rb=$a.coreContentType,tb=$a.appContentType,nb=$a.customContentType,ab=[eb,rb,tb,nb],ib={docx:"w",pptx:"a"},ob=(function(){function e(){HE(this,e),this.name="Render",this.recordRun=false,this.recordedRun=[];}return ZE(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=ib[n.fileType],this.runStartTag="".concat(this.prefix,":r"),this.runPropsStartTag="".concat(this.prefix,":rPr"),t}},{key:"postparse",value:function(t,n){for(var i=[],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){i.push(KE({tag:c,rootError:f,offset:s.offset}));}}}return {postparsed:t,errors:i}}},{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 i=n.contentType,u=n.scopeManager,s=n.linebreaks,c=n.nullGetter,f=n.fileType,p=n.stripInvalidXMLChars;if(ab.indexOf(i)!==-1&&(s=false),s&&this.recordRuns(t),!(t.type!=="placeholder"||t.module)){var h;try{h=u.getValue(t.value,{part:t});}catch(m){return {errors:[m]}}if(h??(h=c(t)),typeof h=="string"){if(p)h=$E(h);else if(["docx","pptx","xlsx"].indexOf(f)!==-1&&JE(h))return {errors:[QE({tag:t.value,value:h,offset:t.offset})]}}return f==="text"?{value:h}:{value:s&&typeof h=="string"?this.renderLineBreaks(h):Gf(h)}}}},{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=[],i=t.split(`
19
+ `),u=0,s=i.length;u<s;u++)n.push(Gf(i[u])),u<i.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}}])})();Wf.exports=function(){return WE(new ob)};});var tp=b((aw,rp)=>{var Qf=Cf(),ub=Pf(),Jf=Mf(),$f=Hf(),ep=Kf();function sb(){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:[Qf,ub,$f,Jf,ep],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 lb(){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:[Qf,$f,Jf,ep],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>"}]}}rp.exports={docx:sb,pptx:lb};});var wp=b((iw,Ho)=>{var cb=["modules"];function np(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n);}return t}function dr(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?np(Object(t),true).forEach(function(n){fb(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):np(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function fb(e,r,t){return (r=pp(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function ap(e,r){return gb(e)||db(e,r)||hb(e,r)||pb()}function pb(){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 hb(e,r){if(e){if(typeof e=="string")return ip(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)?ip(e,r):void 0}}function ip(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 db(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,i,u,s,c=[],f=true,p=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(h){p=true,i=h;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(p)throw i}}return c}}function gb(e){if(Array.isArray(e))return e}function qt(e){"@babel/helpers - typeof";return qt=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},qt(e)}function vb(e,r){if(e==null)return {};var t,n,i=mb(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)&&(i[t]=e[t]);}return i}function mb(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 yb(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function op(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,pp(n.key),n);}}function Eb(e,r,t){return r&&op(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function pp(e){var r=bb(e,"string");return qt(r)=="symbol"?r:r+""}function bb(e,r){if(qt(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(qt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}var Fe=xe(),Te=jl(),wb=Te.object({allowUnopenedTag:Te.boolean().optional(),allowUnclosedTag:Te.boolean().optional(),allowUnbalancedLoops:Te.boolean().optional(),changeDelimiterPrefix:Te.string().optional().nullable()}),xb=Te.object({delimiters:Te.object({start:Te.string().nullable(),end:Te.string().nullable()}).strict().optional(),fileTypeConfig:Te.object({}).optional(),paragraphLoop:Te.boolean().optional(),parser:Te.function().optional(),errorLogging:Te.union([Te.boolean(),Te.string()]).optional(),linebreaks:Te.boolean().optional(),nullGetter:Te.function().optional(),syntax:wb.optional(),stripInvalidXMLChars:Te.boolean().optional(),warnFn:Te.function().optional()}).strict(),Db=Xl(),hp=Db.getRelsTypes,dp=Gl(),gp=dp.collectContentTypes,vp=dp.getContentTypes,mp=Mr(),Ab=Za(),Tb=lc(),Cb=vc(),up=bo(),_b=Oc(),zo=_b.getTags,yp=Ic(),Dr=$e(),Ep=Dr.throwMultiError,Sb=Dr.throwResolveBeforeCompile,Ob=Dr.throwRenderInvalidTemplate,Nb=Dr.throwRenderTwice,Jn=Dr.XTInternalError,Ib=Dr.XTTemplateError,Pb=Dr.throwFileTypeNotIdentified,Bb=Dr.throwFileTypeNotHandled,ei=Dr.throwApiVersionError;Fe.getRelsTypes=hp;Fe.traits=Ab;Fe.moduleWrapper=mp;Fe.collectContentTypes=gp;Fe.getContentTypes=vp;var sp=Fe.getDefaults,Rb=Fe.str2xml,Fb=Fe.xml2str,Xo=Fe.concatArrays,lp=Fe.uniq,kb=Fe.getDuplicates,Lb=Fe.stableSort,jo=Fe.pushArray,cp=Fe.utf8ToWord,Mb=Fe.invertMap,qb="[Content_Types].xml",Ub="_rels/.rels",gr=[3,47,2];function zb(e){for(var r=[],t=0;t<e.length;t++){var n=e[t];r.push(n.name);}var i=kb(r);if(i.length>0)throw new Jn('Detected duplicate module "'.concat(i[0],'"'))}function jb(e){for(var r=0,t=e.modules;r<t.length;r++)for(var n=t[r],i=0,u=n.xmlContentTypes||[];i<u.length;i++)for(var s=u[i],c=e.invertedContentTypes[s]||[],f=0;f<c.length;f++){var p=c[f];e.zip.files[p]&&e.options.xmlFileNames.push(p);}}function Vb(e){return Lb(e,function(r,t){return (t.priority||0)-(r.priority||0)})}function Qn(e){var r=[];for(var t in e)r.push(t);for(var n=[qb,Ub],i=["word/","xl/","ppt/"],u=0;u<r.length;u++)for(var s=r[u],c=0;c<i.length;c++){var f=i[c];s.indexOf("".concat(f))===0&&n.push(s);}for(var p=0;p<r.length;p++){var h=r[p];n.indexOf(h)===-1&&n.push(h);}return n}function bp(e,r){e.hideDeprecations!==true&&console.warn(r);}function Mt(e,r){if(e.hideDeprecations!==true)return bp(e,'Deprecated method ".'.concat(r,'", view upgrade guide : https://docxtemplater.com/docs/api/#upgrade-guide, stack : ').concat(new Error().stack))}function Vo(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 fp(e){var r=e.compiled;e.errors=Xo(Object.keys(r).map(function(t){return r[t].allErrors})),e.errors.length!==0&&(e.options.errorLogging&&yp(e.errors,e.options.errorLogging),Ep(e.errors));}function Xb(e){return typeof Buffer<"u"&&typeof Buffer.isBuffer=="function"&&Buffer.isBuffer(e)}var at=(function(){function e(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.modules,i=n===void 0?[]:n,u=vb(t,cb);if(yb(this,e),this.targets=[],this.rendered=false,this.scopeManagers={},this.compiled={},this.modules=[Tb()],this.xmlDocuments={},arguments.length===0)bp(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),Xb(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(i))throw new Error("The modules argument of docxtemplater's constructor must be an array");for(var s=0;s<i.length;s++){var c=i[s];this.attachModule(c);}this.loadZip(r),this.compile(),this.v4Constructor=true;}this.hideDeprecations=false;}return Eb(e,[{key:"verifyApiVersion",value:function(t){t=t.split(".");for(var n=0;n<t.length;n++)t[n]=parseInt(t[n],10);return t.length!==3&&ei("neededVersion is not a valid version",{neededVersion:t,explanation:"the neededVersion must be an array of length 3"}),t[0]!==gr[0]&&ei("The major api version do not match, you probably have to update docxtemplater with npm install --save docxtemplater",{neededVersion:t,currentModuleApiVersion:gr,explanation:"moduleAPIVersionMismatch : needed=".concat(t.join("."),", current=").concat(gr.join("."))}),t[1]>gr[1]&&ei("The minor api version is not uptodate, you probably have to update docxtemplater with npm install --save docxtemplater",{neededVersion:t,currentModuleApiVersion:gr,explanation:"moduleAPIVersionMismatch : needed=".concat(t.join("."),", current=").concat(gr.join("."))}),t[1]===gr[1]&&t[2]>gr[2]&&ei("The patch api version is not uptodate, you probably have to update docxtemplater with npm install --save docxtemplater",{neededVersion:t,currentModuleApiVersion:gr,explanation:"moduleAPIVersionMismatch : needed=".concat(t.join("."),", current=").concat(gr.join("."))}),true}},{key:"setModules",value:function(t){for(var n=0,i=this.modules;n<i.length;n++){var u=i[n];u.set(t);}}},{key:"sendEvent",value:function(t){for(var n=0,i=this.modules;n<i.length;n++){var u=i[n];u.on(t);}}},{key:"attachModule",value:function(t){if(this.v4Constructor)throw new Jn("attachModule() should not be called manually when using the v4 constructor");Mt(this,"attachModule");var n=qt(t);if(n==="function")throw new Jn("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 Jn("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 i=mp(t);return this.modules.push(i),i.on("attached"),this.fileType&&Vo(this),this}},{key:"findModule",value:function(t){for(var n=0,i=this.modules;n<i.length;n++){var u=i[n];if(u.name===t)return u}}},{key:"setOptions",value:function(t){var n,i;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=xb.validate(t);if(u.success===false)throw new Error(u.error);Mt(this,"setOptions"),this.options={};var s=sp();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=cp(this.delimiters.start)),(i=this.delimiters).end&&(i.end=cp(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(Mt(this,"loadZip"),t.loadAsync)throw new Jn("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=Xo([this.fileTypeConfig.baseModules.map(function(s){return s()}),this.modules]);for(var n=0,i=this.modules;n<i.length;n++){var u=i[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 Vo(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,i){var u;return (u=this.scopeManagers)[t]||(u[t]=Cb({tags:i,parser:this.parser,cachedParsers:n.cachedParsers})),this.scopeManagers[t]}},{key:"resolveData",value:function(t){var n=this;Mt(this,"resolveData");var i=[];return Object.keys(this.compiled).length||Sb(),Promise.resolve(t).then(function(u){n.data=u,n.setModules({data:n.data,Lexer:up}),n.mapper=n.modules.reduce(function(h,m){return m.getRenderedMap(h)},{});for(var s=[],c=function(){var m=p[f],b=n.mapper[m],x=b.from,T=b.data;s.push(Promise.resolve(T).then(function(_){var C=n.compiled[x];return C.filePath=m,C.scopeManager=n.getScopeManager(m,C,_),C.resolveTags(_).then(function(O){return C.scopeManager.finishedResolving=true,O},function(O){jo(i,O);})}));},f=0,p=Object.keys(n.mapper);f<p.length;f++)c();return Promise.all(s).then(function(h){return i.length!==0&&(n.options.errorLogging&&yp(i,n.options.errorLogging),Ep(i)),Xo(h)})})}},{key:"compile",value:function(){if(Mt(this,"compile"),this.updateFileTypeConfig(),zb(this.modules),this.modules=Vb(this.modules),Object.keys(this.compiled).length)return this;for(var t=this.options,n=0,i=this.modules;n<i.length;n++){var u=i[n];t=u.optionsTransformer(t,this);}this.options=t,this.options.xmlFileNames=lp(this.options.xmlFileNames);for(var s=0,c=this.options.xmlFileNames;s<c.length;s++){var f=c[s],p=this.zip.files[f].asText();this.xmlDocuments[f]=Rb(p);}this.setModules({zip:this.zip,xmlDocuments:this.xmlDocuments});for(var h=0,m=this.modules;h<m.length;h++){var b=m[h];b.xmlDocuments=this.xmlDocuments;}this.getTemplatedFiles(),this.sendEvent("before-preparse");for(var x=0,T=this.templatedFiles;x<T.length;x++){var _=T[x];this.zip.files[_]!=null&&this.precompileFile(_);}this.sendEvent("after-preparse");for(var C=0,O=this.templatedFiles;C<O.length;C++){var P=O[C];this.zip.files[P]!=null&&this.compiled[P].parse({noPostParse:true});}this.sendEvent("after-parse");for(var k=0,B=this.templatedFiles;k<B.length;k++){var z=B[k];this.zip.files[z]!=null&&this.compiled[z].postparse();}return this.sendEvent("after-postparse"),this.setModules({compiled:this.compiled}),fp(this),this}},{key:"updateFileTypeConfig",value:function(){this.relsTypes=hp(this.zip);var t=vp(this.zip),n=t.overrides,i=t.defaults,u=t.contentTypes,s=t.contentTypeXml;s&&(this.filesContentTypes=gp(n,i,this.zip),this.invertedContentTypes=Mb(this.filesContentTypes),this.setModules({contentTypes:this.contentTypes,invertedContentTypes:this.invertedContentTypes}));var c;this.zip.files.mimetype&&(c="odt");for(var f=0,p=this.modules;f<p.length;f++){var h=p[f];c=h.getFileType({zip:this.zip,contentTypes:u,contentTypeXml:s,overrides:n,defaults:i,doc:this})||c;}if(this.fileType=c,c==="odt"&&Bb(c),c||Pb(this.zip),jb(this),Vo(this),this.fileTypeConfig=this.options.fileTypeConfig||this.fileTypeConfig,!this.fileTypeConfig)if(e.FileTypeConfig[this.fileType])this.fileTypeConfig=e.FileTypeConfig[this.fileType]();else {var m='Filetype "'.concat(this.fileType,'" is not supported'),b="filetype_not_supported";this.fileType==="xlsx"&&(m='Filetype "'.concat(this.fileType,'" is supported only with the paid XlsxModule'),b="xlsx_filetype_needs_xlsx_module");var x=new Ib(m);throw x.properties={id:b,explanation:m},x}return this}},{key:"renderAsync",value:function(t){var n=this;this.hideDeprecations=true;var i=this.resolveData(t);return this.hideDeprecations=false,this.zip.xtRendered=true,i.then(function(){return n.render()})}},{key:"render",value:function(t){this.zip.xtRendered=true,this.rendered&&Nb(),this.rendered=true,Object.keys(this.compiled).length===0&&this.compile(),this.errors.length>0&&Ob(),arguments.length>0&&(this.data=t),this.setModules({data:this.data,Lexer:up}),this.mapper||(this.mapper=this.modules.reduce(function(j,X){return X.getRenderedMap(j)},{}));var n=[];for(var i in this.mapper){var u=this.mapper[i],s=u.from,c=u.data,f=this.compiled[s];f.scopeManager=this.getScopeManager(i,f,c),f.render(i),n.push([i,f.content,f]),delete f.content;}for(var p=0;p<n.length;p++)for(var h=n[p],m=ap(h,3),b=m[1],x=m[2],T=0,_=this.modules;T<_.length;T++){var C=_[T];if(C.preZip){var O=C.preZip(b,x);typeof O=="string"&&(h[1]=O);}}for(var P=0;P<n.length;P++){var k=ap(n[P],2),B=k[0],z=k[1];this.zip.file(B,z,{createFolders:true});}return fp(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=Fb(this.xmlDocuments[t]);this.zip.file(t,n,{createFolders:true});}}},{key:"setData",value:function(t){return Mt(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 i={filePath:n,contentType:this.filesContentTypes[n],relsType:this.relsTypes[n]},u=sp(),s=jo(Object.keys(u),["filesContentTypes","fileTypeConfig","fileType","modules"]),c=0;c<s.length;c++){var f=s[c];i[f]=this[f];}return new e.XmlTemplater(t,i)}},{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),jo(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 i=0;i<t.length;i++){var u=t[i],s=this.zip.file(n).asText();s.indexOf('xmlns="'.concat(u,'"'))!==-1&&this.templatedFiles.push(n);}}return this.templatedFiles=lp(this.templatedFiles),this.templatedFiles}},{key:"getTags",value:function(){var t={headers:[],footers:[]};for(var n in this.compiled){var i=this.filesContentTypes[n];i==="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"&&(t.document={target:n,tags:zo(this.compiled[n].postparsed)}),i==="application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml"&&t.headers.push({target:n,tags:zo(this.compiled[n].postparsed)}),i==="application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml"&&t.footers.push({target:n,tags:zo(this.compiled[n].postparsed)});}return t}},{key:"toBuffer",value:function(t){return this.zip.generate(dr(dr({compression:"DEFLATE",fileOrder:Qn},t),{},{type:"nodebuffer"}))}},{key:"toBlob",value:function(t){return this.zip.generate(dr(dr({compression:"DEFLATE",fileOrder:Qn},t),{},{type:"blob"}))}},{key:"toBase64",value:function(t){return this.zip.generate(dr(dr({compression:"DEFLATE",fileOrder:Qn},t),{},{type:"base64"}))}},{key:"toUint8Array",value:function(t){return this.zip.generate(dr(dr({compression:"DEFLATE",fileOrder:Qn},t),{},{type:"uint8array"}))}},{key:"toArrayBuffer",value:function(t){return this.zip.generate(dr(dr({compression:"DEFLATE",fileOrder:Qn},t),{},{type:"arraybuffer"}))}}])})();at.DocUtils=Fe;at.Errors=$e();at.XmlTemplater=ff();at.FileTypeConfig=tp();at.XmlMatcher=Do();Ho.exports=at;Ho.exports.default=at;});var Ut=c(ms()),zt=c(wp());function Zo(e,r,t={}){return Hb(e,r,t).buffer}function Hb(e,r,t={}){let{nullGetter:n="keep",linebreaks:i=true,delimiters:u}=t,s=[],c=[],f=[];try{let p=new Ut.default(e),h=new zt.default(p,{paragraphLoop:!0,linebreaks:i,nullGetter:b=>{let x=b.value||"";if(n==="error")throw new Error(`Undefined variable: ${x}`);return n==="empty"?(f.push(x),""):(f.push(x),`{${x}}`)},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);}),h.setData(r),h.render(),{buffer:h.getZip().generate({type:"arraybuffer",compression:"DEFLATE",compressionOptions:{level:6}}),replacedVariables:c,unreplacedVariables:f,warnings:s}}catch(p){throw $n(p)}}function Zb(e,r,t={}){let n=Zo(e,r,t);return new Blob([n],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"})}function ow(e,r,t="document",n={}){let i=Zb(e,r,n);Wb(i,`${t}.docx`);}function uw(e){try{let r=new Ut.default(e),n=new zt.default(r,{paragraphLoop:!0,linebreaks:!0}).getFullText();return xp(n)}catch(r){throw $n(r)}}function sw(e){let r=[],t=[];try{let n=new Ut.default(e),u=new zt.default(n,{paragraphLoop:!0,linebreaks:!0}).getFullText();t=xp(u);let s=Gb(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($n(n)),{valid:false,errors:r,tags:t}}}function lw(e,r){return e.filter(t=>!(t in r)||r[t]===void 0||r[t]===null)}function cw(e,r){try{let t=new Ut.default(e),n=new zt.default(t,{paragraphLoop:!0,linebreaks:!0,nullGetter:i=>`[${i.value||""}]`});return n.setData(r),n.render(),n.getFullText()}catch(t){throw $n(t)}}function xp(e){let r=[],t=/\{([^{}]+)\}/g,n;for(;(n=t.exec(e))!==null;){let i=n[1].trim();i&&!r.includes(i)&&r.push(i);}return r.sort()}function Gb(e){let r=[],t=0,n="";for(let i of e)i==="{"?(t++,n=""):i==="}"?(t--,t<0&&(t=0)):t>0&&(n+=i);return t>0&&n.trim()&&r.push(n.trim()),r}function Yb(e){return "properties"in e&&typeof e.properties=="object"}function $n(e){if(e instanceof Error){if(Yb(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 Wb(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 fw(e,r,t={}){let{linebreaks:n=true,delimiters:i}=t;try{let u=new Ut.default(e),s=new zt.default(u,{paragraphLoop:!0,linebreaks:n,delimiters:i?{start:i.start||"{",end:i.end||"}"}:void 0});return s.setData(r),s.render(),s.getZip().generate({type:"arraybuffer",compression:"DEFLATE"})}catch(u){throw $n(u)}}function pw(e={}){return (r,t)=>Zo(r,t,e)}var hw=Zo;/*! Bundled license information:
21
+
22
+ pako/dist/pako.es5.min.js:
23
+ (*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) *)
24
+ */export{Zo as a,Hb as b,Zb as c,ow as d,uw as e,sw as f,lw as g,cw as h,fw as i,pw as j,hw as k};