piral-configs
Version:
Plugin for dynamic configurations of pilets in Piral.
6 lines • 73.3 kB
JavaScript
var piralConfigs=(()=>{var On=Object.create;var Ue=Object.defineProperty;var Pn=Object.getOwnPropertyDescriptor;var $n=Object.getOwnPropertyNames;var zn=Object.getPrototypeOf,In=Object.prototype.hasOwnProperty;var O=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Rn=(t,e)=>{for(var r in e)Ue(t,r,{get:e[r],enumerable:!0})},Br=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of $n(e))!In.call(t,i)&&i!==r&&Ue(t,i,{get:()=>e[i],enumerable:!(n=Pn(e,i))||n.enumerable});return t};var Mn=(t,e,r)=>(r=t!=null?On(zn(t)):{},Br(e||!t||!t.__esModule?Ue(r,"default",{value:t,enumerable:!0}):r,t)),Cn=t=>Br(Ue({},"__esModule",{value:!0}),t);var Vr=O((xe,Ee)=>{(function(t){var e=typeof xe=="object"&&xe&&!xe.nodeType&&xe,r=typeof Ee=="object"&&Ee&&!Ee.nodeType&&Ee,n=typeof global=="object"&&global;(n.global===n||n.window===n||n.self===n)&&(t=n);var i,a=2147483647,f=36,o=1,s=26,u=38,l=700,y=72,p=128,h="-",m=/^xn--/,z=/[^\x20-\x7E]/,x=/[\x2E\u3002\uFF0E\uFF61]/g,A={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=f-o,g=Math.floor,P=String.fromCharCode,I;function E(d){throw new RangeError(A[d])}function k(d,v){for(var w=d.length,$=[];w--;)$[w]=v(d[w]);return $}function M(d,v){var w=d.split("@"),$="";w.length>1&&($=w[0]+"@",d=w[1]),d=d.replace(x,".");var R=d.split("."),L=k(R,v).join(".");return $+L}function C(d){for(var v=[],w=0,$=d.length,R,L;w<$;)R=d.charCodeAt(w++),R>=55296&&R<=56319&&w<$?(L=d.charCodeAt(w++),(L&64512)==56320?v.push(((R&1023)<<10)+(L&1023)+65536):(v.push(R),w--)):v.push(R);return v}function D(d){return k(d,function(v){var w="";return v>65535&&(v-=65536,w+=P(v>>>10&1023|55296),v=56320|v&1023),w+=P(v),w}).join("")}function Y(d){return d-48<10?d-22:d-65<26?d-65:d-97<26?d-97:f}function j(d,v){return d+22+75*(d<26)-((v!=0)<<5)}function Z(d,v,w){var $=0;for(d=w?g(d/l):d>>1,d+=g(d/v);d>c*s>>1;$+=f)d=g(d/c);return g($+(c+1)*d/(d+u))}function W(d){var v=[],w=d.length,$,R=0,L=p,T=y,J,re,ae,ue,B,K,te,pe,ve;for(J=d.lastIndexOf(h),J<0&&(J=0),re=0;re<J;++re)d.charCodeAt(re)>=128&&E("not-basic"),v.push(d.charCodeAt(re));for(ae=J>0?J+1:0;ae<w;){for(ue=R,B=1,K=f;ae>=w&&E("invalid-input"),te=Y(d.charCodeAt(ae++)),(te>=f||te>g((a-R)/B))&&E("overflow"),R+=te*B,pe=K<=T?o:K>=T+s?s:K-T,!(te<pe);K+=f)ve=f-pe,B>g(a/ve)&&E("overflow"),B*=ve;$=v.length+1,T=Z(R-ue,$,ue==0),g(R/$)>a-L&&E("overflow"),L+=g(R/$),R%=$,v.splice(R++,0,L)}return D(v)}function ee(d){var v,w,$,R,L,T,J,re,ae,ue,B,K=[],te,pe,ve,ir;for(d=C(d),te=d.length,v=p,w=0,L=y,T=0;T<te;++T)B=d[T],B<128&&K.push(P(B));for($=R=K.length,R&&K.push(h);$<te;){for(J=a,T=0;T<te;++T)B=d[T],B>=v&&B<J&&(J=B);for(pe=$+1,J-v>g((a-w)/pe)&&E("overflow"),w+=(J-v)*pe,v=J,T=0;T<te;++T)if(B=d[T],B<v&&++w>a&&E("overflow"),B==v){for(re=w,ae=f;ue=ae<=L?o:ae>=L+s?s:ae-L,!(re<ue);ae+=f)ir=re-ue,ve=f-ue,K.push(P(j(ue+ir%ve,0))),re=g(ir/ve);K.push(P(j(re,0))),L=Z(w,pe,$==R),w=0,++$}++w,++v}return K.join("")}function G(d){return M(d,function(v){return m.test(v)?W(v.slice(4).toLowerCase()):v})}function ar(d){return M(d,function(v){return z.test(v)?"xn--"+ee(v):v})}if(i={version:"1.4.1",ucs2:{decode:C,encode:D},decode:W,encode:ee,toASCII:ar,toUnicode:G},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return i});else if(e&&r)if(Ee.exports==e)r.exports=i;else for(I in i)i.hasOwnProperty(I)&&(e[I]=i[I]);else t.punycode=i})(xe)});var Lr=O((ji,Ur)=>{"use strict";Ur.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 i=42;e[r]=i;for(r 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 a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(e,r);if(f.value!==i||f.enumerable!==!0)return!1}return!0}});var Gr=O((Bi,Wr)=>{"use strict";var kr=typeof Symbol<"u"&&Symbol,Zn=Lr();Wr.exports=function(){return typeof kr!="function"||typeof Symbol!="function"||typeof kr("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Zn()}});var Qr=O((Vi,Hr)=>{"use strict";var Jr={foo:{}},_n=Object;Hr.exports=function(){return{__proto__:Jr}.foo===Jr.foo&&!({__proto__:null}instanceof _n)}});var Yr=O((Ui,Xr)=>{"use strict";var qn="Function.prototype.bind called on incompatible ",Nn=Object.prototype.toString,Tn=Math.max,Dn="[object Function]",Kr=function(e,r){for(var n=[],i=0;i<e.length;i+=1)n[i]=e[i];for(var a=0;a<r.length;a+=1)n[a+e.length]=r[a];return n},jn=function(e,r){for(var n=[],i=r||0,a=0;i<e.length;i+=1,a+=1)n[a]=e[i];return n},Bn=function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r};Xr.exports=function(e){var r=this;if(typeof r!="function"||Nn.apply(r)!==Dn)throw new TypeError(qn+r);for(var n=jn(arguments,1),i,a=function(){if(this instanceof i){var l=r.apply(this,Kr(n,arguments));return Object(l)===l?l:this}return r.apply(e,Kr(n,arguments))},f=Tn(0,r.length-n.length),o=[],s=0;s<f;s++)o[s]="$"+s;if(i=Function("binder","return function ("+Bn(o,",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var u=function(){};u.prototype=r.prototype,i.prototype=new u,u.prototype=null}return i}});var or=O((Li,et)=>{"use strict";var Vn=Yr();et.exports=Function.prototype.bind||Vn});var nt=O((ki,tt)=>{"use strict";var rt={}.hasOwnProperty,fr=Function.prototype.call;tt.exports=fr.bind?fr.bind(rt):function(t,e){return fr.call(rt,t,e)}});var We=O((Wi,ut)=>{"use strict";var F,ze=SyntaxError,ft=Function,$e=TypeError,ur=function(t){try{return ft('"use strict"; return ('+t+").constructor;")()}catch{}},ge=Object.getOwnPropertyDescriptor;if(ge)try{ge({},"")}catch{ge=null}var sr=function(){throw new $e},Un=ge?function(){try{return arguments.callee,sr}catch{try{return ge(arguments,"callee").get}catch{return sr}}}():sr,Oe=Gr()(),Ln=Qr()(),_=Object.getPrototypeOf||(Ln?function(t){return t.__proto__}:null),Pe={},kn=typeof Uint8Array>"u"||!_?F:_(Uint8Array),Ae={"%AggregateError%":typeof AggregateError>"u"?F:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?F:ArrayBuffer,"%ArrayIteratorPrototype%":Oe&&_?_([][Symbol.iterator]()):F,"%AsyncFromSyncIteratorPrototype%":F,"%AsyncFunction%":Pe,"%AsyncGenerator%":Pe,"%AsyncGeneratorFunction%":Pe,"%AsyncIteratorPrototype%":Pe,"%Atomics%":typeof Atomics>"u"?F:Atomics,"%BigInt%":typeof BigInt>"u"?F:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?F:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?F:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?F:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?F:Float32Array,"%Float64Array%":typeof Float64Array>"u"?F:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?F:FinalizationRegistry,"%Function%":ft,"%GeneratorFunction%":Pe,"%Int8Array%":typeof Int8Array>"u"?F:Int8Array,"%Int16Array%":typeof Int16Array>"u"?F:Int16Array,"%Int32Array%":typeof Int32Array>"u"?F:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Oe&&_?_(_([][Symbol.iterator]())):F,"%JSON%":typeof JSON=="object"?JSON:F,"%Map%":typeof Map>"u"?F:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Oe||!_?F:_(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?F:Promise,"%Proxy%":typeof Proxy>"u"?F:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?F:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?F:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Oe||!_?F:_(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?F:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Oe&&_?_(""[Symbol.iterator]()):F,"%Symbol%":Oe?Symbol:F,"%SyntaxError%":ze,"%ThrowTypeError%":Un,"%TypedArray%":kn,"%TypeError%":$e,"%Uint8Array%":typeof Uint8Array>"u"?F:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?F:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?F:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?F:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?F:WeakMap,"%WeakRef%":typeof WeakRef>"u"?F:WeakRef,"%WeakSet%":typeof WeakSet>"u"?F:WeakSet};if(_)try{null.error}catch(t){at=_(_(t)),Ae["%Error.prototype%"]=at}var at,Wn=function t(e){var r;if(e==="%AsyncFunction%")r=ur("async function () {}");else if(e==="%GeneratorFunction%")r=ur("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=ur("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&_&&(r=_(i.prototype))}return Ae[e]=r,r},it={"%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"]},qe=or(),Le=nt(),Gn=qe.call(Function.call,Array.prototype.concat),Jn=qe.call(Function.apply,Array.prototype.splice),ot=qe.call(Function.call,String.prototype.replace),ke=qe.call(Function.call,String.prototype.slice),Hn=qe.call(Function.call,RegExp.prototype.exec),Qn=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Kn=/\\(\\)?/g,Xn=function(e){var r=ke(e,0,1),n=ke(e,-1);if(r==="%"&&n!=="%")throw new ze("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new ze("invalid intrinsic syntax, expected opening `%`");var i=[];return ot(e,Qn,function(a,f,o,s){i[i.length]=o?ot(s,Kn,"$1"):f||a}),i},Yn=function(e,r){var n=e,i;if(Le(it,n)&&(i=it[n],n="%"+i[0]+"%"),Le(Ae,n)){var a=Ae[n];if(a===Pe&&(a=Wn(n)),typeof a>"u"&&!r)throw new $e("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new ze("intrinsic "+e+" does not exist!")};ut.exports=function(e,r){if(typeof e!="string"||e.length===0)throw new $e("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new $e('"allowMissing" argument must be a boolean');if(Hn(/^%?[^%]*%?$/,e)===null)throw new ze("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Xn(e),i=n.length>0?n[0]:"",a=Yn("%"+i+"%",r),f=a.name,o=a.value,s=!1,u=a.alias;u&&(i=u[0],Jn(n,Gn([0,1],u)));for(var l=1,y=!0;l<n.length;l+=1){var p=n[l],h=ke(p,0,1),m=ke(p,-1);if((h==='"'||h==="'"||h==="`"||m==='"'||m==="'"||m==="`")&&h!==m)throw new ze("property names with quotes must have matching quotes");if((p==="constructor"||!y)&&(s=!0),i+="."+p,f="%"+i+"%",Le(Ae,f))o=Ae[f];else if(o!=null){if(!(p in o)){if(!r)throw new $e("base intrinsic for "+e+" exists, but the property is not available.");return}if(ge&&l+1>=n.length){var z=ge(o,p);y=!!z,y&&"get"in z&&!("originalValue"in z.get)?o=z.get:o=o[p]}else y=Le(o,p),o=o[p];y&&!s&&(Ae[f]=o)}}return o}});var yt=O((Gi,Ge)=>{"use strict";var lr=or(),Ie=We(),pt=Ie("%Function.prototype.apply%"),ct=Ie("%Function.prototype.call%"),dt=Ie("%Reflect.apply%",!0)||lr.call(ct,pt),st=Ie("%Object.getOwnPropertyDescriptor%",!0),Fe=Ie("%Object.defineProperty%",!0),ea=Ie("%Math.max%");if(Fe)try{Fe({},"a",{value:1})}catch{Fe=null}Ge.exports=function(e){var r=dt(lr,ct,arguments);if(st&&Fe){var n=st(r,"length");n.configurable&&Fe(r,"length",{value:1+ea(0,e.length-(arguments.length-1))})}return r};var lt=function(){return dt(lr,pt,arguments)};Fe?Fe(Ge.exports,"apply",{value:lt}):Ge.exports.apply=lt});var gt=O((Ji,vt)=>{"use strict";var ht=We(),mt=yt(),ra=mt(ht("String.prototype.indexOf"));vt.exports=function(e,r){var n=ht(e,!!r);return typeof n=="function"&&ra(e,".prototype.")>-1?mt(n):n}});var At=O(()=>{});var Dt=O((Ki,Tt)=>{var Fr=typeof Map=="function"&&Map.prototype,pr=Object.getOwnPropertyDescriptor&&Fr?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,He=Fr&&pr&&typeof pr.get=="function"?pr.get:null,Ft=Fr&&Map.prototype.forEach,br=typeof Set=="function"&&Set.prototype,cr=Object.getOwnPropertyDescriptor&&br?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Qe=br&&cr&&typeof cr.get=="function"?cr.get:null,bt=br&&Set.prototype.forEach,ta=typeof WeakMap=="function"&&WeakMap.prototype,Te=ta?WeakMap.prototype.has:null,na=typeof WeakSet=="function"&&WeakSet.prototype,De=na?WeakSet.prototype.has:null,aa=typeof WeakRef=="function"&&WeakRef.prototype,St=aa?WeakRef.prototype.deref:null,ia=Boolean.prototype.valueOf,oa=Object.prototype.toString,fa=Function.prototype.toString,ua=String.prototype.match,Sr=String.prototype.slice,de=String.prototype.replace,sa=String.prototype.toUpperCase,wt=String.prototype.toLowerCase,Mt=RegExp.prototype.test,xt=Array.prototype.concat,ie=Array.prototype.join,la=Array.prototype.slice,Et=Math.floor,hr=typeof BigInt=="function"?BigInt.prototype.valueOf:null,dr=Object.getOwnPropertySymbols,mr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Re=typeof Symbol=="function"&&typeof Symbol.iterator=="object",V=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Re||!0)?Symbol.toStringTag:null,Ct=Object.prototype.propertyIsEnumerable,Ot=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Pt(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||Mt.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-Et(-t):Et(t);if(n!==t){var i=String(n),a=Sr.call(e,i.length+1);return de.call(i,r,"$&_")+"."+de.call(de.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return de.call(e,r,"$&_")}var vr=At(),$t=vr.custom,zt=_t($t)?$t:null;Tt.exports=function t(e,r,n,i){var a=r||{};if(ce(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ce(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var f=ce(a,"customInspect")?a.customInspect:!0;if(typeof f!="boolean"&&f!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ce(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ce(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var o=a.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 Nt(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var s=String(e);return o?Pt(e,s):s}if(typeof e=="bigint"){var u=String(e)+"n";return o?Pt(e,u):u}var l=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=l&&l>0&&typeof e=="object")return gr(e)?"[Array]":"[Object]";var y=$a(a,n);if(typeof i>"u")i=[];else if(qt(i,e)>=0)return"[Circular]";function p(Z,W,ee){if(W&&(i=la.call(i),i.push(W)),ee){var G={depth:a.depth};return ce(a,"quoteStyle")&&(G.quoteStyle=a.quoteStyle),t(Z,G,n+1,i)}return t(Z,a,n+1,i)}if(typeof e=="function"&&!It(e)){var h=Aa(e),m=Je(e,p);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(m.length>0?" { "+ie.call(m,", ")+" }":"")}if(_t(e)){var z=Re?de.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):mr.call(e);return typeof e=="object"&&!Re?Ne(z):z}if(Ea(e)){for(var x="<"+wt.call(String(e.nodeName)),A=e.attributes||[],c=0;c<A.length;c++)x+=" "+A[c].name+"="+Zt(pa(A[c].value),"double",a);return x+=">",e.childNodes&&e.childNodes.length&&(x+="..."),x+="</"+wt.call(String(e.nodeName))+">",x}if(gr(e)){if(e.length===0)return"[]";var g=Je(e,p);return y&&!Pa(g)?"["+Ar(g,y)+"]":"[ "+ie.call(g,", ")+" ]"}if(da(e)){var P=Je(e,p);return!("cause"in Error.prototype)&&"cause"in e&&!Ct.call(e,"cause")?"{ ["+String(e)+"] "+ie.call(xt.call("[cause]: "+p(e.cause),P),", ")+" }":P.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+ie.call(P,", ")+" }"}if(typeof e=="object"&&f){if(zt&&typeof e[zt]=="function"&&vr)return vr(e,{depth:l-n});if(f!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Fa(e)){var I=[];return Ft&&Ft.call(e,function(Z,W){I.push(p(W,e,!0)+" => "+p(Z,e))}),Rt("Map",He.call(e),I,y)}if(wa(e)){var E=[];return bt&&bt.call(e,function(Z){E.push(p(Z,e))}),Rt("Set",Qe.call(e),E,y)}if(ba(e))return yr("WeakMap");if(xa(e))return yr("WeakSet");if(Sa(e))return yr("WeakRef");if(ha(e))return Ne(p(Number(e)));if(va(e))return Ne(p(hr.call(e)));if(ma(e))return Ne(ia.call(e));if(ya(e))return Ne(p(String(e)));if(e===global)return typeof window<"u"?"{ [object Window] }":"{ [object global] }";if(!ca(e)&&!It(e)){var k=Je(e,p),M=Ot?Ot(e)===Object.prototype:e instanceof Object||e.constructor===Object,C=e instanceof Object?"":"null prototype",D=!M&&V&&Object(e)===e&&V in e?Sr.call(ye(e),8,-1):C?"Object":"",Y=M||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",j=Y+(D||C?"["+ie.call(xt.call([],D||[],C||[]),": ")+"] ":"");return k.length===0?j+"{}":y?j+"{"+Ar(k,y)+"}":j+"{ "+ie.call(k,", ")+" }"}return String(e)};function Zt(t,e,r){var n=(r.quoteStyle||e)==="double"?'"':"'";return n+t+n}function pa(t){return de.call(String(t),/"/g,""")}function gr(t){return ye(t)==="[object Array]"&&(!V||!(typeof t=="object"&&V in t))}function ca(t){return ye(t)==="[object Date]"&&(!V||!(typeof t=="object"&&V in t))}function It(t){return ye(t)==="[object RegExp]"&&(!V||!(typeof t=="object"&&V in t))}function da(t){return ye(t)==="[object Error]"&&(!V||!(typeof t=="object"&&V in t))}function ya(t){return ye(t)==="[object String]"&&(!V||!(typeof t=="object"&&V in t))}function ha(t){return ye(t)==="[object Number]"&&(!V||!(typeof t=="object"&&V in t))}function ma(t){return ye(t)==="[object Boolean]"&&(!V||!(typeof t=="object"&&V in t))}function _t(t){if(Re)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!mr)return!1;try{return mr.call(t),!0}catch{}return!1}function va(t){if(!t||typeof t!="object"||!hr)return!1;try{return hr.call(t),!0}catch{}return!1}var ga=Object.prototype.hasOwnProperty||function(t){return t in this};function ce(t,e){return ga.call(t,e)}function ye(t){return oa.call(t)}function Aa(t){if(t.name)return t.name;var e=ua.call(fa.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function qt(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 Fa(t){if(!He||!t||typeof t!="object")return!1;try{He.call(t);try{Qe.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function ba(t){if(!Te||!t||typeof t!="object")return!1;try{Te.call(t,Te);try{De.call(t,De)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function Sa(t){if(!St||!t||typeof t!="object")return!1;try{return St.call(t),!0}catch{}return!1}function wa(t){if(!Qe||!t||typeof t!="object")return!1;try{Qe.call(t);try{He.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function xa(t){if(!De||!t||typeof t!="object")return!1;try{De.call(t,De);try{Te.call(t,Te)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function Ea(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function Nt(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Nt(Sr.call(t,0,e.maxStringLength),e)+n}var i=de.call(de.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Oa);return Zt(i,"single",e)}function Oa(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":"")+sa.call(e.toString(16))}function Ne(t){return"Object("+t+")"}function yr(t){return t+" { ? }"}function Rt(t,e,r,n){var i=n?Ar(r,n):ie.call(r,", ");return t+" ("+e+") {"+i+"}"}function Pa(t){for(var e=0;e<t.length;e++)if(qt(t[e],`
`)>=0)return!1;return!0}function $a(t,e){var r;if(t.indent===" ")r=" ";else if(typeof t.indent=="number"&&t.indent>0)r=ie.call(Array(t.indent+1)," ");else return null;return{base:r,prev:ie.call(Array(e+1),r)}}function Ar(t,e){if(t.length===0)return"";var r=`
`+e.prev+e.base;return r+ie.call(t,","+r)+`
`+e.prev}function Je(t,e){var r=gr(t),n=[];if(r){n.length=t.length;for(var i=0;i<t.length;i++)n[i]=ce(t,i)?e(t[i],t):""}var a=typeof dr=="function"?dr(t):[],f;if(Re){f={};for(var o=0;o<a.length;o++)f["$"+a[o]]=a[o]}for(var s in t)ce(t,s)&&(r&&String(Number(s))===s&&s<t.length||Re&&f["$"+s]instanceof Symbol||(Mt.call(/[^\w$]/,s)?n.push(e(s,t)+": "+e(t[s],t)):n.push(s+": "+e(t[s],t))));if(typeof dr=="function")for(var u=0;u<a.length;u++)Ct.call(t,a[u])&&n.push("["+e(a[u])+"]: "+e(t[a[u]],t));return n}});var Bt=O((Xi,jt)=>{"use strict";var wr=We(),Me=gt(),za=Dt(),Ia=wr("%TypeError%"),Ke=wr("%WeakMap%",!0),Xe=wr("%Map%",!0),Ra=Me("WeakMap.prototype.get",!0),Ma=Me("WeakMap.prototype.set",!0),Ca=Me("WeakMap.prototype.has",!0),Za=Me("Map.prototype.get",!0),_a=Me("Map.prototype.set",!0),qa=Me("Map.prototype.has",!0),xr=function(t,e){for(var r=t,n;(n=r.next)!==null;r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n},Na=function(t,e){var r=xr(t,e);return r&&r.value},Ta=function(t,e,r){var n=xr(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}},Da=function(t,e){return!!xr(t,e)};jt.exports=function(){var e,r,n,i={assert:function(a){if(!i.has(a))throw new Ia("Side channel does not contain "+za(a))},get:function(a){if(Ke&&a&&(typeof a=="object"||typeof a=="function")){if(e)return Ra(e,a)}else if(Xe){if(r)return Za(r,a)}else if(n)return Na(n,a)},has:function(a){if(Ke&&a&&(typeof a=="object"||typeof a=="function")){if(e)return Ca(e,a)}else if(Xe){if(r)return qa(r,a)}else if(n)return Da(n,a);return!1},set:function(a,f){Ke&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new Ke),Ma(e,a,f)):Xe?(r||(r=new Xe),_a(r,a,f)):(n||(n={key:{},next:null}),Ta(n,a,f))}};return i}});var Ye=O((Yi,Vt)=>{"use strict";var ja=String.prototype.replace,Ba=/%20/g,Er={RFC1738:"RFC1738",RFC3986:"RFC3986"};Vt.exports={default:Er.RFC3986,formatters:{RFC1738:function(t){return ja.call(t,Ba,"+")},RFC3986:function(t){return String(t)}},RFC1738:Er.RFC1738,RFC3986:Er.RFC3986}});var Pr=O((eo,Lt)=>{"use strict";var Va=Ye(),Or=Object.prototype.hasOwnProperty,be=Array.isArray,oe=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),Ua=function(e){for(;e.length>1;){var r=e.pop(),n=r.obj[r.prop];if(be(n)){for(var i=[],a=0;a<n.length;++a)typeof n[a]<"u"&&i.push(n[a]);r.obj[r.prop]=i}}},Ut=function(e,r){for(var n=r&&r.plainObjects?Object.create(null):{},i=0;i<e.length;++i)typeof e[i]<"u"&&(n[i]=e[i]);return n},La=function t(e,r,n){if(!r)return e;if(typeof r!="object"){if(be(e))e.push(r);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Or.call(Object.prototype,r))&&(e[r]=!0);else return[e,r];return e}if(!e||typeof e!="object")return[e].concat(r);var i=e;return be(e)&&!be(r)&&(i=Ut(e,n)),be(e)&&be(r)?(r.forEach(function(a,f){if(Or.call(e,f)){var o=e[f];o&&typeof o=="object"&&a&&typeof a=="object"?e[f]=t(o,a,n):e.push(a)}else e[f]=a}),e):Object.keys(r).reduce(function(a,f){var o=r[f];return Or.call(a,f)?a[f]=t(a[f],o,n):a[f]=o,a},i)},ka=function(e,r){return Object.keys(r).reduce(function(n,i){return n[i]=r[i],n},e)},Wa=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}},Ga=function(e,r,n,i,a){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(l){return"%26%23"+parseInt(l.slice(2),16)+"%3B"});for(var o="",s=0;s<f.length;++s){var u=f.charCodeAt(s);if(u===45||u===46||u===95||u===126||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||a===Va.RFC1738&&(u===40||u===41)){o+=f.charAt(s);continue}if(u<128){o=o+oe[u];continue}if(u<2048){o=o+(oe[192|u>>6]+oe[128|u&63]);continue}if(u<55296||u>=57344){o=o+(oe[224|u>>12]+oe[128|u>>6&63]+oe[128|u&63]);continue}s+=1,u=65536+((u&1023)<<10|f.charCodeAt(s)&1023),o+=oe[240|u>>18]+oe[128|u>>12&63]+oe[128|u>>6&63]+oe[128|u&63]}return o},Ja=function(e){for(var r=[{obj:{o:e},prop:"o"}],n=[],i=0;i<r.length;++i)for(var a=r[i],f=a.obj[a.prop],o=Object.keys(f),s=0;s<o.length;++s){var u=o[s],l=f[u];typeof l=="object"&&l!==null&&n.indexOf(l)===-1&&(r.push({obj:f,prop:u}),n.push(l))}return Ua(r),e},Ha=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},Qa=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},Ka=function(e,r){return[].concat(e,r)},Xa=function(e,r){if(be(e)){for(var n=[],i=0;i<e.length;i+=1)n.push(r(e[i]));return n}return r(e)};Lt.exports={arrayToObject:Ut,assign:ka,combine:Ka,compact:Ja,decode:Wa,encode:Ga,isBuffer:Qa,isRegExp:Ha,maybeMap:Xa,merge:La}});var Qt=O((ro,Ht)=>{"use strict";var Gt=Bt(),er=Pr(),je=Ye(),Ya=Object.prototype.hasOwnProperty,kt={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,r){return e+"["+r+"]"},repeat:function(e){return e}},se=Array.isArray,ei=Array.prototype.push,Jt=function(t,e){ei.apply(t,se(e)?e:[e])},ri=Date.prototype.toISOString,Wt=je.default,U={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:er.encode,encodeValuesOnly:!1,format:Wt,formatter:je.formatters[Wt],indices:!1,serializeDate:function(e){return ri.call(e)},skipNulls:!1,strictNullHandling:!1},ti=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},$r={},ni=function t(e,r,n,i,a,f,o,s,u,l,y,p,h,m,z,x){for(var A=e,c=x,g=0,P=!1;(c=c.get($r))!==void 0&&!P;){var I=c.get(e);if(g+=1,typeof I<"u"){if(I===g)throw new RangeError("Cyclic object value");P=!0}typeof c.get($r)>"u"&&(g=0)}if(typeof s=="function"?A=s(r,A):A instanceof Date?A=y(A):n==="comma"&&se(A)&&(A=er.maybeMap(A,function(G){return G instanceof Date?y(G):G})),A===null){if(a)return o&&!m?o(r,U.encoder,z,"key",p):r;A=""}if(ti(A)||er.isBuffer(A)){if(o){var E=m?r:o(r,U.encoder,z,"key",p);return[h(E)+"="+h(o(A,U.encoder,z,"value",p))]}return[h(r)+"="+h(String(A))]}var k=[];if(typeof A>"u")return k;var M;if(n==="comma"&&se(A))m&&o&&(A=er.maybeMap(A,o)),M=[{value:A.length>0?A.join(",")||null:void 0}];else if(se(s))M=s;else{var C=Object.keys(A);M=u?C.sort(u):C}for(var D=i&&se(A)&&A.length===1?r+"[]":r,Y=0;Y<M.length;++Y){var j=M[Y],Z=typeof j=="object"&&typeof j.value<"u"?j.value:A[j];if(!(f&&Z===null)){var W=se(A)?typeof n=="function"?n(D,j):D:D+(l?"."+j:"["+j+"]");x.set(e,g);var ee=Gt();ee.set($r,x),Jt(k,t(Z,W,n,i,a,f,n==="comma"&&m&&se(A)?null:o,s,u,l,y,p,h,m,z,ee))}}return k},ai=function(e){if(!e)return U;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||U.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(!Ya.call(je.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var i=je.formatters[n],a=U.filter;return(typeof e.filter=="function"||se(e.filter))&&(a=e.filter),{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:U.addQueryPrefix,allowDots:typeof e.allowDots>"u"?U.allowDots:!!e.allowDots,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:U.charsetSentinel,delimiter:typeof e.delimiter>"u"?U.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:U.encode,encoder:typeof e.encoder=="function"?e.encoder:U.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:U.encodeValuesOnly,filter:a,format:n,formatter:i,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:U.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:U.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:U.strictNullHandling}};Ht.exports=function(t,e){var r=t,n=ai(e),i,a;typeof n.filter=="function"?(a=n.filter,r=a("",r)):se(n.filter)&&(a=n.filter,i=a);var f=[];if(typeof r!="object"||r===null)return"";var o;e&&e.arrayFormat in kt?o=e.arrayFormat:e&&"indices"in e?o=e.indices?"indices":"repeat":o="indices";var s=kt[o];if(e&&"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=s==="comma"&&e&&e.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var l=Gt(),y=0;y<i.length;++y){var p=i[y];n.skipNulls&&r[p]===null||Jt(f,ni(r[p],p,s,u,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,l))}var h=f.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&"),h.length>0?m+h:""}});var Yt=O((to,Xt)=>{"use strict";var Ce=Pr(),zr=Object.prototype.hasOwnProperty,ii=Array.isArray,q={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Ce.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},oi=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},Kt=function(t,e){return t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1?t.split(","):t},fi="utf8=%26%2310003%3B",ui="utf8=%E2%9C%93",si=function(e,r){var n={__proto__:null},i=r.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=r.parameterLimit===1/0?void 0:r.parameterLimit,f=i.split(r.delimiter,a),o=-1,s,u=r.charset;if(r.charsetSentinel)for(s=0;s<f.length;++s)f[s].indexOf("utf8=")===0&&(f[s]===ui?u="utf-8":f[s]===fi&&(u="iso-8859-1"),o=s,s=f.length);for(s=0;s<f.length;++s)if(s!==o){var l=f[s],y=l.indexOf("]="),p=y===-1?l.indexOf("="):y+1,h,m;p===-1?(h=r.decoder(l,q.decoder,u,"key"),m=r.strictNullHandling?null:""):(h=r.decoder(l.slice(0,p),q.decoder,u,"key"),m=Ce.maybeMap(Kt(l.slice(p+1),r),function(z){return r.decoder(z,q.decoder,u,"value")})),m&&r.interpretNumericEntities&&u==="iso-8859-1"&&(m=oi(m)),l.indexOf("[]=")>-1&&(m=ii(m)?[m]:m),zr.call(n,h)?n[h]=Ce.combine(n[h],m):n[h]=m}return n},li=function(t,e,r,n){for(var i=n?e:Kt(e,r),a=t.length-1;a>=0;--a){var f,o=t[a];if(o==="[]"&&r.parseArrays)f=[].concat(i);else{f=r.plainObjects?Object.create(null):{};var s=o.charAt(0)==="["&&o.charAt(o.length-1)==="]"?o.slice(1,-1):o,u=parseInt(s,10);!r.parseArrays&&s===""?f={0:i}:!isNaN(u)&&o!==s&&String(u)===s&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(f=[],f[u]=i):s!=="__proto__"&&(f[s]=i)}i=f}return i},pi=function(e,r,n,i){if(e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,f=/(\[[^[\]]*])/,o=/(\[[^[\]]*])/g,s=n.depth>0&&f.exec(a),u=s?a.slice(0,s.index):a,l=[];if(u){if(!n.plainObjects&&zr.call(Object.prototype,u)&&!n.allowPrototypes)return;l.push(u)}for(var y=0;n.depth>0&&(s=o.exec(a))!==null&&y<n.depth;){if(y+=1,!n.plainObjects&&zr.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(s[1])}return s&&l.push("["+a.slice(s.index)+"]"),li(l,r,n,i)}},ci=function(e){if(!e)return q;if(e.decoder!==null&&e.decoder!==void 0&&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");var r=typeof e.charset>"u"?q.charset:e.charset;return{allowDots:typeof e.allowDots>"u"?q.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:q.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:q.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:q.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:q.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:q.comma,decoder:typeof e.decoder=="function"?e.decoder:q.decoder,delimiter:typeof e.delimiter=="string"||Ce.isRegExp(e.delimiter)?e.delimiter:q.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:q.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:q.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:q.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:q.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:q.strictNullHandling}};Xt.exports=function(t,e){var r=ci(e);if(t===""||t===null||typeof t>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof t=="string"?si(t,r):t,i=r.plainObjects?Object.create(null):{},a=Object.keys(n),f=0;f<a.length;++f){var o=a[f],s=pi(o,n[o],r,typeof t=="string");i=Ce.merge(i,s,r)}return r.allowSparse===!0?i:Ce.compact(i)}});var rn=O((no,en)=>{"use strict";var di=Qt(),yi=Yt(),hi=Ye();en.exports={formats:hi,parse:yi,stringify:di}});var rr=O(_e=>{"use strict";var mi=Vr();function X(){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 vi=/^([a-z0-9.+-]+:)/i,gi=/:[0-9]*$/,Ai=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,Fi=["<",">",'"',"`"," ","\r",`
`," "],bi=["{","}","|","\\","^","`"].concat(Fi),Ir=["'"].concat(bi),tn=["%","/","?",";","#"].concat(Ir),nn=["/","?","#"],Si=255,an=/^[+a-z0-9A-Z_-]{0,63}$/,wi=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,xi={javascript:!0,"javascript:":!0},Rr={javascript:!0,"javascript:":!0},Ze={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Mr=rn();function Be(t,e,r){if(t&&typeof t=="object"&&t instanceof X)return t;var n=new X;return n.parse(t,e,r),n}X.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("?"),i=n!==-1&&n<t.indexOf("#")?"?":"#",a=t.split(i),f=/\\/g;a[0]=a[0].replace(f,"/"),t=a.join(i);var o=t;if(o=o.trim(),!r&&t.split("#").length===1){var s=Ai.exec(o);if(s)return this.path=o,this.href=o,this.pathname=s[1],s[2]?(this.search=s[2],e?this.query=Mr.parse(this.search.substr(1)):this.query=this.search.substr(1)):e&&(this.search="",this.query={}),this}var u=vi.exec(o);if(u){u=u[0];var l=u.toLowerCase();this.protocol=l,o=o.substr(u.length)}if(r||u||o.match(/^\/\/[^@/]+@[^@/]+/)){var y=o.substr(0,2)==="//";y&&!(u&&Rr[u])&&(o=o.substr(2),this.slashes=!0)}if(!Rr[u]&&(y||u&&!Ze[u])){for(var p=-1,h=0;h<nn.length;h++){var m=o.indexOf(nn[h]);m!==-1&&(p===-1||m<p)&&(p=m)}var z,x;p===-1?x=o.lastIndexOf("@"):x=o.lastIndexOf("@",p),x!==-1&&(z=o.slice(0,x),o=o.slice(x+1),this.auth=decodeURIComponent(z)),p=-1;for(var h=0;h<tn.length;h++){var m=o.indexOf(tn[h]);m!==-1&&(p===-1||m<p)&&(p=m)}p===-1&&(p=o.length),this.host=o.slice(0,p),o=o.slice(p),this.parseHost(),this.hostname=this.hostname||"";var A=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!A)for(var c=this.hostname.split(/\./),h=0,g=c.length;h<g;h++){var P=c[h];if(P&&!P.match(an)){for(var I="",E=0,k=P.length;E<k;E++)P.charCodeAt(E)>127?I+="x":I+=P[E];if(!I.match(an)){var M=c.slice(0,h),C=c.slice(h+1),D=P.match(wi);D&&(M.push(D[1]),C.unshift(D[2])),C.length&&(o="/"+C.join(".")+o),this.hostname=M.join(".");break}}}this.hostname.length>Si?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=mi.toASCII(this.hostname));var Y=this.port?":"+this.port:"",j=this.hostname||"";this.host=j+Y,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),o[0]!=="/"&&(o="/"+o))}if(!xi[l])for(var h=0,g=Ir.length;h<g;h++){var Z=Ir[h];if(o.indexOf(Z)!==-1){var W=encodeURIComponent(Z);W===Z&&(W=escape(Z)),o=o.split(Z).join(W)}}var ee=o.indexOf("#");ee!==-1&&(this.hash=o.substr(ee),o=o.slice(0,ee));var G=o.indexOf("?");if(G!==-1?(this.search=o.substr(G),this.query=o.substr(G+1),e&&(this.query=Mr.parse(this.query)),o=o.slice(0,G)):e&&(this.search="",this.query={}),o&&(this.pathname=o),Ze[l]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Y=this.pathname||"",ar=this.search||"";this.path=Y+ar}return this.href=this.format(),this};function Ei(t){return typeof t=="string"&&(t=Be(t)),t instanceof X?t.format():X.prototype.format.call(t)}X.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||"",i=!1,a="";this.host?i=t+this.host:this.hostname&&(i=t+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(a=Mr.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var f=this.search||a&&"?"+a||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||Ze[e])&&i!==!1?(i="//"+(i||""),r&&r.charAt(0)!=="/"&&(r="/"+r)):i||(i=""),n&&n.charAt(0)!=="#"&&(n="#"+n),f&&f.charAt(0)!=="?"&&(f="?"+f),r=r.replace(/[?#]/g,function(o){return encodeURIComponent(o)}),f=f.replace("#","%23"),e+i+r+f+n};function Oi(t,e){return Be(t,!1,!0).resolve(e)}X.prototype.resolve=function(t){return this.resolveObject(Be(t,!1,!0)).format()};function Pi(t,e){return t?Be(t,!1,!0).resolveObject(e):e}X.prototype.resolveObject=function(t){if(typeof t=="string"){var e=new X;e.parse(t,!1,!0),t=e}for(var r=new X,n=Object.keys(this),i=0;i<n.length;i++){var a=n[i];r[a]=this[a]}if(r.hash=t.hash,t.href==="")return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var f=Object.keys(t),o=0;o<f.length;o++){var s=f[o];s!=="protocol"&&(r[s]=t[s])}return Ze[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(!Ze[t.protocol]){for(var u=Object.keys(t),l=0;l<u.length;l++){var y=u[l];r[y]=t[y]}return r.href=r.format(),r}if(r.protocol=t.protocol,!t.host&&!Rr[t.protocol]){for(var g=(t.pathname||"").split("/");g.length&&!(t.host=g.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),g[0]!==""&&g.unshift(""),g.length<2&&g.unshift(""),r.pathname=g.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 p=r.pathname||"",h=r.search||"";r.path=p+h}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var m=r.pathname&&r.pathname.charAt(0)==="/",z=t.host||t.pathname&&t.pathname.charAt(0)==="/",x=z||m||r.host&&t.pathname,A=x,c=r.pathname&&r.pathname.split("/")||[],g=t.pathname&&t.pathname.split("/")||[],P=r.protocol&&!Ze[r.protocol];if(P&&(r.hostname="",r.port=null,r.host&&(c[0]===""?c[0]=r.host:c.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(g[0]===""?g[0]=t.host:g.unshift(t.host)),t.host=null),x=x&&(g[0]===""||c[0]==="")),z)r.host=t.host||t.host===""?t.host:r.host,r.hostname=t.hostname||t.hostname===""?t.hostname:r.hostname,r.search=t.search,r.query=t.query,c=g;else if(g.length)c||(c=[]),c.pop(),c=c.concat(g),r.search=t.search,r.query=t.query;else if(t.search!=null){if(P){r.host=c.shift(),r.hostname=r.host;var I=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;I&&(r.auth=I.shift(),r.hostname=I.shift(),r.host=r.hostname)}return r.search=t.search,r.query=t.query,(r.pathname!==null||r.search!==null)&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!c.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var E=c.slice(-1)[0],k=(r.host||t.host||c.length>1)&&(E==="."||E==="..")||E==="",M=0,C=c.length;C>=0;C--)E=c[C],E==="."?c.splice(C,1):E===".."?(c.splice(C,1),M++):M&&(c.splice(C,1),M--);if(!x&&!A)for(;M--;M)c.unshift("..");x&&c[0]!==""&&(!c[0]||c[0].charAt(0)!=="/")&&c.unshift(""),k&&c.join("/").substr(-1)!=="/"&&c.push("");var D=c[0]===""||c[0]&&c[0].charAt(0)==="/";if(P){r.hostname=D?"":c.length?c.shift():"",r.host=r.hostname;var I=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;I&&(r.auth=I.shift(),r.hostname=I.shift(),r.host=r.hostname)}return x=x||r.host&&c.length,x&&!D&&c.unshift(""),c.length>0?r.pathname=c.join("/"):(r.pathname=null,r.path=null),(r.pathname!==null||r.search!==null)&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r};X.prototype.parseHost=function(){var t=this.host,e=gi.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};_e.parse=Be;_e.resolve=Oi;_e.resolveObject=Pi;_e.format=Ei;_e.Url=X});var he=O((H,qr)=>{"use strict";var fn=rr(),Cr=H.ValidationError=function(e,r,n,i,a,f){if(Array.isArray(i)?(this.path=i,this.property=i.reduce(function(s,u){return s+un(u)},"instance")):i!==void 0&&(this.property=i),e&&(this.message=e),n){var o=n.$id||n.id;this.schema=o||n}r!==void 0&&(this.instance=r),this.name=a,this.argument=f,this.stack=this.toString()};Cr.prototype.toString=function(){return this.property+" "+this.message};var tr=H.ValidatorResult=function(e,r,n,i){this.instance=e,this.schema=r,this.options=n,this.path=i.path,this.propertyPath=i.propertyPath,this.errors=[],this.throwError=n&&n.throwError,this.throwFirst=n&&n.throwFirst,this.throwAll=n&&n.throwAll,this.disableFormat=n&&n.disableFormat===!0};tr.prototype.addError=function(e){var r;if(typeof e=="string")r=new Cr(e,this.instance,this.schema,this.path);else{if(!e)throw new Error("Missing error detail");if(!e.message)throw new Error("Missing error message");if(!e.name)throw new Error("Missing validator type");r=new Cr(e.message,this.instance,this.schema,this.path,e.name,e.argument)}if(this.errors.push(r),this.throwFirst)throw new Se(this);if(this.throwError)throw r;return r};tr.prototype.importErrors=function(e){typeof e=="string"||e&&e.validatorType?this.addError(e):e&&e.errors&&(this.errors=this.errors.concat(e.errors))};function $i(t,e){return e+": "+t.toString()+`
`}tr.prototype.toString=function(e){return this.errors.map($i).join("")};Object.defineProperty(tr.prototype,"valid",{get:function(){return!this.errors.length}});qr.exports.ValidatorResultError=Se;function Se(t){Error.captureStackTrace&&Error.captureStackTrace(this,Se),this.instance=t.instance,this.schema=t.schema,this.options=t.options,this.errors=t.errors}Se.prototype=new Error;Se.prototype.constructor=Se;Se.prototype.name="Validation Error";var on=H.SchemaError=function t(e,r){this.message=e,this.schema=r,Error.call(this,e),Error.captureStackTrace(this,t)};on.prototype=Object.create(Error.prototype,{constructor:{value:on,enumerable:!1},name:{value:"SchemaError",enumerable:!1}});var Zr=H.SchemaContext=function(e,r,n,i,a){this.schema=e,this.options=r,Array.isArray(n)?(this.path=n,this.propertyPath=n.reduce(function(f,o){return f+un(o)},"instance")):this.propertyPath=n,this.base=i,this.schemas=a};Zr.prototype.resolve=function(e){return fn.resolve(this.base,e)};Zr.prototype.makeChild=function(e,r){var n=r===void 0?this.path:this.path.concat([r]),i=e.$id||e.id,a=fn.resolve(this.base,i||""),f=new Zr(e,this.options,n,a,Object.create(this.schemas));return i&&!f.schemas[a]&&(f.schemas[a]=e),f};var ne=H.FORMAT_REGEXPS={"date-time":/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(3[01]|0[1-9]|[12][0-9])[tT ](2[0-4]|[01][0-9]):([0-5][0-9]):(60|[0-5][0-9])(\.\d+)?([zZ]|[+-]([0-5][0-9]):(60|[0-5][0-9]))$/,date:/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(3[01]|0[1-9]|[12][0-9])$/,time:/^(2[0-4]|[01][0-9]):([0-5][0-9]):(60|[0-5][0-9])$/,duration:/P(T\d+(H(\d+M(\d+S)?)?|M(\d+S)?|S)|\d+(D|M(\d+D)?|Y(\d+M(\d+D)?)?)(T\d+(H(\d+M(\d+S)?)?|M(\d+S)?|S))?|\d+W)/i,email:/^(?:[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+\.)*[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+@(?:(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!\.)){0,61}[a-zA-Z0-9]?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!$)){0,61}[a-zA-Z0-9]?)|(?:\[(?:(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\]))$/,"idn-email":/^("(?:[!#-\[\]-\u{10FFFF}]|\\[\t -\u{10FFFF}])*"|[!#-'*+\-/-9=?A-Z\^-\u{10FFFF}](?:\.?[!#-'*+\-/-9=?A-Z\^-\u{10FFFF}])*)@([!#-'*+\-/-9=?A-Z\^-\u{10FFFF}](?:\.?[!#-'*+\-/-9=?A-Z\^-\u{10FFFF}])*|\[[!-Z\^-\u{10FFFF}]*\])$/u,"ip-address":/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,ipv6:/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,uri:/^[a-zA-Z][a-zA-Z0-9+.-]*:[^\s]*$/,"uri-reference":/^(((([A-Za-z][+\-.0-9A-Za-z]*(:%[0-9A-Fa-f]{2}|:[!$&-.0-;=?-Z_a-z~]|[/?])|\?)(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|([A-Za-z][+\-.0-9A-Za-z]*:?)?)|([A-Za-z][+\-.0-9A-Za-z]*:)?\/((%[0-9A-Fa-f]{2}|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?[/?]|[!$&-.0-;=?-Z_a-z~])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|(\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?)?))#(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|(([A-Za-z][+\-.0-9A-Za-z]*)?%[0-9A-Fa-f]{2}|[!$&-.0-9;=@_~]|[A-Za-z][+\-.0-9A-Za-z]*[!$&-*,;=@_~])(%[0-9A-Fa-f]{2}|[!$&-.0-9;=@-Z_a-z~])*((([/?](%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*)?#|[/?])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*)?|([A-Za-z][+\-.0-9A-Za-z]*(:%[0-9A-Fa-f]{2}|:[!$&-.0-;=?-Z_a-z~]|[/?])|\?)(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|([A-Za-z][+\-.0-9A-Za-z]*:)?\/((%[0-9A-Fa-f]{2}|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?[/?]|[!$&-.0-;=?-Z_a-z~])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+(:\d*)?|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-