@harbour-enterprises/superdoc 0.10.73 → 0.10.74

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 (31) hide show
  1. package/dist/chunks/{index-KF0xW8HE.es.js → index-BF-lC4S6.es.js} +1 -1
  2. package/dist/chunks/{index-CqRwYOdx.cjs → index-DHS2ANjv.cjs} +1 -1
  3. package/dist/chunks/{index-DMqh3IMV.es.js → index-DcSLQU3f.es.js} +2 -2
  4. package/dist/chunks/{index-BXKGjuVW.cjs → index-YqE5-6V1.cjs} +1 -1
  5. package/dist/chunks/{super-editor.es-BK7U7y5h.cjs → super-editor.es-BKb3ou8n.cjs} +3 -3
  6. package/dist/chunks/{super-editor.es-BCwQiJH2.es.js → super-editor.es-BvOszlT8.es.js} +10 -10
  7. package/dist/chunks/{url-6Xu7gR4T.cjs → url-Cqg7fbSS.cjs} +1 -1
  8. package/dist/chunks/{url-xe7NIKp4.es.js → url-_K71OnFe.es.js} +1 -1
  9. package/dist/chunks/{xml-js-COexJRRq.es.js → xml-js--d8FG5HY.es.js} +744 -762
  10. package/dist/chunks/xml-js-Zwb1wsIy.cjs +10 -0
  11. package/dist/super-editor/ai-writer.es.js +1 -1
  12. package/dist/super-editor/chunks/{converter-Ixflu90g.js → converter-GSZUUKpF.js} +9 -9
  13. package/dist/super-editor/chunks/{docx-zipper-CIQoxaYW.js → docx-zipper-Bkti_srw.js} +1 -1
  14. package/dist/super-editor/chunks/{editor-BhXIrBQH.js → editor-BRWSXTYt.js} +3 -3
  15. package/dist/super-editor/chunks/{toolbar-c8nHjhgU.js → toolbar-D2m1kB4W.js} +2 -2
  16. package/dist/super-editor/converter.es.js +1 -1
  17. package/dist/super-editor/core/super-converter/v2/exporter/commentsExporter.d.ts +1 -1
  18. package/dist/super-editor/core/super-converter/v2/exporter/commentsExporter.d.ts.map +1 -1
  19. package/dist/super-editor/docx-zipper.es.js +2 -2
  20. package/dist/super-editor/editor.es.js +3 -3
  21. package/dist/super-editor/file-zipper.es.js +1 -1
  22. package/dist/super-editor/super-editor.es.js +6 -6
  23. package/dist/super-editor/toolbar.es.js +2 -2
  24. package/dist/super-editor.cjs +1 -1
  25. package/dist/super-editor.es.js +1 -1
  26. package/dist/superdoc.cjs +3 -3
  27. package/dist/superdoc.es.js +6 -6
  28. package/dist/superdoc.umd.js +11 -11
  29. package/dist/superdoc.umd.js.map +1 -1
  30. package/package.json +1 -1
  31. package/dist/chunks/xml-js-zhwNEV5e.cjs +0 -10
@@ -13579,8 +13579,8 @@ const x4 = (t, e) => ({
13579
13579
  }), k4 = (t) => ({
13580
13580
  ...t,
13581
13581
  commentParaId: Mp()
13582
- }), S4 = (t, e, n) => {
13583
- const r = dv({ node: t.commentJSON }), o = {
13582
+ }), S4 = (t, e, n, r) => {
13583
+ const o = dv({ editor: r, node: t.commentJSON }), i = {
13584
13584
  "w:id": String(e),
13585
13585
  "w:author": t.creatorName || t.importedAuthor?.name,
13586
13586
  "w:email": t.creatorEmail || t.importedAuthor?.email,
@@ -13595,14 +13595,14 @@ const x4 = (t, e) => ({
13595
13595
  "custom:trackedDeletedText": t.deletedText || null
13596
13596
  };
13597
13597
  if (t?.parentCommentId) {
13598
- const i = n.find((s) => s.commentId === t.parentCommentId);
13599
- o["w15:paraIdParent"] = i.commentParaId;
13598
+ const s = n.find((a) => a.commentId === t.parentCommentId);
13599
+ i["w15:paraIdParent"] = s.commentParaId;
13600
13600
  }
13601
13601
  return {
13602
13602
  type: "element",
13603
13603
  name: "w:comment",
13604
- attributes: o,
13605
- elements: [r]
13604
+ attributes: i,
13605
+ elements: [o]
13606
13606
  };
13607
13607
  }, A4 = (t) => t ? t.replace("(imported)", "").trim().split(" ").map((e) => e[0]).join("") : null, cv = (t) => new Date(t || Date.now()).toISOString().replace(/\.\d{3}Z$/, "Z"), E4 = (t = [], e) => {
13608
13608
  const n = Cn(e);
@@ -16568,7 +16568,7 @@ const gs = class Iv {
16568
16568
  return;
16569
16569
  }
16570
16570
  }
16571
- static updateDocumentVersion(e = this.convertedXml, n = "0.10.73") {
16571
+ static updateDocumentVersion(e = this.convertedXml, n = "0.10.74") {
16572
16572
  const r = "docProps/custom.xml";
16573
16573
  e[r] || (e[r] = Nv());
16574
16574
  const o = e["docProps/custom.xml"];
@@ -16677,7 +16677,7 @@ const gs = class Iv {
16677
16677
  return new ry(this).schemaToXml(e, n);
16678
16678
  }
16679
16679
  async exportToDocx(e, n, r, o = !1, i, s = [], a) {
16680
- const l = s.map((m) => k4(m)), c = l.map((m, y) => S4(m, y, l)), { result: u, params: d } = this.exportToXmlJson({
16680
+ const l = s.map((m) => k4(m)), c = l.map((m, y) => S4(m, y, l, a)), { result: u, params: d } = this.exportToXmlJson({
16681
16681
  data: e,
16682
16682
  editorSchema: n,
16683
16683
  comments: s,
@@ -16831,7 +16831,7 @@ function j$(t) {
16831
16831
  function Nv() {
16832
16832
  return u4;
16833
16833
  }
16834
- function Fv(t = 2, e = "0.10.73") {
16834
+ function Fv(t = 2, e = "0.10.74") {
16835
16835
  return {
16836
16836
  type: "element",
16837
16837
  name: "property",
@@ -29370,7 +29370,7 @@ const M8 = class _x extends kM {
29370
29370
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
29371
29371
  */
29372
29372
  processCollaborationMigrations() {
29373
- if (console.debug("[checkVersionMigrations] Current editor version", "0.10.73"), !this.options.ydoc) return;
29373
+ if (console.debug("[checkVersionMigrations] Current editor version", "0.10.74"), !this.options.ydoc) return;
29374
29374
  let e = this.options.ydoc.getMap("meta").get("version");
29375
29375
  e || (e = "initial"), console.debug("[checkVersionMigrations] Document version", e);
29376
29376
  const n = cw(e) || [], r = this.state.plugins.find((i) => i.key.startsWith("y-sync"));
@@ -1,4 +1,4 @@
1
- "use strict";const ne=require("./jszip-ChlzEvf9.cjs"),ie=require("./xml-js-zhwNEV5e.cjs"),Hr=require("./__vite-browser-external-ChNNClnV.cjs");var Ae={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */Ae.exports;(function(r,e){(function(t){var n=e&&!e.nodeType&&e,a=r&&!r.nodeType&&r,i=typeof ne.commonjsGlobal=="object"&&ne.commonjsGlobal;(i.global===i||i.window===i||i.self===i)&&(t=i);var f,o=2147483647,l=36,s=1,c=26,m=38,u=700,d=72,g=128,I="-",S=/^xn--/,F=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},x=l-s,b=Math.floor,O=String.fromCharCode,N;function T(h){throw new RangeError(p[h])}function $(h,v){for(var w=h.length,E=[];w--;)E[w]=v(h[w]);return E}function D(h,v){var w=h.split("@"),E="";w.length>1&&(E=w[0]+"@",h=w[1]),h=h.replace(y,".");var C=h.split("."),U=$(C,v).join(".");return E+U}function K(h){for(var v=[],w=0,E=h.length,C,U;w<E;)C=h.charCodeAt(w++),C>=55296&&C<=56319&&w<E?(U=h.charCodeAt(w++),(U&64512)==56320?v.push(((C&1023)<<10)+(U&1023)+65536):(v.push(C),w--)):v.push(C);return v}function k(h){return $(h,function(v){var w="";return v>65535&&(v-=65536,w+=O(v>>>10&1023|55296),v=56320|v&1023),w+=O(v),w}).join("")}function _(h){return h-48<10?h-22:h-65<26?h-65:h-97<26?h-97:l}function q(h,v){return h+22+75*(h<26)-((v!=0)<<5)}function M(h,v,w){var E=0;for(h=w?b(h/u):h>>1,h+=b(h/v);h>x*c>>1;E+=l)h=b(h/x);return b(E+(x+1)*h/(h+m))}function W(h){var v=[],w=h.length,E,C=0,U=g,L=d,B,G,V,Y,P,z,Q,re,fe;for(B=h.lastIndexOf(I),B<0&&(B=0),G=0;G<B;++G)h.charCodeAt(G)>=128&&T("not-basic"),v.push(h.charCodeAt(G));for(V=B>0?B+1:0;V<w;){for(Y=C,P=1,z=l;V>=w&&T("invalid-input"),Q=_(h.charCodeAt(V++)),(Q>=l||Q>b((o-C)/P))&&T("overflow"),C+=Q*P,re=z<=L?s:z>=L+c?c:z-L,!(Q<re);z+=l)fe=l-re,P>b(o/fe)&&T("overflow"),P*=fe;E=v.length+1,L=M(C-Y,E,Y==0),b(C/E)>o-U&&T("overflow"),U+=b(C/E),C%=E,v.splice(C++,0,U)}return k(v)}function ee(h){var v,w,E,C,U,L,B,G,V,Y,P,z=[],Q,re,fe,De;for(h=K(h),Q=h.length,v=g,w=0,U=d,L=0;L<Q;++L)P=h[L],P<128&&z.push(O(P));for(E=C=z.length,C&&z.push(I);E<Q;){for(B=o,L=0;L<Q;++L)P=h[L],P>=v&&P<B&&(B=P);for(re=E+1,B-v>b((o-w)/re)&&T("overflow"),w+=(B-v)*re,v=B,L=0;L<Q;++L)if(P=h[L],P<v&&++w>o&&T("overflow"),P==v){for(G=w,V=l;Y=V<=U?s:V>=U+c?c:V-U,!(G<Y);V+=l)De=G-Y,fe=l-Y,z.push(O(q(Y+De%fe,0))),G=b(De/fe);z.push(O(q(G,0))),U=M(w,re,E==C),w=0,++E}++w,++v}return z.join("")}function Re(h){return D(h,function(v){return S.test(v)?W(v.slice(4).toLowerCase()):v})}function be(h){return D(h,function(v){return F.test(v)?"xn--"+ee(v):v})}if(f={version:"1.4.1",ucs2:{decode:K,encode:k},decode:W,encode:ee,toASCII:be,toUnicode:Re},n&&a)if(r.exports==n)a.exports=f;else for(N in f)f.hasOwnProperty(N)&&(n[N]=f[N]);else t.punycode=f})(ne.commonjsGlobal)})(Ae,Ae.exports);var Kr=Ae.exports;const kr=ne.getDefaultExportFromCjs(Kr),Gr=ne.getAugmentedNamespace(Hr.__viteBrowserExternal);var Ze=typeof Map=="function"&&Map.prototype,Le=Object.getOwnPropertyDescriptor&&Ze?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Te=Ze&&Le&&typeof Le.get=="function"?Le.get:null,er=Ze&&Map.prototype.forEach,Xe=typeof Set=="function"&&Set.prototype,Fe=Object.getOwnPropertyDescriptor&&Xe?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,$e=Xe&&Fe&&typeof Fe.get=="function"?Fe.get:null,rr=Xe&&Set.prototype.forEach,Qr=typeof WeakMap=="function"&&WeakMap.prototype,de=Qr?WeakMap.prototype.has:null,Vr=typeof WeakSet=="function"&&WeakSet.prototype,me=Vr?WeakSet.prototype.has:null,Jr=typeof WeakRef=="function"&&WeakRef.prototype,tr=Jr?WeakRef.prototype.deref:null,Zr=Boolean.prototype.valueOf,Xr=Object.prototype.toString,Yr=Function.prototype.toString,jr=String.prototype.match,Ye=String.prototype.slice,te=String.prototype.replace,et=String.prototype.toUpperCase,nr=String.prototype.toLowerCase,gr=RegExp.prototype.test,ar=Array.prototype.concat,X=Array.prototype.join,rt=Array.prototype.slice,ir=Math.floor,Be=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Me=Object.getOwnPropertySymbols,ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,pe=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ve=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===pe||!0)?Symbol.toStringTag:null,wr=Object.prototype.propertyIsEnumerable,or=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function fr(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||gr.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-ir(-r):ir(r);if(n!==r){var a=String(n),i=Ye.call(e,a.length+1);return te.call(a,t,"$&_")+"."+te.call(te.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return te.call(e,t,"$&_")}var He=Gr,lr=He.custom,ur=xr(lr)?lr:null,Sr={__proto__:null,double:'"',single:"'"},tt={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},Ce=function r(e,t,n,a){var i=t||{};if(j(i,"quoteStyle")&&!j(Sr,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(j(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var f=j(i,"customInspect")?i.customInspect:!0;if(typeof f!="boolean"&&f!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(j(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(j(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var o=i.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Er(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var l=String(e);return o?fr(e,l):l}if(typeof e=="bigint"){var s=String(e)+"n";return o?fr(e,s):s}var c=typeof i.depth>"u"?5:i.depth;if(typeof n>"u"&&(n=0),n>=c&&c>0&&typeof e=="object")return Ke(e)?"[Array]":"[Object]";var m=St(i,n);if(typeof a>"u")a=[];else if(Or(a,e)>=0)return"[Circular]";function u(_,q,M){if(q&&(a=rt.call(a),a.push(q)),M){var W={depth:i.depth};return j(i,"quoteStyle")&&(W.quoteStyle=i.quoteStyle),r(_,W,n+1,a)}return r(_,i,n+1,a)}if(typeof e=="function"&&!sr(e)){var d=ct(e),g=xe(e,u);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(g.length>0?" { "+X.call(g,", ")+" }":"")}if(xr(e)){var I=pe?te.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):ze.call(e);return typeof e=="object"&&!pe?ye(I):I}if(vt(e)){for(var S="<"+nr.call(String(e.nodeName)),F=e.attributes||[],y=0;y<F.length;y++)S+=" "+F[y].name+"="+br(nt(F[y].value),"double",i);return S+=">",e.childNodes&&e.childNodes.length&&(S+="..."),S+="</"+nr.call(String(e.nodeName))+">",S}if(Ke(e)){if(e.length===0)return"[]";var p=xe(e,u);return m&&!wt(p)?"["+ke(p,m)+"]":"[ "+X.call(p,", ")+" ]"}if(it(e)){var x=xe(e,u);return!("cause"in Error.prototype)&&"cause"in e&&!wr.call(e,"cause")?"{ ["+String(e)+"] "+X.call(ar.call("[cause]: "+u(e.cause),x),", ")+" }":x.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+X.call(x,", ")+" }"}if(typeof e=="object"&&f){if(ur&&typeof e[ur]=="function"&&He)return He(e,{depth:c-n});if(f!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(ht(e)){var b=[];return er&&er.call(e,function(_,q){b.push(u(q,e,!0)+" => "+u(_,e))}),cr("Map",Te.call(e),b,m)}if(dt(e)){var O=[];return rr&&rr.call(e,function(_){O.push(u(_,e))}),cr("Set",$e.call(e),O,m)}if(pt(e))return Pe("WeakMap");if(mt(e))return Pe("WeakSet");if(yt(e))return Pe("WeakRef");if(ft(e))return ye(u(Number(e)));if(ut(e))return ye(u(Be.call(e)));if(lt(e))return ye(Zr.call(e));if(ot(e))return ye(u(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof ne.commonjsGlobal<"u"&&e===ne.commonjsGlobal)return"{ [object globalThis] }";if(!at(e)&&!sr(e)){var N=xe(e,u),T=or?or(e)===Object.prototype:e instanceof Object||e.constructor===Object,$=e instanceof Object?"":"null prototype",D=!T&&ve&&Object(e)===e&&ve in e?Ye.call(oe(e),8,-1):$?"Object":"",K=T||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",k=K+(D||$?"["+X.call(ar.call([],D||[],$||[]),": ")+"] ":"");return N.length===0?k+"{}":m?k+"{"+ke(N,m)+"}":k+"{ "+X.call(N,", ")+" }"}return String(e)};function br(r,e,t){var n=t.quoteStyle||e,a=Sr[n];return a+r+a}function nt(r){return te.call(String(r),/"/g,"&quot;")}function se(r){return!ve||!(typeof r=="object"&&(ve in r||typeof r[ve]<"u"))}function Ke(r){return oe(r)==="[object Array]"&&se(r)}function at(r){return oe(r)==="[object Date]"&&se(r)}function sr(r){return oe(r)==="[object RegExp]"&&se(r)}function it(r){return oe(r)==="[object Error]"&&se(r)}function ot(r){return oe(r)==="[object String]"&&se(r)}function ft(r){return oe(r)==="[object Number]"&&se(r)}function lt(r){return oe(r)==="[object Boolean]"&&se(r)}function xr(r){if(pe)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!ze)return!1;try{return ze.call(r),!0}catch{}return!1}function ut(r){if(!r||typeof r!="object"||!Be)return!1;try{return Be.call(r),!0}catch{}return!1}var st=Object.prototype.hasOwnProperty||function(r){return r in this};function j(r,e){return st.call(r,e)}function oe(r){return Xr.call(r)}function ct(r){if(r.name)return r.name;var e=jr.call(Yr.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function Or(r,e){if(r.indexOf)return r.indexOf(e);for(var t=0,n=r.length;t<n;t++)if(r[t]===e)return t;return-1}function ht(r){if(!Te||!r||typeof r!="object")return!1;try{Te.call(r);try{$e.call(r)}catch{return!0}return r instanceof Map}catch{}return!1}function pt(r){if(!de||!r||typeof r!="object")return!1;try{de.call(r,de);try{me.call(r,me)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function yt(r){if(!tr||!r||typeof r!="object")return!1;try{return tr.call(r),!0}catch{}return!1}function dt(r){if(!$e||!r||typeof r!="object")return!1;try{$e.call(r);try{Te.call(r)}catch{return!0}return r instanceof Set}catch{}return!1}function mt(r){if(!me||!r||typeof r!="object")return!1;try{me.call(r,me);try{de.call(r,de)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function vt(r){return!r||typeof r!="object"?!1:typeof HTMLElement<"u"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function Er(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return Er(Ye.call(r,0,e.maxStringLength),e)+n}var a=tt[e.quoteStyle||"single"];a.lastIndex=0;var i=te.call(te.call(r,a,"\\$1"),/[\x00-\x1f]/g,gt);return br(i,"single",e)}function gt(r){var e=r.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+et.call(e.toString(16))}function ye(r){return"Object("+r+")"}function Pe(r){return r+" { ? }"}function cr(r,e,t,n){var a=n?ke(t,n):X.call(t,", ");return r+" ("+e+") {"+a+"}"}function wt(r){for(var e=0;e<r.length;e++)if(Or(r[e],`
1
+ "use strict";const ne=require("./jszip-ChlzEvf9.cjs"),ie=require("./xml-js-Zwb1wsIy.cjs"),Hr=require("./__vite-browser-external-ChNNClnV.cjs");var Ae={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */Ae.exports;(function(r,e){(function(t){var n=e&&!e.nodeType&&e,a=r&&!r.nodeType&&r,i=typeof ne.commonjsGlobal=="object"&&ne.commonjsGlobal;(i.global===i||i.window===i||i.self===i)&&(t=i);var f,o=2147483647,l=36,s=1,c=26,m=38,u=700,d=72,g=128,I="-",S=/^xn--/,F=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},x=l-s,b=Math.floor,O=String.fromCharCode,N;function T(h){throw new RangeError(p[h])}function $(h,v){for(var w=h.length,E=[];w--;)E[w]=v(h[w]);return E}function D(h,v){var w=h.split("@"),E="";w.length>1&&(E=w[0]+"@",h=w[1]),h=h.replace(y,".");var C=h.split("."),U=$(C,v).join(".");return E+U}function K(h){for(var v=[],w=0,E=h.length,C,U;w<E;)C=h.charCodeAt(w++),C>=55296&&C<=56319&&w<E?(U=h.charCodeAt(w++),(U&64512)==56320?v.push(((C&1023)<<10)+(U&1023)+65536):(v.push(C),w--)):v.push(C);return v}function k(h){return $(h,function(v){var w="";return v>65535&&(v-=65536,w+=O(v>>>10&1023|55296),v=56320|v&1023),w+=O(v),w}).join("")}function _(h){return h-48<10?h-22:h-65<26?h-65:h-97<26?h-97:l}function q(h,v){return h+22+75*(h<26)-((v!=0)<<5)}function M(h,v,w){var E=0;for(h=w?b(h/u):h>>1,h+=b(h/v);h>x*c>>1;E+=l)h=b(h/x);return b(E+(x+1)*h/(h+m))}function W(h){var v=[],w=h.length,E,C=0,U=g,L=d,B,G,V,Y,P,z,Q,re,fe;for(B=h.lastIndexOf(I),B<0&&(B=0),G=0;G<B;++G)h.charCodeAt(G)>=128&&T("not-basic"),v.push(h.charCodeAt(G));for(V=B>0?B+1:0;V<w;){for(Y=C,P=1,z=l;V>=w&&T("invalid-input"),Q=_(h.charCodeAt(V++)),(Q>=l||Q>b((o-C)/P))&&T("overflow"),C+=Q*P,re=z<=L?s:z>=L+c?c:z-L,!(Q<re);z+=l)fe=l-re,P>b(o/fe)&&T("overflow"),P*=fe;E=v.length+1,L=M(C-Y,E,Y==0),b(C/E)>o-U&&T("overflow"),U+=b(C/E),C%=E,v.splice(C++,0,U)}return k(v)}function ee(h){var v,w,E,C,U,L,B,G,V,Y,P,z=[],Q,re,fe,De;for(h=K(h),Q=h.length,v=g,w=0,U=d,L=0;L<Q;++L)P=h[L],P<128&&z.push(O(P));for(E=C=z.length,C&&z.push(I);E<Q;){for(B=o,L=0;L<Q;++L)P=h[L],P>=v&&P<B&&(B=P);for(re=E+1,B-v>b((o-w)/re)&&T("overflow"),w+=(B-v)*re,v=B,L=0;L<Q;++L)if(P=h[L],P<v&&++w>o&&T("overflow"),P==v){for(G=w,V=l;Y=V<=U?s:V>=U+c?c:V-U,!(G<Y);V+=l)De=G-Y,fe=l-Y,z.push(O(q(Y+De%fe,0))),G=b(De/fe);z.push(O(q(G,0))),U=M(w,re,E==C),w=0,++E}++w,++v}return z.join("")}function Re(h){return D(h,function(v){return S.test(v)?W(v.slice(4).toLowerCase()):v})}function be(h){return D(h,function(v){return F.test(v)?"xn--"+ee(v):v})}if(f={version:"1.4.1",ucs2:{decode:K,encode:k},decode:W,encode:ee,toASCII:be,toUnicode:Re},n&&a)if(r.exports==n)a.exports=f;else for(N in f)f.hasOwnProperty(N)&&(n[N]=f[N]);else t.punycode=f})(ne.commonjsGlobal)})(Ae,Ae.exports);var Kr=Ae.exports;const kr=ne.getDefaultExportFromCjs(Kr),Gr=ne.getAugmentedNamespace(Hr.__viteBrowserExternal);var Ze=typeof Map=="function"&&Map.prototype,Le=Object.getOwnPropertyDescriptor&&Ze?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Te=Ze&&Le&&typeof Le.get=="function"?Le.get:null,er=Ze&&Map.prototype.forEach,Xe=typeof Set=="function"&&Set.prototype,Fe=Object.getOwnPropertyDescriptor&&Xe?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,$e=Xe&&Fe&&typeof Fe.get=="function"?Fe.get:null,rr=Xe&&Set.prototype.forEach,Qr=typeof WeakMap=="function"&&WeakMap.prototype,de=Qr?WeakMap.prototype.has:null,Vr=typeof WeakSet=="function"&&WeakSet.prototype,me=Vr?WeakSet.prototype.has:null,Jr=typeof WeakRef=="function"&&WeakRef.prototype,tr=Jr?WeakRef.prototype.deref:null,Zr=Boolean.prototype.valueOf,Xr=Object.prototype.toString,Yr=Function.prototype.toString,jr=String.prototype.match,Ye=String.prototype.slice,te=String.prototype.replace,et=String.prototype.toUpperCase,nr=String.prototype.toLowerCase,gr=RegExp.prototype.test,ar=Array.prototype.concat,X=Array.prototype.join,rt=Array.prototype.slice,ir=Math.floor,Be=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Me=Object.getOwnPropertySymbols,ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,pe=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ve=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===pe||!0)?Symbol.toStringTag:null,wr=Object.prototype.propertyIsEnumerable,or=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function fr(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||gr.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-ir(-r):ir(r);if(n!==r){var a=String(n),i=Ye.call(e,a.length+1);return te.call(a,t,"$&_")+"."+te.call(te.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return te.call(e,t,"$&_")}var He=Gr,lr=He.custom,ur=xr(lr)?lr:null,Sr={__proto__:null,double:'"',single:"'"},tt={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},Ce=function r(e,t,n,a){var i=t||{};if(j(i,"quoteStyle")&&!j(Sr,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(j(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var f=j(i,"customInspect")?i.customInspect:!0;if(typeof f!="boolean"&&f!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(j(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(j(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var o=i.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Er(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var l=String(e);return o?fr(e,l):l}if(typeof e=="bigint"){var s=String(e)+"n";return o?fr(e,s):s}var c=typeof i.depth>"u"?5:i.depth;if(typeof n>"u"&&(n=0),n>=c&&c>0&&typeof e=="object")return Ke(e)?"[Array]":"[Object]";var m=St(i,n);if(typeof a>"u")a=[];else if(Or(a,e)>=0)return"[Circular]";function u(_,q,M){if(q&&(a=rt.call(a),a.push(q)),M){var W={depth:i.depth};return j(i,"quoteStyle")&&(W.quoteStyle=i.quoteStyle),r(_,W,n+1,a)}return r(_,i,n+1,a)}if(typeof e=="function"&&!sr(e)){var d=ct(e),g=xe(e,u);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(g.length>0?" { "+X.call(g,", ")+" }":"")}if(xr(e)){var I=pe?te.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):ze.call(e);return typeof e=="object"&&!pe?ye(I):I}if(vt(e)){for(var S="<"+nr.call(String(e.nodeName)),F=e.attributes||[],y=0;y<F.length;y++)S+=" "+F[y].name+"="+br(nt(F[y].value),"double",i);return S+=">",e.childNodes&&e.childNodes.length&&(S+="..."),S+="</"+nr.call(String(e.nodeName))+">",S}if(Ke(e)){if(e.length===0)return"[]";var p=xe(e,u);return m&&!wt(p)?"["+ke(p,m)+"]":"[ "+X.call(p,", ")+" ]"}if(it(e)){var x=xe(e,u);return!("cause"in Error.prototype)&&"cause"in e&&!wr.call(e,"cause")?"{ ["+String(e)+"] "+X.call(ar.call("[cause]: "+u(e.cause),x),", ")+" }":x.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+X.call(x,", ")+" }"}if(typeof e=="object"&&f){if(ur&&typeof e[ur]=="function"&&He)return He(e,{depth:c-n});if(f!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(ht(e)){var b=[];return er&&er.call(e,function(_,q){b.push(u(q,e,!0)+" => "+u(_,e))}),cr("Map",Te.call(e),b,m)}if(dt(e)){var O=[];return rr&&rr.call(e,function(_){O.push(u(_,e))}),cr("Set",$e.call(e),O,m)}if(pt(e))return Pe("WeakMap");if(mt(e))return Pe("WeakSet");if(yt(e))return Pe("WeakRef");if(ft(e))return ye(u(Number(e)));if(ut(e))return ye(u(Be.call(e)));if(lt(e))return ye(Zr.call(e));if(ot(e))return ye(u(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof ne.commonjsGlobal<"u"&&e===ne.commonjsGlobal)return"{ [object globalThis] }";if(!at(e)&&!sr(e)){var N=xe(e,u),T=or?or(e)===Object.prototype:e instanceof Object||e.constructor===Object,$=e instanceof Object?"":"null prototype",D=!T&&ve&&Object(e)===e&&ve in e?Ye.call(oe(e),8,-1):$?"Object":"",K=T||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",k=K+(D||$?"["+X.call(ar.call([],D||[],$||[]),": ")+"] ":"");return N.length===0?k+"{}":m?k+"{"+ke(N,m)+"}":k+"{ "+X.call(N,", ")+" }"}return String(e)};function br(r,e,t){var n=t.quoteStyle||e,a=Sr[n];return a+r+a}function nt(r){return te.call(String(r),/"/g,"&quot;")}function se(r){return!ve||!(typeof r=="object"&&(ve in r||typeof r[ve]<"u"))}function Ke(r){return oe(r)==="[object Array]"&&se(r)}function at(r){return oe(r)==="[object Date]"&&se(r)}function sr(r){return oe(r)==="[object RegExp]"&&se(r)}function it(r){return oe(r)==="[object Error]"&&se(r)}function ot(r){return oe(r)==="[object String]"&&se(r)}function ft(r){return oe(r)==="[object Number]"&&se(r)}function lt(r){return oe(r)==="[object Boolean]"&&se(r)}function xr(r){if(pe)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!ze)return!1;try{return ze.call(r),!0}catch{}return!1}function ut(r){if(!r||typeof r!="object"||!Be)return!1;try{return Be.call(r),!0}catch{}return!1}var st=Object.prototype.hasOwnProperty||function(r){return r in this};function j(r,e){return st.call(r,e)}function oe(r){return Xr.call(r)}function ct(r){if(r.name)return r.name;var e=jr.call(Yr.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function Or(r,e){if(r.indexOf)return r.indexOf(e);for(var t=0,n=r.length;t<n;t++)if(r[t]===e)return t;return-1}function ht(r){if(!Te||!r||typeof r!="object")return!1;try{Te.call(r);try{$e.call(r)}catch{return!0}return r instanceof Map}catch{}return!1}function pt(r){if(!de||!r||typeof r!="object")return!1;try{de.call(r,de);try{me.call(r,me)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function yt(r){if(!tr||!r||typeof r!="object")return!1;try{return tr.call(r),!0}catch{}return!1}function dt(r){if(!$e||!r||typeof r!="object")return!1;try{$e.call(r);try{Te.call(r)}catch{return!0}return r instanceof Set}catch{}return!1}function mt(r){if(!me||!r||typeof r!="object")return!1;try{me.call(r,me);try{de.call(r,de)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function vt(r){return!r||typeof r!="object"?!1:typeof HTMLElement<"u"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function Er(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return Er(Ye.call(r,0,e.maxStringLength),e)+n}var a=tt[e.quoteStyle||"single"];a.lastIndex=0;var i=te.call(te.call(r,a,"\\$1"),/[\x00-\x1f]/g,gt);return br(i,"single",e)}function gt(r){var e=r.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+et.call(e.toString(16))}function ye(r){return"Object("+r+")"}function Pe(r){return r+" { ? }"}function cr(r,e,t,n){var a=n?ke(t,n):X.call(t,", ");return r+" ("+e+") {"+a+"}"}function wt(r){for(var e=0;e<r.length;e++)if(Or(r[e],`
2
2
  `)>=0)return!1;return!0}function St(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=X.call(Array(r.indent+1)," ");else return null;return{base:t,prev:X.call(Array(e+1),t)}}function ke(r,e){if(r.length===0)return"";var t=`
3
3
  `+e.prev+e.base;return t+X.call(r,","+t)+`
4
4
  `+e.prev}function xe(r,e){var t=Ke(r),n=[];if(t){n.length=r.length;for(var a=0;a<r.length;a++)n[a]=j(r,a)?e(r[a],r):""}var i=typeof Me=="function"?Me(r):[],f;if(pe){f={};for(var o=0;o<i.length;o++)f["$"+i[o]]=i[o]}for(var l in r)j(r,l)&&(t&&String(Number(l))===l&&l<r.length||pe&&f["$"+l]instanceof Symbol||(gr.call(/[^\w$]/,l)?n.push(e(l,r)+": "+e(r[l],r)):n.push(l+": "+e(r[l],r))));if(typeof Me=="function")for(var s=0;s<i.length;s++)wr.call(r,i[s])&&n.push("["+e(i[s])+"]: "+e(r[i[s]],r));return n}var bt=Ce,xt=ie.type,Ie=function(r,e,t){for(var n=r,a;(a=n.next)!=null;n=a)if(a.key===e)return n.next=a.next,t||(a.next=r.next,r.next=a),a},Ot=function(r,e){if(r){var t=Ie(r,e);return t&&t.value}},Et=function(r,e,t){var n=Ie(r,e);n?n.value=t:r.next={key:e,next:r.next,value:t}},At=function(r,e){return r?!!Ie(r,e):!1},Tt=function(r,e){if(r)return Ie(r,e,!0)},$t=function(){var e,t={assert:function(n){if(!t.has(n))throw new xt("Side channel does not contain "+bt(n))},delete:function(n){var a=e&&e.next,i=Tt(e,n);return i&&a&&a===i&&(e=void 0),!!i},get:function(n){return Ot(e,n)},has:function(n){return At(e,n)},set:function(n,a){e||(e={next:void 0}),Et(e,n,a)}};return t},Ct=ie.getIntrinsic,we=ie.callBound,It=Ce,_t=ie.type,hr=Ct("%Map%",!0),Rt=we("Map.prototype.get",!0),Dt=we("Map.prototype.set",!0),Lt=we("Map.prototype.has",!0),Ft=we("Map.prototype.delete",!0),Mt=we("Map.prototype.size",!0),Ar=!!hr&&function(){var e,t={assert:function(n){if(!t.has(n))throw new _t("Side channel does not contain "+It(n))},delete:function(n){if(e){var a=Ft(e,n);return Mt(e)===0&&(e=void 0),a}return!1},get:function(n){if(e)return Rt(e,n)},has:function(n){return e?Lt(e,n):!1},set:function(n,a){e||(e=new hr),Dt(e,n,a)}};return t},Pt=ie.getIntrinsic,_e=ie.callBound,Nt=Ce,Oe=Ar,qt=ie.type,ce=Pt("%WeakMap%",!0),Ut=_e("WeakMap.prototype.get",!0),Wt=_e("WeakMap.prototype.set",!0),Bt=_e("WeakMap.prototype.has",!0),zt=_e("WeakMap.prototype.delete",!0),Ht=ce?function(){var e,t,n={assert:function(a){if(!n.has(a))throw new qt("Side channel does not contain "+Nt(a))},delete:function(a){if(ce&&a&&(typeof a=="object"||typeof a=="function")){if(e)return zt(e,a)}else if(Oe&&t)return t.delete(a);return!1},get:function(a){return ce&&a&&(typeof a=="object"||typeof a=="function")&&e?Ut(e,a):t&&t.get(a)},has:function(a){return ce&&a&&(typeof a=="object"||typeof a=="function")&&e?Bt(e,a):!!t&&t.has(a)},set:function(a,i){ce&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new ce),Wt(e,a,i)):Oe&&(t||(t=Oe()),t.set(a,i))}};return n}:Oe,Kt=ie.type,kt=Ce,Gt=$t,Qt=Ar,Vt=Ht,Jt=Vt||Qt||Gt,Zt=function(){var e,t={assert:function(n){if(!t.has(n))throw new Kt("Side channel does not contain "+kt(n))},delete:function(n){return!!e&&e.delete(n)},get:function(n){return e&&e.get(n)},has:function(n){return!!e&&e.has(n)},set:function(n,a){e||(e=Jt()),e.set(n,a)}};return t},Xt=String.prototype.replace,Yt=/%20/g,Ne={RFC1738:"RFC1738",RFC3986:"RFC3986"},je={default:Ne.RFC3986,formatters:{RFC1738:function(r){return Xt.call(r,Yt,"+")},RFC3986:function(r){return String(r)}},RFC1738:Ne.RFC1738,RFC3986:Ne.RFC3986},jt=je,qe=Object.prototype.hasOwnProperty,le=Array.isArray,J=function(){for(var r=[],e=0;e<256;++e)r.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return r}(),en=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(le(n)){for(var a=[],i=0;i<n.length;++i)typeof n[i]<"u"&&a.push(n[i]);t.obj[t.prop]=a}}},Tr=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},a=0;a<e.length;++a)typeof e[a]<"u"&&(n[a]=e[a]);return n},rn=function r(e,t,n){if(!t)return e;if(typeof t!="object"&&typeof t!="function"){if(le(e))e.push(t);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!qe.call(Object.prototype,t))&&(e[t]=!0);else return[e,t];return e}if(!e||typeof e!="object")return[e].concat(t);var a=e;return le(e)&&!le(t)&&(a=Tr(e,n)),le(e)&&le(t)?(t.forEach(function(i,f){if(qe.call(e,f)){var o=e[f];o&&typeof o=="object"&&i&&typeof i=="object"?e[f]=r(o,i,n):e.push(i)}else e[f]=i}),e):Object.keys(t).reduce(function(i,f){var o=t[f];return qe.call(i,f)?i[f]=r(i[f],o,n):i[f]=o,i},a)},tn=function(e,t){return Object.keys(t).reduce(function(n,a){return n[a]=t[a],n},e)},nn=function(r,e,t){var n=r.replace(/\+/g," ");if(t==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},Ue=1024,an=function(e,t,n,a,i){if(e.length===0)return e;var f=e;if(typeof e=="symbol"?f=Symbol.prototype.toString.call(e):typeof e!="string"&&(f=String(e)),n==="iso-8859-1")return escape(f).replace(/%u[0-9a-f]{4}/gi,function(d){return"%26%23"+parseInt(d.slice(2),16)+"%3B"});for(var o="",l=0;l<f.length;l+=Ue){for(var s=f.length>=Ue?f.slice(l,l+Ue):f,c=[],m=0;m<s.length;++m){var u=s.charCodeAt(m);if(u===45||u===46||u===95||u===126||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||i===jt.RFC1738&&(u===40||u===41)){c[c.length]=s.charAt(m);continue}if(u<128){c[c.length]=J[u];continue}if(u<2048){c[c.length]=J[192|u>>6]+J[128|u&63];continue}if(u<55296||u>=57344){c[c.length]=J[224|u>>12]+J[128|u>>6&63]+J[128|u&63];continue}m+=1,u=65536+((u&1023)<<10|s.charCodeAt(m)&1023),c[c.length]=J[240|u>>18]+J[128|u>>12&63]+J[128|u>>6&63]+J[128|u&63]}o+=c.join("")}return o},on=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],a=0;a<t.length;++a)for(var i=t[a],f=i.obj[i.prop],o=Object.keys(f),l=0;l<o.length;++l){var s=o[l],c=f[s];typeof c=="object"&&c!==null&&n.indexOf(c)===-1&&(t.push({obj:f,prop:s}),n.push(c))}return en(t),e},fn=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},ln=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},un=function(e,t){return[].concat(e,t)},sn=function(e,t){if(le(e)){for(var n=[],a=0;a<e.length;a+=1)n.push(t(e[a]));return n}return t(e)},$r={arrayToObject:Tr,assign:tn,combine:un,compact:on,decode:nn,encode:an,isBuffer:ln,isRegExp:fn,maybeMap:sn,merge:rn},Cr=Zt,Ee=$r,ge=je,cn=Object.prototype.hasOwnProperty,Ir={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},Z=Array.isArray,hn=Array.prototype.push,_r=function(r,e){hn.apply(r,Z(e)?e:[e])},pn=Date.prototype.toISOString,pr=ge.default,R={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Ee.encode,encodeValuesOnly:!1,filter:void 0,format:pr,formatter:ge.formatters[pr],indices:!1,serializeDate:function(e){return pn.call(e)},skipNulls:!1,strictNullHandling:!1},yn=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},We={},dn=function r(e,t,n,a,i,f,o,l,s,c,m,u,d,g,I,S,F,y){for(var p=e,x=y,b=0,O=!1;(x=x.get(We))!==void 0&&!O;){var N=x.get(e);if(b+=1,typeof N<"u"){if(N===b)throw new RangeError("Cyclic object value");O=!0}typeof x.get(We)>"u"&&(b=0)}if(typeof c=="function"?p=c(t,p):p instanceof Date?p=d(p):n==="comma"&&Z(p)&&(p=Ee.maybeMap(p,function(h){return h instanceof Date?d(h):h})),p===null){if(f)return s&&!S?s(t,R.encoder,F,"key",g):t;p=""}if(yn(p)||Ee.isBuffer(p)){if(s){var T=S?t:s(t,R.encoder,F,"key",g);return[I(T)+"="+I(s(p,R.encoder,F,"value",g))]}return[I(t)+"="+I(String(p))]}var $=[];if(typeof p>"u")return $;var D;if(n==="comma"&&Z(p))S&&s&&(p=Ee.maybeMap(p,s)),D=[{value:p.length>0?p.join(",")||null:void 0}];else if(Z(c))D=c;else{var K=Object.keys(p);D=m?K.sort(m):K}var k=l?String(t).replace(/\./g,"%2E"):String(t),_=a&&Z(p)&&p.length===1?k+"[]":k;if(i&&Z(p)&&p.length===0)return _+"[]";for(var q=0;q<D.length;++q){var M=D[q],W=typeof M=="object"&&M&&typeof M.value<"u"?M.value:p[M];if(!(o&&W===null)){var ee=u&&l?String(M).replace(/\./g,"%2E"):String(M),Re=Z(p)?typeof n=="function"?n(_,ee):_:_+(u?"."+ee:"["+ee+"]");y.set(e,b);var be=Cr();be.set(We,y),_r($,r(W,Re,n,a,i,f,o,l,n==="comma"&&S&&Z(p)?null:s,c,m,u,d,g,I,S,F,be))}}return $},mn=function(e){if(!e)return R;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var t=e.charset||R.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=ge.default;if(typeof e.format<"u"){if(!cn.call(ge.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var a=ge.formatters[n],i=R.filter;(typeof e.filter=="function"||Z(e.filter))&&(i=e.filter);var f;if(e.arrayFormat in Ir?f=e.arrayFormat:"indices"in e?f=e.indices?"indices":"repeat":f=R.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var o=typeof e.allowDots>"u"?e.encodeDotInKeys===!0?!0:R.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:R.addQueryPrefix,allowDots:o,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:R.allowEmptyArrays,arrayFormat:f,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:R.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?R.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:R.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:R.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:R.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:R.encodeValuesOnly,filter:i,format:n,formatter:a,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:R.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:R.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:R.strictNullHandling}},vn=function(r,e){var t=r,n=mn(e),a,i;typeof n.filter=="function"?(i=n.filter,t=i("",t)):Z(n.filter)&&(i=n.filter,a=i);var f=[];if(typeof t!="object"||t===null)return"";var o=Ir[n.arrayFormat],l=o==="comma"&&n.commaRoundTrip;a||(a=Object.keys(t)),n.sort&&a.sort(n.sort);for(var s=Cr(),c=0;c<a.length;++c){var m=a[c],u=t[m];n.skipNulls&&u===null||_r(f,dn(u,m,o,l,n.allowEmptyArrays,n.strictNullHandling,n.skipNulls,n.encodeDotInKeys,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,s))}var d=f.join(n.delimiter),g=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?g+="utf8=%26%2310003%3B&":g+="utf8=%E2%9C%93&"),d.length>0?g+d:""},ue=$r,Ge=Object.prototype.hasOwnProperty,yr=Array.isArray,A={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:ue.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},gn=function(r){return r.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},Rr=function(r,e,t){if(r&&typeof r=="string"&&e.comma&&r.indexOf(",")>-1)return r.split(",");if(e.throwOnLimitExceeded&&t>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(e.arrayLimit===1?"":"s")+" allowed in an array.");return r},wn="utf8=%26%2310003%3B",Sn="utf8=%E2%9C%93",bn=function(e,t){var n={__proto__:null},a=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;a=a.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var i=t.parameterLimit===1/0?void 0:t.parameterLimit,f=a.split(t.delimiter,t.throwOnLimitExceeded?i+1:i);if(t.throwOnLimitExceeded&&f.length>i)throw new RangeError("Parameter limit exceeded. Only "+i+" parameter"+(i===1?"":"s")+" allowed.");var o=-1,l,s=t.charset;if(t.charsetSentinel)for(l=0;l<f.length;++l)f[l].indexOf("utf8=")===0&&(f[l]===Sn?s="utf-8":f[l]===wn&&(s="iso-8859-1"),o=l,l=f.length);for(l=0;l<f.length;++l)if(l!==o){var c=f[l],m=c.indexOf("]="),u=m===-1?c.indexOf("="):m+1,d,g;u===-1?(d=t.decoder(c,A.decoder,s,"key"),g=t.strictNullHandling?null:""):(d=t.decoder(c.slice(0,u),A.decoder,s,"key"),g=ue.maybeMap(Rr(c.slice(u+1),t,yr(n[d])?n[d].length:0),function(S){return t.decoder(S,A.decoder,s,"value")})),g&&t.interpretNumericEntities&&s==="iso-8859-1"&&(g=gn(String(g))),c.indexOf("[]=")>-1&&(g=yr(g)?[g]:g);var I=Ge.call(n,d);I&&t.duplicates==="combine"?n[d]=ue.combine(n[d],g):(!I||t.duplicates==="last")&&(n[d]=g)}return n},xn=function(r,e,t,n){var a=0;if(r.length>0&&r[r.length-1]==="[]"){var i=r.slice(0,-1).join("");a=Array.isArray(e)&&e[i]?e[i].length:0}for(var f=n?e:Rr(e,t,a),o=r.length-1;o>=0;--o){var l,s=r[o];if(s==="[]"&&t.parseArrays)l=t.allowEmptyArrays&&(f===""||t.strictNullHandling&&f===null)?[]:ue.combine([],f);else{l=t.plainObjects?{__proto__:null}:{};var c=s.charAt(0)==="["&&s.charAt(s.length-1)==="]"?s.slice(1,-1):s,m=t.decodeDotInKeys?c.replace(/%2E/g,"."):c,u=parseInt(m,10);!t.parseArrays&&m===""?l={0:f}:!isNaN(u)&&s!==m&&String(u)===m&&u>=0&&t.parseArrays&&u<=t.arrayLimit?(l=[],l[u]=f):m!=="__proto__"&&(l[m]=f)}f=l}return f},On=function(e,t,n,a){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,f=/(\[[^[\]]*])/,o=/(\[[^[\]]*])/g,l=n.depth>0&&f.exec(i),s=l?i.slice(0,l.index):i,c=[];if(s){if(!n.plainObjects&&Ge.call(Object.prototype,s)&&!n.allowPrototypes)return;c.push(s)}for(var m=0;n.depth>0&&(l=o.exec(i))!==null&&m<n.depth;){if(m+=1,!n.plainObjects&&Ge.call(Object.prototype,l[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(l[1])}if(l){if(n.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");c.push("["+i.slice(l.index)+"]")}return xn(c,t,n,a)}},En=function(e){if(!e)return A;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.decodeDotInKeys<"u"&&typeof e.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&typeof e.decoder<"u"&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof e.throwOnLimitExceeded<"u"&&typeof e.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=typeof e.charset>"u"?A.charset:e.charset,n=typeof e.duplicates>"u"?A.duplicates:e.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var a=typeof e.allowDots>"u"?e.decodeDotInKeys===!0?!0:A.allowDots:!!e.allowDots;return{allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:A.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:A.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:A.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:A.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:A.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:A.comma,decodeDotInKeys:typeof e.decodeDotInKeys=="boolean"?e.decodeDotInKeys:A.decodeDotInKeys,decoder:typeof e.decoder=="function"?e.decoder:A.decoder,delimiter:typeof e.delimiter=="string"||ue.isRegExp(e.delimiter)?e.delimiter:A.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:A.depth,duplicates:n,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:A.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:A.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:A.plainObjects,strictDepth:typeof e.strictDepth=="boolean"?!!e.strictDepth:A.strictDepth,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:A.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded=="boolean"?e.throwOnLimitExceeded:!1}},An=function(r,e){var t=En(e);if(r===""||r===null||typeof r>"u")return t.plainObjects?{__proto__:null}:{};for(var n=typeof r=="string"?bn(r,t):r,a=t.plainObjects?{__proto__:null}:{},i=Object.keys(n),f=0;f<i.length;++f){var o=i[f],l=On(o,n[o],t,typeof r=="string");a=ue.merge(a,l,t)}return t.allowSparse===!0?a:ue.compact(a)},Tn=vn,$n=An,Cn=je,In={formats:Cn,parse:$n,stringify:Tn};const _n=ne.getDefaultExportFromCjs(In);var Rn=kr;function H(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var Dn=/^([a-z0-9.+-]+:)/i,Ln=/:[0-9]*$/,Fn=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,Mn=["<",">",'"',"`"," ","\r",`
@@ -1,5 +1,5 @@
1
1
  import { c as pe, g as gr, a as Qr } from "./jszip-CxAhBy-b.es.js";
2
- import { t as $e, g as wr, c as Sr } from "./xml-js-COexJRRq.es.js";
2
+ import { t as $e, g as wr, c as Sr } from "./xml-js--d8FG5HY.es.js";
3
3
  import { _ as Gr } from "./__vite-browser-external-YbutIfMq.es.js";
4
4
  var Ee = { exports: {} };
5
5
  /*! https://mths.be/punycode v1.4.1 by @mathias */