import{g as mr}from"./_commonjsHelpers.c10bf6cb.js";var gr=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;e[t]=o;for(t 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]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(e,t);if(f.value!==o||f.enumerable!==!0)return!1}return!0},We=typeof Symbol<"u"&&Symbol,hr=gr,Sr=function(){return typeof We!="function"||typeof Symbol!="function"||typeof We("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:hr()},br="Function.prototype.bind called on incompatible ",se=Array.prototype.slice,Or=Object.prototype.toString,Ar="[object Function]",wr=function(e){var t=this;if(typeof t!="function"||Or.call(t)!==Ar)throw new TypeError(br+t);for(var n=se.call(arguments,1),o,a=function(){if(this instanceof o){var c=t.apply(this,n.concat(se.call(arguments)));return Object(c)===c?c:this}else return t.apply(e,n.concat(se.call(arguments)))},f=Math.max(0,t.length-n.length),i=[],l=0;l"u"?y:N(Uint8Array),Q={"%AggregateError%":typeof AggregateError>"u"?y:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?y:ArrayBuffer,"%ArrayIteratorPrototype%":k?N([][Symbol.iterator]()):y,"%AsyncFromSyncIteratorPrototype%":y,"%AsyncFunction%":z,"%AsyncGenerator%":z,"%AsyncGeneratorFunction%":z,"%AsyncIteratorPrototype%":z,"%Atomics%":typeof Atomics>"u"?y:Atomics,"%BigInt%":typeof BigInt>"u"?y:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?y:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?y:Float32Array,"%Float64Array%":typeof Float64Array>"u"?y:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?y:FinalizationRegistry,"%Function%":er,"%GeneratorFunction%":z,"%Int8Array%":typeof Int8Array>"u"?y:Int8Array,"%Int16Array%":typeof Int16Array>"u"?y:Int16Array,"%Int32Array%":typeof Int32Array>"u"?y:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":k?N(N([][Symbol.iterator]())):y,"%JSON%":typeof JSON=="object"?JSON:y,"%Map%":typeof Map>"u"?y:Map,"%MapIteratorPrototype%":typeof Map>"u"||!k?y:N(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?y:Promise,"%Proxy%":typeof Proxy>"u"?y:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?y:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?y:Set,"%SetIteratorPrototype%":typeof Set>"u"||!k?y:N(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?y:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":k?N(""[Symbol.iterator]()):y,"%Symbol%":k?Symbol:y,"%SyntaxError%":V,"%ThrowTypeError%":$r,"%TypedArray%":Fr,"%TypeError%":H,"%Uint8Array%":typeof Uint8Array>"u"?y:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?y:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?y:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?y:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?y:WeakMap,"%WeakRef%":typeof WeakRef>"u"?y:WeakRef,"%WeakSet%":typeof WeakSet>"u"?y:WeakSet},Ir=function r(e){var t;if(e==="%AsyncFunction%")t=ve("async function () {}");else if(e==="%GeneratorFunction%")t=ve("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=ve("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var o=r("%AsyncGenerator%");o&&(t=N(o.prototype))}return Q[e]=t,t},Le={"%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"]},ae=Re,le=xr,Rr=ae.call(Function.call,Array.prototype.concat),Nr=ae.call(Function.apply,Array.prototype.splice),Ge=ae.call(Function.call,String.prototype.replace),ue=ae.call(Function.call,String.prototype.slice),Mr=ae.call(Function.call,RegExp.prototype.exec),Tr=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Dr=/\\(\\)?/g,Br=function(e){var t=ue(e,0,1),n=ue(e,-1);if(t==="%"&&n!=="%")throw new V("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new V("invalid intrinsic syntax, expected opening `%`");var o=[];return Ge(e,Tr,function(a,f,i,l){o[o.length]=i?Ge(l,Dr,"$1"):f||a}),o},Cr=function(e,t){var n=e,o;if(le(Le,n)&&(o=Le[n],n="%"+o[0]+"%"),le(Q,n)){var a=Q[n];if(a===z&&(a=Ir(n)),typeof a>"u"&&!t)throw new H("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:a}}throw new V("intrinsic "+e+" does not exist!")},Ne=function(e,t){if(typeof e!="string"||e.length===0)throw new H("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new H('"allowMissing" argument must be a boolean');if(Mr(/^%?[^%]*%?$/,e)===null)throw new V("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Br(e),o=n.length>0?n[0]:"",a=Cr("%"+o+"%",t),f=a.name,i=a.value,l=!1,u=a.alias;u&&(o=u[0],Nr(n,Rr([0,1],u)));for(var c=1,v=!0;c=n.length){var b=U(i,p);v=!!b,v&&"get"in b&&!("originalValue"in b.get)?i=b.get:i=i[p]}else v=le(i,p),i=i[p];v&&!l&&(Q[f]=i)}}return i},rr={exports:{}};(function(r){var e=Re,t=Ne,n=t("%Function.prototype.apply%"),o=t("%Function.prototype.call%"),a=t("%Reflect.apply%",!0)||e.call(o,n),f=t("%Object.getOwnPropertyDescriptor%",!0),i=t("%Object.defineProperty%",!0),l=t("%Math.max%");if(i)try{i({},"a",{value:1})}catch{i=null}r.exports=function(v){var p=a(e,o,arguments);if(f&&i){var m=f(p,"length");m.configurable&&i(p,"length",{value:1+l(0,v.length-(arguments.length-1))})}return p};var u=function(){return a(e,n,arguments)};i?i(r.exports,"apply",{value:u}):r.exports.apply=u})(rr);var tr=Ne,nr=rr.exports,_r=nr(tr("String.prototype.indexOf")),Ur=function(e,t){var n=tr(e,!!t);return typeof n=="function"&&_r(e,".prototype.")>-1?nr(n):n};const Wr={},Lr=Object.freeze(Object.defineProperty({__proto__:null,default:Wr},Symbol.toStringTag,{value:"Module"})),Gr=mr(Lr);var Me=typeof Map=="function"&&Map.prototype,me=Object.getOwnPropertyDescriptor&&Me?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ce=Me&&me&&typeof me.get=="function"?me.get:null,kr=Me&&Map.prototype.forEach,Te=typeof Set=="function"&&Set.prototype,ge=Object.getOwnPropertyDescriptor&&Te?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,pe=Te&&ge&&typeof ge.get=="function"?ge.get:null,zr=Te&&Set.prototype.forEach,Hr=typeof WeakMap=="function"&&WeakMap.prototype,re=Hr?WeakMap.prototype.has:null,Qr=typeof WeakSet=="function"&&WeakSet.prototype,te=Qr?WeakSet.prototype.has:null,Vr=typeof WeakRef=="function"&&WeakRef.prototype,ke=Vr?WeakRef.prototype.deref:null,qr=Boolean.prototype.valueOf,Jr=Object.prototype.toString,Kr=Function.prototype.toString,jr=String.prototype.match,De=String.prototype.slice,T=String.prototype.replace,Yr=String.prototype.toUpperCase,ze=String.prototype.toLowerCase,ar=RegExp.prototype.test,He=Array.prototype.concat,w=Array.prototype.join,Xr=Array.prototype.slice,Qe=Math.floor,we=typeof BigInt=="function"?BigInt.prototype.valueOf:null,he=Object.getOwnPropertySymbols,Pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,q=typeof Symbol=="function"&&typeof Symbol.iterator=="object",S=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===q?"object":"symbol")?Symbol.toStringTag:null,or=Object.prototype.propertyIsEnumerable,Ve=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function qe(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||ar.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-Qe(-r):Qe(r);if(n!==r){var o=String(n),a=De.call(e,o.length+1);return T.call(o,t,"$&_")+"."+T.call(T.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return T.call(e,t,"$&_")}var Ee=Gr,Je=Ee.custom,Ke=fr(Je)?Je:null,Zr=function r(e,t,n,o){var a=t||{};if(M(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(M(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=M(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(M(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(M(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var i=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 ur(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var l=String(e);return i?qe(e,l):l}if(typeof e=="bigint"){var u=String(e)+"n";return i?qe(e,u):u}var c=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=c&&c>0&&typeof e=="object")return xe(e)?"[Array]":"[Object]";var v=gt(a,n);if(typeof o>"u")o=[];else if(lr(o,e)>=0)return"[Circular]";function p(O,R,x){if(R&&(o=Xr.call(o),o.push(R)),x){var Z={depth:a.depth};return M(a,"quoteStyle")&&(Z.quoteStyle=a.quoteStyle),r(O,Z,n+1,o)}return r(O,a,n+1,o)}if(typeof e=="function"&&!je(e)){var m=lt(e),d=oe(e,p);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(d.length>0?" { "+w.call(d,", ")+" }":"")}if(fr(e)){var b=q?T.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Pe.call(e);return typeof e=="object"&&!q?ee(b):b}if(vt(e)){for(var P="<"+ze.call(String(e.nodeName)),s=e.attributes||[],E=0;E",P}if(xe(e)){if(e.length===0)return"[]";var F=oe(e,p);return v&&!mt(F)?"["+$e(F,v)+"]":"[ "+w.call(F,", ")+" ]"}if(tt(e)){var W=oe(e,p);return!("cause"in Error.prototype)&&"cause"in e&&!or.call(e,"cause")?"{ ["+String(e)+"] "+w.call(He.call("[cause]: "+p(e.cause),W),", ")+" }":W.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+w.call(W,", ")+" }"}if(typeof e=="object"&&f){if(Ke&&typeof e[Ke]=="function"&&Ee)return Ee(e,{depth:c-n});if(f!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(ut(e)){var j=[];return kr.call(e,function(O,R){j.push(p(R,e,!0)+" => "+p(O,e))}),Ye("Map",ce.call(e),j,v)}if(yt(e)){var Y=[];return zr.call(e,function(O){Y.push(p(O,e))}),Ye("Set",pe.call(e),Y,v)}if(ct(e))return Se("WeakMap");if(st(e))return Se("WeakSet");if(pt(e))return Se("WeakRef");if(at(e))return ee(p(Number(e)));if(it(e))return ee(p(we.call(e)));if(ot(e))return ee(qr.call(e));if(nt(e))return ee(p(String(e)));if(!rt(e)&&!je(e)){var B=oe(e,p),X=Ve?Ve(e)===Object.prototype:e instanceof Object||e.constructor===Object,I=e instanceof Object?"":"null prototype",L=!X&&S&&Object(e)===e&&S in e?De.call(D(e),8,-1):I?"Object":"",C=X||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",G=C+(L||I?"["+w.call(He.call([],L||[],I||[]),": ")+"] ":"");return B.length===0?G+"{}":v?G+"{"+$e(B,v)+"}":G+"{ "+w.call(B,", ")+" }"}return String(e)};function ir(r,e,t){var n=(t.quoteStyle||e)==="double"?'"':"'";return n+r+n}function et(r){return T.call(String(r),/"/g,""")}function xe(r){return D(r)==="[object Array]"&&(!S||!(typeof r=="object"&&S in r))}function rt(r){return D(r)==="[object Date]"&&(!S||!(typeof r=="object"&&S in r))}function je(r){return D(r)==="[object RegExp]"&&(!S||!(typeof r=="object"&&S in r))}function tt(r){return D(r)==="[object Error]"&&(!S||!(typeof r=="object"&&S in r))}function nt(r){return D(r)==="[object String]"&&(!S||!(typeof r=="object"&&S in r))}function at(r){return D(r)==="[object Number]"&&(!S||!(typeof r=="object"&&S in r))}function ot(r){return D(r)==="[object Boolean]"&&(!S||!(typeof r=="object"&&S in r))}function fr(r){if(q)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!Pe)return!1;try{return Pe.call(r),!0}catch{}return!1}function it(r){if(!r||typeof r!="object"||!we)return!1;try{return we.call(r),!0}catch{}return!1}var ft=Object.prototype.hasOwnProperty||function(r){return r in this};function M(r,e){return ft.call(r,e)}function D(r){return Jr.call(r)}function lt(r){if(r.name)return r.name;var e=jr.call(Kr.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function lr(r,e){if(r.indexOf)return r.indexOf(e);for(var t=0,n=r.length;te.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return ur(De.call(r,0,e.maxStringLength),e)+n}var o=T.call(T.call(r,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,dt);return ir(o,"single",e)}function dt(r){var e=r.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+Yr.call(e.toString(16))}function ee(r){return"Object("+r+")"}function Se(r){return r+" { ? }"}function Ye(r,e,t,n){var o=n?$e(t,n):w.call(t,", ");return r+" ("+e+") {"+o+"}"}function mt(r){for(var e=0;e=0)return!1;return!0}function gt(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=w.call(Array(r.indent+1)," ");else return null;return{base:t,prev:w.call(Array(e+1),t)}}function $e(r,e){if(r.length===0)return"";var t=` `+e.prev+e.base;return t+w.call(r,","+t)+` `+e.prev}function oe(r,e){var t=xe(r),n=[];if(t){n.length=r.length;for(var o=0;o1;){var t=e.pop(),n=t.obj[t.prop];if(_(n)){for(var o=[],a=0;a=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||a===Mt.RFC1738&&(u===40||u===41)){i+=f.charAt(l);continue}if(u<128){i=i+A[u];continue}if(u<2048){i=i+(A[192|u>>6]+A[128|u&63]);continue}if(u<55296||u>=57344){i=i+(A[224|u>>12]+A[128|u>>6&63]+A[128|u&63]);continue}l+=1,u=65536+((u&1023)<<10|f.charCodeAt(l)&1023),i+=A[240|u>>18]+A[128|u>>12&63]+A[128|u>>6&63]+A[128|u&63]}return i},Ut=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],o=0;o"u"&&(F=0)}if(typeof l=="function"?s=l(t,s):s instanceof Date?s=v(s):n==="comma"&&$(s)&&(s=Fe.maybeMap(s,function(ye){return ye instanceof Date?v(ye):ye})),s===null){if(a)return i&&!d?i(t,h.encoder,b,"key",p):t;s=""}if(qt(s)||Fe.isBuffer(s)){if(i){var Y=d?t:i(t,h.encoder,b,"key",p);if(n==="comma"&&d){for(var B=Ht.call(String(s),","),X="",I=0;I"u")return L;var C;if(n==="comma"&&$(s))C=[{value:s.length>0?s.join(",")||null:void 0}];else if($(l))C=l;else{var G=Object.keys(s);C=u?G.sort(u):G}for(var O=o&&$(s)&&s.length===1?t+"[]":t,R=0;R"u"?h.allowDots:!!e.allowDots,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:h.charsetSentinel,delimiter:typeof e.delimiter>"u"?h.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:h.encode,encoder:typeof e.encoder=="function"?e.encoder:h.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:h.encodeValuesOnly,filter:a,format:n,formatter:o,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:h.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:h.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:h.strictNullHandling}},jt=function(r,e){var t=r,n=Kt(e),o,a;typeof n.filter=="function"?(a=n.filter,t=a("",t)):$(n.filter)&&(a=n.filter,o=a);var f=[];if(typeof t!="object"||t===null)return"";var i;e&&e.arrayFormat in Xe?i=e.arrayFormat:e&&"indices"in e?i=e.indices?"indices":"repeat":i="indices";var l=Xe[i];if(e&&"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=l==="comma"&&e&&e.commaRoundTrip;o||(o=Object.keys(t)),n.sort&&o.sort(n.sort);for(var c=yr(),v=0;v0?d+m:""},J=pr,Ie=Object.prototype.hasOwnProperty,Yt=Array.isArray,g={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:J.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},Xt=function(r){return r.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},vr=function(r,e){return r&&typeof r=="string"&&e.comma&&r.indexOf(",")>-1?r.split(","):r},Zt="utf8=%26%2310003%3B",en="utf8=%E2%9C%93",rn=function(e,t){var n={},o=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=t.parameterLimit===1/0?void 0:t.parameterLimit,f=o.split(t.delimiter,a),i=-1,l,u=t.charset;if(t.charsetSentinel)for(l=0;l-1&&(d=Yt(d)?[d]:d),Ie.call(n,m)?n[m]=J.combine(n[m],d):n[m]=d}return n},tn=function(r,e,t,n){for(var o=n?e:vr(e,t),a=r.length-1;a>=0;--a){var f,i=r[a];if(i==="[]"&&t.parseArrays)f=[].concat(o);else{f=t.plainObjects?Object.create(null):{};var l=i.charAt(0)==="["&&i.charAt(i.length-1)==="]"?i.slice(1,-1):i,u=parseInt(l,10);!t.parseArrays&&l===""?f={0:o}:!isNaN(u)&&i!==l&&String(u)===l&&u>=0&&t.parseArrays&&u<=t.arrayLimit?(f=[],f[u]=o):l!=="__proto__"&&(f[l]=o)}o=f}return o},nn=function(e,t,n,o){if(!!e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,f=/(\[[^[\]]*])/,i=/(\[[^[\]]*])/g,l=n.depth>0&&f.exec(a),u=l?a.slice(0,l.index):a,c=[];if(u){if(!n.plainObjects&&Ie.call(Object.prototype,u)&&!n.allowPrototypes)return;c.push(u)}for(var v=0;n.depth>0&&(l=i.exec(a))!==null&&v"u"?g.charset:e.charset;return{allowDots:typeof e.allowDots>"u"?g.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:g.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:g.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:g.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:g.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:g.comma,decoder:typeof e.decoder=="function"?e.decoder:g.decoder,delimiter:typeof e.delimiter=="string"||J.isRegExp(e.delimiter)?e.delimiter:g.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:g.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:g.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:g.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:g.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:g.strictNullHandling}},on=function(r,e){var t=an(e);if(r===""||r===null||typeof r>"u")return t.plainObjects?Object.create(null):{};for(var n=typeof r=="string"?rn(r,t):r,o=t.plainObjects?Object.create(null):{},a=Object.keys(n),f=0;f