piral-configs
Version:
Plugin for dynamic configurations of pilets in Piral.
5 lines • 81.3 kB
JavaScript
var piralConfigs=(()=>{var ja=Object.create;var Xe=Object.defineProperty;var Ba=Object.getOwnPropertyDescriptor;var Ua=Object.getOwnPropertyNames;var Va=Object.getPrototypeOf,Wa=Object.prototype.hasOwnProperty;var g=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ka=(t,e)=>{for(var r in e)Xe(t,r,{get:e[r],enumerable:!0})},ft=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Ua(e))!Wa.call(t,a)&&a!==r&&Xe(t,a,{get:()=>e[a],enumerable:!(n=Ba(e,a))||n.enumerable});return t};var Ga=(t,e,r)=>(r=t!=null?ja(Va(t)):{},ft(e||!t||!t.__esModule?Xe(r,"default",{value:t,enumerable:!0}):r,t)),Ha=t=>ft(Xe({},"__esModule",{value:!0}),t);var ut=g((Oe,Pe)=>{(function(t){var e=typeof Oe=="object"&&Oe&&!Oe.nodeType&&Oe,r=typeof Pe=="object"&&Pe&&!Pe.nodeType&&Pe,n=typeof global=="object"&&global;(n.global===n||n.window===n||n.self===n)&&(t=n);var a,i=2147483647,o=36,f=1,u=26,l=38,p=700,d=72,s=128,c="-",m=/^xn--/,x=/[^\x20-\x7E]/,E=/[\x2E\u3002\uFF0E\uFF61]/g,N={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=o-f,y=Math.floor,O=String.fromCharCode,$;function P(h){throw new RangeError(N[h])}function W(h,A){for(var b=h.length,q=[];b--;)q[b]=A(h[b]);return q}function L(h,A){var b=h.split("@"),q="";b.length>1&&(q=b[0]+"@",h=b[1]),h=h.replace(E,".");var M=h.split("."),V=W(M,A).join(".");return q+V}function R(h){for(var A=[],b=0,q=h.length,M,V;b<q;)M=h.charCodeAt(b++),M>=55296&&M<=56319&&b<q?(V=h.charCodeAt(b++),(V&64512)==56320?A.push(((M&1023)<<10)+(V&1023)+65536):(A.push(M),b--)):A.push(M);return A}function C(h){return W(h,function(A){var b="";return A>65535&&(A-=65536,b+=O(A>>>10&1023|55296),A=56320|A&1023),b+=O(A),b}).join("")}function te(h){return h-48<10?h-22:h-65<26?h-65:h-97<26?h-97:o}function X(h,A){return h+22+75*(h<26)-((A!=0)<<5)}function _(h,A,b){var q=0;for(h=b?y(h/p):h>>1,h+=y(h/A);h>v*u>>1;q+=o)h=y(h/v);return y(q+(v+1)*h/(h+l))}function U(h){var A=[],b=h.length,q,M=0,V=s,T=d,k,Y,ne,le,B,K,ee,ce,ge;for(k=h.lastIndexOf(c),k<0&&(k=0),Y=0;Y<k;++Y)h.charCodeAt(Y)>=128&&P("not-basic"),A.push(h.charCodeAt(Y));for(ne=k>0?k+1:0;ne<b;){for(le=M,B=1,K=o;ne>=b&&P("invalid-input"),ee=te(h.charCodeAt(ne++)),(ee>=o||ee>y((i-M)/B))&&P("overflow"),M+=ee*B,ce=K<=T?f:K>=T+u?u:K-T,!(ee<ce);K+=o)ge=o-ce,B>y(i/ge)&&P("overflow"),B*=ge;q=A.length+1,T=_(M-le,q,le==0),y(M/q)>i-V&&P("overflow"),V+=y(M/q),M%=q,A.splice(M++,0,V)}return C(A)}function j(h){var A,b,q,M,V,T,k,Y,ne,le,B,K=[],ee,ce,ge,gr;for(h=R(h),ee=h.length,A=s,b=0,V=d,T=0;T<ee;++T)B=h[T],B<128&&K.push(O(B));for(q=M=K.length,M&&K.push(c);q<ee;){for(k=i,T=0;T<ee;++T)B=h[T],B>=A&&B<k&&(k=B);for(ce=q+1,k-A>y((i-b)/ce)&&P("overflow"),b+=(k-A)*ce,A=k,T=0;T<ee;++T)if(B=h[T],B<A&&++b>i&&P("overflow"),B==A){for(Y=b,ne=o;le=ne<=V?f:ne>=V+u?u:ne-V,!(Y<le);ne+=o)gr=Y-le,ge=o-le,K.push(O(X(le+gr%ge,0))),Y=y(gr/ge);K.push(O(X(Y,0))),V=_(b,ce,q==M),b=0,++q}++b,++A}return K.join("")}function J(h){return L(h,function(A){return m.test(A)?U(A.slice(4).toLowerCase()):A})}function ve(h){return L(h,function(A){return x.test(A)?"xn--"+j(A):A})}if(a={version:"1.4.1",ucs2:{decode:R,encode:C},decode:U,encode:j,toASCII:ve,toUnicode:J},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return a});else if(e&&r)if(Pe.exports==e)r.exports=a;else for($ in a)a.hasOwnProperty($)&&(e[$]=a[$]);else t.punycode=a})(Oe)});var Ae=g((Hf,lt)=>{"use strict";lt.exports=TypeError});var st=g(()=>{});var je=g((Qf,It)=>{var $r=typeof Map=="function"&&Map.prototype,Ar=Object.getOwnPropertyDescriptor&&$r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,er=$r&&Ar&&typeof Ar.get=="function"?Ar.get:null,pt=$r&&Map.prototype.forEach,qr=typeof Set=="function"&&Set.prototype,wr=Object.getOwnPropertyDescriptor&&qr?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,rr=qr&&wr&&typeof wr.get=="function"?wr.get:null,ct=qr&&Set.prototype.forEach,Ja=typeof WeakMap=="function"&&WeakMap.prototype,Te=Ja?WeakMap.prototype.has:null,Ka=typeof WeakSet=="function"&&WeakSet.prototype,Ne=Ka?WeakSet.prototype.has:null,Qa=typeof WeakRef=="function"&&WeakRef.prototype,dt=Qa?WeakRef.prototype.deref:null,Xa=Boolean.prototype.valueOf,Ya=Object.prototype.toString,ei=Function.prototype.toString,ri=String.prototype.match,Ir=String.prototype.slice,de=String.prototype.replace,ti=String.prototype.toUpperCase,yt=String.prototype.toLowerCase,Ft=RegExp.prototype.test,ht=Array.prototype.concat,ae=Array.prototype.join,ni=Array.prototype.slice,mt=Math.floor,Fr=typeof BigInt=="function"?BigInt.prototype.valueOf:null,br=Object.getOwnPropertySymbols,Er=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,$e=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Le=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===$e||!0)?Symbol.toStringTag:null,Et=Object.prototype.propertyIsEnumerable,vt=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function gt(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||Ft.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-mt(-t):mt(t);if(n!==t){var a=String(n),i=Ir.call(e,a.length+1);return de.call(a,r,"$&_")+"."+de.call(de.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return de.call(e,r,"$&_")}var xr=st(),At=xr.custom,wt=Pt(At)?At:null,xt={__proto__:null,double:'"',single:"'"},ai={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};It.exports=function t(e,r,n,a){var i=r||{};if(se(i,"quoteStyle")&&!se(xt,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(se(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 o=se(i,"customInspect")?i.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(se(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(se(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var f=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 qt(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var u=String(e);return f?gt(e,u):u}if(typeof e=="bigint"){var l=String(e)+"n";return f?gt(e,l):l}var p=typeof i.depth>"u"?5:i.depth;if(typeof n>"u"&&(n=0),n>=p&&p>0&&typeof e=="object")return Or(e)?"[Array]":"[Object]";var d=Si(i,n);if(typeof a>"u")a=[];else if($t(a,e)>=0)return"[Circular]";function s(_,U,j){if(U&&(a=ni.call(a),a.push(U)),j){var J={depth:i.depth};return se(i,"quoteStyle")&&(J.quoteStyle=i.quoteStyle),t(_,J,n+1,a)}return t(_,i,n+1,a)}if(typeof e=="function"&&!bt(e)){var c=di(e),m=Ye(e,s);return"[Function"+(c?": "+c:" (anonymous)")+"]"+(m.length>0?" { "+ae.call(m,", ")+" }":"")}if(Pt(e)){var x=$e?de.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Er.call(e);return typeof e=="object"&&!$e?Ze(x):x}if(Ai(e)){for(var E="<"+yt.call(String(e.nodeName)),N=e.attributes||[],v=0;v<N.length;v++)E+=" "+N[v].name+"="+Ot(ii(N[v].value),"double",i);return E+=">",e.childNodes&&e.childNodes.length&&(E+="..."),E+="</"+yt.call(String(e.nodeName))+">",E}if(Or(e)){if(e.length===0)return"[]";var y=Ye(e,s);return d&&!bi(y)?"["+Pr(y,d)+"]":"[ "+ae.call(y,", ")+" ]"}if(fi(e)){var O=Ye(e,s);return!("cause"in Error.prototype)&&"cause"in e&&!Et.call(e,"cause")?"{ ["+String(e)+"] "+ae.call(ht.call("[cause]: "+s(e.cause),O),", ")+" }":O.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+ae.call(O,", ")+" }"}if(typeof e=="object"&&o){if(wt&&typeof e[wt]=="function"&&xr)return xr(e,{depth:p-n});if(o!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(yi(e)){var $=[];return pt&&pt.call(e,function(_,U){$.push(s(U,e,!0)+" => "+s(_,e))}),St("Map",er.call(e),$,d)}if(vi(e)){var P=[];return ct&&ct.call(e,function(_){P.push(s(_,e))}),St("Set",rr.call(e),P,d)}if(hi(e))return Sr("WeakMap");if(gi(e))return Sr("WeakSet");if(mi(e))return Sr("WeakRef");if(li(e))return Ze(s(Number(e)));if(pi(e))return Ze(s(Fr.call(e)));if(si(e))return Ze(Xa.call(e));if(ui(e))return Ze(s(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof global<"u"&&e===global)return"{ [object globalThis] }";if(!oi(e)&&!bt(e)){var W=Ye(e,s),L=vt?vt(e)===Object.prototype:e instanceof Object||e.constructor===Object,R=e instanceof Object?"":"null prototype",C=!L&&Le&&Object(e)===e&&Le in e?Ir.call(ye(e),8,-1):R?"Object":"",te=L||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",X=te+(C||R?"["+ae.call(ht.call([],C||[],R||[]),": ")+"] ":"");return W.length===0?X+"{}":d?X+"{"+Pr(W,d)+"}":X+"{ "+ae.call(W,", ")+" }"}return String(e)};function Ot(t,e,r){var n=r.quoteStyle||e,a=xt[n];return a+t+a}function ii(t){return de.call(String(t),/"/g,""")}function we(t){return!Le||!(typeof t=="object"&&(Le in t||typeof t[Le]<"u"))}function Or(t){return ye(t)==="[object Array]"&&we(t)}function oi(t){return ye(t)==="[object Date]"&&we(t)}function bt(t){return ye(t)==="[object RegExp]"&&we(t)}function fi(t){return ye(t)==="[object Error]"&&we(t)}function ui(t){return ye(t)==="[object String]"&&we(t)}function li(t){return ye(t)==="[object Number]"&&we(t)}function si(t){return ye(t)==="[object Boolean]"&&we(t)}function Pt(t){if($e)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!Er)return!1;try{return Er.call(t),!0}catch{}return!1}function pi(t){if(!t||typeof t!="object"||!Fr)return!1;try{return Fr.call(t),!0}catch{}return!1}var ci=Object.prototype.hasOwnProperty||function(t){return t in this};function se(t,e){return ci.call(t,e)}function ye(t){return Ya.call(t)}function di(t){if(t.name)return t.name;var e=ri.call(ei.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function $t(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function yi(t){if(!er||!t||typeof t!="object")return!1;try{er.call(t);try{rr.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function hi(t){if(!Te||!t||typeof t!="object")return!1;try{Te.call(t,Te);try{Ne.call(t,Ne)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function mi(t){if(!dt||!t||typeof t!="object")return!1;try{return dt.call(t),!0}catch{}return!1}function vi(t){if(!rr||!t||typeof t!="object")return!1;try{rr.call(t);try{er.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function gi(t){if(!Ne||!t||typeof t!="object")return!1;try{Ne.call(t,Ne);try{Te.call(t,Te)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function Ai(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function qt(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return qt(Ir.call(t,0,e.maxStringLength),e)+n}var a=ai[e.quoteStyle||"single"];a.lastIndex=0;var i=de.call(de.call(t,a,"\\$1"),/[\x00-\x1f]/g,wi);return Ot(i,"single",e)}function wi(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+ti.call(e.toString(16))}function Ze(t){return"Object("+t+")"}function Sr(t){return t+" { ? }"}function St(t,e,r,n){var a=n?Pr(r,n):ae.call(r,", ");return t+" ("+e+") {"+a+"}"}function bi(t){for(var e=0;e<t.length;e++)if($t(t[e],`
`)>=0)return!1;return!0}function Si(t,e){var r;if(t.indent===" ")r=" ";else if(typeof t.indent=="number"&&t.indent>0)r=ae.call(Array(t.indent+1)," ");else return null;return{base:r,prev:ae.call(Array(e+1),r)}}function Pr(t,e){if(t.length===0)return"";var r=`
`+e.prev+e.base;return r+ae.call(t,","+r)+`
`+e.prev}function Ye(t,e){var r=Or(t),n=[];if(r){n.length=t.length;for(var a=0;a<t.length;a++)n[a]=se(t,a)?e(t[a],t):""}var i=typeof br=="function"?br(t):[],o;if($e){o={};for(var f=0;f<i.length;f++)o["$"+i[f]]=i[f]}for(var u in t)se(t,u)&&(r&&String(Number(u))===u&&u<t.length||$e&&o["$"+u]instanceof Symbol||(Ft.call(/[^\w$]/,u)?n.push(e(u,t)+": "+e(t[u],t)):n.push(u+": "+e(t[u],t))));if(typeof br=="function")for(var l=0;l<i.length;l++)Et.call(t,i[l])&&n.push("["+e(i[l])+"]: "+e(t[i[l]],t));return n}});var Mt=g((Xf,Rt)=>{"use strict";var Fi=je(),Ei=Ae(),tr=function(t,e,r){for(var n=t,a;(a=n.next)!=null;n=a)if(a.key===e)return n.next=a.next,r||(a.next=t.next,t.next=a),a},xi=function(t,e){if(t){var r=tr(t,e);return r&&r.value}},Oi=function(t,e,r){var n=tr(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}},Pi=function(t,e){return t?!!tr(t,e):!1},$i=function(t,e){if(t)return tr(t,e,!0)};Rt.exports=function(){var e,r={assert:function(n){if(!r.has(n))throw new Ei("Side channel does not contain "+Fi(n))},delete:function(n){var a=e&&e.next,i=$i(e,n);return i&&a&&a===i&&(e=void 0),!!i},get:function(n){return xi(e,n)},has:function(n){return Pi(e,n)},set:function(n,a){e||(e={next:void 0}),Oi(e,n,a)}};return r}});var Rr=g((Yf,_t)=>{"use strict";_t.exports=Object});var Ct=g((eu,zt)=>{"use strict";zt.exports=Error});var Zt=g((ru,Dt)=>{"use strict";Dt.exports=EvalError});var Nt=g((tu,Tt)=>{"use strict";Tt.exports=RangeError});var jt=g((nu,Lt)=>{"use strict";Lt.exports=ReferenceError});var Ut=g((au,Bt)=>{"use strict";Bt.exports=SyntaxError});var Wt=g((iu,Vt)=>{"use strict";Vt.exports=URIError});var Gt=g((ou,kt)=>{"use strict";kt.exports=Math.abs});var Jt=g((fu,Ht)=>{"use strict";Ht.exports=Math.floor});var Qt=g((uu,Kt)=>{"use strict";Kt.exports=Math.max});var Yt=g((lu,Xt)=>{"use strict";Xt.exports=Math.min});var rn=g((su,en)=>{"use strict";en.exports=Math.pow});var nn=g((pu,tn)=>{"use strict";tn.exports=Math.round});var on=g((cu,an)=>{"use strict";an.exports=Number.isNaN||function(e){return e!==e}});var un=g((du,fn)=>{"use strict";var qi=on();fn.exports=function(e){return qi(e)||e===0?e:e<0?-1:1}});var sn=g((yu,ln)=>{"use strict";ln.exports=Object.getOwnPropertyDescriptor});var Mr=g((hu,pn)=>{"use strict";var nr=sn();if(nr)try{nr([],"length")}catch{nr=null}pn.exports=nr});var dn=g((mu,cn)=>{"use strict";var ar=Object.defineProperty||!1;if(ar)try{ar({},"a",{value:1})}catch{ar=!1}cn.exports=ar});var hn=g((vu,yn)=>{"use strict";yn.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;e[r]=a;for(var i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(e,r);if(f.value!==a||f.enumerable!==!0)return!1}return!0}});var gn=g((gu,vn)=>{"use strict";var mn=typeof Symbol<"u"&&Symbol,Ii=hn();vn.exports=function(){return typeof mn!="function"||typeof Symbol!="function"||typeof mn("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Ii()}});var _r=g((Au,An)=>{"use strict";An.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var zr=g((wu,wn)=>{"use strict";var Ri=Rr();wn.exports=Ri.getPrototypeOf||null});var Fn=g((bu,Sn)=>{"use strict";var Mi="Function.prototype.bind called on incompatible ",_i=Object.prototype.toString,zi=Math.max,Ci="[object Function]",bn=function(e,r){for(var n=[],a=0;a<e.length;a+=1)n[a]=e[a];for(var i=0;i<r.length;i+=1)n[i+e.length]=r[i];return n},Di=function(e,r){for(var n=[],a=r||0,i=0;a<e.length;a+=1,i+=1)n[i]=e[a];return n},Zi=function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r};Sn.exports=function(e){var r=this;if(typeof r!="function"||_i.apply(r)!==Ci)throw new TypeError(Mi+r);for(var n=Di(arguments,1),a,i=function(){if(this instanceof a){var p=r.apply(this,bn(n,arguments));return Object(p)===p?p:this}return r.apply(e,bn(n,arguments))},o=zi(0,r.length-n.length),f=[],u=0;u<o;u++)f[u]="$"+u;if(a=Function("binder","return function ("+Zi(f,",")+"){ return binder.apply(this,arguments); }")(i),r.prototype){var l=function(){};l.prototype=r.prototype,a.prototype=new l,l.prototype=null}return a}});var Be=g((Su,En)=>{"use strict";var Ti=Fn();En.exports=Function.prototype.bind||Ti});var ir=g((Fu,xn)=>{"use strict";xn.exports=Function.prototype.call});var Cr=g((Eu,On)=>{"use strict";On.exports=Function.prototype.apply});var $n=g((xu,Pn)=>{"use strict";Pn.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var In=g((Ou,qn)=>{"use strict";var Ni=Be(),Li=Cr(),ji=ir(),Bi=$n();qn.exports=Bi||Ni.call(ji,Li)});var Dr=g((Pu,Rn)=>{"use strict";var Ui=Be(),Vi=Ae(),Wi=ir(),ki=In();Rn.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new Vi("a function is required");return ki(Ui,Wi,e)}});var Zn=g(($u,Dn)=>{"use strict";var Gi=Dr(),Mn=Mr(),zn;try{zn=[].__proto__===Array.prototype}catch(t){if(!t||typeof t!="object"||!("code"in t)||t.code!=="ERR_PROTO_ACCESS")throw t}var Zr=!!zn&&Mn&&Mn(Object.prototype,"__proto__"),Cn=Object,_n=Cn.getPrototypeOf;Dn.exports=Zr&&typeof Zr.get=="function"?Gi([Zr.get]):typeof _n=="function"?function(e){return _n(e==null?e:Cn(e))}:!1});var Bn=g((qu,jn)=>{"use strict";var Tn=_r(),Nn=zr(),Ln=Zn();jn.exports=Tn?function(e){return Tn(e)}:Nn?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return Nn(e)}:Ln?function(e){return Ln(e)}:null});var Vn=g((Iu,Un)=>{"use strict";var Hi=Function.prototype.call,Ji=Object.prototype.hasOwnProperty,Ki=Be();Un.exports=Ki.call(Hi,Ji)});var ur=g((Ru,Kn)=>{"use strict";var w,Qi=Rr(),Xi=Ct(),Yi=Zt(),eo=Nt(),ro=jt(),Me=Ut(),Re=Ae(),to=Wt(),no=Gt(),ao=Jt(),io=Qt(),oo=Yt(),fo=rn(),uo=nn(),lo=un(),Hn=Function,Tr=function(t){try{return Hn('"use strict"; return ('+t+").constructor;")()}catch{}},Ue=Mr(),so=dn(),Nr=function(){throw new Re},po=Ue?(function(){try{return arguments.callee,Nr}catch{try{return Ue(arguments,"callee").get}catch{return Nr}}})():Nr,qe=gn()(),D=Bn(),co=zr(),yo=_r(),Jn=Cr(),Ve=ir(),Ie={},ho=typeof Uint8Array>"u"||!D?w:D(Uint8Array),be={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?w:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?w:ArrayBuffer,"%ArrayIteratorPrototype%":qe&&D?D([][Symbol.iterator]()):w,"%AsyncFromSyncIteratorPrototype%":w,"%AsyncFunction%":Ie,"%AsyncGenerator%":Ie,"%AsyncGeneratorFunction%":Ie,"%AsyncIteratorPrototype%":Ie,"%Atomics%":typeof Atomics>"u"?w:Atomics,"%BigInt%":typeof BigInt>"u"?w:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?w:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?w:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?w:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Xi,"%eval%":eval,"%EvalError%":Yi,"%Float16Array%":typeof Float16Array>"u"?w:Float16Array,"%Float32Array%":typeof Float32Array>"u"?w:Float32Array,"%Float64Array%":typeof Float64Array>"u"?w:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?w:FinalizationRegistry,"%Function%":Hn,"%GeneratorFunction%":Ie,"%Int8Array%":typeof Int8Array>"u"?w:Int8Array,"%Int16Array%":typeof Int16Array>"u"?w:Int16Array,"%Int32Array%":typeof Int32Array>"u"?w:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":qe&&D?D(D([][Symbol.iterator]())):w,"%JSON%":typeof JSON=="object"?JSON:w,"%Map%":typeof Map>"u"?w:Map,"%MapIteratorPrototype%":typeof Map>"u"||!qe||!D?w:D(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Qi,"%Object.getOwnPropertyDescriptor%":Ue,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?w:Promise,"%Proxy%":typeof Proxy>"u"?w:Proxy,"%RangeError%":eo,"%ReferenceError%":ro,"%Reflect%":typeof Reflect>"u"?w:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?w:Set,"%SetIteratorPrototype%":typeof Set>"u"||!qe||!D?w:D(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?w:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":qe&&D?D(""[Symbol.iterator]()):w,"%Symbol%":qe?Symbol:w,"%SyntaxError%":Me,"%ThrowTypeError%":po,"%TypedArray%":ho,"%TypeError%":Re,"%Uint8Array%":typeof Uint8Array>"u"?w:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?w:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?w:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?w:Uint32Array,"%URIError%":to,"%WeakMap%":typeof WeakMap>"u"?w:WeakMap,"%WeakRef%":typeof WeakRef>"u"?w:WeakRef,"%WeakSet%":typeof WeakSet>"u"?w:WeakSet,"%Function.prototype.call%":Ve,"%Function.prototype.apply%":Jn,"%Object.defineProperty%":so,"%Object.getPrototypeOf%":co,"%Math.abs%":no,"%Math.floor%":ao,"%Math.max%":io,"%Math.min%":oo,"%Math.pow%":fo,"%Math.round%":uo,"%Math.sign%":lo,"%Reflect.getPrototypeOf%":yo};if(D)try{null.error}catch(t){Wn=D(D(t)),be["%Error.prototype%"]=Wn}var Wn,mo=function t(e){var r;if(e==="%AsyncFunction%")r=Tr("async function () {}");else if(e==="%GeneratorFunction%")r=Tr("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=Tr("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var a=t("%AsyncGenerator%");a&&D&&(r=D(a.prototype))}return be[e]=r,r},kn={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},We=Be(),or=Vn(),vo=We.call(Ve,Array.prototype.concat),go=We.call(Jn,Array.prototype.splice),Gn=We.call(Ve,String.prototype.replace),fr=We.call(Ve,String.prototype.slice),Ao=We.call(Ve,RegExp.prototype.exec),wo=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,bo=/\\(\\)?/g,So=function(e){var r=fr(e,0,1),n=fr(e,-1);if(r==="%"&&n!=="%")throw new Me("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Me("invalid intrinsic syntax, expected opening `%`");var a=[];return Gn(e,wo,function(i,o,f,u){a[a.length]=f?Gn(u,bo,"$1"):o||i}),a},Fo=function(e,r){var n=e,a;if(or(kn,n)&&(a=kn[n],n="%"+a[0]+"%"),or(be,n)){var i=be[n];if(i===Ie&&(i=mo(n)),typeof i>"u"&&!r)throw new Re("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:i}}throw new Me("intrinsic "+e+" does not exist!")};Kn.exports=function(e,r){if(typeof e!="string"||e.length===0)throw new Re("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Re('"allowMissing" argument must be a boolean');if(Ao(/^%?[^%]*%?$/,e)===null)throw new Me("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=So(e),a=n.length>0?n[0]:"",i=Fo("%"+a+"%",r),o=i.name,f=i.value,u=!1,l=i.alias;l&&(a=l[0],go(n,vo([0,1],l)));for(var p=1,d=!0;p<n.length;p+=1){var s=n[p],c=fr(s,0,1),m=fr(s,-1);if((c==='"'||c==="'"||c==="`"||m==='"'||m==="'"||m==="`")&&c!==m)throw new Me("property names with quotes must have matching quotes");if((s==="constructor"||!d)&&(u=!0),a+="."+s,o="%"+a+"%",or(be,o))f=be[o];else if(f!=null){if(!(s in f)){if(!r)throw new Re("base intrinsic for "+e+" exists, but the property is not available.");return}if(Ue&&p+1>=n.length){var x=Ue(f,s);d=!!x,d&&"get"in x&&!("originalValue"in x.get)?f=x.get:f=f[s]}else d=or(f,s),f=f[s];d&&!u&&(be[o]=f)}}return f}});var Lr=g((Mu,Yn)=>{"use strict";var Qn=ur(),Xn=Dr(),Eo=Xn([Qn("%String.prototype.indexOf%")]);Yn.exports=function(e,r){var n=Qn(e,!!r);return typeof n=="function"&&Eo(e,".prototype.")>-1?Xn([n]):n}});var jr=g((_u,ra)=>{"use strict";var xo=ur(),ke=Lr(),Oo=je(),Po=Ae(),ea=xo("%Map%",!0),$o=ke("Map.prototype.get",!0),qo=ke("Map.prototype.set",!0),Io=ke("Map.prototype.has",!0),Ro=ke("Map.prototype.delete",!0),Mo=ke("Map.prototype.size",!0);ra.exports=!!ea&&function(){var e,r={assert:function(n){if(!r.has(n))throw new Po("Side channel does not contain "+Oo(n))},delete:function(n){if(e){var a=Ro(e,n);return Mo(e)===0&&(e=void 0),a}return!1},get:function(n){if(e)return $o(e,n)},has:function(n){return e?Io(e,n):!1},set:function(n,a){e||(e=new ea),qo(e,n,a)}};return r}});var na=g((zu,ta)=>{"use strict";var _o=ur(),sr=Lr(),zo=je(),lr=jr(),Co=Ae(),_e=_o("%WeakMap%",!0),Do=sr("WeakMap.prototype.get",!0),Zo=sr("WeakMap.prototype.set",!0),To=sr("WeakMap.prototype.has",!0),No=sr("WeakMap.prototype.delete",!0);ta.exports=_e?function(){var e,r,n={assert:function(a){if(!n.has(a))throw new Co("Side channel does not contain "+zo(a))},delete:function(a){if(_e&&a&&(typeof a=="object"||typeof a=="function")){if(e)return No(e,a)}else if(lr&&r)return r.delete(a);return!1},get:function(a){return _e&&a&&(typeof a=="object"||typeof a=="function")&&e?Do(e,a):r&&r.get(a)},has:function(a){return _e&&a&&(typeof a=="object"||typeof a=="function")&&e?To(e,a):!!r&&r.has(a)},set:function(a,i){_e&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new _e),Zo(e,a,i)):lr&&(r||(r=lr()),r.set(a,i))}};return n}:lr});var Br=g((Cu,aa)=>{"use strict";var Lo=Ae(),jo=je(),Bo=Mt(),Uo=jr(),Vo=na(),Wo=Vo||Uo||Bo;aa.exports=function(){var e,r={assert:function(n){if(!r.has(n))throw new Lo("Side channel does not contain "+jo(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=Wo()),e.set(n,a)}};return r}});var pr=g((Du,ia)=>{"use strict";var ko=String.prototype.replace,Go=/%20/g,Ur={RFC1738:"RFC1738",RFC3986:"RFC3986"};ia.exports={default:Ur.RFC3986,formatters:{RFC1738:function(t){return ko.call(t,Go,"+")},RFC3986:function(t){return String(t)}},RFC1738:Ur.RFC1738,RFC3986:Ur.RFC3986}});var Gr=g((Zu,oa)=>{"use strict";var Ho=pr(),Jo=Br(),Vr=Object.prototype.hasOwnProperty,Se=Array.isArray,cr=Jo(),ze=function(e,r){return cr.set(e,r),e},Fe=function(e){return cr.has(e)},Ge=function(e){return cr.get(e)},kr=function(e,r){cr.set(e,r)},ie=(function(){for(var t=[],e=0;e<256;++e)t[t.length]="%"+((e<16?"0":"")+e.toString(16)).toUpperCase();return t})(),Ko=function(e){for(;e.length>1;){var r=e.pop(),n=r.obj[r.prop];if(Se(n)){for(var a=[],i=0;i<n.length;++i)typeof n[i]<"u"&&(a[a.length]=n[i]);r.obj[r.prop]=a}}},He=function(e,r){for(var n=r&&r.plainObjects?{__proto__:null}:{},a=0;a<e.length;++a)typeof e[a]<"u"&&(n[a]=e[a]);return n},Qo=function t(e,r,n){if(!r)return e;if(typeof r!="object"&&typeof r!="function"){if(Se(e)){var a=e.length;if(n&&typeof n.arrayLimit=="number"&&a>n.arrayLimit)return ze(He(e.concat(r),n),a);e[a]=r}else if(e&&typeof e=="object")if(Fe(e)){var i=Ge(e)+1;e[i]=r,kr(e,i)}else(n&&(n.plainObjects||n.allowPrototypes)||!Vr.call(Object.prototype,r))&&(e[r]=!0);else return[e,r];return e}if(!e||typeof e!="object"){if(Fe(r)){for(var o=Object.keys(r),f=n&&n.plainObjects?{__proto__:null,0:e}:{0:e},u=0;u<o.length;u++){var l=parseInt(o[u],10);f[l+1]=r[o[u]]}return ze(f,Ge(r)+1)}var p=[e].concat(r);return n&&typeof n.arrayLimit=="number"&&p.length>n.arrayLimit?ze(He(p,n),p.length-1):p}var d=e;return Se(e)&&!Se(r)&&(d=He(e,n)),Se(e)&&Se(r)?(r.forEach(function(s,c){if(Vr.call(e,c)){var m=e[c];m&&typeof m=="object"&&s&&typeof s=="object"?e[c]=t(m,s,n):e[e.length]=s}else e[c]=s}),e):Object.keys(r).reduce(function(s,c){var m=r[c];if(Vr.call(s,c)?s[c]=t(s[c],m,n):s[c]=m,Fe(r)&&!Fe(s)&&ze(s,Ge(r)),Fe(s)){var x=parseInt(c,10);String(x)===c&&x>=0&&x>Ge(s)&&kr(s,x)}return s},d)},Xo=function(e,r){return Object.keys(r).reduce(function(n,a){return n[a]=r[a],n},e)},Yo=function(t,e,r){var n=t.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},Wr=1024,ef=function(e,r,n,a,i){if(e.length===0)return e;var o=e;if(typeof e=="symbol"?o=Symbol.prototype.toString.call(e):typeof e!="string"&&(o=String(e)),n==="iso-8859-1")return escape(o).replace(/%u[0-9a-f]{4}/gi,function(c){return"%26%23"+parseInt(c.slice(2),16)+"%3B"});for(var f="",u=0;u<o.length;u+=Wr){for(var l=o.length>=Wr?o.slice(u,u+Wr):o,p=[],d=0;d<l.length;++d){var s=l.charCodeAt(d);if(s===45||s===46||s===95||s===126||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||i===Ho.RFC1738&&(s===40||s===41)){p[p.length]=l.charAt(d);continue}if(s<128){p[p.length]=ie[s];continue}if(s<2048){p[p.length]=ie[192|s>>6]+ie[128|s&63];continue}if(s<55296||s>=57344){p[p.length]=ie[224|s>>12]+ie[128|s>>6&63]+ie[128|s&63];continue}d+=1,s=65536+((s&1023)<<10|l.charCodeAt(d)&1023),p[p.length]=ie[240|s>>18]+ie[128|s>>12&63]+ie[128|s>>6&63]+ie[128|s&63]}f+=p.join("")}return f},rf=function(e){for(var r=[{obj:{o:e},prop:"o"}],n=[],a=0;a<r.length;++a)for(var i=r[a],o=i.obj[i.prop],f=Object.keys(o),u=0;u<f.length;++u){var l=f[u],p=o[l];typeof p=="object"&&p!==null&&n.indexOf(p)===-1&&(r[r.length]={obj:o,prop:l},n[n.length]=p)}return Ko(r),e},tf=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},nf=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},af=function(e,r,n,a){if(Fe(e)){var i=Ge(e)+1;return e[i]=r,kr(e,i),e}var o=[].concat(e,r);return o.length>n?ze(He(o,{plainObjects:a}),o.length-1):o},of=function(e,r){if(Se(e)){for(var n=[],a=0;a<e.length;a+=1)n[n.length]=r(e[a]);return n}return r(e)};oa.exports={arrayToObject:He,assign:Xo,combine:af,compact:rf,decode:Yo,encode:ef,isBuffer:nf,isOverflow:Fe,isRegExp:tf,markOverflow:ze,maybeMap:of,merge:Qo}});var ca=g((Tu,pa)=>{"use strict";var ua=Br(),dr=Gr(),Je=pr(),ff=Object.prototype.hasOwnProperty,la={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,r){return e+"["+r+"]"},repeat:function(e){return e}},oe=Array.isArray,uf=Array.prototype.push,sa=function(t,e){uf.apply(t,oe(e)?e:[e])},lf=Date.prototype.toISOString,fa=Je.default,z={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:dr.encode,encodeValuesOnly:!1,filter:void 0,format:fa,formatter:Je.formatters[fa],indices:!1,serializeDate:function(e){return lf.call(e)},skipNulls:!1,strictNullHandling:!1},sf=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},Hr={},pf=function t(e,r,n,a,i,o,f,u,l,p,d,s,c,m,x,E,N,v){for(var y=e,O=v,$=0,P=!1;(O=O.get(Hr))!==void 0&&!P;){var W=O.get(e);if($+=1,typeof W<"u"){if(W===$)throw new RangeError("Cyclic object value");P=!0}typeof O.get(Hr)>"u"&&($=0)}if(typeof p=="function"?y=p(r,y):y instanceof Date?y=c(y):n==="comma"&&oe(y)&&(y=dr.maybeMap(y,function(b){return b instanceof Date?c(b):b})),y===null){if(o)return l&&!E?l(r,z.encoder,N,"key",m):r;y=""}if(sf(y)||dr.isBuffer(y)){if(l){var L=E?r:l(r,z.encoder,N,"key",m);return[x(L)+"="+x(l(y,z.encoder,N,"value",m))]}return[x(r)+"="+x(String(y))]}var R=[];if(typeof y>"u")return R;var C;if(n==="comma"&&oe(y))E&&l&&(y=dr.maybeMap(y,l)),C=[{value:y.length>0?y.join(",")||null:void 0}];else if(oe(p))C=p;else{var te=Object.keys(y);C=d?te.sort(d):te}var X=u?String(r).replace(/\./g,"%2E"):String(r),_=a&&oe(y)&&y.length===1?X+"[]":X;if(i&&oe(y)&&y.length===0)return _+"[]";for(var U=0;U<C.length;++U){var j=C[U],J=typeof j=="object"&&j&&typeof j.value<"u"?j.value:y[j];if(!(f&&J===null)){var ve=s&&u?String(j).replace(/\./g,"%2E"):String(j),h=oe(y)?typeof n=="function"?n(_,ve):_:_+(s?"."+ve:"["+ve+"]");v.set(e,$);var A=ua();A.set(Hr,v),sa(R,t(J,h,n,a,i,o,f,u,n==="comma"&&E&&oe(y)?null:l,p,d,s,c,m,x,E,N,A))}}return R},cf=function(e){if(!e)return z;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 r=e.charset||z.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=Je.default;if(typeof e.format<"u"){if(!ff.call(Je.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var a=Je.formatters[n],i=z.filter;(typeof e.filter=="function"||oe(e.filter))&&(i=e.filter);var o;if(e.arrayFormat in la?o=e.arrayFormat:"indices"in e?o=e.indices?"indices":"repeat":o=z.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var f=typeof e.allowDots>"u"?e.encodeDotInKeys===!0?!0:z.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:z.addQueryPrefix,allowDots:f,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:z.allowEmptyArrays,arrayFormat:o,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:z.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?z.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:z.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:z.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:z.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:z.encodeValuesOnly,filter:i,format:n,formatter:a,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:z.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:z.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:z.strictNullHandling}};pa.exports=function(t,e){var r=t,n=cf(e),a,i;typeof n.filter=="function"?(i=n.filter,r=i("",r)):oe(n.filter)&&(i=n.filter,a=i);var o=[];if(typeof r!="object"||r===null)return"";var f=la[n.arrayFormat],u=f==="comma"&&n.commaRoundTrip;a||(a=Object.keys(r)),n.sort&&a.sort(n.sort);for(var l=ua(),p=0;p<a.length;++p){var d=a[p],s=r[d];n.skipNulls&&s===null||sa(o,pf(s,d,f,u,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,l))}var c=o.join(n.delimiter),m=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?m+="utf8=%26%2310003%3B&":m+="utf8=%E2%9C%93&"),c.length>0?m+c:""}});var ha=g((Nu,ya)=>{"use strict";var fe=Gr(),yr=Object.prototype.hasOwnProperty,Jr=Array.isArray,I={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:fe.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},df=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},da=function(t,e,r){if(t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1)return t.split(",");if(e.throwOnLimitExceeded&&r>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(e.arrayLimit===1?"":"s")+" allowed in an array.");return t},yf="utf8=%26%2310003%3B",hf="utf8=%E2%9C%93",mf=function(e,r){var n={__proto__:null},a=r.ignoreQueryPrefix?e.replace(/^\?/,""):e;a=a.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var i=r.parameterLimit===1/0?void 0:r.parameterLimit,o=a.split(r.delimiter,r.throwOnLimitExceeded?i+1:i);if(r.throwOnLimitExceeded&&o.length>i)throw new RangeError("Parameter limit exceeded. Only "+i+" parameter"+(i===1?"":"s")+" allowed.");var f=-1,u,l=r.charset;if(r.charsetSentinel)for(u=0;u<o.length;++u)o[u].indexOf("utf8=")===0&&(o[u]===hf?l="utf-8":o[u]===yf&&(l="iso-8859-1"),f=u,u=o.length);for(u=0;u<o.length;++u)if(u!==f){var p=o[u],d=p.indexOf("]="),s=d===-1?p.indexOf("="):d+1,c,m;if(s===-1?(c=r.decoder(p,I.decoder,l,"key"),m=r.strictNullHandling?null:""):(c=r.decoder(p.slice(0,s),I.decoder,l,"key"),c!==null&&(m=fe.maybeMap(da(p.slice(s+1),r,Jr(n[c])?n[c].length:0),function(E){return r.decoder(E,I.decoder,l,"value")}))),m&&r.interpretNumericEntities&&l==="iso-8859-1"&&(m=df(String(m))),p.indexOf("[]=")>-1&&(m=Jr(m)?[m]:m),r.comma&&Jr(m)&&m.length>r.arrayLimit){if(r.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(r.arrayLimit===1?"":"s")+" allowed in an array.");m=fe.combine([],m,r.arrayLimit,r.plainObjects)}if(c!==null){var x=yr.call(n,c);x&&r.duplicates==="combine"?n[c]=fe.combine(n[c],m,r.arrayLimit,r.plainObjects):(!x||r.duplicates==="last")&&(n[c]=m)}}return n},vf=function(t,e,r,n){var a=0;if(t.length>0&&t[t.length-1]==="[]"){var i=t.slice(0,-1).join("");a=Array.isArray(e)&&e[i]?e[i].length:0}for(var o=n?e:da(e,r,a),f=t.length-1;f>=0;--f){var u,l=t[f];if(l==="[]"&&r.parseArrays)fe.isOverflow(o)?u=o:u=r.allowEmptyArrays&&(o===""||r.strictNullHandling&&o===null)?[]:fe.combine([],o,r.arrayLimit,r.plainObjects);else{u=r.plainObjects?{__proto__:null}:{};var p=l.charAt(0)==="["&&l.charAt(l.length-1)==="]"?l.slice(1,-1):l,d=r.decodeDotInKeys?p.replace(/%2E/g,"."):p,s=parseInt(d,10),c=!isNaN(s)&&l!==d&&String(s)===d&&s>=0&&r.parseArrays;if(!r.parseArrays&&d==="")u={0:o};else if(c&&s<r.arrayLimit)u=[],u[s]=o;else{if(c&&r.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(r.arrayLimit===1?"":"s")+" allowed in an array.");c?(u[s]=o,fe.markOverflow(u,s)):d!=="__proto__"&&(u[d]=o)}}o=u}return o},gf=function(e,r){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(r.depth<=0)return!r.plainObjects&&yr.call(Object.prototype,n)&&!r.allowPrototypes?void 0:[n];var a=/(\[[^[\]]*])/,i=/(\[[^[\]]*])/g,o=a.exec(n),f=o?n.slice(0,o.index):n,u=[];if(f){if(!r.plainObjects&&yr.call(Object.prototype,f)&&!r.allowPrototypes)return;u[u.length]=f}for(var l=0;(o=i.exec(n))!==null&&l<r.depth;){l+=1;var p=o[1].slice(1,-1);if(!r.plainObjects&&yr.call(Object.prototype,p)&&!r.allowPrototypes)return;u[u.length]=o[1]}if(o){if(r.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+r.depth+" and strictDepth is true");u[u.length]="["+n.slice(o.index)+"]"}return u},Af=function(e,r,n,a){if(e){var i=gf(e,n);if(i)return vf(i,r,n,a)}},wf=function(e){if(!e)return I;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 r=typeof e.charset>"u"?I.charset:e.charset,n=typeof e.duplicates>"u"?I.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:I.allowDots:!!e.allowDots;return{allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:I.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:I.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:I.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:I.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:I.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:I.comma,decodeDotInKeys:typeof e.decodeDotInKeys=="boolean"?e.decodeDotInKeys:I.decodeDotInKeys,decoder:typeof e.decoder=="function"?e.decoder:I.decoder,delimiter:typeof e.delimiter=="string"||fe.isRegExp(e.delimiter)?e.delimiter:I.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:I.depth,duplicates:n,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:I.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:I.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:I.plainObjects,strictDepth:typeof e.strictDepth=="boolean"?!!e.strictDepth:I.strictDepth,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:I.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded=="boolean"?e.throwOnLimitExceeded:!1}};ya.exports=function(t,e){var r=wf(e);if(t===""||t===null||typeof t>"u")return r.plainObjects?{__proto__:null}:{};for(var n=typeof t=="string"?mf(t,r):t,a=r.plainObjects?{__proto__:null}:{},i=Object.keys(n),o=0;o<i.length;++o){var f=i[o],u=Af(f,n[f],r,typeof t=="string");a=fe.merge(a,u,r)}return r.allowSparse===!0?a:fe.compact(a)}});var va=g((Lu,ma)=>{"use strict";var bf=ca(),Sf=ha(),Ff=pr();ma.exports={formats:Ff,parse:Sf,stringify:bf}});var hr=g(De=>{"use strict";var Ef=ut();function Q(){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 xf=/^([a-z0-9.+-]+:)/i,Of=/:[0-9]*$/,Pf=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,$f=["<",">",'"',"`"," ","\r",`
`," "],qf=["{","}","|","\\","^","`"].concat($f),Kr=["'"].concat(qf),ga=["%","/","?",";","#"].concat(Kr),Aa=["/","?","#"],If=255,wa=/^[+a-z0-9A-Z_-]{0,63}$/,Rf=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Mf={javascript:!0,"javascript:":!0},Qr={javascript:!0,"javascript:":!0},Ce={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Xr=va();function Ke(t,e,r){if(t&&typeof t=="object"&&t instanceof Q)return t;var n=new Q;return n.parse(t,e,r),n}Q.prototype.parse=function(t,e,r){if(typeof t!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t.indexOf("?"),a=n!==-1&&n<t.indexOf("#")?"?":"#",i=t.split(a),o=/\\/g;i[0]=i[0].replace(o,"/"),t=i.join(a);var f=t;if(f=f.trim(),!r&&t.split("#").length===1){var u=Pf.exec(f);if(u)return this.path=f,this.href=f,this.pathname=u[1],u[2]?(this.search=u[2],e?this.query=Xr.parse(this.search.substr(1)):this.query=this.search.substr(1)):e&&(this.search="",this.query={}),this}var l=xf.exec(f);if(l){l=l[0];var p=l.toLowerCase();this.protocol=p,f=f.substr(l.length)}if(r||l||f.match(/^\/\/[^@/]+@[^@/]+/)){var d=f.substr(0,2)==="//";d&&!(l&&Qr[l])&&(f=f.substr(2),this.slashes=!0)}if(!Qr[l]&&(d||l&&!Ce[l])){for(var s=-1,c=0;c<Aa.length;c++){var m=f.indexOf(Aa[c]);m!==-1&&(s===-1||m<s)&&(s=m)}var x,E;s===-1?E=f.lastIndexOf("@"):E=f.lastIndexOf("@",s),E!==-1&&(x=f.slice(0,E),f=f.slice(E+1),this.auth=decodeURIComponent(x)),s=-1;for(var c=0;c<ga.length;c++){var m=f.indexOf(ga[c]);m!==-1&&(s===-1||m<s)&&(s=m)}s===-1&&(s=f.length),this.host=f.slice(0,s),f=f.slice(s),this.parseHost(),this.hostname=this.hostname||"";var N=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!N)for(var v=this.hostname.split(/\./),c=0,y=v.length;c<y;c++){var O=v[c];if(O&&!O.match(wa)){for(var $="",P=0,W=O.length;P<W;P++)O.charCodeAt(P)>127?$+="x":$+=O[P];if(!$.match(wa)){var L=v.slice(0,c),R=v.slice(c+1),C=O.match(Rf);C&&(L.push(C[1]),R.unshift(C[2])),R.length&&(f="/"+R.join(".")+f),this.hostname=L.join(".");break}}}this.hostname.length>If?this.hostname="":this.hostname=this.hostname.toLowerCase(),N||(this.hostname=Ef.toASCII(this.hostname));var te=this.port?":"+this.port:"",X=this.hostname||"";this.host=X+te,this.href+=this.host,N&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),f[0]!=="/"&&(f="/"+f))}if(!Mf[p])for(var c=0,y=Kr.length;c<y;c++){var _=Kr[c];if(f.indexOf(_)!==-1){var U=encodeURIComponent(_);U===_&&(U=escape(_)),f=f.split(_).join(U)}}var j=f.indexOf("#");j!==-1&&(this.hash=f.substr(j),f=f.slice(0,j));var J=f.indexOf("?");if(J!==-1?(this.search=f.substr(J),this.query=f.substr(J+1),e&&(this.query=Xr.parse(this.query)),f=f.slice(0,J)):e&&(this.search="",this.query={}),f&&(this.pathname=f),Ce[p]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var te=this.pathname||"",ve=this.search||"";this.path=te+ve}return this.href=this.format(),this};function _f(t){return typeof t=="string"&&(t=Ke(t)),t instanceof Q?t.format():Q.prototype.format.call(t)}Q.prototype.format=function(){var t=this.auth||"";t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",a=!1,i="";this.host?a=t+this.host:this.hostname&&(a=t+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(a+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(i=Xr.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var o=this.search||i&&"?"+i||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||Ce[e])&&a!==!1?(a="//"+(a||""),r&&r.charAt(0)!=="/"&&(r="/"+r)):a||(a=""),n&&n.charAt(0)!=="#"&&(n="#"+n),o&&o.charAt(0)!=="?"&&(o="?"+o),r=r.replace(/[?#]/g,function(f){return encodeURIComponent(f)}),o=o.replace("#","%23"),e+a+r+o+n};function zf(t,e){return Ke(t,!1,!0).resolve(e)}Q.prototype.resolve=function(t){return this.resolveObject(Ke(t,!1,!0)).format()};function Cf(t,e){return t?Ke(t,!1,!0).resolveObject(e):e}Q.prototype.resolveObject=function(t){if(typeof t=="string"){var e=new Q;e.parse(t,!1,!0),t=e}for(var r=new Q,n=Object.keys(this),a=0;a<n.length;a++){var i=n[a];r[i]=this[i]}if(r.hash=t.hash,t.href==="")return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var o=Object.keys(t),f=0;f<o.length;f++){var u=o[f];u!=="protocol"&&(r[u]=t[u])}return Ce[r.protocol]&&r.hostname&&!r.pathname&&(r.pathname="/",r.path=r.pathname),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!Ce[t.protocol]){for(var l=Object.keys(t),p=0;p<l.length;p++){var d=l[p];r[d]=t[d]}return r.href=r.format(),r}if(r.protocol=t.protocol,!t.host&&!Qr[t.protocol]){for(var y=(t.pathname||"").split("/");y.length&&!(t.host=y.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),y[0]!==""&&y.unshift(""),y.length<2&&y.unshift(""),r.pathname=y.join("/")}else r.pathname=t.pathname;if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var s=r.pathname||"",c=r.search||"";r.path=s+c}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var m=r.pathname&&r.pathname.charAt(0)==="/",x=t.host||t.pathname&&t.pathname.charAt(0)==="/",E=x||m||r.host&&t.pathname,N=E,v=r.pathname&&r.pathname.split("/")||[],y=t.pathname&&t.pathname