piral-configs 1.9.2-beta.8358 → 1.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "piral-configs",
3
- "version": "1.9.2-beta.8358",
3
+ "version": "1.9.2",
4
4
  "description": "Plugin for dynamic configurations of pilets in Piral.",
5
5
  "keywords": [
6
6
  "piral",
@@ -22,8 +22,8 @@
22
22
  "exports": {
23
23
  ".": "./lib/index.js",
24
24
  "./lib/*": {
25
- "import": "./lib/*",
26
- "types": "./lib/*.d.ts"
25
+ "types": "./lib/*.d.ts",
26
+ "import": "./lib/*"
27
27
  },
28
28
  "./package.json": "./package.json"
29
29
  },
@@ -53,7 +53,7 @@
53
53
  "url": "0.11.3"
54
54
  },
55
55
  "devDependencies": {
56
- "piral-core": "1.9.2-beta.8358"
56
+ "piral-core": "^1.9.2"
57
57
  },
58
- "gitHead": "ce3cfa6949ab58c0a34af5732d81601d04b8178d"
58
+ "gitHead": "3adb702cbb788889a05a30d2a7ee657ad713a468"
59
59
  }
@@ -1,9 +1,9 @@
1
- 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,"&quot;")}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],`
2
- `)>=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=`
3
- `+e.prev+e.base;return r+ie.call(t,","+r)+`
4
- `+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",`
5
- `," "],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()+`
6
- `}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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-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,"host-name":/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,"utc-millisec":function(t){return typeof t=="string"&&parseFloat(t)===parseInt(t,10)&&!isNaN(t)},regex:function(t){var e=!0;try{new RegExp(t)}catch{e=!1}return e},style:/[\r\n\t ]*[^\r\n\t ][^:]*:[\r\n\t ]*[^\r\n\t ;]*[\r\n\t ]*;?/,color:/^(#?([0-9A-Fa-f]{3}){1,2}\b|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow|(rgb\(\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*\))|(rgb\(\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*\)))$/,phone:/^\+(?:[0-9] ?){6,14}[0-9]$/,alpha:/^[a-zA-Z]+$/,alphanumeric:/^[a-zA-Z0-9]+$/};ne.regexp=ne.regex;ne.pattern=ne.regex;ne.ipv4=ne["ip-address"];H.isFormat=function(e,r,n){if(typeof e=="string"&&ne[r]!==void 0){if(ne[r]instanceof RegExp)return ne[r].test(e);if(typeof ne[r]=="function")return ne[r](e)}else if(n&&n.customFormats&&typeof n.customFormats[r]=="function")return n.customFormats[r](e);return!0};var un=H.makeSuffix=function(e){return e=e.toString(),!e.match(/[.\s\[\]]/)&&!e.match(/^[\d]/)?"."+e:e.match(/^\d+$/)?"["+e+"]":"["+JSON.stringify(e)+"]"};H.deepCompareStrict=function t(e,r){if(typeof e!=typeof r)return!1;if(Array.isArray(e))return!Array.isArray(r)||e.length!==r.length?!1:e.every(function(a,f){return t(e[f],r[f])});if(typeof e=="object"){if(!e||!r)return e===r;var n=Object.keys(e),i=Object.keys(r);return n.length!==i.length?!1:n.every(function(a){return t(e[a],r[a])})}return e===r};function zi(t,e,r,n){typeof r=="object"?e[n]=_r(t[n],r):t.indexOf(r)===-1&&e.push(r)}function Ii(t,e,r){e[r]=t[r]}function Ri(t,e,r,n){typeof e[n]!="object"||!e[n]?r[n]=e[n]:t[n]?r[n]=_r(t[n],e[n]):r[n]=e[n]}function _r(t,e){var r=Array.isArray(e),n=r&&[]||{};return r?(t=t||[],n=n.concat(t),e.forEach(zi.bind(null,t,n))):(t&&typeof t=="object"&&Object.keys(t).forEach(Ii.bind(null,t,n)),Object.keys(e).forEach(Ri.bind(null,t,e,n))),n}qr.exports.deepMerge=_r;H.objectGetPath=function(e,r){for(var n=r.split("/").slice(1),i;typeof(i=n.shift())=="string";){var a=decodeURIComponent(i.replace(/~0/,"~").replace(/~1/g,"/"));if(!(a in e))return;e=e[a]}return e};function Mi(t){return"/"+encodeURIComponent(t).replace(/~/g,"%7E")}H.encodePath=function(e){return e.map(Mi).join("")};H.getDecimalPlaces=function(e){var r=0;if(isNaN(e))return r;typeof e!="number"&&(e=Number(e));var n=e.toString().split("e");if(n.length===2){if(n[1][0]!=="-")return r;r=Number(n[1].slice(1))}var i=n[0].split(".");return i.length===2&&(r+=i[1].length),r};H.isSchema=function(e){return typeof e=="object"&&e||typeof e=="boolean"}});var cn=O((io,pn)=>{"use strict";var Q=he(),b=Q.ValidatorResult,me=Q.SchemaError,Nr={};Nr.ignoreProperties={id:!0,default:!0,description:!0,title:!0,additionalItems:!0,then:!0,else:!0,$schema:!0,$ref:!0,extends:!0};var S=Nr.validators={};S.type=function(e,r,n,i){if(e===void 0)return null;var a=new b(e,r,n,i),f=Array.isArray(r.type)?r.type:[r.type];if(!f.some(this.testType.bind(this,e,r,n,i))){var o=f.map(function(s){if(s){var u=s.$id||s.id;return u?"<"+u+">":s+""}});a.addError({name:"type",argument:o,message:"is not of a type(s) "+o})}return a};function Tr(t,e,r,n,i){var a=e.throwError,f=e.throwAll;e.throwError=!1,e.throwAll=!1;var o=this.validateSchema(t,i,e,r);return e.throwError=a,e.throwAll=f,!o.valid&&n instanceof Function&&n(o),o.valid}S.anyOf=function(e,r,n,i){if(e===void 0)return null;var a=new b(e,r,n,i),f=new b(e,r,n,i);if(!Array.isArray(r.anyOf))throw new me("anyOf must be an array");if(!r.anyOf.some(Tr.bind(this,e,n,i,function(s){f.importErrors(s)}))){var o=r.anyOf.map(function(s,u){var l=s.$id||s.id;return l?"<"+l+">":s.title&&JSON.stringify(s.title)||s.$ref&&"<"+s.$ref+">"||"[subschema "+u+"]"});n.nestedErrors&&a.importErrors(f),a.addError({name:"anyOf",argument:o,message:"is not any of "+o.join(",")})}return a};S.allOf=function(e,r,n,i){if(e===void 0)return null;if(!Array.isArray(r.allOf))throw new me("allOf must be an array");var a=new b(e,r,n,i),f=this;return r.allOf.forEach(function(o,s){var u=f.validateSchema(e,o,n,i);if(!u.valid){var l=o.$id||o.id,y=l||o.title&&JSON.stringify(o.title)||o.$ref&&"<"+o.$ref+">"||"[subschema "+s+"]";a.addError({name:"allOf",argument:{id:y,length:u.errors.length,valid:u},message:"does not match allOf schema "+y+" with "+u.errors.length+" error[s]:"}),a.importErrors(u)}}),a};S.oneOf=function(e,r,n,i){if(e===void 0)return null;if(!Array.isArray(r.oneOf))throw new me("oneOf must be an array");var a=new b(e,r,n,i),f=new b(e,r,n,i),o=r.oneOf.filter(Tr.bind(this,e,n,i,function(u){f.importErrors(u)})).length,s=r.oneOf.map(function(u,l){var y=u.$id||u.id;return y||u.title&&JSON.stringify(u.title)||u.$ref&&"<"+u.$ref+">"||"[subschema "+l+"]"});return o!==1&&(n.nestedErrors&&a.importErrors(f),a.addError({name:"oneOf",argument:s,message:"is not exactly one from "+s.join(",")})),a};S.if=function(e,r,n,i){if(e===void 0)return null;if(!Q.isSchema(r.if))throw new Error('Expected "if" keyword to be a schema');var a=Tr.call(this,e,n,i,null,r.if),f=new b(e,r,n,i),o;if(a){if(r.then===void 0)return;if(!Q.isSchema(r.then))throw new Error('Expected "then" keyword to be a schema');o=this.validateSchema(e,r.then,n,i.makeChild(r.then)),f.importErrors(o)}else{if(r.else===void 0)return;if(!Q.isSchema(r.else))throw new Error('Expected "else" keyword to be a schema');o=this.validateSchema(e,r.else,n,i.makeChild(r.else)),f.importErrors(o)}return f};function Dr(t,e){if(Object.hasOwnProperty.call(t,e))return t[e];if(e in t){for(;t=Object.getPrototypeOf(t);)if(Object.propertyIsEnumerable.call(t,e))return t[e]}}S.propertyNames=function(e,r,n,i){if(this.types.object(e)){var a=new b(e,r,n,i),f=r.propertyNames!==void 0?r.propertyNames:{};if(!Q.isSchema(f))throw new me('Expected "propertyNames" to be a schema (object or boolean)');for(var o in e)if(Dr(e,o)!==void 0){var s=this.validateSchema(o,f,n,i.makeChild(f));a.importErrors(s)}return a}};S.properties=function(e,r,n,i){if(this.types.object(e)){var a=new b(e,r,n,i),f=r.properties||{};for(var o in f){var s=f[o];if(s!==void 0){if(s===null)throw new me('Unexpected null, expected schema in "properties"');typeof n.preValidateProperty=="function"&&n.preValidateProperty(e,o,s,n,i);var u=Dr(e,o),l=this.validateSchema(u,s,n,i.makeChild(s,o));l.instance!==a.instance[o]&&(a.instance[o]=l.instance),a.importErrors(l)}}return a}};function sn(t,e,r,n,i,a){if(this.types.object(t)&&!(e.properties&&e.properties[i]!==void 0))if(e.additionalProperties===!1)a.addError({name:"additionalProperties",argument:i,message:"is not allowed to have the additional property "+JSON.stringify(i)});else{var f=e.additionalProperties||{};typeof r.preValidateProperty=="function"&&r.preValidateProperty(t,i,f,r,n);var o=this.validateSchema(t[i],f,r,n.makeChild(f,i));o.instance!==a.instance[i]&&(a.instance[i]=o.instance),a.importErrors(o)}}S.patternProperties=function(e,r,n,i){if(this.types.object(e)){var a=new b(e,r,n,i),f=r.patternProperties||{};for(var o in e){var s=!0;for(var u in f){var l=f[u];if(l!==void 0){if(l===null)throw new me('Unexpected null, expected schema in "patternProperties"');try{var y=new RegExp(u,"u")}catch{y=new RegExp(u)}if(y.test(o)){s=!1,typeof n.preValidateProperty=="function"&&n.preValidateProperty(e,o,l,n,i);var p=this.validateSchema(e[o],l,n,i.makeChild(l,o));p.instance!==a.instance[o]&&(a.instance[o]=p.instance),a.importErrors(p)}}}s&&sn.call(this,e,r,n,i,o,a)}return a}};S.additionalProperties=function(e,r,n,i){if(this.types.object(e)){if(r.patternProperties)return null;var a=new b(e,r,n,i);for(var f in e)sn.call(this,e,r,n,i,f,a);return a}};S.minProperties=function(e,r,n,i){if(this.types.object(e)){var a=new b(e,r,n,i),f=Object.keys(e);return f.length>=r.minProperties||a.addError({name:"minProperties",argument:r.minProperties,message:"does not meet minimum property length of "+r.minProperties}),a}};S.maxProperties=function(e,r,n,i){if(this.types.object(e)){var a=new b(e,r,n,i),f=Object.keys(e);return f.length<=r.maxProperties||a.addError({name:"maxProperties",argument:r.maxProperties,message:"does not meet maximum property length of "+r.maxProperties}),a}};S.items=function(e,r,n,i){var a=this;if(this.types.array(e)&&r.items!==void 0){var f=new b(e,r,n,i);return e.every(function(o,s){if(Array.isArray(r.items))var u=r.items[s]===void 0?r.additionalItems:r.items[s];else var u=r.items;if(u===void 0)return!0;if(u===!1)return f.addError({name:"items",message:"additionalItems not permitted"}),!1;var l=a.validateSchema(o,u,n,i.makeChild(u,s));return l.instance!==f.instance[s]&&(f.instance[s]=l.instance),f.importErrors(l),!0}),f}};S.contains=function(e,r,n,i){var a=this;if(this.types.array(e)&&r.contains!==void 0){if(!Q.isSchema(r.contains))throw new Error('Expected "contains" keyword to be a schema');var f=new b(e,r,n,i),o=e.some(function(s,u){var l=a.validateSchema(s,r.contains,n,i.makeChild(r.contains,u));return l.errors.length===0});return o===!1&&f.addError({name:"contains",argument:r.contains,message:"must contain an item matching given schema"}),f}};S.minimum=function(e,r,n,i){if(this.types.number(e)){var a=new b(e,r,n,i);return r.exclusiveMinimum&&r.exclusiveMinimum===!0?e>r.minimum||a.addError({name:"minimum",argument:r.minimum,message:"must be greater than "+r.minimum}):e>=r.minimum||a.addError({name:"minimum",argument:r.minimum,message:"must be greater than or equal to "+r.minimum}),a}};S.maximum=function(e,r,n,i){if(this.types.number(e)){var a=new b(e,r,n,i);return r.exclusiveMaximum&&r.exclusiveMaximum===!0?e<r.maximum||a.addError({name:"maximum",argument:r.maximum,message:"must be less than "+r.maximum}):e<=r.maximum||a.addError({name:"maximum",argument:r.maximum,message:"must be less than or equal to "+r.maximum}),a}};S.exclusiveMinimum=function(e,r,n,i){if(typeof r.exclusiveMinimum!="boolean"&&this.types.number(e)){var a=new b(e,r,n,i),f=e>r.exclusiveMinimum;return f||a.addError({name:"exclusiveMinimum",argument:r.exclusiveMinimum,message:"must be strictly greater than "+r.exclusiveMinimum}),a}};S.exclusiveMaximum=function(e,r,n,i){if(typeof r.exclusiveMaximum!="boolean"&&this.types.number(e)){var a=new b(e,r,n,i),f=e<r.exclusiveMaximum;return f||a.addError({name:"exclusiveMaximum",argument:r.exclusiveMaximum,message:"must be strictly less than "+r.exclusiveMaximum}),a}};var ln=function(e,r,n,i,a,f){if(this.types.number(e)){var o=r[a];if(o==0)throw new me(a+" cannot be zero");var s=new b(e,r,n,i),u=Q.getDecimalPlaces(e),l=Q.getDecimalPlaces(o),y=Math.max(u,l),p=Math.pow(10,y);return Math.round(e*p)%Math.round(o*p)!==0&&s.addError({name:a,argument:o,message:f+JSON.stringify(o)}),s}};S.multipleOf=function(e,r,n,i){return ln.call(this,e,r,n,i,"multipleOf","is not a multiple of (divisible by) ")};S.divisibleBy=function(e,r,n,i){return ln.call(this,e,r,n,i,"divisibleBy","is not divisible by (multiple of) ")};S.required=function(e,r,n,i){var a=new b(e,r,n,i);return e===void 0&&r.required===!0?a.addError({name:"required",message:"is required"}):this.types.object(e)&&Array.isArray(r.required)&&r.required.forEach(function(f){Dr(e,f)===void 0&&a.addError({name:"required",argument:f,message:"requires property "+JSON.stringify(f)})}),a};S.pattern=function(e,r,n,i){if(this.types.string(e)){var a=new b(e,r,n,i),f=r.pattern;try{var o=new RegExp(f,"u")}catch{o=new RegExp(f)}return e.match(o)||a.addError({name:"pattern",argument:r.pattern,message:"does not match pattern "+JSON.stringify(r.pattern.toString())}),a}};S.format=function(e,r,n,i){if(e!==void 0){var a=new b(e,r,n,i);return!a.disableFormat&&!Q.isFormat(e,r.format,this)&&a.addError({name:"format",argument:r.format,message:"does not conform to the "+JSON.stringify(r.format)+" format"}),a}};S.minLength=function(e,r,n,i){if(this.types.string(e)){var a=new b(e,r,n,i),f=e.match(/[\uDC00-\uDFFF]/g),o=e.length-(f?f.length:0);return o>=r.minLength||a.addError({name:"minLength",argument:r.minLength,message:"does not meet minimum length of "+r.minLength}),a}};S.maxLength=function(e,r,n,i){if(this.types.string(e)){var a=new b(e,r,n,i),f=e.match(/[\uDC00-\uDFFF]/g),o=e.length-(f?f.length:0);return o<=r.maxLength||a.addError({name:"maxLength",argument:r.maxLength,message:"does not meet maximum length of "+r.maxLength}),a}};S.minItems=function(e,r,n,i){if(this.types.array(e)){var a=new b(e,r,n,i);return e.length>=r.minItems||a.addError({name:"minItems",argument:r.minItems,message:"does not meet minimum length of "+r.minItems}),a}};S.maxItems=function(e,r,n,i){if(this.types.array(e)){var a=new b(e,r,n,i);return e.length<=r.maxItems||a.addError({name:"maxItems",argument:r.maxItems,message:"does not meet maximum length of "+r.maxItems}),a}};function Ci(t,e,r){var n,i=r.length;for(n=e+1,i;n<i;n++)if(Q.deepCompareStrict(t,r[n]))return!1;return!0}S.uniqueItems=function(e,r,n,i){if(r.uniqueItems===!0&&this.types.array(e)){var a=new b(e,r,n,i);return e.every(Ci)||a.addError({name:"uniqueItems",message:"contains duplicate item"}),a}};S.dependencies=function(e,r,n,i){if(this.types.object(e)){var a=new b(e,r,n,i);for(var f in r.dependencies)if(e[f]!==void 0){var o=r.dependencies[f],s=i.makeChild(o,f);if(typeof o=="string"&&(o=[o]),Array.isArray(o))o.forEach(function(l){e[l]===void 0&&a.addError({name:"dependencies",argument:s.propertyPath,message:"property "+l+" not found, required by "+s.propertyPath})});else{var u=this.validateSchema(e,o,n,s);a.instance!==u.instance&&(a.instance=u.instance),u&&u.errors.length&&(a.addError({name:"dependencies",argument:s.propertyPath,message:"does not meet dependency required by "+s.propertyPath}),a.importErrors(u))}}return a}};S.enum=function(e,r,n,i){if(e===void 0)return null;if(!Array.isArray(r.enum))throw new me("enum expects an array",r);var a=new b(e,r,n,i);return r.enum.some(Q.deepCompareStrict.bind(null,e))||a.addError({name:"enum",argument:r.enum,message:"is not one of enum values: "+r.enum.map(String).join(",")}),a};S.const=function(e,r,n,i){if(e===void 0)return null;var a=new b(e,r,n,i);return Q.deepCompareStrict(r.const,e)||a.addError({name:"const",argument:r.const,message:"does not exactly match expected constant: "+r.const}),a};S.not=S.disallow=function(e,r,n,i){var a=this;if(e===void 0)return null;var f=new b(e,r,n,i),o=r.not||r.disallow;return o?(Array.isArray(o)||(o=[o]),o.forEach(function(s){if(a.testType(e,r,n,i,s)){var u=s&&(s.$id||s.id),l=u||s;f.addError({name:"not",argument:l,message:"is of prohibited type "+l})}}),f):null};pn.exports=Nr});var nr=O((oo,jr)=>{"use strict";var dn=rr(),Zi=he();jr.exports.SchemaScanResult=yn;function yn(t,e){this.id=t,this.ref=e}jr.exports.scan=function(e,r){function n(s,u){if(!(!u||typeof u!="object")){if(u.$ref){var l=dn.resolve(s,u.$ref);o[l]=o[l]?o[l]+1:0;return}var y=u.$id||u.id,p=y?dn.resolve(s,y):s;if(p){if(p.indexOf("#")<0&&(p+="#"),f[p]){if(!Zi.deepCompareStrict(f[p],u))throw new Error("Schema <"+p+"> already exists with different definition");return f[p]}f[p]=u,p[p.length-1]=="#"&&(f[p.substring(0,p.length-1)]=u)}i(p+"/items",Array.isArray(u.items)?u.items:[u.items]),i(p+"/extends",Array.isArray(u.extends)?u.extends:[u.extends]),n(p+"/additionalItems",u.additionalItems),a(p+"/properties",u.properties),n(p+"/additionalProperties",u.additionalProperties),a(p+"/definitions",u.definitions),a(p+"/patternProperties",u.patternProperties),a(p+"/dependencies",u.dependencies),i(p+"/disallow",u.disallow),i(p+"/allOf",u.allOf),i(p+"/anyOf",u.anyOf),i(p+"/oneOf",u.oneOf),n(p+"/not",u.not)}}function i(s,u){if(Array.isArray(u))for(var l=0;l<u.length;l++)n(s+"/"+l,u[l])}function a(s,u){if(!(!u||typeof u!="object"))for(var l in u)n(s+"/"+l,u[l])}var f={},o={};return n(e,r),new yn(f,o)}});var wn=O((fo,Sn)=>{"use strict";var hn=rr(),mn=cn(),we=he(),vn=nr().scan,gn=we.ValidatorResult,_i=we.ValidatorResultError,Ve=we.SchemaError,An=we.SchemaContext,Fn="/",N=function t(){this.customFormats=Object.create(t.prototype.customFormats),this.schemas={},this.unresolvedRefs=[],this.types=Object.create(fe),this.attributes=Object.create(mn.validators)};N.prototype.customFormats={};N.prototype.schemas=null;N.prototype.types=null;N.prototype.attributes=null;N.prototype.unresolvedRefs=null;N.prototype.addSchema=function(e,r){var n=this;if(!e)return null;var i=vn(r||Fn,e),a=r||e.$id||e.id;for(var f in i.id)this.schemas[f]=i.id[f];for(var f in i.ref)this.unresolvedRefs.push(f);return this.unresolvedRefs=this.unresolvedRefs.filter(function(o){return typeof n.schemas[o]>"u"}),this.schemas[a]};N.prototype.addSubSchemaArray=function(e,r){if(Array.isArray(r))for(var n=0;n<r.length;n++)this.addSubSchema(e,r[n])};N.prototype.addSubSchemaObject=function(e,r){if(!(!r||typeof r!="object"))for(var n in r)this.addSubSchema(e,r[n])};N.prototype.setSchemas=function(e){this.schemas=e};N.prototype.getSchema=function(e){return this.schemas[e]};N.prototype.validate=function(e,r,n,i){if(typeof r!="boolean"&&typeof r!="object"||r===null)throw new Ve("Expected `schema` to be an object or boolean");n||(n={});var a=r.$id||r.id,f=hn.resolve(n.base||Fn,a||"");if(!i){i=new An(r,n,[],f,Object.create(this.schemas)),i.schemas[f]||(i.schemas[f]=r);var o=vn(f,r);for(var s in o.id){var u=o.id[s];i.schemas[s]=u}}if(n.required&&e===void 0){var l=new gn(e,r,n,i);return l.addError("is required, but is undefined"),l}var l=this.validateSchema(e,r,n,i);if(l){if(n.throwAll&&l.errors.length)throw new _i(l)}else throw new Error("Result undefined");return l};function bn(t){var e=typeof t=="string"?t:t.$ref;return typeof e=="string"?e:!1}N.prototype.validateSchema=function(e,r,n,i){var a=new gn(e,r,n,i);if(typeof r=="boolean")r===!0?r={}:r===!1&&(r={type:[]});else if(!r)throw new Error("schema is undefined");if(r.extends)if(Array.isArray(r.extends)){var f={schema:r,ctx:i};r.extends.forEach(this.schemaTraverser.bind(this,f)),r=f.schema,f.schema=null,f.ctx=null,f=null}else r=we.deepMerge(r,this.superResolve(r.extends,i));var o=bn(r);if(o){var s=this.resolve(r,o,i),u=new An(s.subschema,n,i.path,s.switchSchema,i.schemas);return this.validateSchema(e,s.subschema,n,u)}var l=n&&n.skipAttributes||[];for(var y in r)if(!mn.ignoreProperties[y]&&l.indexOf(y)<0){var p=null,h=this.attributes[y];if(h)p=h.call(this,e,r,n,i);else if(n.allowUnknownAttributes===!1)throw new Ve("Unsupported attribute: "+y,r);p&&a.importErrors(p)}if(typeof n.rewrite=="function"){var m=n.rewrite.call(this,e,r,n,i);a.instance=m}return a};N.prototype.schemaTraverser=function(e,r){e.schema=we.deepMerge(e.schema,this.superResolve(r,e.ctx))};N.prototype.superResolve=function(e,r){var n=bn(e);return n?this.resolve(e,n,r).subschema:e};N.prototype.resolve=function(e,r,n){if(r=n.resolve(r),n.schemas[r])return{subschema:n.schemas[r],switchSchema:r};var i=hn.parse(r),a=i&&i.hash,f=a&&a.length&&r.substr(0,r.length-a.length);if(!f||!n.schemas[f])throw new Ve("no such schema <"+r+">",e);var o=we.objectGetPath(n.schemas[f],a.substr(1));if(o===void 0)throw new Ve("no such schema "+a+" located in <"+f+">",e);return{subschema:o,switchSchema:r}};N.prototype.testType=function(e,r,n,i,a){if(a!==void 0){if(a===null)throw new Ve('Unexpected null in "type" keyword');if(typeof this.types[a]=="function")return this.types[a].call(this,e);if(a&&typeof a=="object"){var f=this.validateSchema(e,a,n,i);return f===void 0||!(f&&f.errors.length)}return!0}};var fe=N.prototype.types={};fe.string=function(e){return typeof e=="string"};fe.number=function(e){return typeof e=="number"&&isFinite(e)};fe.integer=function(e){return typeof e=="number"&&e%1===0};fe.boolean=function(e){return typeof e=="boolean"};fe.array=function(e){return Array.isArray(e)};fe.null=function(e){return e===null};fe.date=function(e){return e instanceof Date};fe.any=function(e){return!0};fe.object=function(e){return e&&typeof e=="object"&&!Array.isArray(e)&&!(e instanceof Date)};Sn.exports=N});var xn=O((uo,le)=>{"use strict";var qi=le.exports.Validator=wn();le.exports.ValidatorResult=he().ValidatorResult;le.exports.ValidatorResultError=he().ValidatorResultError;le.exports.ValidationError=he().ValidationError;le.exports.SchemaError=he().SchemaError;le.exports.SchemaScanResult=nr().SchemaScanResult;le.exports.scan=nr().scan;le.exports.validate=function(t,e,r){var n=new qi;return n.validate(t,e,r)}});var Ti={};Rn(Ti,{createConfigsApi:()=>Ni});var En=Mn(xn());function Ni(t={}){let e=(n,i)=>{let a=`config-${n}`,f=t.retrieve?.(a);return typeof f=="object"?{...i,...f}:typeof f<"u"?f:void 0},r=(n,i,a)=>{let o=new En.Validator().validate(i,n);return o.valid?i:(console.warn("The given configuration does not match the provided schema. Taking the default configuration.",i,o),a)};return n=>(i,a)=>({defineConfigSchema(f,o){let s=e(a.name,o),u=s?r(f,s,o):o;return n.dispatch(l=>({...l,configs:{...l.configs,[a.name]:u}})),u},getCurrentConfig(){return n.readState(f=>f.configs[a.name])??{}}})}return Cn(Ti);})();
1
+ var piralConfigs=(()=>{var Da=Object.create;var He=Object.defineProperty;var Za=Object.getOwnPropertyDescriptor;var Ta=Object.getOwnPropertyNames;var Na=Object.getPrototypeOf,La=Object.prototype.hasOwnProperty;var m=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ba=(t,e)=>{for(var r in e)He(t,r,{get:e[r],enumerable:!0})},Yr=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Ta(e))!La.call(t,a)&&a!==r&&He(t,a,{get:()=>e[a],enumerable:!(n=Za(e,a))||n.enumerable});return t};var ja=(t,e,r)=>(r=t!=null?Da(Na(t)):{},Yr(e||!t||!t.__esModule?He(r,"default",{value:t,enumerable:!0}):r,t)),Va=t=>Yr(He({},"__esModule",{value:!0}),t);var et=m((xe,Oe)=>{(function(t){var e=typeof xe=="object"&&xe&&!xe.nodeType&&xe,r=typeof Oe=="object"&&Oe&&!Oe.nodeType&&Oe,n=typeof global=="object"&&global;(n.global===n||n.window===n||n.self===n)&&(t=n);var a,i=2147483647,o=36,f=1,s=26,u=38,p=700,c=72,l=128,v="-",A=/^xn--/,P=/[^\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"},h=o-f,d=Math.floor,x=String.fromCharCode,$;function O(y){throw new RangeError(N[y])}function W(y,g){for(var b=y.length,q=[];b--;)q[b]=g(y[b]);return q}function L(y,g){var b=y.split("@"),q="";b.length>1&&(q=b[0]+"@",y=b[1]),y=y.replace(E,".");var M=y.split("."),U=W(M,g).join(".");return q+U}function R(y){for(var g=[],b=0,q=y.length,M,U;b<q;)M=y.charCodeAt(b++),M>=55296&&M<=56319&&b<q?(U=y.charCodeAt(b++),(U&64512)==56320?g.push(((M&1023)<<10)+(U&1023)+65536):(g.push(M),b--)):g.push(M);return g}function C(y){return W(y,function(g){var b="";return g>65535&&(g-=65536,b+=x(g>>>10&1023|55296),g=56320|g&1023),b+=x(g),b}).join("")}function te(y){return y-48<10?y-22:y-65<26?y-65:y-97<26?y-97:o}function X(y,g){return y+22+75*(y<26)-((g!=0)<<5)}function _(y,g,b){var q=0;for(y=b?d(y/p):y>>1,y+=d(y/g);y>h*s>>1;q+=o)y=d(y/h);return d(q+(h+1)*y/(y+u))}function V(y){var g=[],b=y.length,q,M=0,U=l,T=c,k,Y,ne,ue,j,K,ee,pe,ve;for(k=y.lastIndexOf(v),k<0&&(k=0),Y=0;Y<k;++Y)y.charCodeAt(Y)>=128&&O("not-basic"),g.push(y.charCodeAt(Y));for(ne=k>0?k+1:0;ne<b;){for(ue=M,j=1,K=o;ne>=b&&O("invalid-input"),ee=te(y.charCodeAt(ne++)),(ee>=o||ee>d((i-M)/j))&&O("overflow"),M+=ee*j,pe=K<=T?f:K>=T+s?s:K-T,!(ee<pe);K+=o)ve=o-pe,j>d(i/ve)&&O("overflow"),j*=ve;q=g.length+1,T=_(M-ue,q,ue==0),d(M/q)>i-U&&O("overflow"),U+=d(M/q),M%=q,g.splice(M++,0,U)}return C(g)}function B(y){var g,b,q,M,U,T,k,Y,ne,ue,j,K=[],ee,pe,ve,cr;for(y=R(y),ee=y.length,g=l,b=0,U=c,T=0;T<ee;++T)j=y[T],j<128&&K.push(x(j));for(q=M=K.length,M&&K.push(v);q<ee;){for(k=i,T=0;T<ee;++T)j=y[T],j>=g&&j<k&&(k=j);for(pe=q+1,k-g>d((i-b)/pe)&&O("overflow"),b+=(k-g)*pe,g=k,T=0;T<ee;++T)if(j=y[T],j<g&&++b>i&&O("overflow"),j==g){for(Y=b,ne=o;ue=ne<=U?f:ne>=U+s?s:ne-U,!(Y<ue);ne+=o)cr=Y-ue,ve=o-ue,K.push(x(X(ue+cr%ve,0))),Y=d(cr/ve);K.push(x(X(Y,0))),U=_(b,pe,q==M),b=0,++q}++b,++g}return K.join("")}function J(y){return L(y,function(g){return A.test(g)?V(g.slice(4).toLowerCase()):g})}function me(y){return L(y,function(g){return P.test(g)?"xn--"+B(g):g})}if(a={version:"1.4.1",ucs2:{decode:R,encode:C},decode:V,encode:B,toASCII:me,toUnicode:J},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return a});else if(e&&r)if(Oe.exports==e)r.exports=a;else for($ in a)a.hasOwnProperty($)&&(e[$]=a[$]);else t.punycode=a})(xe)});var ge=m((Bf,rt)=>{"use strict";rt.exports=TypeError});var tt=m(()=>{});var Ne=m((Uf,St)=>{var Sr=typeof Map=="function"&&Map.prototype,dr=Object.getOwnPropertyDescriptor&&Sr?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Ke=Sr&&dr&&typeof dr.get=="function"?dr.get:null,nt=Sr&&Map.prototype.forEach,Fr=typeof Set=="function"&&Set.prototype,yr=Object.getOwnPropertyDescriptor&&Fr?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Qe=Fr&&yr&&typeof yr.get=="function"?yr.get:null,at=Fr&&Set.prototype.forEach,Ua=typeof WeakMap=="function"&&WeakMap.prototype,De=Ua?WeakMap.prototype.has:null,Wa=typeof WeakSet=="function"&&WeakSet.prototype,Ze=Wa?WeakSet.prototype.has:null,ka=typeof WeakRef=="function"&&WeakRef.prototype,it=ka?WeakRef.prototype.deref:null,Ga=Boolean.prototype.valueOf,Ha=Object.prototype.toString,Ja=Function.prototype.toString,Ka=String.prototype.match,Er=String.prototype.slice,ce=String.prototype.replace,Qa=String.prototype.toUpperCase,ot=String.prototype.toLowerCase,ht=RegExp.prototype.test,ft=Array.prototype.concat,ae=Array.prototype.join,Xa=Array.prototype.slice,ut=Math.floor,vr=typeof BigInt=="function"?BigInt.prototype.valueOf:null,hr=Object.getOwnPropertySymbols,gr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Pe=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Te=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Pe||!0)?Symbol.toStringTag:null,mt=Object.prototype.propertyIsEnumerable,st=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function lt(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||ht.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-ut(-t):ut(t);if(n!==t){var a=String(n),i=Er.call(e,a.length+1);return ce.call(a,r,"$&_")+"."+ce.call(ce.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ce.call(e,r,"$&_")}var Ar=tt(),pt=Ar.custom,ct=At(pt)?pt:null,vt={__proto__:null,double:'"',single:"'"},Ya={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};St.exports=function t(e,r,n,a){var i=r||{};if(se(i,"quoteStyle")&&!se(vt,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 bt(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var s=String(e);return f?lt(e,s):s}if(typeof e=="bigint"){var u=String(e)+"n";return f?lt(e,u):u}var p=typeof i.depth>"u"?5:i.depth;if(typeof n>"u"&&(n=0),n>=p&&p>0&&typeof e=="object")return wr(e)?"[Array]":"[Object]";var c=vi(i,n);if(typeof a>"u")a=[];else if(wt(a,e)>=0)return"[Circular]";function l(_,V,B){if(V&&(a=Xa.call(a),a.push(V)),B){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"&&!dt(e)){var v=ui(e),A=Je(e,l);return"[Function"+(v?": "+v:" (anonymous)")+"]"+(A.length>0?" { "+ae.call(A,", ")+" }":"")}if(At(e)){var P=Pe?ce.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):gr.call(e);return typeof e=="object"&&!Pe?Ce(P):P}if(yi(e)){for(var E="<"+ot.call(String(e.nodeName)),N=e.attributes||[],h=0;h<N.length;h++)E+=" "+N[h].name+"="+gt(ei(N[h].value),"double",i);return E+=">",e.childNodes&&e.childNodes.length&&(E+="..."),E+="</"+ot.call(String(e.nodeName))+">",E}if(wr(e)){if(e.length===0)return"[]";var d=Je(e,l);return c&&!mi(d)?"["+br(d,c)+"]":"[ "+ae.call(d,", ")+" ]"}if(ti(e)){var x=Je(e,l);return!("cause"in Error.prototype)&&"cause"in e&&!mt.call(e,"cause")?"{ ["+String(e)+"] "+ae.call(ft.call("[cause]: "+l(e.cause),x),", ")+" }":x.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+ae.call(x,", ")+" }"}if(typeof e=="object"&&o){if(ct&&typeof e[ct]=="function"&&Ar)return Ar(e,{depth:p-n});if(o!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(si(e)){var $=[];return nt&&nt.call(e,function(_,V){$.push(l(V,e,!0)+" => "+l(_,e))}),yt("Map",Ke.call(e),$,c)}if(ci(e)){var O=[];return at&&at.call(e,function(_){O.push(l(_,e))}),yt("Set",Qe.call(e),O,c)}if(li(e))return mr("WeakMap");if(di(e))return mr("WeakSet");if(pi(e))return mr("WeakRef");if(ai(e))return Ce(l(Number(e)));if(oi(e))return Ce(l(vr.call(e)));if(ii(e))return Ce(Ga.call(e));if(ni(e))return Ce(l(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(!ri(e)&&!dt(e)){var W=Je(e,l),L=st?st(e)===Object.prototype:e instanceof Object||e.constructor===Object,R=e instanceof Object?"":"null prototype",C=!L&&Te&&Object(e)===e&&Te in e?Er.call(de(e),8,-1):R?"Object":"",te=L||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",X=te+(C||R?"["+ae.call(ft.call([],C||[],R||[]),": ")+"] ":"");return W.length===0?X+"{}":c?X+"{"+br(W,c)+"}":X+"{ "+ae.call(W,", ")+" }"}return String(e)};function gt(t,e,r){var n=r.quoteStyle||e,a=vt[n];return a+t+a}function ei(t){return ce.call(String(t),/"/g,"&quot;")}function Ae(t){return!Te||!(typeof t=="object"&&(Te in t||typeof t[Te]<"u"))}function wr(t){return de(t)==="[object Array]"&&Ae(t)}function ri(t){return de(t)==="[object Date]"&&Ae(t)}function dt(t){return de(t)==="[object RegExp]"&&Ae(t)}function ti(t){return de(t)==="[object Error]"&&Ae(t)}function ni(t){return de(t)==="[object String]"&&Ae(t)}function ai(t){return de(t)==="[object Number]"&&Ae(t)}function ii(t){return de(t)==="[object Boolean]"&&Ae(t)}function At(t){if(Pe)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!gr)return!1;try{return gr.call(t),!0}catch{}return!1}function oi(t){if(!t||typeof t!="object"||!vr)return!1;try{return vr.call(t),!0}catch{}return!1}var fi=Object.prototype.hasOwnProperty||function(t){return t in this};function se(t,e){return fi.call(t,e)}function de(t){return Ha.call(t)}function ui(t){if(t.name)return t.name;var e=Ka.call(Ja.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function wt(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 si(t){if(!Ke||!t||typeof t!="object")return!1;try{Ke.call(t);try{Qe.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function li(t){if(!De||!t||typeof t!="object")return!1;try{De.call(t,De);try{Ze.call(t,Ze)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function pi(t){if(!it||!t||typeof t!="object")return!1;try{return it.call(t),!0}catch{}return!1}function ci(t){if(!Qe||!t||typeof t!="object")return!1;try{Qe.call(t);try{Ke.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function di(t){if(!Ze||!t||typeof t!="object")return!1;try{Ze.call(t,Ze);try{De.call(t,De)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function yi(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function bt(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return bt(Er.call(t,0,e.maxStringLength),e)+n}var a=Ya[e.quoteStyle||"single"];a.lastIndex=0;var i=ce.call(ce.call(t,a,"\\$1"),/[\x00-\x1f]/g,hi);return gt(i,"single",e)}function hi(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":"")+Qa.call(e.toString(16))}function Ce(t){return"Object("+t+")"}function mr(t){return t+" { ? }"}function yt(t,e,r,n){var a=n?br(r,n):ae.call(r,", ");return t+" ("+e+") {"+a+"}"}function mi(t){for(var e=0;e<t.length;e++)if(wt(t[e],`
2
+ `)>=0)return!1;return!0}function vi(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 br(t,e){if(t.length===0)return"";var r=`
3
+ `+e.prev+e.base;return r+ae.call(t,","+r)+`
4
+ `+e.prev}function Je(t,e){var r=wr(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 hr=="function"?hr(t):[],o;if(Pe){o={};for(var f=0;f<i.length;f++)o["$"+i[f]]=i[f]}for(var s in t)se(t,s)&&(r&&String(Number(s))===s&&s<t.length||Pe&&o["$"+s]instanceof Symbol||(ht.call(/[^\w$]/,s)?n.push(e(s,t)+": "+e(t[s],t)):n.push(s+": "+e(t[s],t))));if(typeof hr=="function")for(var u=0;u<i.length;u++)mt.call(t,i[u])&&n.push("["+e(i[u])+"]: "+e(t[i[u]],t));return n}});var Et=m((Wf,Ft)=>{"use strict";var gi=Ne(),Ai=ge(),Xe=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},wi=function(t,e){if(t){var r=Xe(t,e);return r&&r.value}},bi=function(t,e,r){var n=Xe(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}},Si=function(t,e){return t?!!Xe(t,e):!1},Fi=function(t,e){if(t)return Xe(t,e,!0)};Ft.exports=function(){var e,r={assert:function(n){if(!r.has(n))throw new Ai("Side channel does not contain "+gi(n))},delete:function(n){var a=e&&e.next,i=Fi(e,n);return i&&a&&a===i&&(e=void 0),!!i},get:function(n){return wi(e,n)},has:function(n){return Si(e,n)},set:function(n,a){e||(e={next:void 0}),bi(e,n,a)}};return r}});var xr=m((kf,xt)=>{"use strict";xt.exports=Object});var Pt=m((Gf,Ot)=>{"use strict";Ot.exports=Error});var qt=m((Hf,$t)=>{"use strict";$t.exports=EvalError});var Rt=m((Jf,It)=>{"use strict";It.exports=RangeError});var _t=m((Kf,Mt)=>{"use strict";Mt.exports=ReferenceError});var Ct=m((Qf,zt)=>{"use strict";zt.exports=SyntaxError});var Zt=m((Xf,Dt)=>{"use strict";Dt.exports=URIError});var Nt=m((Yf,Tt)=>{"use strict";Tt.exports=Math.abs});var Bt=m((eu,Lt)=>{"use strict";Lt.exports=Math.floor});var Vt=m((ru,jt)=>{"use strict";jt.exports=Math.max});var Wt=m((tu,Ut)=>{"use strict";Ut.exports=Math.min});var Gt=m((nu,kt)=>{"use strict";kt.exports=Math.pow});var Jt=m((au,Ht)=>{"use strict";Ht.exports=Math.round});var Qt=m((iu,Kt)=>{"use strict";Kt.exports=Number.isNaN||function(e){return e!==e}});var Yt=m((ou,Xt)=>{"use strict";var Ei=Qt();Xt.exports=function(e){return Ei(e)||e===0?e:e<0?-1:1}});var rn=m((fu,en)=>{"use strict";en.exports=Object.getOwnPropertyDescriptor});var Or=m((uu,tn)=>{"use strict";var Ye=rn();if(Ye)try{Ye([],"length")}catch{Ye=null}tn.exports=Ye});var an=m((su,nn)=>{"use strict";var er=Object.defineProperty||!1;if(er)try{er({},"a",{value:1})}catch{er=!1}nn.exports=er});var fn=m((lu,on)=>{"use strict";on.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 ln=m((pu,sn)=>{"use strict";var un=typeof Symbol<"u"&&Symbol,xi=fn();sn.exports=function(){return typeof un!="function"||typeof Symbol!="function"||typeof un("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:xi()}});var Pr=m((cu,pn)=>{"use strict";pn.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var $r=m((du,cn)=>{"use strict";var Oi=xr();cn.exports=Oi.getPrototypeOf||null});var hn=m((yu,yn)=>{"use strict";var Pi="Function.prototype.bind called on incompatible ",$i=Object.prototype.toString,qi=Math.max,Ii="[object Function]",dn=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},Ri=function(e,r){for(var n=[],a=r||0,i=0;a<e.length;a+=1,i+=1)n[i]=e[a];return n},Mi=function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r};yn.exports=function(e){var r=this;if(typeof r!="function"||$i.apply(r)!==Ii)throw new TypeError(Pi+r);for(var n=Ri(arguments,1),a,i=function(){if(this instanceof a){var p=r.apply(this,dn(n,arguments));return Object(p)===p?p:this}return r.apply(e,dn(n,arguments))},o=qi(0,r.length-n.length),f=[],s=0;s<o;s++)f[s]="$"+s;if(a=Function("binder","return function ("+Mi(f,",")+"){ return binder.apply(this,arguments); }")(i),r.prototype){var u=function(){};u.prototype=r.prototype,a.prototype=new u,u.prototype=null}return a}});var Le=m((hu,mn)=>{"use strict";var _i=hn();mn.exports=Function.prototype.bind||_i});var rr=m((mu,vn)=>{"use strict";vn.exports=Function.prototype.call});var qr=m((vu,gn)=>{"use strict";gn.exports=Function.prototype.apply});var wn=m((gu,An)=>{"use strict";An.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var Sn=m((Au,bn)=>{"use strict";var zi=Le(),Ci=qr(),Di=rr(),Zi=wn();bn.exports=Zi||zi.call(Di,Ci)});var Ir=m((wu,Fn)=>{"use strict";var Ti=Le(),Ni=ge(),Li=rr(),Bi=Sn();Fn.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new Ni("a function is required");return Bi(Ti,Li,e)}});var qn=m((bu,$n)=>{"use strict";var ji=Ir(),En=Or(),On;try{On=[].__proto__===Array.prototype}catch(t){if(!t||typeof t!="object"||!("code"in t)||t.code!=="ERR_PROTO_ACCESS")throw t}var Rr=!!On&&En&&En(Object.prototype,"__proto__"),Pn=Object,xn=Pn.getPrototypeOf;$n.exports=Rr&&typeof Rr.get=="function"?ji([Rr.get]):typeof xn=="function"?function(e){return xn(e==null?e:Pn(e))}:!1});var zn=m((Su,_n)=>{"use strict";var In=Pr(),Rn=$r(),Mn=qn();_n.exports=In?function(e){return In(e)}:Rn?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return Rn(e)}:Mn?function(e){return Mn(e)}:null});var Dn=m((Fu,Cn)=>{"use strict";var Vi=Function.prototype.call,Ui=Object.prototype.hasOwnProperty,Wi=Le();Cn.exports=Wi.call(Vi,Ui)});var ar=m((Eu,jn)=>{"use strict";var w,ki=xr(),Gi=Pt(),Hi=qt(),Ji=Rt(),Ki=_t(),Re=Ct(),Ie=ge(),Qi=Zt(),Xi=Nt(),Yi=Bt(),eo=Vt(),ro=Wt(),to=Gt(),no=Jt(),ao=Yt(),Ln=Function,Mr=function(t){try{return Ln('"use strict"; return ('+t+").constructor;")()}catch{}},Be=Or(),io=an(),_r=function(){throw new Ie},oo=Be?(function(){try{return arguments.callee,_r}catch{try{return Be(arguments,"callee").get}catch{return _r}}})():_r,$e=ln()(),D=zn(),fo=$r(),uo=Pr(),Bn=qr(),je=rr(),qe={},so=typeof Uint8Array>"u"||!D?w:D(Uint8Array),we={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?w:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?w:ArrayBuffer,"%ArrayIteratorPrototype%":$e&&D?D([][Symbol.iterator]()):w,"%AsyncFromSyncIteratorPrototype%":w,"%AsyncFunction%":qe,"%AsyncGenerator%":qe,"%AsyncGeneratorFunction%":qe,"%AsyncIteratorPrototype%":qe,"%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%":Gi,"%eval%":eval,"%EvalError%":Hi,"%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%":Ln,"%GeneratorFunction%":qe,"%Int8Array%":typeof Int8Array>"u"?w:Int8Array,"%Int16Array%":typeof Int16Array>"u"?w:Int16Array,"%Int32Array%":typeof Int32Array>"u"?w:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":$e&&D?D(D([][Symbol.iterator]())):w,"%JSON%":typeof JSON=="object"?JSON:w,"%Map%":typeof Map>"u"?w:Map,"%MapIteratorPrototype%":typeof Map>"u"||!$e||!D?w:D(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":ki,"%Object.getOwnPropertyDescriptor%":Be,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?w:Promise,"%Proxy%":typeof Proxy>"u"?w:Proxy,"%RangeError%":Ji,"%ReferenceError%":Ki,"%Reflect%":typeof Reflect>"u"?w:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?w:Set,"%SetIteratorPrototype%":typeof Set>"u"||!$e||!D?w:D(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?w:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":$e&&D?D(""[Symbol.iterator]()):w,"%Symbol%":$e?Symbol:w,"%SyntaxError%":Re,"%ThrowTypeError%":oo,"%TypedArray%":so,"%TypeError%":Ie,"%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%":Qi,"%WeakMap%":typeof WeakMap>"u"?w:WeakMap,"%WeakRef%":typeof WeakRef>"u"?w:WeakRef,"%WeakSet%":typeof WeakSet>"u"?w:WeakSet,"%Function.prototype.call%":je,"%Function.prototype.apply%":Bn,"%Object.defineProperty%":io,"%Object.getPrototypeOf%":fo,"%Math.abs%":Xi,"%Math.floor%":Yi,"%Math.max%":eo,"%Math.min%":ro,"%Math.pow%":to,"%Math.round%":no,"%Math.sign%":ao,"%Reflect.getPrototypeOf%":uo};if(D)try{null.error}catch(t){Zn=D(D(t)),we["%Error.prototype%"]=Zn}var Zn,lo=function t(e){var r;if(e==="%AsyncFunction%")r=Mr("async function () {}");else if(e==="%GeneratorFunction%")r=Mr("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=Mr("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 we[e]=r,r},Tn={__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"]},Ve=Le(),tr=Dn(),po=Ve.call(je,Array.prototype.concat),co=Ve.call(Bn,Array.prototype.splice),Nn=Ve.call(je,String.prototype.replace),nr=Ve.call(je,String.prototype.slice),yo=Ve.call(je,RegExp.prototype.exec),ho=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,mo=/\\(\\)?/g,vo=function(e){var r=nr(e,0,1),n=nr(e,-1);if(r==="%"&&n!=="%")throw new Re("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Re("invalid intrinsic syntax, expected opening `%`");var a=[];return Nn(e,ho,function(i,o,f,s){a[a.length]=f?Nn(s,mo,"$1"):o||i}),a},go=function(e,r){var n=e,a;if(tr(Tn,n)&&(a=Tn[n],n="%"+a[0]+"%"),tr(we,n)){var i=we[n];if(i===qe&&(i=lo(n)),typeof i>"u"&&!r)throw new Ie("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:i}}throw new Re("intrinsic "+e+" does not exist!")};jn.exports=function(e,r){if(typeof e!="string"||e.length===0)throw new Ie("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Ie('"allowMissing" argument must be a boolean');if(yo(/^%?[^%]*%?$/,e)===null)throw new Re("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=vo(e),a=n.length>0?n[0]:"",i=go("%"+a+"%",r),o=i.name,f=i.value,s=!1,u=i.alias;u&&(a=u[0],co(n,po([0,1],u)));for(var p=1,c=!0;p<n.length;p+=1){var l=n[p],v=nr(l,0,1),A=nr(l,-1);if((v==='"'||v==="'"||v==="`"||A==='"'||A==="'"||A==="`")&&v!==A)throw new Re("property names with quotes must have matching quotes");if((l==="constructor"||!c)&&(s=!0),a+="."+l,o="%"+a+"%",tr(we,o))f=we[o];else if(f!=null){if(!(l in f)){if(!r)throw new Ie("base intrinsic for "+e+" exists, but the property is not available.");return}if(Be&&p+1>=n.length){var P=Be(f,l);c=!!P,c&&"get"in P&&!("originalValue"in P.get)?f=P.get:f=f[l]}else c=tr(f,l),f=f[l];c&&!s&&(we[o]=f)}}return f}});var zr=m((xu,Wn)=>{"use strict";var Vn=ar(),Un=Ir(),Ao=Un([Vn("%String.prototype.indexOf%")]);Wn.exports=function(e,r){var n=Vn(e,!!r);return typeof n=="function"&&Ao(e,".prototype.")>-1?Un([n]):n}});var Cr=m((Ou,Gn)=>{"use strict";var wo=ar(),Ue=zr(),bo=Ne(),So=ge(),kn=wo("%Map%",!0),Fo=Ue("Map.prototype.get",!0),Eo=Ue("Map.prototype.set",!0),xo=Ue("Map.prototype.has",!0),Oo=Ue("Map.prototype.delete",!0),Po=Ue("Map.prototype.size",!0);Gn.exports=!!kn&&function(){var e,r={assert:function(n){if(!r.has(n))throw new So("Side channel does not contain "+bo(n))},delete:function(n){if(e){var a=Oo(e,n);return Po(e)===0&&(e=void 0),a}return!1},get:function(n){if(e)return Fo(e,n)},has:function(n){return e?xo(e,n):!1},set:function(n,a){e||(e=new kn),Eo(e,n,a)}};return r}});var Jn=m((Pu,Hn)=>{"use strict";var $o=ar(),or=zr(),qo=Ne(),ir=Cr(),Io=ge(),Me=$o("%WeakMap%",!0),Ro=or("WeakMap.prototype.get",!0),Mo=or("WeakMap.prototype.set",!0),_o=or("WeakMap.prototype.has",!0),zo=or("WeakMap.prototype.delete",!0);Hn.exports=Me?function(){var e,r,n={assert:function(a){if(!n.has(a))throw new Io("Side channel does not contain "+qo(a))},delete:function(a){if(Me&&a&&(typeof a=="object"||typeof a=="function")){if(e)return zo(e,a)}else if(ir&&r)return r.delete(a);return!1},get:function(a){return Me&&a&&(typeof a=="object"||typeof a=="function")&&e?Ro(e,a):r&&r.get(a)},has:function(a){return Me&&a&&(typeof a=="object"||typeof a=="function")&&e?_o(e,a):!!r&&r.has(a)},set:function(a,i){Me&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new Me),Mo(e,a,i)):ir&&(r||(r=ir()),r.set(a,i))}};return n}:ir});var Qn=m(($u,Kn)=>{"use strict";var Co=ge(),Do=Ne(),Zo=Et(),To=Cr(),No=Jn(),Lo=No||To||Zo;Kn.exports=function(){var e,r={assert:function(n){if(!r.has(n))throw new Co("Side channel does not contain "+Do(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=Lo()),e.set(n,a)}};return r}});var fr=m((qu,Xn)=>{"use strict";var Bo=String.prototype.replace,jo=/%20/g,Dr={RFC1738:"RFC1738",RFC3986:"RFC3986"};Xn.exports={default:Dr.RFC3986,formatters:{RFC1738:function(t){return Bo.call(t,jo,"+")},RFC3986:function(t){return String(t)}},RFC1738:Dr.RFC1738,RFC3986:Dr.RFC3986}});var Nr=m((Iu,ea)=>{"use strict";var Vo=fr(),Zr=Object.prototype.hasOwnProperty,be=Array.isArray,ie=(function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t})(),Uo=function(e){for(;e.length>1;){var r=e.pop(),n=r.obj[r.prop];if(be(n)){for(var a=[],i=0;i<n.length;++i)typeof n[i]<"u"&&a.push(n[i]);r.obj[r.prop]=a}}},Yn=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},Wo=function t(e,r,n){if(!r)return e;if(typeof r!="object"&&typeof r!="function"){if(be(e))e.push(r);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Zr.call(Object.prototype,r))&&(e[r]=!0);else return[e,r];return e}if(!e||typeof e!="object")return[e].concat(r);var a=e;return be(e)&&!be(r)&&(a=Yn(e,n)),be(e)&&be(r)?(r.forEach(function(i,o){if(Zr.call(e,o)){var f=e[o];f&&typeof f=="object"&&i&&typeof i=="object"?e[o]=t(f,i,n):e.push(i)}else e[o]=i}),e):Object.keys(r).reduce(function(i,o){var f=r[o];return Zr.call(i,o)?i[o]=t(i[o],f,n):i[o]=f,i},a)},ko=function(e,r){return Object.keys(r).reduce(function(n,a){return n[a]=r[a],n},e)},Go=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}},Tr=1024,Ho=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(v){return"%26%23"+parseInt(v.slice(2),16)+"%3B"});for(var f="",s=0;s<o.length;s+=Tr){for(var u=o.length>=Tr?o.slice(s,s+Tr):o,p=[],c=0;c<u.length;++c){var l=u.charCodeAt(c);if(l===45||l===46||l===95||l===126||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===Vo.RFC1738&&(l===40||l===41)){p[p.length]=u.charAt(c);continue}if(l<128){p[p.length]=ie[l];continue}if(l<2048){p[p.length]=ie[192|l>>6]+ie[128|l&63];continue}if(l<55296||l>=57344){p[p.length]=ie[224|l>>12]+ie[128|l>>6&63]+ie[128|l&63];continue}c+=1,l=65536+((l&1023)<<10|u.charCodeAt(c)&1023),p[p.length]=ie[240|l>>18]+ie[128|l>>12&63]+ie[128|l>>6&63]+ie[128|l&63]}f+=p.join("")}return f},Jo=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),s=0;s<f.length;++s){var u=f[s],p=o[u];typeof p=="object"&&p!==null&&n.indexOf(p)===-1&&(r.push({obj:o,prop:u}),n.push(p))}return Uo(r),e},Ko=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},Qo=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},Xo=function(e,r){return[].concat(e,r)},Yo=function(e,r){if(be(e)){for(var n=[],a=0;a<e.length;a+=1)n.push(r(e[a]));return n}return r(e)};ea.exports={arrayToObject:Yn,assign:ko,combine:Xo,compact:Jo,decode:Go,encode:Ho,isBuffer:Qo,isRegExp:Ko,maybeMap:Yo,merge:Wo}});var oa=m((Ru,ia)=>{"use strict";var ta=Qn(),ur=Nr(),We=fr(),ef=Object.prototype.hasOwnProperty,na={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,r){return e+"["+r+"]"},repeat:function(e){return e}},oe=Array.isArray,rf=Array.prototype.push,aa=function(t,e){rf.apply(t,oe(e)?e:[e])},tf=Date.prototype.toISOString,ra=We.default,z={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:ur.encode,encodeValuesOnly:!1,filter:void 0,format:ra,formatter:We.formatters[ra],indices:!1,serializeDate:function(e){return tf.call(e)},skipNulls:!1,strictNullHandling:!1},nf=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},Lr={},af=function t(e,r,n,a,i,o,f,s,u,p,c,l,v,A,P,E,N,h){for(var d=e,x=h,$=0,O=!1;(x=x.get(Lr))!==void 0&&!O;){var W=x.get(e);if($+=1,typeof W<"u"){if(W===$)throw new RangeError("Cyclic object value");O=!0}typeof x.get(Lr)>"u"&&($=0)}if(typeof p=="function"?d=p(r,d):d instanceof Date?d=v(d):n==="comma"&&oe(d)&&(d=ur.maybeMap(d,function(b){return b instanceof Date?v(b):b})),d===null){if(o)return u&&!E?u(r,z.encoder,N,"key",A):r;d=""}if(nf(d)||ur.isBuffer(d)){if(u){var L=E?r:u(r,z.encoder,N,"key",A);return[P(L)+"="+P(u(d,z.encoder,N,"value",A))]}return[P(r)+"="+P(String(d))]}var R=[];if(typeof d>"u")return R;var C;if(n==="comma"&&oe(d))E&&u&&(d=ur.maybeMap(d,u)),C=[{value:d.length>0?d.join(",")||null:void 0}];else if(oe(p))C=p;else{var te=Object.keys(d);C=c?te.sort(c):te}var X=s?String(r).replace(/\./g,"%2E"):String(r),_=a&&oe(d)&&d.length===1?X+"[]":X;if(i&&oe(d)&&d.length===0)return _+"[]";for(var V=0;V<C.length;++V){var B=C[V],J=typeof B=="object"&&B&&typeof B.value<"u"?B.value:d[B];if(!(f&&J===null)){var me=l&&s?String(B).replace(/\./g,"%2E"):String(B),y=oe(d)?typeof n=="function"?n(_,me):_:_+(l?"."+me:"["+me+"]");h.set(e,$);var g=ta();g.set(Lr,h),aa(R,t(J,y,n,a,i,o,f,s,n==="comma"&&E&&oe(d)?null:u,p,c,l,v,A,P,E,N,g))}}return R},of=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=We.default;if(typeof e.format<"u"){if(!ef.call(We.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var a=We.formatters[n],i=z.filter;(typeof e.filter=="function"||oe(e.filter))&&(i=e.filter);var o;if(e.arrayFormat in na?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}};ia.exports=function(t,e){var r=t,n=of(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=na[n.arrayFormat],s=f==="comma"&&n.commaRoundTrip;a||(a=Object.keys(r)),n.sort&&a.sort(n.sort);for(var u=ta(),p=0;p<a.length;++p){var c=a[p],l=r[c];n.skipNulls&&l===null||aa(o,af(l,c,f,s,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,u))}var v=o.join(n.delimiter),A=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?A+="utf8=%26%2310003%3B&":A+="utf8=%E2%9C%93&"),v.length>0?A+v:""}});var la=m((Mu,sa)=>{"use strict";var Se=Nr(),Br=Object.prototype.hasOwnProperty,fa=Array.isArray,I={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Se.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},ff=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},ua=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},uf="utf8=%26%2310003%3B",sf="utf8=%E2%9C%93",lf=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,s,u=r.charset;if(r.charsetSentinel)for(s=0;s<o.length;++s)o[s].indexOf("utf8=")===0&&(o[s]===sf?u="utf-8":o[s]===uf&&(u="iso-8859-1"),f=s,s=o.length);for(s=0;s<o.length;++s)if(s!==f){var p=o[s],c=p.indexOf("]="),l=c===-1?p.indexOf("="):c+1,v,A;l===-1?(v=r.decoder(p,I.decoder,u,"key"),A=r.strictNullHandling?null:""):(v=r.decoder(p.slice(0,l),I.decoder,u,"key"),A=Se.maybeMap(ua(p.slice(l+1),r,fa(n[v])?n[v].length:0),function(E){return r.decoder(E,I.decoder,u,"value")})),A&&r.interpretNumericEntities&&u==="iso-8859-1"&&(A=ff(String(A))),p.indexOf("[]=")>-1&&(A=fa(A)?[A]:A);var P=Br.call(n,v);P&&r.duplicates==="combine"?n[v]=Se.combine(n[v],A):(!P||r.duplicates==="last")&&(n[v]=A)}return n},pf=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:ua(e,r,a),f=t.length-1;f>=0;--f){var s,u=t[f];if(u==="[]"&&r.parseArrays)s=r.allowEmptyArrays&&(o===""||r.strictNullHandling&&o===null)?[]:Se.combine([],o);else{s=r.plainObjects?{__proto__:null}:{};var p=u.charAt(0)==="["&&u.charAt(u.length-1)==="]"?u.slice(1,-1):u,c=r.decodeDotInKeys?p.replace(/%2E/g,"."):p,l=parseInt(c,10);!r.parseArrays&&c===""?s={0:o}:!isNaN(l)&&u!==c&&String(l)===c&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(s=[],s[l]=o):c!=="__proto__"&&(s[c]=o)}o=s}return o},cf=function(e,r,n,a){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/,f=/(\[[^[\]]*])/g,s=n.depth>0&&o.exec(i),u=s?i.slice(0,s.index):i,p=[];if(u){if(!n.plainObjects&&Br.call(Object.prototype,u)&&!n.allowPrototypes)return;p.push(u)}for(var c=0;n.depth>0&&(s=f.exec(i))!==null&&c<n.depth;){if(c+=1,!n.plainObjects&&Br.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;p.push(s[1])}if(s){if(n.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");p.push("["+i.slice(s.index)+"]")}return pf(p,r,n,a)}},df=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"||Se.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}};sa.exports=function(t,e){var r=df(e);if(t===""||t===null||typeof t>"u")return r.plainObjects?{__proto__:null}:{};for(var n=typeof t=="string"?lf(t,r):t,a=r.plainObjects?{__proto__:null}:{},i=Object.keys(n),o=0;o<i.length;++o){var f=i[o],s=cf(f,n[f],r,typeof t=="string");a=Se.merge(a,s,r)}return r.allowSparse===!0?a:Se.compact(a)}});var ca=m((_u,pa)=>{"use strict";var yf=oa(),hf=la(),mf=fr();pa.exports={formats:mf,parse:hf,stringify:yf}});var sr=m(ze=>{"use strict";var vf=et();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 gf=/^([a-z0-9.+-]+:)/i,Af=/:[0-9]*$/,wf=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,bf=["<",">",'"',"`"," ","\r",`
5
+ `," "],Sf=["{","}","|","\\","^","`"].concat(bf),jr=["'"].concat(Sf),da=["%","/","?",";","#"].concat(jr),ya=["/","?","#"],Ff=255,ha=/^[+a-z0-9A-Z_-]{0,63}$/,Ef=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,xf={javascript:!0,"javascript:":!0},Vr={javascript:!0,"javascript:":!0},_e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Ur=ca();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 s=wf.exec(f);if(s)return this.path=f,this.href=f,this.pathname=s[1],s[2]?(this.search=s[2],e?this.query=Ur.parse(this.search.substr(1)):this.query=this.search.substr(1)):e&&(this.search="",this.query={}),this}var u=gf.exec(f);if(u){u=u[0];var p=u.toLowerCase();this.protocol=p,f=f.substr(u.length)}if(r||u||f.match(/^\/\/[^@/]+@[^@/]+/)){var c=f.substr(0,2)==="//";c&&!(u&&Vr[u])&&(f=f.substr(2),this.slashes=!0)}if(!Vr[u]&&(c||u&&!_e[u])){for(var l=-1,v=0;v<ya.length;v++){var A=f.indexOf(ya[v]);A!==-1&&(l===-1||A<l)&&(l=A)}var P,E;l===-1?E=f.lastIndexOf("@"):E=f.lastIndexOf("@",l),E!==-1&&(P=f.slice(0,E),f=f.slice(E+1),this.auth=decodeURIComponent(P)),l=-1;for(var v=0;v<da.length;v++){var A=f.indexOf(da[v]);A!==-1&&(l===-1||A<l)&&(l=A)}l===-1&&(l=f.length),this.host=f.slice(0,l),f=f.slice(l),this.parseHost(),this.hostname=this.hostname||"";var N=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!N)for(var h=this.hostname.split(/\./),v=0,d=h.length;v<d;v++){var x=h[v];if(x&&!x.match(ha)){for(var $="",O=0,W=x.length;O<W;O++)x.charCodeAt(O)>127?$+="x":$+=x[O];if(!$.match(ha)){var L=h.slice(0,v),R=h.slice(v+1),C=x.match(Ef);C&&(L.push(C[1]),R.unshift(C[2])),R.length&&(f="/"+R.join(".")+f),this.hostname=L.join(".");break}}}this.hostname.length>Ff?this.hostname="":this.hostname=this.hostname.toLowerCase(),N||(this.hostname=vf.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(!xf[p])for(var v=0,d=jr.length;v<d;v++){var _=jr[v];if(f.indexOf(_)!==-1){var V=encodeURIComponent(_);V===_&&(V=escape(_)),f=f.split(_).join(V)}}var B=f.indexOf("#");B!==-1&&(this.hash=f.substr(B),f=f.slice(0,B));var J=f.indexOf("?");if(J!==-1?(this.search=f.substr(J),this.query=f.substr(J+1),e&&(this.query=Ur.parse(this.query)),f=f.slice(0,J)):e&&(this.search="",this.query={}),f&&(this.pathname=f),_e[p]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var te=this.pathname||"",me=this.search||"";this.path=te+me}return this.href=this.format(),this};function Of(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=Ur.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var o=this.search||i&&"?"+i||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||_e[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 Pf(t,e){return ke(t,!1,!0).resolve(e)}Q.prototype.resolve=function(t){return this.resolveObject(ke(t,!1,!0)).format()};function $f(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 s=o[f];s!=="protocol"&&(r[s]=t[s])}return _e[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(!_e[t.protocol]){for(var u=Object.keys(t),p=0;p<u.length;p++){var c=u[p];r[c]=t[c]}return r.href=r.format(),r}if(r.protocol=t.protocol,!t.host&&!Vr[t.protocol]){for(var d=(t.pathname||"").split("/");d.length&&!(t.host=d.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),d[0]!==""&&d.unshift(""),d.length<2&&d.unshift(""),r.pathname=d.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 l=r.pathname||"",v=r.search||"";r.path=l+v}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var A=r.pathname&&r.pathname.charAt(0)==="/",P=t.host||t.pathname&&t.pathname.charAt(0)==="/",E=P||A||r.host&&t.pathname,N=E,h=r.pathname&&r.pathname.split("/")||[],d=t.pathname&&t.pathname.split("/")||[],x=r.protocol&&!_e[r.protocol];if(x&&(r.hostname="",r.port=null,r.host&&(h[0]===""?h[0]=r.host:h.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(d[0]===""?d[0]=t.host:d.unshift(t.host)),t.host=null),E=E&&(d[0]===""||h[0]==="")),P)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,h=d;else if(d.length)h||(h=[]),h.pop(),h=h.concat(d),r.search=t.search,r.query=t.query;else if(t.search!=null){if(x){r.host=h.shift(),r.hostname=r.host;var $=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;$&&(r.auth=$.shift(),r.hostname=$.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(!h.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var O=h.slice(-1)[0],W=(r.host||t.host||h.length>1)&&(O==="."||O==="..")||O==="",L=0,R=h.length;R>=0;R--)O=h[R],O==="."?h.splice(R,1):O===".."?(h.splice(R,1),L++):L&&(h.splice(R,1),L--);if(!E&&!N)for(;L--;L)h.unshift("..");E&&h[0]!==""&&(!h[0]||h[0].charAt(0)!=="/")&&h.unshift(""),W&&h.join("/").substr(-1)!=="/"&&h.push("");var C=h[0]===""||h[0]&&h[0].charAt(0)==="/";if(x){r.hostname=C?"":h.length?h.shift():"",r.host=r.hostname;var $=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;$&&(r.auth=$.shift(),r.hostname=$.shift(),r.host=r.hostname)}return E=E||r.host&&h.length,E&&!C&&h.unshift(""),h.length>0?r.pathname=h.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};Q.prototype.parseHost=function(){var t=this.host,e=Af.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};ze.parse=ke;ze.resolve=Pf;ze.resolveObject=$f;ze.format=Of;ze.Url=Q});var ye=m((G,Hr)=>{"use strict";var va=sr(),Wr=G.ValidationError=function(e,r,n,a,i,o){if(Array.isArray(a)?(this.path=a,this.property=a.reduce(function(s,u){return s+ga(u)},"instance")):a!==void 0&&(this.property=a),e&&(this.message=e),n){var f=n.$id||n.id;this.schema=f||n}r!==void 0&&(this.instance=r),this.name=i,this.argument=o,this.stack=this.toString()};Wr.prototype.toString=function(){return this.property+" "+this.message};var lr=G.ValidatorResult=function(e,r,n,a){this.instance=e,this.schema=r,this.options=n,this.path=a.path,this.propertyPath=a.propertyPath,this.errors=[],this.throwError=n&&n.throwError,this.throwFirst=n&&n.throwFirst,this.throwAll=n&&n.throwAll,this.disableFormat=n&&n.disableFormat===!0};lr.prototype.addError=function(e){var r;if(typeof e=="string")r=new Wr(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 Wr(e.message,this.instance,this.schema,this.path,e.name,e.argument)}if(this.errors.push(r),this.throwFirst)throw new Fe(this);if(this.throwError)throw r;return r};lr.prototype.importErrors=function(e){typeof e=="string"||e&&e.validatorType?this.addError(e):e&&e.errors&&(this.errors=this.errors.concat(e.errors))};function qf(t,e){return e+": "+t.toString()+`
6
+ `}lr.prototype.toString=function(e){return this.errors.map(qf).join("")};Object.defineProperty(lr.prototype,"valid",{get:function(){return!this.errors.length}});Hr.exports.ValidatorResultError=Fe;function Fe(t){Error.captureStackTrace&&Error.captureStackTrace(this,Fe),this.instance=t.instance,this.schema=t.schema,this.options=t.options,this.errors=t.errors}Fe.prototype=new Error;Fe.prototype.constructor=Fe;Fe.prototype.name="Validation Error";var ma=G.SchemaError=function t(e,r){this.message=e,this.schema=r,Error.call(this,e),Error.captureStackTrace(this,t)};ma.prototype=Object.create(Error.prototype,{constructor:{value:ma,enumerable:!1},name:{value:"SchemaError",enumerable:!1}});var kr=G.SchemaContext=function(e,r,n,a,i){this.schema=e,this.options=r,Array.isArray(n)?(this.path=n,this.propertyPath=n.reduce(function(o,f){return o+ga(f)},"instance")):this.propertyPath=n,this.base=a,this.schemas=i};kr.prototype.resolve=function(e){return va.resolve(this.base,e)};kr.prototype.makeChild=function(e,r){var n=r===void 0?this.path:this.path.concat([r]),a=e.$id||e.id,i=va.resolve(this.base,a||""),o=new kr(e,this.options,n,i,Object.create(this.schemas));return a&&!o.schemas[i]&&(o.schemas[i]=e),o};var re=G.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(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za-z])?)*\.?$/,"host-name":/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,"utc-millisec":function(t){return typeof t=="string"&&parseFloat(t)===parseInt(t,10)&&!isNaN(t)},regex:function(t){var e=!0;try{new RegExp(t)}catch{e=!1}return e},style:/[\r\n\t ]*[^\r\n\t ][^:]*:[\r\n\t ]*[^\r\n\t ;]*[\r\n\t ]*;?/,color:/^(#?([0-9A-Fa-f]{3}){1,2}\b|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow|(rgb\(\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*\))|(rgb\(\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*\)))$/,phone:/^\+(?:[0-9] ?){6,14}[0-9]$/,alpha:/^[a-zA-Z]+$/,alphanumeric:/^[a-zA-Z0-9]+$/};re.regexp=re.regex;re.pattern=re.regex;re.ipv4=re["ip-address"];G.isFormat=function(e,r,n){if(typeof e=="string"&&re[r]!==void 0){if(re[r]instanceof RegExp)return re[r].test(e);if(typeof re[r]=="function")return re[r](e)}else if(n&&n.customFormats&&typeof n.customFormats[r]=="function")return n.customFormats[r](e);return!0};var ga=G.makeSuffix=function(e){return e=e.toString(),!e.match(/[.\s\[\]]/)&&!e.match(/^[\d]/)?"."+e:e.match(/^\d+$/)?"["+e+"]":"["+JSON.stringify(e)+"]"};G.deepCompareStrict=function t(e,r){if(typeof e!=typeof r)return!1;if(Array.isArray(e))return!Array.isArray(r)||e.length!==r.length?!1:e.every(function(i,o){return t(e[o],r[o])});if(typeof e=="object"){if(!e||!r)return e===r;var n=Object.keys(e),a=Object.keys(r);return n.length!==a.length?!1:n.every(function(i){return t(e[i],r[i])})}return e===r};function If(t,e,r,n){typeof r=="object"?e[n]=Gr(t[n],r):t.indexOf(r)===-1&&e.push(r)}function Rf(t,e,r){e[r]=t[r]}function Mf(t,e,r,n){typeof e[n]!="object"||!e[n]?r[n]=e[n]:t[n]?r[n]=Gr(t[n],e[n]):r[n]=e[n]}function Gr(t,e){var r=Array.isArray(e),n=r&&[]||{};return r?(t=t||[],n=n.concat(t),e.forEach(If.bind(null,t,n))):(t&&typeof t=="object"&&Object.keys(t).forEach(Rf.bind(null,t,n)),Object.keys(e).forEach(Mf.bind(null,t,e,n))),n}Hr.exports.deepMerge=Gr;G.objectGetPath=function(e,r){for(var n=r.split("/").slice(1),a;typeof(a=n.shift())=="string";){var i=decodeURIComponent(a.replace(/~0/,"~").replace(/~1/g,"/"));if(!(i in e))return;e=e[i]}return e};function _f(t){return"/"+encodeURIComponent(t).replace(/~/g,"%7E")}G.encodePath=function(e){return e.map(_f).join("")};G.getDecimalPlaces=function(e){var r=0;if(isNaN(e))return r;typeof e!="number"&&(e=Number(e));var n=e.toString().split("e");if(n.length===2){if(n[1][0]!=="-")return r;r=Number(n[1].slice(1))}var a=n[0].split(".");return a.length===2&&(r+=a[1].length),r};G.isSchema=function(e){return typeof e=="object"&&e||typeof e=="boolean"}});var Sa=m((Cu,ba)=>{"use strict";var H=ye(),S=H.ValidatorResult,he=H.SchemaError,Jr={};Jr.ignoreProperties={id:!0,default:!0,description:!0,title:!0,additionalItems:!0,then:!0,else:!0,$schema:!0,$ref:!0,extends:!0};var F=Jr.validators={};F.type=function(e,r,n,a){if(e===void 0)return null;var i=new S(e,r,n,a),o=Array.isArray(r.type)?r.type:[r.type];if(!o.some(this.testType.bind(this,e,r,n,a))){var f=o.map(function(s){if(s){var u=s.$id||s.id;return u?"<"+u+">":s+""}});i.addError({name:"type",argument:f,message:"is not of a type(s) "+f})}return i};function Kr(t,e,r,n,a){var i=e.throwError,o=e.throwAll;e.throwError=!1,e.throwAll=!1;var f=this.validateSchema(t,a,e,r);return e.throwError=i,e.throwAll=o,!f.valid&&n instanceof Function&&n(f),f.valid}F.anyOf=function(e,r,n,a){if(e===void 0)return null;var i=new S(e,r,n,a),o=new S(e,r,n,a);if(!Array.isArray(r.anyOf))throw new he("anyOf must be an array");if(!r.anyOf.some(Kr.bind(this,e,n,a,function(s){o.importErrors(s)}))){var f=r.anyOf.map(function(s,u){var p=s.$id||s.id;return p?"<"+p+">":s.title&&JSON.stringify(s.title)||s.$ref&&"<"+s.$ref+">"||"[subschema "+u+"]"});n.nestedErrors&&i.importErrors(o),i.addError({name:"anyOf",argument:f,message:"is not any of "+f.join(",")})}return i};F.allOf=function(e,r,n,a){if(e===void 0)return null;if(!Array.isArray(r.allOf))throw new he("allOf must be an array");var i=new S(e,r,n,a),o=this;return r.allOf.forEach(function(f,s){var u=o.validateSchema(e,f,n,a);if(!u.valid){var p=f.$id||f.id,c=p||f.title&&JSON.stringify(f.title)||f.$ref&&"<"+f.$ref+">"||"[subschema "+s+"]";i.addError({name:"allOf",argument:{id:c,length:u.errors.length,valid:u},message:"does not match allOf schema "+c+" with "+u.errors.length+" error[s]:"}),i.importErrors(u)}}),i};F.oneOf=function(e,r,n,a){if(e===void 0)return null;if(!Array.isArray(r.oneOf))throw new he("oneOf must be an array");var i=new S(e,r,n,a),o=new S(e,r,n,a),f=r.oneOf.filter(Kr.bind(this,e,n,a,function(u){o.importErrors(u)})).length,s=r.oneOf.map(function(u,p){var c=u.$id||u.id;return c||u.title&&JSON.stringify(u.title)||u.$ref&&"<"+u.$ref+">"||"[subschema "+p+"]"});return f!==1&&(n.nestedErrors&&i.importErrors(o),i.addError({name:"oneOf",argument:s,message:"is not exactly one from "+s.join(",")})),i};F.if=function(e,r,n,a){if(e===void 0)return null;if(!H.isSchema(r.if))throw new Error('Expected "if" keyword to be a schema');var i=Kr.call(this,e,n,a,null,r.if),o=new S(e,r,n,a),f;if(i){if(r.then===void 0)return;if(!H.isSchema(r.then))throw new Error('Expected "then" keyword to be a schema');f=this.validateSchema(e,r.then,n,a.makeChild(r.then)),o.importErrors(f)}else{if(r.else===void 0)return;if(!H.isSchema(r.else))throw new Error('Expected "else" keyword to be a schema');f=this.validateSchema(e,r.else,n,a.makeChild(r.else)),o.importErrors(f)}return o};function Qr(t,e){if(Object.hasOwnProperty.call(t,e))return t[e];if(e in t){for(;t=Object.getPrototypeOf(t);)if(Object.propertyIsEnumerable.call(t,e))return t[e]}}F.propertyNames=function(e,r,n,a){if(this.types.object(e)){var i=new S(e,r,n,a),o=r.propertyNames!==void 0?r.propertyNames:{};if(!H.isSchema(o))throw new he('Expected "propertyNames" to be a schema (object or boolean)');for(var f in e)if(Qr(e,f)!==void 0){var s=this.validateSchema(f,o,n,a.makeChild(o));i.importErrors(s)}return i}};F.properties=function(e,r,n,a){if(this.types.object(e)){var i=new S(e,r,n,a),o=r.properties||{};for(var f in o){var s=o[f];if(s!==void 0){if(s===null)throw new he('Unexpected null, expected schema in "properties"');typeof n.preValidateProperty=="function"&&n.preValidateProperty(e,f,s,n,a);var u=Qr(e,f),p=this.validateSchema(u,s,n,a.makeChild(s,f));p.instance!==i.instance[f]&&(i.instance[f]=p.instance),i.importErrors(p)}}return i}};function Aa(t,e,r,n,a,i){if(this.types.object(t)&&!(e.properties&&e.properties[a]!==void 0))if(e.additionalProperties===!1)i.addError({name:"additionalProperties",argument:a,message:"is not allowed to have the additional property "+JSON.stringify(a)});else{var o=e.additionalProperties||{};typeof r.preValidateProperty=="function"&&r.preValidateProperty(t,a,o,r,n);var f=this.validateSchema(t[a],o,r,n.makeChild(o,a));f.instance!==i.instance[a]&&(i.instance[a]=f.instance),i.importErrors(f)}}F.patternProperties=function(e,r,n,a){if(this.types.object(e)){var i=new S(e,r,n,a),o=r.patternProperties||{};for(var f in e){var s=!0;for(var u in o){var p=o[u];if(p!==void 0){if(p===null)throw new he('Unexpected null, expected schema in "patternProperties"');try{var c=new RegExp(u,"u")}catch{c=new RegExp(u)}if(c.test(f)){s=!1,typeof n.preValidateProperty=="function"&&n.preValidateProperty(e,f,p,n,a);var l=this.validateSchema(e[f],p,n,a.makeChild(p,f));l.instance!==i.instance[f]&&(i.instance[f]=l.instance),i.importErrors(l)}}}s&&Aa.call(this,e,r,n,a,f,i)}return i}};F.additionalProperties=function(e,r,n,a){if(this.types.object(e)){if(r.patternProperties)return null;var i=new S(e,r,n,a);for(var o in e)Aa.call(this,e,r,n,a,o,i);return i}};F.minProperties=function(e,r,n,a){if(this.types.object(e)){var i=new S(e,r,n,a),o=Object.keys(e);return o.length>=r.minProperties||i.addError({name:"minProperties",argument:r.minProperties,message:"does not meet minimum property length of "+r.minProperties}),i}};F.maxProperties=function(e,r,n,a){if(this.types.object(e)){var i=new S(e,r,n,a),o=Object.keys(e);return o.length<=r.maxProperties||i.addError({name:"maxProperties",argument:r.maxProperties,message:"does not meet maximum property length of "+r.maxProperties}),i}};F.items=function(e,r,n,a){var i=this;if(this.types.array(e)&&r.items!==void 0){var o=new S(e,r,n,a);return e.every(function(f,s){if(Array.isArray(r.items))var u=r.items[s]===void 0?r.additionalItems:r.items[s];else var u=r.items;if(u===void 0)return!0;if(u===!1)return o.addError({name:"items",message:"additionalItems not permitted"}),!1;var p=i.validateSchema(f,u,n,a.makeChild(u,s));return p.instance!==o.instance[s]&&(o.instance[s]=p.instance),o.importErrors(p),!0}),o}};F.contains=function(e,r,n,a){var i=this;if(this.types.array(e)&&r.contains!==void 0){if(!H.isSchema(r.contains))throw new Error('Expected "contains" keyword to be a schema');var o=new S(e,r,n,a),f=e.some(function(s,u){var p=i.validateSchema(s,r.contains,n,a.makeChild(r.contains,u));return p.errors.length===0});return f===!1&&o.addError({name:"contains",argument:r.contains,message:"must contain an item matching given schema"}),o}};F.minimum=function(e,r,n,a){if(this.types.number(e)){var i=new S(e,r,n,a);return r.exclusiveMinimum&&r.exclusiveMinimum===!0?e>r.minimum||i.addError({name:"minimum",argument:r.minimum,message:"must be greater than "+r.minimum}):e>=r.minimum||i.addError({name:"minimum",argument:r.minimum,message:"must be greater than or equal to "+r.minimum}),i}};F.maximum=function(e,r,n,a){if(this.types.number(e)){var i=new S(e,r,n,a);return r.exclusiveMaximum&&r.exclusiveMaximum===!0?e<r.maximum||i.addError({name:"maximum",argument:r.maximum,message:"must be less than "+r.maximum}):e<=r.maximum||i.addError({name:"maximum",argument:r.maximum,message:"must be less than or equal to "+r.maximum}),i}};F.exclusiveMinimum=function(e,r,n,a){if(typeof r.exclusiveMinimum!="boolean"&&this.types.number(e)){var i=new S(e,r,n,a),o=e>r.exclusiveMinimum;return o||i.addError({name:"exclusiveMinimum",argument:r.exclusiveMinimum,message:"must be strictly greater than "+r.exclusiveMinimum}),i}};F.exclusiveMaximum=function(e,r,n,a){if(typeof r.exclusiveMaximum!="boolean"&&this.types.number(e)){var i=new S(e,r,n,a),o=e<r.exclusiveMaximum;return o||i.addError({name:"exclusiveMaximum",argument:r.exclusiveMaximum,message:"must be strictly less than "+r.exclusiveMaximum}),i}};var wa=function(e,r,n,a,i,o){if(this.types.number(e)){var f=r[i];if(f==0)throw new he(i+" cannot be zero");var s=new S(e,r,n,a),u=H.getDecimalPlaces(e),p=H.getDecimalPlaces(f),c=Math.max(u,p),l=Math.pow(10,c);return Math.round(e*l)%Math.round(f*l)!==0&&s.addError({name:i,argument:f,message:o+JSON.stringify(f)}),s}};F.multipleOf=function(e,r,n,a){return wa.call(this,e,r,n,a,"multipleOf","is not a multiple of (divisible by) ")};F.divisibleBy=function(e,r,n,a){return wa.call(this,e,r,n,a,"divisibleBy","is not divisible by (multiple of) ")};F.required=function(e,r,n,a){var i=new S(e,r,n,a);return e===void 0&&r.required===!0?i.addError({name:"required",message:"is required"}):this.types.object(e)&&Array.isArray(r.required)&&r.required.forEach(function(o){Qr(e,o)===void 0&&i.addError({name:"required",argument:o,message:"requires property "+JSON.stringify(o)})}),i};F.pattern=function(e,r,n,a){if(this.types.string(e)){var i=new S(e,r,n,a),o=r.pattern;try{var f=new RegExp(o,"u")}catch{f=new RegExp(o)}return e.match(f)||i.addError({name:"pattern",argument:r.pattern,message:"does not match pattern "+JSON.stringify(r.pattern.toString())}),i}};F.format=function(e,r,n,a){if(e!==void 0){var i=new S(e,r,n,a);return!i.disableFormat&&!H.isFormat(e,r.format,this)&&i.addError({name:"format",argument:r.format,message:"does not conform to the "+JSON.stringify(r.format)+" format"}),i}};F.minLength=function(e,r,n,a){if(this.types.string(e)){var i=new S(e,r,n,a),o=e.match(/[\uDC00-\uDFFF]/g),f=e.length-(o?o.length:0);return f>=r.minLength||i.addError({name:"minLength",argument:r.minLength,message:"does not meet minimum length of "+r.minLength}),i}};F.maxLength=function(e,r,n,a){if(this.types.string(e)){var i=new S(e,r,n,a),o=e.match(/[\uDC00-\uDFFF]/g),f=e.length-(o?o.length:0);return f<=r.maxLength||i.addError({name:"maxLength",argument:r.maxLength,message:"does not meet maximum length of "+r.maxLength}),i}};F.minItems=function(e,r,n,a){if(this.types.array(e)){var i=new S(e,r,n,a);return e.length>=r.minItems||i.addError({name:"minItems",argument:r.minItems,message:"does not meet minimum length of "+r.minItems}),i}};F.maxItems=function(e,r,n,a){if(this.types.array(e)){var i=new S(e,r,n,a);return e.length<=r.maxItems||i.addError({name:"maxItems",argument:r.maxItems,message:"does not meet maximum length of "+r.maxItems}),i}};function zf(t,e,r){var n,a=r.length;for(n=e+1,a;n<a;n++)if(H.deepCompareStrict(t,r[n]))return!1;return!0}F.uniqueItems=function(e,r,n,a){if(r.uniqueItems===!0&&this.types.array(e)){var i=new S(e,r,n,a);return e.every(zf)||i.addError({name:"uniqueItems",message:"contains duplicate item"}),i}};F.dependencies=function(e,r,n,a){if(this.types.object(e)){var i=new S(e,r,n,a);for(var o in r.dependencies)if(e[o]!==void 0){var f=r.dependencies[o],s=a.makeChild(f,o);if(typeof f=="string"&&(f=[f]),Array.isArray(f))f.forEach(function(p){e[p]===void 0&&i.addError({name:"dependencies",argument:s.propertyPath,message:"property "+p+" not found, required by "+s.propertyPath})});else{var u=this.validateSchema(e,f,n,s);i.instance!==u.instance&&(i.instance=u.instance),u&&u.errors.length&&(i.addError({name:"dependencies",argument:s.propertyPath,message:"does not meet dependency required by "+s.propertyPath}),i.importErrors(u))}}return i}};F.enum=function(e,r,n,a){if(e===void 0)return null;if(!Array.isArray(r.enum))throw new he("enum expects an array",r);var i=new S(e,r,n,a);return r.enum.some(H.deepCompareStrict.bind(null,e))||i.addError({name:"enum",argument:r.enum,message:"is not one of enum values: "+r.enum.map(String).join(",")}),i};F.const=function(e,r,n,a){if(e===void 0)return null;var i=new S(e,r,n,a);return H.deepCompareStrict(r.const,e)||i.addError({name:"const",argument:r.const,message:"does not exactly match expected constant: "+r.const}),i};F.not=F.disallow=function(e,r,n,a){var i=this;if(e===void 0)return null;var o=new S(e,r,n,a),f=r.not||r.disallow;return f?(Array.isArray(f)||(f=[f]),f.forEach(function(s){if(i.testType(e,r,n,a,s)){var u=s&&(s.$id||s.id),p=u||s;o.addError({name:"not",argument:p,message:"is of prohibited type "+p})}}),o):null};ba.exports=Jr});var pr=m((Du,Xr)=>{"use strict";var Fa=sr(),Cf=ye();Xr.exports.SchemaScanResult=Ea;function Ea(t,e){this.id=t,this.ref=e}Xr.exports.scan=function(e,r){function n(s,u){if(!(!u||typeof u!="object")){if(u.$ref){var p=Fa.resolve(s,u.$ref);f[p]=f[p]?f[p]+1:0;return}var c=u.$id||u.id,l=c?Fa.resolve(s,c):s;if(l){if(l.indexOf("#")<0&&(l+="#"),o[l]){if(!Cf.deepCompareStrict(o[l],u))throw new Error("Schema <"+l+"> already exists with different definition");return o[l]}o[l]=u,l[l.length-1]=="#"&&(o[l.substring(0,l.length-1)]=u)}a(l+"/items",Array.isArray(u.items)?u.items:[u.items]),a(l+"/extends",Array.isArray(u.extends)?u.extends:[u.extends]),n(l+"/additionalItems",u.additionalItems),i(l+"/properties",u.properties),n(l+"/additionalProperties",u.additionalProperties),i(l+"/definitions",u.definitions),i(l+"/patternProperties",u.patternProperties),i(l+"/dependencies",u.dependencies),a(l+"/disallow",u.disallow),a(l+"/allOf",u.allOf),a(l+"/anyOf",u.anyOf),a(l+"/oneOf",u.oneOf),n(l+"/not",u.not)}}function a(s,u){if(Array.isArray(u))for(var p=0;p<u.length;p++)n(s+"/"+p,u[p])}function i(s,u){if(!(!u||typeof u!="object"))for(var p in u)n(s+"/"+p,u[p])}var o={},f={};return n(e,r),new Ea(o,f)}});var _a=m((Zu,Ma)=>{"use strict";var xa=sr(),Oa=Sa(),Ee=ye(),Pa=pr().scan,$a=Ee.ValidatorResult,Df=Ee.ValidatorResultError,Ge=Ee.SchemaError,qa=Ee.SchemaContext,Ia="/",Z=function t(){this.customFormats=Object.create(t.prototype.customFormats),this.schemas={},this.unresolvedRefs=[],this.types=Object.create(fe),this.attributes=Object.create(Oa.validators)};Z.prototype.customFormats={};Z.prototype.schemas=null;Z.prototype.types=null;Z.prototype.attributes=null;Z.prototype.unresolvedRefs=null;Z.prototype.addSchema=function(e,r){var n=this;if(!e)return null;var a=Pa(r||Ia,e),i=r||e.$id||e.id;for(var o in a.id)this.schemas[o]=a.id[o];for(var o in a.ref)this.unresolvedRefs.push(o);return this.unresolvedRefs=this.unresolvedRefs.filter(function(f){return typeof n.schemas[f]>"u"}),this.schemas[i]};Z.prototype.addSubSchemaArray=function(e,r){if(Array.isArray(r))for(var n=0;n<r.length;n++)this.addSubSchema(e,r[n])};Z.prototype.addSubSchemaObject=function(e,r){if(!(!r||typeof r!="object"))for(var n in r)this.addSubSchema(e,r[n])};Z.prototype.setSchemas=function(e){this.schemas=e};Z.prototype.getSchema=function(e){return this.schemas[e]};Z.prototype.validate=function(e,r,n,a){if(typeof r!="boolean"&&typeof r!="object"||r===null)throw new Ge("Expected `schema` to be an object or boolean");n||(n={});var i=r.$id||r.id,o=xa.resolve(n.base||Ia,i||"");if(!a){a=new qa(r,n,[],o,Object.create(this.schemas)),a.schemas[o]||(a.schemas[o]=r);var f=Pa(o,r);for(var s in f.id){var u=f.id[s];a.schemas[s]=u}}if(n.required&&e===void 0){var p=new $a(e,r,n,a);return p.addError("is required, but is undefined"),p}var p=this.validateSchema(e,r,n,a);if(p){if(n.throwAll&&p.errors.length)throw new Df(p)}else throw new Error("Result undefined");return p};function Ra(t){var e=typeof t=="string"?t:t.$ref;return typeof e=="string"?e:!1}Z.prototype.validateSchema=function(e,r,n,a){var i=new $a(e,r,n,a);if(typeof r=="boolean")r===!0?r={}:r===!1&&(r={type:[]});else if(!r)throw new Error("schema is undefined");if(r.extends)if(Array.isArray(r.extends)){var o={schema:r,ctx:a};r.extends.forEach(this.schemaTraverser.bind(this,o)),r=o.schema,o.schema=null,o.ctx=null,o=null}else r=Ee.deepMerge(r,this.superResolve(r.extends,a));var f=Ra(r);if(f){var s=this.resolve(r,f,a),u=new qa(s.subschema,n,a.path,s.switchSchema,a.schemas);return this.validateSchema(e,s.subschema,n,u)}var p=n&&n.skipAttributes||[];for(var c in r)if(!Oa.ignoreProperties[c]&&p.indexOf(c)<0){var l=null,v=this.attributes[c];if(v)l=v.call(this,e,r,n,a);else if(n.allowUnknownAttributes===!1)throw new Ge("Unsupported attribute: "+c,r);l&&i.importErrors(l)}if(typeof n.rewrite=="function"){var A=n.rewrite.call(this,e,r,n,a);i.instance=A}return i};Z.prototype.schemaTraverser=function(e,r){e.schema=Ee.deepMerge(e.schema,this.superResolve(r,e.ctx))};Z.prototype.superResolve=function(e,r){var n=Ra(e);return n?this.resolve(e,n,r).subschema:e};Z.prototype.resolve=function(e,r,n){if(r=n.resolve(r),n.schemas[r])return{subschema:n.schemas[r],switchSchema:r};var a=xa.parse(r),i=a&&a.hash,o=i&&i.length&&r.substr(0,r.length-i.length);if(!o||!n.schemas[o])throw new Ge("no such schema <"+r+">",e);var f=Ee.objectGetPath(n.schemas[o],i.substr(1));if(f===void 0)throw new Ge("no such schema "+i+" located in <"+o+">",e);return{subschema:f,switchSchema:r}};Z.prototype.testType=function(e,r,n,a,i){if(i!==void 0){if(i===null)throw new Ge('Unexpected null in "type" keyword');if(typeof this.types[i]=="function")return this.types[i].call(this,e);if(i&&typeof i=="object"){var o=this.validateSchema(e,i,n,a);return o===void 0||!(o&&o.errors.length)}return!0}};var fe=Z.prototype.types={};fe.string=function(e){return typeof e=="string"};fe.number=function(e){return typeof e=="number"&&isFinite(e)};fe.integer=function(e){return typeof e=="number"&&e%1===0};fe.boolean=function(e){return typeof e=="boolean"};fe.array=function(e){return Array.isArray(e)};fe.null=function(e){return e===null};fe.date=function(e){return e instanceof Date};fe.any=function(e){return!0};fe.object=function(e){return e&&typeof e=="object"&&!Array.isArray(e)&&!(e instanceof Date)};Ma.exports=Z});var za=m((Tu,le)=>{"use strict";var Zf=le.exports.Validator=_a();le.exports.ValidatorResult=ye().ValidatorResult;le.exports.ValidatorResultError=ye().ValidatorResultError;le.exports.ValidationError=ye().ValidationError;le.exports.SchemaError=ye().SchemaError;le.exports.SchemaScanResult=pr().SchemaScanResult;le.exports.scan=pr().scan;le.exports.validate=function(t,e,r){var n=new Zf;return n.validate(t,e,r)}});var Nf={};Ba(Nf,{createConfigsApi:()=>Tf});var Ca=ja(za());function Tf(t={}){let e=(n,a)=>{let i=`config-${n}`,o=t.retrieve?.(i);return typeof o=="object"?{...a,...o}:typeof o<"u"?o:void 0},r=(n,a,i)=>{let f=new Ca.Validator().validate(a,n);return f.valid?a:(console.warn("The given configuration does not match the provided schema. Taking the default configuration.",a,f),i)};return n=>(a,i)=>({defineConfigSchema(o,f){let s=e(i.name,f),u=s?r(o,s,f):f;return n.dispatch(p=>({...p,configs:{...p.configs,[i.name]:u}})),u},getCurrentConfig(){return n.readState(o=>o.configs[i.name])??{}}})}return Va(Nf);})();
7
7
  /*! Bundled license information:
8
8
 
9
9
  punycode/punycode.js: