@eigenpal/docx-js-editor 0.0.26 → 0.0.28

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 (94) hide show
  1. package/README.md +6 -5
  2. package/dist/{ClipboardManager-Bbo5MM_U.d.cts → ClipboardManager-BzgQ-SOi.d.cts} +1 -1
  3. package/dist/{ClipboardManager-CR843H7H.d.ts → ClipboardManager-D0D4aUKE.d.ts} +1 -1
  4. package/dist/{DocumentAgent-cHf96hwL.d.cts → DocumentAgent-B9FUoSVS.d.cts} +1 -1
  5. package/dist/{DocumentAgent-lHtXgMFN.d.ts → DocumentAgent-CRCXiBT7.d.ts} +1 -1
  6. package/dist/{agentApi-DmDuQm0e.d.cts → agentApi-BVHzyk2l.d.cts} +11 -1
  7. package/dist/{agentApi-DmDuQm0e.d.ts → agentApi-BVHzyk2l.d.ts} +11 -1
  8. package/dist/chunk-2FYTKTQL.cjs +111 -0
  9. package/dist/chunk-2KHL5RSD.js +4 -0
  10. package/dist/chunk-3YHC2RAO.js +258 -0
  11. package/dist/chunk-63YB7DGI.js +59 -0
  12. package/dist/chunk-7OCUAFPO.cjs +258 -0
  13. package/dist/chunk-HE3SUXOQ.cjs +4 -0
  14. package/dist/{chunk-6TUCNECX.js → chunk-HRUPO723.js} +1 -1
  15. package/dist/{chunk-5ILXHRJS.cjs → chunk-JMR5HNJP.cjs} +3 -3
  16. package/dist/chunk-JO2CKU4O.js +1 -0
  17. package/dist/{chunk-KL2RYY6G.cjs → chunk-MSV5LTHM.cjs} +2 -2
  18. package/dist/chunk-NLYEW36R.js +26 -0
  19. package/dist/chunk-OJ7NJK46.cjs +1 -0
  20. package/dist/{chunk-CLDB6TL7.js → chunk-PRBTINOW.js} +20 -19
  21. package/dist/chunk-PVV7DV3L.cjs +59 -0
  22. package/dist/{chunk-JIKVCUR6.js → chunk-TOGKKPIW.js} +1 -1
  23. package/dist/chunk-VPDOOMUJ.cjs +26 -0
  24. package/dist/chunk-XGL3EGKF.js +111 -0
  25. package/dist/{chunk-B7TICMXD.cjs → chunk-XKBIFFAS.cjs} +20 -19
  26. package/dist/{clipboard-CU-zASXS.d.ts → clipboard-B7N7Kx2X.d.ts} +1 -1
  27. package/dist/{clipboard-DBabJ6mU.d.cts → clipboard-Cm7udEnb.d.cts} +1 -1
  28. package/dist/{colorResolver-yl7Xh_Qg.d.cts → colorResolver-Bu7uJqpw.d.cts} +2 -2
  29. package/dist/{colorResolver-BTTqW66Q.d.ts → colorResolver-Dlmk3itT.d.ts} +2 -2
  30. package/dist/core-plugins-reexport.cjs +1 -1
  31. package/dist/core-plugins-reexport.d.cts +4 -4
  32. package/dist/core-plugins-reexport.d.ts +4 -4
  33. package/dist/core-plugins-reexport.js +1 -1
  34. package/dist/core-reexport.cjs +1 -1
  35. package/dist/core-reexport.d.cts +10 -10
  36. package/dist/core-reexport.d.ts +10 -10
  37. package/dist/core-reexport.js +1 -1
  38. package/dist/{fontLoader-DQJOS1sb.d.ts → fontLoader-BI9ZoACv.d.ts} +1 -1
  39. package/dist/{fontLoader-Daq8y8C2.d.cts → fontLoader-X8ocGzeD.d.cts} +1 -1
  40. package/dist/headless-reexport.cjs +2 -2
  41. package/dist/headless-reexport.d.cts +7 -7
  42. package/dist/headless-reexport.d.ts +7 -7
  43. package/dist/headless-reexport.js +1 -1
  44. package/dist/index.cjs +2 -2
  45. package/dist/index.d.cts +11 -11
  46. package/dist/index.d.ts +11 -11
  47. package/dist/index.js +1 -1
  48. package/dist/lib-SPXD4LFI.cjs +1 -0
  49. package/dist/lib-U35UU4OU.js +1 -0
  50. package/dist/mcp-reexport.cjs +3 -3
  51. package/dist/mcp-reexport.d.cts +2 -2
  52. package/dist/mcp-reexport.d.ts +2 -2
  53. package/dist/mcp-reexport.js +1 -1
  54. package/dist/{processTemplate-3HN7Q3KT.js → processTemplate-CGIQEJ26.js} +1 -1
  55. package/dist/processTemplate-FOYV6BC5.cjs +1 -0
  56. package/dist/{react-CFPWe7nV.d.ts → react-BgZObIoP.d.ts} +10 -4
  57. package/dist/{react-CKqhN17E.d.cts → react-D9JDP3cV.d.cts} +10 -4
  58. package/dist/react.cjs +1 -1
  59. package/dist/react.d.cts +5 -5
  60. package/dist/react.d.ts +5 -5
  61. package/dist/react.js +1 -1
  62. package/dist/{registry-CXGC344v.d.cts → registry-Bxb5ZI1z.d.cts} +1 -1
  63. package/dist/{registry-C2DPl-QW.d.ts → registry-CgWNVTk9.d.ts} +1 -1
  64. package/dist/selectionRects-BMXJJCPJ.cjs +1 -0
  65. package/dist/selectionRects-TWK7CAC3.js +1 -0
  66. package/dist/styles.css +1 -1
  67. package/dist/{types-COQvtZji.d.cts → types-D03hsi5t.d.cts} +1 -1
  68. package/dist/{types-BpokDLqL.d.ts → types-igZ1x_e4.d.ts} +1 -1
  69. package/dist/ui.cjs +1 -1
  70. package/dist/ui.d.cts +4 -4
  71. package/dist/ui.d.ts +4 -4
  72. package/dist/ui.js +1 -1
  73. package/dist/{variableDetector-BYzE_RXw.d.ts → variableDetector-CkYvLv62.d.ts} +1 -1
  74. package/dist/{variableDetector-C8ST_dnq.d.cts → variableDetector-iGl52A6q.d.cts} +1 -1
  75. package/package.json +1 -1
  76. package/dist/chunk-3X3LTNK4.js +0 -26
  77. package/dist/chunk-4CUGBNL2.cjs +0 -1
  78. package/dist/chunk-5GFXHUMP.js +0 -1
  79. package/dist/chunk-FUK46DWH.js +0 -111
  80. package/dist/chunk-MUIREXKH.js +0 -3
  81. package/dist/chunk-OWMG5MW5.cjs +0 -3
  82. package/dist/chunk-PGEORVCG.js +0 -59
  83. package/dist/chunk-PIVLDW7B.cjs +0 -26
  84. package/dist/chunk-PUVSVHHB.cjs +0 -59
  85. package/dist/chunk-S36T7OK5.cjs +0 -258
  86. package/dist/chunk-Y62HOQL2.cjs +0 -111
  87. package/dist/chunk-YYBSUBRG.js +0 -258
  88. package/dist/lib-GD2QD2JK.js +0 -1
  89. package/dist/lib-HOLGQI5K.cjs +0 -1
  90. package/dist/processTemplate-BXZKWRQD.cjs +0 -1
  91. package/dist/selectionRects-7QU337P5.cjs +0 -1
  92. package/dist/selectionRects-V5RC2BYX.js +0 -1
  93. /package/dist/{chunk-USRMBYI6.js → chunk-IFPN3NT3.js} +0 -0
  94. /package/dist/{chunk-XQNCLN4T.cjs → chunk-QDNL7NWN.cjs} +0 -0
@@ -1,23 +1,24 @@
1
- 'use strict';var chunkPCJ5ACUV_cjs=require('./chunk-PCJ5ACUV.cjs');var ha=chunkPCJ5ACUV_cjs.b(fi=>{var Tr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";fi.encode=function(e){for(var r="",t,n,o,u,s,c,f,p=0;p<e.length;)t=e.charCodeAt(p++),n=e.charCodeAt(p++),o=e.charCodeAt(p++),u=t>>2,s=(t&3)<<4|n>>4,c=(n&15)<<2|o>>6,f=o&63,isNaN(n)?c=f=64:isNaN(o)&&(f=64),r=r+Tr.charAt(u)+Tr.charAt(s)+Tr.charAt(c)+Tr.charAt(f);return r};fi.decode=function(e){var r="",t,n,o,u,s,c,f,p=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");p<e.length;)u=Tr.indexOf(e.charAt(p++)),s=Tr.indexOf(e.charAt(p++)),c=Tr.indexOf(e.charAt(p++)),f=Tr.indexOf(e.charAt(p++)),t=u<<2|s>>4,n=(s&15)<<4|c>>2,o=(c&3)<<6|f,r+=String.fromCharCode(t),c!==64&&(r+=String.fromCharCode(n)),f!==64&&(r+=String.fromCharCode(o));return r};});var Xr=chunkPCJ5ACUV_cjs.b(Qe=>{Qe.base64=true;Qe.array=true;Qe.string=true;Qe.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";Qe.nodebuffer=typeof Buffer<"u";Qe.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")Qe.blob=false;else {pi=new ArrayBuffer(0);try{Qe.blob=new Blob([pi],{type:"application/zip"}).size===0;}catch{try{wu=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,hi=new wu,hi.append(pi),Qe.blob=hi.getBlob("application/zip").size===0;}catch{Qe.blob=false;}}}var pi,wu,hi;});var Au=chunkPCJ5ACUV_cjs.b((da,Du)=>{(function(e,r){typeof da=="object"&&typeof Du<"u"?r(da):typeof define=="function"&&define.amd?define(["exports"],r):r((e=typeof globalThis<"u"?globalThis:e||self).pako={});})(da,(function(e){function r(a){for(var l=a.length;--l>=0;)a[l]=0;}var t=256,n=286,o=30,u=15,s=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),c=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),f=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),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 y=new Array(60);r(y);var x=new Array(512);r(x);var w=new Array(256);r(w);var T=new Array(29);r(T);var C,O,P,R=new Array(o);function S(a,l,i,d,g){this.static_tree=a,this.extra_bits=l,this.extra_base=i,this.elems=d,this.max_length=g,this.has_stree=a&&a.length;}function k(a,l){this.dyn_tree=a,this.max_code=0,this.stat_desc=l;}r(R);var U=function(a){return a<256?x[a]:x[256+(a>>>7)]},V=function(a,l){a.pending_buf[a.pending++]=255&l,a.pending_buf[a.pending++]=l>>>8&255;},G=function(a,l,i){a.bi_valid>16-i?(a.bi_buf|=l<<a.bi_valid&65535,V(a,a.bi_buf),a.bi_buf=l>>16-a.bi_valid,a.bi_valid+=i-16):(a.bi_buf|=l<<a.bi_valid&65535,a.bi_valid+=i);},M=function(a,l,i){G(a,i[2*l],i[2*l+1]);},te=function(a,l){var i=0;do i|=1&a,a>>>=1,i<<=1;while(--l>0);return i>>>1},ge=function(a,l,i){var d,g,m=new Array(16),D=0;for(d=1;d<=u;d++)D=D+i[d-1]<<1,m[d]=D;for(g=0;g<=l;g++){var v=a[2*g+1];v!==0&&(a[2*g]=te(m[v]++,v));}},Ne=function(a){var l;for(l=0;l<n;l++)a.dyn_ltree[2*l]=0;for(l=0;l<o;l++)a.dyn_dtree[2*l]=0;for(l=0;l<19;l++)a.bl_tree[2*l]=0;a.dyn_ltree[512]=1,a.opt_len=a.static_len=0,a.sym_next=a.matches=0;},pe=function(a){a.bi_valid>8?V(a,a.bi_buf):a.bi_valid>0&&(a.pending_buf[a.pending++]=a.bi_buf),a.bi_buf=0,a.bi_valid=0;},tr=function(a,l,i,d){var g=2*l,m=2*i;return a[g]<a[m]||a[g]===a[m]&&d[l]<=d[i]},Te=function(a,l,i){for(var d=a.heap[i],g=i<<1;g<=a.heap_len&&(g<a.heap_len&&tr(l,a.heap[g+1],a.heap[g],a.depth)&&g++,!tr(l,d,a.heap[g],a.depth));)a.heap[i]=a.heap[g],i=g,g<<=1;a.heap[i]=d;},Lt=function(a,l,i){var d,g,m,D,v=0;if(a.sym_next!==0)do d=255&a.pending_buf[a.sym_buf+v++],d+=(255&a.pending_buf[a.sym_buf+v++])<<8,g=a.pending_buf[a.sym_buf+v++],d===0?M(a,g,l):(m=w[g],M(a,m+t+1,l),(D=s[m])!==0&&(g-=T[m],G(a,g,D)),d--,m=U(d),M(a,m,i),(D=c[m])!==0&&(d-=R[m],G(a,d,D)));while(v<a.sym_next);M(a,256,l);},Mt=function(a,l){var i,d,g,m=l.dyn_tree,D=l.stat_desc.static_tree,v=l.stat_desc.has_stree,_=l.stat_desc.elems,E=-1;for(a.heap_len=0,a.heap_max=573,i=0;i<_;i++)m[2*i]!==0?(a.heap[++a.heap_len]=E=i,a.depth[i]=0):m[2*i+1]=0;for(;a.heap_len<2;)m[2*(g=a.heap[++a.heap_len]=E<2?++E:0)]=1,a.depth[g]=0,a.opt_len--,v&&(a.static_len-=D[2*g+1]);for(l.max_code=E,i=a.heap_len>>1;i>=1;i--)Te(a,m,i);g=_;do i=a.heap[1],a.heap[1]=a.heap[a.heap_len--],Te(a,m,1),d=a.heap[1],a.heap[--a.heap_max]=i,a.heap[--a.heap_max]=d,m[2*g]=m[2*i]+m[2*d],a.depth[g]=(a.depth[i]>=a.depth[d]?a.depth[i]:a.depth[d])+1,m[2*i+1]=m[2*d+1]=g,a.heap[1]=g++,Te(a,m,1);while(a.heap_len>=2);a.heap[--a.heap_max]=a.heap[1],(function(b,$){var F,A,B,Q,Y,ee,I=$.dyn_tree,N=$.max_code,j=$.stat_desc.static_tree,fe=$.stat_desc.has_stree,q=$.stat_desc.extra_bits,ie=$.stat_desc.extra_base,ae=$.stat_desc.max_length,H=0;for(Q=0;Q<=u;Q++)b.bl_count[Q]=0;for(I[2*b.heap[b.heap_max]+1]=0,F=b.heap_max+1;F<573;F++)(Q=I[2*I[2*(A=b.heap[F])+1]+1]+1)>ae&&(Q=ae,H++),I[2*A+1]=Q,A>N||(b.bl_count[Q]++,Y=0,A>=ie&&(Y=q[A-ie]),ee=I[2*A],b.opt_len+=ee*(Q+Y),fe&&(b.static_len+=ee*(j[2*A+1]+Y)));if(H!==0){do{for(Q=ae-1;b.bl_count[Q]===0;)Q--;b.bl_count[Q]--,b.bl_count[Q+1]+=2,b.bl_count[ae]--,H-=2;}while(H>0);for(Q=ae;Q!==0;Q--)for(A=b.bl_count[Q];A!==0;)(B=b.heap[--F])>N||(I[2*B+1]!==Q&&(b.opt_len+=(Q-I[2*B+1])*I[2*B],I[2*B+1]=Q),A--);}})(a,l),ge(m,E,a.bl_count);},at=function(a,l,i){var d,g,m=-1,D=l[1],v=0,_=7,E=4;for(D===0&&(_=138,E=3),l[2*(i+1)+1]=65535,d=0;d<=i;d++)g=D,D=l[2*(d+1)+1],++v<_&&g===D||(v<E?a.bl_tree[2*g]+=v:g!==0?(g!==m&&a.bl_tree[2*g]++,a.bl_tree[32]++):v<=10?a.bl_tree[34]++:a.bl_tree[36]++,v=0,m=g,D===0?(_=138,E=3):g===D?(_=6,E=3):(_=7,E=4));},qt=function(a,l,i){var d,g,m=-1,D=l[1],v=0,_=7,E=4;for(D===0&&(_=138,E=3),d=0;d<=i;d++)if(g=D,D=l[2*(d+1)+1],!(++v<_&&g===D)){if(v<E)do M(a,g,a.bl_tree);while(--v!=0);else g!==0?(g!==m&&(M(a,g,a.bl_tree),v--),M(a,16,a.bl_tree),G(a,v-3,2)):v<=10?(M(a,17,a.bl_tree),G(a,v-3,3)):(M(a,18,a.bl_tree),G(a,v-11,7));v=0,m=g,D===0?(_=138,E=3):g===D?(_=6,E=3):(_=7,E=4);}},ne=false,Pe=function(a,l,i,d){G(a,0+(d?1:0),3),pe(a),V(a,i),V(a,~i),i&&a.pending_buf.set(a.window.subarray(l,l+i),a.pending),a.pending+=i;},it=function(a,l,i,d){var g,m,D=0;a.level>0?(a.strm.data_type===2&&(a.strm.data_type=(function(v){var _,E=4093624447;for(_=0;_<=31;_++,E>>>=1)if(1&E&&v.dyn_ltree[2*_]!==0)return 0;if(v.dyn_ltree[18]!==0||v.dyn_ltree[20]!==0||v.dyn_ltree[26]!==0)return 1;for(_=32;_<t;_++)if(v.dyn_ltree[2*_]!==0)return 1;return 0})(a)),Mt(a,a.l_desc),Mt(a,a.d_desc),D=(function(v){var _;for(at(v,v.dyn_ltree,v.l_desc.max_code),at(v,v.dyn_dtree,v.d_desc.max_code),Mt(v,v.bl_desc),_=18;_>=3&&v.bl_tree[2*p[_]+1]===0;_--);return v.opt_len+=3*(_+1)+5+5+4,_})(a),g=a.opt_len+3+7>>>3,(m=a.static_len+3+7>>>3)<=g&&(g=m)):g=m=i+5,i+4<=g&&l!==-1?Pe(a,l,i,d):a.strategy===4||m===g?(G(a,2+(d?1:0),3),Lt(a,h,y)):(G(a,4+(d?1:0),3),(function(v,_,E,b){var $;for(G(v,_-257,5),G(v,E-1,5),G(v,b-4,4),$=0;$<b;$++)G(v,v.bl_tree[2*p[$]+1],3);qt(v,v.dyn_ltree,_-1),qt(v,v.dyn_dtree,E-1);})(a,a.l_desc.max_code+1,a.d_desc.max_code+1,D+1),Lt(a,a.dyn_ltree,a.dyn_dtree)),Ne(a),d&&pe(a);},nr={_tr_init:function(a){ne||((function(){var l,i,d,g,m,D=new Array(16);for(d=0,g=0;g<28;g++)for(T[g]=d,l=0;l<1<<s[g];l++)w[d++]=g;for(w[d-1]=g,m=0,g=0;g<16;g++)for(R[g]=m,l=0;l<1<<c[g];l++)x[m++]=g;for(m>>=7;g<o;g++)for(R[g]=m<<7,l=0;l<1<<c[g]-7;l++)x[256+m++]=g;for(i=0;i<=u;i++)D[i]=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(ge(h,287,D),l=0;l<o;l++)y[2*l+1]=5,y[2*l]=te(l,5);C=new S(h,s,257,n,u),O=new S(y,c,0,o,u),P=new S(new Array(0),f,0,19,7);})(),ne=true),a.l_desc=new k(a.dyn_ltree,C),a.d_desc=new k(a.dyn_dtree,O),a.bl_desc=new k(a.bl_tree,P),a.bi_buf=0,a.bi_valid=0,Ne(a);},_tr_stored_block:Pe,_tr_flush_block:it,_tr_tally:function(a,l,i){return a.pending_buf[a.sym_buf+a.sym_next++]=l,a.pending_buf[a.sym_buf+a.sym_next++]=l>>8,a.pending_buf[a.sym_buf+a.sym_next++]=i,l===0?a.dyn_ltree[2*i]++:(a.matches++,l--,a.dyn_ltree[2*(w[i]+t+1)]++,a.dyn_dtree[2*U(l)]++),a.sym_next===a.sym_end},_tr_align:function(a){G(a,2,3),M(a,256,h),(function(l){l.bi_valid===16?(V(l,l.bi_buf),l.bi_buf=0,l.bi_valid=0):l.bi_valid>=8&&(l.pending_buf[l.pending++]=255&l.bi_buf,l.bi_buf>>=8,l.bi_valid-=8);})(a);}},Ut=function(a,l,i,d){for(var g=65535&a|0,m=a>>>16&65535|0,D=0;i!==0;){i-=D=i>2e3?2e3:i;do m=m+(g=g+l[d++]|0)|0;while(--D);g%=65521,m%=65521;}return g|m<<16|0},yp=new Uint32Array((function(){for(var a,l=[],i=0;i<256;i++){a=i;for(var d=0;d<8;d++)a=1&a?3988292384^a>>>1:a>>>1;l[i]=a;}return l})()),Ae=function(a,l,i,d){var g=yp,m=d+i;a^=-1;for(var D=d;D<m;D++)a=a>>>8^g[255&(a^l[D])];return -1^a},Lr={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},X={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},Ep=nr._tr_init,Ka=nr._tr_stored_block,bp=nr._tr_flush_block,Er=nr._tr_tally,xp=nr._tr_align,br=X.Z_NO_FLUSH,wp=X.Z_PARTIAL_FLUSH,Dp=X.Z_FULL_FLUSH,Xe=X.Z_FINISH,Uo=X.Z_BLOCK,Ce=X.Z_OK,zo=X.Z_STREAM_END,ar=X.Z_STREAM_ERROR,Ap=X.Z_DATA_ERROR,Qa=X.Z_BUF_ERROR,Tp=X.Z_DEFAULT_COMPRESSION,Cp=X.Z_FILTERED,$n=X.Z_HUFFMAN_ONLY,_p=X.Z_RLE,Sp=X.Z_FIXED,Op=X.Z_DEFAULT_STRATEGY,Np=X.Z_UNKNOWN,ea=X.Z_DEFLATED,Mr=258,ir=262,ot=42,qr=113,zt=666,Ur=function(a,l){return a.msg=Lr[l],l},jo=function(a){return 2*a-(a>4?9:0)},xr=function(a){for(var l=a.length;--l>=0;)a[l]=0;},Ip=function(a){var l,i,d,g=a.w_size;d=l=a.hash_size;do i=a.head[--d],a.head[d]=i>=g?i-g:0;while(--l);d=l=g;do i=a.prev[--d],a.prev[d]=i>=g?i-g:0;while(--l)},wr=function(a,l,i){return (l<<a.hash_shift^i)&a.hash_mask},Ue=function(a){var l=a.state,i=l.pending;i>a.avail_out&&(i=a.avail_out),i!==0&&(a.output.set(l.pending_buf.subarray(l.pending_out,l.pending_out+i),a.next_out),a.next_out+=i,l.pending_out+=i,a.total_out+=i,a.avail_out-=i,l.pending-=i,l.pending===0&&(l.pending_out=0));},ze=function(a,l){bp(a,a.block_start>=0?a.block_start:-1,a.strstart-a.block_start,l),a.block_start=a.strstart,Ue(a.strm);},se=function(a,l){a.pending_buf[a.pending++]=l;},jt=function(a,l){a.pending_buf[a.pending++]=l>>>8&255,a.pending_buf[a.pending++]=255&l;},Ja=function(a,l,i,d){var g=a.avail_in;return g>d&&(g=d),g===0?0:(a.avail_in-=g,l.set(a.input.subarray(a.next_in,a.next_in+g),i),a.state.wrap===1?a.adler=Ut(a.adler,l,g,i):a.state.wrap===2&&(a.adler=Ae(a.adler,l,g,i)),a.next_in+=g,a.total_in+=g,g)},Vo=function(a,l){var i,d,g=a.max_chain_length,m=a.strstart,D=a.prev_length,v=a.nice_match,_=a.strstart>a.w_size-ir?a.strstart-(a.w_size-ir):0,E=a.window,b=a.w_mask,$=a.prev,F=a.strstart+Mr,A=E[m+D-1],B=E[m+D];a.prev_length>=a.good_match&&(g>>=2),v>a.lookahead&&(v=a.lookahead);do if(E[(i=l)+D]===B&&E[i+D-1]===A&&E[i]===E[m]&&E[++i]===E[m+1]){m+=2,i++;do;while(E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&m<F);if(d=Mr-(F-m),m=F-Mr,d>D){if(a.match_start=l,D=d,d>=v)break;A=E[m+D-1],B=E[m+D];}}while((l=$[l&b])>_&&--g!=0);return D<=a.lookahead?D:a.lookahead},ut=function(a){var l,i,d,g=a.w_size;do{if(i=a.window_size-a.lookahead-a.strstart,a.strstart>=g+(g-ir)&&(a.window.set(a.window.subarray(g,g+g-i),0),a.match_start-=g,a.strstart-=g,a.block_start-=g,a.insert>a.strstart&&(a.insert=a.strstart),Ip(a),i+=g),a.strm.avail_in===0)break;if(l=Ja(a.strm,a.window,a.strstart+a.lookahead,i),a.lookahead+=l,a.lookahead+a.insert>=3)for(d=a.strstart-a.insert,a.ins_h=a.window[d],a.ins_h=wr(a,a.ins_h,a.window[d+1]);a.insert&&(a.ins_h=wr(a,a.ins_h,a.window[d+3-1]),a.prev[d&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=d,d++,a.insert--,!(a.lookahead+a.insert<3)););}while(a.lookahead<ir&&a.strm.avail_in!==0)},Xo=function(a,l){var i,d,g,m=a.pending_buf_size-5>a.w_size?a.w_size:a.pending_buf_size-5,D=0,v=a.strm.avail_in;do{if(i=65535,g=a.bi_valid+42>>3,a.strm.avail_out<g||(g=a.strm.avail_out-g,i>(d=a.strstart-a.block_start)+a.strm.avail_in&&(i=d+a.strm.avail_in),i>g&&(i=g),i<m&&(i===0&&l!==Xe||l===br||i!==d+a.strm.avail_in)))break;D=l===Xe&&i===d+a.strm.avail_in?1:0,Ka(a,0,0,D),a.pending_buf[a.pending-4]=i,a.pending_buf[a.pending-3]=i>>8,a.pending_buf[a.pending-2]=~i,a.pending_buf[a.pending-1]=~i>>8,Ue(a.strm),d&&(d>i&&(d=i),a.strm.output.set(a.window.subarray(a.block_start,a.block_start+d),a.strm.next_out),a.strm.next_out+=d,a.strm.avail_out-=d,a.strm.total_out+=d,a.block_start+=d,i-=d),i&&(Ja(a.strm,a.strm.output,a.strm.next_out,i),a.strm.next_out+=i,a.strm.avail_out-=i,a.strm.total_out+=i);}while(D===0);return (v-=a.strm.avail_in)&&(v>=a.w_size?(a.matches=2,a.window.set(a.strm.input.subarray(a.strm.next_in-a.w_size,a.strm.next_in),0),a.strstart=a.w_size,a.insert=a.strstart):(a.window_size-a.strstart<=v&&(a.strstart-=a.w_size,a.window.set(a.window.subarray(a.w_size,a.w_size+a.strstart),0),a.matches<2&&a.matches++,a.insert>a.strstart&&(a.insert=a.strstart)),a.window.set(a.strm.input.subarray(a.strm.next_in-v,a.strm.next_in),a.strstart),a.strstart+=v,a.insert+=v>a.w_size-a.insert?a.w_size-a.insert:v),a.block_start=a.strstart),a.high_water<a.strstart&&(a.high_water=a.strstart),D?4:l!==br&&l!==Xe&&a.strm.avail_in===0&&a.strstart===a.block_start?2:(g=a.window_size-a.strstart,a.strm.avail_in>g&&a.block_start>=a.w_size&&(a.block_start-=a.w_size,a.strstart-=a.w_size,a.window.set(a.window.subarray(a.w_size,a.w_size+a.strstart),0),a.matches<2&&a.matches++,g+=a.w_size,a.insert>a.strstart&&(a.insert=a.strstart)),g>a.strm.avail_in&&(g=a.strm.avail_in),g&&(Ja(a.strm,a.window,a.strstart,g),a.strstart+=g,a.insert+=g>a.w_size-a.insert?a.w_size-a.insert:g),a.high_water<a.strstart&&(a.high_water=a.strstart),g=a.bi_valid+42>>3,m=(g=a.pending_buf_size-g>65535?65535:a.pending_buf_size-g)>a.w_size?a.w_size:g,((d=a.strstart-a.block_start)>=m||(d||l===Xe)&&l!==br&&a.strm.avail_in===0&&d<=g)&&(i=d>g?g:d,D=l===Xe&&a.strm.avail_in===0&&i===d?1:0,Ka(a,a.block_start,i,D),a.block_start+=i,Ue(a.strm)),D?3:1)},$a=function(a,l){for(var i,d;;){if(a.lookahead<ir){if(ut(a),a.lookahead<ir&&l===br)return 1;if(a.lookahead===0)break}if(i=0,a.lookahead>=3&&(a.ins_h=wr(a,a.ins_h,a.window[a.strstart+3-1]),i=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),i!==0&&a.strstart-i<=a.w_size-ir&&(a.match_length=Vo(a,i)),a.match_length>=3)if(d=Er(a,a.strstart-a.match_start,a.match_length-3),a.lookahead-=a.match_length,a.match_length<=a.max_lazy_match&&a.lookahead>=3){a.match_length--;do a.strstart++,a.ins_h=wr(a,a.ins_h,a.window[a.strstart+3-1]),i=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart;while(--a.match_length!=0);a.strstart++;}else a.strstart+=a.match_length,a.match_length=0,a.ins_h=a.window[a.strstart],a.ins_h=wr(a,a.ins_h,a.window[a.strstart+1]);else d=Er(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++;if(d&&(ze(a,false),a.strm.avail_out===0))return 1}return a.insert=a.strstart<2?a.strstart:2,l===Xe?(ze(a,true),a.strm.avail_out===0?3:4):a.sym_next&&(ze(a,false),a.strm.avail_out===0)?1:2},st=function(a,l){for(var i,d,g;;){if(a.lookahead<ir){if(ut(a),a.lookahead<ir&&l===br)return 1;if(a.lookahead===0)break}if(i=0,a.lookahead>=3&&(a.ins_h=wr(a,a.ins_h,a.window[a.strstart+3-1]),i=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),a.prev_length=a.match_length,a.prev_match=a.match_start,a.match_length=2,i!==0&&a.prev_length<a.max_lazy_match&&a.strstart-i<=a.w_size-ir&&(a.match_length=Vo(a,i),a.match_length<=5&&(a.strategy===Cp||a.match_length===3&&a.strstart-a.match_start>4096)&&(a.match_length=2)),a.prev_length>=3&&a.match_length<=a.prev_length){g=a.strstart+a.lookahead-3,d=Er(a,a.strstart-1-a.prev_match,a.prev_length-3),a.lookahead-=a.prev_length-1,a.prev_length-=2;do++a.strstart<=g&&(a.ins_h=wr(a,a.ins_h,a.window[a.strstart+3-1]),i=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart);while(--a.prev_length!=0);if(a.match_available=0,a.match_length=2,a.strstart++,d&&(ze(a,false),a.strm.avail_out===0))return 1}else if(a.match_available){if((d=Er(a,0,a.window[a.strstart-1]))&&ze(a,false),a.strstart++,a.lookahead--,a.strm.avail_out===0)return 1}else a.match_available=1,a.strstart++,a.lookahead--;}return a.match_available&&(d=Er(a,0,a.window[a.strstart-1]),a.match_available=0),a.insert=a.strstart<2?a.strstart:2,l===Xe?(ze(a,true),a.strm.avail_out===0?3:4):a.sym_next&&(ze(a,false),a.strm.avail_out===0)?1:2};function or(a,l,i,d,g){this.good_length=a,this.max_lazy=l,this.nice_length=i,this.max_chain=d,this.func=g;}var Vt=[new or(0,0,0,0,Xo),new or(4,4,8,4,$a),new or(4,5,16,8,$a),new or(4,6,32,32,$a),new or(4,4,16,16,st),new or(8,16,32,32,st),new or(8,16,128,128,st),new or(8,32,128,256,st),new or(32,128,258,1024,st),new or(32,258,258,4096,st)];function Bp(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ea,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),xr(this.dyn_ltree),xr(this.dyn_dtree),xr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),xr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),xr(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0;}var Xt=function(a){if(!a)return 1;var l=a.state;return !l||l.strm!==a||l.status!==ot&&l.status!==57&&l.status!==69&&l.status!==73&&l.status!==91&&l.status!==103&&l.status!==qr&&l.status!==zt?1:0},Ho=function(a){if(Xt(a))return Ur(a,ar);a.total_in=a.total_out=0,a.data_type=Np;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?ot:qr,a.adler=l.wrap===2?0:1,l.last_flush=-2,Ep(l),Ce},Zo=function(a){var l,i=Ho(a);return i===Ce&&((l=a.state).window_size=2*l.w_size,xr(l.head),l.max_lazy_match=Vt[l.level].max_lazy,l.good_match=Vt[l.level].good_length,l.nice_match=Vt[l.level].nice_length,l.max_chain_length=Vt[l.level].max_chain,l.strstart=0,l.block_start=0,l.lookahead=0,l.insert=0,l.match_length=l.prev_length=2,l.match_available=0,l.ins_h=0),i},Go=function(a,l,i,d,g,m){if(!a)return ar;var D=1;if(l===Tp&&(l=6),d<0?(D=0,d=-d):d>15&&(D=2,d-=16),g<1||g>9||i!==ea||d<8||d>15||l<0||l>9||m<0||m>Sp||d===8&&D!==1)return Ur(a,ar);d===8&&(d=9);var v=new Bp;return a.state=v,v.strm=a,v.status=ot,v.wrap=D,v.gzhead=null,v.w_bits=d,v.w_size=1<<v.w_bits,v.w_mask=v.w_size-1,v.hash_bits=g+7,v.hash_size=1<<v.hash_bits,v.hash_mask=v.hash_size-1,v.hash_shift=~~((v.hash_bits+3-1)/3),v.window=new Uint8Array(2*v.w_size),v.head=new Uint16Array(v.hash_size),v.prev=new Uint16Array(v.w_size),v.lit_bufsize=1<<g+6,v.pending_buf_size=4*v.lit_bufsize,v.pending_buf=new Uint8Array(v.pending_buf_size),v.sym_buf=v.lit_bufsize,v.sym_end=3*(v.lit_bufsize-1),v.level=l,v.strategy=m,v.method=i,Zo(a)},Ht={deflateInit:function(a,l){return Go(a,l,ea,15,8,Op)},deflateInit2:Go,deflateReset:Zo,deflateResetKeep:Ho,deflateSetHeader:function(a,l){return Xt(a)||a.state.wrap!==2?ar:(a.state.gzhead=l,Ce)},deflate:function(a,l){if(Xt(a)||l>Uo||l<0)return a?Ur(a,ar):ar;var i=a.state;if(!a.output||a.avail_in!==0&&!a.input||i.status===zt&&l!==Xe)return Ur(a,a.avail_out===0?Qa:ar);var d=i.last_flush;if(i.last_flush=l,i.pending!==0){if(Ue(a),a.avail_out===0)return i.last_flush=-1,Ce}else if(a.avail_in===0&&jo(l)<=jo(d)&&l!==Xe)return Ur(a,Qa);if(i.status===zt&&a.avail_in!==0)return Ur(a,Qa);if(i.status===ot&&i.wrap===0&&(i.status=qr),i.status===ot){var g=ea+(i.w_bits-8<<4)<<8;if(g|=(i.strategy>=$n||i.level<2?0:i.level<6?1:i.level===6?2:3)<<6,i.strstart!==0&&(g|=32),jt(i,g+=31-g%31),i.strstart!==0&&(jt(i,a.adler>>>16),jt(i,65535&a.adler)),a.adler=1,i.status=qr,Ue(a),i.pending!==0)return i.last_flush=-1,Ce}if(i.status===57){if(a.adler=0,se(i,31),se(i,139),se(i,8),i.gzhead)se(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),se(i,255&i.gzhead.time),se(i,i.gzhead.time>>8&255),se(i,i.gzhead.time>>16&255),se(i,i.gzhead.time>>24&255),se(i,i.level===9?2:i.strategy>=$n||i.level<2?4:0),se(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(se(i,255&i.gzhead.extra.length),se(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(a.adler=Ae(a.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69;else if(se(i,0),se(i,0),se(i,0),se(i,0),se(i,0),se(i,i.level===9?2:i.strategy>=$n||i.level<2?4:0),se(i,3),i.status=qr,Ue(a),i.pending!==0)return i.last_flush=-1,Ce}if(i.status===69){if(i.gzhead.extra){for(var m=i.pending,D=(65535&i.gzhead.extra.length)-i.gzindex;i.pending+D>i.pending_buf_size;){var v=i.pending_buf_size-i.pending;if(i.pending_buf.set(i.gzhead.extra.subarray(i.gzindex,i.gzindex+v),i.pending),i.pending=i.pending_buf_size,i.gzhead.hcrc&&i.pending>m&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-m,m)),i.gzindex+=v,Ue(a),i.pending!==0)return i.last_flush=-1,Ce;m=0,D-=v;}var _=new Uint8Array(i.gzhead.extra);i.pending_buf.set(_.subarray(i.gzindex,i.gzindex+D),i.pending),i.pending+=D,i.gzhead.hcrc&&i.pending>m&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-m,m)),i.gzindex=0;}i.status=73;}if(i.status===73){if(i.gzhead.name){var E,b=i.pending;do{if(i.pending===i.pending_buf_size){if(i.gzhead.hcrc&&i.pending>b&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-b,b)),Ue(a),i.pending!==0)return i.last_flush=-1,Ce;b=0;}E=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,se(i,E);}while(E!==0);i.gzhead.hcrc&&i.pending>b&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-b,b)),i.gzindex=0;}i.status=91;}if(i.status===91){if(i.gzhead.comment){var $,F=i.pending;do{if(i.pending===i.pending_buf_size){if(i.gzhead.hcrc&&i.pending>F&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-F,F)),Ue(a),i.pending!==0)return i.last_flush=-1,Ce;F=0;}$=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,se(i,$);}while($!==0);i.gzhead.hcrc&&i.pending>F&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-F,F));}i.status=103;}if(i.status===103){if(i.gzhead.hcrc){if(i.pending+2>i.pending_buf_size&&(Ue(a),i.pending!==0))return i.last_flush=-1,Ce;se(i,255&a.adler),se(i,a.adler>>8&255),a.adler=0;}if(i.status=qr,Ue(a),i.pending!==0)return i.last_flush=-1,Ce}if(a.avail_in!==0||i.lookahead!==0||l!==br&&i.status!==zt){var A=i.level===0?Xo(i,l):i.strategy===$n?(function(B,Q){for(var Y;;){if(B.lookahead===0&&(ut(B),B.lookahead===0)){if(Q===br)return 1;break}if(B.match_length=0,Y=Er(B,0,B.window[B.strstart]),B.lookahead--,B.strstart++,Y&&(ze(B,false),B.strm.avail_out===0))return 1}return B.insert=0,Q===Xe?(ze(B,true),B.strm.avail_out===0?3:4):B.sym_next&&(ze(B,false),B.strm.avail_out===0)?1:2})(i,l):i.strategy===_p?(function(B,Q){for(var Y,ee,I,N,j=B.window;;){if(B.lookahead<=Mr){if(ut(B),B.lookahead<=Mr&&Q===br)return 1;if(B.lookahead===0)break}if(B.match_length=0,B.lookahead>=3&&B.strstart>0&&(ee=j[I=B.strstart-1])===j[++I]&&ee===j[++I]&&ee===j[++I]){N=B.strstart+Mr;do;while(ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&I<N);B.match_length=Mr-(N-I),B.match_length>B.lookahead&&(B.match_length=B.lookahead);}if(B.match_length>=3?(Y=Er(B,1,B.match_length-3),B.lookahead-=B.match_length,B.strstart+=B.match_length,B.match_length=0):(Y=Er(B,0,B.window[B.strstart]),B.lookahead--,B.strstart++),Y&&(ze(B,false),B.strm.avail_out===0))return 1}return B.insert=0,Q===Xe?(ze(B,true),B.strm.avail_out===0?3:4):B.sym_next&&(ze(B,false),B.strm.avail_out===0)?1:2})(i,l):Vt[i.level].func(i,l);if(A!==3&&A!==4||(i.status=zt),A===1||A===3)return a.avail_out===0&&(i.last_flush=-1),Ce;if(A===2&&(l===wp?xp(i):l!==Uo&&(Ka(i,0,0,false),l===Dp&&(xr(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),Ue(a),a.avail_out===0))return i.last_flush=-1,Ce}return l!==Xe?Ce:i.wrap<=0?zo:(i.wrap===2?(se(i,255&a.adler),se(i,a.adler>>8&255),se(i,a.adler>>16&255),se(i,a.adler>>24&255),se(i,255&a.total_in),se(i,a.total_in>>8&255),se(i,a.total_in>>16&255),se(i,a.total_in>>24&255)):(jt(i,a.adler>>>16),jt(i,65535&a.adler)),Ue(a),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Ce:zo)},deflateEnd:function(a){if(Xt(a))return ar;var l=a.state.status;return a.state=null,l===qr?Ur(a,Ap):Ce},deflateSetDictionary:function(a,l){var i=l.length;if(Xt(a))return ar;var d=a.state,g=d.wrap;if(g===2||g===1&&d.status!==ot||d.lookahead)return ar;if(g===1&&(a.adler=Ut(a.adler,l,i,0)),d.wrap=0,i>=d.w_size){g===0&&(xr(d.head),d.strstart=0,d.block_start=0,d.insert=0);var m=new Uint8Array(d.w_size);m.set(l.subarray(i-d.w_size,i),0),l=m,i=d.w_size;}var D=a.avail_in,v=a.next_in,_=a.input;for(a.avail_in=i,a.next_in=0,a.input=l,ut(d);d.lookahead>=3;){var E=d.strstart,b=d.lookahead-2;do d.ins_h=wr(d,d.ins_h,d.window[E+3-1]),d.prev[E&d.w_mask]=d.head[d.ins_h],d.head[d.ins_h]=E,E++;while(--b);d.strstart=E,d.lookahead=2,ut(d);}return d.strstart+=d.lookahead,d.block_start=d.strstart,d.insert=d.lookahead,d.lookahead=0,d.match_length=d.prev_length=2,d.match_available=0,a.next_in=v,a.input=_,a.avail_in=D,d.wrap=g,Ce},deflateInfo:"pako deflate (from Nodeca project)"};function ei(a){return ei=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},ei(a)}var Pp=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},Yo=function(a){for(var l=Array.prototype.slice.call(arguments,1);l.length;){var i=l.shift();if(i){if(ei(i)!=="object")throw new TypeError(i+"must be non-object");for(var d in i)Pp(i,d)&&(a[d]=i[d]);}}return a},Wo=function(a){for(var l=0,i=0,d=a.length;i<d;i++)l+=a[i].length;for(var g=new Uint8Array(l),m=0,D=0,v=a.length;m<v;m++){var _=a[m];g.set(_,D),D+=_.length;}return g},Ko=true;try{String.fromCharCode.apply(null,new Uint8Array(1));}catch{Ko=false;}for(var Zt=new Uint8Array(256),Dr=0;Dr<256;Dr++)Zt[Dr]=Dr>=252?6:Dr>=248?5:Dr>=240?4:Dr>=224?3:Dr>=192?2:1;Zt[254]=Zt[254]=1;var ri=function(a){if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(a);var l,i,d,g,m,D=a.length,v=0;for(g=0;g<D;g++)(64512&(i=a.charCodeAt(g)))==55296&&g+1<D&&(64512&(d=a.charCodeAt(g+1)))==56320&&(i=65536+(i-55296<<10)+(d-56320),g++),v+=i<128?1:i<2048?2:i<65536?3:4;for(l=new Uint8Array(v),m=0,g=0;m<v;g++)(64512&(i=a.charCodeAt(g)))==55296&&g+1<D&&(64512&(d=a.charCodeAt(g+1)))==56320&&(i=65536+(i-55296<<10)+(d-56320),g++),i<128?l[m++]=i:i<2048?(l[m++]=192|i>>>6,l[m++]=128|63&i):i<65536?(l[m++]=224|i>>>12,l[m++]=128|i>>>6&63,l[m++]=128|63&i):(l[m++]=240|i>>>18,l[m++]=128|i>>>12&63,l[m++]=128|i>>>6&63,l[m++]=128|63&i);return l},Rp=function(a,l){var i,d,g=l||a.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(a.subarray(0,l));var m=new Array(2*g);for(d=0,i=0;i<g;){var D=a[i++];if(D<128)m[d++]=D;else {var v=Zt[D];if(v>4)m[d++]=65533,i+=v-1;else {for(D&=v===2?31:v===3?15:7;v>1&&i<g;)D=D<<6|63&a[i++],v--;v>1?m[d++]=65533:D<65536?m[d++]=D:(D-=65536,m[d++]=55296|D>>10&1023,m[d++]=56320|1023&D);}}}return (function(_,E){if(E<65534&&_.subarray&&Ko)return String.fromCharCode.apply(null,_.length===E?_:_.subarray(0,E));for(var b="",$=0;$<E;$++)b+=String.fromCharCode(_[$]);return b})(m,d)},kp=function(a,l){(l=l||a.length)>a.length&&(l=a.length);for(var i=l-1;i>=0&&(192&a[i])==128;)i--;return i<0||i===0?l:i+Zt[a[i]]>l?i:l},Qo=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;},Jo=Object.prototype.toString,Fp=X.Z_NO_FLUSH,Lp=X.Z_SYNC_FLUSH,Mp=X.Z_FULL_FLUSH,qp=X.Z_FINISH,ra=X.Z_OK,Up=X.Z_STREAM_END,zp=X.Z_DEFAULT_COMPRESSION,jp=X.Z_DEFAULT_STRATEGY,Vp=X.Z_DEFLATED;function Gt(a){this.options=Yo({level:zp,method:Vp,chunkSize:16384,windowBits:15,memLevel:8,strategy:jp},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 Qo,this.strm.avail_out=0;var i=Ht.deflateInit2(this.strm,l.level,l.method,l.windowBits,l.memLevel,l.strategy);if(i!==ra)throw new Error(Lr[i]);if(l.header&&Ht.deflateSetHeader(this.strm,l.header),l.dictionary){var d;if(d=typeof l.dictionary=="string"?ri(l.dictionary):Jo.call(l.dictionary)==="[object ArrayBuffer]"?new Uint8Array(l.dictionary):l.dictionary,(i=Ht.deflateSetDictionary(this.strm,d))!==ra)throw new Error(Lr[i]);this._dict_set=true;}}function ti(a,l){var i=new Gt(l);if(i.push(a,true),i.err)throw i.msg||Lr[i.err];return i.result}Gt.prototype.push=function(a,l){var i,d,g=this.strm,m=this.options.chunkSize;if(this.ended)return false;for(d=l===~~l?l:l===true?qp:Fp,typeof a=="string"?g.input=ri(a):Jo.call(a)==="[object ArrayBuffer]"?g.input=new Uint8Array(a):g.input=a,g.next_in=0,g.avail_in=g.input.length;;)if(g.avail_out===0&&(g.output=new Uint8Array(m),g.next_out=0,g.avail_out=m),(d===Lp||d===Mp)&&g.avail_out<=6)this.onData(g.output.subarray(0,g.next_out)),g.avail_out=0;else {if((i=Ht.deflate(g,d))===Up)return g.next_out>0&&this.onData(g.output.subarray(0,g.next_out)),i=Ht.deflateEnd(this.strm),this.onEnd(i),this.ended=true,i===ra;if(g.avail_out!==0){if(d>0&&g.next_out>0)this.onData(g.output.subarray(0,g.next_out)),g.avail_out=0;else if(g.avail_in===0)break}else this.onData(g.output);}return true},Gt.prototype.onData=function(a){this.chunks.push(a);},Gt.prototype.onEnd=function(a){a===ra&&(this.result=Wo(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg;};var ta={Deflate:Gt,deflate:ti,deflateRaw:function(a,l){return (l=l||{}).raw=true,ti(a,l)},gzip:function(a,l){return (l=l||{}).gzip=true,ti(a,l)}},na=16209,Xp=function(a,l){var i,d,g,m,D,v,_,E,b,$,F,A,B,Q,Y,ee,I,N,j,fe,q,ie,ae,H,W=a.state;i=a.next_in,ae=a.input,d=i+(a.avail_in-5),g=a.next_out,H=a.output,m=g-(l-a.avail_out),D=g+(a.avail_out-257),v=W.dmax,_=W.wsize,E=W.whave,b=W.wnext,$=W.window,F=W.hold,A=W.bits,B=W.lencode,Q=W.distcode,Y=(1<<W.lenbits)-1,ee=(1<<W.distbits)-1;e:do{A<15&&(F+=ae[i++]<<A,A+=8,F+=ae[i++]<<A,A+=8),I=B[F&Y];r:for(;;){if(F>>>=N=I>>>24,A-=N,(N=I>>>16&255)===0)H[g++]=65535&I;else {if(!(16&N)){if((64&N)==0){I=B[(65535&I)+(F&(1<<N)-1)];continue r}if(32&N){W.mode=16191;break e}a.msg="invalid literal/length code",W.mode=na;break e}j=65535&I,(N&=15)&&(A<N&&(F+=ae[i++]<<A,A+=8),j+=F&(1<<N)-1,F>>>=N,A-=N),A<15&&(F+=ae[i++]<<A,A+=8,F+=ae[i++]<<A,A+=8),I=Q[F&ee];t:for(;;){if(F>>>=N=I>>>24,A-=N,!(16&(N=I>>>16&255))){if((64&N)==0){I=Q[(65535&I)+(F&(1<<N)-1)];continue t}a.msg="invalid distance code",W.mode=na;break e}if(fe=65535&I,A<(N&=15)&&(F+=ae[i++]<<A,(A+=8)<N&&(F+=ae[i++]<<A,A+=8)),(fe+=F&(1<<N)-1)>v){a.msg="invalid distance too far back",W.mode=na;break e}if(F>>>=N,A-=N,fe>(N=g-m)){if((N=fe-N)>E&&W.sane){a.msg="invalid distance too far back",W.mode=na;break e}if(q=0,ie=$,b===0){if(q+=_-N,N<j){j-=N;do H[g++]=$[q++];while(--N);q=g-fe,ie=H;}}else if(b<N){if(q+=_+b-N,(N-=b)<j){j-=N;do H[g++]=$[q++];while(--N);if(q=0,b<j){j-=N=b;do H[g++]=$[q++];while(--N);q=g-fe,ie=H;}}}else if(q+=b-N,N<j){j-=N;do H[g++]=$[q++];while(--N);q=g-fe,ie=H;}for(;j>2;)H[g++]=ie[q++],H[g++]=ie[q++],H[g++]=ie[q++],j-=3;j&&(H[g++]=ie[q++],j>1&&(H[g++]=ie[q++]));}else {q=g-fe;do H[g++]=H[q++],H[g++]=H[q++],H[g++]=H[q++],j-=3;while(j>2);j&&(H[g++]=H[q++],j>1&&(H[g++]=H[q++]));}break}}break}}while(i<d&&g<D);i-=j=A>>3,F&=(1<<(A-=j<<3))-1,a.next_in=i,a.next_out=g,a.avail_in=i<d?d-i+5:5-(i-d),a.avail_out=g<D?D-g+257:257-(g-D),W.hold=F,W.bits=A;},aa=15,Hp=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]),Zp=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]),Gp=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]),Yp=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),Yt=function(a,l,i,d,g,m,D,v){var _,E,b,$,F,A,B,Q,Y,ee=v.bits,I=0,N=0,j=0,fe=0,q=0,ie=0,ae=0,H=0,W=0,ce=0,Vr=null,Ar=new Uint16Array(16),fa=new Uint16Array(16),pa=null;for(I=0;I<=aa;I++)Ar[I]=0;for(N=0;N<d;N++)Ar[l[i+N]]++;for(q=ee,fe=aa;fe>=1&&Ar[fe]===0;fe--);if(q>fe&&(q=fe),fe===0)return g[m++]=20971520,g[m++]=20971520,v.bits=1,0;for(j=1;j<fe&&Ar[j]===0;j++);for(q<j&&(q=j),H=1,I=1;I<=aa;I++)if(H<<=1,(H-=Ar[I])<0)return -1;if(H>0&&(a===0||fe!==1))return -1;for(fa[1]=0,I=1;I<aa;I++)fa[I+1]=fa[I]+Ar[I];for(N=0;N<d;N++)l[i+N]!==0&&(D[fa[l[i+N]]++]=N);if(a===0?(Vr=pa=D,A=20):a===1?(Vr=Hp,pa=Zp,A=257):(Vr=Gp,pa=Yp,A=0),ce=0,N=0,I=j,F=m,ie=q,ae=0,b=-1,$=(W=1<<q)-1,a===1&&W>852||a===2&&W>592)return 1;for(;;){B=I-ae,D[N]+1<A?(Q=0,Y=D[N]):D[N]>=A?(Q=pa[D[N]-A],Y=Vr[D[N]-A]):(Q=96,Y=0),_=1<<I-ae,j=E=1<<ie;do g[F+(ce>>ae)+(E-=_)]=B<<24|Q<<16|Y|0;while(E!==0);for(_=1<<I-1;ce&_;)_>>=1;if(_!==0?(ce&=_-1,ce+=_):ce=0,N++,--Ar[I]==0){if(I===fe)break;I=l[i+D[N]];}if(I>q&&(ce&$)!==b){for(ae===0&&(ae=q),F+=j,H=1<<(ie=I-ae);ie+ae<fe&&!((H-=Ar[ie+ae])<=0);)ie++,H<<=1;if(W+=1<<ie,a===1&&W>852||a===2&&W>592)return 1;g[b=ce&$]=q<<24|ie<<16|F-m|0;}}return ce!==0&&(g[F+ce]=I-ae<<24|64<<16|0),v.bits=q,0},$o=X.Z_FINISH,Wp=X.Z_BLOCK,ia=X.Z_TREES,zr=X.Z_OK,Kp=X.Z_STREAM_END,Qp=X.Z_NEED_DICT,Ke=X.Z_STREAM_ERROR,eu=X.Z_DATA_ERROR,ru=X.Z_MEM_ERROR,Jp=X.Z_BUF_ERROR,tu=X.Z_DEFLATED,oa=16180,ua=16190,hr=16191,ni=16192,ai=16194,sa=16199,la=16200,ii=16206,de=16209,nu=function(a){return (a>>>24&255)+(a>>>8&65280)+((65280&a)<<8)+((255&a)<<24)};function $p(){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 oi,ui,jr=function(a){if(!a)return 1;var l=a.state;return !l||l.strm!==a||l.mode<oa||l.mode>16211?1:0},au=function(a){if(jr(a))return Ke;var l=a.state;return a.total_in=a.total_out=l.total=0,a.msg="",l.wrap&&(a.adler=1&l.wrap),l.mode=oa,l.last=0,l.havedict=0,l.flags=-1,l.dmax=32768,l.head=null,l.hold=0,l.bits=0,l.lencode=l.lendyn=new Int32Array(852),l.distcode=l.distdyn=new Int32Array(592),l.sane=1,l.back=-1,zr},iu=function(a){if(jr(a))return Ke;var l=a.state;return l.wsize=0,l.whave=0,l.wnext=0,au(a)},ou=function(a,l){var i;if(jr(a))return Ke;var d=a.state;return l<0?(i=0,l=-l):(i=5+(l>>4),l<48&&(l&=15)),l&&(l<8||l>15)?Ke:(d.window!==null&&d.wbits!==l&&(d.window=null),d.wrap=i,d.wbits=l,iu(a))},uu=function(a,l){if(!a)return Ke;var i=new $p;a.state=i,i.strm=a,i.window=null,i.mode=oa;var d=ou(a,l);return d!==zr&&(a.state=null),d},su=true,eh=function(a){if(su){oi=new Int32Array(512),ui=new Int32Array(32);for(var l=0;l<144;)a.lens[l++]=8;for(;l<256;)a.lens[l++]=9;for(;l<280;)a.lens[l++]=7;for(;l<288;)a.lens[l++]=8;for(Yt(1,a.lens,0,288,oi,0,a.work,{bits:9}),l=0;l<32;)a.lens[l++]=5;Yt(2,a.lens,0,32,ui,0,a.work,{bits:5}),su=false;}a.lencode=oi,a.lenbits=9,a.distcode=ui,a.distbits=5;},lu=function(a,l,i,d){var g,m=a.state;return m.window===null&&(m.wsize=1<<m.wbits,m.wnext=0,m.whave=0,m.window=new Uint8Array(m.wsize)),d>=m.wsize?(m.window.set(l.subarray(i-m.wsize,i),0),m.wnext=0,m.whave=m.wsize):((g=m.wsize-m.wnext)>d&&(g=d),m.window.set(l.subarray(i-d,i-d+g),m.wnext),(d-=g)?(m.window.set(l.subarray(i-d,i),0),m.wnext=d,m.whave=m.wsize):(m.wnext+=g,m.wnext===m.wsize&&(m.wnext=0),m.whave<m.wsize&&(m.whave+=g))),0},dr={inflateReset:iu,inflateReset2:ou,inflateResetKeep:au,inflateInit:function(a){return uu(a,15)},inflateInit2:uu,inflate:function(a,l){var i,d,g,m,D,v,_,E,b,$,F,A,B,Q,Y,ee,I,N,j,fe,q,ie,ae,H,W=0,ce=new Uint8Array(4),Vr=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(jr(a)||!a.output||!a.input&&a.avail_in!==0)return Ke;(i=a.state).mode===hr&&(i.mode=ni),D=a.next_out,g=a.output,_=a.avail_out,m=a.next_in,d=a.input,v=a.avail_in,E=i.hold,b=i.bits,$=v,F=_,ie=zr;e:for(;;)switch(i.mode){case oa:if(i.wrap===0){i.mode=ni;break}for(;b<16;){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}if(2&i.wrap&&E===35615){i.wbits===0&&(i.wbits=15),i.check=0,ce[0]=255&E,ce[1]=E>>>8&255,i.check=Ae(i.check,ce,2,0),E=0,b=0,i.mode=16181;break}if(i.head&&(i.head.done=false),!(1&i.wrap)||(((255&E)<<8)+(E>>8))%31){a.msg="incorrect header check",i.mode=de;break}if((15&E)!==tu){a.msg="unknown compression method",i.mode=de;break}if(b-=4,q=8+(15&(E>>>=4)),i.wbits===0&&(i.wbits=q),q>15||q>i.wbits){a.msg="invalid window size",i.mode=de;break}i.dmax=1<<i.wbits,i.flags=0,a.adler=i.check=1,i.mode=512&E?16189:hr,E=0,b=0;break;case 16181:for(;b<16;){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}if(i.flags=E,(255&i.flags)!==tu){a.msg="unknown compression method",i.mode=de;break}if(57344&i.flags){a.msg="unknown header flags set",i.mode=de;break}i.head&&(i.head.text=E>>8&1),512&i.flags&&4&i.wrap&&(ce[0]=255&E,ce[1]=E>>>8&255,i.check=Ae(i.check,ce,2,0)),E=0,b=0,i.mode=16182;case 16182:for(;b<32;){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}i.head&&(i.head.time=E),512&i.flags&&4&i.wrap&&(ce[0]=255&E,ce[1]=E>>>8&255,ce[2]=E>>>16&255,ce[3]=E>>>24&255,i.check=Ae(i.check,ce,4,0)),E=0,b=0,i.mode=16183;case 16183:for(;b<16;){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}i.head&&(i.head.xflags=255&E,i.head.os=E>>8),512&i.flags&&4&i.wrap&&(ce[0]=255&E,ce[1]=E>>>8&255,i.check=Ae(i.check,ce,2,0)),E=0,b=0,i.mode=16184;case 16184:if(1024&i.flags){for(;b<16;){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}i.length=E,i.head&&(i.head.extra_len=E),512&i.flags&&4&i.wrap&&(ce[0]=255&E,ce[1]=E>>>8&255,i.check=Ae(i.check,ce,2,0)),E=0,b=0;}else i.head&&(i.head.extra=null);i.mode=16185;case 16185:if(1024&i.flags&&((A=i.length)>v&&(A=v),A&&(i.head&&(q=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Uint8Array(i.head.extra_len)),i.head.extra.set(d.subarray(m,m+A),q)),512&i.flags&&4&i.wrap&&(i.check=Ae(i.check,d,A,m)),v-=A,m+=A,i.length-=A),i.length))break e;i.length=0,i.mode=16186;case 16186:if(2048&i.flags){if(v===0)break e;A=0;do q=d[m+A++],i.head&&q&&i.length<65536&&(i.head.name+=String.fromCharCode(q));while(q&&A<v);if(512&i.flags&&4&i.wrap&&(i.check=Ae(i.check,d,A,m)),v-=A,m+=A,q)break e}else i.head&&(i.head.name=null);i.length=0,i.mode=16187;case 16187:if(4096&i.flags){if(v===0)break e;A=0;do q=d[m+A++],i.head&&q&&i.length<65536&&(i.head.comment+=String.fromCharCode(q));while(q&&A<v);if(512&i.flags&&4&i.wrap&&(i.check=Ae(i.check,d,A,m)),v-=A,m+=A,q)break e}else i.head&&(i.head.comment=null);i.mode=16188;case 16188:if(512&i.flags){for(;b<16;){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}if(4&i.wrap&&E!==(65535&i.check)){a.msg="header crc mismatch",i.mode=de;break}E=0,b=0;}i.head&&(i.head.hcrc=i.flags>>9&1,i.head.done=true),a.adler=i.check=0,i.mode=hr;break;case 16189:for(;b<32;){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}a.adler=i.check=nu(E),E=0,b=0,i.mode=ua;case ua:if(i.havedict===0)return a.next_out=D,a.avail_out=_,a.next_in=m,a.avail_in=v,i.hold=E,i.bits=b,Qp;a.adler=i.check=1,i.mode=hr;case hr:if(l===Wp||l===ia)break e;case ni:if(i.last){E>>>=7&b,b-=7&b,i.mode=ii;break}for(;b<3;){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}switch(i.last=1&E,b-=1,3&(E>>>=1)){case 0:i.mode=16193;break;case 1:if(eh(i),i.mode=sa,l===ia){E>>>=2,b-=2;break e}break;case 2:i.mode=16196;break;case 3:a.msg="invalid block type",i.mode=de;}E>>>=2,b-=2;break;case 16193:for(E>>>=7&b,b-=7&b;b<32;){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}if((65535&E)!=(E>>>16^65535)){a.msg="invalid stored block lengths",i.mode=de;break}if(i.length=65535&E,E=0,b=0,i.mode=ai,l===ia)break e;case ai:i.mode=16195;case 16195:if(A=i.length){if(A>v&&(A=v),A>_&&(A=_),A===0)break e;g.set(d.subarray(m,m+A),D),v-=A,m+=A,_-=A,D+=A,i.length-=A;break}i.mode=hr;break;case 16196:for(;b<14;){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}if(i.nlen=257+(31&E),E>>>=5,b-=5,i.ndist=1+(31&E),E>>>=5,b-=5,i.ncode=4+(15&E),E>>>=4,b-=4,i.nlen>286||i.ndist>30){a.msg="too many length or distance symbols",i.mode=de;break}i.have=0,i.mode=16197;case 16197:for(;i.have<i.ncode;){for(;b<3;){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}i.lens[Vr[i.have++]]=7&E,E>>>=3,b-=3;}for(;i.have<19;)i.lens[Vr[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,ae={bits:i.lenbits},ie=Yt(0,i.lens,0,19,i.lencode,0,i.work,ae),i.lenbits=ae.bits,ie){a.msg="invalid code lengths set",i.mode=de;break}i.have=0,i.mode=16198;case 16198:for(;i.have<i.nlen+i.ndist;){for(;ee=(W=i.lencode[E&(1<<i.lenbits)-1])>>>16&255,I=65535&W,!((Y=W>>>24)<=b);){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}if(I<16)E>>>=Y,b-=Y,i.lens[i.have++]=I;else {if(I===16){for(H=Y+2;b<H;){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}if(E>>>=Y,b-=Y,i.have===0){a.msg="invalid bit length repeat",i.mode=de;break}q=i.lens[i.have-1],A=3+(3&E),E>>>=2,b-=2;}else if(I===17){for(H=Y+3;b<H;){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}b-=Y,q=0,A=3+(7&(E>>>=Y)),E>>>=3,b-=3;}else {for(H=Y+7;b<H;){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}b-=Y,q=0,A=11+(127&(E>>>=Y)),E>>>=7,b-=7;}if(i.have+A>i.nlen+i.ndist){a.msg="invalid bit length repeat",i.mode=de;break}for(;A--;)i.lens[i.have++]=q;}}if(i.mode===de)break;if(i.lens[256]===0){a.msg="invalid code -- missing end-of-block",i.mode=de;break}if(i.lenbits=9,ae={bits:i.lenbits},ie=Yt(1,i.lens,0,i.nlen,i.lencode,0,i.work,ae),i.lenbits=ae.bits,ie){a.msg="invalid literal/lengths set",i.mode=de;break}if(i.distbits=6,i.distcode=i.distdyn,ae={bits:i.distbits},ie=Yt(2,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,ae),i.distbits=ae.bits,ie){a.msg="invalid distances set",i.mode=de;break}if(i.mode=sa,l===ia)break e;case sa:i.mode=la;case la:if(v>=6&&_>=258){a.next_out=D,a.avail_out=_,a.next_in=m,a.avail_in=v,i.hold=E,i.bits=b,Xp(a,F),D=a.next_out,g=a.output,_=a.avail_out,m=a.next_in,d=a.input,v=a.avail_in,E=i.hold,b=i.bits,i.mode===hr&&(i.back=-1);break}for(i.back=0;ee=(W=i.lencode[E&(1<<i.lenbits)-1])>>>16&255,I=65535&W,!((Y=W>>>24)<=b);){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}if(ee&&(240&ee)==0){for(N=Y,j=ee,fe=I;ee=(W=i.lencode[fe+((E&(1<<N+j)-1)>>N)])>>>16&255,I=65535&W,!(N+(Y=W>>>24)<=b);){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}E>>>=N,b-=N,i.back+=N;}if(E>>>=Y,b-=Y,i.back+=Y,i.length=I,ee===0){i.mode=16205;break}if(32&ee){i.back=-1,i.mode=hr;break}if(64&ee){a.msg="invalid literal/length code",i.mode=de;break}i.extra=15&ee,i.mode=16201;case 16201:if(i.extra){for(H=i.extra;b<H;){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}i.length+=E&(1<<i.extra)-1,E>>>=i.extra,b-=i.extra,i.back+=i.extra;}i.was=i.length,i.mode=16202;case 16202:for(;ee=(W=i.distcode[E&(1<<i.distbits)-1])>>>16&255,I=65535&W,!((Y=W>>>24)<=b);){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}if((240&ee)==0){for(N=Y,j=ee,fe=I;ee=(W=i.distcode[fe+((E&(1<<N+j)-1)>>N)])>>>16&255,I=65535&W,!(N+(Y=W>>>24)<=b);){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}E>>>=N,b-=N,i.back+=N;}if(E>>>=Y,b-=Y,i.back+=Y,64&ee){a.msg="invalid distance code",i.mode=de;break}i.offset=I,i.extra=15&ee,i.mode=16203;case 16203:if(i.extra){for(H=i.extra;b<H;){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}i.offset+=E&(1<<i.extra)-1,E>>>=i.extra,b-=i.extra,i.back+=i.extra;}if(i.offset>i.dmax){a.msg="invalid distance too far back",i.mode=de;break}i.mode=16204;case 16204:if(_===0)break e;if(A=F-_,i.offset>A){if((A=i.offset-A)>i.whave&&i.sane){a.msg="invalid distance too far back",i.mode=de;break}A>i.wnext?(A-=i.wnext,B=i.wsize-A):B=i.wnext-A,A>i.length&&(A=i.length),Q=i.window;}else Q=g,B=D-i.offset,A=i.length;A>_&&(A=_),_-=A,i.length-=A;do g[D++]=Q[B++];while(--A);i.length===0&&(i.mode=la);break;case 16205:if(_===0)break e;g[D++]=i.length,_--,i.mode=la;break;case ii:if(i.wrap){for(;b<32;){if(v===0)break e;v--,E|=d[m++]<<b,b+=8;}if(F-=_,a.total_out+=F,i.total+=F,4&i.wrap&&F&&(a.adler=i.check=i.flags?Ae(i.check,g,F,D-F):Ut(i.check,g,F,D-F)),F=_,4&i.wrap&&(i.flags?E:nu(E))!==i.check){a.msg="incorrect data check",i.mode=de;break}E=0,b=0;}i.mode=16207;case 16207:if(i.wrap&&i.flags){for(;b<32;){if(v===0)break e;v--,E+=d[m++]<<b,b+=8;}if(4&i.wrap&&E!==(4294967295&i.total)){a.msg="incorrect length check",i.mode=de;break}E=0,b=0;}i.mode=16208;case 16208:ie=Kp;break e;case de:ie=eu;break e;case 16210:return ru;default:return Ke}return a.next_out=D,a.avail_out=_,a.next_in=m,a.avail_in=v,i.hold=E,i.bits=b,(i.wsize||F!==a.avail_out&&i.mode<de&&(i.mode<ii||l!==$o))&&lu(a,a.output,a.next_out,F-a.avail_out),$-=a.avail_in,F-=a.avail_out,a.total_in+=$,a.total_out+=F,i.total+=F,4&i.wrap&&F&&(a.adler=i.check=i.flags?Ae(i.check,g,F,a.next_out-F):Ut(i.check,g,F,a.next_out-F)),a.data_type=i.bits+(i.last?64:0)+(i.mode===hr?128:0)+(i.mode===sa||i.mode===ai?256:0),($===0&&F===0||l===$o)&&ie===zr&&(ie=Jp),ie},inflateEnd:function(a){if(jr(a))return Ke;var l=a.state;return l.window&&(l.window=null),a.state=null,zr},inflateGetHeader:function(a,l){if(jr(a))return Ke;var i=a.state;return (2&i.wrap)==0?Ke:(i.head=l,l.done=false,zr)},inflateSetDictionary:function(a,l){var i,d=l.length;return jr(a)||(i=a.state).wrap!==0&&i.mode!==ua?Ke:i.mode===ua&&Ut(1,l,d,0)!==i.check?eu:lu(a,l,d,d)?(i.mode=16210,ru):(i.havedict=1,zr)},inflateInfo:"pako inflate (from Nodeca project)"},rh=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;},cu=Object.prototype.toString,th=X.Z_NO_FLUSH,nh=X.Z_FINISH,Wt=X.Z_OK,si=X.Z_STREAM_END,li=X.Z_NEED_DICT,ah=X.Z_STREAM_ERROR,fu=X.Z_DATA_ERROR,ih=X.Z_MEM_ERROR;function Kt(a){this.options=Yo({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 Qo,this.strm.avail_out=0;var i=dr.inflateInit2(this.strm,l.windowBits);if(i!==Wt)throw new Error(Lr[i]);if(this.header=new rh,dr.inflateGetHeader(this.strm,this.header),l.dictionary&&(typeof l.dictionary=="string"?l.dictionary=ri(l.dictionary):cu.call(l.dictionary)==="[object ArrayBuffer]"&&(l.dictionary=new Uint8Array(l.dictionary)),l.raw&&(i=dr.inflateSetDictionary(this.strm,l.dictionary))!==Wt))throw new Error(Lr[i])}function ci(a,l){var i=new Kt(l);if(i.push(a),i.err)throw i.msg||Lr[i.err];return i.result}Kt.prototype.push=function(a,l){var i,d,g,m=this.strm,D=this.options.chunkSize,v=this.options.dictionary;if(this.ended)return false;for(d=l===~~l?l:l===true?nh:th,cu.call(a)==="[object ArrayBuffer]"?m.input=new Uint8Array(a):m.input=a,m.next_in=0,m.avail_in=m.input.length;;){for(m.avail_out===0&&(m.output=new Uint8Array(D),m.next_out=0,m.avail_out=D),(i=dr.inflate(m,d))===li&&v&&((i=dr.inflateSetDictionary(m,v))===Wt?i=dr.inflate(m,d):i===fu&&(i=li));m.avail_in>0&&i===si&&m.state.wrap>0&&a[m.next_in]!==0;)dr.inflateReset(m),i=dr.inflate(m,d);switch(i){case ah:case fu:case li:case ih:return this.onEnd(i),this.ended=true,false}if(g=m.avail_out,m.next_out&&(m.avail_out===0||i===si))if(this.options.to==="string"){var _=kp(m.output,m.next_out),E=m.next_out-_,b=Rp(m.output,_);m.next_out=E,m.avail_out=D-E,E&&m.output.set(m.output.subarray(_,_+E),0),this.onData(b);}else this.onData(m.output.length===m.next_out?m.output:m.output.subarray(0,m.next_out));if(i!==Wt||g!==0){if(i===si)return i=dr.inflateEnd(this.strm),this.onEnd(i),this.ended=true,true;if(m.avail_in===0)break}}return true},Kt.prototype.onData=function(a){this.chunks.push(a);},Kt.prototype.onEnd=function(a){a===Wt&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Wo(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg;};var ca={Inflate:Kt,inflate:ci,inflateRaw:function(a,l){return (l=l||{}).raw=true,ci(a,l)},ungzip:ci},pu=ta.Deflate,hu=ta.deflate,du=ta.deflateRaw,gu=ta.gzip,mu=ca.Inflate,vu=ca.inflate,yu=ca.inflateRaw,Eu=ca.ungzip,bu=X,oh={Deflate:pu,deflate:hu,deflateRaw:du,gzip:gu,Inflate:mu,inflate:vu,inflateRaw:yu,ungzip:Eu,constants:bu};e.Deflate=pu,e.Inflate=mu,e.constants=bu,e.default=oh,e.deflate=hu,e.deflateRaw=du,e.gzip=gu,e.inflate=vu,e.inflateRaw=yu,e.ungzip=Eu,Object.defineProperty(e,"__esModule",{value:true});}));});var _u=chunkPCJ5ACUV_cjs.b(lt=>{var Tu=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",Cu=Au();lt.uncompressInputType=Tu?"uint8array":"array";lt.compressInputType=Tu?"uint8array":"array";lt.magic="\b\0";lt.compress=function(e,r){return Cu.deflateRaw(e,{level:r.level||-1})};lt.uncompress=function(e){return Cu.inflateRaw(e)};});var ga=chunkPCJ5ACUV_cjs.b(di=>{di.STORE={magic:"\0\0",compress:function(r){return r},uncompress:function(r){return r},compressInputType:null,uncompressInputType:null};di.DEFLATE=_u();});var ma=chunkPCJ5ACUV_cjs.b((Ub,gi)=>{gi.exports=function(e,r){return typeof e=="number"?Buffer.alloc(e):Buffer.from(e,r)};gi.exports.test=function(e){return Buffer.isBuffer(e)};});var He=chunkPCJ5ACUV_cjs.b(_e=>{function Ea(e){"@babel/helpers - typeof";return Ea=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ea(e)}var ya=Xr(),va=ga(),ct=ma();_e.string2binary=function(e){for(var r="",t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)&255);return r};_e.arrayBuffer2Blob=function(e,r){_e.checkSupport("blob"),r=r||"application/zip";try{return new Blob([e],{type:r})}catch{try{var t=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,n=new t;return n.append(e),n.getBlob(r)}catch{throw new Error("Bug : can't construct the Blob.")}}};function Qt(e){return e}function mi(e,r){for(var t=0;t<e.length;++t)r[t]=e.charCodeAt(t)&255;return r}function Jt(e){var r=65536,t=[],n=e.length,o=_e.getTypeOf(e),u=0,s=true;try{switch(o){case "uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case "nodebuffer":String.fromCharCode.apply(null,ct(0));break}}catch{s=false;}if(!s){for(var c="",f=0;f<e.length;f++)c+=String.fromCharCode(e[f]);return c}for(;u<n&&r>1;)try{o==="array"||o==="nodebuffer"?t.push(String.fromCharCode.apply(null,e.slice(u,Math.min(u+r,n)))):t.push(String.fromCharCode.apply(null,e.subarray(u,Math.min(u+r,n)))),u+=r;}catch{r=Math.floor(r/2);}return t.join("")}_e.applyFromCharCode=Jt;function ba(e,r){for(var t=0;t<e.length;t++)r[t]=e[t];return r}var Cr={};Cr.string={string:Qt,array:function(r){return mi(r,new Array(r.length))},arraybuffer:function(r){return Cr.string.uint8array(r).buffer},uint8array:function(r){return mi(r,new Uint8Array(r.length))},nodebuffer:function(r){return mi(r,ct(r.length))}};Cr.array={string:Jt,array:Qt,arraybuffer:function(r){return new Uint8Array(r).buffer},uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return ct(r)}};Cr.arraybuffer={string:function(r){return Jt(new Uint8Array(r))},array:function(r){return ba(new Uint8Array(r),new Array(r.byteLength))},arraybuffer:Qt,uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return ct(new Uint8Array(r))}};Cr.uint8array={string:Jt,array:function(r){return ba(r,new Array(r.length))},arraybuffer:function(r){return r.buffer},uint8array:Qt,nodebuffer:function(r){return ct(r)}};Cr.nodebuffer={string:Jt,array:function(r){return ba(r,new Array(r.length))},arraybuffer:function(r){return Cr.nodebuffer.uint8array(r).buffer},uint8array:function(r){return ba(r,new Uint8Array(r.length))},nodebuffer:Qt};_e.transformTo=function(e,r){if(r||(r=""),!e)return r;_e.checkSupport(e);var t=_e.getTypeOf(r),n=Cr[t][e](r);return n};_e.getTypeOf=function(e){if(e!=null){if(typeof e=="string")return "string";var r=Object.prototype.toString.call(e);if(r==="[object Array]")return "array";if(ya.nodebuffer&&ct.test(e))return "nodebuffer";if(ya.uint8array&&r==="[object Uint8Array]")return "uint8array";if(ya.arraybuffer&&r==="[object ArrayBuffer]")return "arraybuffer";if(r==="[object Promise]")throw new Error("Cannot read data from a promise, you probably are running new PizZip(data) with a promise");if(Ea(e)==="object"&&typeof e.file=="function")throw new Error("Cannot read data from a pizzip instance, you probably are running new PizZip(zip) with a zipinstance");if(r==="[object Date]")throw new Error("Cannot read data from a Date, you probably are running new PizZip(data) with a date");if(Ea(e)==="object"&&e.crc32==null)throw new Error("Unsupported data given to new PizZip(data) (object given)")}};_e.checkSupport=function(e){var r=ya[e.toLowerCase()];if(!r)throw new Error(e+" is not supported by this browser")};_e.MAX_VALUE_16BITS=65535;_e.MAX_VALUE_32BITS=-1;_e.pretty=function(e){var r="",t,n;for(n=0;n<(e||"").length;n++)t=e.charCodeAt(n),r+="\\x"+(t<16?"0":"")+t.toString(16).toUpperCase();return r};_e.findCompression=function(e){for(var r in va)if(va.hasOwnProperty(r)&&va[r].magic===e)return va[r];return null};_e.isRegExp=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"};_e.extend=function(){var e={},r,t;for(r=0;r<arguments.length;r++)for(t in arguments[r])arguments[r].hasOwnProperty(t)&&typeof e[t]>"u"&&(e[t]=arguments[r][t]);return e};});var Ou=chunkPCJ5ACUV_cjs.b((jb,Su)=>{var uh=He(),sh=[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];Su.exports=function(r,t){if(typeof r>"u"||!r.length)return 0;var n=uh.getTypeOf(r)!=="string";typeof t>"u"&&(t=0);var o=0,u=0,s=0;t^=-1;for(var c=0,f=r.length;c<f;c++)s=n?r[c]:r.charCodeAt(c),u=(t^s)&255,o=sh[u],t=t>>>8^o;return t^-1};});var vi=chunkPCJ5ACUV_cjs.b(Hr=>{Hr.LOCAL_FILE_HEADER="PK";Hr.CENTRAL_FILE_HEADER="PK";Hr.CENTRAL_DIRECTORY_END="PK";Hr.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07";Hr.ZIP64_CENTRAL_DIRECTORY_END="PK";Hr.DATA_DESCRIPTOR="PK\x07\b";});var yi=chunkPCJ5ACUV_cjs.b(Je=>{Je.base64=false;Je.binary=false;Je.dir=false;Je.createFolders=false;Je.date=null;Je.compression=null;Je.compressionOptions=null;Je.comment=null;Je.unixPermissions=null;Je.dosPermissions=null;});var Ei=chunkPCJ5ACUV_cjs.b((Hb,Iu)=>{function Nu(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null;}Nu.prototype={getContent:function(){return null},getCompressedContent:function(){return null}};Iu.exports=Nu;});var wi=chunkPCJ5ACUV_cjs.b(xi=>{var bi=He(),$t=Xr(),lh=ma(),en=new Array(256);for(gr=0;gr<256;gr++)en[gr]=gr>=252?6:gr>=248?5:gr>=240?4:gr>=224?3:gr>=192?2:1;var gr;en[254]=en[254]=1;function ch(e){var r,t,n,o,u,s=0,c=e.length;for(o=0;o<c;o++)t=e.charCodeAt(o),(t&64512)===55296&&o+1<c&&(n=e.charCodeAt(o+1),(n&64512)===56320&&(t=65536+(t-55296<<10)+(n-56320),o++)),s+=t<128?1:t<2048?2:t<65536?3:4;for($t.uint8array?r=new Uint8Array(s):r=new Array(s),u=0,o=0;u<s;o++)t=e.charCodeAt(o),(t&64512)===55296&&o+1<c&&(n=e.charCodeAt(o+1),(n&64512)===56320&&(t=65536+(t-55296<<10)+(n-56320),o++)),t<128?r[u++]=t:t<2048?(r[u++]=192|t>>>6,r[u++]=128|t&63):t<65536?(r[u++]=224|t>>>12,r[u++]=128|t>>>6&63,r[u++]=128|t&63):(r[u++]=240|t>>>18,r[u++]=128|t>>>12&63,r[u++]=128|t>>>6&63,r[u++]=128|t&63);return r}function fh(e,r){var t;for(r=r||e.length,r>e.length&&(r=e.length),t=r-1;t>=0&&(e[t]&192)===128;)t--;return t<0||t===0?r:t+en[e[t]]>r?t:r}function Bu(e){var r,t,n,o,u=e.length,s=new Array(u*2);for(t=0,r=0;r<u;){if(n=e[r++],n<128){s[t++]=n;continue}if(o=en[n],o>4){s[t++]=65533,r+=o-1;continue}for(n&=o===2?31:o===3?15:7;o>1&&r<u;)n=n<<6|e[r++]&63,o--;if(o>1){s[t++]=65533;continue}n<65536?s[t++]=n:(n-=65536,s[t++]=55296|n>>10&1023,s[t++]=56320|n&1023);}return s.length!==t&&(s.subarray?s=s.subarray(0,t):s.length=t),bi.applyFromCharCode(s)}xi.utf8encode=function(r){return $t.nodebuffer?lh(r,"utf-8"):ch(r)};xi.utf8decode=function(r){if($t.nodebuffer)return bi.transformTo("nodebuffer",r).toString("utf-8");r=bi.transformTo($t.uint8array?"uint8array":"array",r);for(var t=[],n=r.length,o=65536,u=0;u<n;){var s=fh(r,Math.min(u+o,n));$t.uint8array?t.push(Bu(r.subarray(u,s))):t.push(Bu(r.slice(u,s))),u=s;}return t.join("")};});var ku=chunkPCJ5ACUV_cjs.b((Gb,Ru)=>{var ph=He();function Pu(){this.data=[];}Pu.prototype={append:function(r){r=ph.transformTo("string",r),this.data.push(r);},finalize:function(){return this.data.join("")}};Ru.exports=Pu;});var Mu=chunkPCJ5ACUV_cjs.b((Yb,Lu)=>{var hh=He();function Fu(e){this.data=new Uint8Array(e),this.index=0;}Fu.prototype={append:function(r){r.length!==0&&(r=hh.transformTo("uint8array",r),this.data.set(r,this.index),this.index+=r.length);},finalize:function(){return this.data}};Lu.exports=Fu;});var Oi=chunkPCJ5ACUV_cjs.b((Wb,Zu)=>{function dh(e,r){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=gh(e))||r){t&&(e=t);var n=0,o=function(){};return {s:o,n:function(){return n>=e.length?{done:true}:{done:false,value:e[n++]}},e:function(p){throw p},f:o}}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 gh(e,r){if(e){if(typeof e=="string")return qu(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)?qu(e,r):void 0}}function qu(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 mh=Xr(),he=He(),_i=Ou(),Di=vi(),vh=yi(),zu=ha(),Ai=ga(),xa=Ei(),yh=ma(),ft=wi(),Eh=ku(),bh=Mu();function ju(e){if(e._data instanceof xa&&(e._data=e._data.getContent(),e.options.binary=true,e.options.base64=false,he.getTypeOf(e._data)==="uint8array")){var r=e._data;e._data=new Uint8Array(r.length),r.length!==0&&e._data.set(r,0);}return e._data}function Ti(e){var r=ju(e),t=he.getTypeOf(r);return t==="string"?!e.options.binary&&mh.nodebuffer?yh(r,"utf-8"):e.asBinary():r}var Ci={load:function(){throw new Error("Load method is not defined. Is the file pizzip-load.js included ?")},filter:function(r){var t=[],n,o,u,s;for(n in this.files)this.files.hasOwnProperty(n)&&(u=this.files[n],s=new Si(u.name,u._data,he.extend(u.options)),o=n.slice(this.root.length,n.length),n.slice(0,this.root.length)===this.root&&r(o,s)&&t.push(s));return t},file:function(r,t,n){if(arguments.length===1){if(he.isRegExp(r)){var o=r;return this.filter(function(u,s){return !s.dir&&o.test(u)})}return this.filter(function(u,s){return !s.dir&&u===r})[0]||null}return r=this.root+r,Vu.call(this,r,t,n),this},folder:function(r){if(!r)return this;if(he.isRegExp(r))return this.filter(function(u,s){return s.dir&&r.test(u)});var t=this.root+r,n=Hu.call(this,t),o=this.shallowClone();return o.root=n.name,o},remove:function(r){r=this.root+r;var t=this.files[r];if(t||(r.slice(-1)!=="/"&&(r+="/"),t=this.files[r]),t&&!t.dir)delete this.files[r];else for(var n=this.filter(function(u,s){return s.name.slice(0,r.length)===r}),o=0;o<n.length;o++)delete this.files[n[o].name];return this},generate:function(r){r=he.extend(r||{},{base64:true,compression:"STORE",compressionOptions:null,type:"base64",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:ft.utf8encode}),he.checkSupport(r.type),(r.platform==="darwin"||r.platform==="freebsd"||r.platform==="linux"||r.platform==="sunos")&&(r.platform="UNIX"),r.platform==="win32"&&(r.platform="DOS");var t=[],n=he.transformTo("string",r.encodeFileName(r.comment||this.comment||"")),o=0,u=0,s,c,f=[];r.fileOrder instanceof Array&&(f=r.fileOrder);for(var p in this.files)f.indexOf(p)===-1&&f.push(p);typeof r.fileOrder=="function"&&(f=r.fileOrder(this.files));var h=dh(f),y;try{for(h.s();!(y=h.n()).done;){var x=y.value;if(this.files.hasOwnProperty(x)){var w=this.files[x],T=w.options.compression||r.compression.toUpperCase(),C=Ai[T];if(!C)throw new Error(T+" is not a valid compression method !");var O=w.options.compressionOptions||r.compressionOptions||{},P=Dh.call(this,w,C,O),R=Ch.call(this,x,w,P,o,r.platform,r.encodeFileName);o+=R.fileRecord.length+P.compressedSize,u+=R.dirRecord.length,t.push(R);}}}catch(V){h.e(V);}finally{h.f();}var S="";S=Di.CENTRAL_DIRECTORY_END+"\0\0\0\0"+ve(t.length,2)+ve(t.length,2)+ve(u,4)+ve(o,4)+ve(n.length,2)+n;var k=r.type.toLowerCase();for(k==="uint8array"||k==="arraybuffer"||k==="blob"||k==="nodebuffer"?s=new bh(o+u+S.length):s=new Eh(o+u+S.length),c=0;c<t.length;c++)s.append(t[c].fileRecord),s.append(t[c].compressedObject.compressedContent);for(c=0;c<t.length;c++)s.append(t[c].dirRecord);s.append(S);var U=s.finalize();switch(r.type.toLowerCase()){case "uint8array":case "arraybuffer":case "nodebuffer":return he.transformTo(r.type.toLowerCase(),U);case "blob":return he.arrayBuffer2Blob(he.transformTo("arraybuffer",U),r.mimeType);case "base64":return r.base64?zu.encode(U):U;default:return U}},crc32:function(r,t){return _i(r,t)},utf8encode:function(r){return he.transformTo("string",ft.utf8encode(r))},utf8decode:function(r){return ft.utf8decode(r)}};function Uu(e){var r=ju(this);return r===null||typeof r>"u"?"":(this.options.base64&&(r=zu.decode(r)),e&&this.options.binary?r=Ci.utf8decode(r):r=he.transformTo("string",r),!e&&!this.options.binary&&(r=he.transformTo("string",Ci.utf8encode(r))),r)}function Si(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};}Si.prototype={asText:function(){return Uu.call(this,true)},asBinary:function(){return Uu.call(this,false)},asNodeBuffer:function(){var r=Ti(this);return he.transformTo("nodebuffer",r)},asUint8Array:function(){var r=Ti(this);return he.transformTo("uint8array",r)},asArrayBuffer:function(){return this.asUint8Array().buffer}};function ve(e,r){var t="",n;for(n=0;n<r;n++)t+=String.fromCharCode(e&255),e>>>=8;return t}function xh(e){return e=e||{},e.base64===true&&(e.binary===null||e.binary===void 0)&&(e.binary=true),e=he.extend(e,vh),e.date=e.date||new Date,e.compression!==null&&(e.compression=e.compression.toUpperCase()),e}function Vu(e,r,t){var n=he.getTypeOf(r),o;if(t=xh(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=Xu(e)),t.createFolders&&(o=wh(e))&&Hu.call(this,o,true),t.dir||r===null||typeof r>"u")t.base64=false,t.binary=false,r=null,n=null;else if(n==="string")t.binary&&!t.base64&&t.optimizedBinaryString!==true&&(r=he.string2binary(r));else {if(t.base64=false,t.binary=true,!n&&!(r instanceof xa))throw new Error("The data of '"+e+"' is in an unsupported format !");n==="arraybuffer"&&(r=he.transformTo("uint8array",r));}var u=new Si(e,r,t);return this.files[e]=u,u}function wh(e){e.slice(-1)==="/"&&(e=e.substring(0,e.length-1));var r=e.lastIndexOf("/");return r>0?e.substring(0,r):""}function Xu(e){return e.slice(-1)!=="/"&&(e+="/"),e}function Hu(e,r){return r=typeof r<"u"?r:false,e=Xu(e),this.files[e]||Vu.call(this,e,null,{dir:true,createFolders:r}),this.files[e]}function Dh(e,r,t){var n=new xa,o;return e._data instanceof xa?(n.uncompressedSize=e._data.uncompressedSize,n.crc32=e._data.crc32,n.uncompressedSize===0||e.dir?(r=Ai.STORE,n.compressedContent="",n.crc32=0):e._data.compressionMethod===r.magic?n.compressedContent=e._data.getCompressedContent():(o=e._data.getContent(),n.compressedContent=r.compress(he.transformTo(r.compressInputType,o),t))):(o=Ti(e),(!o||o.length===0||e.dir)&&(r=Ai.STORE,o=""),n.uncompressedSize=o.length,n.crc32=_i(o),n.compressedContent=r.compress(he.transformTo(r.compressInputType,o),t)),n.compressedSize=n.compressedContent.length,n.compressionMethod=r.magic,n}function Ah(e,r){var t=e;return e||(t=r?16893:33204),(t&65535)<<16}function Th(e){return (e||0)&63}function Ch(e,r,t,n,o,u){var s=u!==ft.utf8encode,c=he.transformTo("string",u(r.name)),f=he.transformTo("string",ft.utf8encode(r.name)),p=r.comment||"",h=he.transformTo("string",u(p)),y=he.transformTo("string",ft.utf8encode(p)),x=f.length!==r.name.length,w=y.length!==p.length,T=r.options,C,O,P="",R="",S="",k,U;r._initialMetadata.dir!==r.dir?k=r.dir:k=T.dir,r._initialMetadata.date!==r.date?U=r.date:U=T.date;var V=0,G=0;k&&(V|=16),o==="UNIX"?(G=798,V|=Ah(r.unixPermissions,k)):(G=20,V|=Th(r.dosPermissions)),C=U.getHours(),C<<=6,C|=U.getMinutes(),C<<=5,C|=U.getSeconds()/2,O=U.getFullYear()-1980,O<<=4,O|=U.getMonth()+1,O<<=5,O|=U.getDate(),x&&(R=ve(1,1)+ve(_i(c),4)+f,P+="up"+ve(R.length,2)+R),w&&(S=ve(1,1)+ve(this.crc32(h),4)+y,P+="uc"+ve(S.length,2)+S);var M="";M+=`
3
- \0`,M+=!s&&(x||w)?"\0\b":"\0\0",M+=t.compressionMethod,M+=ve(C,2),M+=ve(O,2),M+=ve(t.crc32,4),M+=ve(t.compressedSize,4),M+=ve(t.uncompressedSize,4),M+=ve(c.length,2),M+=ve(P.length,2);var te=Di.LOCAL_FILE_HEADER+M+c+P,ge=Di.CENTRAL_FILE_HEADER+ve(G,2)+M+ve(h.length,2)+"\0\0\0\0"+ve(V,4)+ve(n,4)+c+P+h;return {fileRecord:te,dirRecord:ge,compressedObject:t}}Zu.exports=Ci;});var Ni=chunkPCJ5ACUV_cjs.b((Kb,Yu)=>{var _h=He();function Gu(){this.data=null,this.length=0,this.index=0,this.zero=0;}Gu.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 _h.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)}};Yu.exports=Gu;});var Ii=chunkPCJ5ACUV_cjs.b((Qb,Wu)=>{var Sh=Ni(),Oh=He();function rn(e,r){this.data=e,r||(this.data=Oh.string2binary(this.data)),this.length=this.data.length,this.index=0,this.zero=0;}rn.prototype=new Sh;rn.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)};rn.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero};rn.prototype.readData=function(e){this.checkOffset(e);var r=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,r};Wu.exports=rn;});var Bi=chunkPCJ5ACUV_cjs.b((Jb,Ku)=>{var Nh=Ni();function tn(e){if(e){this.data=e,this.length=this.data.length,this.index=0,this.zero=0;for(var r=0;r<this.data.length;r++)e[r]&=e[r];}}tn.prototype=new Nh;tn.prototype.byteAt=function(e){return this.data[this.zero+e]};tn.prototype.lastIndexOfSignature=function(e){for(var r=e.charCodeAt(0),t=e.charCodeAt(1),n=e.charCodeAt(2),o=e.charCodeAt(3),u=this.length-4;u>=0;--u)if(this.data[u]===r&&this.data[u+1]===t&&this.data[u+2]===n&&this.data[u+3]===o)return u-this.zero;return -1};tn.prototype.readData=function(e){if(this.checkOffset(e),e===0)return [];var r=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,r};Ku.exports=tn;});var Ri=chunkPCJ5ACUV_cjs.b(($b,Qu)=>{var Ih=Bi();function Pi(e){e&&(this.data=e,this.length=this.data.length,this.index=0,this.zero=0);}Pi.prototype=new Ih;Pi.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};Qu.exports=Pi;});var $u=chunkPCJ5ACUV_cjs.b((e1,Ju)=>{var Bh=Ri();function ki(e){this.data=e,this.length=this.data.length,this.index=0,this.zero=0;}ki.prototype=new Bh;ki.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};Ju.exports=ki;});var ts=chunkPCJ5ACUV_cjs.b((r1,rs)=>{var Fi=Ii(),$e=He(),Ph=Ei(),Zr=Oi(),Rh=Xr(),kh=0,Fh=3;function es(e,r){this.options=e,this.loadOptions=r;}es.prototype={isEncrypted:function(){return (this.bitFlag&1)===1},useUTF8:function(){return (this.bitFlag&2048)===2048},prepareCompressedContent:function(r,t,n){return function(){var o=r.index;r.setIndex(t);var u=r.readData(n);return r.setIndex(o),u}},prepareContent:function(r,t,n,o,u){return function(){var s=$e.transformTo(o.uncompressInputType,this.getCompressedContent()),c=o.uncompress(s);if(c.length!==u)throw new Error("Bug : uncompressed data size mismatch");return c}},readLocalPart:function(r){r.skip(22),this.fileNameLength=r.readInt(2);var t=r.readInt(2);if(this.fileName=r.readData(this.fileNameLength),r.skip(t),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize == -1 || uncompressedSize == -1)");var n=$e.findCompression(this.compressionMethod);if(n===null)throw new Error("Corrupted zip : compression "+$e.pretty(this.compressionMethod)+" unknown (inner file : "+$e.transformTo("string",this.fileName)+")");if(this.decompressed=new Ph,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(r,r.index,this.compressedSize,n),this.decompressed.getContent=this.prepareContent(r,r.index,this.compressedSize,n,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=$e.transformTo("string",this.decompressed.getContent()),Zr.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===kh&&(this.dosPermissions=this.externalFileAttributes&63),r===Fh&&(this.unixPermissions=this.externalFileAttributes>>16&65535),!this.dir&&this.fileNameStr.slice(-1)==="/"&&(this.dir=true);},parseZIP64ExtraField:function(){if(this.extraFields[1]){var r=new Fi(this.extraFields[1].value);this.uncompressedSize===$e.MAX_VALUE_32BITS&&(this.uncompressedSize=r.readInt(8)),this.compressedSize===$e.MAX_VALUE_32BITS&&(this.compressedSize=r.readInt(8)),this.localHeaderOffset===$e.MAX_VALUE_32BITS&&(this.localHeaderOffset=r.readInt(8)),this.diskNumberStart===$e.MAX_VALUE_32BITS&&(this.diskNumberStart=r.readInt(4));}},readExtraFields:function(r){var t=r.index,n,o,u;for(this.extraFields=this.extraFields||{};r.index<t+this.extraFieldsLength;)n=r.readInt(2),o=r.readInt(2),u=r.readString(o),this.extraFields[n]={id:n,length:o,value:u};},handleUTF8:function(){var r=Rh.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=Zr.utf8decode(this.fileName),this.fileCommentStr=Zr.utf8decode(this.fileComment);else {var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else {var n=$e.transformTo(r,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n);}var o=this.findExtraFieldUnicodeComment();if(o!==null)this.fileCommentStr=o;else {var u=$e.transformTo(r,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(u);}}},findExtraFieldUnicodePath:function(){var r=this.extraFields[28789];if(r){var t=new Fi(r.value);return t.readInt(1)!==1||Zr.crc32(this.fileName)!==t.readInt(4)?null:Zr.utf8decode(t.readString(r.length-5))}return null},findExtraFieldUnicodeComment:function(){var r=this.extraFields[25461];if(r){var t=new Fi(r.value);return t.readInt(1)!==1||Zr.crc32(this.fileComment)!==t.readInt(4)?null:Zr.utf8decode(t.readString(r.length-5))}return null}};rs.exports=es;});var is=chunkPCJ5ACUV_cjs.b((t1,as)=>{var Lh=Ii(),Mh=$u(),qh=Ri(),Uh=Bi(),je=He(),er=vi(),zh=ts(),wa=Xr();function ns(e,r){this.files=[],this.loadOptions=r,e&&this.load(e);}ns.prototype={checkSignature:function(r){var t=this.reader.readString(4);if(t!==r)throw new Error("Corrupted zip or bug : unexpected signature ("+je.pretty(t)+", expected "+je.pretty(r)+")")},isSignature:function(r,t){var n=this.reader.index;this.reader.setIndex(r);var o=this.reader.readString(4),u=o===t;return this.reader.setIndex(n),u},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var r=this.reader.readData(this.zipCommentLength),t=wa.uint8array?"uint8array":"array",n=je.transformTo(t,r);this.zipComment=this.loadOptions.decodeFileName(n);},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var r=this.zip64EndOfCentralSize-44,t=0,n,o,u;t<r;)n=this.reader.readInt(2),o=this.reader.readInt(4),u=this.reader.readString(o),this.zip64ExtensibleData[n]={id:n,length:o,value:u};},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var r,t;for(r=0;r<this.files.length;r++)t=this.files[r],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(er.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes();},readCentralDir:function(){var r;for(this.reader.setIndex(this.centralDirOffset);this.reader.readString(4)===er.CENTRAL_FILE_HEADER;)r=new 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(er.CENTRAL_DIRECTORY_END);if(r<0){var t=!this.isSignature(0,er.LOCAL_FILE_HEADER);throw t?new Error("Can't find end of central directory : is this a zip file ?"):new Error("Corrupted zip : can't find end of central directory")}this.reader.setIndex(r);var n=r;if(this.checkSignature(er.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===je.MAX_VALUE_16BITS||this.diskWithCentralDirStart===je.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===je.MAX_VALUE_16BITS||this.centralDirRecords===je.MAX_VALUE_16BITS||this.centralDirSize===je.MAX_VALUE_32BITS||this.centralDirOffset===je.MAX_VALUE_32BITS){if(this.zip64=true,r=this.reader.lastIndexOfSignature(er.ZIP64_CENTRAL_DIRECTORY_LOCATOR),r<0)throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(r),this.checkSignature(er.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,er.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(er.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip : can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(er.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral();}var o=this.centralDirOffset+this.centralDirSize;this.zip64&&(o+=20,o+=12+this.zip64EndOfCentralSize);var u=n-o;if(u>0)this.isSignature(n,er.CENTRAL_FILE_HEADER)||(this.reader.zero=u);else if(u<0)throw new Error("Corrupted zip: missing "+Math.abs(u)+" bytes.")},prepareReader:function(r){var t=je.getTypeOf(r);if(je.checkSupport(t),t==="string"&&!wa.uint8array)this.reader=new Lh(r,this.loadOptions.optimizedBinaryString);else if(t==="nodebuffer")this.reader=new Mh(r);else if(wa.uint8array)this.reader=new qh(je.transformTo("uint8array",r));else if(wa.array)this.reader=new Uh(je.transformTo("array",r));else throw new Error("Unexpected error: unsupported type '"+t+"'")},load:function(r){this.prepareReader(r),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles();}};as.exports=ns;});var us=chunkPCJ5ACUV_cjs.b((n1,os)=>{var jh=ha(),Vh=wi(),Xh=He(),Hh=is();os.exports=function(e,r){var t,n;r=Xh.extend(r||{},{base64:false,checkCRC32:false,optimizedBinaryString:false,createFolders:false,decodeFileName:Vh.utf8decode}),r.base64&&(e=jh.decode(e));var o=new Hh(e,r),u=o.files;for(t=0;t<u.length;t++)n=u[t],this.file(n.fileNameStr,n.decompressed,{binary:true,optimizedBinaryString:true,date:n.date,dir:n.dir,comment:n.fileCommentStr.length?n.fileCommentStr:null,unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions,createFolders:r.createFolders});return o.zipComment.length&&(this.comment=o.zipComment),this};});var ss=chunkPCJ5ACUV_cjs.b(Fe=>{var ke=He();Fe.string2binary=function(e){return ke.string2binary(e)};Fe.string2Uint8Array=function(e){return ke.transformTo("uint8array",e)};Fe.uint8Array2String=function(e){return ke.transformTo("string",e)};Fe.string2Blob=function(e){var r=ke.transformTo("arraybuffer",e);return ke.arrayBuffer2Blob(r)};Fe.arrayBuffer2Blob=function(e){return ke.arrayBuffer2Blob(e)};Fe.transformTo=function(e,r){return ke.transformTo(e,r)};Fe.getTypeOf=function(e){return ke.getTypeOf(e)};Fe.checkSupport=function(e){return ke.checkSupport(e)};Fe.MAX_VALUE_16BITS=ke.MAX_VALUE_16BITS;Fe.MAX_VALUE_32BITS=ke.MAX_VALUE_32BITS;Fe.pretty=function(e){return ke.pretty(e)};Fe.findCompression=function(e){return ke.findCompression(e)};Fe.isRegExp=function(e){return ke.isRegExp(e)};});var cs=chunkPCJ5ACUV_cjs.b((i1,Li)=>{var ls=ha();function Ve(e,r){if(!(this instanceof Ve))return new Ve(e,r);this.files={},this.comment=null,this.root="",e&&this.load(e,r),this.clone=function(){var t=this,n=new Ve;return Object.keys(this.files).forEach(function(o){n.file(o,t.files[o].asUint8Array());}),n},this.shallowClone=function(){var t=new Ve;for(var n in this)typeof this[n]!="function"&&(t[n]=this[n]);return t};}Ve.prototype=Oi();Ve.prototype.load=us();Ve.support=Xr();Ve.defaults=yi();Ve.utils=ss();Ve.base64={encode:function(r){return ls.encode(r)},decode:function(r){return ls.decode(r)}};Ve.compressions=ga();Li.exports=Ve;Li.exports.default=Ve;});var Yr=chunkPCJ5ACUV_cjs.b(Se=>{function Zh(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(Gr(e,n)){var o=e[n];if(r.call(void 0,o,n,e))return o}}function pt(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 Gr(e,r){return Object.prototype.hasOwnProperty.call(e,r)}function Gh(e,r){if(e===null||typeof e!="object")throw new TypeError("target is not an object");for(var t in r)Gr(r,t)&&(e[t]=r[t]);return e}var fs=pt({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 Yh(e){return Gr(fs,e.toLowerCase())}var ps=pt({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 Wh(e){return Gr(ps,e.toLowerCase())}var nn=pt({script:false,style:false,textarea:true,title:true});function Kh(e){var r=e.toLowerCase();return Gr(nn,r)&&!nn[r]}function Qh(e){var r=e.toLowerCase();return Gr(nn,r)&&nn[r]}function hs(e){return e===an.HTML}function Jh(e){return hs(e)||e===an.XML_XHTML_APPLICATION}var an=pt({HTML:"text/html",XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),$h=Object.keys(an).map(function(e){return an[e]});function ed(e){return $h.indexOf(e)>-1}var rd=pt({HTML:"http://www.w3.org/1999/xhtml",SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});Se.assign=Gh;Se.find=Zh;Se.freeze=pt;Se.HTML_BOOLEAN_ATTRIBUTES=fs;Se.HTML_RAW_TEXT_ELEMENTS=nn;Se.HTML_VOID_ELEMENTS=ps;Se.hasDefaultHTMLNamespace=Jh;Se.hasOwn=Gr;Se.isHTMLBooleanAttribute=Yh;Se.isHTMLRawTextElement=Kh;Se.isHTMLEscapableRawTextElement=Qh;Se.isHTMLMimeType=hs;Se.isHTMLVoidElement=Wh;Se.isValidMimeType=ed;Se.MIME_TYPE=an;Se.NAMESPACE=rd;});var cn=chunkPCJ5ACUV_cjs.b(ln=>{var td=Yr();function gs(e,r){e.prototype=Object.create(Error.prototype,{constructor:{value:e},name:{value:e.name,enumerable:true,writable:r}});}var un=td.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"}),ms=Object.keys(un);function vs(e){return typeof e=="number"&&e>=1&&e<=25}function nd(e){return typeof e=="string"&&e.substring(e.length-un.Error.length)===un.Error}function sn(e,r){vs(e)?(this.name=ms[e],this.message=r||""):(this.message=e,this.name=nd(r)?r:un.Error),Error.captureStackTrace&&Error.captureStackTrace(this,sn);}gs(sn,true);Object.defineProperties(sn.prototype,{code:{enumerable:true,get:function(){var e=ms.indexOf(this.name);return vs(e)?e:0}}});var ys={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},Mi=Object.entries(ys);for(on=0;on<Mi.length;on++)ds=Mi[on][0],sn[ds]=Mi[on][1];var ds,on;function qi(e,r){this.message=e,this.locator=r,Error.captureStackTrace&&Error.captureStackTrace(this,qi);}gs(qi);ln.DOMException=sn;ln.DOMExceptionName=un;ln.ExceptionCode=ys;ln.ParseError=qi;});var Zi=chunkPCJ5ACUV_cjs.b(J=>{function Ts(e){try{typeof e!="function"&&(e=RegExp);var r=new e("\u{1D306}","u").exec("\u{1D306}");return !!r&&r[0].length===2}catch{}return false}var gn=Ts();function Wr(e){if(e.source[0]!=="[")throw new Error(e+" can not be used with chars");return e.source.slice(1,e.source.lastIndexOf("]"))}function ht(e,r){if(e.source[0]!=="[")throw new Error("/"+e.source+"/ can not be used with chars_without");if(!r||typeof r!="string")throw new Error(JSON.stringify(r)+" is not a valid search");if(e.source.indexOf(r)===-1)throw new Error('"'+r+'" is not is /'+e.source+"/");if(r==="-"&&e.source.indexOf(r)!==1)throw new Error('"'+r+'" is not at the first postion of /'+e.source+"/");return new RegExp(e.source.replace(r,""),gn?"u":"")}function re(e){var r=this;return new RegExp(Array.prototype.slice.call(arguments).map(function(t){var n=typeof t=="string";if(n&&r===void 0&&t==="|")throw new Error("use regg instead of reg to wrap expressions with `|`!");return n?t:t.source}).join(""),gn?"mu":"m")}function Z(e){if(arguments.length===0)throw new Error("no parameters provided");return re.apply(Z,["(?:"].concat(Array.prototype.slice.call(arguments),[")"]))}var ad="\uFFFD",Kr=/[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;gn&&(Kr=re("[",Wr(Kr),"\\u{10000}-\\u{10FFFF}","]"));var zi=/[\x20\x09\x0D\x0A]/,id=Wr(zi),le=re(zi,"+"),me=re(zi,"*"),fn=/[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;gn&&(fn=re("[",Wr(fn),"\\u{10000}-\\u{10FFFF}","]"));var od=Wr(fn),ji=re("[",od,Wr(/[-.0-9\xB7]/),Wr(/[\u0300-\u036F\u203F-\u2040]/),"]"),Ze=re(fn,ji,"*"),Es=re(ji,"+"),ud=re("&",Ze,";"),sd=Z(/&#[0-9]+;|&#x[0-9a-fA-F]+;/),pn=Z(ud,"|",sd),hn=re("%",Ze,";"),Vi=Z(re('"',Z(/[^%&"]/,"|",hn,"|",pn),"*",'"'),"|",re("'",Z(/[^%&']/,"|",hn,"|",pn),"*","'")),ld=Z('"',Z(/[^<&"]/,"|",pn),"*",'"',"|","'",Z(/[^<&']/,"|",pn),"*","'"),cd=ht(fn,":"),fd=ht(ji,":"),bs=re(cd,fd,"*"),mn=re(bs,Z(":",bs),"?"),pd=re("^",mn,"$"),hd=re("(",mn,")"),dn=Z(/"[^"]*"|'[^']*'/),dd=re(/^<\?/,"(",Ze,")",Z(le,"(",Kr,"*?)"),"?",/\?>/),xs=/[\x20\x0D\x0Aa-zA-Z0-9-'()+,./:=?;!*#@$_%]/,Da=Z('"',xs,'*"',"|","'",ht(xs,"'"),"*'"),Cs="<!--",_s="-->",gd=re(Cs,Z(ht(Kr,"-"),"|",re("-",ht(Kr,"-"))),"*",_s),ws="#PCDATA",md=Z(re(/\(/,me,ws,Z(me,/\|/,me,mn),"*",me,/\)\*/),"|",re(/\(/,me,ws,me,/\)/)),vd=/[?*+]?/,yd=re(/\([^>]+\)/,vd),Ed=Z("EMPTY","|","ANY","|",md,"|",yd),bd="<!ELEMENT",xd=re(bd,le,Z(mn,"|",hn),le,Z(Ed,"|",hn),me,">"),wd=re("NOTATION",le,/\(/,me,Ze,Z(me,/\|/,me,Ze),"*",me,/\)/),Dd=re(/\(/,me,Es,Z(me,/\|/,me,Es),"*",me,/\)/),Ad=Z(wd,"|",Dd),Td=Z(/CDATA|ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS/,"|",Ad),Cd=Z(/#REQUIRED|#IMPLIED/,"|",Z(Z("#FIXED",le),"?",ld)),_d=Z(le,Ze,le,Td,le,Cd),Sd="<!ATTLIST",Od=re(Sd,le,Ze,_d,"*",me,">"),Ui="about:legacy-compat",Nd=Z('"'+Ui+'"',"|","'"+Ui+"'"),Xi="SYSTEM",Aa="PUBLIC",Ta=Z(Z(Xi,le,dn),"|",Z(Aa,le,Da,le,dn)),Id=re("^",Z(Z(Xi,le,"(?<SystemLiteralOnly>",dn,")"),"|",Z(Aa,le,"(?<PubidLiteral>",Da,")",le,"(?<SystemLiteral>",dn,")"))),Bd=Z(le,"NDATA",le,Ze),Pd=Z(Vi,"|",Z(Ta,Bd,"?")),Ss="<!ENTITY",Rd=re(Ss,le,Ze,le,Pd,me,">"),kd=Z(Vi,"|",Ta),Fd=re(Ss,le,"%",le,Ze,le,kd,me,">"),Ld=Z(Rd,"|",Fd),Md=re(Aa,le,Da),qd=re("<!NOTATION",le,Ze,le,Z(Ta,"|",Md),me,">"),Hi=re(me,"=",me),Ds=/1[.]\d+/,Ud=re(le,"version",Hi,Z("'",Ds,"'","|",'"',Ds,'"')),As=/[A-Za-z][-A-Za-z0-9._]*/,zd=Z(le,"encoding",Hi,Z('"',As,'"',"|","'",As,"'")),jd=Z(le,"standalone",Hi,Z("'",Z("yes","|","no"),"'","|",'"',Z("yes","|","no"),'"')),Vd=re(/^<\?xml/,Ud,zd,"?",jd,"?",me,/\?>/),Xd="<!DOCTYPE",Hd="<![CDATA[",Zd="]]>",Gd=/<!\[CDATA\[/,Yd=/\]\]>/,Wd=re(Kr,"*?",Yd),Kd=re(Gd,Wd);J.chars=Wr;J.chars_without=ht;J.detectUnicodeSupport=Ts;J.reg=re;J.regg=Z;J.ABOUT_LEGACY_COMPAT=Ui;J.ABOUT_LEGACY_COMPAT_SystemLiteral=Nd;J.AttlistDecl=Od;J.CDATA_START=Hd;J.CDATA_END=Zd;J.CDSect=Kd;J.Char=Kr;J.Comment=gd;J.COMMENT_START=Cs;J.COMMENT_END=_s;J.DOCTYPE_DECL_START=Xd;J.elementdecl=xd;J.EntityDecl=Ld;J.EntityValue=Vi;J.ExternalID=Ta;J.ExternalID_match=Id;J.Name=Ze;J.NotationDecl=qd;J.Reference=pn;J.PEReference=hn;J.PI=dd;J.PUBLIC=Aa;J.PubidLiteral=Da;J.QName=mn;J.QName_exact=pd;J.QName_group=hd;J.S=le;J.SChar_s=id;J.S_OPT=me;J.SYSTEM=Xi;J.SystemLiteral=dn;J.UNICODE_REPLACEMENT_CHARACTER=ad;J.UNICODE_SUPPORT=gn;J.XMLDecl=Vd;});var Ji=chunkPCJ5ACUV_cjs.b(Ee=>{var Ge=Yr(),sr=Ge.find,Qd=Ge.hasDefaultHTMLNamespace,gt=Ge.hasOwn,Jd=Ge.isHTMLMimeType,$d=Ge.isHTMLRawTextElement,e0=Ge.isHTMLVoidElement,vn=Ge.MIME_TYPE,lr=Ge.NAMESPACE,Re=Symbol(),ks=cn(),z=ks.DOMException,r0=ks.DOMExceptionName,ur=Zi();function Le(e){if(e!==Re)throw new TypeError("Illegal constructor")}function t0(e){return e!==""}function n0(e){return e?e.split(/[\t\n\f\r ]+/).filter(t0):[]}function a0(e,r){return gt(e,r)||(e[r]=true),e}function Os(e){if(!e)return [];var r=n0(e);return Object.keys(r.reduce(a0,{}))}function i0(e){return function(r){return e&&e.indexOf(r)!==-1}}function Fs(e){if(!ur.QName_exact.test(e))throw new z(z.INVALID_CHARACTER_ERR,'invalid character in qualified name "'+e+'"')}function Yi(e,r){Fs(r),e=e||null;var t=null,n=r;if(r.indexOf(":")>=0){var o=r.split(":");t=o[0],n=o[1];}if(t!==null&&e===null)throw new z(z.NAMESPACE_ERR,"prefix is non-null and namespace is null");if(t==="xml"&&e!==Ge.NAMESPACE.XML)throw new z(z.NAMESPACE_ERR,'prefix is "xml" and namespace is not the XML namespace');if((t==="xmlns"||r==="xmlns")&&e!==Ge.NAMESPACE.XMLNS)throw new z(z.NAMESPACE_ERR,'either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace');if(e===Ge.NAMESPACE.XMLNS&&t!=="xmlns"&&r!=="xmlns")throw new z(z.NAMESPACE_ERR,'namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"');return [e,t,n]}function yt(e,r){for(var t in e)gt(e,t)&&(r[t]=e[t]);}function Me(e,r){var t=e.prototype;if(!(t instanceof r)){let n=function(){};n.prototype=r.prototype,n=new n,yt(t,n),e.prototype=t=n;}t.constructor!=e&&(typeof e!="function"&&console.error("unknown Class:"+e),t.constructor=e);}var qe={},rr=qe.ELEMENT_NODE=1,mt=qe.ATTRIBUTE_NODE=2,Ca=qe.TEXT_NODE=3,Ls=qe.CDATA_SECTION_NODE=4,Ms=qe.ENTITY_REFERENCE_NODE=5,o0=qe.ENTITY_NODE=6,qs=qe.PROCESSING_INSTRUCTION_NODE=7,Us=qe.COMMENT_NODE=8,En=qe.DOCUMENT_NODE=9,zs=qe.DOCUMENT_TYPE_NODE=10,_r=qe.DOCUMENT_FRAGMENT_NODE=11,u0=qe.NOTATION_NODE=12,ye=Ge.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32});function js(e,r){if(r.length<e.length)return js(r,e);var t=null;for(var n in e){if(e[n]!==r[n])return t;t=e[n];}return t}function Ns(e){return e.guid||(e.guid=Math.random()),e.guid}function xe(){}xe.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e){for(var r=[],t=0;t<this.length;t++)dt(this[t],r,e);return r.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}};xe.prototype[Symbol.iterator]=function(){var e=this,r=0;return {next:function(){return r<e.length?{value:e[r++],done:false}:{done:true}},return:function(){return {done:true}}}};function Qr(e,r){this._node=e,this._refresh=r,Sa(this);}function Sa(e){var r=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==r){var t=e._refresh(e._node);if(el(e,"length",t.length),!e.$$length||t.length<e.$$length)for(var n=t.length;n in e;n++)gt(e,n)&&delete e[n];yt(t,e),e._inc=r;}}Qr.prototype.item=function(e){return Sa(this),this[e]||null};Me(Qr,xe);function vt(){}function Vs(e,r){for(var t=0;t<e.length;){if(e[t]===r)return t;t++;}}function s0(e,r,t,n){if(n?r[Vs(r,n)]=t:(r[r.length]=t,r.length++),e){t.ownerElement=e;var o=e.ownerDocument;o&&(n&&Zs(o,e,n),l0(o,e,t));}}function Is(e,r,t){var n=Vs(r,t);if(n>=0){for(var o=r.length-1;n<=o;)r[n]=r[++n];if(r.length=o,e){var u=e.ownerDocument;u&&Zs(u,e,t),t.ownerElement=null;}}}vt.prototype={length:0,item:xe.prototype.item,getNamedItem:function(e){this._ownerElement&&this._ownerElement._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());for(var r=0;r<this.length;){var t=this[r];if(t.nodeName===e)return t;r++;}return null},setNamedItem:function(e){var r=e.ownerElement;if(r&&r!==this._ownerElement)throw new z(z.INUSE_ATTRIBUTE_ERR);var t=this.getNamedItemNS(e.namespaceURI,e.localName);return t===e?e:(s0(this._ownerElement,this,e,t),t)},setNamedItemNS:function(e){return this.setNamedItem(e)},removeNamedItem:function(e){var r=this.getNamedItem(e);if(!r)throw new z(z.NOT_FOUND_ERR,e);return Is(this._ownerElement,this,r),r},removeNamedItemNS:function(e,r){var t=this.getNamedItemNS(e,r);if(!t)throw new z(z.NOT_FOUND_ERR,e?e+" : "+r:r);return Is(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}};vt.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 Xs(){}Xs.prototype={hasFeature:function(e,r){return true},createDocument:function(e,r,t){var n=vn.XML_APPLICATION;e===lr.HTML?n=vn.XML_XHTML_APPLICATION:e===lr.SVG&&(n=vn.XML_SVG_IMAGE);var o=new Sr(Re,{contentType:n});if(o.implementation=this,o.childNodes=new xe,o.doctype=t||null,t&&o.appendChild(t),r){var u=o.createElementNS(e,r);o.appendChild(u);}return o},createDocumentType:function(e,r,t,n){Fs(e);var o=new Ia(Re);return o.name=e,o.nodeName=e,o.publicId=r||"",o.systemId=t||"",o.internalSubset=n||"",o.childNodes=new xe,o},createHTMLDocument:function(e){var r=new Sr(Re,{contentType:vn.HTML});if(r.implementation=this,r.childNodes=new xe,e!==false){r.doctype=this.createDocumentType("html"),r.doctype.ownerDocument=r,r.appendChild(r.doctype);var t=r.createElement("html");r.appendChild(t);var n=r.createElement("head");if(t.appendChild(n),typeof e=="string"){var o=r.createElement("title");o.appendChild(r.createTextNode(e)),n.appendChild(o);}t.appendChild(r.createElement("body"));}return r}};function oe(e){Le(e);}oe.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,parentNode:null,get parentElement(){return this.parentNode&&this.parentNode.nodeType===this.ELEMENT_NODE?this.parentNode:null},childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,baseURI:"about:blank",get isConnected(){var e=this.getRootNode();return e&&e.nodeType===e.DOCUMENT_NODE},contains:function(e){if(!e)return false;var r=e;do{if(this===r)return true;r=e.parentNode;}while(r);return false},getRootNode:function(e){var r=this;do{if(!r.parentNode)return r;r=r.parentNode;}while(r)},isEqualNode:function(e){if(!e||this.nodeType!==e.nodeType)return false;switch(this.nodeType){case this.DOCUMENT_TYPE_NODE:if(this.name!==e.name||this.publicId!==e.publicId||this.systemId!==e.systemId)return false;break;case this.ELEMENT_NODE:if(this.namespaceURI!==e.namespaceURI||this.prefix!==e.prefix||this.localName!==e.localName||this.attributes.length!==e.attributes.length)return false;for(var r=0;r<this.attributes.length;r++){var t=this.attributes.item(r);if(!t.isEqualNode(e.getAttributeNodeNS(t.namespaceURI,t.localName)))return false}break;case this.ATTRIBUTE_NODE:if(this.namespaceURI!==e.namespaceURI||this.localName!==e.localName||this.value!==e.value)return false;break;case this.PROCESSING_INSTRUCTION_NODE:if(this.target!==e.target||this.data!==e.data)return false;break;case this.TEXT_NODE:case this.COMMENT_NODE:if(this.data!==e.data)return false;break}if(this.childNodes.length!==e.childNodes.length)return false;for(var r=0;r<this.childNodes.length;r++)if(!this.childNodes[r].isEqualNode(e.childNodes[r]))return false;return true},isSameNode:function(e){return this===e},insertBefore:function(e,r){return _a(this,e,r)},replaceChild:function(e,r){_a(this,e,r,Ks),r&&this.removeChild(r);},removeChild:function(e){return Ys(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return Wi(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var r=e.nextSibling;r&&r.nodeType==Ca&&e.nodeType==Ca?(this.removeChild(r),e.appendData(r.data)):(e.normalize(),e=r);}},isSupported:function(e,r){return this.ownerDocument.implementation.hasFeature(e,r)},lookupPrefix:function(e){for(var r=this;r;){var t=r._nsMap;if(t){for(var n in t)if(gt(t,n)&&t[n]===e)return n}r=r.nodeType==mt?r.ownerDocument:r.parentNode;}return null},lookupNamespaceURI:function(e){for(var r=this;r;){var t=r._nsMap;if(t&&gt(t,e))return t[e];r=r.nodeType==mt?r.ownerDocument:r.parentNode;}return null},isDefaultNamespace:function(e){var r=this.lookupPrefix(e);return r==null},compareDocumentPosition:function(e){if(this===e)return 0;var r=e,t=this,n=null,o=null;if(r instanceof Jr&&(n=r,r=n.ownerElement),t instanceof Jr&&(o=t,t=o.ownerElement,n&&r&&t===r))for(var u=0,s;s=t.attributes[u];u++){if(s===n)return ye.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+ye.DOCUMENT_POSITION_PRECEDING;if(s===o)return ye.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+ye.DOCUMENT_POSITION_FOLLOWING}if(!r||!t||t.ownerDocument!==r.ownerDocument)return ye.DOCUMENT_POSITION_DISCONNECTED+ye.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+(Ns(t.ownerDocument)>Ns(r.ownerDocument)?ye.DOCUMENT_POSITION_FOLLOWING:ye.DOCUMENT_POSITION_PRECEDING);if(o&&r===t)return ye.DOCUMENT_POSITION_CONTAINS+ye.DOCUMENT_POSITION_PRECEDING;if(n&&r===t)return ye.DOCUMENT_POSITION_CONTAINED_BY+ye.DOCUMENT_POSITION_FOLLOWING;for(var c=[],f=r.parentNode;f;){if(!o&&f===t)return ye.DOCUMENT_POSITION_CONTAINED_BY+ye.DOCUMENT_POSITION_FOLLOWING;c.push(f),f=f.parentNode;}c.reverse();for(var p=[],h=t.parentNode;h;){if(!n&&h===r)return ye.DOCUMENT_POSITION_CONTAINS+ye.DOCUMENT_POSITION_PRECEDING;p.push(h),h=h.parentNode;}p.reverse();var y=js(c,p);for(var x in y.childNodes){var w=y.childNodes[x];if(w===t)return ye.DOCUMENT_POSITION_FOLLOWING;if(w===r)return ye.DOCUMENT_POSITION_PRECEDING;if(p.indexOf(w)>=0)return ye.DOCUMENT_POSITION_FOLLOWING;if(c.indexOf(w)>=0)return ye.DOCUMENT_POSITION_PRECEDING}return 0}};function Hs(e){return e=="<"&&"&lt;"||e==">"&&"&gt;"||e=="&"&&"&amp;"||e=='"'&&"&quot;"||"&#"+e.charCodeAt()+";"}yt(qe,oe);yt(qe,oe.prototype);yt(ye,oe);yt(ye,oe.prototype);function yn(e,r){if(r(e))return true;if(e=e.firstChild)do if(yn(e,r))return true;while(e=e.nextSibling)}function Sr(e,r){Le(e);var t=r||{};this.ownerDocument=this,this.contentType=t.contentType||vn.XML_APPLICATION,this.type=Jd(this.contentType)?"html":"xml";}function l0(e,r,t){e&&e._inc++;var n=t.namespaceURI;n===lr.XMLNS&&(r._nsMap[t.prefix?t.localName:""]=t.value);}function Zs(e,r,t,n){e&&e._inc++;var o=t.namespaceURI;o===lr.XMLNS&&delete r._nsMap[t.prefix?t.localName:""];}function Gs(e,r,t){if(e&&e._inc){e._inc++;var n=r.childNodes;if(t&&!t.nextSibling)n[n.length++]=t;else {for(var o=r.firstChild,u=0;o;)n[u++]=o,o=o.nextSibling;n.length=u,delete n[n.length];}}}function Ys(e,r){if(e!==r.parentNode)throw new z(z.NOT_FOUND_ERR,"child's parent is not parent");var t=r.previousSibling,n=r.nextSibling;return t?t.nextSibling=n:e.firstChild=n,n?n.previousSibling=t:e.lastChild=t,Gs(e.ownerDocument,e),r.parentNode=null,r.previousSibling=null,r.nextSibling=null,r}function c0(e){return e&&(e.nodeType===oe.DOCUMENT_NODE||e.nodeType===oe.DOCUMENT_FRAGMENT_NODE||e.nodeType===oe.ELEMENT_NODE)}function f0(e){return e&&(e.nodeType===oe.CDATA_SECTION_NODE||e.nodeType===oe.COMMENT_NODE||e.nodeType===oe.DOCUMENT_FRAGMENT_NODE||e.nodeType===oe.DOCUMENT_TYPE_NODE||e.nodeType===oe.ELEMENT_NODE||e.nodeType===oe.PROCESSING_INSTRUCTION_NODE||e.nodeType===oe.TEXT_NODE)}function Or(e){return e&&e.nodeType===oe.DOCUMENT_TYPE_NODE}function mr(e){return e&&e.nodeType===oe.ELEMENT_NODE}function Ws(e){return e&&e.nodeType===oe.TEXT_NODE}function Bs(e,r){var t=e.childNodes||[];if(sr(t,mr)||Or(r))return false;var n=sr(t,Or);return !(r&&n&&t.indexOf(n)>t.indexOf(r))}function Ps(e,r){var t=e.childNodes||[];function n(u){return mr(u)&&u!==r}if(sr(t,n))return false;var o=sr(t,Or);return !(r&&o&&t.indexOf(o)>t.indexOf(r))}function p0(e,r,t){if(!c0(e))throw new z(z.HIERARCHY_REQUEST_ERR,"Unexpected parent node type "+e.nodeType);if(t&&t.parentNode!==e)throw new z(z.NOT_FOUND_ERR,"child not in parent");if(!f0(r)||Or(r)&&e.nodeType!==oe.DOCUMENT_NODE)throw new z(z.HIERARCHY_REQUEST_ERR,"Unexpected node type "+r.nodeType+" for parent node type "+e.nodeType)}function h0(e,r,t){var n=e.childNodes||[],o=r.childNodes||[];if(r.nodeType===oe.DOCUMENT_FRAGMENT_NODE){var u=o.filter(mr);if(u.length>1||sr(o,Ws))throw new z(z.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(u.length===1&&!Bs(e,t))throw new z(z.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(mr(r)&&!Bs(e,t))throw new z(z.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(Or(r)){if(sr(n,Or))throw new z(z.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var s=sr(n,mr);if(t&&n.indexOf(s)<n.indexOf(t))throw new z(z.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element");if(!t&&s)throw new z(z.HIERARCHY_REQUEST_ERR,"Doctype can not be appended since element is present")}}function Ks(e,r,t){var n=e.childNodes||[],o=r.childNodes||[];if(r.nodeType===oe.DOCUMENT_FRAGMENT_NODE){var u=o.filter(mr);if(u.length>1||sr(o,Ws))throw new z(z.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(u.length===1&&!Ps(e,t))throw new z(z.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(mr(r)&&!Ps(e,t))throw new z(z.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(Or(r)){if(sr(n,function(f){return Or(f)&&f!==t}))throw new z(z.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var s=sr(n,mr);if(t&&n.indexOf(s)<n.indexOf(t))throw new z(z.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element")}}function _a(e,r,t,n){p0(e,r,t),e.nodeType===oe.DOCUMENT_NODE&&(n||h0)(e,r,t);var o=r.parentNode;if(o&&o.removeChild(r),r.nodeType===_r){var u=r.firstChild;if(u==null)return r;var s=r.lastChild;}else u=s=r;var c=t?t.previousSibling:e.lastChild;u.previousSibling=c,s.nextSibling=t,c?c.nextSibling=u:e.firstChild=u,t==null?e.lastChild=s:t.previousSibling=s;do u.parentNode=e;while(u!==s&&(u=u.nextSibling));return Gs(e.ownerDocument||e,e,r),r.nodeType==_r&&(r.firstChild=r.lastChild=null),r}Sr.prototype={implementation:null,nodeName:"#document",nodeType:En,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,r){if(e.nodeType===_r){for(var t=e.firstChild;t;){var n=t.nextSibling;this.insertBefore(t,r),t=n;}return e}return _a(this,e,r),e.ownerDocument=this,this.documentElement===null&&e.nodeType===rr&&(this.documentElement=e),e},removeChild:function(e){var r=Ys(this,e);return r===this.documentElement&&(this.documentElement=null),r},replaceChild:function(e,r){_a(this,e,r,Ks),e.ownerDocument=this,r&&this.removeChild(r),mr(e)&&(this.documentElement=e);},importNode:function(e,r){return $s(this,e,r)},getElementById:function(e){var r=null;return yn(this.documentElement,function(t){if(t.nodeType==rr&&t.getAttribute("id")==e)return r=t,true}),r},createElement:function(e){var r=new Nr(Re);r.ownerDocument=this,this.type==="html"&&(e=e.toLowerCase()),Qd(this.contentType)&&(r.namespaceURI=lr.HTML),r.nodeName=e,r.tagName=e,r.localName=e,r.childNodes=new xe;var t=r.attributes=new vt;return t._ownerElement=r,r},createDocumentFragment:function(){var e=new xn(Re);return e.ownerDocument=this,e.childNodes=new xe,e},createTextNode:function(e){var r=new bn(Re);return r.ownerDocument=this,r.childNodes=new xe,r.appendData(e),r},createComment:function(e){var r=new Oa(Re);return r.ownerDocument=this,r.childNodes=new xe,r.appendData(e),r},createCDATASection:function(e){var r=new Na(Re);return r.ownerDocument=this,r.childNodes=new xe,r.appendData(e),r},createProcessingInstruction:function(e,r){var t=new Pa(Re);return t.ownerDocument=this,t.childNodes=new xe,t.nodeName=t.target=e,t.nodeValue=t.data=r,t},createAttribute:function(e){if(!ur.QName_exact.test(e))throw new z(z.INVALID_CHARACTER_ERR,'invalid character in name "'+e+'"');return this.type==="html"&&(e=e.toLowerCase()),this._createAttribute(e)},_createAttribute:function(e){var r=new Jr(Re);return r.ownerDocument=this,r.childNodes=new xe,r.name=e,r.nodeName=e,r.localName=e,r.specified=true,r},createEntityReference:function(e){if(!ur.Name.test(e))throw new z(z.INVALID_CHARACTER_ERR,'not a valid xml name "'+e+'"');if(this.type==="html")throw new z("document is an html document",r0.NotSupportedError);var r=new Ba(Re);return r.ownerDocument=this,r.childNodes=new xe,r.nodeName=e,r},createElementNS:function(e,r){var t=Yi(e,r),n=new Nr(Re),o=n.attributes=new vt;return n.childNodes=new xe,n.ownerDocument=this,n.nodeName=r,n.tagName=r,n.namespaceURI=t[0],n.prefix=t[1],n.localName=t[2],o._ownerElement=n,n},createAttributeNS:function(e,r){var t=Yi(e,r),n=new Jr(Re);return n.ownerDocument=this,n.childNodes=new xe,n.nodeName=r,n.name=r,n.specified=true,n.namespaceURI=t[0],n.prefix=t[1],n.localName=t[2],n}};Me(Sr,oe);function Nr(e){Le(e),this._nsMap=Object.create(null);}Nr.prototype={nodeType:rr,attributes:null,getQualifiedName:function(){return this.prefix?this.prefix+":"+this.localName:this.localName},_isInHTMLDocumentAndNamespace:function(){return this.ownerDocument.type==="html"&&this.namespaceURI===lr.HTML},hasAttributes:function(){return !!(this.attributes&&this.attributes.length)},hasAttribute:function(e){return !!this.getAttributeNode(e)},getAttribute:function(e){var r=this.getAttributeNode(e);return r?r.value:null},getAttributeNode:function(e){return this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase()),this.attributes.getNamedItem(e)},setAttribute:function(e,r){this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());var t=this.getAttributeNode(e);t?t.value=t.nodeValue=""+r:(t=this.ownerDocument._createAttribute(e),t.value=t.nodeValue=""+r,this.setAttributeNode(t));},removeAttribute:function(e){var r=this.getAttributeNode(e);r&&this.removeAttributeNode(r);},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,r){var t=this.getAttributeNodeNS(e,r);t&&this.removeAttributeNode(t);},hasAttributeNS:function(e,r){return this.getAttributeNodeNS(e,r)!=null},getAttributeNS:function(e,r){var t=this.getAttributeNodeNS(e,r);return t?t.value:null},setAttributeNS:function(e,r,t){var n=Yi(e,r),o=n[2],u=this.getAttributeNodeNS(e,o);u?u.value=u.nodeValue=""+t:(u=this.ownerDocument.createAttributeNS(e,r),u.value=u.nodeValue=""+t,this.setAttributeNode(u));},getAttributeNodeNS:function(e,r){return this.attributes.getNamedItemNS(e,r)},getElementsByClassName:function(e){var r=Os(e);return new Qr(this,function(t){var n=[];return r.length>0&&yn(t,function(o){if(o!==t&&o.nodeType===rr){var u=o.getAttribute("class");if(u){var s=e===u;if(!s){var c=Os(u);s=r.every(i0(c));}s&&n.push(o);}}}),n})},getElementsByTagName:function(e){var r=(this.nodeType===En?this:this.ownerDocument).type==="html",t=e.toLowerCase();return new Qr(this,function(n){var o=[];return yn(n,function(u){if(!(u===n||u.nodeType!==rr))if(e==="*")o.push(u);else {var s=u.getQualifiedName(),c=r&&u.namespaceURI===lr.HTML?t:e;s===c&&o.push(u);}}),o})},getElementsByTagNameNS:function(e,r){return new Qr(this,function(t){var n=[];return yn(t,function(o){o!==t&&o.nodeType===rr&&(e==="*"||o.namespaceURI===e)&&(r==="*"||o.localName==r)&&n.push(o);}),n})}};Sr.prototype.getElementsByClassName=Nr.prototype.getElementsByClassName;Sr.prototype.getElementsByTagName=Nr.prototype.getElementsByTagName;Sr.prototype.getElementsByTagNameNS=Nr.prototype.getElementsByTagNameNS;Me(Nr,oe);function Jr(e){Le(e),this.namespaceURI=null,this.prefix=null,this.ownerElement=null;}Jr.prototype.nodeType=mt;Me(Jr,oe);function Et(e){Le(e);}Et.prototype={data:"",substringData:function(e,r){return this.data.substring(e,e+r)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length;},insertData:function(e,r){this.replaceData(e,0,r);},deleteData:function(e,r){this.replaceData(e,r,"");},replaceData:function(e,r,t){var n=this.data.substring(0,e),o=this.data.substring(e+r);t=n+t+o,this.nodeValue=this.data=t,this.length=t.length;}};Me(Et,oe);function bn(e){Le(e);}bn.prototype={nodeName:"#text",nodeType:Ca,splitText:function(e){var r=this.data,t=r.substring(e);r=r.substring(0,e),this.data=this.nodeValue=r,this.length=r.length;var n=this.ownerDocument.createTextNode(t);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}};Me(bn,Et);function Oa(e){Le(e);}Oa.prototype={nodeName:"#comment",nodeType:Us};Me(Oa,Et);function Na(e){Le(e);}Na.prototype={nodeName:"#cdata-section",nodeType:Ls};Me(Na,bn);function Ia(e){Le(e);}Ia.prototype.nodeType=zs;Me(Ia,oe);function Ki(e){Le(e);}Ki.prototype.nodeType=u0;Me(Ki,oe);function Qi(e){Le(e);}Qi.prototype.nodeType=o0;Me(Qi,oe);function Ba(e){Le(e);}Ba.prototype.nodeType=Ms;Me(Ba,oe);function xn(e){Le(e);}xn.prototype.nodeName="#document-fragment";xn.prototype.nodeType=_r;Me(xn,oe);function Pa(e){Le(e);}Pa.prototype.nodeType=qs;Me(Pa,Et);function Qs(){}Qs.prototype.serializeToString=function(e,r){return Js.call(e,r)};oe.prototype.toString=Js;function Js(e){var r=[],t=this.nodeType===En&&this.documentElement||this,n=t.prefix,o=t.namespaceURI;if(o&&n==null){var n=t.lookupPrefix(o);if(n==null)var u=[{namespace:o,prefix:null}];}return dt(this,r,e,u),r.join("")}function Rs(e,r,t){var n=e.prefix||"",o=e.namespaceURI;if(!o||n==="xml"&&o===lr.XML||o===lr.XMLNS)return false;for(var u=t.length;u--;){var s=t[u];if(s.prefix===n)return s.namespace!==o}return true}function Gi(e,r,t){e.push(" ",r,'="',t.replace(/[<>&"\t\n\r]/g,Hs),'"');}function dt(e,r,t,n){n||(n=[]);var o=e.nodeType===En?e:e.ownerDocument,u=o.type==="html";if(t)if(e=t(e),e){if(typeof e=="string"){r.push(e);return}}else return;switch(e.nodeType){case rr:var s=e.attributes,c=s.length,S=e.firstChild,f=e.tagName,p=f;if(!u&&!e.prefix&&e.namespaceURI){for(var h,y=0;y<s.length;y++)if(s.item(y).name==="xmlns"){h=s.item(y).value;break}if(!h)for(var x=n.length-1;x>=0;x--){var w=n[x];if(w.prefix===""&&w.namespace===e.namespaceURI){h=w.namespace;break}}if(h!==e.namespaceURI)for(var x=n.length-1;x>=0;x--){var w=n[x];if(w.namespace===e.namespaceURI){w.prefix&&(p=w.prefix+":"+f);break}}}r.push("<",p);for(var T=0;T<c;T++){var C=s.item(T);C.prefix=="xmlns"?n.push({prefix:C.localName,namespace:C.value}):C.nodeName=="xmlns"&&n.push({prefix:"",namespace:C.value});}for(var T=0;T<c;T++){var C=s.item(T);if(Rs(C,u,n)){var O=C.prefix||"",P=C.namespaceURI;Gi(r,O?"xmlns:"+O:"xmlns",P),n.push({prefix:O,namespace:P});}dt(C,r,t,n);}if(f===p&&Rs(e,u,n)){var O=e.prefix||"",P=e.namespaceURI;Gi(r,O?"xmlns:"+O:"xmlns",P),n.push({prefix:O,namespace:P});}var R=!S;if(R&&(u||e.namespaceURI===lr.HTML)&&(R=e0(f)),R)r.push("/>");else {if(r.push(">"),u&&$d(f))for(;S;)S.data?r.push(S.data):dt(S,r,t,n.slice()),S=S.nextSibling;else for(;S;)dt(S,r,t,n.slice()),S=S.nextSibling;r.push("</",p,">");}return;case En:case _r:for(var S=e.firstChild;S;)dt(S,r,t,n.slice()),S=S.nextSibling;return;case mt:return Gi(r,e.name,e.value);case Ca:return r.push(e.data.replace(/[<&>]/g,Hs));case Ls:return r.push(ur.CDATA_START,e.data,ur.CDATA_END);case Us:return r.push(ur.COMMENT_START,e.data,ur.COMMENT_END);case zs:var k=e.publicId,U=e.systemId;r.push(ur.DOCTYPE_DECL_START," ",e.name),k?(r.push(" ",ur.PUBLIC," ",k),U&&U!=="."&&r.push(" ",U)):U&&U!=="."&&r.push(" ",ur.SYSTEM," ",U),e.internalSubset&&r.push(" [",e.internalSubset,"]"),r.push(">");return;case qs:return r.push("<?",e.target," ",e.data,"?>");case Ms:return r.push("&",e.nodeName,";");default:r.push("??",e.nodeName);}}function $s(e,r,t){var n;switch(r.nodeType){case rr:n=r.cloneNode(false),n.ownerDocument=e;case _r:break;case mt:t=true;break}if(n||(n=r.cloneNode(false)),n.ownerDocument=e,n.parentNode=null,t)for(var o=r.firstChild;o;)n.appendChild($s(e,o,t)),o=o.nextSibling;return n}function Wi(e,r,t){var n=new r.constructor(Re);for(var o in r)if(gt(r,o)){var u=r[o];typeof u!="object"&&u!=n[o]&&(n[o]=u);}switch(r.childNodes&&(n.childNodes=new xe),n.ownerDocument=e,n.nodeType){case rr:var s=r.attributes,c=n.attributes=new vt,f=s.length;c._ownerElement=n;for(var p=0;p<f;p++)n.setAttributeNode(Wi(e,s.item(p),true));break;case mt:t=true;}if(t)for(var h=r.firstChild;h;)n.appendChild(Wi(e,h,t)),h=h.nextSibling;return n}function el(e,r,t){e[r]=t;}try{if(Object.defineProperty){let e=function(r){switch(r.nodeType){case rr:case _r:var t=[];for(r=r.firstChild;r;)r.nodeType!==7&&r.nodeType!==8&&t.push(e(r)),r=r.nextSibling;return t.join("");default:return r.nodeValue}};Object.defineProperty(Qr.prototype,"length",{get:function(){return Sa(this),this.$$length}}),Object.defineProperty(oe.prototype,"textContent",{get:function(){return e(this)},set:function(r){switch(this.nodeType){case rr:case _r:for(;this.firstChild;)this.removeChild(this.firstChild);(r||String(r))&&this.appendChild(this.ownerDocument.createTextNode(r));break;default:this.data=r,this.value=r,this.nodeValue=r;}}}),el=function(r,t,n){r["$$"+t]=n;};}}catch{}Ee._updateLiveList=Sa;Ee.Attr=Jr;Ee.CDATASection=Na;Ee.CharacterData=Et;Ee.Comment=Oa;Ee.Document=Sr;Ee.DocumentFragment=xn;Ee.DocumentType=Ia;Ee.DOMImplementation=Xs;Ee.Element=Nr;Ee.Entity=Qi;Ee.EntityReference=Ba;Ee.LiveNodeList=Qr;Ee.NamedNodeMap=vt;Ee.Node=oe;Ee.NodeList=xe;Ee.Notation=Ki;Ee.Text=bn;Ee.ProcessingInstruction=Pa;Ee.XMLSerializer=Qs;});var tl=chunkPCJ5ACUV_cjs.b(wn=>{var rl=Yr().freeze;wn.XML_ENTITIES=rl({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'});wn.HTML_ENTITIES=rl({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"});wn.entityMap=wn.HTML_ENTITIES;});var hl=chunkPCJ5ACUV_cjs.b(ka=>{var Dt=Yr(),K=Zi(),ul=cn(),d0=Dt.isHTMLEscapableRawTextElement,g0=Dt.isHTMLMimeType,m0=Dt.isHTMLRawTextElement,Cn=Dt.hasOwn,nl=Dt.NAMESPACE,al=ul.ParseError,v0=ul.DOMException,Dn=0,Ir=1,bt=2,An=3,xt=4,wt=5,Tn=6,Ra=7;function sl(){}sl.prototype={parse:function(e,r,t){var n=this.domBuilder;n.startDocument(),ll(r,r=Object.create(null)),y0(e,r,t,n,this.errorHandler),n.endDocument();}};var $i=/&#?\w+;?/g;function y0(e,r,t,n,o){var u=g0(n.mimeType);e.indexOf(K.UNICODE_REPLACEMENT_CHARACTER)>=0&&o.warning("Unicode replacement character detected, source encoding issues?");function s(ne){if(ne>65535){ne-=65536;var Pe=55296+(ne>>10),it=56320+(ne&1023);return String.fromCharCode(Pe,it)}else return String.fromCharCode(ne)}function c(ne){var Pe=ne[ne.length-1]===";"?ne:ne+";";if(!u&&Pe!==ne)return o.error("EntityRef: expecting ;"),ne;var it=K.Reference.exec(Pe);if(!it||it[0].length!==Pe.length)return o.error("entity not matching Reference production: "+ne),ne;var nr=Pe.slice(1,-1);return Cn(t,nr)?t[nr]:nr.charAt(0)==="#"?s(parseInt(nr.substring(1).replace("x","0x"))):(o.error("entity not found:"+ne),ne)}function f(ne){if(ne>O){var Pe=e.substring(O,ne).replace($i,c);x&&w(O),n.characters(Pe,0,ne-O),O=ne;}}var p=0,h=0,y=/\r\n?|\n|$/g,x=n.locator;function w(ne,Pe){for(;ne>=h&&(Pe=y.exec(e));)p=h,h=Pe.index+Pe[0].length,x.lineNumber++;x.columnNumber=ne-p+1;}for(var T=[{currentNSMap:r}],C=[],O=0;;){try{var P=e.indexOf("<",O);if(P<0){if(!u&&C.length>0)return o.fatalError("unclosed xml tag(s): "+C.join(", "));if(!e.substring(O).match(/^\s*$/)){var R=n.doc,S=R.createTextNode(e.substring(O));if(R.documentElement)return o.error("Extra content at the end of the document");R.appendChild(S),n.currentElement=S;}return}if(P>O){var k=e.substring(O,P);!u&&C.length===0&&(k=k.replace(new RegExp(K.S_OPT.source,"g"),""),k&&o.error("Unexpected content outside root element: '"+k+"'")),f(P);}switch(e.charAt(P+1)){case "/":var Te=e.indexOf(">",P+2),U=e.substring(P+2,Te>0?Te:void 0);if(!U)return o.fatalError("end tag name missing");var V=Te>0&&K.reg("^",K.QName_group,K.S_OPT,"$").exec(U);if(!V)return o.fatalError('end tag name contains invalid characters: "'+U+'"');if(!n.currentElement&&!n.doc.documentElement)return;var G=C[C.length-1]||n.currentElement.tagName||n.doc.documentElement.tagName||"";if(G!==V[1]){var M=V[1].toLowerCase();if(!u||G.toLowerCase()!==M)return o.fatalError('Opening and ending tag mismatch: "'+G+'" != "'+U+'"')}var te=T.pop();C.pop();var ge=te.localNSMap;if(n.endElement(te.uri,te.localName,G),ge)for(var Ne in ge)Cn(ge,Ne)&&n.endPrefixMapping(Ne);Te++;break;case "?":x&&w(P),Te=w0(e,P,n,o);break;case "!":x&&w(P),Te=fl(e,P,n,o,u);break;default:x&&w(P);var pe=new pl,tr=T[T.length-1].currentNSMap,Te=E0(e,P,pe,tr,c,o,u),Lt=pe.length;if(pe.closed||(u&&Dt.isHTMLVoidElement(pe.tagName)?pe.closed=!0:C.push(pe.tagName)),x&&Lt){for(var Mt=il(x,{}),at=0;at<Lt;at++){var qt=pe[at];w(qt.offset),qt.locator=il(x,{});}n.locator=Mt,ol(pe,n,tr)&&T.push(pe),n.locator=x;}else ol(pe,n,tr)&&T.push(pe);u&&!pe.closed?Te=b0(e,Te,pe.tagName,c,n):Te++;}}catch(ne){if(ne instanceof al)throw ne;if(ne instanceof v0)throw new al(ne.name+": "+ne.message,n.locator,ne);o.error("element parse error: "+ne),Te=-1;}Te>O?O=Te:f(Math.max(P,O)+1);}}function il(e,r){return r.lineNumber=e.lineNumber,r.columnNumber=e.columnNumber,r}function E0(e,r,t,n,o,u,s){function c(w,T,C){if(Cn(t.attributeNames,w))return u.fatalError("Attribute "+w+" redefined");if(!s&&T.indexOf("<")>=0)return u.fatalError("Unescaped '<' not allowed in attributes values");t.addValue(w,T.replace(/[\t\n\r]/g," ").replace($i,o),C);}for(var f,p,h=++r,y=Dn;;){var x=e.charAt(h);switch(x){case "=":if(y===Ir)f=e.slice(r,h),y=An;else if(y===bt)y=An;else throw new Error("attribute equal must after attrName");break;case "'":case '"':if(y===An||y===Ir)if(y===Ir&&(u.warning('attribute value must after "="'),f=e.slice(r,h)),r=h+1,h=e.indexOf(x,r),h>0)p=e.slice(r,h),c(f,p,r-1),y=wt;else throw new Error("attribute value no end '"+x+"' match");else if(y==xt)p=e.slice(r,h),c(f,p,r),u.warning('attribute "'+f+'" missed start quot('+x+")!!"),r=h+1,y=wt;else throw new Error('attribute value must after "="');break;case "/":switch(y){case Dn:t.setTagName(e.slice(r,h));case wt:case Tn:case Ra:y=Ra,t.closed=true;case xt:case Ir:break;case bt:t.closed=true;break;default:throw new Error("attribute invalid close char('/')")}break;case "":return u.error("unexpected end of input"),y==Dn&&t.setTagName(e.slice(r,h)),h;case ">":switch(y){case Dn:t.setTagName(e.slice(r,h));case wt:case Tn:case Ra:break;case xt:case Ir:p=e.slice(r,h),p.slice(-1)==="/"&&(t.closed=true,p=p.slice(0,-1));case bt:y===bt&&(p=f),y==xt?(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 An:if(!s)return u.fatalError(`AttValue: ' or " expected`)}return h;case "\x80":x=" ";default:if(x<=" ")switch(y){case Dn:t.setTagName(e.slice(r,h)),y=Tn;break;case Ir:f=e.slice(r,h),y=bt;break;case xt:var p=e.slice(r,h);u.warning('attribute "'+p+'" missed quot(")!!'),c(f,p,r);case wt:y=Tn;break}else switch(y){case bt:s||u.warning('attribute "'+f+'" missed value!! "'+f+'" instead2!!'),c(f,f,r),r=h,y=Ir;break;case wt:u.warning('attribute space is required"'+f+'"!!');case Tn:y=Ir,r=h;break;case An:y=xt,r=h;break;case Ra:throw new Error("elements closed character '/' and '>' must be connected to")}}h++;}}function ol(e,r,t){for(var n=e.tagName,o=null,y=e.length;y--;){var u=e[y],s=u.qName,c=u.value,x=s.indexOf(":");if(x>0)var f=u.prefix=s.slice(0,x),p=s.slice(x+1),h=f==="xmlns"&&p;else p=s,f=null,h=s==="xmlns"&&"";u.localName=p,h!==false&&(o==null&&(o=Object.create(null),ll(t,t=Object.create(null))),t[h]=o[h]=c,u.uri=nl.XMLNS,r.startPrefixMapping(h,c));}for(var y=e.length;y--;)u=e[y],u.prefix&&(u.prefix==="xml"&&(u.uri=nl.XML),u.prefix!=="xmlns"&&(u.uri=t[u.prefix]));var x=n.indexOf(":");x>0?(f=e.prefix=n.slice(0,x),p=e.localName=n.slice(x+1)):(f=null,p=e.localName=n);var w=e.uri=t[f||""];if(r.startElement(w,p,n,e),e.closed){if(r.endElement(w,p,n),o)for(f in o)Cn(o,f)&&r.endPrefixMapping(f);}else return e.currentNSMap=t,e.localNSMap=o,true}function b0(e,r,t,n,o){var u=d0(t);if(u||m0(t)){var s=e.indexOf("</"+t+">",r),c=e.substring(r+1,s);return u&&(c=c.replace($i,n)),o.characters(c,0,c.length),s}return r+1}function ll(e,r){for(var t in e)Cn(e,t)&&(r[t]=e[t]);}function cl(e,r){var t=r;function n(h){return h=h||0,e.charAt(t+h)}function o(h){h=h||1,t+=h;}function u(){for(var h=0;t<e.length;){var y=n();if(y!==" "&&y!==`
5
- `&&y!==" "&&y!=="\r")return h;h++,o();}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 y=K.reg("^",h),x=y.exec(s());return x?(o(x[0].length),x[0]):null}return {char:n,getIndex:function(){return t},getMatch:p,getSource:function(){return e},skip:o,skipBlanks:u,substringFromIndex:s,substringStartsWith:c,substringStartsWithCaseInsensitive:f}}function x0(e,r){function t(c,f){var p=K.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 o=e.getIndex();e.getIndex()<n.length;){if(e.skipBlanks(),e.char()==="]"){var u=n.substring(o,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(K.elementdecl):e.char(3)==="N"&&(s=e.getMatch(K.EntityDecl));break;case "A":s=e.getMatch(K.AttlistDecl);break;case "N":s=e.getMatch(K.NotationDecl);break;case "-":s=e.getMatch(K.Comment);break}else if(e.char()==="<"&&e.char(1)==="?")s=t(e,r);else if(e.char()==="%")s=e.getMatch(K.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 fl(e,r,t,n,o){var u=cl(e,r);switch(o?u.char(2).toUpperCase():u.char(2)){case "-":var s=u.getMatch(K.Comment);return s?(t.comment(s,K.COMMENT_START.length,s.length-K.COMMENT_START.length-K.COMMENT_END.length),u.getIndex()):n.fatalError("comment is not well-formed at position "+u.getIndex());case "[":var c=u.getMatch(K.CDSect);return c?!o&&!t.currentElement?n.fatalError("CDATA outside of element"):(t.startCDATA(),t.characters(c,K.CDATA_START.length,c.length-K.CDATA_START.length-K.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(o?!u.substringStartsWithCaseInsensitive(K.DOCTYPE_DECL_START):!u.substringStartsWith(K.DOCTYPE_DECL_START))return n.fatalError("Expected "+K.DOCTYPE_DECL_START+" at position "+u.getIndex());if(u.skip(K.DOCTYPE_DECL_START.length),u.skipBlanks()<1)return n.fatalError("Expected whitespace after "+K.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(K.Name),!f.name)return n.fatalError("doctype name missing or contains unexpected characters at position "+u.getIndex());if(o&&f.name.toLowerCase()!=="html"&&n.warning("Unexpected DOCTYPE in HTML document at position "+u.getIndex()),u.skipBlanks(),u.substringStartsWith(K.PUBLIC)||u.substringStartsWith(K.SYSTEM)){var p=K.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(o&&u.substringStartsWithCaseInsensitive(K.SYSTEM)){if(u.skip(K.SYSTEM.length),u.skipBlanks()<1)return n.fatalError("Expected whitespace after "+K.SYSTEM+" at position "+u.getIndex());if(f.systemId=u.getMatch(K.ABOUT_LEGACY_COMPAT_SystemLiteral),!f.systemId)return n.fatalError("Expected "+K.ABOUT_LEGACY_COMPAT+" in single or double quotes after "+K.SYSTEM+" at position "+u.getIndex())}return o&&f.systemId&&!K.ABOUT_LEGACY_COMPAT_SystemLiteral.test(f.systemId)&&n.warning("Unexpected doctype.systemId in HTML document at position "+u.getIndex()),o||(u.skipBlanks(),f.internalSubset=x0(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 w0(e,r,t,n){var o=e.substring(r).match(K.PI);if(!o)return n.fatalError("Invalid processing instruction starting at position "+r);if(o[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(!K.XMLDecl.test(e.substring(r)))return n.fatalError("xml declaration is not well-formed")}return t.processingInstruction(o[1],o[2]),r+o[0].length}function pl(){this.attributeNames=Object.create(null);}pl.prototype={setTagName:function(e){if(!K.QName_exact.test(e))throw new Error("invalid tagName:"+e);this.tagName=e;},addValue:function(e,r,t){if(!K.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}};ka.XMLReader=sl;ka.parseUtils=cl;ka.parseDoctypeCommentOrCData=fl;});var bl=chunkPCJ5ACUV_cjs.b(Tt=>{var $r=Yr(),D0=Ji(),A0=cn(),dl=tl(),T0=hl(),C0=D0.DOMImplementation,_0=$r.hasDefaultHTMLNamespace,S0=$r.isHTMLMimeType,O0=$r.isValidMimeType,vl=$r.MIME_TYPE,eo=$r.NAMESPACE,gl=A0.ParseError,N0=T0.XMLReader;function yl(e){return e.replace(/\r[\n\u0085]/g,`
1
+ 'use strict';var chunkPCJ5ACUV_cjs=require('./chunk-PCJ5ACUV.cjs');var ha=chunkPCJ5ACUV_cjs.b(hi=>{var Tr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";hi.encode=function(e){for(var r="",t,n,o,u,s,c,f,h=0;h<e.length;)t=e.charCodeAt(h++),n=e.charCodeAt(h++),o=e.charCodeAt(h++),u=t>>2,s=(t&3)<<4|n>>4,c=(n&15)<<2|o>>6,f=o&63,isNaN(n)?c=f=64:isNaN(o)&&(f=64),r=r+Tr.charAt(u)+Tr.charAt(s)+Tr.charAt(c)+Tr.charAt(f);return r};hi.decode=function(e){var r="",t,n,o,u,s,c,f,h=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");h<e.length;)u=Tr.indexOf(e.charAt(h++)),s=Tr.indexOf(e.charAt(h++)),c=Tr.indexOf(e.charAt(h++)),f=Tr.indexOf(e.charAt(h++)),t=u<<2|s>>4,n=(s&15)<<4|c>>2,o=(c&3)<<6|f,r+=String.fromCharCode(t),c!==64&&(r+=String.fromCharCode(n)),f!==64&&(r+=String.fromCharCode(o));return r};});var Vr=chunkPCJ5ACUV_cjs.b(Qe=>{Qe.base64=true;Qe.array=true;Qe.string=true;Qe.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";Qe.nodebuffer=typeof Buffer<"u";Qe.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")Qe.blob=false;else {di=new ArrayBuffer(0);try{Qe.blob=new Blob([di],{type:"application/zip"}).size===0;}catch{try{Au=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,gi=new Au,gi.append(di),Qe.blob=gi.getBlob("application/zip").size===0;}catch{Qe.blob=false;}}}var di,Au,gi;});var Cu=chunkPCJ5ACUV_cjs.b((da,Tu)=>{(function(e,r){typeof da=="object"&&typeof Tu<"u"?r(da):typeof define=="function"&&define.amd?define(["exports"],r):r((e=typeof globalThis<"u"?globalThis:e||self).pako={});})(da,(function(e){function r(a){for(var l=a.length;--l>=0;)a[l]=0;}var t=256,n=286,o=30,u=15,s=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),c=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),f=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),h=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),p=new Array(576);r(p);var y=new Array(60);r(y);var b=new Array(512);r(b);var w=new Array(256);r(w);var T=new Array(29);r(T);var C,O,P,R=new Array(o);function S(a,l,i,d,g){this.static_tree=a,this.extra_bits=l,this.extra_base=i,this.elems=d,this.max_length=g,this.has_stree=a&&a.length;}function k(a,l){this.dyn_tree=a,this.max_code=0,this.stat_desc=l;}r(R);var q=function(a){return a<256?b[a]:b[256+(a>>>7)]},V=function(a,l){a.pending_buf[a.pending++]=255&l,a.pending_buf[a.pending++]=l>>>8&255;},G=function(a,l,i){a.bi_valid>16-i?(a.bi_buf|=l<<a.bi_valid&65535,V(a,a.bi_buf),a.bi_buf=l>>16-a.bi_valid,a.bi_valid+=i-16):(a.bi_buf|=l<<a.bi_valid&65535,a.bi_valid+=i);},M=function(a,l,i){G(a,i[2*l],i[2*l+1]);},te=function(a,l){var i=0;do i|=1&a,a>>>=1,i<<=1;while(--l>0);return i>>>1},ge=function(a,l,i){var d,g,m=new Array(16),D=0;for(d=1;d<=u;d++)D=D+i[d-1]<<1,m[d]=D;for(g=0;g<=l;g++){var v=a[2*g+1];v!==0&&(a[2*g]=te(m[v]++,v));}},Ie=function(a){var l;for(l=0;l<n;l++)a.dyn_ltree[2*l]=0;for(l=0;l<o;l++)a.dyn_dtree[2*l]=0;for(l=0;l<19;l++)a.bl_tree[2*l]=0;a.dyn_ltree[512]=1,a.opt_len=a.static_len=0,a.sym_next=a.matches=0;},pe=function(a){a.bi_valid>8?V(a,a.bi_buf):a.bi_valid>0&&(a.pending_buf[a.pending++]=a.bi_buf),a.bi_buf=0,a.bi_valid=0;},tr=function(a,l,i,d){var g=2*l,m=2*i;return a[g]<a[m]||a[g]===a[m]&&d[l]<=d[i]},Te=function(a,l,i){for(var d=a.heap[i],g=i<<1;g<=a.heap_len&&(g<a.heap_len&&tr(l,a.heap[g+1],a.heap[g],a.depth)&&g++,!tr(l,d,a.heap[g],a.depth));)a.heap[i]=a.heap[g],i=g,g<<=1;a.heap[i]=d;},Lt=function(a,l,i){var d,g,m,D,v=0;if(a.sym_next!==0)do d=255&a.pending_buf[a.sym_buf+v++],d+=(255&a.pending_buf[a.sym_buf+v++])<<8,g=a.pending_buf[a.sym_buf+v++],d===0?M(a,g,l):(m=w[g],M(a,m+t+1,l),(D=s[m])!==0&&(g-=T[m],G(a,g,D)),d--,m=q(d),M(a,m,i),(D=c[m])!==0&&(d-=R[m],G(a,d,D)));while(v<a.sym_next);M(a,256,l);},Mt=function(a,l){var i,d,g,m=l.dyn_tree,D=l.stat_desc.static_tree,v=l.stat_desc.has_stree,_=l.stat_desc.elems,E=-1;for(a.heap_len=0,a.heap_max=573,i=0;i<_;i++)m[2*i]!==0?(a.heap[++a.heap_len]=E=i,a.depth[i]=0):m[2*i+1]=0;for(;a.heap_len<2;)m[2*(g=a.heap[++a.heap_len]=E<2?++E:0)]=1,a.depth[g]=0,a.opt_len--,v&&(a.static_len-=D[2*g+1]);for(l.max_code=E,i=a.heap_len>>1;i>=1;i--)Te(a,m,i);g=_;do i=a.heap[1],a.heap[1]=a.heap[a.heap_len--],Te(a,m,1),d=a.heap[1],a.heap[--a.heap_max]=i,a.heap[--a.heap_max]=d,m[2*g]=m[2*i]+m[2*d],a.depth[g]=(a.depth[i]>=a.depth[d]?a.depth[i]:a.depth[d])+1,m[2*i+1]=m[2*d+1]=g,a.heap[1]=g++,Te(a,m,1);while(a.heap_len>=2);a.heap[--a.heap_max]=a.heap[1],(function(x,$){var F,A,B,Q,Y,ee,I=$.dyn_tree,N=$.max_code,j=$.stat_desc.static_tree,fe=$.stat_desc.has_stree,U=$.stat_desc.extra_bits,ie=$.stat_desc.extra_base,ae=$.stat_desc.max_length,H=0;for(Q=0;Q<=u;Q++)x.bl_count[Q]=0;for(I[2*x.heap[x.heap_max]+1]=0,F=x.heap_max+1;F<573;F++)(Q=I[2*I[2*(A=x.heap[F])+1]+1]+1)>ae&&(Q=ae,H++),I[2*A+1]=Q,A>N||(x.bl_count[Q]++,Y=0,A>=ie&&(Y=U[A-ie]),ee=I[2*A],x.opt_len+=ee*(Q+Y),fe&&(x.static_len+=ee*(j[2*A+1]+Y)));if(H!==0){do{for(Q=ae-1;x.bl_count[Q]===0;)Q--;x.bl_count[Q]--,x.bl_count[Q+1]+=2,x.bl_count[ae]--,H-=2;}while(H>0);for(Q=ae;Q!==0;Q--)for(A=x.bl_count[Q];A!==0;)(B=x.heap[--F])>N||(I[2*B+1]!==Q&&(x.opt_len+=(Q-I[2*B+1])*I[2*B],I[2*B+1]=Q),A--);}})(a,l),ge(m,E,a.bl_count);},nt=function(a,l,i){var d,g,m=-1,D=l[1],v=0,_=7,E=4;for(D===0&&(_=138,E=3),l[2*(i+1)+1]=65535,d=0;d<=i;d++)g=D,D=l[2*(d+1)+1],++v<_&&g===D||(v<E?a.bl_tree[2*g]+=v:g!==0?(g!==m&&a.bl_tree[2*g]++,a.bl_tree[32]++):v<=10?a.bl_tree[34]++:a.bl_tree[36]++,v=0,m=g,D===0?(_=138,E=3):g===D?(_=6,E=3):(_=7,E=4));},Ut=function(a,l,i){var d,g,m=-1,D=l[1],v=0,_=7,E=4;for(D===0&&(_=138,E=3),d=0;d<=i;d++)if(g=D,D=l[2*(d+1)+1],!(++v<_&&g===D)){if(v<E)do M(a,g,a.bl_tree);while(--v!=0);else g!==0?(g!==m&&(M(a,g,a.bl_tree),v--),M(a,16,a.bl_tree),G(a,v-3,2)):v<=10?(M(a,17,a.bl_tree),G(a,v-3,3)):(M(a,18,a.bl_tree),G(a,v-11,7));v=0,m=g,D===0?(_=138,E=3):g===D?(_=6,E=3):(_=7,E=4);}},ne=false,Pe=function(a,l,i,d){G(a,0+(d?1:0),3),pe(a),V(a,i),V(a,~i),i&&a.pending_buf.set(a.window.subarray(l,l+i),a.pending),a.pending+=i;},at=function(a,l,i,d){var g,m,D=0;a.level>0?(a.strm.data_type===2&&(a.strm.data_type=(function(v){var _,E=4093624447;for(_=0;_<=31;_++,E>>>=1)if(1&E&&v.dyn_ltree[2*_]!==0)return 0;if(v.dyn_ltree[18]!==0||v.dyn_ltree[20]!==0||v.dyn_ltree[26]!==0)return 1;for(_=32;_<t;_++)if(v.dyn_ltree[2*_]!==0)return 1;return 0})(a)),Mt(a,a.l_desc),Mt(a,a.d_desc),D=(function(v){var _;for(nt(v,v.dyn_ltree,v.l_desc.max_code),nt(v,v.dyn_dtree,v.d_desc.max_code),Mt(v,v.bl_desc),_=18;_>=3&&v.bl_tree[2*h[_]+1]===0;_--);return v.opt_len+=3*(_+1)+5+5+4,_})(a),g=a.opt_len+3+7>>>3,(m=a.static_len+3+7>>>3)<=g&&(g=m)):g=m=i+5,i+4<=g&&l!==-1?Pe(a,l,i,d):a.strategy===4||m===g?(G(a,2+(d?1:0),3),Lt(a,p,y)):(G(a,4+(d?1:0),3),(function(v,_,E,x){var $;for(G(v,_-257,5),G(v,E-1,5),G(v,x-4,4),$=0;$<x;$++)G(v,v.bl_tree[2*h[$]+1],3);Ut(v,v.dyn_ltree,_-1),Ut(v,v.dyn_dtree,E-1);})(a,a.l_desc.max_code+1,a.d_desc.max_code+1,D+1),Lt(a,a.dyn_ltree,a.dyn_dtree)),Ie(a),d&&pe(a);},nr={_tr_init:function(a){ne||((function(){var l,i,d,g,m,D=new Array(16);for(d=0,g=0;g<28;g++)for(T[g]=d,l=0;l<1<<s[g];l++)w[d++]=g;for(w[d-1]=g,m=0,g=0;g<16;g++)for(R[g]=m,l=0;l<1<<c[g];l++)b[m++]=g;for(m>>=7;g<o;g++)for(R[g]=m<<7,l=0;l<1<<c[g]-7;l++)b[256+m++]=g;for(i=0;i<=u;i++)D[i]=0;for(l=0;l<=143;)p[2*l+1]=8,l++,D[8]++;for(;l<=255;)p[2*l+1]=9,l++,D[9]++;for(;l<=279;)p[2*l+1]=7,l++,D[7]++;for(;l<=287;)p[2*l+1]=8,l++,D[8]++;for(ge(p,287,D),l=0;l<o;l++)y[2*l+1]=5,y[2*l]=te(l,5);C=new S(p,s,257,n,u),O=new S(y,c,0,o,u),P=new S(new Array(0),f,0,19,7);})(),ne=true),a.l_desc=new k(a.dyn_ltree,C),a.d_desc=new k(a.dyn_dtree,O),a.bl_desc=new k(a.bl_tree,P),a.bi_buf=0,a.bi_valid=0,Ie(a);},_tr_stored_block:Pe,_tr_flush_block:at,_tr_tally:function(a,l,i){return a.pending_buf[a.sym_buf+a.sym_next++]=l,a.pending_buf[a.sym_buf+a.sym_next++]=l>>8,a.pending_buf[a.sym_buf+a.sym_next++]=i,l===0?a.dyn_ltree[2*i]++:(a.matches++,l--,a.dyn_ltree[2*(w[i]+t+1)]++,a.dyn_dtree[2*q(l)]++),a.sym_next===a.sym_end},_tr_align:function(a){G(a,2,3),M(a,256,p),(function(l){l.bi_valid===16?(V(l,l.bi_buf),l.bi_buf=0,l.bi_valid=0):l.bi_valid>=8&&(l.pending_buf[l.pending++]=255&l.bi_buf,l.bi_buf>>=8,l.bi_valid-=8);})(a);}},qt=function(a,l,i,d){for(var g=65535&a|0,m=a>>>16&65535|0,D=0;i!==0;){i-=D=i>2e3?2e3:i;do m=m+(g=g+l[d++]|0)|0;while(--D);g%=65521,m%=65521;}return g|m<<16|0},bp=new Uint32Array((function(){for(var a,l=[],i=0;i<256;i++){a=i;for(var d=0;d<8;d++)a=1&a?3988292384^a>>>1:a>>>1;l[i]=a;}return l})()),Ae=function(a,l,i,d){var g=bp,m=d+i;a^=-1;for(var D=d;D<m;D++)a=a>>>8^g[255&(a^l[D])];return -1^a},Fr={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},X={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},xp=nr._tr_init,Ja=nr._tr_stored_block,wp=nr._tr_flush_block,Er=nr._tr_tally,Dp=nr._tr_align,br=X.Z_NO_FLUSH,Ap=X.Z_PARTIAL_FLUSH,Tp=X.Z_FULL_FLUSH,Xe=X.Z_FINISH,jo=X.Z_BLOCK,Ce=X.Z_OK,Vo=X.Z_STREAM_END,ar=X.Z_STREAM_ERROR,Cp=X.Z_DATA_ERROR,$a=X.Z_BUF_ERROR,_p=X.Z_DEFAULT_COMPRESSION,Sp=X.Z_FILTERED,$n=X.Z_HUFFMAN_ONLY,Op=X.Z_RLE,Np=X.Z_FIXED,Ip=X.Z_DEFAULT_STRATEGY,Bp=X.Z_UNKNOWN,ea=X.Z_DEFLATED,Lr=258,ir=262,it=42,Mr=113,zt=666,Ur=function(a,l){return a.msg=Fr[l],l},Xo=function(a){return 2*a-(a>4?9:0)},xr=function(a){for(var l=a.length;--l>=0;)a[l]=0;},Pp=function(a){var l,i,d,g=a.w_size;d=l=a.hash_size;do i=a.head[--d],a.head[d]=i>=g?i-g:0;while(--l);d=l=g;do i=a.prev[--d],a.prev[d]=i>=g?i-g:0;while(--l)},wr=function(a,l,i){return (l<<a.hash_shift^i)&a.hash_mask},qe=function(a){var l=a.state,i=l.pending;i>a.avail_out&&(i=a.avail_out),i!==0&&(a.output.set(l.pending_buf.subarray(l.pending_out,l.pending_out+i),a.next_out),a.next_out+=i,l.pending_out+=i,a.total_out+=i,a.avail_out-=i,l.pending-=i,l.pending===0&&(l.pending_out=0));},ze=function(a,l){wp(a,a.block_start>=0?a.block_start:-1,a.strstart-a.block_start,l),a.block_start=a.strstart,qe(a.strm);},se=function(a,l){a.pending_buf[a.pending++]=l;},jt=function(a,l){a.pending_buf[a.pending++]=l>>>8&255,a.pending_buf[a.pending++]=255&l;},ei=function(a,l,i,d){var g=a.avail_in;return g>d&&(g=d),g===0?0:(a.avail_in-=g,l.set(a.input.subarray(a.next_in,a.next_in+g),i),a.state.wrap===1?a.adler=qt(a.adler,l,g,i):a.state.wrap===2&&(a.adler=Ae(a.adler,l,g,i)),a.next_in+=g,a.total_in+=g,g)},Ho=function(a,l){var i,d,g=a.max_chain_length,m=a.strstart,D=a.prev_length,v=a.nice_match,_=a.strstart>a.w_size-ir?a.strstart-(a.w_size-ir):0,E=a.window,x=a.w_mask,$=a.prev,F=a.strstart+Lr,A=E[m+D-1],B=E[m+D];a.prev_length>=a.good_match&&(g>>=2),v>a.lookahead&&(v=a.lookahead);do if(E[(i=l)+D]===B&&E[i+D-1]===A&&E[i]===E[m]&&E[++i]===E[m+1]){m+=2,i++;do;while(E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&E[++m]===E[++i]&&m<F);if(d=Lr-(F-m),m=F-Lr,d>D){if(a.match_start=l,D=d,d>=v)break;A=E[m+D-1],B=E[m+D];}}while((l=$[l&x])>_&&--g!=0);return D<=a.lookahead?D:a.lookahead},ot=function(a){var l,i,d,g=a.w_size;do{if(i=a.window_size-a.lookahead-a.strstart,a.strstart>=g+(g-ir)&&(a.window.set(a.window.subarray(g,g+g-i),0),a.match_start-=g,a.strstart-=g,a.block_start-=g,a.insert>a.strstart&&(a.insert=a.strstart),Pp(a),i+=g),a.strm.avail_in===0)break;if(l=ei(a.strm,a.window,a.strstart+a.lookahead,i),a.lookahead+=l,a.lookahead+a.insert>=3)for(d=a.strstart-a.insert,a.ins_h=a.window[d],a.ins_h=wr(a,a.ins_h,a.window[d+1]);a.insert&&(a.ins_h=wr(a,a.ins_h,a.window[d+3-1]),a.prev[d&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=d,d++,a.insert--,!(a.lookahead+a.insert<3)););}while(a.lookahead<ir&&a.strm.avail_in!==0)},Zo=function(a,l){var i,d,g,m=a.pending_buf_size-5>a.w_size?a.w_size:a.pending_buf_size-5,D=0,v=a.strm.avail_in;do{if(i=65535,g=a.bi_valid+42>>3,a.strm.avail_out<g||(g=a.strm.avail_out-g,i>(d=a.strstart-a.block_start)+a.strm.avail_in&&(i=d+a.strm.avail_in),i>g&&(i=g),i<m&&(i===0&&l!==Xe||l===br||i!==d+a.strm.avail_in)))break;D=l===Xe&&i===d+a.strm.avail_in?1:0,Ja(a,0,0,D),a.pending_buf[a.pending-4]=i,a.pending_buf[a.pending-3]=i>>8,a.pending_buf[a.pending-2]=~i,a.pending_buf[a.pending-1]=~i>>8,qe(a.strm),d&&(d>i&&(d=i),a.strm.output.set(a.window.subarray(a.block_start,a.block_start+d),a.strm.next_out),a.strm.next_out+=d,a.strm.avail_out-=d,a.strm.total_out+=d,a.block_start+=d,i-=d),i&&(ei(a.strm,a.strm.output,a.strm.next_out,i),a.strm.next_out+=i,a.strm.avail_out-=i,a.strm.total_out+=i);}while(D===0);return (v-=a.strm.avail_in)&&(v>=a.w_size?(a.matches=2,a.window.set(a.strm.input.subarray(a.strm.next_in-a.w_size,a.strm.next_in),0),a.strstart=a.w_size,a.insert=a.strstart):(a.window_size-a.strstart<=v&&(a.strstart-=a.w_size,a.window.set(a.window.subarray(a.w_size,a.w_size+a.strstart),0),a.matches<2&&a.matches++,a.insert>a.strstart&&(a.insert=a.strstart)),a.window.set(a.strm.input.subarray(a.strm.next_in-v,a.strm.next_in),a.strstart),a.strstart+=v,a.insert+=v>a.w_size-a.insert?a.w_size-a.insert:v),a.block_start=a.strstart),a.high_water<a.strstart&&(a.high_water=a.strstart),D?4:l!==br&&l!==Xe&&a.strm.avail_in===0&&a.strstart===a.block_start?2:(g=a.window_size-a.strstart,a.strm.avail_in>g&&a.block_start>=a.w_size&&(a.block_start-=a.w_size,a.strstart-=a.w_size,a.window.set(a.window.subarray(a.w_size,a.w_size+a.strstart),0),a.matches<2&&a.matches++,g+=a.w_size,a.insert>a.strstart&&(a.insert=a.strstart)),g>a.strm.avail_in&&(g=a.strm.avail_in),g&&(ei(a.strm,a.window,a.strstart,g),a.strstart+=g,a.insert+=g>a.w_size-a.insert?a.w_size-a.insert:g),a.high_water<a.strstart&&(a.high_water=a.strstart),g=a.bi_valid+42>>3,m=(g=a.pending_buf_size-g>65535?65535:a.pending_buf_size-g)>a.w_size?a.w_size:g,((d=a.strstart-a.block_start)>=m||(d||l===Xe)&&l!==br&&a.strm.avail_in===0&&d<=g)&&(i=d>g?g:d,D=l===Xe&&a.strm.avail_in===0&&i===d?1:0,Ja(a,a.block_start,i,D),a.block_start+=i,qe(a.strm)),D?3:1)},ri=function(a,l){for(var i,d;;){if(a.lookahead<ir){if(ot(a),a.lookahead<ir&&l===br)return 1;if(a.lookahead===0)break}if(i=0,a.lookahead>=3&&(a.ins_h=wr(a,a.ins_h,a.window[a.strstart+3-1]),i=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),i!==0&&a.strstart-i<=a.w_size-ir&&(a.match_length=Ho(a,i)),a.match_length>=3)if(d=Er(a,a.strstart-a.match_start,a.match_length-3),a.lookahead-=a.match_length,a.match_length<=a.max_lazy_match&&a.lookahead>=3){a.match_length--;do a.strstart++,a.ins_h=wr(a,a.ins_h,a.window[a.strstart+3-1]),i=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart;while(--a.match_length!=0);a.strstart++;}else a.strstart+=a.match_length,a.match_length=0,a.ins_h=a.window[a.strstart],a.ins_h=wr(a,a.ins_h,a.window[a.strstart+1]);else d=Er(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++;if(d&&(ze(a,false),a.strm.avail_out===0))return 1}return a.insert=a.strstart<2?a.strstart:2,l===Xe?(ze(a,true),a.strm.avail_out===0?3:4):a.sym_next&&(ze(a,false),a.strm.avail_out===0)?1:2},ut=function(a,l){for(var i,d,g;;){if(a.lookahead<ir){if(ot(a),a.lookahead<ir&&l===br)return 1;if(a.lookahead===0)break}if(i=0,a.lookahead>=3&&(a.ins_h=wr(a,a.ins_h,a.window[a.strstart+3-1]),i=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),a.prev_length=a.match_length,a.prev_match=a.match_start,a.match_length=2,i!==0&&a.prev_length<a.max_lazy_match&&a.strstart-i<=a.w_size-ir&&(a.match_length=Ho(a,i),a.match_length<=5&&(a.strategy===Sp||a.match_length===3&&a.strstart-a.match_start>4096)&&(a.match_length=2)),a.prev_length>=3&&a.match_length<=a.prev_length){g=a.strstart+a.lookahead-3,d=Er(a,a.strstart-1-a.prev_match,a.prev_length-3),a.lookahead-=a.prev_length-1,a.prev_length-=2;do++a.strstart<=g&&(a.ins_h=wr(a,a.ins_h,a.window[a.strstart+3-1]),i=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart);while(--a.prev_length!=0);if(a.match_available=0,a.match_length=2,a.strstart++,d&&(ze(a,false),a.strm.avail_out===0))return 1}else if(a.match_available){if((d=Er(a,0,a.window[a.strstart-1]))&&ze(a,false),a.strstart++,a.lookahead--,a.strm.avail_out===0)return 1}else a.match_available=1,a.strstart++,a.lookahead--;}return a.match_available&&(d=Er(a,0,a.window[a.strstart-1]),a.match_available=0),a.insert=a.strstart<2?a.strstart:2,l===Xe?(ze(a,true),a.strm.avail_out===0?3:4):a.sym_next&&(ze(a,false),a.strm.avail_out===0)?1:2};function or(a,l,i,d,g){this.good_length=a,this.max_lazy=l,this.nice_length=i,this.max_chain=d,this.func=g;}var Vt=[new or(0,0,0,0,Zo),new or(4,4,8,4,ri),new or(4,5,16,8,ri),new or(4,6,32,32,ri),new or(4,4,16,16,ut),new or(8,16,32,32,ut),new or(8,16,128,128,ut),new or(8,32,128,256,ut),new or(32,128,258,1024,ut),new or(32,258,258,4096,ut)];function Rp(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ea,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),xr(this.dyn_ltree),xr(this.dyn_dtree),xr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),xr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),xr(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0;}var Xt=function(a){if(!a)return 1;var l=a.state;return !l||l.strm!==a||l.status!==it&&l.status!==57&&l.status!==69&&l.status!==73&&l.status!==91&&l.status!==103&&l.status!==Mr&&l.status!==zt?1:0},Go=function(a){if(Xt(a))return Ur(a,ar);a.total_in=a.total_out=0,a.data_type=Bp;var l=a.state;return l.pending=0,l.pending_out=0,l.wrap<0&&(l.wrap=-l.wrap),l.status=l.wrap===2?57:l.wrap?it:Mr,a.adler=l.wrap===2?0:1,l.last_flush=-2,xp(l),Ce},Yo=function(a){var l,i=Go(a);return i===Ce&&((l=a.state).window_size=2*l.w_size,xr(l.head),l.max_lazy_match=Vt[l.level].max_lazy,l.good_match=Vt[l.level].good_length,l.nice_match=Vt[l.level].nice_length,l.max_chain_length=Vt[l.level].max_chain,l.strstart=0,l.block_start=0,l.lookahead=0,l.insert=0,l.match_length=l.prev_length=2,l.match_available=0,l.ins_h=0),i},Wo=function(a,l,i,d,g,m){if(!a)return ar;var D=1;if(l===_p&&(l=6),d<0?(D=0,d=-d):d>15&&(D=2,d-=16),g<1||g>9||i!==ea||d<8||d>15||l<0||l>9||m<0||m>Np||d===8&&D!==1)return Ur(a,ar);d===8&&(d=9);var v=new Rp;return a.state=v,v.strm=a,v.status=it,v.wrap=D,v.gzhead=null,v.w_bits=d,v.w_size=1<<v.w_bits,v.w_mask=v.w_size-1,v.hash_bits=g+7,v.hash_size=1<<v.hash_bits,v.hash_mask=v.hash_size-1,v.hash_shift=~~((v.hash_bits+3-1)/3),v.window=new Uint8Array(2*v.w_size),v.head=new Uint16Array(v.hash_size),v.prev=new Uint16Array(v.w_size),v.lit_bufsize=1<<g+6,v.pending_buf_size=4*v.lit_bufsize,v.pending_buf=new Uint8Array(v.pending_buf_size),v.sym_buf=v.lit_bufsize,v.sym_end=3*(v.lit_bufsize-1),v.level=l,v.strategy=m,v.method=i,Yo(a)},Ht={deflateInit:function(a,l){return Wo(a,l,ea,15,8,Ip)},deflateInit2:Wo,deflateReset:Yo,deflateResetKeep:Go,deflateSetHeader:function(a,l){return Xt(a)||a.state.wrap!==2?ar:(a.state.gzhead=l,Ce)},deflate:function(a,l){if(Xt(a)||l>jo||l<0)return a?Ur(a,ar):ar;var i=a.state;if(!a.output||a.avail_in!==0&&!a.input||i.status===zt&&l!==Xe)return Ur(a,a.avail_out===0?$a:ar);var d=i.last_flush;if(i.last_flush=l,i.pending!==0){if(qe(a),a.avail_out===0)return i.last_flush=-1,Ce}else if(a.avail_in===0&&Xo(l)<=Xo(d)&&l!==Xe)return Ur(a,$a);if(i.status===zt&&a.avail_in!==0)return Ur(a,$a);if(i.status===it&&i.wrap===0&&(i.status=Mr),i.status===it){var g=ea+(i.w_bits-8<<4)<<8;if(g|=(i.strategy>=$n||i.level<2?0:i.level<6?1:i.level===6?2:3)<<6,i.strstart!==0&&(g|=32),jt(i,g+=31-g%31),i.strstart!==0&&(jt(i,a.adler>>>16),jt(i,65535&a.adler)),a.adler=1,i.status=Mr,qe(a),i.pending!==0)return i.last_flush=-1,Ce}if(i.status===57){if(a.adler=0,se(i,31),se(i,139),se(i,8),i.gzhead)se(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),se(i,255&i.gzhead.time),se(i,i.gzhead.time>>8&255),se(i,i.gzhead.time>>16&255),se(i,i.gzhead.time>>24&255),se(i,i.level===9?2:i.strategy>=$n||i.level<2?4:0),se(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(se(i,255&i.gzhead.extra.length),se(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(a.adler=Ae(a.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69;else if(se(i,0),se(i,0),se(i,0),se(i,0),se(i,0),se(i,i.level===9?2:i.strategy>=$n||i.level<2?4:0),se(i,3),i.status=Mr,qe(a),i.pending!==0)return i.last_flush=-1,Ce}if(i.status===69){if(i.gzhead.extra){for(var m=i.pending,D=(65535&i.gzhead.extra.length)-i.gzindex;i.pending+D>i.pending_buf_size;){var v=i.pending_buf_size-i.pending;if(i.pending_buf.set(i.gzhead.extra.subarray(i.gzindex,i.gzindex+v),i.pending),i.pending=i.pending_buf_size,i.gzhead.hcrc&&i.pending>m&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-m,m)),i.gzindex+=v,qe(a),i.pending!==0)return i.last_flush=-1,Ce;m=0,D-=v;}var _=new Uint8Array(i.gzhead.extra);i.pending_buf.set(_.subarray(i.gzindex,i.gzindex+D),i.pending),i.pending+=D,i.gzhead.hcrc&&i.pending>m&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-m,m)),i.gzindex=0;}i.status=73;}if(i.status===73){if(i.gzhead.name){var E,x=i.pending;do{if(i.pending===i.pending_buf_size){if(i.gzhead.hcrc&&i.pending>x&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-x,x)),qe(a),i.pending!==0)return i.last_flush=-1,Ce;x=0;}E=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,se(i,E);}while(E!==0);i.gzhead.hcrc&&i.pending>x&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-x,x)),i.gzindex=0;}i.status=91;}if(i.status===91){if(i.gzhead.comment){var $,F=i.pending;do{if(i.pending===i.pending_buf_size){if(i.gzhead.hcrc&&i.pending>F&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-F,F)),qe(a),i.pending!==0)return i.last_flush=-1,Ce;F=0;}$=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,se(i,$);}while($!==0);i.gzhead.hcrc&&i.pending>F&&(a.adler=Ae(a.adler,i.pending_buf,i.pending-F,F));}i.status=103;}if(i.status===103){if(i.gzhead.hcrc){if(i.pending+2>i.pending_buf_size&&(qe(a),i.pending!==0))return i.last_flush=-1,Ce;se(i,255&a.adler),se(i,a.adler>>8&255),a.adler=0;}if(i.status=Mr,qe(a),i.pending!==0)return i.last_flush=-1,Ce}if(a.avail_in!==0||i.lookahead!==0||l!==br&&i.status!==zt){var A=i.level===0?Zo(i,l):i.strategy===$n?(function(B,Q){for(var Y;;){if(B.lookahead===0&&(ot(B),B.lookahead===0)){if(Q===br)return 1;break}if(B.match_length=0,Y=Er(B,0,B.window[B.strstart]),B.lookahead--,B.strstart++,Y&&(ze(B,false),B.strm.avail_out===0))return 1}return B.insert=0,Q===Xe?(ze(B,true),B.strm.avail_out===0?3:4):B.sym_next&&(ze(B,false),B.strm.avail_out===0)?1:2})(i,l):i.strategy===Op?(function(B,Q){for(var Y,ee,I,N,j=B.window;;){if(B.lookahead<=Lr){if(ot(B),B.lookahead<=Lr&&Q===br)return 1;if(B.lookahead===0)break}if(B.match_length=0,B.lookahead>=3&&B.strstart>0&&(ee=j[I=B.strstart-1])===j[++I]&&ee===j[++I]&&ee===j[++I]){N=B.strstart+Lr;do;while(ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&ee===j[++I]&&I<N);B.match_length=Lr-(N-I),B.match_length>B.lookahead&&(B.match_length=B.lookahead);}if(B.match_length>=3?(Y=Er(B,1,B.match_length-3),B.lookahead-=B.match_length,B.strstart+=B.match_length,B.match_length=0):(Y=Er(B,0,B.window[B.strstart]),B.lookahead--,B.strstart++),Y&&(ze(B,false),B.strm.avail_out===0))return 1}return B.insert=0,Q===Xe?(ze(B,true),B.strm.avail_out===0?3:4):B.sym_next&&(ze(B,false),B.strm.avail_out===0)?1:2})(i,l):Vt[i.level].func(i,l);if(A!==3&&A!==4||(i.status=zt),A===1||A===3)return a.avail_out===0&&(i.last_flush=-1),Ce;if(A===2&&(l===Ap?Dp(i):l!==jo&&(Ja(i,0,0,false),l===Tp&&(xr(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),qe(a),a.avail_out===0))return i.last_flush=-1,Ce}return l!==Xe?Ce:i.wrap<=0?Vo:(i.wrap===2?(se(i,255&a.adler),se(i,a.adler>>8&255),se(i,a.adler>>16&255),se(i,a.adler>>24&255),se(i,255&a.total_in),se(i,a.total_in>>8&255),se(i,a.total_in>>16&255),se(i,a.total_in>>24&255)):(jt(i,a.adler>>>16),jt(i,65535&a.adler)),qe(a),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Ce:Vo)},deflateEnd:function(a){if(Xt(a))return ar;var l=a.state.status;return a.state=null,l===Mr?Ur(a,Cp):Ce},deflateSetDictionary:function(a,l){var i=l.length;if(Xt(a))return ar;var d=a.state,g=d.wrap;if(g===2||g===1&&d.status!==it||d.lookahead)return ar;if(g===1&&(a.adler=qt(a.adler,l,i,0)),d.wrap=0,i>=d.w_size){g===0&&(xr(d.head),d.strstart=0,d.block_start=0,d.insert=0);var m=new Uint8Array(d.w_size);m.set(l.subarray(i-d.w_size,i),0),l=m,i=d.w_size;}var D=a.avail_in,v=a.next_in,_=a.input;for(a.avail_in=i,a.next_in=0,a.input=l,ot(d);d.lookahead>=3;){var E=d.strstart,x=d.lookahead-2;do d.ins_h=wr(d,d.ins_h,d.window[E+3-1]),d.prev[E&d.w_mask]=d.head[d.ins_h],d.head[d.ins_h]=E,E++;while(--x);d.strstart=E,d.lookahead=2,ot(d);}return d.strstart+=d.lookahead,d.block_start=d.strstart,d.insert=d.lookahead,d.lookahead=0,d.match_length=d.prev_length=2,d.match_available=0,a.next_in=v,a.input=_,a.avail_in=D,d.wrap=g,Ce},deflateInfo:"pako deflate (from Nodeca project)"};function ti(a){return ti=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},ti(a)}var kp=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},Ko=function(a){for(var l=Array.prototype.slice.call(arguments,1);l.length;){var i=l.shift();if(i){if(ti(i)!=="object")throw new TypeError(i+"must be non-object");for(var d in i)kp(i,d)&&(a[d]=i[d]);}}return a},Qo=function(a){for(var l=0,i=0,d=a.length;i<d;i++)l+=a[i].length;for(var g=new Uint8Array(l),m=0,D=0,v=a.length;m<v;m++){var _=a[m];g.set(_,D),D+=_.length;}return g},Jo=true;try{String.fromCharCode.apply(null,new Uint8Array(1));}catch{Jo=false;}for(var Zt=new Uint8Array(256),Dr=0;Dr<256;Dr++)Zt[Dr]=Dr>=252?6:Dr>=248?5:Dr>=240?4:Dr>=224?3:Dr>=192?2:1;Zt[254]=Zt[254]=1;var ni=function(a){if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(a);var l,i,d,g,m,D=a.length,v=0;for(g=0;g<D;g++)(64512&(i=a.charCodeAt(g)))==55296&&g+1<D&&(64512&(d=a.charCodeAt(g+1)))==56320&&(i=65536+(i-55296<<10)+(d-56320),g++),v+=i<128?1:i<2048?2:i<65536?3:4;for(l=new Uint8Array(v),m=0,g=0;m<v;g++)(64512&(i=a.charCodeAt(g)))==55296&&g+1<D&&(64512&(d=a.charCodeAt(g+1)))==56320&&(i=65536+(i-55296<<10)+(d-56320),g++),i<128?l[m++]=i:i<2048?(l[m++]=192|i>>>6,l[m++]=128|63&i):i<65536?(l[m++]=224|i>>>12,l[m++]=128|i>>>6&63,l[m++]=128|63&i):(l[m++]=240|i>>>18,l[m++]=128|i>>>12&63,l[m++]=128|i>>>6&63,l[m++]=128|63&i);return l},Fp=function(a,l){var i,d,g=l||a.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(a.subarray(0,l));var m=new Array(2*g);for(d=0,i=0;i<g;){var D=a[i++];if(D<128)m[d++]=D;else {var v=Zt[D];if(v>4)m[d++]=65533,i+=v-1;else {for(D&=v===2?31:v===3?15:7;v>1&&i<g;)D=D<<6|63&a[i++],v--;v>1?m[d++]=65533:D<65536?m[d++]=D:(D-=65536,m[d++]=55296|D>>10&1023,m[d++]=56320|1023&D);}}}return (function(_,E){if(E<65534&&_.subarray&&Jo)return String.fromCharCode.apply(null,_.length===E?_:_.subarray(0,E));for(var x="",$=0;$<E;$++)x+=String.fromCharCode(_[$]);return x})(m,d)},Lp=function(a,l){(l=l||a.length)>a.length&&(l=a.length);for(var i=l-1;i>=0&&(192&a[i])==128;)i--;return i<0||i===0?l:i+Zt[a[i]]>l?i:l},$o=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0;},eu=Object.prototype.toString,Mp=X.Z_NO_FLUSH,Up=X.Z_SYNC_FLUSH,qp=X.Z_FULL_FLUSH,zp=X.Z_FINISH,ra=X.Z_OK,jp=X.Z_STREAM_END,Vp=X.Z_DEFAULT_COMPRESSION,Xp=X.Z_DEFAULT_STRATEGY,Hp=X.Z_DEFLATED;function Gt(a){this.options=Ko({level:Vp,method:Hp,chunkSize:16384,windowBits:15,memLevel:8,strategy:Xp},a||{});var l=this.options;l.raw&&l.windowBits>0?l.windowBits=-l.windowBits:l.gzip&&l.windowBits>0&&l.windowBits<16&&(l.windowBits+=16),this.err=0,this.msg="",this.ended=false,this.chunks=[],this.strm=new $o,this.strm.avail_out=0;var i=Ht.deflateInit2(this.strm,l.level,l.method,l.windowBits,l.memLevel,l.strategy);if(i!==ra)throw new Error(Fr[i]);if(l.header&&Ht.deflateSetHeader(this.strm,l.header),l.dictionary){var d;if(d=typeof l.dictionary=="string"?ni(l.dictionary):eu.call(l.dictionary)==="[object ArrayBuffer]"?new Uint8Array(l.dictionary):l.dictionary,(i=Ht.deflateSetDictionary(this.strm,d))!==ra)throw new Error(Fr[i]);this._dict_set=true;}}function ai(a,l){var i=new Gt(l);if(i.push(a,true),i.err)throw i.msg||Fr[i.err];return i.result}Gt.prototype.push=function(a,l){var i,d,g=this.strm,m=this.options.chunkSize;if(this.ended)return false;for(d=l===~~l?l:l===true?zp:Mp,typeof a=="string"?g.input=ni(a):eu.call(a)==="[object ArrayBuffer]"?g.input=new Uint8Array(a):g.input=a,g.next_in=0,g.avail_in=g.input.length;;)if(g.avail_out===0&&(g.output=new Uint8Array(m),g.next_out=0,g.avail_out=m),(d===Up||d===qp)&&g.avail_out<=6)this.onData(g.output.subarray(0,g.next_out)),g.avail_out=0;else {if((i=Ht.deflate(g,d))===jp)return g.next_out>0&&this.onData(g.output.subarray(0,g.next_out)),i=Ht.deflateEnd(this.strm),this.onEnd(i),this.ended=true,i===ra;if(g.avail_out!==0){if(d>0&&g.next_out>0)this.onData(g.output.subarray(0,g.next_out)),g.avail_out=0;else if(g.avail_in===0)break}else this.onData(g.output);}return true},Gt.prototype.onData=function(a){this.chunks.push(a);},Gt.prototype.onEnd=function(a){a===ra&&(this.result=Qo(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg;};var ta={Deflate:Gt,deflate:ai,deflateRaw:function(a,l){return (l=l||{}).raw=true,ai(a,l)},gzip:function(a,l){return (l=l||{}).gzip=true,ai(a,l)}},na=16209,Zp=function(a,l){var i,d,g,m,D,v,_,E,x,$,F,A,B,Q,Y,ee,I,N,j,fe,U,ie,ae,H,W=a.state;i=a.next_in,ae=a.input,d=i+(a.avail_in-5),g=a.next_out,H=a.output,m=g-(l-a.avail_out),D=g+(a.avail_out-257),v=W.dmax,_=W.wsize,E=W.whave,x=W.wnext,$=W.window,F=W.hold,A=W.bits,B=W.lencode,Q=W.distcode,Y=(1<<W.lenbits)-1,ee=(1<<W.distbits)-1;e:do{A<15&&(F+=ae[i++]<<A,A+=8,F+=ae[i++]<<A,A+=8),I=B[F&Y];r:for(;;){if(F>>>=N=I>>>24,A-=N,(N=I>>>16&255)===0)H[g++]=65535&I;else {if(!(16&N)){if((64&N)==0){I=B[(65535&I)+(F&(1<<N)-1)];continue r}if(32&N){W.mode=16191;break e}a.msg="invalid literal/length code",W.mode=na;break e}j=65535&I,(N&=15)&&(A<N&&(F+=ae[i++]<<A,A+=8),j+=F&(1<<N)-1,F>>>=N,A-=N),A<15&&(F+=ae[i++]<<A,A+=8,F+=ae[i++]<<A,A+=8),I=Q[F&ee];t:for(;;){if(F>>>=N=I>>>24,A-=N,!(16&(N=I>>>16&255))){if((64&N)==0){I=Q[(65535&I)+(F&(1<<N)-1)];continue t}a.msg="invalid distance code",W.mode=na;break e}if(fe=65535&I,A<(N&=15)&&(F+=ae[i++]<<A,(A+=8)<N&&(F+=ae[i++]<<A,A+=8)),(fe+=F&(1<<N)-1)>v){a.msg="invalid distance too far back",W.mode=na;break e}if(F>>>=N,A-=N,fe>(N=g-m)){if((N=fe-N)>E&&W.sane){a.msg="invalid distance too far back",W.mode=na;break e}if(U=0,ie=$,x===0){if(U+=_-N,N<j){j-=N;do H[g++]=$[U++];while(--N);U=g-fe,ie=H;}}else if(x<N){if(U+=_+x-N,(N-=x)<j){j-=N;do H[g++]=$[U++];while(--N);if(U=0,x<j){j-=N=x;do H[g++]=$[U++];while(--N);U=g-fe,ie=H;}}}else if(U+=x-N,N<j){j-=N;do H[g++]=$[U++];while(--N);U=g-fe,ie=H;}for(;j>2;)H[g++]=ie[U++],H[g++]=ie[U++],H[g++]=ie[U++],j-=3;j&&(H[g++]=ie[U++],j>1&&(H[g++]=ie[U++]));}else {U=g-fe;do H[g++]=H[U++],H[g++]=H[U++],H[g++]=H[U++],j-=3;while(j>2);j&&(H[g++]=H[U++],j>1&&(H[g++]=H[U++]));}break}}break}}while(i<d&&g<D);i-=j=A>>3,F&=(1<<(A-=j<<3))-1,a.next_in=i,a.next_out=g,a.avail_in=i<d?d-i+5:5-(i-d),a.avail_out=g<D?D-g+257:257-(g-D),W.hold=F,W.bits=A;},aa=15,Gp=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),Yp=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),Wp=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),Kp=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),Yt=function(a,l,i,d,g,m,D,v){var _,E,x,$,F,A,B,Q,Y,ee=v.bits,I=0,N=0,j=0,fe=0,U=0,ie=0,ae=0,H=0,W=0,ce=0,jr=null,Ar=new Uint16Array(16),fa=new Uint16Array(16),pa=null;for(I=0;I<=aa;I++)Ar[I]=0;for(N=0;N<d;N++)Ar[l[i+N]]++;for(U=ee,fe=aa;fe>=1&&Ar[fe]===0;fe--);if(U>fe&&(U=fe),fe===0)return g[m++]=20971520,g[m++]=20971520,v.bits=1,0;for(j=1;j<fe&&Ar[j]===0;j++);for(U<j&&(U=j),H=1,I=1;I<=aa;I++)if(H<<=1,(H-=Ar[I])<0)return -1;if(H>0&&(a===0||fe!==1))return -1;for(fa[1]=0,I=1;I<aa;I++)fa[I+1]=fa[I]+Ar[I];for(N=0;N<d;N++)l[i+N]!==0&&(D[fa[l[i+N]]++]=N);if(a===0?(jr=pa=D,A=20):a===1?(jr=Gp,pa=Yp,A=257):(jr=Wp,pa=Kp,A=0),ce=0,N=0,I=j,F=m,ie=U,ae=0,x=-1,$=(W=1<<U)-1,a===1&&W>852||a===2&&W>592)return 1;for(;;){B=I-ae,D[N]+1<A?(Q=0,Y=D[N]):D[N]>=A?(Q=pa[D[N]-A],Y=jr[D[N]-A]):(Q=96,Y=0),_=1<<I-ae,j=E=1<<ie;do g[F+(ce>>ae)+(E-=_)]=B<<24|Q<<16|Y|0;while(E!==0);for(_=1<<I-1;ce&_;)_>>=1;if(_!==0?(ce&=_-1,ce+=_):ce=0,N++,--Ar[I]==0){if(I===fe)break;I=l[i+D[N]];}if(I>U&&(ce&$)!==x){for(ae===0&&(ae=U),F+=j,H=1<<(ie=I-ae);ie+ae<fe&&!((H-=Ar[ie+ae])<=0);)ie++,H<<=1;if(W+=1<<ie,a===1&&W>852||a===2&&W>592)return 1;g[x=ce&$]=U<<24|ie<<16|F-m|0;}}return ce!==0&&(g[F+ce]=I-ae<<24|64<<16|0),v.bits=U,0},ru=X.Z_FINISH,Qp=X.Z_BLOCK,ia=X.Z_TREES,qr=X.Z_OK,Jp=X.Z_STREAM_END,$p=X.Z_NEED_DICT,Ke=X.Z_STREAM_ERROR,tu=X.Z_DATA_ERROR,nu=X.Z_MEM_ERROR,eh=X.Z_BUF_ERROR,au=X.Z_DEFLATED,oa=16180,ua=16190,hr=16191,ii=16192,oi=16194,sa=16199,la=16200,ui=16206,de=16209,iu=function(a){return (a>>>24&255)+(a>>>8&65280)+((65280&a)<<8)+((255&a)<<24)};function rh(){this.strm=null,this.mode=0,this.last=false,this.wrap=0,this.havedict=false,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0;}var si,li,zr=function(a){if(!a)return 1;var l=a.state;return !l||l.strm!==a||l.mode<oa||l.mode>16211?1:0},ou=function(a){if(zr(a))return Ke;var l=a.state;return a.total_in=a.total_out=l.total=0,a.msg="",l.wrap&&(a.adler=1&l.wrap),l.mode=oa,l.last=0,l.havedict=0,l.flags=-1,l.dmax=32768,l.head=null,l.hold=0,l.bits=0,l.lencode=l.lendyn=new Int32Array(852),l.distcode=l.distdyn=new Int32Array(592),l.sane=1,l.back=-1,qr},uu=function(a){if(zr(a))return Ke;var l=a.state;return l.wsize=0,l.whave=0,l.wnext=0,ou(a)},su=function(a,l){var i;if(zr(a))return Ke;var d=a.state;return l<0?(i=0,l=-l):(i=5+(l>>4),l<48&&(l&=15)),l&&(l<8||l>15)?Ke:(d.window!==null&&d.wbits!==l&&(d.window=null),d.wrap=i,d.wbits=l,uu(a))},lu=function(a,l){if(!a)return Ke;var i=new rh;a.state=i,i.strm=a,i.window=null,i.mode=oa;var d=su(a,l);return d!==qr&&(a.state=null),d},cu=true,th=function(a){if(cu){si=new Int32Array(512),li=new Int32Array(32);for(var l=0;l<144;)a.lens[l++]=8;for(;l<256;)a.lens[l++]=9;for(;l<280;)a.lens[l++]=7;for(;l<288;)a.lens[l++]=8;for(Yt(1,a.lens,0,288,si,0,a.work,{bits:9}),l=0;l<32;)a.lens[l++]=5;Yt(2,a.lens,0,32,li,0,a.work,{bits:5}),cu=false;}a.lencode=si,a.lenbits=9,a.distcode=li,a.distbits=5;},fu=function(a,l,i,d){var g,m=a.state;return m.window===null&&(m.wsize=1<<m.wbits,m.wnext=0,m.whave=0,m.window=new Uint8Array(m.wsize)),d>=m.wsize?(m.window.set(l.subarray(i-m.wsize,i),0),m.wnext=0,m.whave=m.wsize):((g=m.wsize-m.wnext)>d&&(g=d),m.window.set(l.subarray(i-d,i-d+g),m.wnext),(d-=g)?(m.window.set(l.subarray(i-d,i),0),m.wnext=d,m.whave=m.wsize):(m.wnext+=g,m.wnext===m.wsize&&(m.wnext=0),m.whave<m.wsize&&(m.whave+=g))),0},dr={inflateReset:uu,inflateReset2:su,inflateResetKeep:ou,inflateInit:function(a){return lu(a,15)},inflateInit2:lu,inflate:function(a,l){var i,d,g,m,D,v,_,E,x,$,F,A,B,Q,Y,ee,I,N,j,fe,U,ie,ae,H,W=0,ce=new Uint8Array(4),jr=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(zr(a)||!a.output||!a.input&&a.avail_in!==0)return Ke;(i=a.state).mode===hr&&(i.mode=ii),D=a.next_out,g=a.output,_=a.avail_out,m=a.next_in,d=a.input,v=a.avail_in,E=i.hold,x=i.bits,$=v,F=_,ie=qr;e:for(;;)switch(i.mode){case oa:if(i.wrap===0){i.mode=ii;break}for(;x<16;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(2&i.wrap&&E===35615){i.wbits===0&&(i.wbits=15),i.check=0,ce[0]=255&E,ce[1]=E>>>8&255,i.check=Ae(i.check,ce,2,0),E=0,x=0,i.mode=16181;break}if(i.head&&(i.head.done=false),!(1&i.wrap)||(((255&E)<<8)+(E>>8))%31){a.msg="incorrect header check",i.mode=de;break}if((15&E)!==au){a.msg="unknown compression method",i.mode=de;break}if(x-=4,U=8+(15&(E>>>=4)),i.wbits===0&&(i.wbits=U),U>15||U>i.wbits){a.msg="invalid window size",i.mode=de;break}i.dmax=1<<i.wbits,i.flags=0,a.adler=i.check=1,i.mode=512&E?16189:hr,E=0,x=0;break;case 16181:for(;x<16;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(i.flags=E,(255&i.flags)!==au){a.msg="unknown compression method",i.mode=de;break}if(57344&i.flags){a.msg="unknown header flags set",i.mode=de;break}i.head&&(i.head.text=E>>8&1),512&i.flags&&4&i.wrap&&(ce[0]=255&E,ce[1]=E>>>8&255,i.check=Ae(i.check,ce,2,0)),E=0,x=0,i.mode=16182;case 16182:for(;x<32;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}i.head&&(i.head.time=E),512&i.flags&&4&i.wrap&&(ce[0]=255&E,ce[1]=E>>>8&255,ce[2]=E>>>16&255,ce[3]=E>>>24&255,i.check=Ae(i.check,ce,4,0)),E=0,x=0,i.mode=16183;case 16183:for(;x<16;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}i.head&&(i.head.xflags=255&E,i.head.os=E>>8),512&i.flags&&4&i.wrap&&(ce[0]=255&E,ce[1]=E>>>8&255,i.check=Ae(i.check,ce,2,0)),E=0,x=0,i.mode=16184;case 16184:if(1024&i.flags){for(;x<16;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}i.length=E,i.head&&(i.head.extra_len=E),512&i.flags&&4&i.wrap&&(ce[0]=255&E,ce[1]=E>>>8&255,i.check=Ae(i.check,ce,2,0)),E=0,x=0;}else i.head&&(i.head.extra=null);i.mode=16185;case 16185:if(1024&i.flags&&((A=i.length)>v&&(A=v),A&&(i.head&&(U=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Uint8Array(i.head.extra_len)),i.head.extra.set(d.subarray(m,m+A),U)),512&i.flags&&4&i.wrap&&(i.check=Ae(i.check,d,A,m)),v-=A,m+=A,i.length-=A),i.length))break e;i.length=0,i.mode=16186;case 16186:if(2048&i.flags){if(v===0)break e;A=0;do U=d[m+A++],i.head&&U&&i.length<65536&&(i.head.name+=String.fromCharCode(U));while(U&&A<v);if(512&i.flags&&4&i.wrap&&(i.check=Ae(i.check,d,A,m)),v-=A,m+=A,U)break e}else i.head&&(i.head.name=null);i.length=0,i.mode=16187;case 16187:if(4096&i.flags){if(v===0)break e;A=0;do U=d[m+A++],i.head&&U&&i.length<65536&&(i.head.comment+=String.fromCharCode(U));while(U&&A<v);if(512&i.flags&&4&i.wrap&&(i.check=Ae(i.check,d,A,m)),v-=A,m+=A,U)break e}else i.head&&(i.head.comment=null);i.mode=16188;case 16188:if(512&i.flags){for(;x<16;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(4&i.wrap&&E!==(65535&i.check)){a.msg="header crc mismatch",i.mode=de;break}E=0,x=0;}i.head&&(i.head.hcrc=i.flags>>9&1,i.head.done=true),a.adler=i.check=0,i.mode=hr;break;case 16189:for(;x<32;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}a.adler=i.check=iu(E),E=0,x=0,i.mode=ua;case ua:if(i.havedict===0)return a.next_out=D,a.avail_out=_,a.next_in=m,a.avail_in=v,i.hold=E,i.bits=x,$p;a.adler=i.check=1,i.mode=hr;case hr:if(l===Qp||l===ia)break e;case ii:if(i.last){E>>>=7&x,x-=7&x,i.mode=ui;break}for(;x<3;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}switch(i.last=1&E,x-=1,3&(E>>>=1)){case 0:i.mode=16193;break;case 1:if(th(i),i.mode=sa,l===ia){E>>>=2,x-=2;break e}break;case 2:i.mode=16196;break;case 3:a.msg="invalid block type",i.mode=de;}E>>>=2,x-=2;break;case 16193:for(E>>>=7&x,x-=7&x;x<32;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if((65535&E)!=(E>>>16^65535)){a.msg="invalid stored block lengths",i.mode=de;break}if(i.length=65535&E,E=0,x=0,i.mode=oi,l===ia)break e;case oi:i.mode=16195;case 16195:if(A=i.length){if(A>v&&(A=v),A>_&&(A=_),A===0)break e;g.set(d.subarray(m,m+A),D),v-=A,m+=A,_-=A,D+=A,i.length-=A;break}i.mode=hr;break;case 16196:for(;x<14;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(i.nlen=257+(31&E),E>>>=5,x-=5,i.ndist=1+(31&E),E>>>=5,x-=5,i.ncode=4+(15&E),E>>>=4,x-=4,i.nlen>286||i.ndist>30){a.msg="too many length or distance symbols",i.mode=de;break}i.have=0,i.mode=16197;case 16197:for(;i.have<i.ncode;){for(;x<3;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}i.lens[jr[i.have++]]=7&E,E>>>=3,x-=3;}for(;i.have<19;)i.lens[jr[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,ae={bits:i.lenbits},ie=Yt(0,i.lens,0,19,i.lencode,0,i.work,ae),i.lenbits=ae.bits,ie){a.msg="invalid code lengths set",i.mode=de;break}i.have=0,i.mode=16198;case 16198:for(;i.have<i.nlen+i.ndist;){for(;ee=(W=i.lencode[E&(1<<i.lenbits)-1])>>>16&255,I=65535&W,!((Y=W>>>24)<=x);){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(I<16)E>>>=Y,x-=Y,i.lens[i.have++]=I;else {if(I===16){for(H=Y+2;x<H;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(E>>>=Y,x-=Y,i.have===0){a.msg="invalid bit length repeat",i.mode=de;break}U=i.lens[i.have-1],A=3+(3&E),E>>>=2,x-=2;}else if(I===17){for(H=Y+3;x<H;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}x-=Y,U=0,A=3+(7&(E>>>=Y)),E>>>=3,x-=3;}else {for(H=Y+7;x<H;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}x-=Y,U=0,A=11+(127&(E>>>=Y)),E>>>=7,x-=7;}if(i.have+A>i.nlen+i.ndist){a.msg="invalid bit length repeat",i.mode=de;break}for(;A--;)i.lens[i.have++]=U;}}if(i.mode===de)break;if(i.lens[256]===0){a.msg="invalid code -- missing end-of-block",i.mode=de;break}if(i.lenbits=9,ae={bits:i.lenbits},ie=Yt(1,i.lens,0,i.nlen,i.lencode,0,i.work,ae),i.lenbits=ae.bits,ie){a.msg="invalid literal/lengths set",i.mode=de;break}if(i.distbits=6,i.distcode=i.distdyn,ae={bits:i.distbits},ie=Yt(2,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,ae),i.distbits=ae.bits,ie){a.msg="invalid distances set",i.mode=de;break}if(i.mode=sa,l===ia)break e;case sa:i.mode=la;case la:if(v>=6&&_>=258){a.next_out=D,a.avail_out=_,a.next_in=m,a.avail_in=v,i.hold=E,i.bits=x,Zp(a,F),D=a.next_out,g=a.output,_=a.avail_out,m=a.next_in,d=a.input,v=a.avail_in,E=i.hold,x=i.bits,i.mode===hr&&(i.back=-1);break}for(i.back=0;ee=(W=i.lencode[E&(1<<i.lenbits)-1])>>>16&255,I=65535&W,!((Y=W>>>24)<=x);){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(ee&&(240&ee)==0){for(N=Y,j=ee,fe=I;ee=(W=i.lencode[fe+((E&(1<<N+j)-1)>>N)])>>>16&255,I=65535&W,!(N+(Y=W>>>24)<=x);){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}E>>>=N,x-=N,i.back+=N;}if(E>>>=Y,x-=Y,i.back+=Y,i.length=I,ee===0){i.mode=16205;break}if(32&ee){i.back=-1,i.mode=hr;break}if(64&ee){a.msg="invalid literal/length code",i.mode=de;break}i.extra=15&ee,i.mode=16201;case 16201:if(i.extra){for(H=i.extra;x<H;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}i.length+=E&(1<<i.extra)-1,E>>>=i.extra,x-=i.extra,i.back+=i.extra;}i.was=i.length,i.mode=16202;case 16202:for(;ee=(W=i.distcode[E&(1<<i.distbits)-1])>>>16&255,I=65535&W,!((Y=W>>>24)<=x);){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if((240&ee)==0){for(N=Y,j=ee,fe=I;ee=(W=i.distcode[fe+((E&(1<<N+j)-1)>>N)])>>>16&255,I=65535&W,!(N+(Y=W>>>24)<=x);){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}E>>>=N,x-=N,i.back+=N;}if(E>>>=Y,x-=Y,i.back+=Y,64&ee){a.msg="invalid distance code",i.mode=de;break}i.offset=I,i.extra=15&ee,i.mode=16203;case 16203:if(i.extra){for(H=i.extra;x<H;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}i.offset+=E&(1<<i.extra)-1,E>>>=i.extra,x-=i.extra,i.back+=i.extra;}if(i.offset>i.dmax){a.msg="invalid distance too far back",i.mode=de;break}i.mode=16204;case 16204:if(_===0)break e;if(A=F-_,i.offset>A){if((A=i.offset-A)>i.whave&&i.sane){a.msg="invalid distance too far back",i.mode=de;break}A>i.wnext?(A-=i.wnext,B=i.wsize-A):B=i.wnext-A,A>i.length&&(A=i.length),Q=i.window;}else Q=g,B=D-i.offset,A=i.length;A>_&&(A=_),_-=A,i.length-=A;do g[D++]=Q[B++];while(--A);i.length===0&&(i.mode=la);break;case 16205:if(_===0)break e;g[D++]=i.length,_--,i.mode=la;break;case ui:if(i.wrap){for(;x<32;){if(v===0)break e;v--,E|=d[m++]<<x,x+=8;}if(F-=_,a.total_out+=F,i.total+=F,4&i.wrap&&F&&(a.adler=i.check=i.flags?Ae(i.check,g,F,D-F):qt(i.check,g,F,D-F)),F=_,4&i.wrap&&(i.flags?E:iu(E))!==i.check){a.msg="incorrect data check",i.mode=de;break}E=0,x=0;}i.mode=16207;case 16207:if(i.wrap&&i.flags){for(;x<32;){if(v===0)break e;v--,E+=d[m++]<<x,x+=8;}if(4&i.wrap&&E!==(4294967295&i.total)){a.msg="incorrect length check",i.mode=de;break}E=0,x=0;}i.mode=16208;case 16208:ie=Jp;break e;case de:ie=tu;break e;case 16210:return nu;default:return Ke}return a.next_out=D,a.avail_out=_,a.next_in=m,a.avail_in=v,i.hold=E,i.bits=x,(i.wsize||F!==a.avail_out&&i.mode<de&&(i.mode<ui||l!==ru))&&fu(a,a.output,a.next_out,F-a.avail_out),$-=a.avail_in,F-=a.avail_out,a.total_in+=$,a.total_out+=F,i.total+=F,4&i.wrap&&F&&(a.adler=i.check=i.flags?Ae(i.check,g,F,a.next_out-F):qt(i.check,g,F,a.next_out-F)),a.data_type=i.bits+(i.last?64:0)+(i.mode===hr?128:0)+(i.mode===sa||i.mode===oi?256:0),($===0&&F===0||l===ru)&&ie===qr&&(ie=eh),ie},inflateEnd:function(a){if(zr(a))return Ke;var l=a.state;return l.window&&(l.window=null),a.state=null,qr},inflateGetHeader:function(a,l){if(zr(a))return Ke;var i=a.state;return (2&i.wrap)==0?Ke:(i.head=l,l.done=false,qr)},inflateSetDictionary:function(a,l){var i,d=l.length;return zr(a)||(i=a.state).wrap!==0&&i.mode!==ua?Ke:i.mode===ua&&qt(1,l,d,0)!==i.check?tu:fu(a,l,d,d)?(i.mode=16210,nu):(i.havedict=1,qr)},inflateInfo:"pako inflate (from Nodeca project)"},nh=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=false;},pu=Object.prototype.toString,ah=X.Z_NO_FLUSH,ih=X.Z_FINISH,Wt=X.Z_OK,ci=X.Z_STREAM_END,fi=X.Z_NEED_DICT,oh=X.Z_STREAM_ERROR,hu=X.Z_DATA_ERROR,uh=X.Z_MEM_ERROR;function Kt(a){this.options=Ko({chunkSize:65536,windowBits:15,to:""},a||{});var l=this.options;l.raw&&l.windowBits>=0&&l.windowBits<16&&(l.windowBits=-l.windowBits,l.windowBits===0&&(l.windowBits=-15)),!(l.windowBits>=0&&l.windowBits<16)||a&&a.windowBits||(l.windowBits+=32),l.windowBits>15&&l.windowBits<48&&(15&l.windowBits)==0&&(l.windowBits|=15),this.err=0,this.msg="",this.ended=false,this.chunks=[],this.strm=new $o,this.strm.avail_out=0;var i=dr.inflateInit2(this.strm,l.windowBits);if(i!==Wt)throw new Error(Fr[i]);if(this.header=new nh,dr.inflateGetHeader(this.strm,this.header),l.dictionary&&(typeof l.dictionary=="string"?l.dictionary=ni(l.dictionary):pu.call(l.dictionary)==="[object ArrayBuffer]"&&(l.dictionary=new Uint8Array(l.dictionary)),l.raw&&(i=dr.inflateSetDictionary(this.strm,l.dictionary))!==Wt))throw new Error(Fr[i])}function pi(a,l){var i=new Kt(l);if(i.push(a),i.err)throw i.msg||Fr[i.err];return i.result}Kt.prototype.push=function(a,l){var i,d,g,m=this.strm,D=this.options.chunkSize,v=this.options.dictionary;if(this.ended)return false;for(d=l===~~l?l:l===true?ih:ah,pu.call(a)==="[object ArrayBuffer]"?m.input=new Uint8Array(a):m.input=a,m.next_in=0,m.avail_in=m.input.length;;){for(m.avail_out===0&&(m.output=new Uint8Array(D),m.next_out=0,m.avail_out=D),(i=dr.inflate(m,d))===fi&&v&&((i=dr.inflateSetDictionary(m,v))===Wt?i=dr.inflate(m,d):i===hu&&(i=fi));m.avail_in>0&&i===ci&&m.state.wrap>0&&a[m.next_in]!==0;)dr.inflateReset(m),i=dr.inflate(m,d);switch(i){case oh:case hu:case fi:case uh:return this.onEnd(i),this.ended=true,false}if(g=m.avail_out,m.next_out&&(m.avail_out===0||i===ci))if(this.options.to==="string"){var _=Lp(m.output,m.next_out),E=m.next_out-_,x=Fp(m.output,_);m.next_out=E,m.avail_out=D-E,E&&m.output.set(m.output.subarray(_,_+E),0),this.onData(x);}else this.onData(m.output.length===m.next_out?m.output:m.output.subarray(0,m.next_out));if(i!==Wt||g!==0){if(i===ci)return i=dr.inflateEnd(this.strm),this.onEnd(i),this.ended=true,true;if(m.avail_in===0)break}}return true},Kt.prototype.onData=function(a){this.chunks.push(a);},Kt.prototype.onEnd=function(a){a===Wt&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Qo(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg;};var ca={Inflate:Kt,inflate:pi,inflateRaw:function(a,l){return (l=l||{}).raw=true,pi(a,l)},ungzip:pi},du=ta.Deflate,gu=ta.deflate,mu=ta.deflateRaw,vu=ta.gzip,yu=ca.Inflate,Eu=ca.inflate,bu=ca.inflateRaw,xu=ca.ungzip,wu=X,sh={Deflate:du,deflate:gu,deflateRaw:mu,gzip:vu,Inflate:yu,inflate:Eu,inflateRaw:bu,ungzip:xu,constants:wu};e.Deflate=du,e.Inflate=yu,e.constants=wu,e.default=sh,e.deflate=gu,e.deflateRaw=mu,e.gzip=vu,e.inflate=Eu,e.inflateRaw=bu,e.ungzip=xu,Object.defineProperty(e,"__esModule",{value:true});}));});var Ou=chunkPCJ5ACUV_cjs.b(st=>{var _u=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",Su=Cu();st.uncompressInputType=_u?"uint8array":"array";st.compressInputType=_u?"uint8array":"array";st.magic="\b\0";st.compress=function(e,r){return Su.deflateRaw(e,{level:r.level||-1})};st.uncompress=function(e){return Su.inflateRaw(e)};});var ga=chunkPCJ5ACUV_cjs.b(mi=>{mi.STORE={magic:"\0\0",compress:function(r){return r},uncompress:function(r){return r},compressInputType:null,uncompressInputType:null};mi.DEFLATE=Ou();});var ma=chunkPCJ5ACUV_cjs.b((Gb,vi)=>{vi.exports=function(e,r){return typeof e=="number"?Buffer.alloc(e):Buffer.from(e,r)};vi.exports.test=function(e){return Buffer.isBuffer(e)};});var He=chunkPCJ5ACUV_cjs.b(_e=>{function Ea(e){"@babel/helpers - typeof";return Ea=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ea(e)}var ya=Vr(),va=ga(),lt=ma();_e.string2binary=function(e){for(var r="",t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)&255);return r};_e.arrayBuffer2Blob=function(e,r){_e.checkSupport("blob"),r=r||"application/zip";try{return new Blob([e],{type:r})}catch{try{var t=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,n=new t;return n.append(e),n.getBlob(r)}catch{throw new Error("Bug : can't construct the Blob.")}}};function Qt(e){return e}function yi(e,r){for(var t=0;t<e.length;++t)r[t]=e.charCodeAt(t)&255;return r}function Jt(e){var r=65536,t=[],n=e.length,o=_e.getTypeOf(e),u=0,s=true;try{switch(o){case "uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case "nodebuffer":String.fromCharCode.apply(null,lt(0));break}}catch{s=false;}if(!s){for(var c="",f=0;f<e.length;f++)c+=String.fromCharCode(e[f]);return c}for(;u<n&&r>1;)try{o==="array"||o==="nodebuffer"?t.push(String.fromCharCode.apply(null,e.slice(u,Math.min(u+r,n)))):t.push(String.fromCharCode.apply(null,e.subarray(u,Math.min(u+r,n)))),u+=r;}catch{r=Math.floor(r/2);}return t.join("")}_e.applyFromCharCode=Jt;function ba(e,r){for(var t=0;t<e.length;t++)r[t]=e[t];return r}var Cr={};Cr.string={string:Qt,array:function(r){return yi(r,new Array(r.length))},arraybuffer:function(r){return Cr.string.uint8array(r).buffer},uint8array:function(r){return yi(r,new Uint8Array(r.length))},nodebuffer:function(r){return yi(r,lt(r.length))}};Cr.array={string:Jt,array:Qt,arraybuffer:function(r){return new Uint8Array(r).buffer},uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return lt(r)}};Cr.arraybuffer={string:function(r){return Jt(new Uint8Array(r))},array:function(r){return ba(new Uint8Array(r),new Array(r.byteLength))},arraybuffer:Qt,uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return lt(new Uint8Array(r))}};Cr.uint8array={string:Jt,array:function(r){return ba(r,new Array(r.length))},arraybuffer:function(r){return r.buffer},uint8array:Qt,nodebuffer:function(r){return lt(r)}};Cr.nodebuffer={string:Jt,array:function(r){return ba(r,new Array(r.length))},arraybuffer:function(r){return Cr.nodebuffer.uint8array(r).buffer},uint8array:function(r){return ba(r,new Uint8Array(r.length))},nodebuffer:Qt};_e.transformTo=function(e,r){if(r||(r=""),!e)return r;_e.checkSupport(e);var t=_e.getTypeOf(r),n=Cr[t][e](r);return n};_e.getTypeOf=function(e){if(e!=null){if(typeof e=="string")return "string";var r=Object.prototype.toString.call(e);if(r==="[object Array]")return "array";if(ya.nodebuffer&&lt.test(e))return "nodebuffer";if(ya.uint8array&&r==="[object Uint8Array]")return "uint8array";if(ya.arraybuffer&&r==="[object ArrayBuffer]")return "arraybuffer";if(r==="[object Promise]")throw new Error("Cannot read data from a promise, you probably are running new PizZip(data) with a promise");if(Ea(e)==="object"&&typeof e.file=="function")throw new Error("Cannot read data from a pizzip instance, you probably are running new PizZip(zip) with a zipinstance");if(r==="[object Date]")throw new Error("Cannot read data from a Date, you probably are running new PizZip(data) with a date");if(Ea(e)==="object"&&e.crc32==null)throw new Error("Unsupported data given to new PizZip(data) (object given)")}};_e.checkSupport=function(e){var r=ya[e.toLowerCase()];if(!r)throw new Error(e+" is not supported by this browser")};_e.MAX_VALUE_16BITS=65535;_e.MAX_VALUE_32BITS=-1;_e.pretty=function(e){var r="",t,n;for(n=0;n<(e||"").length;n++)t=e.charCodeAt(n),r+="\\x"+(t<16?"0":"")+t.toString(16).toUpperCase();return r};_e.findCompression=function(e){for(var r in va)if(va.hasOwnProperty(r)&&va[r].magic===e)return va[r];return null};_e.isRegExp=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"};_e.extend=function(){var e={},r,t;for(r=0;r<arguments.length;r++)for(t in arguments[r])arguments[r].hasOwnProperty(t)&&typeof e[t]>"u"&&(e[t]=arguments[r][t]);return e};});var Iu=chunkPCJ5ACUV_cjs.b((Wb,Nu)=>{var lh=He(),ch=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];Nu.exports=function(r,t){if(typeof r>"u"||!r.length)return 0;var n=lh.getTypeOf(r)!=="string";typeof t>"u"&&(t=0);var o=0,u=0,s=0;t^=-1;for(var c=0,f=r.length;c<f;c++)s=n?r[c]:r.charCodeAt(c),u=(t^s)&255,o=ch[u],t=t>>>8^o;return t^-1};});var Ei=chunkPCJ5ACUV_cjs.b(Xr=>{Xr.LOCAL_FILE_HEADER="PK";Xr.CENTRAL_FILE_HEADER="PK";Xr.CENTRAL_DIRECTORY_END="PK";Xr.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07";Xr.ZIP64_CENTRAL_DIRECTORY_END="PK";Xr.DATA_DESCRIPTOR="PK\x07\b";});var bi=chunkPCJ5ACUV_cjs.b(Je=>{Je.base64=false;Je.binary=false;Je.dir=false;Je.createFolders=false;Je.date=null;Je.compression=null;Je.compressionOptions=null;Je.comment=null;Je.unixPermissions=null;Je.dosPermissions=null;});var xi=chunkPCJ5ACUV_cjs.b((Jb,Pu)=>{function Bu(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null;}Bu.prototype={getContent:function(){return null},getCompressedContent:function(){return null}};Pu.exports=Bu;});var Ai=chunkPCJ5ACUV_cjs.b(Di=>{var wi=He(),$t=Vr(),fh=ma(),en=new Array(256);for(gr=0;gr<256;gr++)en[gr]=gr>=252?6:gr>=248?5:gr>=240?4:gr>=224?3:gr>=192?2:1;var gr;en[254]=en[254]=1;function ph(e){var r,t,n,o,u,s=0,c=e.length;for(o=0;o<c;o++)t=e.charCodeAt(o),(t&64512)===55296&&o+1<c&&(n=e.charCodeAt(o+1),(n&64512)===56320&&(t=65536+(t-55296<<10)+(n-56320),o++)),s+=t<128?1:t<2048?2:t<65536?3:4;for($t.uint8array?r=new Uint8Array(s):r=new Array(s),u=0,o=0;u<s;o++)t=e.charCodeAt(o),(t&64512)===55296&&o+1<c&&(n=e.charCodeAt(o+1),(n&64512)===56320&&(t=65536+(t-55296<<10)+(n-56320),o++)),t<128?r[u++]=t:t<2048?(r[u++]=192|t>>>6,r[u++]=128|t&63):t<65536?(r[u++]=224|t>>>12,r[u++]=128|t>>>6&63,r[u++]=128|t&63):(r[u++]=240|t>>>18,r[u++]=128|t>>>12&63,r[u++]=128|t>>>6&63,r[u++]=128|t&63);return r}function hh(e,r){var t;for(r=r||e.length,r>e.length&&(r=e.length),t=r-1;t>=0&&(e[t]&192)===128;)t--;return t<0||t===0?r:t+en[e[t]]>r?t:r}function Ru(e){var r,t,n,o,u=e.length,s=new Array(u*2);for(t=0,r=0;r<u;){if(n=e[r++],n<128){s[t++]=n;continue}if(o=en[n],o>4){s[t++]=65533,r+=o-1;continue}for(n&=o===2?31:o===3?15:7;o>1&&r<u;)n=n<<6|e[r++]&63,o--;if(o>1){s[t++]=65533;continue}n<65536?s[t++]=n:(n-=65536,s[t++]=55296|n>>10&1023,s[t++]=56320|n&1023);}return s.length!==t&&(s.subarray?s=s.subarray(0,t):s.length=t),wi.applyFromCharCode(s)}Di.utf8encode=function(r){return $t.nodebuffer?fh(r,"utf-8"):ph(r)};Di.utf8decode=function(r){if($t.nodebuffer)return wi.transformTo("nodebuffer",r).toString("utf-8");r=wi.transformTo($t.uint8array?"uint8array":"array",r);for(var t=[],n=r.length,o=65536,u=0;u<n;){var s=hh(r,Math.min(u+o,n));$t.uint8array?t.push(Ru(r.subarray(u,s))):t.push(Ru(r.slice(u,s))),u=s;}return t.join("")};});var Lu=chunkPCJ5ACUV_cjs.b((e1,Fu)=>{var dh=He();function ku(){this.data=[];}ku.prototype={append:function(r){r=dh.transformTo("string",r),this.data.push(r);},finalize:function(){return this.data.join("")}};Fu.exports=ku;});var qu=chunkPCJ5ACUV_cjs.b((r1,Uu)=>{var gh=He();function Mu(e){this.data=new Uint8Array(e),this.index=0;}Mu.prototype={append:function(r){r.length!==0&&(r=gh.transformTo("uint8array",r),this.data.set(r,this.index),this.index+=r.length);},finalize:function(){return this.data}};Uu.exports=Mu;});var Ii=chunkPCJ5ACUV_cjs.b((t1,Yu)=>{function mh(e,r){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=vh(e))||r){t&&(e=t);var n=0,o=function(){};return {s:o,n:function(){return n>=e.length?{done:true}:{done:false,value:e[n++]}},e:function(h){throw h},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var u,s=true,c=false;return {s:function(){t=t.call(e);},n:function(){var h=t.next();return s=h.done,h},e:function(h){c=true,u=h;},f:function(){try{s||t.return==null||t.return();}finally{if(c)throw u}}}}function vh(e,r){if(e){if(typeof e=="string")return zu(e,r);var t={}.toString.call(e).slice(8,-1);return t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set"?Array.from(e):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?zu(e,r):void 0}}function zu(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var yh=Vr(),he=He(),Oi=Iu(),Ti=Ei(),Eh=bi(),Vu=ha(),Ci=ga(),xa=xi(),bh=ma(),ct=Ai(),xh=Lu(),wh=qu();function Xu(e){if(e._data instanceof xa&&(e._data=e._data.getContent(),e.options.binary=true,e.options.base64=false,he.getTypeOf(e._data)==="uint8array")){var r=e._data;e._data=new Uint8Array(r.length),r.length!==0&&e._data.set(r,0);}return e._data}function _i(e){var r=Xu(e),t=he.getTypeOf(r);return t==="string"?!e.options.binary&&yh.nodebuffer?bh(r,"utf-8"):e.asBinary():r}var Si={load:function(){throw new Error("Load method is not defined. Is the file pizzip-load.js included ?")},filter:function(r){var t=[],n,o,u,s;for(n in this.files)this.files.hasOwnProperty(n)&&(u=this.files[n],s=new Ni(u.name,u._data,he.extend(u.options)),o=n.slice(this.root.length,n.length),n.slice(0,this.root.length)===this.root&&r(o,s)&&t.push(s));return t},file:function(r,t,n){if(arguments.length===1){if(he.isRegExp(r)){var o=r;return this.filter(function(u,s){return !s.dir&&o.test(u)})}return this.filter(function(u,s){return !s.dir&&u===r})[0]||null}return r=this.root+r,Hu.call(this,r,t,n),this},folder:function(r){if(!r)return this;if(he.isRegExp(r))return this.filter(function(u,s){return s.dir&&r.test(u)});var t=this.root+r,n=Gu.call(this,t),o=this.shallowClone();return o.root=n.name,o},remove:function(r){r=this.root+r;var t=this.files[r];if(t||(r.slice(-1)!=="/"&&(r+="/"),t=this.files[r]),t&&!t.dir)delete this.files[r];else for(var n=this.filter(function(u,s){return s.name.slice(0,r.length)===r}),o=0;o<n.length;o++)delete this.files[n[o].name];return this},generate:function(r){r=he.extend(r||{},{base64:true,compression:"STORE",compressionOptions:null,type:"base64",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:ct.utf8encode}),he.checkSupport(r.type),(r.platform==="darwin"||r.platform==="freebsd"||r.platform==="linux"||r.platform==="sunos")&&(r.platform="UNIX"),r.platform==="win32"&&(r.platform="DOS");var t=[],n=he.transformTo("string",r.encodeFileName(r.comment||this.comment||"")),o=0,u=0,s,c,f=[];r.fileOrder instanceof Array&&(f=r.fileOrder);for(var h in this.files)f.indexOf(h)===-1&&f.push(h);typeof r.fileOrder=="function"&&(f=r.fileOrder(this.files));var p=mh(f),y;try{for(p.s();!(y=p.n()).done;){var b=y.value;if(this.files.hasOwnProperty(b)){var w=this.files[b],T=w.options.compression||r.compression.toUpperCase(),C=Ci[T];if(!C)throw new Error(T+" is not a valid compression method !");var O=w.options.compressionOptions||r.compressionOptions||{},P=Th.call(this,w,C,O),R=Sh.call(this,b,w,P,o,r.platform,r.encodeFileName);o+=R.fileRecord.length+P.compressedSize,u+=R.dirRecord.length,t.push(R);}}}catch(V){p.e(V);}finally{p.f();}var S="";S=Ti.CENTRAL_DIRECTORY_END+"\0\0\0\0"+ve(t.length,2)+ve(t.length,2)+ve(u,4)+ve(o,4)+ve(n.length,2)+n;var k=r.type.toLowerCase();for(k==="uint8array"||k==="arraybuffer"||k==="blob"||k==="nodebuffer"?s=new wh(o+u+S.length):s=new xh(o+u+S.length),c=0;c<t.length;c++)s.append(t[c].fileRecord),s.append(t[c].compressedObject.compressedContent);for(c=0;c<t.length;c++)s.append(t[c].dirRecord);s.append(S);var q=s.finalize();switch(r.type.toLowerCase()){case "uint8array":case "arraybuffer":case "nodebuffer":return he.transformTo(r.type.toLowerCase(),q);case "blob":return he.arrayBuffer2Blob(he.transformTo("arraybuffer",q),r.mimeType);case "base64":return r.base64?Vu.encode(q):q;default:return q}},crc32:function(r,t){return Oi(r,t)},utf8encode:function(r){return he.transformTo("string",ct.utf8encode(r))},utf8decode:function(r){return ct.utf8decode(r)}};function ju(e){var r=Xu(this);return r===null||typeof r>"u"?"":(this.options.base64&&(r=Vu.decode(r)),e&&this.options.binary?r=Si.utf8decode(r):r=he.transformTo("string",r),!e&&!this.options.binary&&(r=he.transformTo("string",Si.utf8encode(r))),r)}function Ni(e,r,t){this.name=e,this.dir=t.dir,this.date=t.date,this.comment=t.comment,this.unixPermissions=t.unixPermissions,this.dosPermissions=t.dosPermissions,this._data=r,this.options=t,this._initialMetadata={dir:t.dir,date:t.date};}Ni.prototype={asText:function(){return ju.call(this,true)},asBinary:function(){return ju.call(this,false)},asNodeBuffer:function(){var r=_i(this);return he.transformTo("nodebuffer",r)},asUint8Array:function(){var r=_i(this);return he.transformTo("uint8array",r)},asArrayBuffer:function(){return this.asUint8Array().buffer}};function ve(e,r){var t="",n;for(n=0;n<r;n++)t+=String.fromCharCode(e&255),e>>>=8;return t}function Dh(e){return e=e||{},e.base64===true&&(e.binary===null||e.binary===void 0)&&(e.binary=true),e=he.extend(e,Eh),e.date=e.date||new Date,e.compression!==null&&(e.compression=e.compression.toUpperCase()),e}function Hu(e,r,t){var n=he.getTypeOf(r),o;if(t=Dh(t),typeof t.unixPermissions=="string"&&(t.unixPermissions=parseInt(t.unixPermissions,8)),t.unixPermissions&&t.unixPermissions&16384&&(t.dir=true),t.dosPermissions&&t.dosPermissions&16&&(t.dir=true),t.dir&&(e=Zu(e)),t.createFolders&&(o=Ah(e))&&Gu.call(this,o,true),t.dir||r===null||typeof r>"u")t.base64=false,t.binary=false,r=null,n=null;else if(n==="string")t.binary&&!t.base64&&t.optimizedBinaryString!==true&&(r=he.string2binary(r));else {if(t.base64=false,t.binary=true,!n&&!(r instanceof xa))throw new Error("The data of '"+e+"' is in an unsupported format !");n==="arraybuffer"&&(r=he.transformTo("uint8array",r));}var u=new Ni(e,r,t);return this.files[e]=u,u}function Ah(e){e.slice(-1)==="/"&&(e=e.substring(0,e.length-1));var r=e.lastIndexOf("/");return r>0?e.substring(0,r):""}function Zu(e){return e.slice(-1)!=="/"&&(e+="/"),e}function Gu(e,r){return r=typeof r<"u"?r:false,e=Zu(e),this.files[e]||Hu.call(this,e,null,{dir:true,createFolders:r}),this.files[e]}function Th(e,r,t){var n=new xa,o;return e._data instanceof xa?(n.uncompressedSize=e._data.uncompressedSize,n.crc32=e._data.crc32,n.uncompressedSize===0||e.dir?(r=Ci.STORE,n.compressedContent="",n.crc32=0):e._data.compressionMethod===r.magic?n.compressedContent=e._data.getCompressedContent():(o=e._data.getContent(),n.compressedContent=r.compress(he.transformTo(r.compressInputType,o),t))):(o=_i(e),(!o||o.length===0||e.dir)&&(r=Ci.STORE,o=""),n.uncompressedSize=o.length,n.crc32=Oi(o),n.compressedContent=r.compress(he.transformTo(r.compressInputType,o),t)),n.compressedSize=n.compressedContent.length,n.compressionMethod=r.magic,n}function Ch(e,r){var t=e;return e||(t=r?16893:33204),(t&65535)<<16}function _h(e){return (e||0)&63}function Sh(e,r,t,n,o,u){var s=u!==ct.utf8encode,c=he.transformTo("string",u(r.name)),f=he.transformTo("string",ct.utf8encode(r.name)),h=r.comment||"",p=he.transformTo("string",u(h)),y=he.transformTo("string",ct.utf8encode(h)),b=f.length!==r.name.length,w=y.length!==h.length,T=r.options,C,O,P="",R="",S="",k,q;r._initialMetadata.dir!==r.dir?k=r.dir:k=T.dir,r._initialMetadata.date!==r.date?q=r.date:q=T.date;var V=0,G=0;k&&(V|=16),o==="UNIX"?(G=798,V|=Ch(r.unixPermissions,k)):(G=20,V|=_h(r.dosPermissions)),C=q.getHours(),C<<=6,C|=q.getMinutes(),C<<=5,C|=q.getSeconds()/2,O=q.getFullYear()-1980,O<<=4,O|=q.getMonth()+1,O<<=5,O|=q.getDate(),b&&(R=ve(1,1)+ve(Oi(c),4)+f,P+="up"+ve(R.length,2)+R),w&&(S=ve(1,1)+ve(this.crc32(p),4)+y,P+="uc"+ve(S.length,2)+S);var M="";M+=`
3
+ \0`,M+=!s&&(b||w)?"\0\b":"\0\0",M+=t.compressionMethod,M+=ve(C,2),M+=ve(O,2),M+=ve(t.crc32,4),M+=ve(t.compressedSize,4),M+=ve(t.uncompressedSize,4),M+=ve(c.length,2),M+=ve(P.length,2);var te=Ti.LOCAL_FILE_HEADER+M+c+P,ge=Ti.CENTRAL_FILE_HEADER+ve(G,2)+M+ve(p.length,2)+"\0\0\0\0"+ve(V,4)+ve(n,4)+c+P+p;return {fileRecord:te,dirRecord:ge,compressedObject:t}}Yu.exports=Si;});var Bi=chunkPCJ5ACUV_cjs.b((n1,Ku)=>{var Oh=He();function Wu(){this.data=null,this.length=0,this.index=0,this.zero=0;}Wu.prototype={checkOffset:function(r){this.checkIndex(this.index+r);},checkIndex:function(r){if(this.length<this.zero+r||r<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+r+"). Corrupted zip ?")},setIndex:function(r){this.checkIndex(r),this.index=r;},skip:function(r){this.setIndex(this.index+r);},byteAt:function(){},readInt:function(r){var t=0,n;for(this.checkOffset(r),n=this.index+r-1;n>=this.index;n--)t=(t<<8)+this.byteAt(n);return this.index+=r,t},readString:function(r){return Oh.transformTo("string",this.readData(r))},readData:function(){},lastIndexOfSignature:function(){},readDate:function(){var r=this.readInt(4);return new Date((r>>25&127)+1980,(r>>21&15)-1,r>>16&31,r>>11&31,r>>5&63,(r&31)<<1)}};Ku.exports=Wu;});var Pi=chunkPCJ5ACUV_cjs.b((a1,Qu)=>{var Nh=Bi(),Ih=He();function rn(e,r){this.data=e,r||(this.data=Ih.string2binary(this.data)),this.length=this.data.length,this.index=0,this.zero=0;}rn.prototype=new Nh;rn.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)};rn.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero};rn.prototype.readData=function(e){this.checkOffset(e);var r=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,r};Qu.exports=rn;});var Ri=chunkPCJ5ACUV_cjs.b((i1,Ju)=>{var Bh=Bi();function tn(e){if(e){this.data=e,this.length=this.data.length,this.index=0,this.zero=0;for(var r=0;r<this.data.length;r++)e[r]&=e[r];}}tn.prototype=new Bh;tn.prototype.byteAt=function(e){return this.data[this.zero+e]};tn.prototype.lastIndexOfSignature=function(e){for(var r=e.charCodeAt(0),t=e.charCodeAt(1),n=e.charCodeAt(2),o=e.charCodeAt(3),u=this.length-4;u>=0;--u)if(this.data[u]===r&&this.data[u+1]===t&&this.data[u+2]===n&&this.data[u+3]===o)return u-this.zero;return -1};tn.prototype.readData=function(e){if(this.checkOffset(e),e===0)return [];var r=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,r};Ju.exports=tn;});var Fi=chunkPCJ5ACUV_cjs.b((o1,$u)=>{var Ph=Ri();function ki(e){e&&(this.data=e,this.length=this.data.length,this.index=0,this.zero=0);}ki.prototype=new Ph;ki.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array(0);var r=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,r};$u.exports=ki;});var rs=chunkPCJ5ACUV_cjs.b((u1,es)=>{var Rh=Fi();function Li(e){this.data=e,this.length=this.data.length,this.index=0,this.zero=0;}Li.prototype=new Rh;Li.prototype.readData=function(e){this.checkOffset(e);var r=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,r};es.exports=Li;});var as=chunkPCJ5ACUV_cjs.b((s1,ns)=>{var Mi=Pi(),$e=He(),kh=xi(),Hr=Ii(),Fh=Vr(),Lh=0,Mh=3;function ts(e,r){this.options=e,this.loadOptions=r;}ts.prototype={isEncrypted:function(){return (this.bitFlag&1)===1},useUTF8:function(){return (this.bitFlag&2048)===2048},prepareCompressedContent:function(r,t,n){return function(){var o=r.index;r.setIndex(t);var u=r.readData(n);return r.setIndex(o),u}},prepareContent:function(r,t,n,o,u){return function(){var s=$e.transformTo(o.uncompressInputType,this.getCompressedContent()),c=o.uncompress(s);if(c.length!==u)throw new Error("Bug : uncompressed data size mismatch");return c}},readLocalPart:function(r){r.skip(22),this.fileNameLength=r.readInt(2);var t=r.readInt(2);if(this.fileName=r.readData(this.fileNameLength),r.skip(t),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize == -1 || uncompressedSize == -1)");var n=$e.findCompression(this.compressionMethod);if(n===null)throw new Error("Corrupted zip : compression "+$e.pretty(this.compressionMethod)+" unknown (inner file : "+$e.transformTo("string",this.fileName)+")");if(this.decompressed=new kh,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(r,r.index,this.compressedSize,n),this.decompressed.getContent=this.prepareContent(r,r.index,this.compressedSize,n,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=$e.transformTo("string",this.decompressed.getContent()),Hr.crc32(this.decompressed)!==this.crc32))throw new Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(r){if(this.versionMadeBy=r.readInt(2),this.versionNeeded=r.readInt(2),this.bitFlag=r.readInt(2),this.compressionMethod=r.readString(2),this.date=r.readDate(),this.crc32=r.readInt(4),this.compressedSize=r.readInt(4),this.uncompressedSize=r.readInt(4),this.fileNameLength=r.readInt(2),this.extraFieldsLength=r.readInt(2),this.fileCommentLength=r.readInt(2),this.diskNumberStart=r.readInt(2),this.internalFileAttributes=r.readInt(2),this.externalFileAttributes=r.readInt(4),this.localHeaderOffset=r.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");this.fileName=r.readData(this.fileNameLength),this.readExtraFields(r),this.parseZIP64ExtraField(r),this.fileComment=r.readData(this.fileCommentLength);},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var r=this.versionMadeBy>>8;this.dir=!!(this.externalFileAttributes&16),r===Lh&&(this.dosPermissions=this.externalFileAttributes&63),r===Mh&&(this.unixPermissions=this.externalFileAttributes>>16&65535),!this.dir&&this.fileNameStr.slice(-1)==="/"&&(this.dir=true);},parseZIP64ExtraField:function(){if(this.extraFields[1]){var r=new Mi(this.extraFields[1].value);this.uncompressedSize===$e.MAX_VALUE_32BITS&&(this.uncompressedSize=r.readInt(8)),this.compressedSize===$e.MAX_VALUE_32BITS&&(this.compressedSize=r.readInt(8)),this.localHeaderOffset===$e.MAX_VALUE_32BITS&&(this.localHeaderOffset=r.readInt(8)),this.diskNumberStart===$e.MAX_VALUE_32BITS&&(this.diskNumberStart=r.readInt(4));}},readExtraFields:function(r){var t=r.index,n,o,u;for(this.extraFields=this.extraFields||{};r.index<t+this.extraFieldsLength;)n=r.readInt(2),o=r.readInt(2),u=r.readString(o),this.extraFields[n]={id:n,length:o,value:u};},handleUTF8:function(){var r=Fh.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=Hr.utf8decode(this.fileName),this.fileCommentStr=Hr.utf8decode(this.fileComment);else {var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else {var n=$e.transformTo(r,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n);}var o=this.findExtraFieldUnicodeComment();if(o!==null)this.fileCommentStr=o;else {var u=$e.transformTo(r,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(u);}}},findExtraFieldUnicodePath:function(){var r=this.extraFields[28789];if(r){var t=new Mi(r.value);return t.readInt(1)!==1||Hr.crc32(this.fileName)!==t.readInt(4)?null:Hr.utf8decode(t.readString(r.length-5))}return null},findExtraFieldUnicodeComment:function(){var r=this.extraFields[25461];if(r){var t=new Mi(r.value);return t.readInt(1)!==1||Hr.crc32(this.fileComment)!==t.readInt(4)?null:Hr.utf8decode(t.readString(r.length-5))}return null}};ns.exports=ts;});var us=chunkPCJ5ACUV_cjs.b((l1,os)=>{var Uh=Pi(),qh=rs(),zh=Fi(),jh=Ri(),je=He(),er=Ei(),Vh=as(),wa=Vr();function is(e,r){this.files=[],this.loadOptions=r,e&&this.load(e);}is.prototype={checkSignature:function(r){var t=this.reader.readString(4);if(t!==r)throw new Error("Corrupted zip or bug : unexpected signature ("+je.pretty(t)+", expected "+je.pretty(r)+")")},isSignature:function(r,t){var n=this.reader.index;this.reader.setIndex(r);var o=this.reader.readString(4),u=o===t;return this.reader.setIndex(n),u},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var r=this.reader.readData(this.zipCommentLength),t=wa.uint8array?"uint8array":"array",n=je.transformTo(t,r);this.zipComment=this.loadOptions.decodeFileName(n);},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var r=this.zip64EndOfCentralSize-44,t=0,n,o,u;t<r;)n=this.reader.readInt(2),o=this.reader.readInt(4),u=this.reader.readString(o),this.zip64ExtensibleData[n]={id:n,length:o,value:u};},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var r,t;for(r=0;r<this.files.length;r++)t=this.files[r],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(er.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes();},readCentralDir:function(){var r;for(this.reader.setIndex(this.centralDirOffset);this.reader.readString(4)===er.CENTRAL_FILE_HEADER;)r=new Vh({zip64:this.zip64},this.loadOptions),r.readCentralPart(this.reader),this.files.push(r);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var r=this.reader.lastIndexOfSignature(er.CENTRAL_DIRECTORY_END);if(r<0){var t=!this.isSignature(0,er.LOCAL_FILE_HEADER);throw t?new Error("Can't find end of central directory : is this a zip file ?"):new Error("Corrupted zip : can't find end of central directory")}this.reader.setIndex(r);var n=r;if(this.checkSignature(er.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===je.MAX_VALUE_16BITS||this.diskWithCentralDirStart===je.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===je.MAX_VALUE_16BITS||this.centralDirRecords===je.MAX_VALUE_16BITS||this.centralDirSize===je.MAX_VALUE_32BITS||this.centralDirOffset===je.MAX_VALUE_32BITS){if(this.zip64=true,r=this.reader.lastIndexOfSignature(er.ZIP64_CENTRAL_DIRECTORY_LOCATOR),r<0)throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(r),this.checkSignature(er.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,er.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(er.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip : can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(er.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral();}var o=this.centralDirOffset+this.centralDirSize;this.zip64&&(o+=20,o+=12+this.zip64EndOfCentralSize);var u=n-o;if(u>0)this.isSignature(n,er.CENTRAL_FILE_HEADER)||(this.reader.zero=u);else if(u<0)throw new Error("Corrupted zip: missing "+Math.abs(u)+" bytes.")},prepareReader:function(r){var t=je.getTypeOf(r);if(je.checkSupport(t),t==="string"&&!wa.uint8array)this.reader=new Uh(r,this.loadOptions.optimizedBinaryString);else if(t==="nodebuffer")this.reader=new qh(r);else if(wa.uint8array)this.reader=new zh(je.transformTo("uint8array",r));else if(wa.array)this.reader=new jh(je.transformTo("array",r));else throw new Error("Unexpected error: unsupported type '"+t+"'")},load:function(r){this.prepareReader(r),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles();}};os.exports=is;});var ls=chunkPCJ5ACUV_cjs.b((c1,ss)=>{var Xh=ha(),Hh=Ai(),Zh=He(),Gh=us();ss.exports=function(e,r){var t,n;r=Zh.extend(r||{},{base64:false,checkCRC32:false,optimizedBinaryString:false,createFolders:false,decodeFileName:Hh.utf8decode}),r.base64&&(e=Xh.decode(e));var o=new Gh(e,r),u=o.files;for(t=0;t<u.length;t++)n=u[t],this.file(n.fileNameStr,n.decompressed,{binary:true,optimizedBinaryString:true,date:n.date,dir:n.dir,comment:n.fileCommentStr.length?n.fileCommentStr:null,unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions,createFolders:r.createFolders});return o.zipComment.length&&(this.comment=o.zipComment),this};});var cs=chunkPCJ5ACUV_cjs.b(Fe=>{var ke=He();Fe.string2binary=function(e){return ke.string2binary(e)};Fe.string2Uint8Array=function(e){return ke.transformTo("uint8array",e)};Fe.uint8Array2String=function(e){return ke.transformTo("string",e)};Fe.string2Blob=function(e){var r=ke.transformTo("arraybuffer",e);return ke.arrayBuffer2Blob(r)};Fe.arrayBuffer2Blob=function(e){return ke.arrayBuffer2Blob(e)};Fe.transformTo=function(e,r){return ke.transformTo(e,r)};Fe.getTypeOf=function(e){return ke.getTypeOf(e)};Fe.checkSupport=function(e){return ke.checkSupport(e)};Fe.MAX_VALUE_16BITS=ke.MAX_VALUE_16BITS;Fe.MAX_VALUE_32BITS=ke.MAX_VALUE_32BITS;Fe.pretty=function(e){return ke.pretty(e)};Fe.findCompression=function(e){return ke.findCompression(e)};Fe.isRegExp=function(e){return ke.isRegExp(e)};});var ps=chunkPCJ5ACUV_cjs.b((p1,Ui)=>{var fs=ha();function Ve(e,r){if(!(this instanceof Ve))return new Ve(e,r);this.files={},this.comment=null,this.root="",e&&this.load(e,r),this.clone=function(){var t=this,n=new Ve;return Object.keys(this.files).forEach(function(o){n.file(o,t.files[o].asUint8Array());}),n},this.shallowClone=function(){var t=new Ve;for(var n in this)typeof this[n]!="function"&&(t[n]=this[n]);return t};}Ve.prototype=Ii();Ve.prototype.load=ls();Ve.support=Vr();Ve.defaults=bi();Ve.utils=cs();Ve.base64={encode:function(r){return fs.encode(r)},decode:function(r){return fs.decode(r)}};Ve.compressions=ga();Ui.exports=Ve;Ui.exports.default=Ve;});var Gr=chunkPCJ5ACUV_cjs.b(Se=>{function Yh(e,r,t){if(t===void 0&&(t=Array.prototype),e&&typeof t.find=="function")return t.find.call(e,r);for(var n=0;n<e.length;n++)if(Zr(e,n)){var o=e[n];if(r.call(void 0,o,n,e))return o}}function ft(e,r){return r===void 0&&(r=Object),r&&typeof r.getOwnPropertyDescriptors=="function"&&(e=r.create(null,r.getOwnPropertyDescriptors(e))),r&&typeof r.freeze=="function"?r.freeze(e):e}function Zr(e,r){return Object.prototype.hasOwnProperty.call(e,r)}function Wh(e,r){if(e===null||typeof e!="object")throw new TypeError("target is not an object");for(var t in r)Zr(r,t)&&(e[t]=r[t]);return e}var hs=ft({allowfullscreen:true,async:true,autofocus:true,autoplay:true,checked:true,controls:true,default:true,defer:true,disabled:true,formnovalidate:true,hidden:true,ismap:true,itemscope:true,loop:true,multiple:true,muted:true,nomodule:true,novalidate:true,open:true,playsinline:true,readonly:true,required:true,reversed:true,selected:true});function Kh(e){return Zr(hs,e.toLowerCase())}var ds=ft({area:true,base:true,br:true,col:true,embed:true,hr:true,img:true,input:true,link:true,meta:true,param:true,source:true,track:true,wbr:true});function Qh(e){return Zr(ds,e.toLowerCase())}var nn=ft({script:false,style:false,textarea:true,title:true});function Jh(e){var r=e.toLowerCase();return Zr(nn,r)&&!nn[r]}function $h(e){var r=e.toLowerCase();return Zr(nn,r)&&nn[r]}function gs(e){return e===an.HTML}function ed(e){return gs(e)||e===an.XML_XHTML_APPLICATION}var an=ft({HTML:"text/html",XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),rd=Object.keys(an).map(function(e){return an[e]});function td(e){return rd.indexOf(e)>-1}var nd=ft({HTML:"http://www.w3.org/1999/xhtml",SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});Se.assign=Wh;Se.find=Yh;Se.freeze=ft;Se.HTML_BOOLEAN_ATTRIBUTES=hs;Se.HTML_RAW_TEXT_ELEMENTS=nn;Se.HTML_VOID_ELEMENTS=ds;Se.hasDefaultHTMLNamespace=ed;Se.hasOwn=Zr;Se.isHTMLBooleanAttribute=Kh;Se.isHTMLRawTextElement=Jh;Se.isHTMLEscapableRawTextElement=$h;Se.isHTMLMimeType=gs;Se.isHTMLVoidElement=Qh;Se.isValidMimeType=td;Se.MIME_TYPE=an;Se.NAMESPACE=nd;});var cn=chunkPCJ5ACUV_cjs.b(ln=>{var ad=Gr();function vs(e,r){e.prototype=Object.create(Error.prototype,{constructor:{value:e},name:{value:e.name,enumerable:true,writable:r}});}var un=ad.freeze({Error:"Error",IndexSizeError:"IndexSizeError",DomstringSizeError:"DomstringSizeError",HierarchyRequestError:"HierarchyRequestError",WrongDocumentError:"WrongDocumentError",InvalidCharacterError:"InvalidCharacterError",NoDataAllowedError:"NoDataAllowedError",NoModificationAllowedError:"NoModificationAllowedError",NotFoundError:"NotFoundError",NotSupportedError:"NotSupportedError",InUseAttributeError:"InUseAttributeError",InvalidStateError:"InvalidStateError",SyntaxError:"SyntaxError",InvalidModificationError:"InvalidModificationError",NamespaceError:"NamespaceError",InvalidAccessError:"InvalidAccessError",ValidationError:"ValidationError",TypeMismatchError:"TypeMismatchError",SecurityError:"SecurityError",NetworkError:"NetworkError",AbortError:"AbortError",URLMismatchError:"URLMismatchError",QuotaExceededError:"QuotaExceededError",TimeoutError:"TimeoutError",InvalidNodeTypeError:"InvalidNodeTypeError",DataCloneError:"DataCloneError",EncodingError:"EncodingError",NotReadableError:"NotReadableError",UnknownError:"UnknownError",ConstraintError:"ConstraintError",DataError:"DataError",TransactionInactiveError:"TransactionInactiveError",ReadOnlyError:"ReadOnlyError",VersionError:"VersionError",OperationError:"OperationError",NotAllowedError:"NotAllowedError",OptOutError:"OptOutError"}),ys=Object.keys(un);function Es(e){return typeof e=="number"&&e>=1&&e<=25}function id(e){return typeof e=="string"&&e.substring(e.length-un.Error.length)===un.Error}function sn(e,r){Es(e)?(this.name=ys[e],this.message=r||""):(this.message=e,this.name=id(r)?r:un.Error),Error.captureStackTrace&&Error.captureStackTrace(this,sn);}vs(sn,true);Object.defineProperties(sn.prototype,{code:{enumerable:true,get:function(){var e=ys.indexOf(this.name);return Es(e)?e:0}}});var bs={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25},qi=Object.entries(bs);for(on=0;on<qi.length;on++)ms=qi[on][0],sn[ms]=qi[on][1];var ms,on;function zi(e,r){this.message=e,this.locator=r,Error.captureStackTrace&&Error.captureStackTrace(this,zi);}vs(zi);ln.DOMException=sn;ln.DOMExceptionName=un;ln.ExceptionCode=bs;ln.ParseError=zi;});var Yi=chunkPCJ5ACUV_cjs.b(J=>{function _s(e){try{typeof e!="function"&&(e=RegExp);var r=new e("\u{1D306}","u").exec("\u{1D306}");return !!r&&r[0].length===2}catch{}return false}var gn=_s();function Yr(e){if(e.source[0]!=="[")throw new Error(e+" can not be used with chars");return e.source.slice(1,e.source.lastIndexOf("]"))}function pt(e,r){if(e.source[0]!=="[")throw new Error("/"+e.source+"/ can not be used with chars_without");if(!r||typeof r!="string")throw new Error(JSON.stringify(r)+" is not a valid search");if(e.source.indexOf(r)===-1)throw new Error('"'+r+'" is not is /'+e.source+"/");if(r==="-"&&e.source.indexOf(r)!==1)throw new Error('"'+r+'" is not at the first postion of /'+e.source+"/");return new RegExp(e.source.replace(r,""),gn?"u":"")}function re(e){var r=this;return new RegExp(Array.prototype.slice.call(arguments).map(function(t){var n=typeof t=="string";if(n&&r===void 0&&t==="|")throw new Error("use regg instead of reg to wrap expressions with `|`!");return n?t:t.source}).join(""),gn?"mu":"m")}function Z(e){if(arguments.length===0)throw new Error("no parameters provided");return re.apply(Z,["(?:"].concat(Array.prototype.slice.call(arguments),[")"]))}var od="\uFFFD",Wr=/[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;gn&&(Wr=re("[",Yr(Wr),"\\u{10000}-\\u{10FFFF}","]"));var Vi=/[\x20\x09\x0D\x0A]/,ud=Yr(Vi),le=re(Vi,"+"),me=re(Vi,"*"),fn=/[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;gn&&(fn=re("[",Yr(fn),"\\u{10000}-\\u{10FFFF}","]"));var sd=Yr(fn),Xi=re("[",sd,Yr(/[-.0-9\xB7]/),Yr(/[\u0300-\u036F\u203F-\u2040]/),"]"),Ze=re(fn,Xi,"*"),xs=re(Xi,"+"),ld=re("&",Ze,";"),cd=Z(/&#[0-9]+;|&#x[0-9a-fA-F]+;/),pn=Z(ld,"|",cd),hn=re("%",Ze,";"),Hi=Z(re('"',Z(/[^%&"]/,"|",hn,"|",pn),"*",'"'),"|",re("'",Z(/[^%&']/,"|",hn,"|",pn),"*","'")),fd=Z('"',Z(/[^<&"]/,"|",pn),"*",'"',"|","'",Z(/[^<&']/,"|",pn),"*","'"),pd=pt(fn,":"),hd=pt(Xi,":"),ws=re(pd,hd,"*"),mn=re(ws,Z(":",ws),"?"),dd=re("^",mn,"$"),gd=re("(",mn,")"),dn=Z(/"[^"]*"|'[^']*'/),md=re(/^<\?/,"(",Ze,")",Z(le,"(",Wr,"*?)"),"?",/\?>/),Ds=/[\x20\x0D\x0Aa-zA-Z0-9-'()+,./:=?;!*#@$_%]/,Da=Z('"',Ds,'*"',"|","'",pt(Ds,"'"),"*'"),Ss="<!--",Os="-->",vd=re(Ss,Z(pt(Wr,"-"),"|",re("-",pt(Wr,"-"))),"*",Os),As="#PCDATA",yd=Z(re(/\(/,me,As,Z(me,/\|/,me,mn),"*",me,/\)\*/),"|",re(/\(/,me,As,me,/\)/)),Ed=/[?*+]?/,bd=re(/\([^>]+\)/,Ed),xd=Z("EMPTY","|","ANY","|",yd,"|",bd),wd="<!ELEMENT",Dd=re(wd,le,Z(mn,"|",hn),le,Z(xd,"|",hn),me,">"),Ad=re("NOTATION",le,/\(/,me,Ze,Z(me,/\|/,me,Ze),"*",me,/\)/),Td=re(/\(/,me,xs,Z(me,/\|/,me,xs),"*",me,/\)/),Cd=Z(Ad,"|",Td),_d=Z(/CDATA|ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS/,"|",Cd),Sd=Z(/#REQUIRED|#IMPLIED/,"|",Z(Z("#FIXED",le),"?",fd)),Od=Z(le,Ze,le,_d,le,Sd),Nd="<!ATTLIST",Id=re(Nd,le,Ze,Od,"*",me,">"),ji="about:legacy-compat",Bd=Z('"'+ji+'"',"|","'"+ji+"'"),Zi="SYSTEM",Aa="PUBLIC",Ta=Z(Z(Zi,le,dn),"|",Z(Aa,le,Da,le,dn)),Pd=re("^",Z(Z(Zi,le,"(?<SystemLiteralOnly>",dn,")"),"|",Z(Aa,le,"(?<PubidLiteral>",Da,")",le,"(?<SystemLiteral>",dn,")"))),Rd=Z(le,"NDATA",le,Ze),kd=Z(Hi,"|",Z(Ta,Rd,"?")),Ns="<!ENTITY",Fd=re(Ns,le,Ze,le,kd,me,">"),Ld=Z(Hi,"|",Ta),Md=re(Ns,le,"%",le,Ze,le,Ld,me,">"),Ud=Z(Fd,"|",Md),qd=re(Aa,le,Da),zd=re("<!NOTATION",le,Ze,le,Z(Ta,"|",qd),me,">"),Gi=re(me,"=",me),Ts=/1[.]\d+/,jd=re(le,"version",Gi,Z("'",Ts,"'","|",'"',Ts,'"')),Cs=/[A-Za-z][-A-Za-z0-9._]*/,Vd=Z(le,"encoding",Gi,Z('"',Cs,'"',"|","'",Cs,"'")),Xd=Z(le,"standalone",Gi,Z("'",Z("yes","|","no"),"'","|",'"',Z("yes","|","no"),'"')),Hd=re(/^<\?xml/,jd,Vd,"?",Xd,"?",me,/\?>/),Zd="<!DOCTYPE",Gd="<![CDATA[",Yd="]]>",Wd=/<!\[CDATA\[/,Kd=/\]\]>/,Qd=re(Wr,"*?",Kd),Jd=re(Wd,Qd);J.chars=Yr;J.chars_without=pt;J.detectUnicodeSupport=_s;J.reg=re;J.regg=Z;J.ABOUT_LEGACY_COMPAT=ji;J.ABOUT_LEGACY_COMPAT_SystemLiteral=Bd;J.AttlistDecl=Id;J.CDATA_START=Gd;J.CDATA_END=Yd;J.CDSect=Jd;J.Char=Wr;J.Comment=vd;J.COMMENT_START=Ss;J.COMMENT_END=Os;J.DOCTYPE_DECL_START=Zd;J.elementdecl=Dd;J.EntityDecl=Ud;J.EntityValue=Hi;J.ExternalID=Ta;J.ExternalID_match=Pd;J.Name=Ze;J.NotationDecl=zd;J.Reference=pn;J.PEReference=hn;J.PI=md;J.PUBLIC=Aa;J.PubidLiteral=Da;J.QName=mn;J.QName_exact=dd;J.QName_group=gd;J.S=le;J.SChar_s=ud;J.S_OPT=me;J.SYSTEM=Zi;J.SystemLiteral=dn;J.UNICODE_REPLACEMENT_CHARACTER=od;J.UNICODE_SUPPORT=gn;J.XMLDecl=Hd;});var eo=chunkPCJ5ACUV_cjs.b(Ee=>{var Ge=Gr(),sr=Ge.find,$d=Ge.hasDefaultHTMLNamespace,dt=Ge.hasOwn,e0=Ge.isHTMLMimeType,r0=Ge.isHTMLRawTextElement,t0=Ge.isHTMLVoidElement,vn=Ge.MIME_TYPE,lr=Ge.NAMESPACE,Re=Symbol(),Ls=cn(),z=Ls.DOMException,n0=Ls.DOMExceptionName,ur=Yi();function Le(e){if(e!==Re)throw new TypeError("Illegal constructor")}function a0(e){return e!==""}function i0(e){return e?e.split(/[\t\n\f\r ]+/).filter(a0):[]}function o0(e,r){return dt(e,r)||(e[r]=true),e}function Is(e){if(!e)return [];var r=i0(e);return Object.keys(r.reduce(o0,{}))}function u0(e){return function(r){return e&&e.indexOf(r)!==-1}}function Ms(e){if(!ur.QName_exact.test(e))throw new z(z.INVALID_CHARACTER_ERR,'invalid character in qualified name "'+e+'"')}function Ki(e,r){Ms(r),e=e||null;var t=null,n=r;if(r.indexOf(":")>=0){var o=r.split(":");t=o[0],n=o[1];}if(t!==null&&e===null)throw new z(z.NAMESPACE_ERR,"prefix is non-null and namespace is null");if(t==="xml"&&e!==Ge.NAMESPACE.XML)throw new z(z.NAMESPACE_ERR,'prefix is "xml" and namespace is not the XML namespace');if((t==="xmlns"||r==="xmlns")&&e!==Ge.NAMESPACE.XMLNS)throw new z(z.NAMESPACE_ERR,'either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace');if(e===Ge.NAMESPACE.XMLNS&&t!=="xmlns"&&r!=="xmlns")throw new z(z.NAMESPACE_ERR,'namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"');return [e,t,n]}function vt(e,r){for(var t in e)dt(e,t)&&(r[t]=e[t]);}function Me(e,r){var t=e.prototype;if(!(t instanceof r)){let n=function(){};n.prototype=r.prototype,n=new n,vt(t,n),e.prototype=t=n;}t.constructor!=e&&(typeof e!="function"&&console.error("unknown Class:"+e),t.constructor=e);}var Ue={},rr=Ue.ELEMENT_NODE=1,gt=Ue.ATTRIBUTE_NODE=2,Ca=Ue.TEXT_NODE=3,Us=Ue.CDATA_SECTION_NODE=4,qs=Ue.ENTITY_REFERENCE_NODE=5,s0=Ue.ENTITY_NODE=6,zs=Ue.PROCESSING_INSTRUCTION_NODE=7,js=Ue.COMMENT_NODE=8,En=Ue.DOCUMENT_NODE=9,Vs=Ue.DOCUMENT_TYPE_NODE=10,_r=Ue.DOCUMENT_FRAGMENT_NODE=11,l0=Ue.NOTATION_NODE=12,ye=Ge.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32});function Xs(e,r){if(r.length<e.length)return Xs(r,e);var t=null;for(var n in e){if(e[n]!==r[n])return t;t=e[n];}return t}function Bs(e){return e.guid||(e.guid=Math.random()),e.guid}function xe(){}xe.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e){for(var r=[],t=0;t<this.length;t++)ht(this[t],r,e);return r.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}};xe.prototype[Symbol.iterator]=function(){var e=this,r=0;return {next:function(){return r<e.length?{value:e[r++],done:false}:{done:true}},return:function(){return {done:true}}}};function Kr(e,r){this._node=e,this._refresh=r,Sa(this);}function Sa(e){var r=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==r){var t=e._refresh(e._node);if(tl(e,"length",t.length),!e.$$length||t.length<e.$$length)for(var n=t.length;n in e;n++)dt(e,n)&&delete e[n];vt(t,e),e._inc=r;}}Kr.prototype.item=function(e){return Sa(this),this[e]||null};Me(Kr,xe);function mt(){}function Hs(e,r){for(var t=0;t<e.length;){if(e[t]===r)return t;t++;}}function c0(e,r,t,n){if(n?r[Hs(r,n)]=t:(r[r.length]=t,r.length++),e){t.ownerElement=e;var o=e.ownerDocument;o&&(n&&Ys(o,e,n),f0(o,e,t));}}function Ps(e,r,t){var n=Hs(r,t);if(n>=0){for(var o=r.length-1;n<=o;)r[n]=r[++n];if(r.length=o,e){var u=e.ownerDocument;u&&Ys(u,e,t),t.ownerElement=null;}}}mt.prototype={length:0,item:xe.prototype.item,getNamedItem:function(e){this._ownerElement&&this._ownerElement._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());for(var r=0;r<this.length;){var t=this[r];if(t.nodeName===e)return t;r++;}return null},setNamedItem:function(e){var r=e.ownerElement;if(r&&r!==this._ownerElement)throw new z(z.INUSE_ATTRIBUTE_ERR);var t=this.getNamedItemNS(e.namespaceURI,e.localName);return t===e?e:(c0(this._ownerElement,this,e,t),t)},setNamedItemNS:function(e){return this.setNamedItem(e)},removeNamedItem:function(e){var r=this.getNamedItem(e);if(!r)throw new z(z.NOT_FOUND_ERR,e);return Ps(this._ownerElement,this,r),r},removeNamedItemNS:function(e,r){var t=this.getNamedItemNS(e,r);if(!t)throw new z(z.NOT_FOUND_ERR,e?e+" : "+r:r);return Ps(this._ownerElement,this,t),t},getNamedItemNS:function(e,r){e||(e=null);for(var t=0;t<this.length;){var n=this[t];if(n.localName===r&&n.namespaceURI===e)return n;t++;}return null}};mt.prototype[Symbol.iterator]=function(){var e=this,r=0;return {next:function(){return r<e.length?{value:e[r++],done:false}:{done:true}},return:function(){return {done:true}}}};function Zs(){}Zs.prototype={hasFeature:function(e,r){return true},createDocument:function(e,r,t){var n=vn.XML_APPLICATION;e===lr.HTML?n=vn.XML_XHTML_APPLICATION:e===lr.SVG&&(n=vn.XML_SVG_IMAGE);var o=new Sr(Re,{contentType:n});if(o.implementation=this,o.childNodes=new xe,o.doctype=t||null,t&&o.appendChild(t),r){var u=o.createElementNS(e,r);o.appendChild(u);}return o},createDocumentType:function(e,r,t,n){Ms(e);var o=new Ia(Re);return o.name=e,o.nodeName=e,o.publicId=r||"",o.systemId=t||"",o.internalSubset=n||"",o.childNodes=new xe,o},createHTMLDocument:function(e){var r=new Sr(Re,{contentType:vn.HTML});if(r.implementation=this,r.childNodes=new xe,e!==false){r.doctype=this.createDocumentType("html"),r.doctype.ownerDocument=r,r.appendChild(r.doctype);var t=r.createElement("html");r.appendChild(t);var n=r.createElement("head");if(t.appendChild(n),typeof e=="string"){var o=r.createElement("title");o.appendChild(r.createTextNode(e)),n.appendChild(o);}t.appendChild(r.createElement("body"));}return r}};function oe(e){Le(e);}oe.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,parentNode:null,get parentElement(){return this.parentNode&&this.parentNode.nodeType===this.ELEMENT_NODE?this.parentNode:null},childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,baseURI:"about:blank",get isConnected(){var e=this.getRootNode();return e&&e.nodeType===e.DOCUMENT_NODE},contains:function(e){if(!e)return false;var r=e;do{if(this===r)return true;r=e.parentNode;}while(r);return false},getRootNode:function(e){var r=this;do{if(!r.parentNode)return r;r=r.parentNode;}while(r)},isEqualNode:function(e){if(!e||this.nodeType!==e.nodeType)return false;switch(this.nodeType){case this.DOCUMENT_TYPE_NODE:if(this.name!==e.name||this.publicId!==e.publicId||this.systemId!==e.systemId)return false;break;case this.ELEMENT_NODE:if(this.namespaceURI!==e.namespaceURI||this.prefix!==e.prefix||this.localName!==e.localName||this.attributes.length!==e.attributes.length)return false;for(var r=0;r<this.attributes.length;r++){var t=this.attributes.item(r);if(!t.isEqualNode(e.getAttributeNodeNS(t.namespaceURI,t.localName)))return false}break;case this.ATTRIBUTE_NODE:if(this.namespaceURI!==e.namespaceURI||this.localName!==e.localName||this.value!==e.value)return false;break;case this.PROCESSING_INSTRUCTION_NODE:if(this.target!==e.target||this.data!==e.data)return false;break;case this.TEXT_NODE:case this.COMMENT_NODE:if(this.data!==e.data)return false;break}if(this.childNodes.length!==e.childNodes.length)return false;for(var r=0;r<this.childNodes.length;r++)if(!this.childNodes[r].isEqualNode(e.childNodes[r]))return false;return true},isSameNode:function(e){return this===e},insertBefore:function(e,r){return _a(this,e,r)},replaceChild:function(e,r){_a(this,e,r,Js),r&&this.removeChild(r);},removeChild:function(e){return Ks(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return Qi(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var r=e.nextSibling;r&&r.nodeType==Ca&&e.nodeType==Ca?(this.removeChild(r),e.appendData(r.data)):(e.normalize(),e=r);}},isSupported:function(e,r){return this.ownerDocument.implementation.hasFeature(e,r)},lookupPrefix:function(e){for(var r=this;r;){var t=r._nsMap;if(t){for(var n in t)if(dt(t,n)&&t[n]===e)return n}r=r.nodeType==gt?r.ownerDocument:r.parentNode;}return null},lookupNamespaceURI:function(e){for(var r=this;r;){var t=r._nsMap;if(t&&dt(t,e))return t[e];r=r.nodeType==gt?r.ownerDocument:r.parentNode;}return null},isDefaultNamespace:function(e){var r=this.lookupPrefix(e);return r==null},compareDocumentPosition:function(e){if(this===e)return 0;var r=e,t=this,n=null,o=null;if(r instanceof Qr&&(n=r,r=n.ownerElement),t instanceof Qr&&(o=t,t=o.ownerElement,n&&r&&t===r))for(var u=0,s;s=t.attributes[u];u++){if(s===n)return ye.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+ye.DOCUMENT_POSITION_PRECEDING;if(s===o)return ye.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+ye.DOCUMENT_POSITION_FOLLOWING}if(!r||!t||t.ownerDocument!==r.ownerDocument)return ye.DOCUMENT_POSITION_DISCONNECTED+ye.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+(Bs(t.ownerDocument)>Bs(r.ownerDocument)?ye.DOCUMENT_POSITION_FOLLOWING:ye.DOCUMENT_POSITION_PRECEDING);if(o&&r===t)return ye.DOCUMENT_POSITION_CONTAINS+ye.DOCUMENT_POSITION_PRECEDING;if(n&&r===t)return ye.DOCUMENT_POSITION_CONTAINED_BY+ye.DOCUMENT_POSITION_FOLLOWING;for(var c=[],f=r.parentNode;f;){if(!o&&f===t)return ye.DOCUMENT_POSITION_CONTAINED_BY+ye.DOCUMENT_POSITION_FOLLOWING;c.push(f),f=f.parentNode;}c.reverse();for(var h=[],p=t.parentNode;p;){if(!n&&p===r)return ye.DOCUMENT_POSITION_CONTAINS+ye.DOCUMENT_POSITION_PRECEDING;h.push(p),p=p.parentNode;}h.reverse();var y=Xs(c,h);for(var b in y.childNodes){var w=y.childNodes[b];if(w===t)return ye.DOCUMENT_POSITION_FOLLOWING;if(w===r)return ye.DOCUMENT_POSITION_PRECEDING;if(h.indexOf(w)>=0)return ye.DOCUMENT_POSITION_FOLLOWING;if(c.indexOf(w)>=0)return ye.DOCUMENT_POSITION_PRECEDING}return 0}};function Gs(e){return e=="<"&&"&lt;"||e==">"&&"&gt;"||e=="&"&&"&amp;"||e=='"'&&"&quot;"||"&#"+e.charCodeAt()+";"}vt(Ue,oe);vt(Ue,oe.prototype);vt(ye,oe);vt(ye,oe.prototype);function yn(e,r){if(r(e))return true;if(e=e.firstChild)do if(yn(e,r))return true;while(e=e.nextSibling)}function Sr(e,r){Le(e);var t=r||{};this.ownerDocument=this,this.contentType=t.contentType||vn.XML_APPLICATION,this.type=e0(this.contentType)?"html":"xml";}function f0(e,r,t){e&&e._inc++;var n=t.namespaceURI;n===lr.XMLNS&&(r._nsMap[t.prefix?t.localName:""]=t.value);}function Ys(e,r,t,n){e&&e._inc++;var o=t.namespaceURI;o===lr.XMLNS&&delete r._nsMap[t.prefix?t.localName:""];}function Ws(e,r,t){if(e&&e._inc){e._inc++;var n=r.childNodes;if(t&&!t.nextSibling)n[n.length++]=t;else {for(var o=r.firstChild,u=0;o;)n[u++]=o,o=o.nextSibling;n.length=u,delete n[n.length];}}}function Ks(e,r){if(e!==r.parentNode)throw new z(z.NOT_FOUND_ERR,"child's parent is not parent");var t=r.previousSibling,n=r.nextSibling;return t?t.nextSibling=n:e.firstChild=n,n?n.previousSibling=t:e.lastChild=t,Ws(e.ownerDocument,e),r.parentNode=null,r.previousSibling=null,r.nextSibling=null,r}function p0(e){return e&&(e.nodeType===oe.DOCUMENT_NODE||e.nodeType===oe.DOCUMENT_FRAGMENT_NODE||e.nodeType===oe.ELEMENT_NODE)}function h0(e){return e&&(e.nodeType===oe.CDATA_SECTION_NODE||e.nodeType===oe.COMMENT_NODE||e.nodeType===oe.DOCUMENT_FRAGMENT_NODE||e.nodeType===oe.DOCUMENT_TYPE_NODE||e.nodeType===oe.ELEMENT_NODE||e.nodeType===oe.PROCESSING_INSTRUCTION_NODE||e.nodeType===oe.TEXT_NODE)}function Or(e){return e&&e.nodeType===oe.DOCUMENT_TYPE_NODE}function mr(e){return e&&e.nodeType===oe.ELEMENT_NODE}function Qs(e){return e&&e.nodeType===oe.TEXT_NODE}function Rs(e,r){var t=e.childNodes||[];if(sr(t,mr)||Or(r))return false;var n=sr(t,Or);return !(r&&n&&t.indexOf(n)>t.indexOf(r))}function ks(e,r){var t=e.childNodes||[];function n(u){return mr(u)&&u!==r}if(sr(t,n))return false;var o=sr(t,Or);return !(r&&o&&t.indexOf(o)>t.indexOf(r))}function d0(e,r,t){if(!p0(e))throw new z(z.HIERARCHY_REQUEST_ERR,"Unexpected parent node type "+e.nodeType);if(t&&t.parentNode!==e)throw new z(z.NOT_FOUND_ERR,"child not in parent");if(!h0(r)||Or(r)&&e.nodeType!==oe.DOCUMENT_NODE)throw new z(z.HIERARCHY_REQUEST_ERR,"Unexpected node type "+r.nodeType+" for parent node type "+e.nodeType)}function g0(e,r,t){var n=e.childNodes||[],o=r.childNodes||[];if(r.nodeType===oe.DOCUMENT_FRAGMENT_NODE){var u=o.filter(mr);if(u.length>1||sr(o,Qs))throw new z(z.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(u.length===1&&!Rs(e,t))throw new z(z.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(mr(r)&&!Rs(e,t))throw new z(z.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(Or(r)){if(sr(n,Or))throw new z(z.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var s=sr(n,mr);if(t&&n.indexOf(s)<n.indexOf(t))throw new z(z.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element");if(!t&&s)throw new z(z.HIERARCHY_REQUEST_ERR,"Doctype can not be appended since element is present")}}function Js(e,r,t){var n=e.childNodes||[],o=r.childNodes||[];if(r.nodeType===oe.DOCUMENT_FRAGMENT_NODE){var u=o.filter(mr);if(u.length>1||sr(o,Qs))throw new z(z.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(u.length===1&&!ks(e,t))throw new z(z.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(mr(r)&&!ks(e,t))throw new z(z.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(Or(r)){if(sr(n,function(f){return Or(f)&&f!==t}))throw new z(z.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var s=sr(n,mr);if(t&&n.indexOf(s)<n.indexOf(t))throw new z(z.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element")}}function _a(e,r,t,n){d0(e,r,t),e.nodeType===oe.DOCUMENT_NODE&&(n||g0)(e,r,t);var o=r.parentNode;if(o&&o.removeChild(r),r.nodeType===_r){var u=r.firstChild;if(u==null)return r;var s=r.lastChild;}else u=s=r;var c=t?t.previousSibling:e.lastChild;u.previousSibling=c,s.nextSibling=t,c?c.nextSibling=u:e.firstChild=u,t==null?e.lastChild=s:t.previousSibling=s;do u.parentNode=e;while(u!==s&&(u=u.nextSibling));return Ws(e.ownerDocument||e,e,r),r.nodeType==_r&&(r.firstChild=r.lastChild=null),r}Sr.prototype={implementation:null,nodeName:"#document",nodeType:En,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,r){if(e.nodeType===_r){for(var t=e.firstChild;t;){var n=t.nextSibling;this.insertBefore(t,r),t=n;}return e}return _a(this,e,r),e.ownerDocument=this,this.documentElement===null&&e.nodeType===rr&&(this.documentElement=e),e},removeChild:function(e){var r=Ks(this,e);return r===this.documentElement&&(this.documentElement=null),r},replaceChild:function(e,r){_a(this,e,r,Js),e.ownerDocument=this,r&&this.removeChild(r),mr(e)&&(this.documentElement=e);},importNode:function(e,r){return rl(this,e,r)},getElementById:function(e){var r=null;return yn(this.documentElement,function(t){if(t.nodeType==rr&&t.getAttribute("id")==e)return r=t,true}),r},createElement:function(e){var r=new Nr(Re);r.ownerDocument=this,this.type==="html"&&(e=e.toLowerCase()),$d(this.contentType)&&(r.namespaceURI=lr.HTML),r.nodeName=e,r.tagName=e,r.localName=e,r.childNodes=new xe;var t=r.attributes=new mt;return t._ownerElement=r,r},createDocumentFragment:function(){var e=new xn(Re);return e.ownerDocument=this,e.childNodes=new xe,e},createTextNode:function(e){var r=new bn(Re);return r.ownerDocument=this,r.childNodes=new xe,r.appendData(e),r},createComment:function(e){var r=new Oa(Re);return r.ownerDocument=this,r.childNodes=new xe,r.appendData(e),r},createCDATASection:function(e){var r=new Na(Re);return r.ownerDocument=this,r.childNodes=new xe,r.appendData(e),r},createProcessingInstruction:function(e,r){var t=new Pa(Re);return t.ownerDocument=this,t.childNodes=new xe,t.nodeName=t.target=e,t.nodeValue=t.data=r,t},createAttribute:function(e){if(!ur.QName_exact.test(e))throw new z(z.INVALID_CHARACTER_ERR,'invalid character in name "'+e+'"');return this.type==="html"&&(e=e.toLowerCase()),this._createAttribute(e)},_createAttribute:function(e){var r=new Qr(Re);return r.ownerDocument=this,r.childNodes=new xe,r.name=e,r.nodeName=e,r.localName=e,r.specified=true,r},createEntityReference:function(e){if(!ur.Name.test(e))throw new z(z.INVALID_CHARACTER_ERR,'not a valid xml name "'+e+'"');if(this.type==="html")throw new z("document is an html document",n0.NotSupportedError);var r=new Ba(Re);return r.ownerDocument=this,r.childNodes=new xe,r.nodeName=e,r},createElementNS:function(e,r){var t=Ki(e,r),n=new Nr(Re),o=n.attributes=new mt;return n.childNodes=new xe,n.ownerDocument=this,n.nodeName=r,n.tagName=r,n.namespaceURI=t[0],n.prefix=t[1],n.localName=t[2],o._ownerElement=n,n},createAttributeNS:function(e,r){var t=Ki(e,r),n=new Qr(Re);return n.ownerDocument=this,n.childNodes=new xe,n.nodeName=r,n.name=r,n.specified=true,n.namespaceURI=t[0],n.prefix=t[1],n.localName=t[2],n}};Me(Sr,oe);function Nr(e){Le(e),this._nsMap=Object.create(null);}Nr.prototype={nodeType:rr,attributes:null,getQualifiedName:function(){return this.prefix?this.prefix+":"+this.localName:this.localName},_isInHTMLDocumentAndNamespace:function(){return this.ownerDocument.type==="html"&&this.namespaceURI===lr.HTML},hasAttributes:function(){return !!(this.attributes&&this.attributes.length)},hasAttribute:function(e){return !!this.getAttributeNode(e)},getAttribute:function(e){var r=this.getAttributeNode(e);return r?r.value:null},getAttributeNode:function(e){return this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase()),this.attributes.getNamedItem(e)},setAttribute:function(e,r){this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());var t=this.getAttributeNode(e);t?t.value=t.nodeValue=""+r:(t=this.ownerDocument._createAttribute(e),t.value=t.nodeValue=""+r,this.setAttributeNode(t));},removeAttribute:function(e){var r=this.getAttributeNode(e);r&&this.removeAttributeNode(r);},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,r){var t=this.getAttributeNodeNS(e,r);t&&this.removeAttributeNode(t);},hasAttributeNS:function(e,r){return this.getAttributeNodeNS(e,r)!=null},getAttributeNS:function(e,r){var t=this.getAttributeNodeNS(e,r);return t?t.value:null},setAttributeNS:function(e,r,t){var n=Ki(e,r),o=n[2],u=this.getAttributeNodeNS(e,o);u?u.value=u.nodeValue=""+t:(u=this.ownerDocument.createAttributeNS(e,r),u.value=u.nodeValue=""+t,this.setAttributeNode(u));},getAttributeNodeNS:function(e,r){return this.attributes.getNamedItemNS(e,r)},getElementsByClassName:function(e){var r=Is(e);return new Kr(this,function(t){var n=[];return r.length>0&&yn(t,function(o){if(o!==t&&o.nodeType===rr){var u=o.getAttribute("class");if(u){var s=e===u;if(!s){var c=Is(u);s=r.every(u0(c));}s&&n.push(o);}}}),n})},getElementsByTagName:function(e){var r=(this.nodeType===En?this:this.ownerDocument).type==="html",t=e.toLowerCase();return new Kr(this,function(n){var o=[];return yn(n,function(u){if(!(u===n||u.nodeType!==rr))if(e==="*")o.push(u);else {var s=u.getQualifiedName(),c=r&&u.namespaceURI===lr.HTML?t:e;s===c&&o.push(u);}}),o})},getElementsByTagNameNS:function(e,r){return new Kr(this,function(t){var n=[];return yn(t,function(o){o!==t&&o.nodeType===rr&&(e==="*"||o.namespaceURI===e)&&(r==="*"||o.localName==r)&&n.push(o);}),n})}};Sr.prototype.getElementsByClassName=Nr.prototype.getElementsByClassName;Sr.prototype.getElementsByTagName=Nr.prototype.getElementsByTagName;Sr.prototype.getElementsByTagNameNS=Nr.prototype.getElementsByTagNameNS;Me(Nr,oe);function Qr(e){Le(e),this.namespaceURI=null,this.prefix=null,this.ownerElement=null;}Qr.prototype.nodeType=gt;Me(Qr,oe);function yt(e){Le(e);}yt.prototype={data:"",substringData:function(e,r){return this.data.substring(e,e+r)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length;},insertData:function(e,r){this.replaceData(e,0,r);},deleteData:function(e,r){this.replaceData(e,r,"");},replaceData:function(e,r,t){var n=this.data.substring(0,e),o=this.data.substring(e+r);t=n+t+o,this.nodeValue=this.data=t,this.length=t.length;}};Me(yt,oe);function bn(e){Le(e);}bn.prototype={nodeName:"#text",nodeType:Ca,splitText:function(e){var r=this.data,t=r.substring(e);r=r.substring(0,e),this.data=this.nodeValue=r,this.length=r.length;var n=this.ownerDocument.createTextNode(t);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}};Me(bn,yt);function Oa(e){Le(e);}Oa.prototype={nodeName:"#comment",nodeType:js};Me(Oa,yt);function Na(e){Le(e);}Na.prototype={nodeName:"#cdata-section",nodeType:Us};Me(Na,bn);function Ia(e){Le(e);}Ia.prototype.nodeType=Vs;Me(Ia,oe);function Ji(e){Le(e);}Ji.prototype.nodeType=l0;Me(Ji,oe);function $i(e){Le(e);}$i.prototype.nodeType=s0;Me($i,oe);function Ba(e){Le(e);}Ba.prototype.nodeType=qs;Me(Ba,oe);function xn(e){Le(e);}xn.prototype.nodeName="#document-fragment";xn.prototype.nodeType=_r;Me(xn,oe);function Pa(e){Le(e);}Pa.prototype.nodeType=zs;Me(Pa,yt);function $s(){}$s.prototype.serializeToString=function(e,r){return el.call(e,r)};oe.prototype.toString=el;function el(e){var r=[],t=this.nodeType===En&&this.documentElement||this,n=t.prefix,o=t.namespaceURI;if(o&&n==null){var n=t.lookupPrefix(o);if(n==null)var u=[{namespace:o,prefix:null}];}return ht(this,r,e,u),r.join("")}function Fs(e,r,t){var n=e.prefix||"",o=e.namespaceURI;if(!o||n==="xml"&&o===lr.XML||o===lr.XMLNS)return false;for(var u=t.length;u--;){var s=t[u];if(s.prefix===n)return s.namespace!==o}return true}function Wi(e,r,t){e.push(" ",r,'="',t.replace(/[<>&"\t\n\r]/g,Gs),'"');}function ht(e,r,t,n){n||(n=[]);var o=e.nodeType===En?e:e.ownerDocument,u=o.type==="html";if(t)if(e=t(e),e){if(typeof e=="string"){r.push(e);return}}else return;switch(e.nodeType){case rr:var s=e.attributes,c=s.length,S=e.firstChild,f=e.tagName,h=f;if(!u&&!e.prefix&&e.namespaceURI){for(var p,y=0;y<s.length;y++)if(s.item(y).name==="xmlns"){p=s.item(y).value;break}if(!p)for(var b=n.length-1;b>=0;b--){var w=n[b];if(w.prefix===""&&w.namespace===e.namespaceURI){p=w.namespace;break}}if(p!==e.namespaceURI)for(var b=n.length-1;b>=0;b--){var w=n[b];if(w.namespace===e.namespaceURI){w.prefix&&(h=w.prefix+":"+f);break}}}r.push("<",h);for(var T=0;T<c;T++){var C=s.item(T);C.prefix=="xmlns"?n.push({prefix:C.localName,namespace:C.value}):C.nodeName=="xmlns"&&n.push({prefix:"",namespace:C.value});}for(var T=0;T<c;T++){var C=s.item(T);if(Fs(C,u,n)){var O=C.prefix||"",P=C.namespaceURI;Wi(r,O?"xmlns:"+O:"xmlns",P),n.push({prefix:O,namespace:P});}ht(C,r,t,n);}if(f===h&&Fs(e,u,n)){var O=e.prefix||"",P=e.namespaceURI;Wi(r,O?"xmlns:"+O:"xmlns",P),n.push({prefix:O,namespace:P});}var R=!S;if(R&&(u||e.namespaceURI===lr.HTML)&&(R=t0(f)),R)r.push("/>");else {if(r.push(">"),u&&r0(f))for(;S;)S.data?r.push(S.data):ht(S,r,t,n.slice()),S=S.nextSibling;else for(;S;)ht(S,r,t,n.slice()),S=S.nextSibling;r.push("</",h,">");}return;case En:case _r:for(var S=e.firstChild;S;)ht(S,r,t,n.slice()),S=S.nextSibling;return;case gt:return Wi(r,e.name,e.value);case Ca:return r.push(e.data.replace(/[<&>]/g,Gs));case Us:return r.push(ur.CDATA_START,e.data,ur.CDATA_END);case js:return r.push(ur.COMMENT_START,e.data,ur.COMMENT_END);case Vs:var k=e.publicId,q=e.systemId;r.push(ur.DOCTYPE_DECL_START," ",e.name),k?(r.push(" ",ur.PUBLIC," ",k),q&&q!=="."&&r.push(" ",q)):q&&q!=="."&&r.push(" ",ur.SYSTEM," ",q),e.internalSubset&&r.push(" [",e.internalSubset,"]"),r.push(">");return;case zs:return r.push("<?",e.target," ",e.data,"?>");case qs:return r.push("&",e.nodeName,";");default:r.push("??",e.nodeName);}}function rl(e,r,t){var n;switch(r.nodeType){case rr:n=r.cloneNode(false),n.ownerDocument=e;case _r:break;case gt:t=true;break}if(n||(n=r.cloneNode(false)),n.ownerDocument=e,n.parentNode=null,t)for(var o=r.firstChild;o;)n.appendChild(rl(e,o,t)),o=o.nextSibling;return n}function Qi(e,r,t){var n=new r.constructor(Re);for(var o in r)if(dt(r,o)){var u=r[o];typeof u!="object"&&u!=n[o]&&(n[o]=u);}switch(r.childNodes&&(n.childNodes=new xe),n.ownerDocument=e,n.nodeType){case rr:var s=r.attributes,c=n.attributes=new mt,f=s.length;c._ownerElement=n;for(var h=0;h<f;h++)n.setAttributeNode(Qi(e,s.item(h),true));break;case gt:t=true;}if(t)for(var p=r.firstChild;p;)n.appendChild(Qi(e,p,t)),p=p.nextSibling;return n}function tl(e,r,t){e[r]=t;}try{if(Object.defineProperty){let e=function(r){switch(r.nodeType){case rr:case _r:var t=[];for(r=r.firstChild;r;)r.nodeType!==7&&r.nodeType!==8&&t.push(e(r)),r=r.nextSibling;return t.join("");default:return r.nodeValue}};Object.defineProperty(Kr.prototype,"length",{get:function(){return Sa(this),this.$$length}}),Object.defineProperty(oe.prototype,"textContent",{get:function(){return e(this)},set:function(r){switch(this.nodeType){case rr:case _r:for(;this.firstChild;)this.removeChild(this.firstChild);(r||String(r))&&this.appendChild(this.ownerDocument.createTextNode(r));break;default:this.data=r,this.value=r,this.nodeValue=r;}}}),tl=function(r,t,n){r["$$"+t]=n;};}}catch{}Ee._updateLiveList=Sa;Ee.Attr=Qr;Ee.CDATASection=Na;Ee.CharacterData=yt;Ee.Comment=Oa;Ee.Document=Sr;Ee.DocumentFragment=xn;Ee.DocumentType=Ia;Ee.DOMImplementation=Zs;Ee.Element=Nr;Ee.Entity=$i;Ee.EntityReference=Ba;Ee.LiveNodeList=Kr;Ee.NamedNodeMap=mt;Ee.Node=oe;Ee.NodeList=xe;Ee.Notation=Ji;Ee.Text=bn;Ee.ProcessingInstruction=Pa;Ee.XMLSerializer=$s;});var al=chunkPCJ5ACUV_cjs.b(wn=>{var nl=Gr().freeze;wn.XML_ENTITIES=nl({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'});wn.HTML_ENTITIES=nl({Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",AMP:"&",amp:"&",And:"\u2A53",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",ap:"\u2248",apacir:"\u2A6F",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",Barwed:"\u2306",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",Because:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxDL:"\u2557",boxDl:"\u2556",boxdL:"\u2555",boxdl:"\u2510",boxDR:"\u2554",boxDr:"\u2553",boxdR:"\u2552",boxdr:"\u250C",boxH:"\u2550",boxh:"\u2500",boxHD:"\u2566",boxHd:"\u2564",boxhD:"\u2565",boxhd:"\u252C",boxHU:"\u2569",boxHu:"\u2567",boxhU:"\u2568",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxUL:"\u255D",boxUl:"\u255C",boxuL:"\u255B",boxul:"\u2518",boxUR:"\u255A",boxUr:"\u2559",boxuR:"\u2558",boxur:"\u2514",boxV:"\u2551",boxv:"\u2502",boxVH:"\u256C",boxVh:"\u256B",boxvH:"\u256A",boxvh:"\u253C",boxVL:"\u2563",boxVl:"\u2562",boxvL:"\u2561",boxvl:"\u2524",boxVR:"\u2560",boxVr:"\u255F",boxvR:"\u255E",boxvr:"\u251C",bprime:"\u2035",Breve:"\u02D8",breve:"\u02D8",brvbar:"\xA6",Bscr:"\u212C",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",Cap:"\u22D2",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",CenterDot:"\xB7",centerdot:"\xB7",Cfr:"\u212D",cfr:"\u{1D520}",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",cir:"\u25CB",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",Colon:"\u2237",colon:":",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",Conint:"\u222F",conint:"\u222E",ContourIntegral:"\u222E",Copf:"\u2102",copf:"\u{1D554}",coprod:"\u2210",Coproduct:"\u2210",COPY:"\xA9",copy:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",Cross:"\u2A2F",cross:"\u2717",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",Cup:"\u22D3",cup:"\u222A",cupbrcap:"\u2A48",CupCap:"\u224D",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",Dagger:"\u2021",dagger:"\u2020",daleth:"\u2138",Darr:"\u21A1",dArr:"\u21D3",darr:"\u2193",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",DD:"\u2145",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",Diamond:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",Downarrow:"\u21D3",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",ecir:"\u2256",Ecirc:"\xCA",ecirc:"\xEA",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",eDot:"\u2251",edot:"\u0117",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",Escr:"\u2130",escr:"\u212F",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",ExponentialE:"\u2147",exponentiale:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",ForAll:"\u2200",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",Fscr:"\u2131",fscr:"\u{1D4BB}",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",gE:"\u2267",ge:"\u2265",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",Gg:"\u22D9",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gl:"\u2277",gla:"\u2AA5",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gnE:"\u2269",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",Gt:"\u226B",GT:">",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",hArr:"\u21D4",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",Hfr:"\u210C",hfr:"\u{1D525}",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",Hopf:"\u210D",hopf:"\u{1D559}",horbar:"\u2015",HorizontalLine:"\u2500",Hscr:"\u210B",hscr:"\u{1D4BD}",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",Ifr:"\u2111",ifr:"\u{1D526}",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Im:"\u2111",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",Int:"\u222C",int:"\u222B",intcal:"\u22BA",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",Iscr:"\u2110",iscr:"\u{1D4BE}",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",Lang:"\u27EA",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",Larr:"\u219E",lArr:"\u21D0",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",lAtail:"\u291B",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lBarr:"\u290E",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",lE:"\u2266",le:"\u2264",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",Leftarrow:"\u21D0",leftarrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",Ll:"\u22D8",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lnE:"\u2268",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftarrow:"\u27F5",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",Lscr:"\u2112",lscr:"\u{1D4C1}",Lsh:"\u21B0",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",Lt:"\u226A",LT:"<",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",Mscr:"\u2133",mscr:"\u{1D4C2}",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",neArr:"\u21D7",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
4
+ `,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlArr:"\u21CD",nlarr:"\u219A",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nLeftarrow:"\u21CD",nleftarrow:"\u219A",nLeftrightarrow:"\u21CE",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",nopf:"\u{1D55F}",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nRightarrow:"\u21CF",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nVDash:"\u22AF",nVdash:"\u22AE",nvDash:"\u22AD",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwArr:"\u21D6",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",Ocirc:"\xD4",ocirc:"\xF4",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",Or:"\u2A54",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",Otimes:"\u2A37",otimes:"\u2297",otimesas:"\u2A36",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",Popf:"\u2119",popf:"\u{1D561}",pound:"\xA3",Pr:"\u2ABB",pr:"\u227A",prap:"\u2AB7",prcue:"\u227C",prE:"\u2AB3",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",Prime:"\u2033",prime:"\u2032",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportion:"\u2237",Proportional:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",Qopf:"\u211A",qopf:"\u{1D562}",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",QUOT:'"',quot:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",Rang:"\u27EB",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",Rarr:"\u21A0",rArr:"\u21D2",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",rAtail:"\u291C",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",RBarr:"\u2910",rBarr:"\u290F",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",Re:"\u211C",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",REG:"\xAE",reg:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",Rfr:"\u211C",rfr:"\u{1D52F}",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",Rightarrow:"\u21D2",rightarrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",Ropf:"\u211D",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",Rscr:"\u211B",rscr:"\u{1D4C7}",Rsh:"\u21B1",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",Sc:"\u2ABC",sc:"\u227B",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",sccue:"\u227D",scE:"\u2AB4",sce:"\u2AB0",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",searhk:"\u2925",seArr:"\u21D8",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",Square:"\u25A1",square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",Sub:"\u22D0",sub:"\u2282",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",Subset:"\u22D0",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",Sum:"\u2211",sum:"\u2211",sung:"\u266A",Sup:"\u22D1",sup:"\u2283",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",Supset:"\u22D1",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swArr:"\u21D9",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",Therefore:"\u2234",therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",Tilde:"\u223C",tilde:"\u02DC",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",TRADE:"\u2122",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",Uarr:"\u219F",uArr:"\u21D1",uarr:"\u2191",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrow:"\u2191",Uparrow:"\u21D1",uparrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",Updownarrow:"\u21D5",updownarrow:"\u2195",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",upsi:"\u03C5",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTee:"\u22A5",UpTeeArrow:"\u21A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",vArr:"\u21D5",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",Vbar:"\u2AEB",vBar:"\u2AE8",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",VDash:"\u22AB",Vdash:"\u22A9",vDash:"\u22A8",vdash:"\u22A2",Vdashl:"\u2AE6",Vee:"\u22C1",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",Verbar:"\u2016",verbar:"|",Vert:"\u2016",vert:"|",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",Wedge:"\u22C0",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",Xi:"\u039E",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",Yuml:"\u0178",yuml:"\xFF",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",Zfr:"\u2128",zfr:"\u{1D537}",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",Zopf:"\u2124",zopf:"\u{1D56B}",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"});wn.entityMap=wn.HTML_ENTITIES;});var gl=chunkPCJ5ACUV_cjs.b(ka=>{var wt=Gr(),K=Yi(),ll=cn(),m0=wt.isHTMLEscapableRawTextElement,v0=wt.isHTMLMimeType,y0=wt.isHTMLRawTextElement,Cn=wt.hasOwn,il=wt.NAMESPACE,ol=ll.ParseError,E0=ll.DOMException,Dn=0,Ir=1,Et=2,An=3,bt=4,xt=5,Tn=6,Ra=7;function cl(){}cl.prototype={parse:function(e,r,t){var n=this.domBuilder;n.startDocument(),fl(r,r=Object.create(null)),b0(e,r,t,n,this.errorHandler),n.endDocument();}};var ro=/&#?\w+;?/g;function b0(e,r,t,n,o){var u=v0(n.mimeType);e.indexOf(K.UNICODE_REPLACEMENT_CHARACTER)>=0&&o.warning("Unicode replacement character detected, source encoding issues?");function s(ne){if(ne>65535){ne-=65536;var Pe=55296+(ne>>10),at=56320+(ne&1023);return String.fromCharCode(Pe,at)}else return String.fromCharCode(ne)}function c(ne){var Pe=ne[ne.length-1]===";"?ne:ne+";";if(!u&&Pe!==ne)return o.error("EntityRef: expecting ;"),ne;var at=K.Reference.exec(Pe);if(!at||at[0].length!==Pe.length)return o.error("entity not matching Reference production: "+ne),ne;var nr=Pe.slice(1,-1);return Cn(t,nr)?t[nr]:nr.charAt(0)==="#"?s(parseInt(nr.substring(1).replace("x","0x"))):(o.error("entity not found:"+ne),ne)}function f(ne){if(ne>O){var Pe=e.substring(O,ne).replace(ro,c);b&&w(O),n.characters(Pe,0,ne-O),O=ne;}}var h=0,p=0,y=/\r\n?|\n|$/g,b=n.locator;function w(ne,Pe){for(;ne>=p&&(Pe=y.exec(e));)h=p,p=Pe.index+Pe[0].length,b.lineNumber++;b.columnNumber=ne-h+1;}for(var T=[{currentNSMap:r}],C=[],O=0;;){try{var P=e.indexOf("<",O);if(P<0){if(!u&&C.length>0)return o.fatalError("unclosed xml tag(s): "+C.join(", "));if(!e.substring(O).match(/^\s*$/)){var R=n.doc,S=R.createTextNode(e.substring(O));if(R.documentElement)return o.error("Extra content at the end of the document");R.appendChild(S),n.currentElement=S;}return}if(P>O){var k=e.substring(O,P);!u&&C.length===0&&(k=k.replace(new RegExp(K.S_OPT.source,"g"),""),k&&o.error("Unexpected content outside root element: '"+k+"'")),f(P);}switch(e.charAt(P+1)){case "/":var Te=e.indexOf(">",P+2),q=e.substring(P+2,Te>0?Te:void 0);if(!q)return o.fatalError("end tag name missing");var V=Te>0&&K.reg("^",K.QName_group,K.S_OPT,"$").exec(q);if(!V)return o.fatalError('end tag name contains invalid characters: "'+q+'"');if(!n.currentElement&&!n.doc.documentElement)return;var G=C[C.length-1]||n.currentElement.tagName||n.doc.documentElement.tagName||"";if(G!==V[1]){var M=V[1].toLowerCase();if(!u||G.toLowerCase()!==M)return o.fatalError('Opening and ending tag mismatch: "'+G+'" != "'+q+'"')}var te=T.pop();C.pop();var ge=te.localNSMap;if(n.endElement(te.uri,te.localName,G),ge)for(var Ie in ge)Cn(ge,Ie)&&n.endPrefixMapping(Ie);Te++;break;case "?":b&&w(P),Te=A0(e,P,n,o);break;case "!":b&&w(P),Te=hl(e,P,n,o,u);break;default:b&&w(P);var pe=new dl,tr=T[T.length-1].currentNSMap,Te=x0(e,P,pe,tr,c,o,u),Lt=pe.length;if(pe.closed||(u&&wt.isHTMLVoidElement(pe.tagName)?pe.closed=!0:C.push(pe.tagName)),b&&Lt){for(var Mt=ul(b,{}),nt=0;nt<Lt;nt++){var Ut=pe[nt];w(Ut.offset),Ut.locator=ul(b,{});}n.locator=Mt,sl(pe,n,tr)&&T.push(pe),n.locator=b;}else sl(pe,n,tr)&&T.push(pe);u&&!pe.closed?Te=w0(e,Te,pe.tagName,c,n):Te++;}}catch(ne){if(ne instanceof ol)throw ne;if(ne instanceof E0)throw new ol(ne.name+": "+ne.message,n.locator,ne);o.error("element parse error: "+ne),Te=-1;}Te>O?O=Te:f(Math.max(P,O)+1);}}function ul(e,r){return r.lineNumber=e.lineNumber,r.columnNumber=e.columnNumber,r}function x0(e,r,t,n,o,u,s){function c(w,T,C){if(Cn(t.attributeNames,w))return u.fatalError("Attribute "+w+" redefined");if(!s&&T.indexOf("<")>=0)return u.fatalError("Unescaped '<' not allowed in attributes values");t.addValue(w,T.replace(/[\t\n\r]/g," ").replace(ro,o),C);}for(var f,h,p=++r,y=Dn;;){var b=e.charAt(p);switch(b){case "=":if(y===Ir)f=e.slice(r,p),y=An;else if(y===Et)y=An;else throw new Error("attribute equal must after attrName");break;case "'":case '"':if(y===An||y===Ir)if(y===Ir&&(u.warning('attribute value must after "="'),f=e.slice(r,p)),r=p+1,p=e.indexOf(b,r),p>0)h=e.slice(r,p),c(f,h,r-1),y=xt;else throw new Error("attribute value no end '"+b+"' match");else if(y==bt)h=e.slice(r,p),c(f,h,r),u.warning('attribute "'+f+'" missed start quot('+b+")!!"),r=p+1,y=xt;else throw new Error('attribute value must after "="');break;case "/":switch(y){case Dn:t.setTagName(e.slice(r,p));case xt:case Tn:case Ra:y=Ra,t.closed=true;case bt:case Ir:break;case Et:t.closed=true;break;default:throw new Error("attribute invalid close char('/')")}break;case "":return u.error("unexpected end of input"),y==Dn&&t.setTagName(e.slice(r,p)),p;case ">":switch(y){case Dn:t.setTagName(e.slice(r,p));case xt:case Tn:case Ra:break;case bt:case Ir:h=e.slice(r,p),h.slice(-1)==="/"&&(t.closed=true,h=h.slice(0,-1));case Et:y===Et&&(h=f),y==bt?(u.warning('attribute "'+h+'" missed quot(")!'),c(f,h,r)):(s||u.warning('attribute "'+h+'" missed value!! "'+h+'" instead!!'),c(h,h,r));break;case An:if(!s)return u.fatalError(`AttValue: ' or " expected`)}return p;case "\x80":b=" ";default:if(b<=" ")switch(y){case Dn:t.setTagName(e.slice(r,p)),y=Tn;break;case Ir:f=e.slice(r,p),y=Et;break;case bt:var h=e.slice(r,p);u.warning('attribute "'+h+'" missed quot(")!!'),c(f,h,r);case xt:y=Tn;break}else switch(y){case Et:s||u.warning('attribute "'+f+'" missed value!! "'+f+'" instead2!!'),c(f,f,r),r=p,y=Ir;break;case xt:u.warning('attribute space is required"'+f+'"!!');case Tn:y=Ir,r=p;break;case An:y=bt,r=p;break;case Ra:throw new Error("elements closed character '/' and '>' must be connected to")}}p++;}}function sl(e,r,t){for(var n=e.tagName,o=null,y=e.length;y--;){var u=e[y],s=u.qName,c=u.value,b=s.indexOf(":");if(b>0)var f=u.prefix=s.slice(0,b),h=s.slice(b+1),p=f==="xmlns"&&h;else h=s,f=null,p=s==="xmlns"&&"";u.localName=h,p!==false&&(o==null&&(o=Object.create(null),fl(t,t=Object.create(null))),t[p]=o[p]=c,u.uri=il.XMLNS,r.startPrefixMapping(p,c));}for(var y=e.length;y--;)u=e[y],u.prefix&&(u.prefix==="xml"&&(u.uri=il.XML),u.prefix!=="xmlns"&&(u.uri=t[u.prefix]));var b=n.indexOf(":");b>0?(f=e.prefix=n.slice(0,b),h=e.localName=n.slice(b+1)):(f=null,h=e.localName=n);var w=e.uri=t[f||""];if(r.startElement(w,h,n,e),e.closed){if(r.endElement(w,h,n),o)for(f in o)Cn(o,f)&&r.endPrefixMapping(f);}else return e.currentNSMap=t,e.localNSMap=o,true}function w0(e,r,t,n,o){var u=m0(t);if(u||y0(t)){var s=e.indexOf("</"+t+">",r),c=e.substring(r+1,s);return u&&(c=c.replace(ro,n)),o.characters(c,0,c.length),s}return r+1}function fl(e,r){for(var t in e)Cn(e,t)&&(r[t]=e[t]);}function pl(e,r){var t=r;function n(p){return p=p||0,e.charAt(t+p)}function o(p){p=p||1,t+=p;}function u(){for(var p=0;t<e.length;){var y=n();if(y!==" "&&y!==`
5
+ `&&y!==" "&&y!=="\r")return p;p++,o();}return -1}function s(){return e.substring(t)}function c(p){return e.substring(t,t+p.length)===p}function f(p){return e.substring(t,t+p.length).toUpperCase()===p.toUpperCase()}function h(p){var y=K.reg("^",p),b=y.exec(s());return b?(o(b[0].length),b[0]):null}return {char:n,getIndex:function(){return t},getMatch:h,getSource:function(){return e},skip:o,skipBlanks:u,substringFromIndex:s,substringStartsWith:c,substringStartsWithCaseInsensitive:f}}function D0(e,r){function t(c,f){var h=K.PI.exec(c.substringFromIndex());return h?h[1].toLowerCase()==="xml"?f.fatalError("xml declaration is only allowed at the start of the document, but found at position "+c.getIndex()):(c.skip(h[0].length),h[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 o=e.getIndex();e.getIndex()<n.length;){if(e.skipBlanks(),e.char()==="]"){var u=n.substring(o,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(K.elementdecl):e.char(3)==="N"&&(s=e.getMatch(K.EntityDecl));break;case "A":s=e.getMatch(K.AttlistDecl);break;case "N":s=e.getMatch(K.NotationDecl);break;case "-":s=e.getMatch(K.Comment);break}else if(e.char()==="<"&&e.char(1)==="?")s=t(e,r);else if(e.char()==="%")s=e.getMatch(K.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 hl(e,r,t,n,o){var u=pl(e,r);switch(o?u.char(2).toUpperCase():u.char(2)){case "-":var s=u.getMatch(K.Comment);return s?(t.comment(s,K.COMMENT_START.length,s.length-K.COMMENT_START.length-K.COMMENT_END.length),u.getIndex()):n.fatalError("comment is not well-formed at position "+u.getIndex());case "[":var c=u.getMatch(K.CDSect);return c?!o&&!t.currentElement?n.fatalError("CDATA outside of element"):(t.startCDATA(),t.characters(c,K.CDATA_START.length,c.length-K.CDATA_START.length-K.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(o?!u.substringStartsWithCaseInsensitive(K.DOCTYPE_DECL_START):!u.substringStartsWith(K.DOCTYPE_DECL_START))return n.fatalError("Expected "+K.DOCTYPE_DECL_START+" at position "+u.getIndex());if(u.skip(K.DOCTYPE_DECL_START.length),u.skipBlanks()<1)return n.fatalError("Expected whitespace after "+K.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(K.Name),!f.name)return n.fatalError("doctype name missing or contains unexpected characters at position "+u.getIndex());if(o&&f.name.toLowerCase()!=="html"&&n.warning("Unexpected DOCTYPE in HTML document at position "+u.getIndex()),u.skipBlanks(),u.substringStartsWith(K.PUBLIC)||u.substringStartsWith(K.SYSTEM)){var h=K.ExternalID_match.exec(u.substringFromIndex());if(!h)return n.fatalError("doctype external id is not well-formed at position "+u.getIndex());h.groups.SystemLiteralOnly!==void 0?f.systemId=h.groups.SystemLiteralOnly:(f.systemId=h.groups.SystemLiteral,f.publicId=h.groups.PubidLiteral),u.skip(h[0].length);}else if(o&&u.substringStartsWithCaseInsensitive(K.SYSTEM)){if(u.skip(K.SYSTEM.length),u.skipBlanks()<1)return n.fatalError("Expected whitespace after "+K.SYSTEM+" at position "+u.getIndex());if(f.systemId=u.getMatch(K.ABOUT_LEGACY_COMPAT_SystemLiteral),!f.systemId)return n.fatalError("Expected "+K.ABOUT_LEGACY_COMPAT+" in single or double quotes after "+K.SYSTEM+" at position "+u.getIndex())}return o&&f.systemId&&!K.ABOUT_LEGACY_COMPAT_SystemLiteral.test(f.systemId)&&n.warning("Unexpected doctype.systemId in HTML document at position "+u.getIndex()),o||(u.skipBlanks(),f.internalSubset=D0(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 A0(e,r,t,n){var o=e.substring(r).match(K.PI);if(!o)return n.fatalError("Invalid processing instruction starting at position "+r);if(o[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(!K.XMLDecl.test(e.substring(r)))return n.fatalError("xml declaration is not well-formed")}return t.processingInstruction(o[1],o[2]),r+o[0].length}function dl(){this.attributeNames=Object.create(null);}dl.prototype={setTagName:function(e){if(!K.QName_exact.test(e))throw new Error("invalid tagName:"+e);this.tagName=e;},addValue:function(e,r,t){if(!K.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}};ka.XMLReader=cl;ka.parseUtils=pl;ka.parseDoctypeCommentOrCData=hl;});var wl=chunkPCJ5ACUV_cjs.b(At=>{var Jr=Gr(),T0=eo(),C0=cn(),ml=al(),_0=gl(),S0=T0.DOMImplementation,O0=Jr.hasDefaultHTMLNamespace,N0=Jr.isHTMLMimeType,I0=Jr.isValidMimeType,El=Jr.MIME_TYPE,to=Jr.NAMESPACE,vl=C0.ParseError,B0=_0.XMLReader;function bl(e){return e.replace(/\r[\n\u0085]/g,`
6
6
  `).replace(/[\r\u0085\u2028\u2029]/g,`
7
- `)}function El(e){if(e=e||{},e.locator===void 0&&(e.locator=true),this.assign=e.assign||$r.assign,this.domHandler=e.domHandler||La,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||yl,this.locator=!!e.locator,this.xmlns=this.assign(Object.create(null),e.xmlns);}El.prototype.parseFromString=function(e,r){if(!O0(r))throw new TypeError('DOMParser.parseFromString: the provided mimeType "'+r+'" is not valid.');var t=this.assign(Object.create(null),this.xmlns),n=dl.XML_ENTITIES,o=t[""]||null;_0(r)?(n=dl.HTML_ENTITIES,o=eo.HTML):r===vl.XML_SVG_IMAGE&&(o=eo.SVG),t[""]=o,t.xml=t.xml||eo.XML;var u=new this.domHandler({mimeType:r,defaultNamespace:o,onError:this.onError}),s=this.locator?{}:void 0;this.locator&&u.setDocumentLocator(s);var c=new N0;c.errorHandler=u,c.domBuilder=u;var f=!$r.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 La(e){var r=e||{};this.mimeType=r.mimeType||vl.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 At(e,r){r.lineNumber=e.lineNumber,r.columnNumber=e.columnNumber;}La.prototype={startDocument:function(){var e=new C0;this.doc=S0(this.mimeType)?e.createHTMLDocument(false):e.createDocument(this.defaultNamespace,"");},startElement:function(e,r,t,n){var o=this.doc,u=o.createElementNS(e,t||r),s=n.length;Fa(this,u),this.currentElement=u,this.locator&&At(this.locator,u);for(var c=0;c<s;c++){var e=n.getURI(c),f=n.getValue(c),t=n.getQName(c),p=o.createAttributeNS(e,t);this.locator&&At(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&&At(this.locator,t),Fa(this,t);},ignorableWhitespace:function(e,r,t){},characters:function(e,r,t){if(e=ml.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&&At(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=ml.apply(this,arguments);var n=this.doc.createComment(e);this.locator&&At(this.locator,n),Fa(this,n);},startCDATA:function(){this.cdata=true;},endCDATA:function(){this.cdata=false;},startDTD:function(e,r,t,n){var o=this.doc.implementation;if(o&&o.createDocumentType){var u=o.createDocumentType(e,r,t,n);this.locator&&At(this.locator,u),Fa(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 gl("Reporting "+e+' "'+r+'" caused '+t,this.locator)}else console.error("[xmldom "+e+"] "+r,I0(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 gl(e,this.locator)}};function I0(e){if(e)return `
8
- @#[line:`+e.lineNumber+",col:"+e.columnNumber+"]"}function ml(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){La.prototype[e]=function(){return null};});function Fa(e,r){e.currentElement?e.currentElement.appendChild(r):e.doc.appendChild(r);}function B0(e){if(e==="error")throw "onErrorStopParsing"}function P0(){throw "onWarningStopParsing"}Tt.__DOMHandler=La;Tt.DOMParser=El;Tt.normalizeLineEndings=yl;Tt.onErrorStopParsing=B0;Tt.onWarningStopParsing=P0;});var xl=chunkPCJ5ACUV_cjs.b(ue=>{var Ct=Yr();ue.assign=Ct.assign;ue.hasDefaultHTMLNamespace=Ct.hasDefaultHTMLNamespace;ue.isHTMLMimeType=Ct.isHTMLMimeType;ue.isValidMimeType=Ct.isValidMimeType;ue.MIME_TYPE=Ct.MIME_TYPE;ue.NAMESPACE=Ct.NAMESPACE;var Ma=cn();ue.DOMException=Ma.DOMException;ue.DOMExceptionName=Ma.DOMExceptionName;ue.ExceptionCode=Ma.ExceptionCode;ue.ParseError=Ma.ParseError;var we=Ji();ue.Attr=we.Attr;ue.CDATASection=we.CDATASection;ue.CharacterData=we.CharacterData;ue.Comment=we.Comment;ue.Document=we.Document;ue.DocumentFragment=we.DocumentFragment;ue.DocumentType=we.DocumentType;ue.DOMImplementation=we.DOMImplementation;ue.Element=we.Element;ue.Entity=we.Entity;ue.EntityReference=we.EntityReference;ue.LiveNodeList=we.LiveNodeList;ue.NamedNodeMap=we.NamedNodeMap;ue.Node=we.Node;ue.NodeList=we.NodeList;ue.Notation=we.Notation;ue.ProcessingInstruction=we.ProcessingInstruction;ue.Text=we.Text;ue.XMLSerializer=we.XMLSerializer;var qa=bl();ue.DOMParser=qa.DOMParser;ue.normalizeLineEndings=qa.normalizeLineEndings;ue.onErrorStopParsing=qa.onErrorStopParsing;ue.onWarningStopParsing=qa.onWarningStopParsing;});var Ua=chunkPCJ5ACUV_cjs.b((d1,wl)=>{function R0(e){return e[e.length-1]}function k0(e){return e[0]}wl.exports={last:R0,first:k0};});var Ye=chunkPCJ5ACUV_cjs.b((g1,Tl)=>{function _n(e){"@babel/helpers - typeof";return _n=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},_n(e)}function Dl(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n);}return t}function F0(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Dl(Object(t),true).forEach(function(n){L0(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Dl(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function L0(e,r,t){return (r=M0(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function M0(e){var r=q0(e,"string");return _n(r)=="symbol"?r:r+""}function q0(e,r){if(_n(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(_n(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}var Al=Ua(),za=Al.last,et=Al.first;function rt(e){this.name="GenericError",this.message=e,this.stack=new Error(e).stack;}rt.prototype=Error.prototype;function Ie(e){this.name="TemplateError",this.message=e,this.stack=new Error(e).stack;}Ie.prototype=new rt;function Sn(e){this.name="RenderingError",this.message=e,this.stack=new Error(e).stack;}Sn.prototype=new rt;function ja(e){this.name="ScopeParserError",this.message=e,this.stack=new Error(e).stack;}ja.prototype=new rt;function Br(e){this.name="InternalError",this.properties={explanation:"InternalError"},this.message=e,this.stack=new Error(e).stack;}Br.prototype=new rt;function ro(e){this.name="APIVersionError",this.properties={explanation:"APIVersionError"},this.message=e,this.stack=new Error(e).stack;}ro.prototype=new rt;function U0(e,r){var t=new ro(e);throw t.properties=F0({id:"api_version_error"},r),t}function z0(e){var r=new Ie("Multi error");throw r.properties={errors:e,id:"multi_error",explanation:"The template has multiple errors"},r}function j0(e){var r=new Ie("Unopened tag");return r.properties={xtag:za(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,10),'" is unopened')},r}function V0(e){var r=new Ie("Duplicate open tag, expected one open tag");return r.properties={xtag:et(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,10),'" has duplicate open tags')},r}function X0(e){var r=new Ie("Duplicate close tag, expected one close tag");return r.properties={xtag:et(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,10),'" has duplicate close tags')},r}function H0(e){var r=new Ie("Unclosed tag");return r.properties={xtag:et(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,10),'" is unclosed')},r}function Z0(e){var r=new Ie('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_".concat(e.position),explanation:'No tag "'.concat(e.element,'" was found at the ').concat(e.position),offset:t.offset,part:t,parsed:e.parsed,index:e.index,element:e.element},r}function G0(e){var r=e.tag,t=e.value,n=e.offset,o=new Sn("There are some XML corrupt characters");return o.properties={id:"invalid_xml_characters",xtag:r,value:t,offset:n,explanation:"There are some corrupt characters for the field ".concat(r)},o}function Y0(e){var r=e.tag,t=e.value,n=e.offset,o=new Sn("Non string values are not allowed for rawXML tags");return o.properties={id:"invalid_raw_xml_value",xtag:r,value:t,offset:n,explanation:"The value of the raw tag : '".concat(r,"' is not a string")},o}function W0(e){var r=e.part,t=r.value,n=r.offset,o=e.id,u=o===void 0?"raw_tag_outerxml_invalid":o,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 y=new Ie(c);throw y.properties={id:u,explanation:h,rootError:e.rootError,xtag:t,offset:n,postparsed:e.postparsed,expandTo:e.expandTo,index:e.index},y}function K0(e){var r=new Ie("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 Q0(e){var r=e.location,t=e.offset,n=e.square,o=r==="start"?"unclosed":"unopened",u=r==="start"?"Unclosed":"Unopened",s=new Ie("".concat(u," loop")),c=e.value;return s.properties={id:"".concat(o,"_loop"),explanation:'The loop with tag "'.concat(c,'" is ').concat(o),xtag:c,offset:t},n&&(s.properties.square=n),s}function J0(e,r){var t=new Ie("Unbalanced loop tag"),n=r[0].part.value,o=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(o,"}{#").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 $0(e){var r=e.tags,t=new Ie("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:et(r).value,offset:[et(r).offset,za(r).offset],closingtag:za(r).value},et(r).square&&(t.properties.square=[et(r).square,za(r).square]),t}function e2(e){var r=e.tag,t=e.rootError,n=e.offset,o=new ja("Scope parser compilation failed");return o.properties={id:"scopeparser_compilation_failed",offset:n,xtag:r,explanation:'The scope parser for the tag "'.concat(r,'" failed to compile'),rootError:t},o}function r2(e){var r=e.tag,t=e.scope,n=e.error,o=e.offset,u=new ja("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:o,xtag:r,rootError:n},u}function t2(e){var r=e.tag,t=e.offset,n=new Ie('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 n2(e,r){var t='Unimplemented tag type "'.concat(e.type,'"');e.module&&(t+=' "'.concat(e.module,'"'));var n=new Ie(t);throw n.properties={part:e,index:r,id:"unimplemented_tag_type"},n}function a2(){var e=new Br("Malformed xml");throw e.properties={explanation:"The template contains malformed xml",id:"malformed_xml"},e}function i2(){var e=new Br("You must run `.compile()` before running `.resolveData()`");throw e.properties={id:"resolve_before_compile",explanation:"You must run `.compile()` before running `.resolveData()`"},e}function o2(){var e=new Br("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 u2(){var e=new Br("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 s2(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 Br("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 l2(e,r){var t=new Ie("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}function c2(e){var r=new Br('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}Tl.exports={XTError:rt,XTTemplateError:Ie,XTInternalError:Br,XTScopeParserError:ja,XTAPIVersionError:ro,RenderingError:Sn,XTRenderingError:Sn,getClosingTagNotMatchOpeningTag:$0,getLoopPositionProducesInvalidXMLError:t2,getScopeCompilationError:e2,getScopeParserExecutionError:r2,getUnclosedTagException:H0,getUnopenedTagException:j0,getUnmatchedLoopException:Q0,getDuplicateCloseTagException:X0,getDuplicateOpenTagException:V0,getCorruptCharactersException:G0,getInvalidRawXMLValueException:Y0,getUnbalancedLoopException:J0,throwApiVersionError:U0,throwFileTypeNotHandled:c2,throwFileTypeNotIdentified:s2,throwMalformedXml:a2,throwMultiError:z0,throwExpandNotFound:W0,throwRawTagShouldBeOnlyTextInParagraph:K0,throwUnimplementedTagType:n2,throwXmlTagNotFound:Z0,throwXmlInvalid:l2,throwResolveBeforeCompile:i2,throwRenderInvalidTemplate:o2,throwRenderTwice:u2};});var be=chunkPCJ5ACUV_cjs.b((m1,Pl)=>{function f2(e,r){return g2(e)||d2(e,r)||h2(e,r)||p2()}function p2(){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 h2(e,r){if(e){if(typeof e=="string")return Cl(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)?Cl(e,r):void 0}}function Cl(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 d2(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,o,u,s,c=[],f=true,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,o=h;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(p)throw o}}return c}}function g2(e){if(Array.isArray(e))return e}var _l=xl(),m2=_l.DOMParser,v2=_l.XMLSerializer,y2=Ye(),Sl=y2.throwXmlTagNotFound,Ol=Ua(),E2=Ol.last,b2=Ol.first;function x2(e){return /^[ \n\r\t]+$/.test(e)}function w2(e){return {get:function(t){return e==="."?t:t&&t[e]}}}function D2(e){for(var r=0;r<e.length;r++){var t=e[r];t.message&&console.warn("Warning : "+t.message);}}var to={};function A2(e,r,t){var n;if(to[r]?n=to[r]:(n=new RegExp("(<.* ".concat(r,'=")([^"]*)(".*)$')),to[r]=n),n.test(e))return e.replace(n,"$1".concat(t,"$3"));var o=e.lastIndexOf("/>");return o===-1&&(o=e.lastIndexOf(">")),e.substr(0,o)+" ".concat(r,'="').concat(t,'"')+e.substr(o)}function T2(e,r){var t=e.indexOf(" ".concat(r,'="'));if(t===-1)return null;var n=e.substr(t).search(/["']/)+t,o=e.substr(n+1).search(/["']/)+n;return e.substr(n+1,o-n)}function C2(e,r){return e.indexOf(r,e.length-r.length)!==-1}function _2(e,r){return e.substring(0,r.length)===r}function S2(e){for(var r=[],t={},n=[],o=0,u=e.length;o<u;++o)t[e[o]]?r.push(e[o]):(t[e[o]]=true,n.push(e[o]));return r}function O2(e){for(var r={},t=[],n=0,o=e.length;n<o;++n)r[e[n]]||(r[e[n]]=true,t.push(e[n]));return t}function N2(e,r){for(var t=[[]],n=0;n<e.length;n++){var o=e[n],u=t[t.length-1],s=r(o);s==="start"?t.push([o]):s==="end"?(u.push(o),t.push([])):u.push(o);}for(var c=[],f=0;f<t.length;f++){var p=t[f];p.length>0&&c.push(p);}return c}function I2(){return {errorLogging:"json",stripInvalidXMLChars:false,paragraphLoop:false,nullGetter:function(r){return r.module?"":"undefined"},xmlFileNames:["[Content_Types].xml"],parser:w2,warnFn:D2,linebreaks:false,fileTypeConfig:null,delimiters:{start:"{",end:"}"},syntax:{changeDelimiterPrefix:"="}}}function B2(e){return new v2().serializeToString(e).replace(/xmlns(:[a-z0-9]+)?="" ?/g,"")}function P2(e){return e.charCodeAt(0)===65279&&(e=e.substr(1)),new m2().parseFromString(e,"text/xml")}var Nl=[["&","&amp;"],["<","&lt;"],[">","&gt;"],['"',"&quot;"],["'","&apos;"]],On=Nl.map(function(e){var r=f2(e,2),t=r[0],n=r[1];return {rstart:new RegExp(n,"g"),rend:new RegExp(t,"g"),start:n,end:t}});function R2(e){for(var r=On.length-1;r>=0;r--){var t=On[r];e=e.replace(t.rstart,t.end);}return e}function k2(e){var r;(r=e)!==null&&r!==void 0&&r.toString?e=e.toString():e="";for(var t,n=0,o=On.length;n<o;n++)t=On[n],e=e.replace(t.rend,t.start);return e}function F2(e){for(var r=[],t=0;t<e.length;t++)for(var n=e[t],o=0;o<n.length;o++){var u=n[o];r.push(u);}return r}function L2(e,r){if(!r)return e;for(var t=0,n=r.length;t<n;t++)e.push(r[t]);return e}var M2=new RegExp("\xA0","g");function q2(e){return e.replace(M2," ")}function U2(e,r){for(var t=[],n;(n=e.exec(r))!=null;)t.push({array:n,offset:n.index});return t}function ao(e,r){return e==="</"+r+">"}function io(e,r){return e.indexOf("<"+r)===0&&[">"," ","/"].indexOf(e[r.length+1])!==-1}function z2(e,r,t){var n=Il(e,r,t);if(n!==null)return n;Sl({position:"right",element:r,parsed:e,index:t});}function Il(e,r,t){typeof r=="string"&&(r=[r]);for(var n=1,o=t,u=e.length;o<u;o++)for(var s=e[o],c=0,f=r;c<f.length;c++){var p=f[c];if(ao(s.value,p)&&n--,io(s.value,p)&&n++,n===0)return o}return null}function j2(e,r,t){var n=Bl(e,r,t);if(n!==null)return n;Sl({position:"left",element:r,parsed:e,index:t});}function Bl(e,r,t){typeof r=="string"&&(r=[r]);for(var n=1,o=t;o>=0;o--)for(var u=e[o],s=0,c=r;s<c.length;s++){var f=c[s];if(io(u.value,f)&&n--,ao(u.value,f)&&n++,n===0)return o}return null}function V2(e,r){var t=r.type,n=r.tag,o=r.position;return t==="tag"&&n===e&&(o==="start"||o==="selfclosing")}function X2(e,r){var t=r.type,n=r.tag,o=r.position;return t==="tag"&&n===e&&o==="end"}function H2(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 Z2(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 G2(e){var r=e.type,t=e.position,n=e.text;return n&&r==="tag"&&t==="start"}function Y2(e){var r=e.type,t=e.position,n=e.text;return n&&r==="tag"&&t==="end"}function W2(e){var r=e.type,t=e.position;return r==="placeholder"||r==="content"&&t==="insidetag"}function K2(e,r){var t=e.module,n=e.type;return r instanceof Array||(r=[r]),n==="placeholder"&&r.indexOf(t)!==-1}var no=/[\x00-\x08\x0B\x0C\x0E-\x1F]/g;function Q2(e){return no.lastIndex=0,no.test(e)}function J2(e){return typeof e!="string"&&(e=String(e)),e.replace(no,"")}function $2(e){var r={};for(var t in e){var n=e[t];r[n]||(r[n]=[]),r[n].push(t);}return r}function eg(e,r){return e.map(function(t,n){return {item:t,index:n}}).sort(function(t,n){return r(t.item,n.item)||t.index-n.index}).map(function(t){var n=t.item;return n})}Pl.exports={endsWith:C2,startsWith:_2,isContent:W2,isParagraphStart:H2,isParagraphEnd:Z2,isTagStart:V2,isTagEnd:X2,isTextStart:G2,isTextEnd:Y2,isStarting:io,isEnding:ao,isModule:K2,uniq:O2,getDuplicates:S2,chunkBy:N2,last:E2,first:b2,xml2str:B2,str2xml:P2,getRightOrNull:Il,getRight:z2,getLeftOrNull:Bl,getLeft:j2,pregMatchAll:U2,convertSpaces:q2,charMapRegexes:On,hasCorruptCharacters:Q2,removeCorruptCharacters:J2,getDefaults:I2,wordToUtf8:R2,utf8ToWord:k2,concatArrays:F2,pushArray:L2,invertMap:$2,charMap:Nl,getSingleAttribute:T2,setSingleAttribute:A2,isWhiteSpace:x2,stableSort:eg};});var Ll=chunkPCJ5ACUV_cjs.b((v1,Fl)=>{function rg(e,r){return ig(e)||ag(e,r)||ng(e,r)||tg()}function tg(){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 ng(e,r){if(e){if(typeof e=="string")return Rl(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)?Rl(e,r):void 0}}function Rl(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 ag(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,o,u,s,c=[],f=true,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,o=h;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(p)throw o}}return c}}function ig(e){if(Array.isArray(e))return e}function Oe(e){"@babel/helpers - typeof";return Oe=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},Oe(e)}function og(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function kl(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,sg(n.key),n);}}function ug(e,r,t){return t&&kl(e,t),Object.defineProperty(e,"prototype",{writable:false}),e}function sg(e){var r=lg(e,"string");return Oe(r)=="symbol"?r:r+""}function lg(e,r){if(Oe(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Oe(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var cg=(function(){function e(){og(this,e);}return ug(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(Oe(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(Oe(t))}})}},{key:"boolean",value:function(){return e.createSchema(function(t){return typeof t!="boolean"?{success:false,error:"Expected boolean, received ".concat(Oe(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(Oe(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(Oe(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(Oe(n))};for(var o=0;o<n.length;o++){var u=t.validate(n[o]);if(!u.success)return {success:false,error:"".concat(u.error," at index ").concat(o)}}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(Oe(t))}})}},{key:"union",value:function(t){return e.createSchema(function(n){for(var o=0;o<t.length;o++){var u=t[o],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(o){if(o==null)return {success:false,error:"Expected object, received ".concat(o)};if(Oe(o)!=="object")return {success:false,error:"Expected object, received ".concat(Oe(o))};for(var u=0,s=Object.entries(t);u<s.length;u++){var c=rg(s[u],2),f=c[0],p=c[1],h=p.validate(o[f]);if(!h.success)return {success:false,error:"".concat(h.error," at ").concat(f)}}return {success:true,value:o}});return n.strict=function(){return e.createSchema(function(o){var u=n.validate(o);if(!u.success)return u;var s=Object.keys(o).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(Oe(n)!=="object")return {success:false,error:"Expected object, received ".concat(Oe(n))};for(var o=0,u=Object.keys(n);o<u.length;o++){var s=u[o];if(typeof s!="string")return {success:false,error:"Expected string key, received ".concat(Oe(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}})}}])})();Fl.exports=cg;});var ql=chunkPCJ5ACUV_cjs.b((y1,Ml)=>{var fg=be(),pg=fg.str2xml,hg="_rels/.rels";function dg(e){for(var r=e.files[hg],t=r?pg(r.asText()):null,n=t?t.getElementsByTagName("Relationship"):[],o={},u=0;u<n.length;u++){var s=n[u];o[s.getAttribute("Target")]=s.getAttribute("Type");}return o}Ml.exports={getRelsTypes:dg};});var jl=chunkPCJ5ACUV_cjs.b((E1,zl)=>{var gg=be(),mg=gg.str2xml,Ul="[Content_Types].xml";function vg(e,r,t){for(var n={},o=0;o<e.length;o++){var u=e[o],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 y=r[h],x=y.getAttribute("ContentType"),w=y.getAttribute("Extension");p.slice(p.length-w.length)===w&&!n[p]&&p!==Ul&&(n[p]=x);}n[p]||(n[p]="");}),n}function yg(e){var r=e.files[Ul],t=r?mg(r.asText()):null,n=t?t.getElementsByTagName("Override"):null,o=t?t.getElementsByTagName("Default"):null;return {overrides:n,defaults:o,contentTypes:r,contentTypeXml:t}}zl.exports={collectContentTypes:vg,getContentTypes:yg};});var Pr=chunkPCJ5ACUV_cjs.b((b1,Vl)=>{var Eg=Ye(),bg=Eg.XTInternalError;function vr(){}function _t(e){return e}Vl.exports=function(e){var r={on:vr,set:vr,getFileType:vr,optionsTransformer:_t,preparse:_t,matchers:function(){return []},parse:vr,getTraits:vr,postparse:_t,errorsTransformer:_t,preResolve:vr,resolve:vr,getRenderedMap:_t,render:vr,nullGetter:vr,postrender:_t};if(Object.keys(r).every(function(o){return !e[o]})){var t=new bg("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 Xa=chunkPCJ5ACUV_cjs.b((x1,Ql)=>{function In(e){"@babel/helpers - typeof";return In=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},In(e)}function xg(e){return Ag(e)||Dg(e)||Wl(e)||wg()}function wg(){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 Dg(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ag(e){if(Array.isArray(e))return oo(e)}function Yl(e,r){return _g(e)||Cg(e,r)||Wl(e,r)||Tg()}function Tg(){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 Wl(e,r){if(e){if(typeof e=="string")return oo(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)?oo(e,r):void 0}}function oo(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 Cg(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,o,u,s,c=[],f=true,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,o=h;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(p)throw o}}return c}}function _g(e){if(Array.isArray(e))return e}function Xl(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n);}return t}function Kl(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Xl(Object(t),true).forEach(function(n){Sg(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Xl(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function Sg(e,r,t){return (r=Og(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function Og(e){var r=Ng(e,"string");return In(r)=="symbol"?r:r+""}function Ng(e,r){if(In(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(In(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}var cr=be(),Ig=cr.getRightOrNull,Bg=cr.getRight,Pg=cr.getLeft,Rg=cr.getLeftOrNull,kg=cr.chunkBy,Fg=cr.isTagStart,Lg=cr.isTagEnd,Hl=cr.isContent,Va=cr.last,Nn=cr.first,so=Ye(),Mg=so.XTTemplateError,qg=so.throwExpandNotFound,Zl=so.getLoopPositionProducesInvalidXMLError;function Ug(e,r){if(e.length===0)return false;var t=Va(e).substr(1);return t.indexOf(r)===0}function zg(e){for(var r=[],t=0;t<e.length;t++){var n=e[t],o=n.position,u=n.value,s=n.tag;s&&(o==="end"?Ug(r,s)?r.pop():r.push(u):o==="start"&&r.push(u));}return r}function jg(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 Vg(e,r,t){for(var n=zg(e.slice(r[0].offset,r[1].offset)),o=function(){var f=t[s],p=f.contains,h=f.expand,y=f.onlyTextInTag;if(jg(p,n)){if(y){var x=Rg(e,p,r[0].offset),w=Ig(e,p,r[1].offset);if(x===null||w===null)return 0;var T=e.slice(x,w),C=kg(T,function(ge){return Fg(p,ge)?"start":Lg(p,ge)?"end":null}),O=Nn(C),P=Va(C),R=O.filter(Hl),S=P.filter(Hl);if(R.length!==1||S.length!==1)return 0}for(var k=Xg(n),U=0,V=0;V<k.length;V++){var G=k[V],M=G.tag,te=G.position;M===h&&(te==="start"&&U++,te==="end"&&U--);}return U!==0?{v:{error:Zl({tag:Nn(r).part.value,offset:[Nn(r).part.offset,Va(r).part.offset]})}}:{v:{value:h}}}},u,s=0;s<t.length;s++)if(u=o(),u!==0&&u)return u.v;return Hg(n)?{}:{error:Zl({tag:Nn(r).part.value,offset:[Nn(r).part.offset,Va(r).part.offset]})}}function Xg(e){for(var r=[],t=0;t<e.length;t++){var n=e[t],o=uo(n),u=/^\s*<\//.test(n)?"end":"start";r.push({tag:o,position:u});}return r}function uo(e){return e.replace(/^\s*<\/?([a-zA-Z:]+).*/,"$1")}function Hg(e){if(e.length%2===1)return false;for(var r=0,t=e.length/2;r<t;r++){var n=e[r],o=e[e.length-r-1],u=uo(n),s=uo(o);if(u!==s)return false}return true}function Zg(e,r,t,n){var o=e.expandTo||n.expandTo;if(o){var u,s;try{s=Pg(t,o,r),u=Bg(t,o,r);}catch(p){var c=Kl({part:e,rootError:p,postparsed:t,expandTo:o,index:r},n.error);if(n.onError){var f=n.onError(c);if(f==="ignore")return}qg(c);}return [s,u]}}function Gl(e,r,t,n){var o=Yl(e,2),u=o[0],s=o[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 Gg(e,r){var t=[];e.errors&&(t=e.errors,e=e.postparsed);for(var n=[],o=0,u=e.length;o<u;o++){var s=e[o];if(s.type==="placeholder"&&s.module===r.moduleName&&!s.subparsed&&!s.expanded)try{var c=Zg(s,o,e,r);if(!c)continue;var f=Yl(c,2),p=f[0],h=f[1];n.push({left:p,right:h,part:s,i:o,leftPart:e[p],rightPart:e[h]});}catch(S){t.push(S);}}n.sort(function(S,k){return S.left===k.left?k.part.lIndex<S.part.lIndex?1:-1:k.left<S.left?1:-1});for(var y=-1,x=0,w=0,T=n.length;w<T;w++){var C,O=n[w];if(y=Math.max(y,w>0?n[w-1].right:0),!(O.left<y)){var P=void 0;try{P=Gl([O.left+x,O.right+x],O.part,e,r);}catch(S){if(r.onError){var R=r.onError(Kl({part:O.part,rootError:S,postparsed:e,expandOne:Gl},r.errors));if(R==="ignore")continue}if(S instanceof Mg)t.push(S);else throw S}P&&(x+=P.inner.length-(P.right+1-P.left),(C=e).splice.apply(C,[P.left,P.right+1-P.left].concat(xg(P.inner))));}}return {postparsed:e,errors:t}}Ql.exports={expandToOne:Gg,getExpandToDefault:Vg};});var Ha=chunkPCJ5ACUV_cjs.b((w1,$l)=>{var Yg="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml",Wg="application/vnd.ms-word.document.macroEnabled.main+xml",Kg="application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml",Qg="application/vnd.ms-word.template.macroEnabledTemplate.main+xml",Jg="application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml",$g="application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml",em="application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml",rm="application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml",tm="application/vnd.openxmlformats-officedocument.presentationml.slide+xml",nm="application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml",am="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml",im="application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml",om="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",um="application/vnd.ms-excel.sheet.macroEnabled.main+xml",sm="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",Jl=[Yg,Wg,Kg,Qg],lm={main:Jl,docx:[Jg].concat(Jl,[rm,$g,em]),pptx:[tm,nm,am,im],xlsx:[om,um,sm]};$l.exports=lm;});var lo=chunkPCJ5ACUV_cjs.b((D1,ec)=>{var cm="application/vnd.openxmlformats-package.core-properties+xml",fm="application/vnd.openxmlformats-officedocument.extended-properties+xml",pm="application/vnd.openxmlformats-officedocument.custom-properties+xml",hm="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml",dm="application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml",gm="application/vnd.ms-office.drawingml.diagramDrawing+xml";ec.exports={settingsContentType:hm,coreContentType:cm,appContentType:fm,customContentType:pm,diagramDataContentType:dm,diagramDrawingContentType:gm};});var ac=chunkPCJ5ACUV_cjs.b((A1,nc)=>{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 mm(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function rc(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,ym(n.key),n);}}function vm(e,r,t){return r&&rc(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function ym(e){var r=Em(e,"string");return Bn(r)=="symbol"?r:r+""}function Em(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 bm=be(),xm=bm.pushArray,wm=Pr(),co=Ha(),St=lo(),Dm=St.settingsContentType,Am=St.coreContentType,Tm=St.appContentType,Cm=St.customContentType,_m=St.diagramDataContentType,Sm=St.diagramDrawingContentType,tc=[Dm,Am,Tm,Cm,_m,Sm],Om=(function(){function e(){mm(this,e),this.name="Common";}return vm(e,[{key:"getFileType",value:function(t){var n=t.doc,o=n.invertedContentTypes;if(o){for(var u=0;u<tc.length;u++){var s=tc[u];o[s]&&xm(n.targets,o[s]);}for(var c=["docx","pptx","xlsx"],f,p=0;p<c.length;p++)for(var h=c[p],y=co[h],x=0;x<y.length;x++){var w=y[x];if(o[w])for(var T=0,C=o[w];T<C.length;T++){var O=C[T];n.relsTypes[O]&&["http://purl.oclc.org/ooxml/officeDocument/relationships/officeDocument","http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"].indexOf(n.relsTypes[O])===-1||(f=h,(co.main.indexOf(w)!==-1||w===co.pptx[0])&&(n.textTarget||(n.textTarget=O)),f!=="xlsx"&&n.targets.push(O));}}return f}}}])})();nc.exports=function(){return wm(new Om)};});var pc=chunkPCJ5ACUV_cjs.b((T1,fc)=>{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 Nm(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function ic(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,Bm(n.key),n);}}function Im(e,r,t){return r&&ic(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function Bm(e){var r=Pm(e,"string");return Pn(r)=="symbol"?r:r+""}function Pm(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 (String)(e)}var Rm=Ye(),sc=Rm.getScopeParserExecutionError,km=Ua(),oc=km.last,Fm=be(),Ot=Fm.concatArrays;function uc(e,r){for(var t=e.length>>>0,n,o=0;o<t;o++)if(n=e[o],r.call(this,n,o,e))return n}function lc(e,r,t){var n=this,o=this.scopeList[t];if(this.root.finishedResolving){for(var u=this.resolved,s=function(){var x=n.scopeLindex[c];u=uc(u,function(w){return w.lIndex===x}),u=u.value[n.scopePathItem[c]];},c=this.resolveOffset,f=this.scopePath.length;c<f;c++)s();return uc(u,function(y){return r.part.lIndex===y.lIndex}).value}var p,h;!this.cachedParsers||!r.part?h=this.parser(e,{tag:r.part,scopePath:this.scopePath}):this.cachedParsers[r.part.lIndex]?h=this.cachedParsers[r.part.lIndex]:h=this.cachedParsers[r.part.lIndex]=this.parser(e,{tag:r.part,scopePath:this.scopePath});try{p=h.get(o,this.getContext(r,t));}catch(y){throw sc({tag:e,scope:o,error:y,offset:r.part.offset})}return p==null&&t>0?lc.call(this,e,r,t-1):p}function cc(e,r,t){var n=this,o=this.scopeList[t],u;return !this.cachedParsers||!r.part?u=this.parser(e,{tag:r.part,scopePath:this.scopePath}):this.cachedParsers[r.part.lIndex]?u=this.cachedParsers[r.part.lIndex]:u=this.cachedParsers[r.part.lIndex]=this.parser(e,{tag:r.part,scopePath:this.scopePath}),Promise.resolve().then(function(){return u.get(o,n.getContext(r,t))}).catch(function(s){throw sc({tag:e,scope:o,error:s,offset:r.part.offset})}).then(function(s){return s==null&&t>0?cc.call(n,e,r,t-1):s})}var Lm=(function(){function e(r){Nm(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 Im(e,[{key:"loopOver",value:function(t,n,o,u){return this.loopOverValue(this.getValue(t,u),n,o)}},{key:"functorIfInverted",value:function(t,n,o,u,s){return t&&n(o,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,o){this.root.finishedResolving&&(o=false);var u=Object.prototype.toString.call(t);if(this.isValueFalsy(t,u))return this.scopeType=false,this.functorIfInverted(o,n,oc(this.scopeList),0,1);if(u==="[object Array]"){this.scopeType="array";for(var s=0;s<t.length;s++)this.functorIfInverted(!o,n,t[s],s,t.length);return true}return u==="[object Object]"?(this.scopeType="object",this.functorIfInverted(!o,n,t,0,1)):this.functorIfInverted(!o,n,oc(this.scopeList),0,1)}},{key:"getValue",value:function(t,n){var o=lc.call(this,t,n,this.scopeList.length-1);return typeof o=="function"?o(this.scopeList[this.scopeList.length-1],this):o}},{key:"getValueAsync",value:function(t,n){var o=this;return cc.call(this,t,n,this.scopeList.length-1).then(function(u){return typeof u=="function"?u(o.scopeList[o.scopeList.length-1],o):u})}},{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,o,u,s){return new e({root:this.root,resolveOffset:this.resolveOffset,resolved:this.resolved,parser:this.parser,cachedParsers:this.cachedParsers,scopeTypes:Ot([this.scopeTypes,[this.scopeType]]),scopeList:Ot([this.scopeList,[t]]),scopePath:Ot([this.scopePath,[n]]),scopePathItem:Ot([this.scopePathItem,[o]]),scopePathLength:Ot([this.scopePathLength,[s]]),scopeLindex:Ot([this.scopeLindex,[u.lIndex]])})}}])})();fc.exports=function(e){return e.scopePath=[],e.scopePathItem=[],e.scopePathLength=[],e.scopeTypes=[],e.scopeLindex=[],e.scopeList=[e.tags],new Lm(e)};});var po=chunkPCJ5ACUV_cjs.b((C1,Dc)=>{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 bc(e,r){return zm(e)||Um(e,r)||qm(e,r)||Mm()}function Mm(){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 qm(e,r){if(e){if(typeof e=="string")return hc(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)?hc(e,r):void 0}}function hc(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,o,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,o=h;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(p)throw o}}return c}}function zm(e){if(Array.isArray(e))return e}function dc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n);}return t}function Rr(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?dc(Object(t),true).forEach(function(n){jm(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):dc(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function jm(e,r,t){return (r=Vm(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function Vm(e){var r=Xm(e,"string");return kn(r)=="symbol"?r:r+""}function Xm(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 tt=Ye(),gc=tt.getUnclosedTagException,Hm=tt.getUnopenedTagException,Zm=tt.getDuplicateOpenTagException,Gm=tt.getDuplicateCloseTagException,mc=tt.throwMalformedXml,Ym=tt.throwXmlInvalid,vc=tt.XTTemplateError,Ga=be(),Wm=Ga.isTextStart,Km=Ga.isTextEnd,yc=Ga.wordToUtf8,Qm=Ga.pushArray,xc=0,wc=1,Rn=2,Za=3;function Jm(e,r){return e[0]<=r.offset&&r.offset<e[1]}function $m(e,r){return Wm(e)?(r&&mc(),true):Km(e)?(r||mc(),false):r}function ev(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 rv(e,r,t){for(var n=0,o=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<o&&(n=e.indexOf("<",n),n!==-1);){var y=n,x=e.indexOf("<",n+1);n=e.indexOf(">",n),(n===-1||x!==-1&&n>x)&&Ym(e,y);var w=e.slice(y,n+1),T=ev(w),C=T.tag,O=T.position,P=u[C];P!=null&&h.push({type:"tag",position:O,text:P,offset:y,value:w,tag:C});}return h}function tv(e,r,t){var n=[],o=false,u={offset:0},s,c=e.reduce(function(p,h){var y=h.position,x=h.offset,w=u.offset,T=u.length;if(s=r.substr(w,x-w),o&&y==="start"){if(w+T===x&&(s=r.substr(w,x-w+T+4),!t.allowUnclosedTag))return n.push(Zm({xtag:s,offset:w})),u=h,p.push(Rr(Rr({},h),{},{error:true})),p;if(!t.allowUnclosedTag)return n.push(gc({xtag:yc(s),offset:w})),u=h,p.push(Rr(Rr({},h),{},{error:true})),p;p.pop();}return !o&&y==="end"?t.allowUnopenedTag?p:w+T===x?(s=r.substr(w-4,x-w+T+4),n.push(Gm({xtag:s,offset:w})),u=h,p.push(Rr(Rr({},h),{},{error:true})),p):(n.push(Hm({xtag:s,offset:x})),u=h,p.push(Rr(Rr({},h),{},{error:true})),p):(o=y==="start",u=h,p.push(h),p)},[]);if(o){var f=u.offset;s=r.substr(f,r.length-f),t.allowUnclosedTag?c.pop():n.push(gc({xtag:yc(s),offset:f}));}return {delimiterWithErrors:c,errors:n}}function nv(e,r){return e===-1&&r===-1?xc:e===r?wc:e===-1||r===-1?r<e?Rn:Za:e<r?Rn:Za}function av(e){var r=e.split(" ");if(r.length!==2){var t=new vc("New Delimiters cannot be parsed");throw t.properties={id:"change_delimiters_invalid",explanation:"Cannot parser delimiters"},t}var n=bc(r,2),o=n[0],u=n[1];if(o.length===0||u.length===0){var s=new vc("New Delimiters cannot be parsed");throw s.properties={id:"change_delimiters_invalid",explanation:"Cannot parser delimiters"},s}return [o,u]}function iv(e,r,t){var n=[],o=r.start,u=r.end,s=-1,c=false;if(o==null&&u==null)return [];for(;;){var f=e.indexOf(o,s+1),p=e.indexOf(u,s+1),h=null,y=void 0,x=nv(f,p);switch(x===wc&&(x=c?Za:Rn),x){case xc:return n;case Za:c=false,s=p,h="end",y=u.length;break;case Rn:c=true,s=f,h="start",y=o.length;break}if(t.changeDelimiterPrefix&&x===Rn&&e[s+o.length]===t.changeDelimiterPrefix){n.push({offset:f,position:"start",length:o.length,changedelimiter:true});var w=e.indexOf(t.changeDelimiterPrefix,s+o.length+1),T=e.indexOf(u,w+1);n.push({offset:T,position:"end",length:u.length,changedelimiter:true});var C=e.substr(s+o.length+1,w-s-o.length-1),O=av(C),P=bc(O,2);o=P[0],u=P[1],s=T;continue}n.push({offset:s,position:h,length:y});}}function Ec(e,r,t){var n=e.map(function(w){return w.value}).join(""),o=iv(n,r,t),u=0,s=e.map(function(w){return u+=w.value.length,{offset:u-w.value.length,lIndex:w.lIndex}}),c=tv(o,n,t),f=c.delimiterWithErrors,p=c.errors,h=0,y=0,x=s.map(function(w,T){for(var C=w.offset,O=[C,C+e[T].value.length],P=e[T].value,R=[];y<f.length&&Jm(O,f[y]);)R.push(f[y]),y++;var S=[],k=0;h>0&&(k=h,h=0);for(var U=0;U<R.length;U++){var V=R[U],G=P.substr(k,V.offset-C-k);if(V.changedelimiter){V.position==="start"?G.length>0&&S.push({type:"content",value:G}):k=V.offset-C+V.length;continue}G.length>0&&(S.push({type:"content",value:G}),k+=G.length);var M={type:"delimiter",position:V.position,offset:k+C};S.push(M),k=V.offset-C+V.length;}h=k-P.length;var te=P.substr(k);return te.length>0&&S.push({type:"content",value:te}),S},this);return {parsed:x,errors:p}}function fo(e){return e.type==="content"&&e.position==="insidetag"}function ov(e){return e.filter(fo)}function uv(e,r){for(var t=false,n=0;n<e.length;n++){var o=e[n];t=$m(o,t),o.type==="content"&&(o.position=t?"insidetag":"outsidetag"),r!=="text"&&fo(o)&&(o.value=o.value.replace(/>/g,"&gt;"));}}Dc.exports={parseDelimiters:Ec,parse:function(r,t,n,o){uv(r,o);for(var u=Ec(ov(r),t,n),s=u.parsed,c=u.errors,f=[],p=0,h=0,y=0;y<r.length;y++){var x=r[y];if(fo(x)){for(var w=0,T=s[p];w<T.length;w++){var C=T[w];C.type==="content"&&(C.position="insidetag"),C.lIndex=h++;}Qm(f,s[p]),p++;}else x.lIndex=h++,f.push(x);}return {errors:c,lexed:f}},xmlparse:function(r,t){for(var n=rv(r,t.text,t.other),o=0,u=[],s=0;s<n.length;s++){var c=n[s];r.length>o&&c.offset-o>0&&u.push({type:"content",value:r.substr(o,c.offset-o)}),o=c.offset+c.value.length,delete c.offset,u.push(c);}return r.length>o&&u.push({type:"content",value:r.substr(o)}),u}};});var Tc=chunkPCJ5ACUV_cjs.b((_1,Ac)=>{function ho(e){return fv(e)||cv(e)||lv(e)||sv()}function sv(){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 lv(e,r){if(e){if(typeof e=="string")return go(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)?go(e,r):void 0}}function cv(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fv(e){if(Array.isArray(e))return go(e)}function go(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 Fn(e){return e.type==="placeholder"}function pv(e){var r={},t=[{items:e.filter(Fn),parents:[],path:[]}];function n(M,te,ge){ge.length&&t.push({items:ge,parents:[].concat(ho(te.parents),[M]),path:M.dataBound!==false&&!M.attrParsed&&M.value&&!M.attrParsed?[].concat(ho(te.path),[M.value]):ho(te.path)});}function o(M,te){for(var ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:te.length,Ne=M,pe=0;pe<ge;pe++)Ne=Ne[te[pe]];return Ne}function u(M,te){for(var ge=te.length,Ne=0;Ne<te.length;Ne++){var pe=te[Ne],tr=typeof pe.lIndex=="number"?pe.lIndex:parseInt(pe.lIndex.split("-")[0],10);tr>M.lIndex&&ge--;}return ge}for(;t.length>0;)for(var s=t.pop(),c=o(r,s.path),f=0,p=s.items;f<p.length;f++){var h,y,x=p[f];if(x.attrParsed){for(var w in x.attrParsed)n(x,s,x.attrParsed[w].filter(Fn));continue}if(x.subparsed){if(x.dataBound!==false){var T,C;(T=c)[C=x.value]||(T[C]={});}n(x,s,x.subparsed.filter(Fn));continue}if(x.cellParsed){for(var O=0,P=x.cellPostParsed;O<P.length;O++){var R=P[O];if(R.type==="placeholder"){if(R.module==="pro-xml-templating/xls-module-loop")continue;if(R.subparsed){var S,k;(S=c)[k=R.value]||(S[k]={}),n(R,s,R.subparsed.filter(Fn));}else {var U,V,G=u(x,s.parents);c=o(r,s.path,G),(U=c)[V=R.value]||(U[V]={});}}}continue}x.dataBound!==false&&((h=c)[y=x.value]||(h[y]={}));}return r}Ac.exports={getTags:pv,isPlaceholder:Fn};});var _c=chunkPCJ5ACUV_cjs.b((S1,Cc)=>{var hv=be(),dv=hv.pushArray;function gv(e,r){return r instanceof Error?dv(Object.getOwnPropertyNames(r),["stack"]).reduce(function(t,n){return t[n]=r[n],n==="stack"&&(t[n]=r[n].toString()),t},{}):r}function mv(e,r){if(console.log(JSON.stringify({error:e},gv,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);}}Cc.exports=mv;});var mo=chunkPCJ5ACUV_cjs.b((O1,Sc)=>{var vv=be(),yv=vv.pregMatchAll;Sc.exports=function(r,t){var n={content:r},o=t.join("|"),u=new RegExp("(?:(<(?:".concat(o,")[^>]*>)([^<>]*)</(?:").concat(o,")>)|(<(?:").concat(o,")[^>]*/>)"),"g");return n.matches=yv(u,n.content),n};});var Nc=chunkPCJ5ACUV_cjs.b((N1,Oc)=>{function Ln(e){"@babel/helpers - typeof";return Ln=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},Ln(e)}var Ev=new RegExp("\xA0","g");function Nt(e){return e.replace(Ev," ")}function bv(e,r){var t=Ln(e);if(t==="string")return Nt(r.substr(0,e.length))===e;if(e instanceof RegExp)return e.test(Nt(r));if(t==="function")return !!e(r)}function xv(e,r){var t=Ln(e);if(t==="string")return Nt(r).substr(e.length);if(e instanceof RegExp)return Nt(r).match(e)[1];if(t==="function")return e(r)}function wv(e,r){var t=Ln(e);if(t==="string")return [r,Nt(r).substr(e.length)];if(e instanceof RegExp)return Nt(r).match(e);if(t==="function")return [r,e(r)]}Oc.exports={match:bv,getValue:xv,getValues:wv};});var Fc=chunkPCJ5ACUV_cjs.b((I1,kc)=>{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)}function Ic(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n);}return t}function kr(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Ic(Object(t),true).forEach(function(n){Dv(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ic(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function Dv(e,r,t){return (r=Av(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function Av(e){var r=Tv(e,"string");return Mn(r)=="symbol"?r:r+""}function Tv(e,r){if(Mn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Mn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}function Bc(e,r){return Ov(e)||Sv(e,r)||_v(e,r)||Cv()}function Cv(){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 _v(e,r){if(e){if(typeof e=="string")return Pc(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)?Pc(e,r):void 0}}function Pc(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 Sv(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,o,u,s,c=[],f=true,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,o=h;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(p)throw o}}return c}}function Ov(e){if(Array.isArray(e))return e}var Rc=be(),Nv=Rc.wordToUtf8,vo=Rc.pushArray,yo=Nc(),Iv=yo.match,Bv=yo.getValue,Pv=yo.getValues;function Rv(e,r){for(var t=[],n=0;n<e.length;n++){var o=e[n];if(o.matchers){var u=o.matchers(r);if(!(u instanceof Array))throw new Error("module matcher returns a non array");vo(t,u);}}return t}function kv(e,r,t){for(var n=[],o=0;o<e.length;o++){var u=e[o],s=Bc(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 y=Bc(h,2);p.value=y[1];}n.push(kr({type:"placeholder",prefix:c,module:f,onMatch:p.onMatch,priority:p.priority},p));}}return n}function Fv(e,r){var t=r.modules,n=r.startOffset,o=r.lIndex,u;r.offset=n,r.match=Iv,r.getValue=Bv,r.getValues=Pv;var s=Rv(t,r),c=kv(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=o,f.lIndex=o,f.raw=e,f.onMatch&&f.onMatch(f),delete f.onMatch,delete f.prefix,f}for(var y=0;y<t.length;y++){var x=t[y];if(u=x.parse(e,r),u)return u.offset=n,u.endLindex=o,u.lIndex=o,u.raw=e,u}return {type:"placeholder",value:e,offset:n,endLindex:o,lIndex:o}}var Lv={preparse:function(r,t,n){function o(u,s){for(var c=0;c<t.length;c++){var f=t[c];u=f.preparse(u,s)||u;}return u}return o(r,n)},parse:function(r,t,n){var o=false,u="",s,c=[],f=n.fileTypeConfig.droppedTagsInsidePlaceholder||[];return r.reduce(function(p,h){return h.type==="delimiter"?(o=h.position==="start",h.position==="end"&&(n.parse=function(y){return Fv(y,kr(kr(kr({},n),h),{},{startOffset:s,modules:t}))},p.push(n.parse(Nv(u))),vo(p,c),c=[]),h.position==="start"&&(c=[],s=h.offset),u="",p):o?h.type!=="content"||h.position!=="insidetag"?(f.indexOf(h.tag)!==-1||c.push(h),p):(u+=h.value,p):(p.push(h),p)},[])},postparse:function(r,t,n){function o(c,f,p){for(var h=[],y=0;y<t.length;y++){var x=t[y];h.push(x.getTraits(c,f,p));}return h}var u=[];function s(c,f){for(var p=c,h=0;h<t.length;h++){var y=t[h],x=y.postparse(p,kr(kr({},f),{},{postparse:function(T,C){return s(T,kr(kr({},f),C))},getTraits:o}));if(x!=null){if(x.errors){vo(u,x.errors),p=x.postparsed;continue}p=x;}}return p}return {postparsed:s(r,n),errors:u}}};kc.exports=Lv;});var Eo=chunkPCJ5ACUV_cjs.b((B1,Lc)=>{function Mv(e,r){if(e.lIndex==null)return null;var t=r.scopeManager.scopePathItem;e.parentPart&&(t=t.slice(0,t.length-1));var n=r.filePath+"@"+e.lIndex.toString()+"-"+t.join("-");return n}Lc.exports=Mv;});var zc=chunkPCJ5ACUV_cjs.b((P1,Uc)=>{var qc=Ye(),qv=qc.throwUnimplementedTagType,Uv=qc.XTScopeParserError,zv=be(),Mc=zv.pushArray,jv=Eo();function Vv(e,r){for(var t=0,n=r.modules;t<n.length;t++){var o=n[t],u=o.render(e,r);if(u)return u}return false}function Xv(e){var r=e.baseNullGetter,t=e.compiled,n=e.scopeManager;e.nullGetter=function(w,T){return r(w,T||n)};for(var o=[],u=[],s=0,c=t.length;s<c;s++){var f=t[s];e.index=s,e.resolvedId=jv(f,e);var p=void 0;try{p=Vv(f,e);}catch(w){if(w instanceof Uv){o.push(w),u.push(f);continue}throw w}if(p){p.errors&&Mc(o,p.errors),u.push(p);continue}if(f.type==="content"||f.type==="tag"){u.push(f);continue}qv(f,s);}for(var h=[],y=0;y<u.length;y++){var x=u[y].value;x instanceof Array?Mc(h,x):x&&h.push(x);}return {errors:o,parts:h}}Uc.exports=Xv;});var Xc=chunkPCJ5ACUV_cjs.b((R1,Vc)=>{function jc(e){var r,t,n,o,u=0,s=e.length;for(n=0;n<s;n++)r=e.charCodeAt(n),(r&64512)===55296&&n+1<s&&(t=e.charCodeAt(n+1),(t&64512)===56320&&(r=65536+(r-55296<<10)+(t-56320),n++)),u+=r<128?1:r<2048?2:r<65536?3:4;var c=new Uint8Array(u);for(o=0,n=0;o<u;n++)r=e.charCodeAt(n),(r&64512)===55296&&n+1<s&&(t=e.charCodeAt(n+1),(t&64512)===56320&&(r=65536+(r-55296<<10)+(t-56320),n++)),r<128?c[o++]=r:r<2048?(c[o++]=192|r>>>6,c[o++]=128|r&63):r<65536?(c[o++]=224|r>>>12,c[o++]=128|r>>>6&63,c[o++]=128|r&63):(c[o++]=240|r>>>18,c[o++]=128|r>>>12&63,c[o++]=128|r>>>6&63,c[o++]=128|r&63);return c}function Hv(e,r){for(var t=0,n=r.modules;t<n.length;t++){var o=n[t];e=o.postrender(e,r);}for(var u=0,s=r.joinUncorrupt(e,r),c="",f=0,p=65536,h=[],y=0,x=s.length;y<x;y++){var w=s[y];if(w.length+f>p){var T=jc(c);u+=T.length,h.push(T),c="";}c+=w,f+=w.length,delete s[y];}var C=jc(c);u+=C.length,h.push(C);for(var O=new Uint8Array(u),P=0,R=0;R<h.length;R++){for(var S=h[R],k=0;k<S.length;++k)O[k+P]=S[k];P+=S.length;}return O}Vc.exports=Hv;});var Qc=chunkPCJ5ACUV_cjs.b((k1,Kc)=>{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 Hc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n);}return t}function Zc(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Hc(Object(t),true).forEach(function(n){Zv(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Hc(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function Zv(e,r,t){return (r=Gv(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function Gv(e){var r=Yv(e,"string");return qn(r)=="symbol"?r:r+""}function Yv(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)}var Wv=be(),Gc=Wv.pushArray,Kv=Eo();function Qv(e,r){for(var t=0,n=r.modules;t<n.length;t++){var o=n[t],u=o.resolve(e,r);if(u)return u}return false}function Wc(e,r,t,n){var o=Qv(e,Zc(Zc({},n),{},{resolvedId:Kv(e,n)}));if(o)return o.then(function(u){r.push({tag:e.value,lIndex:e.lIndex,value:u});}).catch(function(u){u instanceof Array?Gc(t,u):t.push(u);});if(e.type==="placeholder")return n.scopeManager.getValueAsync(e.value,{part:e}).then(function(u){return u??n.nullGetter(e)}).then(function(u){r.push({tag:e.value,lIndex:e.lIndex,value:u});}).catch(function(u){u instanceof Array?Gc(t,u):t.push(u);})}function Jv(e){var r=[],t=[],n=e.baseNullGetter,o=e.scopeManager;e.nullGetter=function(s,c){return n(s,c||o)},e.resolved=r;var u=$v(e,t,r);return u?u.then(function(){return Yc(e,t,r)}):Yc(e,t,r)}function $v(e,r,t){for(var n=null,o=function(){var f=s[u];if(["content","tag"].indexOf(f.type)!==-1)return 1;f.resolveFirst&&(n??(n=Promise.resolve(null)),n=n.then(function(){return Wc(f,t,r,e)}));},u=0,s=e.compiled;u<s.length;u++)o();return n}function Yc(e,r,t){for(var n=[],o=0,u=e.compiled;o<u.length;o++){var s=u[o];["content","tag"].indexOf(s.type)===-1&&(s.resolveFirst||n.push(Wc(s,t,r,e)));}return Promise.all(n).then(function(){return {errors:r,resolved:t}})}Kc.exports=Jv;});var ef=chunkPCJ5ACUV_cjs.b((F1,$c)=>{var Un=be(),It=Un.startsWith,ey=Un.endsWith,bo=Un.isStarting,Jc=Un.isEnding,ry=Un.isWhiteSpace,ty=Ha();function ny(e){for(var r="",t=0,n=e.length;t<n;t++){var o=e[t];ry(o)||It(o,"<w:bookmarkEnd")||(ey(r,"</w:tbl>")&&!It(o,"<w:p")&&!It(o,"<w:tbl")&&!It(o,"<w:sectPr")&&!It(o,"</w:ftr>")&&!It(o,"</w:hdr>")&&(o="<w:p/>".concat(o)),r=o,e[t]=o);}return e}function ay(e,r){var t=r.fileTypeConfig.tagShouldContain||[],n="",o=-1;ty.docx.indexOf(r.contentType)!==-1&&(e=ny(e));for(var u=-1,s=0,c=t.length;s<c;s++)for(var f=t[s],p=f.tag,h=f.shouldContain,y=f.value,x=f.drop,w=f.dropParent,T=0,C=e.length;T<C;T++){var O=e[T];if(o===s){if(Jc(O,p))if(o=-1,w){for(var P=-1,R=u;R>0;R--)if(bo(e[R],w)){P=R;break}for(var S=P;S<=e.length;S++){if(Jc(e[S],w)){e[S]="";break}e[S]="";}}else {for(var k=u;k<=T;k++)e[k]="";x||(e[T]=n+y+O);}n+=O;for(var U=0,V=h.length;U<V;U++){var G=h[U];if(bo(O,G)){o=-1;break}}}o===-1&&bo(O,p)&&O.substr(1).indexOf("<")===-1&&(O[O.length-2]==="/"?e[T]="":(u=T,o=s,n=O));}return e}$c.exports=ay;});var sf=chunkPCJ5ACUV_cjs.b((L1,uf)=>{function zn(e){"@babel/helpers - typeof";return zn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},zn(e)}function iy(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function rf(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(e,uy(n.key),n);}}function oy(e,r,t){return r&&rf(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function uy(e){var r=sy(e,"string");return zn(r)=="symbol"?r:r+""}function sy(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 wo=be(),tf=wo.pushArray,ly=wo.wordToUtf8,cy=wo.convertSpaces,fy=mo(),nf=po(),xo=Fc(),af=zc(),py=Xc(),of=Qc(),hy=ef();function dy(e,r){var t=fy(e,r),n=t.matches.map(function(o){return o.array[2]});return ly(cy(n.join("")))}uf.exports=(function(){function e(r,t){iy(this,e),this.cachedParsers={},this.content=r;for(var n in t)this[n]=t[n];this.setModules({inspect:{filePath:t.filePath}});}return oy(e,[{key:"resolveTags",value:function(t){var n=this;this.tags=t;var o=this.getOptions(),u=this.filePath;o.scopeManager=this.scopeManager,o.resolve=of;var s=[];return Promise.all(this.modules.map(function(c){return Promise.resolve(c.preResolve(o)).catch(function(f){s.push(f);})})).then(function(){if(s.length!==0)throw s;return of(o).then(function(c){var f=c.resolved,p=c.errors;if(p=p.map(function(h){var y;return h instanceof Error||(h=new Error(h)),(y=h).properties||(y.properties={}),h.properties.file=u,h}),p.length!==0)throw p;return Promise.all(f).then(function(h){return o.scopeManager.root.finishedResolving=true,o.scopeManager.resolved=h,n.setModules({inspect:{resolved:h,filePath:u}}),h})}).catch(function(c){throw n.errorChecker(c),c})})}},{key:"getFullText",value:function(){return dy(this.content,this.fileTypeConfig.tagsXmlTextArray)}},{key:"setModules",value:function(t){for(var n=0,o=this.modules;n<o.length;n++){var u=o[n];u.set(t);}}},{key:"preparse",value:function(){this.allErrors=[],this.xmllexed=nf.xmlparse(this.content,{text:this.fileTypeConfig.tagsXmlTextArray,other:this.fileTypeConfig.tagsXmlLexedArray}),this.setModules({inspect:{filePath:this.filePath,xmllexed:this.xmllexed}});var t=nf.parse(this.xmllexed,this.delimiters,this.syntax,this.fileType),n=t.lexed,o=t.errors;tf(this.allErrors,o),this.lexed=n,this.setModules({inspect:{filePath:this.filePath,lexed:this.lexed}});var u=this.getOptions();this.lexed=xo.preparse(this.lexed,this.modules,u);}},{key:"parse",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.noPostParse;this.setModules({inspect:{filePath:this.filePath}});var o=this.getOptions();return this.parsed=xo.parse(this.lexed,this.modules,o),this.setModules({inspect:{filePath:this.filePath,parsed:this.parsed}}),n?this:this.postparse()}},{key:"postparse",value:function(){var t=this.getOptions(),n=xo.postparse(this.parsed,this.modules,t),o=n.postparsed,u=n.errors;return this.postparsed=o,this.setModules({inspect:{filePath:this.filePath,postparsed:this.postparsed}}),tf(this.allErrors,u),this.errorChecker(this.allErrors),this}},{key:"errorChecker",value:function(t){for(var n=0,o=t;n<o.length;n++){var u=o[n];u.properties||(u.properties={}),u.properties.file=this.filePath;}for(var s=0,c=this.modules;s<c.length;s++){var f=c[s];t=f.errorsTransformer(t);}}},{key:"baseNullGetter",value:function(t,n){for(var o=null,u=0,s=this.modules;u<s.length;u++){var c=s[u];o==null&&(o=c.nullGetter(t,n,this));}return o??this.nullGetter(t,n)}},{key:"getOptions",value:function(){return {compiled:this.postparsed,cachedParsers:this.cachedParsers,tags:this.tags,modules:this.modules,parser:this.parser,contentType:this.contentType,relsType:this.relsType,baseNullGetter:this.baseNullGetter.bind(this),filePath:this.filePath,fileTypeConfig:this.fileTypeConfig,fileType:this.fileType,linebreaks:this.linebreaks,stripInvalidXMLChars:this.stripInvalidXMLChars}}},{key:"render",value:function(t){this.filePath=t;var n=this.getOptions();n.resolved=this.scopeManager.resolved,n.scopeManager=this.scopeManager,n.render=af,n.joinUncorrupt=hy;var o=af(n),u=o.errors,s=o.parts;return u.length>0?(this.allErrors=u,this.errorChecker(u),this):(this.content=py(s,n),this.setModules({inspect:{filePath:this.filePath,content:this.content}}),this)}}])})();});var Df=chunkPCJ5ACUV_cjs.b((M1,wf)=>{function Xn(e){"@babel/helpers - typeof";return Xn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Xn(e)}function lf(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n);}return t}function Fr(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?lf(Object(t),true).forEach(function(n){gy(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lf(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function gy(e,r,t){return (r=yf(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function my(e,r){return by(e)||Ey(e,r)||yy(e,r)||vy()}function vy(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
17
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yy(e,r){if(e){if(typeof e=="string")return cf(e,r);var t={}.toString.call(e).slice(8,-1);return t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set"?Array.from(e):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?cf(e,r):void 0}}function cf(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function Ey(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,o,u,s,c=[],f=true,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,o=h;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(p)throw o}}return c}}function by(e){if(Array.isArray(e))return e}function xy(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function ff(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(e,yf(n.key),n);}}function wy(e,r,t){return r&&ff(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function yf(e){var r=Dy(e,"string");return Xn(r)=="symbol"?r:r+""}function Dy(e,r){if(Xn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Xn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}var We=be(),Ay=We.chunkBy,Ef=We.last,To=We.isParagraphStart,Do=We.isModule,pf=We.pushArray,bf=We.isParagraphEnd,Ty=We.isContent,Vn=We.startsWith,Co=We.isTagEnd,Bt=We.isTagStart,Ao=We.getSingleAttribute,hf=We.setSingleAttribute,Cy=Ha(),_y=Pr(),jn="loop";function Sy(e){for(var r=0;r<e.length;r++){var t=e[r];if(Ty(t))return true}return false}function Oy(e){for(var r=0;r<e.length;r++){var t=e[r];if(t.type!=="content")return t}return null}function xf(e){var r=Oy(e.subparsed);return r!=null&&r.tag!=="w:t"}function Ny(e){return e.hasPageBreak&&xf(e)?'<w:p><w:r><w:br w:type="page"/></w:r></w:p>':""}function Iy(e){return e.length&&To(e[0])&&bf(Ef(e))}function df(e){return Sy(e)?0:e.length}function gf(e){var r=e.parts.length-1;e.parts[r]==="</w:p>"?e.parts.splice(r,0,'<w:r><w:br w:type="page"/></w:r>'):e.parts.push('<w:p><w:r><w:br w:type="page"/></w:r></w:p>');}function By(e){e.parts.unshift('<w:p><w:r><w:br w:type="page"/></w:r></w:p>');}function Py(e){for(var r=0;r<e.length;r++){var t=e[r];if(Bt("w:type",t)&&t.value.indexOf("continuous")!==-1)return true}return false}function Ry(e){for(var r=0;r<e.length;r++){var t=e[r];if(Bt("w:type",t)&&t.value.indexOf('w:val="nextPage"')!==-1)return true}return false}function ky(e,r){e.unshift("<w:p><w:pPr>".concat(r.map(function(t){var n=t.value;return n}).join(""),"</w:pPr></w:p>"));}function Fy(e){for(var r=false,t=false,n=0;n<e.length;n++){var o=e[n];!r&&Vn(o,"<w:sectPr")&&(t=true),t&&(Vn(o,"<w:type")&&(r=true),!r&&Vn(o,"</w:sectPr")&&(e.splice(n,0,'<w:type w:val="continuous"/>'),n++));}return e}function Ly(e){for(var r=0,t=0;t<e.length;t++)!Vn(e[t],"<w:headerReference")&&!Vn(e[t],"<w:footerReference")&&(e[r]=e[t],r++);return e.length=r,e}function mf(e){for(var r=0;r<e.length;r++){var t=e[r];if(t.tag==="w:br"&&t.value.indexOf('w:type="page"')!==-1)return true}return false}function vf(e){for(var r=0;r<e.length;r++){var t=e[r];if(t.tag==="w:drawing")return true}return false}function My(e){for(var r=[],t=null,n=0;n<e.length;n++){var o=e[n];Bt("w:sectPr",o)&&(t=[],r.push(t)),t!==null&&t.push(o),Co("w:sectPr",o)&&(t=null);}return r}function qy(e){for(var r=false,t=0,n=0;n<e.length;n++){var o=e[n];Bt("w:sectPr",o)&&(r=true),r&&(o.tag==="w:headerReference"||o.tag==="w:footerReference")&&(t++,r=false),Co("w:sectPr",o)&&(r=false);}return t}function Uy(e){for(var r=[],t=false,n=e.length-1;n>=0;n--){var o=e[n];if(Co("w:sectPr",o)&&(t=true),Bt("w:sectPr",o)&&(r.unshift(o.value),t=false),t&&r.unshift(o.value),To(o)){if(r.length>0)return r.join("");break}}return ""}var zy=(function(){function e(){xy(this,e),this.name="LoopModule",this.inXfrm=false,this.totalSectPr=0,this.prefix={start:"#",end:"/",dash:/^-([^\s]+)\s(.+)/,inverted:"^"};}return wy(e,[{key:"optionsTransformer",value:function(t,n){return this.docxtemplater=n,t}},{key:"preparse",value:function(t,n){var o=n.contentType;Cy.main.indexOf(o)!==-1&&(this.sects=My(t));}},{key:"matchers",value:function(){var t=jn;return [[this.prefix.start,t,{expandTo:"auto",location:"start",inverted:false}],[this.prefix.inverted,t,{expandTo:"auto",location:"start",inverted:true}],[this.prefix.end,t,{location:"end"}],[this.prefix.dash,t,function(n){var o=my(n,3),u=o[1],s=o[2];return {location:"start",inverted:false,expandTo:u,value:s}}]]}},{key:"getTraits",value:function(t,n){if(t==="expandPair"){for(var o=[],u=0,s=n.length;u<s;u++){var c=n[u];Do(c,jn)&&c.subparsed==null&&o.push({part:c,offset:u});}return o}}},{key:"postparse",value:function(t,n){var o=n.basePart;if(o&&this.docxtemplater.fileType==="docx"&&t.length>0){o.sectPrCount=qy(t),this.totalSectPr+=o.sectPrCount;for(var u=this.sects,s=0,c=u.length;s<c;s++){var f=u[s];if(o.lIndex<f[0].lIndex){s+1<u.length&&Py(u[s+1])&&(o.addContinuousType=true);break}if(t[0].lIndex<f[0].lIndex&&f[0].lIndex<o.lIndex){Ry(u[s])&&(o.addNextPage={index:s});break}}o.lastParagrapSectPr=Uy(t);}if(!o||o.expandTo!=="auto"||o.module!==jn||!Iy(t))return t;o.paragraphLoop=true;var p=0,h=Ay(t,function(C){return To(C)&&(p++,p===1)?"start":bf(C)&&(p--,p===0)?"end":null}),y=h[0],x=Ef(h),w=df(y),T=df(x);return o.hasPageBreakBeginning=mf(y),o.hasPageBreak=mf(x),vf(y)&&(w=0),vf(x)&&(T=0),t.slice(w,t.length-T)}},{key:"resolve",value:function(t,n){var o=this;if(!Do(t,jn))return null;var u=n.scopeManager,s=u.getValueAsync(t.value,{part:t}),c=[],f;o.resolveSerially&&(f=Promise.resolve(null));function p(y,x,w){var T=u.createSubScopeManager(y,t.value,x,t,w);o.resolveSerially?(f=f.then(function(){return n.resolve(Fr(Fr({},n),{},{compiled:t.subparsed,tags:{},scopeManager:T}))}),c.push(f)):c.push(n.resolve(Fr(Fr({},n),{},{compiled:t.subparsed,tags:{},scopeManager:T})));}var h=[];return s.then(function(y){return y??(y=n.nullGetter(t)),y instanceof Promise?y.then(function(x){return x instanceof Array?Promise.all(x):x}):y instanceof Array?Promise.all(y):y}).then(function(y){return u.loopOverValue(y,p,t.inverted),Promise.all(c).then(function(x){return x.map(function(w){var T=w.resolved,C=w.errors;return pf(h,C),T})}).then(function(x){if(h.length>0)throw h;return x})})}},{key:"render",value:function(t,n){var o=this;if(t.tag==="p:xfrm"&&(o.inXfrm=t.position==="start"),t.tag==="a:ext"&&o.inXfrm)return o.lastExt=t,t;if(!Do(t,jn))return null;var u=[],s=[],c=0,f=t.subparsed[0],p=0;f?.tag==="a:tr"&&(p=+Ao(f.value,"h")),c-=p;var h=0,y=xf(t);function x(O,P,R){c+=p;for(var S=n.scopeManager.createSubScopeManager(O,t.value,P,t,R),k=0,U=t.subparsed;k<U.length;k++){var V=U[k];if(Bt("a16:rowId",V)){var G=+Ao(V.value,"val")+h;h=1,V.value=hf(V.value,"val",G);}}var M=n.render(Fr(Fr({},n),{},{compiled:t.subparsed,tags:{},scopeManager:S}));t.hasPageBreak&&P===R-1&&y&&gf(M);var te=S.scopePathItem.some(function(tr){return tr!==0});te?(t.sectPrCount===1&&(M.parts=Ly(M.parts)),t.addContinuousType&&(M.parts=Fy(M.parts))):t.addNextPage&&ky(M.parts,o.sects[t.addNextPage.index]),t.addNextPage&&gf(M),t.hasPageBreakBeginning&&y&&By(M);for(var ge=0,Ne=M.parts;ge<Ne.length;ge++){var pe=Ne[ge];u.push(pe);}pf(s,M.errors);}var w=n.scopeManager.getValue(t.value,{part:t});w??(w=n.nullGetter(t));var T=n.scopeManager.loopOverValue(w,x,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:Ny(t)||"",errors:s};if(c!==0){var C=+Ao(o.lastExt.value,"cy");o.lastExt.value=hf(o.lastExt.value,"cy",C+c);}return {value:n.joinUncorrupt(u,Fr(Fr({},n),{},{basePart:t})),errors:s}}}])})();wf.exports=function(){return _y(new zy)};});var Of=chunkPCJ5ACUV_cjs.b((q1,Sf)=>{function Hn(e){"@babel/helpers - typeof";return Hn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Hn(e)}function jy(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,Xy(n.key),n);}}function Vy(e,r,t){return r&&Af(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function Xy(e){var r=Hy(e,"string");return Hn(r)=="symbol"?r:r+""}function Hy(e,r){if(Hn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Hn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var Zy=Pr(),Zn=be(),Gy=Zn.isTextStart,Yy=Zn.isTextEnd,Wy=Zn.endsWith,Ky=Zn.startsWith,Tf=Zn.pushArray,Cf='<w:t xml:space="preserve">',Qy=Cf.length,_f="</w:t>",Jy=_f.length;function $y(e){return Gy(e)&&e.tag==="w:t"}function _o(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 eE(e,r){return e&&e.basePart&&r.length>1}var rE=(function(){function e(){jy(this,e),this.name="SpacePreserveModule";}return Vy(e,[{key:"postparse",value:function(t,n){var o=[],u=false,s=0,c=0;function f(h,y){return h.type==="placeholder"&&y.length>1}var p=t.reduce(function(h,y){return $y(y)&&(u=true,c=o.length),u?(o.push(y),eE(n,o)&&(s=n.basePart.endLindex,o[0].value=_o(o,0)),f(y,o)&&(o[c].value=_o(o,c),s=y.endLindex),Yy(y)&&y.lIndex>s&&(s!==0&&(o[c].value=_o(o,c)),Tf(h,o),o=[],u=false,s=0,c=0),h):(h.push(y),h)},[]);return Tf(p,o),p}},{key:"postrender",value:function(t){for(var n="",o=0,u=0,s=t.length;u<s;u++){var c=t[u];c!==""&&(Wy(n,Cf)&&Ky(c,_f)&&(t[o]=n.substr(0,n.length-Qy)+"<w:t/>",c=c.substr(Jy)),n=c,o=u,t[u]=c);}return t}}])})();Sf.exports=function(){return Zy(new rE)};});var Pf=chunkPCJ5ACUV_cjs.b((U1,Bf)=>{function Gn(e){"@babel/helpers - typeof";return Gn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Gn(e)}function tE(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Nf(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(e,aE(n.key),n);}}function nE(e,r,t){return r&&Nf(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function aE(e){var r=iE(e,"string");return Gn(r)=="symbol"?r:r+""}function iE(e,r){if(Gn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Gn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var oE=Xa(),uE=be(),sE=uE.isContent,If=Ye(),lE=If.throwRawTagShouldBeOnlyTextInParagraph,cE=If.getInvalidRawXMLValueException,fE=Pr(),So="rawxml";function pE(e){for(var r=e.part,t=e.left,n=e.right,o=e.postparsed,u=e.index,s=o.slice(t+1,n),c=0,f=s.length;c<f;c++)if(c!==u-t-1){var p=s[c];sE(p)&&lE({paragraphParts:s,part:r});}return r}var hE=(function(){function e(){tE(this,e),this.name="RawXmlModule",this.prefix="@";}return nE(e,[{key:"optionsTransformer",value:function(t,n){return this.fileTypeConfig=n.fileTypeConfig,t}},{key:"matchers",value:function(){return [[this.prefix,So]]}},{key:"postparse",value:function(t){return oE.expandToOne(t,{moduleName:So,getInner:pE,expandTo:this.fileTypeConfig.tagRawXml,error:{message:"Raw tag not in paragraph",id:"raw_tag_outerxml_invalid",explanation:function(o){return 'The tag "'.concat(o.value,'" is not inside a paragraph, putting raw tags inside an inline loop is disallowed.')}}})}},{key:"render",value:function(t,n){if(t.module!==So)return null;var o,u=[];try{o=n.scopeManager.getValue(t.value,{part:t}),o??(o=n.nullGetter(t));}catch(s){return u.push(s),{errors:u}}return o=o||"",typeof o=="string"?{value:o}:{errors:[cE({tag:t.value,value:o,offset:t.offset})]}}}])})();Bf.exports=function(){return fE(new hE)};});var kf=chunkPCJ5ACUV_cjs.b((z1,Rf)=>{function dE(e,r){for(var t=-1,n=0,o=e.length;n<o;n++)r[n]>=e[n].length||(t===-1||e[n][r[n]].offset<e[t][r[t]].offset)&&(t=n);return t}Rf.exports=function(e){for(var r=0,t=0,n=e;t<n.length;t++){var o=n[t];r+=o.length;}e=e.filter(function(p){return p.length>0});for(var u=new Array(r),s=e.map(function(){return 0}),c=0;c<r;c++){var f=dE(e,s);u[c]=e[f][s[f]],s[f]++;}return u};});var Uf=chunkPCJ5ACUV_cjs.b((j1,qf)=>{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 gE(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Ff(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(e,vE(n.key),n);}}function mE(e,r,t){return r&&Ff(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function vE(e){var r=yE(e,"string");return Yn(r)=="symbol"?r:r+""}function yE(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 EE="expandPair",bE=kf(),Io=be(),xE=Io.getLeft,wE=Io.getRight,No=Io.pushArray,DE=Pr(),AE=Xa(),TE=AE.getExpandToDefault,Bo=Ye(),Lf=Bo.getUnmatchedLoopException,CE=Bo.getClosingTagNotMatchOpeningTag,Mf=Bo.getUnbalancedLoopException;function _E(e){switch(e.location){case "start":return 1;case "end":return -1}}function Oo(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 SE(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(Lf(n)),{traits:e,errors:t};var o=r,u=r-1,s=1;if(Oo(e[u],e[o]))return e.splice(o,1),e.splice(u,1),{errors:t,traits:e};for(;s<50;){var c=e[u-s],f=e[o+s];if(Oo(c,e[o]))return e.splice(o,1),e.splice(u-s,1),{errors:t,traits:e};if(Oo(e[u],f))return e.splice(o+s,1),e.splice(u,1),{errors:t,traits:e};s++;}return t.push(CE({tags:[e[u].part,e[o].part]})),e.splice(o,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(Lf(h));}return {traits:[],errors:t}}function OE(e){var r={},t=[],n=[],o=[];for(No(o,e);o.length>0;){var u=SE(o);No(t,u.errors),o=u.traits;}if(t.length>0)return {pairs:n,errors:t};for(var s=0,c=0;c<e.length;c++){var f=e[c],p=f.part,h=_E(p);if(s+=h,h===1)r[s]=f;else {var y=r[s+1];s===0&&n.push([y,f]);}s=s>=0?s:0;}return {pairs:n,errors:t}}var NE=(function(){function e(){gE(this,e),this.name="ExpandPairTrait";}return mE(e,[{key:"optionsTransformer",value:function(t,n){return n.options.paragraphLoop&&No(n.fileTypeConfig.expandTags,n.fileTypeConfig.onParagraphLoop),this.expandTags=n.fileTypeConfig.expandTags,t}},{key:"postparse",value:function(t,n){var o=this,u=n.getTraits,s=n.postparse,c=n.fileType,f=u(EE,t,n);f=f.map(function(R){return R||[]}),f=bE(f);var p=OE(f),h=p.pairs,y=p.errors,x=0,w=null,T=h.map(function(R){var S=R[0].part.expandTo;if(S==="auto"&&c!=="text"){var k=TE(t,R,o.expandTags);k.error&&y.push(k.error),S=k.value;}if(!S||c==="text"){var U=R[0].offset,V=R[1].offset;return U<x&&!o.docxtemplater.options.syntax.allowUnbalancedLoops&&y.push(Mf(R,w)),w=R,x=V,[U,V]}var G,M;try{G=xE(t,S,R[0].offset);}catch(te){y.push(te);}try{M=wE(t,S,R[1].offset);}catch(te){y.push(te);}return G<x&&!o.docxtemplater.options.syntax.allowUnbalancedLoops&&y.push(Mf(R,w)),x=M,w=R,[G,M]});if(y.length>0)return {postparsed:t,errors:y};var C=0,O,P=t.reduce(function(R,S,k){var U=C<h.length&&T[C][0]<=k&&k<=T[C][1],V=h[C],G=T[C];if(!U)return R.push(S),R;if(G[0]===k&&(O=[]),V[0].offset!==k&&V[1].offset!==k&&O.push(S),G[1]===k){var M=t[V[0].offset];M.subparsed=s(O,{basePart:M}),M.endLindex=V[1].part.lIndex,delete M.location,delete M.expandTo,R.push(M),C++;for(var te=T[C];te&&te[0]<k;)C++,te=T[C];}return R},[]);return {postparsed:P,errors:y}}}])})();qf.exports=function(){return DE(new NE)};});var Hf=chunkPCJ5ACUV_cjs.b((V1,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 IE(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,PE(n.key),n);}}function BE(e,r,t){return r&&zf(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function PE(e){var r=RE(e,"string");return Wn(r)=="symbol"?r:r+""}function RE(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 kE=Pr(),Vf=Ye(),FE=Vf.getScopeCompilationError,LE=Vf.getCorruptCharactersException,Po=be(),jf=Po.utf8ToWord,ME=Po.hasCorruptCharacters,qE=Po.removeCorruptCharacters,Ya=lo(),UE=Ya.settingsContentType,zE=Ya.coreContentType,jE=Ya.appContentType,VE=Ya.customContentType,XE=[UE,zE,jE,VE],HE={docx:"w",pptx:"a"},ZE=(function(){function e(){IE(this,e),this.name="Render",this.recordRun=false,this.recordedRun=[];}return BE(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=HE[n.fileType],this.runStartTag="".concat(this.prefix,":r"),this.runPropsStartTag="".concat(this.prefix,":rPr"),t}},{key:"postparse",value:function(t,n){for(var o=[],u=0;u<t.length;u++){var s=t[u];if(s.type==="placeholder"){var c=s.value;try{n.cachedParsers[s.lIndex]=this.docxtemplater.parser(c,{tag:s});}catch(f){o.push(FE({tag:c,rootError:f,offset:s.offset}));}}}return {postparsed:t,errors:o}}},{key:"getRenderedMap",value:function(t){for(var n in this.compiled)t[n]={from:n,data:this.data};return t}},{key:"render",value:function(t,n){var o=n.contentType,u=n.scopeManager,s=n.linebreaks,c=n.nullGetter,f=n.fileType,p=n.stripInvalidXMLChars;if(XE.indexOf(o)!==-1&&(s=false),s&&this.recordRuns(t),!(t.type!=="placeholder"||t.module)){var h;try{h=u.getValue(t.value,{part:t});}catch(y){return {errors:[y]}}if(h??(h=c(t)),typeof h=="string"){if(p)h=qE(h);else if(["docx","pptx","xlsx"].indexOf(f)!==-1&&ME(h))return {errors:[LE({tag:t.value,value:h,offset:t.offset})]}}return f==="text"?{value:h}:{value:s&&typeof h=="string"?this.renderLineBreaks(h):jf(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=[],o=t.split(`
18
- `),u=0,s=o.length;u<s;u++)n.push(jf(o[u])),u<o.length-1&&n.push("</".concat(this.prefix,":t></").concat(this.prefix,":r>").concat(this.brTag,"<").concat(this.prefix,":r>").concat(this.recordedRun,"<").concat(this.prefix,":t").concat(this.docxtemplater.fileType==="docx"?' xml:space="preserve"':"",">"));return n}}])})();Xf.exports=function(){return kE(new ZE)};});var Qf=chunkPCJ5ACUV_cjs.b((X1,Kf)=>{var Zf=Df(),GE=Of(),Gf=Pf(),Yf=Uf(),Wf=Hf();function YE(){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:[Zf,GE,Yf,Gf,Wf],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 WE(){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:[Zf,Yf,Gf,Wf],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>"}]}}Kf.exports={docx:YE,pptx:WE};});var mp=chunkPCJ5ACUV_cjs.b((H1,Mo)=>{var KE=["modules"];function Jf(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n);}return t}function fr(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Jf(Object(t),true).forEach(function(n){QE(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Jf(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function QE(e,r,t){return (r=up(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function $f(e,r){return rb(e)||eb(e,r)||$E(e,r)||JE()}function JE(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
19
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $E(e,r){if(e){if(typeof e=="string")return ep(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)?ep(e,r):void 0}}function ep(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 eb(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,o,u,s,c=[],f=true,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,o=h;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(p)throw o}}return c}}function rb(e){if(Array.isArray(e))return e}function Rt(e){"@babel/helpers - typeof";return Rt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Rt(e)}function tb(e,r){if(e==null)return {};var t,n,o=nb(e,r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n<u.length;n++)t=u[n],r.indexOf(t)===-1&&{}.propertyIsEnumerable.call(e,t)&&(o[t]=e[t]);}return o}function nb(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 ab(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function rp(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,up(n.key),n);}}function ib(e,r,t){return r&&rp(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function up(e){var r=ob(e,"string");return Rt(r)=="symbol"?r:r+""}function ob(e,r){if(Rt(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Rt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}var Be=be(),De=Ll(),ub=De.object({allowUnopenedTag:De.boolean().optional(),allowUnclosedTag:De.boolean().optional(),allowUnbalancedLoops:De.boolean().optional(),changeDelimiterPrefix:De.string().optional().nullable()}),sb=De.object({delimiters:De.object({start:De.string().nullable(),end:De.string().nullable()}).strict().optional(),fileTypeConfig:De.object({}).optional(),paragraphLoop:De.boolean().optional(),parser:De.function().optional(),errorLogging:De.union([De.boolean(),De.string()]).optional(),linebreaks:De.boolean().optional(),nullGetter:De.function().optional(),syntax:ub.optional(),stripInvalidXMLChars:De.boolean().optional(),warnFn:De.function().optional()}).strict(),lb=ql(),sp=lb.getRelsTypes,lp=jl(),cp=lp.collectContentTypes,fp=lp.getContentTypes,pp=Pr(),cb=Xa(),fb=ac(),pb=pc(),tp=po(),hb=Tc(),Ro=hb.getTags,hp=_c(),yr=Ye(),dp=yr.throwMultiError,db=yr.throwResolveBeforeCompile,gb=yr.throwRenderInvalidTemplate,mb=yr.throwRenderTwice,Qn=yr.XTInternalError,vb=yr.XTTemplateError,yb=yr.throwFileTypeNotIdentified,Eb=yr.throwFileTypeNotHandled,Wa=yr.throwApiVersionError;Be.getRelsTypes=sp;Be.traits=cb;Be.moduleWrapper=pp;Be.collectContentTypes=cp;Be.getContentTypes=fp;var np=Be.getDefaults,bb=Be.str2xml,xb=Be.xml2str,Lo=Be.concatArrays,ap=Be.uniq,wb=Be.getDuplicates,Db=Be.stableSort,ko=Be.pushArray,ip=Be.utf8ToWord,Ab=Be.invertMap,Tb="[Content_Types].xml",Cb="_rels/.rels",pr=[3,47,2];function _b(e){var r=wb(e.map(function(t){var n=t.name;return n}));if(r.length>0)throw new Qn('Detected duplicate module "'.concat(r[0],'"'))}function Sb(e){for(var r=0,t=e.modules;r<t.length;r++)for(var n=t[r],o=0,u=n.xmlContentTypes||[];o<u.length;o++)for(var s=u[o],c=e.invertedContentTypes[s]||[],f=0;f<c.length;f++){var p=c[f];e.zip.files[p]&&e.options.xmlFileNames.push(p);}}function Ob(e){return Db(e,function(r,t){return (t.priority||0)-(r.priority||0)})}function Kn(e){var r=[];for(var t in e)r.push(t);for(var n=[Tb,Cb],o=["word/","xl/","ppt/"],u=0;u<r.length;u++)for(var s=r[u],c=0;c<o.length;c++){var f=o[c];s.indexOf("".concat(f))===0&&n.push(s);}for(var p=0;p<r.length;p++){var h=r[p];n.indexOf(h)===-1&&n.push(h);}return n}function gp(e,r){e.hideDeprecations!==true&&console.warn(r);}function Pt(e,r){if(e.hideDeprecations!==true)return gp(e,'Deprecated method ".'.concat(r,'", view upgrade guide : https://docxtemplater.com/docs/api/#upgrade-guide, stack : ').concat(new Error().stack))}function Fo(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 op(e){var r=e.compiled;e.errors=Lo(Object.keys(r).map(function(t){return r[t].allErrors})),e.errors.length!==0&&(e.options.errorLogging&&hp(e.errors,e.options.errorLogging),dp(e.errors));}function Nb(e){return typeof Buffer<"u"&&typeof Buffer.isBuffer=="function"&&Buffer.isBuffer(e)}var nt=(function(){function e(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.modules,o=n===void 0?[]:n,u=tb(t,KE);if(ab(this,e),this.targets=[],this.rendered=false,this.scopeManagers={},this.compiled={},this.modules=[fb()],this.xmlDocuments={},arguments.length===0)gp(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),Nb(r))throw new Error("You passed a Buffer to the Docxtemplater constructor. The first argument of docxtemplater's constructor must be a valid zip file (jszip v2 or pizzip v3)");if(!r||!r.files||typeof r.file!="function")throw new Error("The first argument of docxtemplater's constructor must be a valid zip file (jszip v2 or pizzip v3)");if(!Array.isArray(o))throw new Error("The modules argument of docxtemplater's constructor must be an array");for(var s=0;s<o.length;s++){var c=o[s];this.attachModule(c);}this.loadZip(r),this.compile(),this.v4Constructor=true;}this.hideDeprecations=false;}return ib(e,[{key:"verifyApiVersion",value:function(t){return t=t.split(".").map(function(n){return parseInt(n,10)}),t.length!==3&&Wa("neededVersion is not a valid version",{neededVersion:t,explanation:"the neededVersion must be an array of length 3"}),t[0]!==pr[0]&&Wa("The major api version do not match, you probably have to update docxtemplater with npm install --save docxtemplater",{neededVersion:t,currentModuleApiVersion:pr,explanation:"moduleAPIVersionMismatch : needed=".concat(t.join("."),", current=").concat(pr.join("."))}),t[1]>pr[1]&&Wa("The minor api version is not uptodate, you probably have to update docxtemplater with npm install --save docxtemplater",{neededVersion:t,currentModuleApiVersion:pr,explanation:"moduleAPIVersionMismatch : needed=".concat(t.join("."),", current=").concat(pr.join("."))}),t[1]===pr[1]&&t[2]>pr[2]&&Wa("The patch api version is not uptodate, you probably have to update docxtemplater with npm install --save docxtemplater",{neededVersion:t,currentModuleApiVersion:pr,explanation:"moduleAPIVersionMismatch : needed=".concat(t.join("."),", current=").concat(pr.join("."))}),true}},{key:"setModules",value:function(t){for(var n=0,o=this.modules;n<o.length;n++){var u=o[n];u.set(t);}}},{key:"sendEvent",value:function(t){for(var n=0,o=this.modules;n<o.length;n++){var u=o[n];u.on(t);}}},{key:"attachModule",value:function(t){if(this.v4Constructor)throw new Qn("attachModule() should not be called manually when using the v4 constructor");Pt(this,"attachModule");var n=Rt(t);if(n==="function")throw new Qn("Cannot attach a class/function as a module. Most probably you forgot to instantiate the module by using `new` on the module.");if(!t||n!=="object")throw new Qn("Cannot attachModule with a falsy value");if(t.requiredAPIVersion&&this.verifyApiVersion(t.requiredAPIVersion),t.attached===true)if(typeof t.clone=="function")t=t.clone();else throw new Error('Cannot attach a module that was already attached : "'.concat(t.name,'". The most likely cause is that you are instantiating the module at the root level, and using it for multiple instances of Docxtemplater'));t.attached=true;var o=pp(t);return this.modules.push(o),o.on("attached"),this.fileType&&Fo(this),this}},{key:"findModule",value:function(t){for(var n=0,o=this.modules;n<o.length;n++){var u=o[n];if(u.name===t)return u}}},{key:"setOptions",value:function(t){var n,o;if(this.v4Constructor)throw new Error("setOptions() should not be called manually when using the v4 constructor");if(!t)throw new Error("setOptions should be called with an object as first parameter");var u=sb.validate(t);if(u.success===false)throw new Error(u.error);Pt(this,"setOptions"),this.options={};var s=np();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=ip(this.delimiters.start)),(o=this.delimiters).end&&(o.end=ip(this.delimiters.end)),this}},{key:"loadZip",value:function(t){if(this.v4Constructor)throw new Error("loadZip() should not be called manually when using the v4 constructor");if(Pt(this,"loadZip"),t.loadAsync)throw new Qn("Docxtemplater doesn't handle JSZip version >=3, please use pizzip");t.xtRendered&&this.options.warnFn([new Error("This zip file appears to be the outcome of a previous docxtemplater generation. This typically indicates that docxtemplater was integrated by reusing the same zip file. It is recommended to create a new Pizzip instance for each docxtemplater generation.")]),this.zip=t,this.updateFileTypeConfig(),this.modules=Lo([this.fileTypeConfig.baseModules.map(function(s){return s()}),this.modules]);for(var n=0,o=this.modules;n<o.length;n++){var u=o[n];u.zip=this.zip,u.docxtemplater=this,u.fileTypeConfig=this.fileTypeConfig,u.fileType=this.fileType,u.xtOptions=this.options,u.modules=this.modules;}return Fo(this),this}},{key:"precompileFile",value:function(t){var n=this.createTemplateClass(t);n.preparse(),this.compiled[t]=n;}},{key:"compileFile",value:function(t){this.compiled[t].parse();}},{key:"getScopeManager",value:function(t,n,o){var u;return (u=this.scopeManagers)[t]||(u[t]=pb({tags:o,parser:this.parser,cachedParsers:n.cachedParsers})),this.scopeManagers[t]}},{key:"resolveData",value:function(t){var n=this;Pt(this,"resolveData");var o=[];return Object.keys(this.compiled).length||db(),Promise.resolve(t).then(function(u){return n.data=u,n.setModules({data:n.data,Lexer:tp}),n.mapper=n.modules.reduce(function(s,c){return c.getRenderedMap(s)},{}),Promise.all(Object.keys(n.mapper).map(function(s){var c=n.mapper[s],f=c.from,p=c.data;return Promise.resolve(p).then(function(h){var y=n.compiled[f];return y.filePath=s,y.scopeManager=n.getScopeManager(s,y,h),y.resolveTags(h).then(function(x){return y.scopeManager.finishedResolving=true,x},function(x){ko(o,x);})})})).then(function(s){return o.length!==0&&(n.options.errorLogging&&hp(o,n.options.errorLogging),dp(o)),Lo(s)})})}},{key:"compile",value:function(){if(Pt(this,"compile"),this.updateFileTypeConfig(),_b(this.modules),this.modules=Ob(this.modules),Object.keys(this.compiled).length)return this;for(var t=this.options,n=0,o=this.modules;n<o.length;n++){var u=o[n];t=u.optionsTransformer(t,this);}this.options=t,this.options.xmlFileNames=ap(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]=bb(p);}this.setModules({zip:this.zip,xmlDocuments:this.xmlDocuments});for(var h=0,y=this.modules;h<y.length;h++){var x=y[h];x.xmlDocuments=this.xmlDocuments;}this.getTemplatedFiles(),this.sendEvent("before-preparse");for(var w=0,T=this.templatedFiles;w<T.length;w++){var C=T[w];this.zip.files[C]!=null&&this.precompileFile(C);}this.sendEvent("after-preparse");for(var O=0,P=this.templatedFiles;O<P.length;O++){var R=P[O];this.zip.files[R]!=null&&this.compiled[R].parse({noPostParse:true});}this.sendEvent("after-parse");for(var S=0,k=this.templatedFiles;S<k.length;S++){var U=k[S];this.zip.files[U]!=null&&this.compiled[U].postparse();}return this.sendEvent("after-postparse"),this.setModules({compiled:this.compiled}),op(this),this}},{key:"updateFileTypeConfig",value:function(){this.relsTypes=sp(this.zip);var t=fp(this.zip),n=t.overrides,o=t.defaults,u=t.contentTypes,s=t.contentTypeXml;s&&(this.filesContentTypes=cp(n,o,this.zip),this.invertedContentTypes=Ab(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:o,doc:this})||c;}if(this.fileType=c,c==="odt"&&Eb(c),c||yb(this.zip),Sb(this),Fo(this),this.fileTypeConfig=this.options.fileTypeConfig||this.fileTypeConfig,!this.fileTypeConfig)if(e.FileTypeConfig[this.fileType])this.fileTypeConfig=e.FileTypeConfig[this.fileType]();else {var y='Filetype "'.concat(this.fileType,'" is not supported'),x="filetype_not_supported";this.fileType==="xlsx"&&(y='Filetype "'.concat(this.fileType,'" is supported only with the paid XlsxModule'),x="xlsx_filetype_needs_xlsx_module");var w=new vb(y);throw w.properties={id:x,explanation:y},w}return this}},{key:"renderAsync",value:function(t){var n=this;this.hideDeprecations=true;var o=this.resolveData(t);return this.hideDeprecations=false,this.zip.xtRendered=true,o.then(function(){return n.render()})}},{key:"render",value:function(t){this.zip.xtRendered=true,this.rendered&&mb(),this.rendered=true,Object.keys(this.compiled).length===0&&this.compile(),this.errors.length>0&&gb(),arguments.length>0&&(this.data=t),this.setModules({data:this.data,Lexer:tp}),this.mapper||(this.mapper=this.modules.reduce(function(V,G){return G.getRenderedMap(V)},{}));var n=[];for(var o in this.mapper){var u=this.mapper[o],s=u.from,c=u.data,f=this.compiled[s];f.scopeManager=this.getScopeManager(o,f,c),f.render(o),n.push([o,f.content,f]),delete f.content;}for(var p=0;p<n.length;p++)for(var h=n[p],y=$f(h,3),x=y[1],w=y[2],T=0,C=this.modules;T<C.length;T++){var O=C[T];if(O.preZip){var P=O.preZip(x,w);typeof P=="string"&&(h[1]=P);}}for(var R=0;R<n.length;R++){var S=$f(n[R],2),k=S[0],U=S[1];this.zip.file(k,U,{createFolders:true});}return op(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=xb(this.xmlDocuments[t]);this.zip.file(t,n,{createFolders:true});}}},{key:"setData",value:function(t){return Pt(this,"setData"),this.data=t,this}},{key:"getZip",value:function(){return this.zip}},{key:"createTemplateClass",value:function(t){var n=this.zip.files[t].asText();return this.createTemplateClassFromContent(n,t)}},{key:"createTemplateClassFromContent",value:function(t,n){for(var o={filePath:n,contentType:this.filesContentTypes[n],relsType:this.relsTypes[n]},u=np(),s=ko(Object.keys(u),["filesContentTypes","fileTypeConfig","fileType","modules"]),c=0;c<s.length;c++){var f=s[c];o[f]=this[f];}return new e.XmlTemplater(t,o)}},{key:"getFullText",value:function(t){return this.createTemplateClass(t||this.fileTypeConfig.textPath(this)).getFullText()}},{key:"getTemplatedFiles",value:function(){this.templatedFiles=this.fileTypeConfig.getTemplatedFiles(this.zip),ko(this.templatedFiles,this.targets);var t=this.fileTypeConfig.templatedNs||[];if(t.length>0){for(var n in this.filesContentTypes)if(/^customXml\/item\d+\.xml$/.test(n))for(var o=0;o<t.length;o++){var u=t[o],s=this.zip.file(n).asText();s.indexOf('xmlns="'.concat(u,'"'))!==-1&&this.templatedFiles.push(n);}}return this.templatedFiles=ap(this.templatedFiles),this.templatedFiles}},{key:"getTags",value:function(){var t={headers:[],footers:[]};for(var n in this.compiled){var o=this.filesContentTypes[n];o==="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"&&(t.document={target:n,tags:Ro(this.compiled[n].postparsed)}),o==="application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml"&&t.headers.push({target:n,tags:Ro(this.compiled[n].postparsed)}),o==="application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml"&&t.footers.push({target:n,tags:Ro(this.compiled[n].postparsed)});}return t}},{key:"toBuffer",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"nodebuffer"}))}},{key:"toBlob",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"blob"}))}},{key:"toBase64",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"base64"}))}},{key:"toUint8Array",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"uint8array"}))}},{key:"toArrayBuffer",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"arraybuffer"}))}}])})();nt.DocUtils=Be;nt.Errors=Ye();nt.XmlTemplater=sf();nt.FileTypeConfig=Qf();nt.XmlMatcher=mo();Mo.exports=nt;Mo.exports.default=nt;});var kt=chunkPCJ5ACUV_cjs.c(cs(),1),Ft=chunkPCJ5ACUV_cjs.c(mp(),1);function qo(e,r,t={}){return Ib(e,r,t).buffer}function Ib(e,r,t={}){let{nullGetter:n="keep",linebreaks:o=true,delimiters:u}=t,s=[],c=[],f=[];try{let p=new kt.default(e),h=new Ft.default(p,{paragraphLoop:!0,linebreaks:o,nullGetter:x=>{let w=x.value||"";if(n==="error")throw new Error(`Undefined variable: ${w}`);return n==="empty"?(f.push(w),""):(f.push(w),`{${w}}`)},delimiters:u?{start:u.start||"{",end:u.end||"}"}:void 0});return Object.keys(r).forEach(x=>{r[x]!==void 0&&r[x]!==null&&c.push(x);}),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 Jn(p)}}function Bb(e,r,t={}){let n=qo(e,r,t);return new Blob([n],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"})}function Z1(e,r,t="document",n={}){let o=Bb(e,r,n);kb(o,`${t}.docx`);}function G1(e){try{let r=new kt.default(e),n=new Ft.default(r,{paragraphLoop:!0,linebreaks:!0}).getFullText();return vp(n)}catch(r){throw Jn(r)}}function Y1(e){let r=[],t=[];try{let n=new kt.default(e),u=new Ft.default(n,{paragraphLoop:!0,linebreaks:!0}).getFullText();t=vp(u);let s=Pb(u);for(let c of s)r.push({message:`Unclosed tag: ${c}`,variable:c,type:"parse"});return {valid:r.length===0,errors:r,tags:t}}catch(n){return r.push(Jn(n)),{valid:false,errors:r,tags:t}}}function W1(e,r){return e.filter(t=>!(t in r)||r[t]===void 0||r[t]===null)}function K1(e,r){try{let t=new kt.default(e),n=new Ft.default(t,{paragraphLoop:!0,linebreaks:!0,nullGetter:o=>`[${o.value||""}]`});return n.setData(r),n.render(),n.getFullText()}catch(t){throw Jn(t)}}function vp(e){let r=[],t=/\{([^{}]+)\}/g,n;for(;(n=t.exec(e))!==null;){let o=n[1].trim();o&&!r.includes(o)&&r.push(o);}return r.sort()}function Pb(e){let r=[],t=0,n="";for(let o of e)o==="{"?(t++,n=""):o==="}"?(t--,t<0&&(t=0)):t>0&&(n+=o);return t>0&&n.trim()&&r.push(n.trim()),r}function Rb(e){return "properties"in e&&typeof e.properties=="object"}function Jn(e){if(e instanceof Error){if(Rb(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 kb(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 Q1(e,r,t={}){let{linebreaks:n=true,delimiters:o}=t;try{let u=new kt.default(e),s=new Ft.default(u,{paragraphLoop:!0,linebreaks:n,delimiters:o?{start:o.start||"{",end:o.end||"}"}:void 0});return s.setData(r),s.render(),s.getZip().generate({type:"arraybuffer",compression:"DEFLATE"})}catch(u){throw Jn(u)}}function J1(e={}){return (r,t)=>qo(r,t,e)}var $1=qo;/*! Bundled license information:
7
+ `)}function xl(e){if(e=e||{},e.locator===void 0&&(e.locator=true),this.assign=e.assign||Jr.assign,this.domHandler=e.domHandler||La,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||bl,this.locator=!!e.locator,this.xmlns=this.assign(Object.create(null),e.xmlns);}xl.prototype.parseFromString=function(e,r){if(!I0(r))throw new TypeError('DOMParser.parseFromString: the provided mimeType "'+r+'" is not valid.');var t=this.assign(Object.create(null),this.xmlns),n=ml.XML_ENTITIES,o=t[""]||null;O0(r)?(n=ml.HTML_ENTITIES,o=to.HTML):r===El.XML_SVG_IMAGE&&(o=to.SVG),t[""]=o,t.xml=t.xml||to.XML;var u=new this.domHandler({mimeType:r,defaultNamespace:o,onError:this.onError}),s=this.locator?{}:void 0;this.locator&&u.setDocumentLocator(s);var c=new B0;c.errorHandler=u,c.domBuilder=u;var f=!Jr.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 La(e){var r=e||{};this.mimeType=r.mimeType||El.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 Dt(e,r){r.lineNumber=e.lineNumber,r.columnNumber=e.columnNumber;}La.prototype={startDocument:function(){var e=new S0;this.doc=N0(this.mimeType)?e.createHTMLDocument(false):e.createDocument(this.defaultNamespace,"");},startElement:function(e,r,t,n){var o=this.doc,u=o.createElementNS(e,t||r),s=n.length;Fa(this,u),this.currentElement=u,this.locator&&Dt(this.locator,u);for(var c=0;c<s;c++){var e=n.getURI(c),f=n.getValue(c),t=n.getQName(c),h=o.createAttributeNS(e,t);this.locator&&Dt(n.getLocator(c),h),h.value=h.nodeValue=f,u.setAttributeNode(h);}},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&&Dt(this.locator,t),Fa(this,t);},ignorableWhitespace:function(e,r,t){},characters:function(e,r,t){if(e=yl.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&&Dt(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=yl.apply(this,arguments);var n=this.doc.createComment(e);this.locator&&Dt(this.locator,n),Fa(this,n);},startCDATA:function(){this.cdata=true;},endCDATA:function(){this.cdata=false;},startDTD:function(e,r,t,n){var o=this.doc.implementation;if(o&&o.createDocumentType){var u=o.createDocumentType(e,r,t,n);this.locator&&Dt(this.locator,u),Fa(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 vl("Reporting "+e+' "'+r+'" caused '+t,this.locator)}else console.error("[xmldom "+e+"] "+r,P0(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 vl(e,this.locator)}};function P0(e){if(e)return `
8
+ @#[line:`+e.lineNumber+",col:"+e.columnNumber+"]"}function yl(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){La.prototype[e]=function(){return null};});function Fa(e,r){e.currentElement?e.currentElement.appendChild(r):e.doc.appendChild(r);}function R0(e){if(e==="error")throw "onErrorStopParsing"}function k0(){throw "onWarningStopParsing"}At.__DOMHandler=La;At.DOMParser=xl;At.normalizeLineEndings=bl;At.onErrorStopParsing=R0;At.onWarningStopParsing=k0;});var Dl=chunkPCJ5ACUV_cjs.b(ue=>{var Tt=Gr();ue.assign=Tt.assign;ue.hasDefaultHTMLNamespace=Tt.hasDefaultHTMLNamespace;ue.isHTMLMimeType=Tt.isHTMLMimeType;ue.isValidMimeType=Tt.isValidMimeType;ue.MIME_TYPE=Tt.MIME_TYPE;ue.NAMESPACE=Tt.NAMESPACE;var Ma=cn();ue.DOMException=Ma.DOMException;ue.DOMExceptionName=Ma.DOMExceptionName;ue.ExceptionCode=Ma.ExceptionCode;ue.ParseError=Ma.ParseError;var we=eo();ue.Attr=we.Attr;ue.CDATASection=we.CDATASection;ue.CharacterData=we.CharacterData;ue.Comment=we.Comment;ue.Document=we.Document;ue.DocumentFragment=we.DocumentFragment;ue.DocumentType=we.DocumentType;ue.DOMImplementation=we.DOMImplementation;ue.Element=we.Element;ue.Entity=we.Entity;ue.EntityReference=we.EntityReference;ue.LiveNodeList=we.LiveNodeList;ue.NamedNodeMap=we.NamedNodeMap;ue.Node=we.Node;ue.NodeList=we.NodeList;ue.Notation=we.Notation;ue.ProcessingInstruction=we.ProcessingInstruction;ue.Text=we.Text;ue.XMLSerializer=we.XMLSerializer;var Ua=wl();ue.DOMParser=Ua.DOMParser;ue.normalizeLineEndings=Ua.normalizeLineEndings;ue.onErrorStopParsing=Ua.onErrorStopParsing;ue.onWarningStopParsing=Ua.onWarningStopParsing;});var qa=chunkPCJ5ACUV_cjs.b((x1,Al)=>{function F0(e){return e[e.length-1]}function L0(e){return e[0]}Al.exports={last:F0,first:L0};});var Ye=chunkPCJ5ACUV_cjs.b((w1,_l)=>{function _n(e){"@babel/helpers - typeof";return _n=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},_n(e)}function Tl(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n);}return t}function M0(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Tl(Object(t),true).forEach(function(n){U0(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Tl(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function U0(e,r,t){return (r=q0(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function q0(e){var r=z0(e,"string");return _n(r)=="symbol"?r:r+""}function z0(e,r){if(_n(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(_n(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}var Cl=qa(),za=Cl.last,$r=Cl.first;function et(e){this.name="GenericError",this.message=e,this.stack=new Error(e).stack;}et.prototype=Error.prototype;function Oe(e){this.name="TemplateError",this.message=e,this.stack=new Error(e).stack;}Oe.prototype=new et;function Sn(e){this.name="RenderingError",this.message=e,this.stack=new Error(e).stack;}Sn.prototype=new et;function ja(e){this.name="ScopeParserError",this.message=e,this.stack=new Error(e).stack;}ja.prototype=new et;function Br(e){this.name="InternalError",this.properties={explanation:"InternalError"},this.message=e,this.stack=new Error(e).stack;}Br.prototype=new et;function no(e){this.name="APIVersionError",this.properties={explanation:"APIVersionError"},this.message=e,this.stack=new Error(e).stack;}no.prototype=new et;function j0(e,r){var t=new no(e);throw t.properties=M0({id:"api_version_error"},r),t}function V0(e){var r=new Oe("Multi error");throw r.properties={errors:e,id:"multi_error",explanation:"The template has multiple errors"},r}function X0(e){var r=new Oe("Unopened tag");return r.properties={xtag:za(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 H0(e){var r=new Oe("Duplicate open tag, expected one open tag");return r.properties={xtag:$r(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 Z0(e){var r=new Oe("Duplicate close tag, expected one close tag");return r.properties={xtag:$r(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 G0(e){var r=new Oe("Unclosed tag");return r.properties={xtag:$r(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 Y0(e){e.position==="left"?W0(e):K0(e);}function W0(e){var r=new Oe('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 K0(e){var r=new Oe('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 Q0(e){var r=e.tag,t=e.value,n=e.offset,o=new Sn("There are some XML corrupt characters");return o.properties={id:"invalid_xml_characters",xtag:r,value:t,offset:n,explanation:'There are some corrupt characters for the field "'.concat(r,'"')},o}function J0(e){var r=e.tag,t=e.value,n=e.offset,o=e.partDelims,u=new Sn("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(o,'" is not a string')},u}function $0(e){var r=e.part,t=r.value,n=r.offset,o=e.id,u=o===void 0?"raw_tag_outerxml_invalid":o,s=e.message,c=s===void 0?"Raw tag not in paragraph":s,f=e.part,h=e.explanation,p=h===void 0?'The tag "'.concat(t,'" is not inside a paragraph'):h;typeof p=="function"&&(p=p(f));var y=new Oe(c);throw y.properties={id:u,explanation:p,rootError:e.rootError,xtag:t,offset:n,postparsed:e.postparsed,expandTo:e.expandTo,index:e.index},y}function e2(e){var r=new Oe("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 r2(e){var r=e.location,t=e.offset,n=e.square,o=r==="start"?"unclosed":"unopened",u=r==="start"?"Unclosed":"Unopened",s=new Oe("".concat(u," loop")),c=e.value;return s.properties={id:"".concat(o,"_loop"),explanation:'The loop with tag "'.concat(c,'" is ').concat(o),xtag:c,offset:t},n&&(s.properties.square=n),s}function t2(e,r){var t=new Oe("Unbalanced loop tag"),n=r[0].part.value,o=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(o,"}{#").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 n2(e){var r=e.tags,t=new Oe("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:$r(r).value,offset:[$r(r).offset,za(r).offset],closingtag:za(r).value},$r(r).square&&(t.properties.square=[$r(r).square,za(r).square]),t}function a2(e){var r=e.tag,t=e.rootError,n=e.offset,o=new ja("Scope parser compilation failed");return o.properties={id:"scopeparser_compilation_failed",offset:n,xtag:r,explanation:'The scope parser for the tag "'.concat(r,'" failed to compile'),rootError:t},o}function i2(e){var r=e.tag,t=e.scope,n=e.error,o=e.offset,u=new ja("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:o,xtag:r,rootError:n},u}function o2(e){var r=e.tag,t=e.offset,n=new Oe('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 u2(e,r){var t='Unimplemented tag type "'.concat(e.type,'"');e.module&&(t+=' "'.concat(e.module,'"'));var n=new Oe(t);throw n.properties={part:e,index:r,id:"unimplemented_tag_type"},n}function s2(){var e=new Br("Malformed xml");throw e.properties={explanation:"The template contains malformed xml",id:"malformed_xml"},e}function l2(){var e=new Br("You must run `.compile()` before running `.resolveData()`");throw e.properties={id:"resolve_before_compile",explanation:"You must run `.compile()` before running `.resolveData()`"},e}function c2(){var e=new Br("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 f2(){var e=new Br("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 p2(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 Br("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 h2(e,r){var t=new Oe("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}function d2(e){var r=new Br('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}_l.exports={XTError:et,XTTemplateError:Oe,XTInternalError:Br,XTScopeParserError:ja,XTAPIVersionError:no,RenderingError:Sn,XTRenderingError:Sn,getClosingTagNotMatchOpeningTag:n2,getLoopPositionProducesInvalidXMLError:o2,getScopeCompilationError:a2,getScopeParserExecutionError:i2,getUnclosedTagException:G0,getUnopenedTagException:X0,getUnmatchedLoopException:r2,getDuplicateCloseTagException:Z0,getDuplicateOpenTagException:H0,getCorruptCharactersException:Q0,getInvalidRawXMLValueException:J0,getUnbalancedLoopException:t2,throwApiVersionError:j0,throwFileTypeNotHandled:d2,throwFileTypeNotIdentified:p2,throwMalformedXml:s2,throwMultiError:V0,throwExpandNotFound:$0,throwRawTagShouldBeOnlyTextInParagraph:e2,throwUnimplementedTagType:u2,throwXmlTagNotFound:Y0,throwXmlInvalid:h2,throwResolveBeforeCompile:l2,throwRenderInvalidTemplate:c2,throwRenderTwice:f2};});var be=chunkPCJ5ACUV_cjs.b((D1,kl)=>{function g2(e,r){return E2(e)||y2(e,r)||v2(e,r)||m2()}function m2(){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 v2(e,r){if(e){if(typeof e=="string")return Sl(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)?Sl(e,r):void 0}}function Sl(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 y2(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,o,u,s,c=[],f=true,h=false;try{if(u=(t=t.call(e)).next,r===0);else for(;!(f=(n=u.call(t)).done)&&(c.push(n.value),c.length!==r);f=!0);}catch(p){h=true,o=p;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(h)throw o}}return c}}function E2(e){if(Array.isArray(e))return e}var Ol=Dl(),b2=Ol.DOMParser,x2=Ol.XMLSerializer,w2=Ye(),Nl=w2.throwXmlTagNotFound,Il=qa(),D2=Il.last,A2=Il.first;function T2(e){return /^[ \n\r\t]+$/.test(e)}function C2(e){return {get:function(t){return e==="."?t:t&&t[e]}}}function _2(e){for(var r=0;r<e.length;r++){var t=e[r];t.message&&console.warn("Warning : "+t.message);}}var ao={};function S2(e,r,t){var n;if(ao[r]?n=ao[r]:(n=new RegExp("(<.* ".concat(r,'=")([^"]*)(".*)$')),ao[r]=n),n.test(e))return e.replace(n,"$1".concat(t,"$3"));var o=e.lastIndexOf("/>");return o===-1&&(o=e.lastIndexOf(">")),e.substr(0,o)+" ".concat(r,'="').concat(t,'"')+e.substr(o)}function O2(e,r){var t=e.indexOf(" ".concat(r,'="'));if(t===-1)return null;var n=e.substr(t).search(/["']/)+t,o=e.substr(n+1).search(/["']/)+n;return e.substr(n+1,o-n)}function N2(e,r){return e.indexOf(r,e.length-r.length)!==-1}function I2(e,r){return e.substring(0,r.length)===r}function B2(e){for(var r=[],t={},n=[],o=0,u=e.length;o<u;++o)t[e[o]]?r.push(e[o]):(t[e[o]]=true,n.push(e[o]));return r}function P2(e){for(var r={},t=[],n=0,o=e.length;n<o;++n)r[e[n]]||(r[e[n]]=true,t.push(e[n]));return t}function R2(e,r){for(var t=[[]],n=0;n<e.length;n++){var o=e[n],u=t[t.length-1],s=r(o);s==="start"?t.push([o]):s==="end"?(u.push(o),t.push([])):u.push(o);}for(var c=[],f=0;f<t.length;f++){var h=t[f];h.length>0&&c.push(h);}return c}function k2(){return {errorLogging:"json",stripInvalidXMLChars:false,paragraphLoop:false,nullGetter:function(r){return r.module?"":"undefined"},xmlFileNames:["[Content_Types].xml"],parser:C2,warnFn:_2,linebreaks:false,fileTypeConfig:null,delimiters:{start:"{",end:"}"},syntax:{changeDelimiterPrefix:"=",preserveNewlinesInTags:false,allowUnopenedTag:false,allowUnclosedTag:false,allowUnbalancedLoops:false}}}function F2(e){return new x2().serializeToString(e).replace(/xmlns(:[a-z0-9]+)?="" ?/g,"")}function L2(e){return e.charCodeAt(0)===65279&&(e=e.substr(1)),new b2().parseFromString(e,"text/xml")}var Bl=[["&","&amp;"],["<","&lt;"],[">","&gt;"],['"',"&quot;"],["'","&apos;"]],On=Bl.map(function(e){var r=g2(e,2),t=r[0],n=r[1];return {rstart:new RegExp(n,"g"),rend:new RegExp(t,"g"),start:n,end:t}});function M2(e){for(var r=On.length-1;r>=0;r--){var t=On[r];e=e.replace(t.rstart,t.end);}return e}function U2(e){var r;(r=e)!==null&&r!==void 0&&r.toString?e=e.toString():e="";for(var t,n=0,o=On.length;n<o;n++)t=On[n],e=e.replace(t.rend,t.start);return e}function q2(e){for(var r=[],t=0;t<e.length;t++)for(var n=e[t],o=0;o<n.length;o++){var u=n[o];r.push(u);}return r}function z2(e,r){if(!r)return e;for(var t=0,n=r.length;t<n;t++)e.push(r[t]);return e}var j2=new RegExp("\xA0","g");function V2(e){return e.replace(j2," ")}function X2(e,r){for(var t=[],n;(n=e.exec(r))!=null;)t.push({array:n,offset:n.index});return t}function oo(e,r){return e==="</"+r+">"}function uo(e,r){return e.indexOf("<"+r)===0&&[">"," ","/"].indexOf(e[r.length+1])!==-1}function H2(e,r,t){var n=Pl(e,r,t);if(n!==null)return n;Nl({position:"right",element:r,parsed:e,index:t});}function Pl(e,r,t){typeof r=="string"&&(r=[r]);for(var n=1,o=t,u=e.length;o<u;o++)for(var s=e[o],c=0,f=r;c<f.length;c++){var h=f[c];if(oo(s.value,h)&&n--,uo(s.value,h)&&n++,n===0)return o}return null}function Z2(e,r,t){var n=Rl(e,r,t);if(n!==null)return n;Nl({position:"left",element:r,parsed:e,index:t});}function Rl(e,r,t){typeof r=="string"&&(r=[r]);for(var n=1,o=t;o>=0;o--)for(var u=e[o],s=0,c=r;s<c.length;s++){var f=c[s];if(uo(u.value,f)&&n--,oo(u.value,f)&&n++,n===0)return o}return null}function G2(e,r){var t=r.type,n=r.tag,o=r.position;return t==="tag"&&n===e&&(o==="start"||o==="selfclosing")}function Y2(e,r){var t=r.type,n=r.tag,o=r.position;return t==="tag"&&n===e&&o==="end"}function W2(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 K2(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 Q2(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 J2(e){var r=e.type,t=e.position,n=e.text;return n&&r==="tag"&&t==="start"}function $2(e){var r=e.type,t=e.position,n=e.text;return n&&r==="tag"&&t==="end"}function eg(e){var r=e.type,t=e.position;return r==="placeholder"||r==="content"&&t==="insidetag"}function rg(e,r){var t=e.module,n=e.type;return r instanceof Array||(r=[r]),n==="placeholder"&&r.indexOf(t)!==-1}var io=/[\x00-\x08\x0B\x0C\x0E-\x1F]/g;function tg(e){return io.lastIndex=0,io.test(e)}function ng(e){return typeof e!="string"&&(e=String(e)),e.replace(io,"")}function ag(e){var r={};for(var t in e){var n=e[t];r[n]||(r[n]=[]),r[n].push(t);}return r}function ig(e,r){return e.map(function(t,n){return {item:t,index:n}}).sort(function(t,n){return r(t.item,n.item)||t.index-n.index}).map(function(t){var n=t.item;return n})}function og(e,r){return r.delimiters.start+e.raw+r.delimiters.end}kl.exports={getPartWithDelimiters:og,endsWith:N2,startsWith:I2,isContent:eg,isParagraphStart:W2,isParagraphEnd:K2,isBreakTag:Q2,isTagStart:G2,isTagEnd:Y2,isTextStart:J2,isTextEnd:$2,isStarting:uo,isEnding:oo,isModule:rg,uniq:P2,getDuplicates:B2,chunkBy:R2,last:D2,first:A2,xml2str:F2,str2xml:L2,getRightOrNull:Pl,getRight:H2,getLeftOrNull:Rl,getLeft:Z2,pregMatchAll:X2,convertSpaces:V2,charMapRegexes:On,hasCorruptCharacters:tg,removeCorruptCharacters:ng,getDefaults:k2,wordToUtf8:M2,utf8ToWord:U2,concatArrays:q2,pushArray:z2,invertMap:ag,charMap:Bl,getSingleAttribute:O2,setSingleAttribute:S2,isWhiteSpace:T2,stableSort:ig};});var Ul=chunkPCJ5ACUV_cjs.b((A1,Ml)=>{function ug(e,r){return fg(e)||cg(e,r)||lg(e,r)||sg()}function sg(){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 lg(e,r){if(e){if(typeof e=="string")return Fl(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)?Fl(e,r):void 0}}function Fl(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 cg(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,o,u,s,c=[],f=true,h=false;try{if(u=(t=t.call(e)).next,r===0);else for(;!(f=(n=u.call(t)).done)&&(c.push(n.value),c.length!==r);f=!0);}catch(p){h=true,o=p;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(h)throw o}}return c}}function fg(e){if(Array.isArray(e))return e}function Ne(e){"@babel/helpers - typeof";return Ne=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},Ne(e)}function pg(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Ll(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,dg(n.key),n);}}function hg(e,r,t){return t&&Ll(e,t),Object.defineProperty(e,"prototype",{writable:false}),e}function dg(e){var r=gg(e,"string");return Ne(r)=="symbol"?r:r+""}function gg(e,r){if(Ne(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Ne(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var mg=(function(){function e(){pg(this,e);}return hg(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(Ne(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(Ne(t))}})}},{key:"boolean",value:function(){return e.createSchema(function(t){return typeof t!="boolean"?{success:false,error:"Expected boolean, received ".concat(Ne(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(Ne(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(Ne(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(Ne(n))};for(var o=0;o<n.length;o++){var u=t.validate(n[o]);if(!u.success)return {success:false,error:"".concat(u.error," at index ").concat(o)}}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(Ne(t))}})}},{key:"union",value:function(t){return e.createSchema(function(n){for(var o=0;o<t.length;o++){var u=t[o],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(o){if(o==null)return {success:false,error:"Expected object, received ".concat(o)};if(Ne(o)!=="object")return {success:false,error:"Expected object, received ".concat(Ne(o))};for(var u=0,s=Object.entries(t);u<s.length;u++){var c=ug(s[u],2),f=c[0],h=c[1],p=h.validate(o[f]);if(!p.success)return {success:false,error:"".concat(p.error," at ").concat(f)}}return {success:true,value:o}});return n.strict=function(){return e.createSchema(function(o){var u=n.validate(o);if(!u.success)return u;var s=Object.keys(o).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(Ne(n)!=="object")return {success:false,error:"Expected object, received ".concat(Ne(n))};for(var o=0,u=Object.keys(n);o<u.length;o++){var s=u[o];if(typeof s!="string")return {success:false,error:"Expected string key, received ".concat(Ne(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}})}}])})();Ml.exports=mg;});var zl=chunkPCJ5ACUV_cjs.b((T1,ql)=>{var vg=be(),yg=vg.str2xml,Eg="_rels/.rels";function bg(e){for(var r=e.files[Eg],t=r?yg(r.asText()):null,n=t?t.getElementsByTagName("Relationship"):[],o={},u=0;u<n.length;u++){var s=n[u];o[s.getAttribute("Target")]=s.getAttribute("Type");}return o}ql.exports={getRelsTypes:bg};});var Xl=chunkPCJ5ACUV_cjs.b((C1,Vl)=>{var xg=be(),wg=xg.str2xml,jl="[Content_Types].xml";function Dg(e,r,t){for(var n={},o=0;o<e.length;o++){var u=e[o],s=u.getAttribute("ContentType"),c=u.getAttribute("PartName").substr(1);n[c]=s;}return t.file(/./).map(function(f){for(var h=f.name,p=0;p<r.length;p++){var y=r[p],b=y.getAttribute("ContentType"),w=y.getAttribute("Extension");h.slice(h.length-w.length)===w&&!n[h]&&h!==jl&&(n[h]=b);}n[h]||(n[h]="");}),n}function Ag(e){var r=e.files[jl],t=r?wg(r.asText()):null,n=t?t.getElementsByTagName("Override"):null,o=t?t.getElementsByTagName("Default"):null;return {overrides:n,defaults:o,contentTypes:r,contentTypeXml:t}}Vl.exports={collectContentTypes:Dg,getContentTypes:Ag};});var Pr=chunkPCJ5ACUV_cjs.b((_1,Hl)=>{var Tg=Ye(),Cg=Tg.XTInternalError;function vr(){}function Ct(e){return e}Hl.exports=function(e){var r={on:vr,set:vr,getFileType:vr,optionsTransformer:Ct,preparse:Ct,matchers:function(){return []},parse:vr,getTraits:vr,postparse:Ct,errorsTransformer:Ct,preResolve:vr,resolve:vr,getRenderedMap:Ct,render:vr,nullGetter:vr,postrender:Ct};if(Object.keys(r).every(function(o){return !e[o]})){var t=new Cg("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 Xa=chunkPCJ5ACUV_cjs.b((S1,$l)=>{function In(e){"@babel/helpers - typeof";return In=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},In(e)}function _g(e){return Ng(e)||Og(e)||Ql(e)||Sg()}function Sg(){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 Og(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ng(e){if(Array.isArray(e))return so(e)}function Kl(e,r){return Pg(e)||Bg(e,r)||Ql(e,r)||Ig()}function Ig(){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 Ql(e,r){if(e){if(typeof e=="string")return so(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)?so(e,r):void 0}}function so(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 Bg(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,o,u,s,c=[],f=true,h=false;try{if(u=(t=t.call(e)).next,r===0);else for(;!(f=(n=u.call(t)).done)&&(c.push(n.value),c.length!==r);f=!0);}catch(p){h=true,o=p;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(h)throw o}}return c}}function Pg(e){if(Array.isArray(e))return e}function Zl(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n);}return t}function Jl(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Zl(Object(t),true).forEach(function(n){Rg(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Zl(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function Rg(e,r,t){return (r=kg(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function kg(e){var r=Fg(e,"string");return In(r)=="symbol"?r:r+""}function Fg(e,r){if(In(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(In(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}var cr=be(),Lg=cr.getRightOrNull,Mg=cr.getRight,Ug=cr.getLeft,qg=cr.getLeftOrNull,zg=cr.chunkBy,jg=cr.isTagStart,Vg=cr.isTagEnd,Gl=cr.isContent,Va=cr.last,Nn=cr.first,co=Ye(),Xg=co.XTTemplateError,Hg=co.throwExpandNotFound,Yl=co.getLoopPositionProducesInvalidXMLError;function Zg(e,r){if(e.length===0)return false;var t=Va(e).substr(1);return t.indexOf(r)===0}function Gg(e){for(var r=[],t=0;t<e.length;t++){var n=e[t],o=n.position,u=n.value,s=n.tag;s&&(o==="end"?Zg(r,s)?r.pop():r.push(u):o==="start"&&r.push(u));}return r}function Yg(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 Wg(e,r,t){for(var n=Gg(e.slice(r[0].offset,r[1].offset)),o=function(){var f=t[s],h=f.contains,p=f.expand,y=f.onlyTextInTag;if(Yg(h,n)){if(y){var b=qg(e,h,r[0].offset),w=Lg(e,h,r[1].offset);if(b===null||w===null)return 0;var T=e.slice(b,w),C=zg(T,function(ge){return jg(h,ge)?"start":Vg(h,ge)?"end":null}),O=Nn(C),P=Va(C),R=O.filter(Gl),S=P.filter(Gl);if(R.length!==1||S.length!==1)return 0}for(var k=Kg(n),q=0,V=0;V<k.length;V++){var G=k[V],M=G.tag,te=G.position;M===p&&(te==="start"&&q++,te==="end"&&q--);}return q!==0?{v:{error:Yl({tag:Nn(r).part.value,offset:[Nn(r).part.offset,Va(r).part.offset]})}}:{v:{value:p}}}},u,s=0;s<t.length;s++)if(u=o(),u!==0&&u)return u.v;return Qg(n)?{}:{error:Yl({tag:Nn(r).part.value,offset:[Nn(r).part.offset,Va(r).part.offset]})}}function Kg(e){for(var r=[],t=0;t<e.length;t++){var n=e[t],o=lo(n),u=/^\s*<\//.test(n)?"end":"start";r.push({tag:o,position:u});}return r}function lo(e){return e.replace(/^\s*<\/?([a-zA-Z:]+).*/,"$1")}function Qg(e){if(e.length%2===1)return false;for(var r=0,t=e.length/2;r<t;r++){var n=e[r],o=e[e.length-r-1],u=lo(n),s=lo(o);if(u!==s)return false}return true}function Jg(e,r,t,n){var o=e.expandTo||n.expandTo;if(o){var u,s;try{s=Ug(t,o,r),u=Mg(t,o,r);}catch(h){var c=Jl({part:e,rootError:h,postparsed:t,expandTo:o,index:r},n.error);if(n.onError){var f=n.onError(c);if(f==="ignore")return}Hg(c);}return [s,u]}}function Wl(e,r,t,n){var o=Kl(e,2),u=o[0],s=o[1],c=t.indexOf(r),f=t.slice(u,c),h=t.slice(c+1,s+1),p=n.getInner({postparse:n.postparse,index:c,part:r,leftParts:f,rightParts:h,left:u,right:s,postparsed:t});return p.length||(p.expanded=[f,h],p=[p]),{left:u,right:s,inner:p}}function $g(e,r){var t=[];e.errors&&(t=e.errors,e=e.postparsed);for(var n=[],o=0,u=e.length;o<u;o++){var s=e[o];if(s.type==="placeholder"&&s.module===r.moduleName&&!s.subparsed&&!s.expanded)try{var c=Jg(s,o,e,r);if(!c)continue;var f=Kl(c,2),h=f[0],p=f[1];n.push({left:h,right:p,part:s,i:o,leftPart:e[h],rightPart:e[p]});}catch(S){t.push(S);}}n.sort(function(S,k){return S.left===k.left?k.part.lIndex<S.part.lIndex?1:-1:k.left<S.left?1:-1});for(var y=-1,b=0,w=0,T=n.length;w<T;w++){var C,O=n[w];if(y=Math.max(y,w>0?n[w-1].right:0),!(O.left<y)){var P=void 0;try{P=Wl([O.left+b,O.right+b],O.part,e,r);}catch(S){if(r.onError){var R=r.onError(Jl({part:O.part,rootError:S,postparsed:e,expandOne:Wl},r.errors));if(R==="ignore")continue}if(S instanceof Xg)t.push(S);else throw S}P&&(b+=P.inner.length-(P.right+1-P.left),(C=e).splice.apply(C,[P.left,P.right+1-P.left].concat(_g(P.inner))));}}return {postparsed:e,errors:t}}$l.exports={expandToOne:$g,getExpandToDefault:Wg};});var Ha=chunkPCJ5ACUV_cjs.b((O1,rc)=>{var em="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml",rm="application/vnd.ms-word.document.macroEnabled.main+xml",tm="application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml",nm="application/vnd.ms-word.template.macroEnabledTemplate.main+xml",am="application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml",im="application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml",om="application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml",um="application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml",sm="application/vnd.openxmlformats-officedocument.presentationml.slide+xml",lm="application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml",cm="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml",fm="application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml",pm="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",hm="application/vnd.ms-excel.sheet.macroEnabled.main+xml",dm="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",ec=[em,rm,tm,nm],gm={main:ec,docx:[am].concat(ec,[um,im,om]),pptx:[sm,lm,cm,fm],xlsx:[pm,hm,dm]};rc.exports=gm;});var fo=chunkPCJ5ACUV_cjs.b((N1,tc)=>{var mm="application/vnd.openxmlformats-package.core-properties+xml",vm="application/vnd.openxmlformats-officedocument.extended-properties+xml",ym="application/vnd.openxmlformats-officedocument.custom-properties+xml",Em="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml",bm="application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml",xm="application/vnd.ms-office.drawingml.diagramDrawing+xml";tc.exports={settingsContentType:Em,coreContentType:mm,appContentType:vm,customContentType:ym,diagramDataContentType:bm,diagramDrawingContentType:xm};});var oc=chunkPCJ5ACUV_cjs.b((I1,ic)=>{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 wm(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function nc(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,Am(n.key),n);}}function Dm(e,r,t){return r&&nc(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function Am(e){var r=Tm(e,"string");return Bn(r)=="symbol"?r:r+""}function Tm(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 Cm=be(),_m=Cm.pushArray,Sm=Pr(),po=Ha(),_t=fo(),Om=_t.settingsContentType,Nm=_t.coreContentType,Im=_t.appContentType,Bm=_t.customContentType,Pm=_t.diagramDataContentType,Rm=_t.diagramDrawingContentType,ac=[Om,Nm,Im,Bm,Pm,Rm],km=(function(){function e(){wm(this,e),this.name="Common";}return Dm(e,[{key:"getFileType",value:function(t){var n=t.doc,o=n.invertedContentTypes;if(o){for(var u=0;u<ac.length;u++){var s=ac[u];o[s]&&_m(n.targets,o[s]);}for(var c=["docx","pptx","xlsx"],f,h=0;h<c.length;h++)for(var p=c[h],y=po[p],b=0;b<y.length;b++){var w=y[b];if(o[w])for(var T=0,C=o[w];T<C.length;T++){var O=C[T];n.relsTypes[O]&&["http://purl.oclc.org/ooxml/officeDocument/relationships/officeDocument","http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"].indexOf(n.relsTypes[O])===-1||(f=p,(po.main.indexOf(w)!==-1||w===po.pptx[0])&&(n.textTarget||(n.textTarget=O)),f!=="xlsx"&&n.targets.push(O));}}return f}}}])})();ic.exports=function(){return Sm(new km)};});var hc=chunkPCJ5ACUV_cjs.b((B1,pc)=>{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 Fm(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function uc(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,Mm(n.key),n);}}function Lm(e,r,t){return r&&uc(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function Mm(e){var r=Um(e,"string");return Pn(r)=="symbol"?r:r+""}function Um(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 (String)(e)}var qm=Ye(),Za=qm.getScopeParserExecutionError,zm=qa(),sc=zm.last,jm=be(),St=jm.concatArrays;function lc(e,r){for(var t=e.length>>>0,n,o=0;o<t;o++)if(n=e[o],r.call(this,n,o,e))return n}function cc(e,r,t){var n=this,o=this.scopeList[t],u=this.scopeList[this.scopeList.length-1];if(this.root.finishedResolving){for(var s=this.resolved,c=function(){var w=n.scopeLindex[f];s=lc(s,function(T){return T.lIndex===w}),s=s.value[n.scopePathItem[f]];},f=this.resolveOffset,h=this.scopePath.length;f<h;f++)c();return lc(s,function(b){return r.part.lIndex===b.lIndex}).value}var p,y;!this.cachedParsers||!r.part?y=this.parser(e,{tag:r.part,scopePath:this.scopePath}):this.cachedParsers[r.part.lIndex]?y=this.cachedParsers[r.part.lIndex]:y=this.cachedParsers[r.part.lIndex]=this.parser(e,{tag:r.part,scopePath:this.scopePath});try{p=y.get(o,this.getContext(r,t));}catch(b){throw Za({tag:e,scope:o,error:b,offset:r.part.offset})}if(p==null&&t>0)return cc.call(this,e,r,t-1);if(typeof p=="function")try{p=p(u,this);}catch(b){throw Za({tag:e,scope:o,error:b,offset:r.part.offset})}return p}function fc(e,r,t){var n=this,o=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(o,n.getContext(r,t))}).catch(function(c){throw Za({tag:e,scope:o,error:c,offset:r.part.offset})}).then(function(c){return c==null&&t>0?fc.call(n,e,r,t-1):c}).then(function(c){if(typeof c=="function")try{c=c(u,n);}catch(f){throw Za({tag:e,scope:o,error:f,offset:r.part.offset})}return c})}var Vm=(function(){function e(r){Fm(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 Lm(e,[{key:"loopOver",value:function(t,n,o,u){return this.loopOverValue(this.getValue(t,u),n,o)}},{key:"functorIfInverted",value:function(t,n,o,u,s){return t&&n(o,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,o){this.root.finishedResolving&&(o=false);var u=Object.prototype.toString.call(t);if(this.isValueFalsy(t,u))return this.scopeType=false,this.functorIfInverted(o,n,sc(this.scopeList),0,1);if(u==="[object Array]"){this.scopeType="array";for(var s=0;s<t.length;s++)this.functorIfInverted(!o,n,t[s],s,t.length);return true}return u==="[object Object]"?(this.scopeType="object",this.functorIfInverted(!o,n,t,0,1)):this.functorIfInverted(!o,n,sc(this.scopeList),0,1)}},{key:"getValue",value:function(t,n){var o=cc.call(this,t,n,this.scopeList.length-1);return o}},{key:"getValueAsync",value:function(t,n){return fc.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,o,u,s){return new e({root:this.root,resolveOffset:this.resolveOffset,resolved:this.resolved,parser:this.parser,cachedParsers:this.cachedParsers,scopeTypes:St([this.scopeTypes,[this.scopeType]]),scopeList:St([this.scopeList,[t]]),scopePath:St([this.scopePath,[n]]),scopePathItem:St([this.scopePathItem,[o]]),scopePathLength:St([this.scopePathLength,[s]]),scopeLindex:St([this.scopeLindex,[u.lIndex]])})}}])})();pc.exports=function(e){return e.scopePath=[],e.scopePathItem=[],e.scopePathLength=[],e.scopeTypes=[],e.scopeLindex=[],e.scopeList=[e.tags],new Vm(e)};});var go=chunkPCJ5ACUV_cjs.b((P1,Ac)=>{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 xc(e,r){return Gm(e)||Zm(e,r)||Hm(e,r)||Xm()}function Xm(){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 Hm(e,r){if(e){if(typeof e=="string")return dc(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)?dc(e,r):void 0}}function dc(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 Zm(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,o,u,s,c=[],f=true,h=false;try{if(u=(t=t.call(e)).next,r===0);else for(;!(f=(n=u.call(t)).done)&&(c.push(n.value),c.length!==r);f=!0);}catch(p){h=true,o=p;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(h)throw o}}return c}}function Gm(e){if(Array.isArray(e))return e}function gc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n);}return t}function Ot(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?gc(Object(t),true).forEach(function(n){Ym(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):gc(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function Ym(e,r,t){return (r=Wm(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function Wm(e){var r=Km(e,"string");return kn(r)=="symbol"?r:r+""}function Km(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 rt=Ye(),mc=rt.getUnclosedTagException,Qm=rt.getUnopenedTagException,Jm=rt.getDuplicateOpenTagException,$m=rt.getDuplicateCloseTagException,vc=rt.throwMalformedXml,ev=rt.throwXmlInvalid,yc=rt.XTTemplateError,Ya=be(),rv=Ya.isTextStart,tv=Ya.isTextEnd,Ec=Ya.wordToUtf8,nv=Ya.pushArray,wc=0,Dc=1,Rn=2,Ga=3;function av(e,r){return e[0]<=r.offset&&r.offset<e[1]}function iv(e,r){return rv(e)?(r&&vc(),true):tv(e)?(r||vc(),false):r}function ov(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 uv(e,r,t){for(var n=0,o=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 h=t[f];u[h]=false;}for(var p=[];n<o&&(n=e.indexOf("<",n),n!==-1);){var y=n,b=e.indexOf("<",n+1);n=e.indexOf(">",n),(n===-1||b!==-1&&n>b)&&ev(e,y);var w=e.slice(y,n+1),T=ov(w),C=T.tag,O=T.position,P=u[C];P!=null&&p.push({type:"tag",position:O,text:P,offset:y,value:w,tag:C});}return p}function sv(e,r,t){var n=[],o=false,u={offset:0},s,c=e.reduce(function(h,p){var y=p.position,b=p.offset,w=u.offset,T=u.length;if(s=r.substr(w,b-w),o&&y==="start"){if(w+T===b&&(s=r.substr(w,b-w+T+4),!t.allowUnclosedTag))return n.push(Jm({xtag:s,offset:w})),u=p,h.push(Ot(Ot({},p),{},{error:true})),h;t.allowUnclosedTag||n.push(mc({xtag:Ec(s),offset:w})),h.pop();}return !o&&y==="end"?t.allowUnopenedTag?h:w+T===b?(s=r.substr(w-4,b-w+T+4),n.push($m({xtag:s,offset:w})),u=p,h.push(Ot(Ot({},p),{},{error:true})),h):(n.push(Qm({xtag:s,offset:b})),u=p,h.push(Ot(Ot({},p),{},{error:true})),h):(o=y==="start",u=p,h.push(p),h)},[]);if(o){var f=u.offset;s=r.substr(f,r.length-f),t.allowUnclosedTag||n.push(mc({xtag:Ec(s),offset:f})),c.pop();}return {delimiterWithErrors:c,errors:n}}function lv(e,r){return e===-1&&r===-1?wc:e===r?Dc:e===-1||r===-1?r<e?Rn:Ga:e<r?Rn:Ga}function cv(e){var r=e.split(" ");if(r.length!==2){var t=new yc("New Delimiters cannot be parsed");throw t.properties={id:"change_delimiters_invalid",explanation:"Cannot parser delimiters"},t}var n=xc(r,2),o=n[0],u=n[1];if(o.length===0||u.length===0){var s=new yc("New Delimiters cannot be parsed");throw s.properties={id:"change_delimiters_invalid",explanation:"Cannot parser delimiters"},s}return [o,u]}function fv(e,r,t){var n=[],o=r.start,u=r.end,s=-1,c=false;if(o==null&&u==null)return [];for(;;){var f=e.indexOf(o,s+1),h=e.indexOf(u,s+1),p=null,y=void 0,b=lv(f,h);switch(b===Dc&&(b=c?Ga:Rn),b){case wc:return n;case Ga:c=false,s=h,p="end",y=u.length;break;case Rn:c=true,s=f,p="start",y=o.length;break}if(t.changeDelimiterPrefix&&b===Rn&&e[s+o.length]===t.changeDelimiterPrefix){n.push({offset:f,position:"start",length:o.length,changedelimiter:true});var w=e.indexOf(t.changeDelimiterPrefix,s+o.length+1),T=e.indexOf(u,w+1);n.push({offset:T,position:"end",length:u.length,changedelimiter:true});var C=e.substr(s+o.length+1,w-s-o.length-1),O=cv(C),P=xc(O,2);o=P[0],u=P[1],s=T;continue}n.push({offset:s,position:p,length:y});}}function bc(e,r,t){var n=e.map(function(w){return w.value}).join(""),o=fv(n,r,t),u=0,s=e.map(function(w){return u+=w.value.length,{offset:u-w.value.length,lIndex:w.lIndex}}),c=sv(o,n,t),f=c.delimiterWithErrors,h=c.errors,p=0,y=0,b=s.map(function(w,T){for(var C=w.offset,O=[C,C+e[T].value.length],P=e[T].value,R=[];y<f.length&&av(O,f[y]);)R.push(f[y]),y++;var S=[],k=0;p>0&&(k=p,p=0);for(var q=0;q<R.length;q++){var V=R[q],G=P.substr(k,V.offset-C-k);if(V.changedelimiter){V.position==="start"?G.length>0&&S.push({type:"content",value:G}):k=V.offset-C+V.length;continue}G.length>0&&(S.push({type:"content",value:G}),k+=G.length);var M={type:"delimiter",position:V.position,offset:k+C};S.push(M),k=V.offset-C+V.length;}p=k-P.length;var te=P.substr(k);return te.length>0&&S.push({type:"content",value:te}),S},this);return {parsed:b,errors:h}}function ho(e){return e.type==="content"&&e.position==="insidetag"}function pv(e){return e.filter(ho)}function hv(e,r){for(var t=false,n=0;n<e.length;n++){var o=e[n];t=iv(o,t),o.type==="content"&&(o.position=t?"insidetag":"outsidetag"),r!=="text"&&ho(o)&&(o.value=o.value.replace(/>/g,"&gt;"));}}Ac.exports={parseDelimiters:bc,parse:function(r,t,n,o){hv(r,o);for(var u=bc(pv(r),t,n),s=u.parsed,c=u.errors,f=[],h=0,p=0,y=0;y<r.length;y++){var b=r[y];if(ho(b)){for(var w=0,T=s[h];w<T.length;w++){var C=T[w];C.type==="content"&&(C.position="insidetag"),C.lIndex=p++;}nv(f,s[h]),h++;}else b.lIndex=p++,f.push(b);}return {errors:c,lexed:f}},xmlparse:function(r,t){for(var n=uv(r,t.text,t.other),o=0,u=[],s=0;s<n.length;s++){var c=n[s];r.length>o&&c.offset-o>0&&u.push({type:"content",value:r.substr(o,c.offset-o)}),o=c.offset+c.value.length,delete c.offset,u.push(c);}return r.length>o&&u.push({type:"content",value:r.substr(o)}),u}};});var Cc=chunkPCJ5ACUV_cjs.b((R1,Tc)=>{function mo(e){return vv(e)||mv(e)||gv(e)||dv()}function dv(){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 gv(e,r){if(e){if(typeof e=="string")return vo(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)?vo(e,r):void 0}}function mv(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function vv(e){if(Array.isArray(e))return vo(e)}function vo(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 Fn(e){return e.type==="placeholder"}function yv(e){var r={},t=[{items:e.filter(Fn),parents:[],path:[]}];function n(M,te,ge){ge.length&&t.push({items:ge,parents:[].concat(mo(te.parents),[M]),path:M.dataBound!==false&&!M.attrParsed&&M.value&&!M.attrParsed?[].concat(mo(te.path),[M.value]):mo(te.path)});}function o(M,te){for(var ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:te.length,Ie=M,pe=0;pe<ge;pe++)Ie=Ie[te[pe]];return Ie}function u(M,te){for(var ge=te.length,Ie=0;Ie<te.length;Ie++){var pe=te[Ie],tr=typeof pe.lIndex=="number"?pe.lIndex:parseInt(pe.lIndex.split("-")[0],10);tr>M.lIndex&&ge--;}return ge}for(;t.length>0;)for(var s=t.pop(),c=o(r,s.path),f=0,h=s.items;f<h.length;f++){var p,y,b=h[f];if(b.attrParsed){for(var w in b.attrParsed)n(b,s,b.attrParsed[w].filter(Fn));continue}if(b.subparsed){if(b.dataBound!==false){var T,C;(T=c)[C=b.value]||(T[C]={});}n(b,s,b.subparsed.filter(Fn));continue}if(b.cellParsed){for(var O=0,P=b.cellPostParsed;O<P.length;O++){var R=P[O];if(R.type==="placeholder"){if(R.module==="pro-xml-templating/xls-module-loop")continue;if(R.subparsed){var S,k;(S=c)[k=R.value]||(S[k]={}),n(R,s,R.subparsed.filter(Fn));}else {var q,V,G=u(b,s.parents);c=o(r,s.path,G),(q=c)[V=R.value]||(q[V]={});}}}continue}b.dataBound!==false&&((p=c)[y=b.value]||(p[y]={}));}return r}Tc.exports={getTags:yv,isPlaceholder:Fn};});var Sc=chunkPCJ5ACUV_cjs.b((k1,_c)=>{var Ev=be(),bv=Ev.pushArray;function xv(e,r){return r instanceof Error?bv(Object.getOwnPropertyNames(r),["stack"]).reduce(function(t,n){return t[n]=r[n],n==="stack"&&(t[n]=r[n].toString()),t},{}):r}function wv(e,r){if(console.log(JSON.stringify({error:e},xv,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);}}_c.exports=wv;});var yo=chunkPCJ5ACUV_cjs.b((F1,Oc)=>{var Dv=be(),Av=Dv.pregMatchAll;Oc.exports=function(r,t){var n={content:r},o=t.join("|"),u=new RegExp("(?:(<(?:".concat(o,")[^>]*>)([^<>]*)</(?:").concat(o,")>)|(<(?:").concat(o,")[^>]*/>)"),"g");return n.matches=Av(u,n.content),n};});var Ic=chunkPCJ5ACUV_cjs.b((L1,Nc)=>{function Ln(e){"@babel/helpers - typeof";return Ln=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},Ln(e)}var Tv=new RegExp("\xA0","g");function Nt(e){return e.replace(Tv," ")}function Cv(e,r){var t=Ln(e);if(t==="string")return Nt(r.substr(0,e.length))===e;if(e instanceof RegExp)return e.test(Nt(r));if(t==="function")return !!e(r)}function _v(e,r){var t=Ln(e);if(t==="string")return Nt(r).substr(e.length);if(e instanceof RegExp)return Nt(r).match(e)[1];if(t==="function")return e(r)}function Sv(e,r){var t=Ln(e);if(t==="string")return [r,Nt(r).substr(e.length)];if(e instanceof RegExp)return Nt(r).match(e);if(t==="function")return [r,e(r)]}Nc.exports={match:Cv,getValue:_v,getValues:Sv};});var Fc=chunkPCJ5ACUV_cjs.b((M1,kc)=>{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)}function Bc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n);}return t}function Rr(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Bc(Object(t),true).forEach(function(n){Ov(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Bc(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function Ov(e,r,t){return (r=Nv(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function Nv(e){var r=Iv(e,"string");return Mn(r)=="symbol"?r:r+""}function Iv(e,r){if(Mn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Mn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}function Pc(e,r){return kv(e)||Rv(e,r)||Pv(e,r)||Bv()}function Bv(){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 Pv(e,r){if(e){if(typeof e=="string")return Rc(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)?Rc(e,r):void 0}}function Rc(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 Rv(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,o,u,s,c=[],f=true,h=false;try{if(u=(t=t.call(e)).next,r===0);else for(;!(f=(n=u.call(t)).done)&&(c.push(n.value),c.length!==r);f=!0);}catch(p){h=true,o=p;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(h)throw o}}return c}}function kv(e){if(Array.isArray(e))return e}var Wa=be(),Fv=Wa.wordToUtf8,Eo=Wa.pushArray,Lv=Wa.isParagraphStart,Mv=Wa.isBreakTag,bo=Ic(),Uv=bo.match,qv=bo.getValue,zv=bo.getValues;function jv(e,r){for(var t=[],n=0;n<e.length;n++){var o=e[n];if(o.matchers){var u=o.matchers(r);if(!(u instanceof Array))throw new Error("module matcher returns a non array");Eo(t,u);}}return t}function Vv(e,r,t){for(var n=[],o=0;o<e.length;o++){var u=e[o],s=Pc(u,2),c=s[0],f=s[1],h=u[2]||{};if(t.match(c,r)){var p=t.getValues(c,r);if(typeof h=="function"&&(h=h(p)),!h.value){var y=Pc(p,2);h.value=y[1];}n.push(Rr({type:"placeholder",prefix:c,module:f,onMatch:h.onMatch,priority:h.priority},h));}}return n}function Xv(e,r){var t=r.modules,n=r.startOffset,o=r.lIndex,u;r.offset=n,r.match=Uv,r.getValue=qv,r.getValues=zv;var s=jv(t,r),c=Vv(s,e,r);if(c.length>0){for(var f=null,h=0;h<c.length;h++){var p=c[h];p.priority||(p.priority=-p.value.length),(!f||p.priority>f.priority)&&(f=p);}return f.offset=n,delete f.priority,f.endLindex=o,f.lIndex=o,f.raw=e,f.onMatch&&f.onMatch(f),delete f.onMatch,delete f.prefix,f}for(var y=0;y<t.length;y++){var b=t[y];if(u=b.parse(e,r),u)return u.offset=n,u.endLindex=o,u.lIndex=o,u.raw=e,u}return {type:"placeholder",value:e,offset:n,endLindex:o,lIndex:o}}var Hv={preparse:function(r,t,n){function o(u,s){for(var c=0;c<t.length;c++){var f=t[c];u=f.preparse(u,s)||u;}return u}return o(r,n)},parse:function(r,t,n){var o=false,u="",s,c=[],f=n.fileTypeConfig.droppedTagsInsidePlaceholder||[];return r.reduce(function(h,p){return p.type==="delimiter"?(o=p.position==="start",p.position==="end"&&(n.parse=function(y){return Xv(y,Rr(Rr(Rr({},n),p),{},{startOffset:s,modules:t}))},h.push(n.parse(Fv(u))),Eo(h,c),c=[]),p.position==="start"&&(c=[],s=p.offset),u="",h):o?p.type!=="content"||p.position!=="insidetag"?(n.syntax.preserveNewlinesInTags&&(Mv(p)||Lv(p))&&(u+=`
17
+ `),f.indexOf(p.tag)!==-1||c.push(p),h):(u+=p.value,h):(h.push(p),h)},[])},postparse:function(r,t,n){function o(c,f,h){for(var p=[],y=0;y<t.length;y++){var b=t[y];p.push(b.getTraits(c,f,h));}return p}var u=[];function s(c,f){for(var h=c,p=0;p<t.length;p++){var y=t[p],b=y.postparse(h,Rr(Rr({},f),{},{postparse:function(T,C){return s(T,Rr(Rr({},f),C))},getTraits:o}));if(b!=null){if(b.errors){Eo(u,b.errors),h=b.postparsed;continue}h=b;}}return h}return {postparsed:s(r,n),errors:u}}};kc.exports=Hv;});var xo=chunkPCJ5ACUV_cjs.b((U1,Lc)=>{function Zv(e,r){if(e.lIndex==null)return null;var t=r.scopeManager.scopePathItem;e.parentPart&&(t=t.slice(0,t.length-1));var n=r.filePath+"@"+e.lIndex.toString()+"-"+t.join("-");return n}Lc.exports=Zv;});var zc=chunkPCJ5ACUV_cjs.b((q1,qc)=>{var Uc=Ye(),Gv=Uc.throwUnimplementedTagType,Yv=Uc.XTScopeParserError,Wv=be(),Mc=Wv.pushArray,Kv=xo();function Qv(e,r){for(var t=0,n=r.modules;t<n.length;t++){var o=n[t],u=o.render(e,r);if(u)return u}return false}function Jv(e){var r=e.baseNullGetter,t=e.compiled,n=e.scopeManager;e.nullGetter=function(w,T){return r(w,T||n)};for(var o=[],u=[],s=0,c=t.length;s<c;s++){var f=t[s];e.index=s,e.resolvedId=Kv(f,e);var h=void 0;try{h=Qv(f,e);}catch(w){if(w instanceof Yv){o.push(w),u.push(f);continue}throw w}if(h){h.errors&&Mc(o,h.errors),u.push(h);continue}if(f.type==="content"||f.type==="tag"){u.push(f);continue}Gv(f,s);}for(var p=[],y=0;y<u.length;y++){var b=u[y].value;b instanceof Array?Mc(p,b):b&&p.push(b);}return {errors:o,parts:p}}qc.exports=Jv;});var Xc=chunkPCJ5ACUV_cjs.b((z1,Vc)=>{function jc(e){var r,t,n,o,u=0,s=e.length;for(n=0;n<s;n++)r=e.charCodeAt(n),(r&64512)===55296&&n+1<s&&(t=e.charCodeAt(n+1),(t&64512)===56320&&(r=65536+(r-55296<<10)+(t-56320),n++)),u+=r<128?1:r<2048?2:r<65536?3:4;var c=new Uint8Array(u);for(o=0,n=0;o<u;n++)r=e.charCodeAt(n),(r&64512)===55296&&n+1<s&&(t=e.charCodeAt(n+1),(t&64512)===56320&&(r=65536+(r-55296<<10)+(t-56320),n++)),r<128?c[o++]=r:r<2048?(c[o++]=192|r>>>6,c[o++]=128|r&63):r<65536?(c[o++]=224|r>>>12,c[o++]=128|r>>>6&63,c[o++]=128|r&63):(c[o++]=240|r>>>18,c[o++]=128|r>>>12&63,c[o++]=128|r>>>6&63,c[o++]=128|r&63);return c}function $v(e,r){for(var t=0,n=r.modules;t<n.length;t++){var o=n[t];e=o.postrender(e,r);}for(var u=0,s=r.joinUncorrupt(e,r),c="",f=0,h=65536,p=[],y=0,b=s.length;y<b;y++){var w=s[y];if(w.length+f>h){var T=jc(c);u+=T.length,p.push(T),c="";}c+=w,f+=w.length,delete s[y];}var C=jc(c);u+=C.length,p.push(C);for(var O=new Uint8Array(u),P=0,R=0;R<p.length;R++){for(var S=p[R],k=0;k<S.length;++k)O[k+P]=S[k];P+=S.length;}return O}Vc.exports=$v;});var Qc=chunkPCJ5ACUV_cjs.b((j1,Kc)=>{function Un(e){"@babel/helpers - typeof";return Un=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Un(e)}function Hc(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n);}return t}function Zc(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Hc(Object(t),true).forEach(function(n){ey(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Hc(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function ey(e,r,t){return (r=ry(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function ry(e){var r=ty(e,"string");return Un(r)=="symbol"?r:r+""}function ty(e,r){if(Un(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Un(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}var ny=be(),Gc=ny.pushArray,ay=xo();function iy(e,r){for(var t=0,n=r.modules;t<n.length;t++){var o=n[t],u=o.resolve(e,r);if(u)return u}return false}function Wc(e,r,t,n){var o=iy(e,Zc(Zc({},n),{},{resolvedId:ay(e,n)}));if(o)return o.then(function(u){r.push({tag:e.value,lIndex:e.lIndex,value:u});}).catch(function(u){u instanceof Array?Gc(t,u):t.push(u);});if(e.type==="placeholder")return n.scopeManager.getValueAsync(e.value,{part:e}).then(function(u){return u??n.nullGetter(e)}).then(function(u){r.push({tag:e.value,lIndex:e.lIndex,value:u});}).catch(function(u){u instanceof Array?Gc(t,u):t.push(u);})}function oy(e){var r=[],t=[],n=e.baseNullGetter,o=e.scopeManager;e.nullGetter=function(s,c){return n(s,c||o)},e.resolved=r;var u=uy(e,t,r);return u?u.then(function(){return Yc(e,t,r)}):Yc(e,t,r)}function uy(e,r,t){for(var n=null,o=function(){var f=s[u];if(["content","tag"].indexOf(f.type)!==-1)return 1;f.resolveFirst&&(n??(n=Promise.resolve(null)),n=n.then(function(){return Wc(f,t,r,e)}));},u=0,s=e.compiled;u<s.length;u++)o();return n}function Yc(e,r,t){for(var n=[],o=0,u=e.compiled;o<u.length;o++){var s=u[o];["content","tag"].indexOf(s.type)===-1&&(s.resolveFirst||n.push(Wc(s,t,r,e)));}return Promise.all(n).then(function(){return {errors:r,resolved:t}})}Kc.exports=oy;});var ef=chunkPCJ5ACUV_cjs.b((V1,$c)=>{var qn=be(),It=qn.startsWith,sy=qn.endsWith,wo=qn.isStarting,Jc=qn.isEnding,ly=qn.isWhiteSpace,cy=Ha();function fy(e){for(var r="",t=0,n=e.length;t<n;t++){var o=e[t];ly(o)||It(o,"<w:bookmarkEnd")||(sy(r,"</w:tbl>")&&!It(o,"<w:p")&&!It(o,"<w:tbl")&&!It(o,"<w:sectPr")&&!It(o,"</w:ftr>")&&!It(o,"</w:hdr>")&&(o="<w:p/>".concat(o)),r=o,e[t]=o);}return e}function py(e,r){var t=r.fileTypeConfig.tagShouldContain||[],n="",o=-1;cy.docx.indexOf(r.contentType)!==-1&&(e=fy(e));for(var u=-1,s=0,c=t.length;s<c;s++)for(var f=t[s],h=f.tag,p=f.shouldContain,y=f.value,b=f.drop,w=f.dropParent,T=0,C=e.length;T<C;T++){var O=e[T];if(o===s){if(Jc(O,h))if(o=-1,w){for(var P=-1,R=u;R>0;R--)if(wo(e[R],w)){P=R;break}for(var S=P;S<=e.length;S++){if(Jc(e[S],w)){e[S]="";break}e[S]="";}}else {for(var k=u;k<=T;k++)e[k]="";b||(e[T]=n+y+O);}n+=O;for(var q=0,V=p.length;q<V;q++){var G=p[q];if(wo(O,G)){o=-1;break}}}o===-1&&wo(O,h)&&O.substr(1).indexOf("<")===-1&&(O[O.length-2]==="/"?e[T]="":(u=T,o=s,n=O));}return e}$c.exports=py;});var sf=chunkPCJ5ACUV_cjs.b((X1,uf)=>{function zn(e){"@babel/helpers - typeof";return zn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},zn(e)}function hy(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function rf(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(e,gy(n.key),n);}}function dy(e,r,t){return r&&rf(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function gy(e){var r=my(e,"string");return zn(r)=="symbol"?r:r+""}function my(e,r){if(zn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(zn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var Ao=be(),tf=Ao.pushArray,vy=Ao.wordToUtf8,yy=Ao.convertSpaces,Ey=yo(),nf=go(),Do=Fc(),af=zc(),by=Xc(),of=Qc(),xy=ef();function wy(e,r){var t=Ey(e,r),n=t.matches.map(function(o){return o.array[2]});return vy(yy(n.join("")))}uf.exports=(function(){function e(r,t){hy(this,e),this.cachedParsers={},this.content=r;for(var n in t)this[n]=t[n];this.setModules({inspect:{filePath:t.filePath}});}return dy(e,[{key:"resolveTags",value:function(t){var n=this;this.tags=t;var o=this.getOptions(),u=this.filePath;o.scopeManager=this.scopeManager,o.resolve=of;var s=[];return Promise.all(this.modules.map(function(c){return Promise.resolve(c.preResolve(o)).catch(function(f){s.push(f);})})).then(function(){if(s.length!==0)throw s;return of(o).then(function(c){var f=c.resolved,h=c.errors;if(h=h.map(function(p){var y;return p instanceof Error||(p=new Error(p)),(y=p).properties||(y.properties={}),p.properties.file=u,p}),h.length!==0)throw h;return Promise.all(f).then(function(p){return o.scopeManager.root.finishedResolving=true,o.scopeManager.resolved=p,n.setModules({inspect:{resolved:p,filePath:u}}),p})}).catch(function(c){throw n.errorChecker(c),c})})}},{key:"getFullText",value:function(){return wy(this.content,this.fileTypeConfig.tagsXmlTextArray)}},{key:"setModules",value:function(t){for(var n=0,o=this.modules;n<o.length;n++){var u=o[n];u.set(t);}}},{key:"preparse",value:function(){this.allErrors=[],this.xmllexed=nf.xmlparse(this.content,{text:this.fileTypeConfig.tagsXmlTextArray,other:this.fileTypeConfig.tagsXmlLexedArray}),this.setModules({inspect:{filePath:this.filePath,xmllexed:this.xmllexed}});var t=nf.parse(this.xmllexed,this.delimiters,this.syntax,this.fileType),n=t.lexed,o=t.errors;tf(this.allErrors,o),this.lexed=n,this.setModules({inspect:{filePath:this.filePath,lexed:this.lexed}});var u=this.getOptions();this.lexed=Do.preparse(this.lexed,this.modules,u);}},{key:"parse",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.noPostParse;this.setModules({inspect:{filePath:this.filePath}});var o=this.getOptions();return this.parsed=Do.parse(this.lexed,this.modules,o),this.setModules({inspect:{filePath:this.filePath,parsed:this.parsed}}),n?this:this.postparse()}},{key:"postparse",value:function(){var t=this.getOptions(),n=Do.postparse(this.parsed,this.modules,t),o=n.postparsed,u=n.errors;return this.postparsed=o,this.setModules({inspect:{filePath:this.filePath,postparsed:this.postparsed}}),tf(this.allErrors,u),this.errorChecker(this.allErrors),this}},{key:"errorChecker",value:function(t){for(var n=0,o=t;n<o.length;n++){var u=o[n];u.properties||(u.properties={}),u.properties.file=this.filePath;}for(var s=0,c=this.modules;s<c.length;s++){var f=c[s];t=f.errorsTransformer(t);}}},{key:"baseNullGetter",value:function(t,n){for(var o=null,u=0,s=this.modules;u<s.length;u++){var c=s[u];o==null&&(o=c.nullGetter(t,n,this));}return o??this.nullGetter(t,n)}},{key:"getOptions",value:function(){return {compiled:this.postparsed,cachedParsers:this.cachedParsers,tags:this.tags,modules:this.modules,parser:this.parser,contentType:this.contentType,relsType:this.relsType,baseNullGetter:this.baseNullGetter.bind(this),filePath:this.filePath,syntax:this.syntax,fileTypeConfig:this.fileTypeConfig,fileType:this.fileType,linebreaks:this.linebreaks,stripInvalidXMLChars:this.stripInvalidXMLChars}}},{key:"render",value:function(t){this.filePath=t;var n=this.getOptions();n.resolved=this.scopeManager.resolved,n.scopeManager=this.scopeManager,n.render=af,n.joinUncorrupt=xy;var o=af(n),u=o.errors,s=o.parts;return u.length>0?(this.allErrors=u,this.errorChecker(u),this):(this.content=by(s,n),this.setModules({inspect:{filePath:this.filePath,content:this.content}}),this)}}])})();});var Df=chunkPCJ5ACUV_cjs.b((H1,wf)=>{function Xn(e){"@babel/helpers - typeof";return Xn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Xn(e)}function lf(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n);}return t}function kr(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?lf(Object(t),true).forEach(function(n){Dy(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lf(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function Dy(e,r,t){return (r=yf(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function Ay(e,r){return Sy(e)||_y(e,r)||Cy(e,r)||Ty()}function Ty(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
18
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Cy(e,r){if(e){if(typeof e=="string")return cf(e,r);var t={}.toString.call(e).slice(8,-1);return t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set"?Array.from(e):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?cf(e,r):void 0}}function cf(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function _y(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,o,u,s,c=[],f=true,h=false;try{if(u=(t=t.call(e)).next,r===0);else for(;!(f=(n=u.call(t)).done)&&(c.push(n.value),c.length!==r);f=!0);}catch(p){h=true,o=p;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(h)throw o}}return c}}function Sy(e){if(Array.isArray(e))return e}function Oy(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function ff(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(e,yf(n.key),n);}}function Ny(e,r,t){return r&&ff(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function yf(e){var r=Iy(e,"string");return Xn(r)=="symbol"?r:r+""}function Iy(e,r){if(Xn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Xn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}var We=be(),By=We.chunkBy,Ef=We.last,_o=We.isParagraphStart,To=We.isModule,pf=We.pushArray,bf=We.isParagraphEnd,Py=We.isContent,Vn=We.startsWith,So=We.isTagEnd,Bt=We.isTagStart,Co=We.getSingleAttribute,hf=We.setSingleAttribute,Ry=Ha(),ky=Pr(),jn="loop";function Fy(e){for(var r=0;r<e.length;r++){var t=e[r];if(Py(t))return true}return false}function Ly(e){for(var r=0;r<e.length;r++){var t=e[r];if(t.type!=="content")return t}return null}function xf(e){var r=Ly(e.subparsed);return r!=null&&r.tag!=="w:t"}function My(e){return e.hasPageBreak&&xf(e)?'<w:p><w:r><w:br w:type="page"/></w:r></w:p>':""}function Uy(e){return e.length&&_o(e[0])&&bf(Ef(e))}function df(e){return Fy(e)?0:e.length}function gf(e){var r=e.parts.length-1;e.parts[r]==="</w:p>"?e.parts.splice(r,0,'<w:r><w:br w:type="page"/></w:r>'):e.parts.push('<w:p><w:r><w:br w:type="page"/></w:r></w:p>');}function qy(e){e.parts.unshift('<w:p><w:r><w:br w:type="page"/></w:r></w:p>');}function zy(e){for(var r=0;r<e.length;r++){var t=e[r];if(Bt("w:type",t)&&t.value.indexOf("continuous")!==-1)return true}return false}function jy(e){for(var r=0;r<e.length;r++){var t=e[r];if(Bt("w:type",t)&&t.value.indexOf('w:val="nextPage"')!==-1)return true}return false}function Vy(e,r){e.unshift("<w:p><w:pPr>".concat(r.map(function(t){var n=t.value;return n}).join(""),"</w:pPr></w:p>"));}function Xy(e){for(var r=false,t=false,n=0;n<e.length;n++){var o=e[n];!r&&Vn(o,"<w:sectPr")&&(t=true),t&&(Vn(o,"<w:type")&&(r=true),!r&&Vn(o,"</w:sectPr")&&(e.splice(n,0,'<w:type w:val="continuous"/>'),n++));}return e}function Hy(e){for(var r=0,t=0;t<e.length;t++)!Vn(e[t],"<w:headerReference")&&!Vn(e[t],"<w:footerReference")&&(e[r]=e[t],r++);return e.length=r,e}function mf(e){for(var r=0;r<e.length;r++){var t=e[r];if(t.tag==="w:br"&&t.value.indexOf('w:type="page"')!==-1)return true}return false}function vf(e){for(var r=0;r<e.length;r++){var t=e[r];if(t.tag==="w:drawing")return true}return false}function Zy(e){for(var r=[],t=null,n=0;n<e.length;n++){var o=e[n];Bt("w:sectPr",o)&&(t=[],r.push(t)),t!==null&&t.push(o),So("w:sectPr",o)&&(t=null);}return r}function Gy(e){for(var r=false,t=0,n=0;n<e.length;n++){var o=e[n];Bt("w:sectPr",o)&&(r=true),r&&(o.tag==="w:headerReference"||o.tag==="w:footerReference")&&(t++,r=false),So("w:sectPr",o)&&(r=false);}return t}function Yy(e){for(var r=[],t=false,n=e.length-1;n>=0;n--){var o=e[n];if(So("w:sectPr",o)&&(t=true),Bt("w:sectPr",o)&&(r.unshift(o.value),t=false),t&&r.unshift(o.value),_o(o)){if(r.length>0)return r.join("");break}}return ""}var Wy=(function(){function e(){Oy(this,e),this.name="LoopModule",this.inXfrm=false,this.totalSectPr=0,this.prefix={start:"#",end:"/",dash:/^-([^\s]+)\s(.+)/,inverted:"^"};}return Ny(e,[{key:"optionsTransformer",value:function(t,n){return this.docxtemplater=n,t}},{key:"preparse",value:function(t,n){var o=n.contentType;Ry.main.indexOf(o)!==-1&&(this.sects=Zy(t));}},{key:"matchers",value:function(){var t=jn;return [[this.prefix.start,t,{expandTo:"auto",location:"start",inverted:false}],[this.prefix.inverted,t,{expandTo:"auto",location:"start",inverted:true}],[this.prefix.end,t,{location:"end"}],[this.prefix.dash,t,function(n){var o=Ay(n,3),u=o[1],s=o[2];return {location:"start",inverted:false,expandTo:u,value:s}}]]}},{key:"getTraits",value:function(t,n){if(t==="expandPair"){for(var o=[],u=0,s=n.length;u<s;u++){var c=n[u];To(c,jn)&&c.subparsed==null&&o.push({part:c,offset:u});}return o}}},{key:"postparse",value:function(t,n){var o=n.basePart;if(o&&this.docxtemplater.fileType==="docx"&&t.length>0){o.sectPrCount=Gy(t),this.totalSectPr+=o.sectPrCount;for(var u=this.sects,s=0,c=u.length;s<c;s++){var f=u[s];if(o.lIndex<f[0].lIndex){s+1<u.length&&zy(u[s+1])&&(o.addContinuousType=true);break}if(t[0].lIndex<f[0].lIndex&&f[0].lIndex<o.lIndex){jy(u[s])&&(o.addNextPage={index:s});break}}o.lastParagrapSectPr=Yy(t);}if(!o||o.expandTo!=="auto"||o.module!==jn||!Uy(t))return t;o.paragraphLoop=true;var h=0,p=By(t,function(C){return _o(C)&&(h++,h===1)?"start":bf(C)&&(h--,h===0)?"end":null}),y=p[0],b=Ef(p),w=df(y),T=df(b);return o.hasPageBreakBeginning=mf(y),o.hasPageBreak=mf(b),vf(y)&&(w=0),vf(b)&&(T=0),t.slice(w,t.length-T)}},{key:"resolve",value:function(t,n){var o=this;if(!To(t,jn))return null;var u=n.scopeManager,s=u.getValueAsync(t.value,{part:t}),c=[],f;o.resolveSerially&&(f=Promise.resolve(null));function h(y,b,w){var T=u.createSubScopeManager(y,t.value,b,t,w);o.resolveSerially?(f=f.then(function(){return n.resolve(kr(kr({},n),{},{compiled:t.subparsed,tags:{},scopeManager:T}))}),c.push(f)):c.push(n.resolve(kr(kr({},n),{},{compiled:t.subparsed,tags:{},scopeManager:T})));}var p=[];return s.then(function(y){return y??(y=n.nullGetter(t)),y instanceof Promise?y.then(function(b){return b instanceof Array?Promise.all(b):b}):y instanceof Array?Promise.all(y):y}).then(function(y){return u.loopOverValue(y,h,t.inverted),Promise.all(c).then(function(b){return b.map(function(w){var T=w.resolved,C=w.errors;return pf(p,C),T})}).then(function(b){if(p.length>0)throw p;return b})})}},{key:"render",value:function(t,n){var o=this;if(t.tag==="p:xfrm"&&(o.inXfrm=t.position==="start"),t.tag==="a:ext"&&o.inXfrm)return o.lastExt=t,t;if(!To(t,jn))return null;var u=[],s=[],c=0,f=t.subparsed[0],h=0;f?.tag==="a:tr"&&(h=+Co(f.value,"h")),c-=h;var p=0,y=xf(t);function b(O,P,R){c+=h;for(var S=n.scopeManager.createSubScopeManager(O,t.value,P,t,R),k=0,q=t.subparsed;k<q.length;k++){var V=q[k];if(Bt("a16:rowId",V)){var G=+Co(V.value,"val")+p;p=1,V.value=hf(V.value,"val",G);}}var M=n.render(kr(kr({},n),{},{compiled:t.subparsed,tags:{},scopeManager:S}));t.hasPageBreak&&P===R-1&&y&&gf(M);var te=S.scopePathItem.some(function(tr){return tr!==0});te?(t.sectPrCount===1&&(M.parts=Hy(M.parts)),t.addContinuousType&&(M.parts=Xy(M.parts))):t.addNextPage&&Vy(M.parts,o.sects[t.addNextPage.index]),t.addNextPage&&gf(M),t.hasPageBreakBeginning&&y&&qy(M);for(var ge=0,Ie=M.parts;ge<Ie.length;ge++){var pe=Ie[ge];u.push(pe);}pf(s,M.errors);}var w=n.scopeManager.getValue(t.value,{part:t});w??(w=n.nullGetter(t));var T=n.scopeManager.loopOverValue(w,b,t.inverted);if(T===false)return t.lastParagrapSectPr?t.paragraphLoop?{value:"<w:p><w:pPr>".concat(t.lastParagrapSectPr,"</w:pPr></w:p>")}:{value:"</w:t></w:r></w:p><w:p><w:pPr>".concat(t.lastParagrapSectPr,"</w:pPr><w:r><w:t>")}:{value:My(t)||"",errors:s};if(c!==0){var C=+Co(o.lastExt.value,"cy");o.lastExt.value=hf(o.lastExt.value,"cy",C+c);}return {value:n.joinUncorrupt(u,kr(kr({},n),{},{basePart:t})),errors:s}}}])})();wf.exports=function(){return ky(new Wy)};});var Of=chunkPCJ5ACUV_cjs.b((Z1,Sf)=>{function Hn(e){"@babel/helpers - typeof";return Hn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Hn(e)}function Ky(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Af(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(e,Jy(n.key),n);}}function Qy(e,r,t){return r&&Af(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function Jy(e){var r=$y(e,"string");return Hn(r)=="symbol"?r:r+""}function $y(e,r){if(Hn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Hn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var eE=Pr(),Zn=be(),rE=Zn.isTextStart,tE=Zn.isTextEnd,nE=Zn.endsWith,aE=Zn.startsWith,Tf=Zn.pushArray,Cf='<w:t xml:space="preserve">',iE=Cf.length,_f="</w:t>",oE=_f.length;function uE(e){return rE(e)&&e.tag==="w:t"}function Oo(e,r){var t=e[r].value;return e[r+1].value==="</w:t>"||t.indexOf('xml:space="preserve"')!==-1?t:t.substr(0,t.length-1)+' xml:space="preserve">'}function sE(e,r){return e&&e.basePart&&r.length>1}var lE=(function(){function e(){Ky(this,e),this.name="SpacePreserveModule";}return Qy(e,[{key:"postparse",value:function(t,n){var o=[],u=false,s=0,c=0;function f(p,y){return p.type==="placeholder"&&y.length>1}var h=t.reduce(function(p,y){return uE(y)&&(u=true,c=o.length),u?(o.push(y),sE(n,o)&&(s=n.basePart.endLindex,o[0].value=Oo(o,0)),f(y,o)&&(o[c].value=Oo(o,c),s=y.endLindex),tE(y)&&y.lIndex>s&&(s!==0&&(o[c].value=Oo(o,c)),Tf(p,o),o=[],u=false,s=0,c=0),p):(p.push(y),p)},[]);return Tf(h,o),h}},{key:"postrender",value:function(t){for(var n="",o=0,u=0,s=t.length;u<s;u++){var c=t[u];c!==""&&(nE(n,Cf)&&aE(c,_f)&&(t[o]=n.substr(0,n.length-iE)+"<w:t/>",c=c.substr(oE)),n=c,o=u,t[u]=c);}return t}}])})();Sf.exports=function(){return eE(new lE)};});var kf=chunkPCJ5ACUV_cjs.b((G1,Rf)=>{function Gn(e){"@babel/helpers - typeof";return Gn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Gn(e)}function cE(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Nf(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(e,pE(n.key),n);}}function fE(e,r,t){return r&&Nf(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function pE(e){var r=hE(e,"string");return Gn(r)=="symbol"?r:r+""}function hE(e,r){if(Gn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Gn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var dE=Xa(),Bf=be(),gE=Bf.isContent,If=Bf.getPartWithDelimiters,Pf=Ye(),mE=Pf.throwRawTagShouldBeOnlyTextInParagraph,vE=Pf.getInvalidRawXMLValueException,yE=Pr(),No="rawxml";function EE(e){for(var r=e.part,t=e.left,n=e.right,o=e.postparsed,u=e.index,s=o.slice(t+1,n),c=0,f=s.length;c<f;c++)if(c!==u-t-1){var h=s[c];gE(h)&&mE({paragraphParts:s,part:r});}return r}var bE=(function(){function e(){cE(this,e),this.name="RawXmlModule",this.prefix="@";}return fE(e,[{key:"optionsTransformer",value:function(t,n){return this.fileTypeConfig=n.fileTypeConfig,t}},{key:"matchers",value:function(){return [[this.prefix,No]]}},{key:"postparse",value:function(t){var n=this;return dE.expandToOne(t,{moduleName:No,getInner:EE,expandTo:this.fileTypeConfig.tagRawXml,error:{message:"Raw tag not in paragraph",id:"raw_tag_outerxml_invalid",explanation:function(u){return 'The tag "'.concat(If(u,n.docxtemplater),'" is not inside a paragraph, putting raw tags inside an inline loop is disallowed.')}}})}},{key:"render",value:function(t,n){if(t.module!==No)return null;var o,u=[];try{o=n.scopeManager.getValue(t.value,{part:t}),o??(o=n.nullGetter(t));}catch(s){return u.push(s),{errors:u}}return o=o||"",typeof o=="string"?{value:o}:{errors:[vE({tag:t.value,value:o,partDelims:If(t,this.docxtemplater),part:t,offset:t.offset})]}}}])})();Rf.exports=function(){return yE(new bE)};});var Lf=chunkPCJ5ACUV_cjs.b((Y1,Ff)=>{function xE(e,r){for(var t=-1,n=0,o=e.length;n<o;n++)r[n]>=e[n].length||(t===-1||e[n][r[n]].offset<e[t][r[t]].offset)&&(t=n);return t}Ff.exports=function(e){for(var r=0,t=0,n=e;t<n.length;t++){var o=n[t];r+=o.length;}e=e.filter(function(h){return h.length>0});for(var u=new Array(r),s=e.map(function(){return 0}),c=0;c<r;c++){var f=xE(e,s);u[c]=e[f][s[f]],s[f]++;}return u};});var jf=chunkPCJ5ACUV_cjs.b((W1,zf)=>{function Yn(e){"@babel/helpers - typeof";return Yn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Yn(e)}function wE(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Mf(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(e,AE(n.key),n);}}function DE(e,r,t){return r&&Mf(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function AE(e){var r=TE(e,"string");return Yn(r)=="symbol"?r:r+""}function TE(e,r){if(Yn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Yn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var CE="expandPair",_E=Lf(),Po=be(),SE=Po.getLeft,OE=Po.getRight,Bo=Po.pushArray,NE=Pr(),IE=Xa(),BE=IE.getExpandToDefault,Ro=Ye(),Uf=Ro.getUnmatchedLoopException,PE=Ro.getClosingTagNotMatchOpeningTag,qf=Ro.getUnbalancedLoopException;function RE(e){switch(e.location){case "start":return 1;case "end":return -1}}function Io(e,r){return e!=null&&r!=null&&(e.part.location==="start"&&r.part.location==="end"&&e.part.value===r.part.value||r.part.value==="")}function kE(e){for(var r=0,t=[];r<e.length;){var n=e[r].part;if(n.location==="end"){if(r===0)return e.splice(0,1),t.push(Uf(n)),{traits:e,errors:t};var o=r,u=r-1,s=1;if(Io(e[u],e[o]))return e.splice(o,1),e.splice(u,1),{errors:t,traits:e};for(;s<50;){var c=e[u-s],f=e[o+s];if(Io(c,e[o]))return e.splice(o,1),e.splice(u-s,1),{errors:t,traits:e};if(Io(e[u],f))return e.splice(o+s,1),e.splice(u,1),{errors:t,traits:e};s++;}return t.push(PE({tags:[e[u].part,e[o].part]})),e.splice(o,1),e.splice(u,1),{traits:e,errors:t}}r++;}for(var h=0;h<e.length;h++){var p=e[h].part;t.push(Uf(p));}return {traits:[],errors:t}}function FE(e){var r={},t=[],n=[],o=[];for(Bo(o,e);o.length>0;){var u=kE(o);Bo(t,u.errors),o=u.traits;}if(t.length>0)return {pairs:n,errors:t};for(var s=0,c=0;c<e.length;c++){var f=e[c],h=f.part,p=RE(h);if(s+=p,p===1)r[s]=f;else {var y=r[s+1];s===0&&n.push([y,f]);}s=s>=0?s:0;}return {pairs:n,errors:t}}var LE=(function(){function e(){wE(this,e),this.name="ExpandPairTrait";}return DE(e,[{key:"optionsTransformer",value:function(t,n){return n.options.paragraphLoop&&Bo(n.fileTypeConfig.expandTags,n.fileTypeConfig.onParagraphLoop),this.expandTags=n.fileTypeConfig.expandTags,t}},{key:"postparse",value:function(t,n){var o=this,u=n.getTraits,s=n.postparse,c=n.fileType,f=u(CE,t,n);f=f.map(function(R){return R||[]}),f=_E(f);var h=FE(f),p=h.pairs,y=h.errors,b=0,w=null,T=p.map(function(R){var S=R[0].part.expandTo;if(S==="auto"&&c!=="text"){var k=BE(t,R,o.expandTags);k.error&&y.push(k.error),S=k.value;}if(!S||c==="text"){var q=R[0].offset,V=R[1].offset;return q<b&&!o.docxtemplater.options.syntax.allowUnbalancedLoops&&y.push(qf(R,w)),w=R,b=V,[q,V]}var G,M;try{G=SE(t,S,R[0].offset);}catch(te){y.push(te);}try{M=OE(t,S,R[1].offset);}catch(te){y.push(te);}return G<b&&!o.docxtemplater.options.syntax.allowUnbalancedLoops&&y.push(qf(R,w)),b=M,w=R,[G,M]});if(y.length>0)return {postparsed:t,errors:y};var C=0,O,P=t.reduce(function(R,S,k){var q=C<p.length&&T[C][0]<=k&&k<=T[C][1],V=p[C],G=T[C];if(!q)return R.push(S),R;if(G[0]===k&&(O=[]),V[0].offset!==k&&V[1].offset!==k&&O.push(S),G[1]===k){var M=t[V[0].offset];M.subparsed=s(O,{basePart:M}),M.endLindex=V[1].part.lIndex,delete M.location,delete M.expandTo,R.push(M),C++;for(var te=T[C];te&&te[0]<k;)C++,te=T[C];}return R},[]);return {postparsed:P,errors:y}}}])})();zf.exports=function(){return NE(new LE)};});var Gf=chunkPCJ5ACUV_cjs.b((K1,Zf)=>{function Wn(e){"@babel/helpers - typeof";return Wn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Wn(e)}function ME(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Vf(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(e,qE(n.key),n);}}function UE(e,r,t){return r&&Vf(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function qE(e){var r=zE(e,"string");return Wn(r)=="symbol"?r:r+""}function zE(e,r){if(Wn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Wn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var jE=Pr(),Hf=Ye(),VE=Hf.getScopeCompilationError,XE=Hf.getCorruptCharactersException,ko=be(),Xf=ko.utf8ToWord,HE=ko.hasCorruptCharacters,ZE=ko.removeCorruptCharacters,Ka=fo(),GE=Ka.settingsContentType,YE=Ka.coreContentType,WE=Ka.appContentType,KE=Ka.customContentType,QE=[GE,YE,WE,KE],JE={docx:"w",pptx:"a"},$E=(function(){function e(){ME(this,e),this.name="Render",this.recordRun=false,this.recordedRun=[];}return UE(e,[{key:"set",value:function(t){t.compiled&&(this.compiled=t.compiled),t.data!=null&&(this.data=t.data);}},{key:"optionsTransformer",value:function(t,n){return this.docxtemplater=n,this.brTag=n.fileType==="docx"?"<w:r><w:br/></w:r>":"<a:br/>",this.prefix=JE[n.fileType],this.runStartTag="".concat(this.prefix,":r"),this.runPropsStartTag="".concat(this.prefix,":rPr"),t}},{key:"postparse",value:function(t,n){for(var o=[],u=0;u<t.length;u++){var s=t[u];if(s.type==="placeholder"){var c=s.value;try{n.cachedParsers[s.lIndex]=this.docxtemplater.parser(c,{tag:s});}catch(f){o.push(VE({tag:c,rootError:f,offset:s.offset}));}}}return {postparsed:t,errors:o}}},{key:"getRenderedMap",value:function(t){for(var n in this.compiled)t[n]={from:n,data:this.data};return t}},{key:"render",value:function(t,n){var o=n.contentType,u=n.scopeManager,s=n.linebreaks,c=n.nullGetter,f=n.fileType,h=n.stripInvalidXMLChars;if(QE.indexOf(o)!==-1&&(s=false),s&&this.recordRuns(t),!(t.type!=="placeholder"||t.module)){var p;try{p=u.getValue(t.value,{part:t});}catch(y){return {errors:[y]}}if(p??(p=c(t)),typeof p=="string"){if(h)p=ZE(p);else if(["docx","pptx","xlsx"].indexOf(f)!==-1&&HE(p))return {errors:[XE({tag:t.value,value:p,offset:t.offset})]}}return f==="text"?{value:p}:{value:s&&typeof p=="string"?this.renderLineBreaks(p):Xf(p)}}}},{key:"recordRuns",value:function(t){t.tag===this.runStartTag?this.recordedRun="":t.tag===this.runPropsStartTag?(t.position==="start"&&(this.recordRun=true,this.recordedRun+=t.value),(t.position==="end"||t.position==="selfclosing")&&(this.recordedRun+=t.value,this.recordRun=false)):this.recordRun&&(this.recordedRun+=t.value);}},{key:"renderLineBreaks",value:function(t){for(var n=[],o=t.split(`
19
+ `),u=0,s=o.length;u<s;u++)n.push(Xf(o[u])),u<o.length-1&&n.push("</".concat(this.prefix,":t></").concat(this.prefix,":r>").concat(this.brTag,"<").concat(this.prefix,":r>").concat(this.recordedRun,"<").concat(this.prefix,":t").concat(this.docxtemplater.fileType==="docx"?' xml:space="preserve"':"",">"));return n}}])})();Zf.exports=function(){return jE(new $E)};});var $f=chunkPCJ5ACUV_cjs.b((Q1,Jf)=>{var Yf=Df(),eb=Of(),Wf=kf(),Kf=jf(),Qf=Gf();function rb(){return {getTemplatedFiles:function(){return []},templatedNs:["http://schemas.microsoft.com/office/2006/coverPageProps"],textPath:function(r){return r.textTarget},tagsXmlTextArray:["Company","HyperlinkBase","Manager","cp:category","cp:keywords","dc:creator","dc:description","dc:subject","dc:title","cp:contentStatus","PublishDate","Abstract","CompanyAddress","CompanyPhone","CompanyFax","CompanyEmail","w:t","a:t","m:t","vt:lpstr","vt:lpwstr"],tagsXmlLexedArray:["w:proofState","w:tc","w:tr","w:tbl","w:ftr","w:hdr","w:body","w:document","w:p","w:r","w:br","w:rPr","w:pPr","w:spacing","w:sdtContent","w:sdt","w:drawing","w:sectPr","w:type","w:headerReference","w:footerReference","w:bookmarkStart","w:bookmarkEnd","w:commentRangeStart","w:commentRangeEnd","w:commentReference"],droppedTagsInsidePlaceholder:["w:p","w:br","w:bookmarkStart","w:bookmarkEnd"],expandTags:[{contains:"w:tc",expand:"w:tr"}],onParagraphLoop:[{contains:"w:p",expand:"w:p",onlyTextInTag:true}],tagRawXml:"w:p",baseModules:[Yf,eb,Kf,Wf,Qf],tagShouldContain:[{tag:"w:sdtContent",shouldContain:["w:p","w:r","w:commentRangeStart","w:sdt"],value:"<w:p></w:p>"},{tag:"w:tc",shouldContain:["w:p"],value:"<w:p></w:p>"},{tag:"w:tr",shouldContain:["w:tc"],drop:true},{tag:"w:tbl",shouldContain:["w:tr"],drop:true}]}}function tb(){return {getTemplatedFiles:function(){return []},textPath:function(r){return r.textTarget},tagsXmlTextArray:["Company","HyperlinkBase","Manager","cp:category","cp:keywords","dc:creator","dc:description","dc:subject","dc:title","a:t","m:t","vt:lpstr","vt:lpwstr"],tagsXmlLexedArray:["p:sp","a:tc","a:tr","a:tbl","a:graphicData","a:p","a:r","a:rPr","p:txBody","a:txBody","a:off","a:ext","p:graphicFrame","p:xfrm","a16:rowId","a:endParaRPr"],droppedTagsInsidePlaceholder:["a:p","a:endParaRPr"],expandTags:[{contains:"a:tc",expand:"a:tr"}],onParagraphLoop:[{contains:"a:p",expand:"a:p",onlyTextInTag:true}],tagRawXml:"p:sp",baseModules:[Yf,Kf,Wf,Qf],tagShouldContain:[{tag:"a:tbl",shouldContain:["a:tr"],dropParent:"p:graphicFrame"},{tag:"p:txBody",shouldContain:["a:p"],value:"<a:p></a:p>"},{tag:"a:txBody",shouldContain:["a:p"],value:"<a:p></a:p>"}]}}Jf.exports={docx:rb,pptx:tb};});var yp=chunkPCJ5ACUV_cjs.b((J1,qo)=>{var nb=["modules"];function ep(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n);}return t}function fr(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ep(Object(t),true).forEach(function(n){ab(e,n,t[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ep(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));});}return e}function ab(e,r,t){return (r=lp(r))in e?Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true}):e[r]=t,e}function rp(e,r){return sb(e)||ub(e,r)||ob(e,r)||ib()}function ib(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
20
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ob(e,r){if(e){if(typeof e=="string")return tp(e,r);var t={}.toString.call(e).slice(8,-1);return t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set"?Array.from(e):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?tp(e,r):void 0}}function tp(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function ub(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,o,u,s,c=[],f=true,h=false;try{if(u=(t=t.call(e)).next,r===0){if(Object(t)!==t)return;f=!1;}else for(;!(f=(n=u.call(t)).done)&&(c.push(n.value),c.length!==r);f=!0);}catch(p){h=true,o=p;}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(h)throw o}}return c}}function sb(e){if(Array.isArray(e))return e}function Rt(e){"@babel/helpers - typeof";return Rt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Rt(e)}function lb(e,r){if(e==null)return {};var t,n,o=cb(e,r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n<u.length;n++)t=u[n],r.indexOf(t)===-1&&{}.propertyIsEnumerable.call(e,t)&&(o[t]=e[t]);}return o}function cb(e,r){if(e==null)return {};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n];}return t}function fb(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function np(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false,n.configurable=true,"value"in n&&(n.writable=true),Object.defineProperty(e,lp(n.key),n);}}function pb(e,r,t){return r&&np(e.prototype,r),Object.defineProperty(e,"prototype",{writable:false}),e}function lp(e){var r=hb(e,"string");return Rt(r)=="symbol"?r:r+""}function hb(e,r){if(Rt(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Rt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (r==="string"?String:Number)(e)}var Be=be(),De=Ul(),db=De.object({allowUnopenedTag:De.boolean().optional(),allowUnclosedTag:De.boolean().optional(),allowUnbalancedLoops:De.boolean().optional(),changeDelimiterPrefix:De.string().optional().nullable()}),gb=De.object({delimiters:De.object({start:De.string().nullable(),end:De.string().nullable()}).strict().optional(),fileTypeConfig:De.object({}).optional(),paragraphLoop:De.boolean().optional(),parser:De.function().optional(),errorLogging:De.union([De.boolean(),De.string()]).optional(),linebreaks:De.boolean().optional(),nullGetter:De.function().optional(),syntax:db.optional(),stripInvalidXMLChars:De.boolean().optional(),warnFn:De.function().optional()}).strict(),mb=zl(),cp=mb.getRelsTypes,fp=Xl(),pp=fp.collectContentTypes,hp=fp.getContentTypes,dp=Pr(),vb=Xa(),yb=oc(),Eb=hc(),ap=go(),bb=Cc(),Fo=bb.getTags,gp=Sc(),yr=Ye(),mp=yr.throwMultiError,xb=yr.throwResolveBeforeCompile,wb=yr.throwRenderInvalidTemplate,Db=yr.throwRenderTwice,Qn=yr.XTInternalError,Ab=yr.XTTemplateError,Tb=yr.throwFileTypeNotIdentified,Cb=yr.throwFileTypeNotHandled,Qa=yr.throwApiVersionError;Be.getRelsTypes=cp;Be.traits=vb;Be.moduleWrapper=dp;Be.collectContentTypes=pp;Be.getContentTypes=hp;var ip=Be.getDefaults,_b=Be.str2xml,Sb=Be.xml2str,Uo=Be.concatArrays,op=Be.uniq,Ob=Be.getDuplicates,Nb=Be.stableSort,Lo=Be.pushArray,up=Be.utf8ToWord,Ib=Be.invertMap,Bb="[Content_Types].xml",Pb="_rels/.rels",pr=[3,47,2];function Rb(e){var r=Ob(e.map(function(t){var n=t.name;return n}));if(r.length>0)throw new Qn('Detected duplicate module "'.concat(r[0],'"'))}function kb(e){for(var r=0,t=e.modules;r<t.length;r++)for(var n=t[r],o=0,u=n.xmlContentTypes||[];o<u.length;o++)for(var s=u[o],c=e.invertedContentTypes[s]||[],f=0;f<c.length;f++){var h=c[f];e.zip.files[h]&&e.options.xmlFileNames.push(h);}}function Fb(e){return Nb(e,function(r,t){return (t.priority||0)-(r.priority||0)})}function Kn(e){var r=[];for(var t in e)r.push(t);for(var n=[Bb,Pb],o=["word/","xl/","ppt/"],u=0;u<r.length;u++)for(var s=r[u],c=0;c<o.length;c++){var f=o[c];s.indexOf("".concat(f))===0&&n.push(s);}for(var h=0;h<r.length;h++){var p=r[h];n.indexOf(p)===-1&&n.push(p);}return n}function vp(e,r){e.hideDeprecations!==true&&console.warn(r);}function Pt(e,r){if(e.hideDeprecations!==true)return vp(e,'Deprecated method ".'.concat(r,'", view upgrade guide : https://docxtemplater.com/docs/api/#upgrade-guide, stack : ').concat(new Error().stack))}function Mo(e){e.modules=e.modules.filter(function(r){if(!r.supportedFileTypes)return true;if(!Array.isArray(r.supportedFileTypes))throw new Error("The supportedFileTypes field of the module must be an array");var t=r.supportedFileTypes.includes(e.fileType);return t||r.on("detached"),t});}function sp(e){var r=e.compiled;e.errors=Uo(Object.keys(r).map(function(t){return r[t].allErrors})),e.errors.length!==0&&(e.options.errorLogging&&gp(e.errors,e.options.errorLogging),mp(e.errors));}function Lb(e){return typeof Buffer<"u"&&typeof Buffer.isBuffer=="function"&&Buffer.isBuffer(e)}var tt=(function(){function e(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.modules,o=n===void 0?[]:n,u=lb(t,nb);if(fb(this,e),this.targets=[],this.rendered=false,this.scopeManagers={},this.compiled={},this.modules=[yb()],this.xmlDocuments={},arguments.length===0)vp(this,"Deprecated docxtemplater constructor with no arguments, view upgrade guide : https://docxtemplater.com/docs/api/#upgrade-guide, stack : ".concat(new Error().stack)),this.hideDeprecations=true,this.setOptions(u);else {if(this.hideDeprecations=true,this.setOptions(u),Lb(r))throw new Error("You passed a Buffer to the Docxtemplater constructor. The first argument of docxtemplater's constructor must be a valid zip file (jszip v2 or pizzip v3)");if(!r||!r.files||typeof r.file!="function")throw new Error("The first argument of docxtemplater's constructor must be a valid zip file (jszip v2 or pizzip v3)");if(!Array.isArray(o))throw new Error("The modules argument of docxtemplater's constructor must be an array");for(var s=0;s<o.length;s++){var c=o[s];this.attachModule(c);}this.loadZip(r),this.compile(),this.v4Constructor=true;}this.hideDeprecations=false;}return pb(e,[{key:"verifyApiVersion",value:function(t){return t=t.split(".").map(function(n){return parseInt(n,10)}),t.length!==3&&Qa("neededVersion is not a valid version",{neededVersion:t,explanation:"the neededVersion must be an array of length 3"}),t[0]!==pr[0]&&Qa("The major api version do not match, you probably have to update docxtemplater with npm install --save docxtemplater",{neededVersion:t,currentModuleApiVersion:pr,explanation:"moduleAPIVersionMismatch : needed=".concat(t.join("."),", current=").concat(pr.join("."))}),t[1]>pr[1]&&Qa("The minor api version is not uptodate, you probably have to update docxtemplater with npm install --save docxtemplater",{neededVersion:t,currentModuleApiVersion:pr,explanation:"moduleAPIVersionMismatch : needed=".concat(t.join("."),", current=").concat(pr.join("."))}),t[1]===pr[1]&&t[2]>pr[2]&&Qa("The patch api version is not uptodate, you probably have to update docxtemplater with npm install --save docxtemplater",{neededVersion:t,currentModuleApiVersion:pr,explanation:"moduleAPIVersionMismatch : needed=".concat(t.join("."),", current=").concat(pr.join("."))}),true}},{key:"setModules",value:function(t){for(var n=0,o=this.modules;n<o.length;n++){var u=o[n];u.set(t);}}},{key:"sendEvent",value:function(t){for(var n=0,o=this.modules;n<o.length;n++){var u=o[n];u.on(t);}}},{key:"attachModule",value:function(t){if(this.v4Constructor)throw new Qn("attachModule() should not be called manually when using the v4 constructor");Pt(this,"attachModule");var n=Rt(t);if(n==="function")throw new Qn("Cannot attach a class/function as a module. Most probably you forgot to instantiate the module by using `new` on the module.");if(!t||n!=="object")throw new Qn("Cannot attachModule with a falsy value");if(t.requiredAPIVersion&&this.verifyApiVersion(t.requiredAPIVersion),t.attached===true)if(typeof t.clone=="function")t=t.clone();else throw new Error('Cannot attach a module that was already attached : "'.concat(t.name,'". The most likely cause is that you are instantiating the module at the root level, and using it for multiple instances of Docxtemplater'));t.attached=true;var o=dp(t);return this.modules.push(o),o.on("attached"),this.fileType&&Mo(this),this}},{key:"findModule",value:function(t){for(var n=0,o=this.modules;n<o.length;n++){var u=o[n];if(u.name===t)return u}}},{key:"setOptions",value:function(t){var n,o;if(this.v4Constructor)throw new Error("setOptions() should not be called manually when using the v4 constructor");if(!t)throw new Error("setOptions should be called with an object as first parameter");var u=gb.validate(t);if(u.success===false)throw new Error(u.error);Pt(this,"setOptions"),this.options={};var s=ip();for(var c in s){var f=s[c];this.options[c]=t[c]!=null?t[c]:this[c]||f,this[c]=this.options[c];}return (n=this.delimiters).start&&(n.start=up(this.delimiters.start)),(o=this.delimiters).end&&(o.end=up(this.delimiters.end)),this}},{key:"loadZip",value:function(t){if(this.v4Constructor)throw new Error("loadZip() should not be called manually when using the v4 constructor");if(Pt(this,"loadZip"),t.loadAsync)throw new Qn("Docxtemplater doesn't handle JSZip version >=3, please use pizzip");t.xtRendered&&this.options.warnFn([new Error("This zip file appears to be the outcome of a previous docxtemplater generation. This typically indicates that docxtemplater was integrated by reusing the same zip file. It is recommended to create a new Pizzip instance for each docxtemplater generation.")]),this.zip=t,this.updateFileTypeConfig(),this.modules=Uo([this.fileTypeConfig.baseModules.map(function(s){return s()}),this.modules]);for(var n=0,o=this.modules;n<o.length;n++){var u=o[n];u.zip=this.zip,u.docxtemplater=this,u.fileTypeConfig=this.fileTypeConfig,u.fileType=this.fileType,u.xtOptions=this.options,u.modules=this.modules;}return Mo(this),this}},{key:"precompileFile",value:function(t){var n=this.createTemplateClass(t);n.preparse(),this.compiled[t]=n;}},{key:"compileFile",value:function(t){this.compiled[t].parse();}},{key:"getScopeManager",value:function(t,n,o){var u;return (u=this.scopeManagers)[t]||(u[t]=Eb({tags:o,parser:this.parser,cachedParsers:n.cachedParsers})),this.scopeManagers[t]}},{key:"resolveData",value:function(t){var n=this;Pt(this,"resolveData");var o=[];return Object.keys(this.compiled).length||xb(),Promise.resolve(t).then(function(u){return n.data=u,n.setModules({data:n.data,Lexer:ap}),n.mapper=n.modules.reduce(function(s,c){return c.getRenderedMap(s)},{}),Promise.all(Object.keys(n.mapper).map(function(s){var c=n.mapper[s],f=c.from,h=c.data;return Promise.resolve(h).then(function(p){var y=n.compiled[f];return y.filePath=s,y.scopeManager=n.getScopeManager(s,y,p),y.resolveTags(p).then(function(b){return y.scopeManager.finishedResolving=true,b},function(b){Lo(o,b);})})})).then(function(s){return o.length!==0&&(n.options.errorLogging&&gp(o,n.options.errorLogging),mp(o)),Uo(s)})})}},{key:"compile",value:function(){if(Pt(this,"compile"),this.updateFileTypeConfig(),Rb(this.modules),this.modules=Fb(this.modules),Object.keys(this.compiled).length)return this;for(var t=this.options,n=0,o=this.modules;n<o.length;n++){var u=o[n];t=u.optionsTransformer(t,this);}this.options=t,this.options.xmlFileNames=op(this.options.xmlFileNames);for(var s=0,c=this.options.xmlFileNames;s<c.length;s++){var f=c[s],h=this.zip.files[f].asText();this.xmlDocuments[f]=_b(h);}this.setModules({zip:this.zip,xmlDocuments:this.xmlDocuments});for(var p=0,y=this.modules;p<y.length;p++){var b=y[p];b.xmlDocuments=this.xmlDocuments;}this.getTemplatedFiles(),this.sendEvent("before-preparse");for(var w=0,T=this.templatedFiles;w<T.length;w++){var C=T[w];this.zip.files[C]!=null&&this.precompileFile(C);}this.sendEvent("after-preparse");for(var O=0,P=this.templatedFiles;O<P.length;O++){var R=P[O];this.zip.files[R]!=null&&this.compiled[R].parse({noPostParse:true});}this.sendEvent("after-parse");for(var S=0,k=this.templatedFiles;S<k.length;S++){var q=k[S];this.zip.files[q]!=null&&this.compiled[q].postparse();}return this.sendEvent("after-postparse"),this.setModules({compiled:this.compiled}),sp(this),this}},{key:"updateFileTypeConfig",value:function(){this.relsTypes=cp(this.zip);var t=hp(this.zip),n=t.overrides,o=t.defaults,u=t.contentTypes,s=t.contentTypeXml;s&&(this.filesContentTypes=pp(n,o,this.zip),this.invertedContentTypes=Ib(this.filesContentTypes),this.setModules({contentTypes:this.contentTypes,invertedContentTypes:this.invertedContentTypes}));var c;this.zip.files.mimetype&&(c="odt");for(var f=0,h=this.modules;f<h.length;f++){var p=h[f];c=p.getFileType({zip:this.zip,contentTypes:u,contentTypeXml:s,overrides:n,defaults:o,doc:this})||c;}if(this.fileType=c,c==="odt"&&Cb(c),c||Tb(this.zip),kb(this),Mo(this),this.fileTypeConfig=this.options.fileTypeConfig||this.fileTypeConfig,!this.fileTypeConfig)if(e.FileTypeConfig[this.fileType])this.fileTypeConfig=e.FileTypeConfig[this.fileType]();else {var y='Filetype "'.concat(this.fileType,'" is not supported'),b="filetype_not_supported";this.fileType==="xlsx"&&(y='Filetype "'.concat(this.fileType,'" is supported only with the paid XlsxModule'),b="xlsx_filetype_needs_xlsx_module");var w=new Ab(y);throw w.properties={id:b,explanation:y},w}return this}},{key:"renderAsync",value:function(t){var n=this;this.hideDeprecations=true;var o=this.resolveData(t);return this.hideDeprecations=false,this.zip.xtRendered=true,o.then(function(){return n.render()})}},{key:"render",value:function(t){this.zip.xtRendered=true,this.rendered&&Db(),this.rendered=true,Object.keys(this.compiled).length===0&&this.compile(),this.errors.length>0&&wb(),arguments.length>0&&(this.data=t),this.setModules({data:this.data,Lexer:ap}),this.mapper||(this.mapper=this.modules.reduce(function(V,G){return G.getRenderedMap(V)},{}));var n=[];for(var o in this.mapper){var u=this.mapper[o],s=u.from,c=u.data,f=this.compiled[s];f.scopeManager=this.getScopeManager(o,f,c),f.render(o),n.push([o,f.content,f]),delete f.content;}for(var h=0;h<n.length;h++)for(var p=n[h],y=rp(p,3),b=y[1],w=y[2],T=0,C=this.modules;T<C.length;T++){var O=C[T];if(O.preZip){var P=O.preZip(b,w);typeof P=="string"&&(p[1]=P);}}for(var R=0;R<n.length;R++){var S=rp(n[R],2),k=S[0],q=S[1];this.zip.file(k,q,{createFolders:true});}return sp(this),this.sendEvent("syncing-zip"),this.syncZip(),this.sendEvent("synced-zip"),this}},{key:"syncZip",value:function(){for(var t in this.xmlDocuments){this.zip.remove(t);var n=Sb(this.xmlDocuments[t]);this.zip.file(t,n,{createFolders:true});}}},{key:"setData",value:function(t){return Pt(this,"setData"),this.data=t,this}},{key:"getZip",value:function(){return this.zip}},{key:"createTemplateClass",value:function(t){var n=this.zip.files[t].asText();return this.createTemplateClassFromContent(n,t)}},{key:"createTemplateClassFromContent",value:function(t,n){for(var o={filePath:n,contentType:this.filesContentTypes[n],relsType:this.relsTypes[n]},u=ip(),s=Lo(Object.keys(u),["filesContentTypes","fileTypeConfig","fileType","modules"]),c=0;c<s.length;c++){var f=s[c];o[f]=this[f];}return new e.XmlTemplater(t,o)}},{key:"getFullText",value:function(t){return this.createTemplateClass(t||this.fileTypeConfig.textPath(this)).getFullText()}},{key:"getTemplatedFiles",value:function(){this.templatedFiles=this.fileTypeConfig.getTemplatedFiles(this.zip),Lo(this.templatedFiles,this.targets);var t=this.fileTypeConfig.templatedNs||[];if(t.length>0){for(var n in this.filesContentTypes)if(/^customXml\/item\d+\.xml$/.test(n))for(var o=0;o<t.length;o++){var u=t[o],s=this.zip.file(n).asText();s.indexOf('xmlns="'.concat(u,'"'))!==-1&&this.templatedFiles.push(n);}}return this.templatedFiles=op(this.templatedFiles),this.templatedFiles}},{key:"getTags",value:function(){var t={headers:[],footers:[]};for(var n in this.compiled){var o=this.filesContentTypes[n];o==="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"&&(t.document={target:n,tags:Fo(this.compiled[n].postparsed)}),o==="application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml"&&t.headers.push({target:n,tags:Fo(this.compiled[n].postparsed)}),o==="application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml"&&t.footers.push({target:n,tags:Fo(this.compiled[n].postparsed)});}return t}},{key:"toBuffer",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"nodebuffer"}))}},{key:"toBlob",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"blob"}))}},{key:"toBase64",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"base64"}))}},{key:"toUint8Array",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"uint8array"}))}},{key:"toArrayBuffer",value:function(t){return this.zip.generate(fr(fr({compression:"DEFLATE",fileOrder:Kn},t),{},{type:"arraybuffer"}))}}])})();tt.DocUtils=Be;tt.Errors=Ye();tt.XmlTemplater=sf();tt.FileTypeConfig=$f();tt.XmlMatcher=yo();qo.exports=tt;qo.exports.default=tt;});var kt=chunkPCJ5ACUV_cjs.c(ps(),1),Ft=chunkPCJ5ACUV_cjs.c(yp(),1);function zo(e,r,t={}){return Mb(e,r,t).buffer}function Mb(e,r,t={}){let{nullGetter:n="keep",linebreaks:o=true,delimiters:u}=t,s=[],c=[],f=[];try{let h=new kt.default(e),p=new Ft.default(h,{paragraphLoop:!0,linebreaks:o,nullGetter:b=>{let w=b.value||"";if(n==="error")throw new Error(`Undefined variable: ${w}`);return n==="empty"?(f.push(w),""):(f.push(w),`{${w}}`)},delimiters:u?{start:u.start||"{",end:u.end||"}"}:void 0});return Object.keys(r).forEach(b=>{r[b]!==void 0&&r[b]!==null&&c.push(b);}),p.setData(r),p.render(),{buffer:p.getZip().generate({type:"arraybuffer",compression:"DEFLATE",compressionOptions:{level:6}}),replacedVariables:c,unreplacedVariables:f,warnings:s}}catch(h){throw Jn(h)}}function Ub(e,r,t={}){let n=zo(e,r,t);return new Blob([n],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"})}function $1(e,r,t="document",n={}){let o=Ub(e,r,n);jb(o,`${t}.docx`);}function ex(e){try{let r=new kt.default(e),n=new Ft.default(r,{paragraphLoop:!0,linebreaks:!0}).getFullText();return Ep(n)}catch(r){throw Jn(r)}}function rx(e){let r=[],t=[];try{let n=new kt.default(e),u=new Ft.default(n,{paragraphLoop:!0,linebreaks:!0}).getFullText();t=Ep(u);let s=qb(u);for(let c of s)r.push({message:`Unclosed tag: ${c}`,variable:c,type:"parse"});return {valid:r.length===0,errors:r,tags:t}}catch(n){return r.push(Jn(n)),{valid:false,errors:r,tags:t}}}function tx(e,r){return e.filter(t=>!(t in r)||r[t]===void 0||r[t]===null)}function nx(e,r){try{let t=new kt.default(e),n=new Ft.default(t,{paragraphLoop:!0,linebreaks:!0,nullGetter:o=>`[${o.value||""}]`});return n.setData(r),n.render(),n.getFullText()}catch(t){throw Jn(t)}}function Ep(e){let r=[],t=/\{([^{}]+)\}/g,n;for(;(n=t.exec(e))!==null;){let o=n[1].trim();o&&!r.includes(o)&&r.push(o);}return r.sort()}function qb(e){let r=[],t=0,n="";for(let o of e)o==="{"?(t++,n=""):o==="}"?(t--,t<0&&(t=0)):t>0&&(n+=o);return t>0&&n.trim()&&r.push(n.trim()),r}function zb(e){return "properties"in e&&typeof e.properties=="object"}function Jn(e){if(e instanceof Error){if(zb(e)&&e.properties?.errors){let r=e.properties.errors[0];return {message:r?.message||"Template processing error",variable:r?.properties?.tag,type:"render",originalError:e}}if(e.message.includes("undefined")){let r=e.message.match(/undefined (?:variable|tag):\s*(\S+)/i);return {message:e.message,variable:r?r[1]:void 0,type:"undefined",originalError:e}}return e.message.includes("parse")||e.message.includes("unclosed")||e.message.includes("syntax")?{message:e.message,type:"parse",originalError:e}:{message:e.message,type:"unknown",originalError:e}}return {message:String(e),type:"unknown"}}function jb(e,r){let t=URL.createObjectURL(e),n=document.createElement("a");n.href=t,n.download=r,document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(t);}function ax(e,r,t={}){let{linebreaks:n=true,delimiters:o}=t;try{let u=new kt.default(e),s=new Ft.default(u,{paragraphLoop:!0,linebreaks:n,delimiters:o?{start:o.start||"{",end:o.end||"}"}:void 0});return s.setData(r),s.render(),s.getZip().generate({type:"arraybuffer",compression:"DEFLATE"})}catch(u){throw Jn(u)}}function ix(e={}){return (r,t)=>zo(r,t,e)}var ox=zo;/*! Bundled license information:
20
21
 
21
22
  pako/dist/pako.es5.min.js:
22
23
  (*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) *)
23
- */exports.a=qo;exports.b=Ib;exports.c=Bb;exports.d=Z1;exports.e=G1;exports.f=Y1;exports.g=W1;exports.h=K1;exports.i=Q1;exports.j=J1;exports.k=$1;
24
+ */exports.a=zo;exports.b=Mb;exports.c=Ub;exports.d=$1;exports.e=ex;exports.f=rx;exports.g=tx;exports.h=nx;exports.i=ax;exports.j=ix;exports.k=ox;