UNPKG

janus-bury

Version:

支持vue3的埋点自动上报的插件

4 lines 115 kB
(function(Fe,Ye){typeof exports=="object"&&typeof module<"u"?Ye(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],Ye):(Fe=typeof globalThis<"u"?globalThis:Fe||self,Ye(Fe["janus-bury"]={},Fe.vue))})(this,function(Fe,Ye){"use strict";var _r=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Dr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function uo(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var a=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,a.get?a:{enumerable:!0,get:function(){return e[o]}})}),r}var xt,Lr;function lo(){return Lr||(Lr=1,xt=Error),xt}var Rt,Nr;function co(){return Nr||(Nr=1,Rt=EvalError),Rt}var Pt,Fr;function fo(){return Fr||(Fr=1,Pt=RangeError),Pt}var Ct,Mr;function po(){return Mr||(Mr=1,Ct=ReferenceError),Ct}var Bt,Ur;function kr(){return Ur||(Ur=1,Bt=SyntaxError),Bt}var It,Hr;function et(){return Hr||(Hr=1,It=TypeError),It}var _t,qr;function yo(){return qr||(qr=1,_t=URIError),_t}var Dt,Gr;function ho(){return Gr||(Gr=1,Dt=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),o=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var a=42;t[r]=a;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==a||s.enumerable!==!0)return!1}return!0}),Dt}var Lt,Wr;function mo(){if(Wr)return Lt;Wr=1;var e=typeof Symbol<"u"&&Symbol,t=ho();return Lt=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},Lt}var Nt,Vr;function go(){if(Vr)return Nt;Vr=1;var e={__proto__:null,foo:{}},t=Object;return Nt=function(){return{__proto__:e}.foo===e.foo&&!(e instanceof t)},Nt}var Ft,$r;function vo(){if($r)return Ft;$r=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,o="[object Function]",a=function(O,v){for(var y=[],A=0;A<O.length;A+=1)y[A]=O[A];for(var x=0;x<v.length;x+=1)y[x+O.length]=v[x];return y},i=function(O,v){for(var y=[],A=v,x=0;A<O.length;A+=1,x+=1)y[x]=O[A];return y},s=function(p,O){for(var v="",y=0;y<p.length;y+=1)v+=p[y],y+1<p.length&&(v+=O);return v};return Ft=function(O){var v=this;if(typeof v!="function"||t.apply(v)!==o)throw new TypeError(e+v);for(var y=i(arguments,1),A,x=function(){if(this instanceof A){var m=v.apply(this,a(y,arguments));return Object(m)===m?m:this}return v.apply(O,a(y,arguments))},b=r(0,v.length-y.length),E=[],w=0;w<b;w++)E[w]="$"+w;if(A=Function("binder","return function ("+s(E,",")+"){ return binder.apply(this,arguments); }")(x),v.prototype){var l=function(){};l.prototype=v.prototype,A.prototype=new l,l.prototype=null}return A},Ft}var Mt,jr;function Ut(){if(jr)return Mt;jr=1;var e=vo();return Mt=Function.prototype.bind||e,Mt}var kt,Kr;function So(){if(Kr)return kt;Kr=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=Ut();return kt=r.call(e,t),kt}var Ht,zr;function We(){if(zr)return Ht;zr=1;var e,t=lo(),r=co(),o=fo(),a=po(),i=kr(),s=et(),p=yo(),O=Function,v=function(te){try{return O('"use strict"; return ('+te+").constructor;")()}catch{}},y=Object.getOwnPropertyDescriptor;if(y)try{y({},"")}catch{y=null}var A=function(){throw new s},x=y?function(){try{return arguments.callee,A}catch{try{return y(arguments,"callee").get}catch{return A}}}():A,b=mo()(),E=go()(),w=Object.getPrototypeOf||(E?function(te){return te.__proto__}:null),l={},m=typeof Uint8Array>"u"||!w?e:w(Uint8Array),h={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":b&&w?w([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":l,"%AsyncGenerator%":l,"%AsyncGeneratorFunction%":l,"%AsyncIteratorPrototype%":l,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":r,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":O,"%GeneratorFunction%":l,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":b&&w?w(w([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!b||!w?e:w(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":o,"%ReferenceError%":a,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!b||!w?e:w(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":b&&w?w(""[Symbol.iterator]()):e,"%Symbol%":b?Symbol:e,"%SyntaxError%":i,"%ThrowTypeError%":x,"%TypedArray%":m,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":p,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet};if(w)try{null.error}catch(te){var T=w(w(te));h["%Error.prototype%"]=T}var C=function te(D){var J;if(D==="%AsyncFunction%")J=v("async function () {}");else if(D==="%GeneratorFunction%")J=v("function* () {}");else if(D==="%AsyncGeneratorFunction%")J=v("async function* () {}");else if(D==="%AsyncGenerator%"){var j=te("%AsyncGeneratorFunction%");j&&(J=j.prototype)}else if(D==="%AsyncIteratorPrototype%"){var Z=te("%AsyncGenerator%");Z&&w&&(J=w(Z.prototype))}return h[D]=J,J},R={__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"]},I=Ut(),q=So(),U=I.call(Function.call,Array.prototype.concat),W=I.call(Function.apply,Array.prototype.splice),k=I.call(Function.call,String.prototype.replace),X=I.call(Function.call,String.prototype.slice),F=I.call(Function.call,RegExp.prototype.exec),oe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,fe=/\\(\\)?/g,Q=function(D){var J=X(D,0,1),j=X(D,-1);if(J==="%"&&j!=="%")throw new i("invalid intrinsic syntax, expected closing `%`");if(j==="%"&&J!=="%")throw new i("invalid intrinsic syntax, expected opening `%`");var Z=[];return k(D,oe,function(ae,ve,Y,he){Z[Z.length]=Y?k(he,fe,"$1"):ve||ae}),Z},Te=function(D,J){var j=D,Z;if(q(R,j)&&(Z=R[j],j="%"+Z[0]+"%"),q(h,j)){var ae=h[j];if(ae===l&&(ae=C(j)),typeof ae>"u"&&!J)throw new s("intrinsic "+D+" exists, but is not available. Please file an issue!");return{alias:Z,name:j,value:ae}}throw new i("intrinsic "+D+" does not exist!")};return Ht=function(D,J){if(typeof D!="string"||D.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof J!="boolean")throw new s('"allowMissing" argument must be a boolean');if(F(/^%?[^%]*%?$/,D)===null)throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var j=Q(D),Z=j.length>0?j[0]:"",ae=Te("%"+Z+"%",J),ve=ae.name,Y=ae.value,he=!1,Se=ae.alias;Se&&(Z=Se[0],W(j,U([0,1],Se)));for(var Ae=1,pe=!0;Ae<j.length;Ae+=1){var se=j[Ae],ue=X(se,0,1),Oe=X(se,-1);if((ue==='"'||ue==="'"||ue==="`"||Oe==='"'||Oe==="'"||Oe==="`")&&ue!==Oe)throw new i("property names with quotes must have matching quotes");if((se==="constructor"||!pe)&&(he=!0),Z+="."+se,ve="%"+Z+"%",q(h,ve))Y=h[ve];else if(Y!=null){if(!(se in Y)){if(!J)throw new s("base intrinsic for "+D+" exists, but the property is not available.");return}if(y&&Ae+1>=j.length){var we=y(Y,se);pe=!!we,pe&&"get"in we&&!("originalValue"in we.get)?Y=we.get:Y=Y[se]}else pe=q(Y,se),Y=Y[se];pe&&!he&&(h[ve]=Y)}}return Y},Ht}var qt={exports:{}},Gt,Xr;function Wt(){if(Xr)return Gt;Xr=1;var e=We(),t=e("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return Gt=t,Gt}var Vt,Jr;function Qr(){if(Jr)return Vt;Jr=1;var e=We(),t=e("%Object.getOwnPropertyDescriptor%",!0);if(t)try{t([],"length")}catch{t=null}return Vt=t,Vt}var $t,Zr;function wo(){if(Zr)return $t;Zr=1;var e=Wt(),t=kr(),r=et(),o=Qr();return $t=function(i,s,p){if(!i||typeof i!="object"&&typeof i!="function")throw new r("`obj` must be an object or a function`");if(typeof s!="string"&&typeof s!="symbol")throw new r("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new r("`loose`, if provided, must be a boolean");var O=arguments.length>3?arguments[3]:null,v=arguments.length>4?arguments[4]:null,y=arguments.length>5?arguments[5]:null,A=arguments.length>6?arguments[6]:!1,x=!!o&&o(i,s);if(e)e(i,s,{configurable:y===null&&x?x.configurable:!y,enumerable:O===null&&x?x.enumerable:!O,value:p,writable:v===null&&x?x.writable:!v});else if(A||!O&&!v&&!y)i[s]=p;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},$t}var jt,Yr;function bo(){if(Yr)return jt;Yr=1;var e=Wt(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},jt=t,jt}var Kt,en;function Eo(){if(en)return Kt;en=1;var e=We(),t=wo(),r=bo()(),o=Qr(),a=et(),i=e("%Math.floor%");return Kt=function(p,O){if(typeof p!="function")throw new a("`fn` is not a function");if(typeof O!="number"||O<0||O>4294967295||i(O)!==O)throw new a("`length` must be a positive 32-bit integer");var v=arguments.length>2&&!!arguments[2],y=!0,A=!0;if("length"in p&&o){var x=o(p,"length");x&&!x.configurable&&(y=!1),x&&!x.writable&&(A=!1)}return(y||A||!v)&&(r?t(p,"length",O,!0,!0):t(p,"length",O)),p},Kt}var tn;function To(){return tn||(tn=1,function(e){var t=Ut(),r=We(),o=Eo(),a=et(),i=r("%Function.prototype.apply%"),s=r("%Function.prototype.call%"),p=r("%Reflect.apply%",!0)||t.call(s,i),O=Wt(),v=r("%Math.max%");e.exports=function(x){if(typeof x!="function")throw new a("a function is required");var b=p(t,s,arguments);return o(b,1+v(0,x.length-(arguments.length-1)),!0)};var y=function(){return p(t,i,arguments)};O?O(e.exports,"apply",{value:y}):e.exports.apply=y}(qt)),qt.exports}var zt,rn;function Ao(){if(rn)return zt;rn=1;var e=We(),t=To(),r=t(e("String.prototype.indexOf"));return zt=function(a,i){var s=e(a,!!i);return typeof s=="function"&&r(a,".prototype.")>-1?t(s):s},zt}const Oo=uo(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Xt,nn;function xo(){if(nn)return Xt;nn=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=e&&t&&typeof t.get=="function"?t.get:null,o=e&&Map.prototype.forEach,a=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,s=a&&i&&typeof i.get=="function"?i.get:null,p=a&&Set.prototype.forEach,O=typeof WeakMap=="function"&&WeakMap.prototype,v=O?WeakMap.prototype.has:null,y=typeof WeakSet=="function"&&WeakSet.prototype,A=y?WeakSet.prototype.has:null,x=typeof WeakRef=="function"&&WeakRef.prototype,b=x?WeakRef.prototype.deref:null,E=Boolean.prototype.valueOf,w=Object.prototype.toString,l=Function.prototype.toString,m=String.prototype.match,h=String.prototype.slice,T=String.prototype.replace,C=String.prototype.toUpperCase,R=String.prototype.toLowerCase,I=RegExp.prototype.test,q=Array.prototype.concat,U=Array.prototype.join,W=Array.prototype.slice,k=Math.floor,X=typeof BigInt=="function"?BigInt.prototype.valueOf:null,F=Object.getOwnPropertySymbols,oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,fe=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Q=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===fe||!0)?Symbol.toStringTag:null,Te=Object.prototype.propertyIsEnumerable,te=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(d){return d.__proto__}:null);function D(d,g){if(d===1/0||d===-1/0||d!==d||d&&d>-1e3&&d<1e3||I.call(/e/,g))return g;var V=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof d=="number"){var z=d<0?-k(-d):k(d);if(z!==d){var K=String(z),M=h.call(g,K.length+1);return T.call(K,V,"$&_")+"."+T.call(T.call(M,/([0-9]{3})/g,"$&_"),/_$/,"")}}return T.call(g,V,"$&_")}var J=Oo,j=J.custom,Z=ze(j)?j:null,ae={__proto__:null,double:'"',single:"'"},ve={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Xt=function d(g,V,z,K){var M=V||{};if(xe(M,"quoteStyle")&&!xe(ae,M.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(xe(M,"maxStringLength")&&(typeof M.maxStringLength=="number"?M.maxStringLength<0&&M.maxStringLength!==1/0:M.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Ie=xe(M,"customInspect")?M.customInspect:!0;if(typeof Ie!="boolean"&&Ie!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(xe(M,"indent")&&M.indent!==null&&M.indent!==" "&&!(parseInt(M.indent,10)===M.indent&&M.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(xe(M,"numericSeparator")&&typeof M.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var de=M.numericSeparator;if(typeof g>"u")return"undefined";if(g===null)return"null";if(typeof g=="boolean")return g?"true":"false";if(typeof g=="string")return Et(g,M);if(typeof g=="number"){if(g===0)return 1/0/g>0?"0":"-0";var n=String(g);return de?D(g,n):n}if(typeof g=="bigint"){var u=String(g)+"n";return de?D(g,u):u}var c=typeof M.depth>"u"?5:M.depth;if(typeof z>"u"&&(z=0),z>=c&&c>0&&typeof g=="object")return Se(g)?"[Array]":"[Object]";var f=Ot(M,z);if(typeof K>"u")K=[];else if(bt(K,g)>=0)return"[Circular]";function P(Le,Ne,Br){if(Ne&&(K=W.call(K),K.push(Ne)),Br){var $={depth:M.depth};return xe(M,"quoteStyle")&&($.quoteStyle=M.quoteStyle),d(Le,$,z+1,K)}return d(Le,M,z+1,K)}if(typeof g=="function"&&!pe(g)){var B=br(g),_=Je(g,P);return"[Function"+(B?": "+B:" (anonymous)")+"]"+(_.length>0?" { "+U.call(_,", ")+" }":"")}if(ze(g)){var L=fe?T.call(String(g),/^(Symbol\(.*\))_[^)]*$/,"$1"):oe.call(g);return typeof g=="object"&&!fe?Ge(L):L}if(Rr(g)){for(var G="<"+R.call(String(g.nodeName)),ee=g.attributes||[],N=0;N<ee.length;N++)G+=" "+ee[N].name+"="+Y(he(ee[N].value),"double",M);return G+=">",g.childNodes&&g.childNodes.length&&(G+="..."),G+="</"+R.call(String(g.nodeName))+">",G}if(Se(g)){if(g.length===0)return"[]";var be=Je(g,P);return f&&!At(be)?"["+it(be,f)+"]":"[ "+U.call(be,", ")+" ]"}if(se(g)){var ne=Je(g,P);return!("cause"in Error.prototype)&&"cause"in g&&!Te.call(g,"cause")?"{ ["+String(g)+"] "+U.call(q.call("[cause]: "+P(g.cause),ne),", ")+" }":ne.length===0?"["+String(g)+"]":"{ ["+String(g)+"] "+U.call(ne,", ")+" }"}if(typeof g=="object"&&Ie){if(Z&&typeof g[Z]=="function"&&J)return J(g,{depth:c-z});if(Ie!=="symbol"&&typeof g.inspect=="function")return g.inspect()}if(Er(g)){var _e=[];return o&&o.call(g,function(Le,Ne){_e.push(P(Ne,g,!0)+" => "+P(Le,g))}),Tt("Map",r.call(g),_e,f)}if(Or(g)){var Re=[];return p&&p.call(g,function(Le){Re.push(P(Le,g))}),Tt("Set",s.call(g),Re,f)}if(Tr(g))return at("WeakMap");if(xr(g))return at("WeakSet");if(Ar(g))return at("WeakRef");if(Oe(g))return Ge(P(Number(g)));if(Xe(g))return Ge(P(X.call(g)));if(we(g))return Ge(E.call(g));if(ue(g))return Ge(P(String(g)));if(typeof window<"u"&&g===window)return"{ [object Window] }";if(typeof globalThis<"u"&&g===globalThis||typeof _r<"u"&&g===_r)return"{ [object globalThis] }";if(!Ae(g)&&!pe(g)){var Pe=Je(g,P),Qe=te?te(g)===Object.prototype:g instanceof Object||g.constructor===Object,Me=g instanceof Object?"":"null prototype",De=!Qe&&Q&&Object(g)===g&&Q in g?h.call(Be(g),8,-1):Me?"Object":"",Cr=Qe||typeof g.constructor!="function"?"":g.constructor.name?g.constructor.name+" ":"",st=Cr+(De||Me?"["+U.call(q.call([],De||[],Me||[]),": ")+"] ":"");return Pe.length===0?st+"{}":f?st+"{"+it(Pe,f)+"}":st+"{ "+U.call(Pe,", ")+" }"}return String(g)};function Y(d,g,V){var z=V.quoteStyle||g,K=ae[z];return K+d+K}function he(d){return T.call(String(d),/"/g,"&quot;")}function Se(d){return Be(d)==="[object Array]"&&(!Q||!(typeof d=="object"&&Q in d))}function Ae(d){return Be(d)==="[object Date]"&&(!Q||!(typeof d=="object"&&Q in d))}function pe(d){return Be(d)==="[object RegExp]"&&(!Q||!(typeof d=="object"&&Q in d))}function se(d){return Be(d)==="[object Error]"&&(!Q||!(typeof d=="object"&&Q in d))}function ue(d){return Be(d)==="[object String]"&&(!Q||!(typeof d=="object"&&Q in d))}function Oe(d){return Be(d)==="[object Number]"&&(!Q||!(typeof d=="object"&&Q in d))}function we(d){return Be(d)==="[object Boolean]"&&(!Q||!(typeof d=="object"&&Q in d))}function ze(d){if(fe)return d&&typeof d=="object"&&d instanceof Symbol;if(typeof d=="symbol")return!0;if(!d||typeof d!="object"||!oe)return!1;try{return oe.call(d),!0}catch{}return!1}function Xe(d){if(!d||typeof d!="object"||!X)return!1;try{return X.call(d),!0}catch{}return!1}var qe=Object.prototype.hasOwnProperty||function(d){return d in this};function xe(d,g){return qe.call(d,g)}function Be(d){return w.call(d)}function br(d){if(d.name)return d.name;var g=m.call(l.call(d),/^function\s*([\w$]+)/);return g?g[1]:null}function bt(d,g){if(d.indexOf)return d.indexOf(g);for(var V=0,z=d.length;V<z;V++)if(d[V]===g)return V;return-1}function Er(d){if(!r||!d||typeof d!="object")return!1;try{r.call(d);try{s.call(d)}catch{return!0}return d instanceof Map}catch{}return!1}function Tr(d){if(!v||!d||typeof d!="object")return!1;try{v.call(d,v);try{A.call(d,A)}catch{return!0}return d instanceof WeakMap}catch{}return!1}function Ar(d){if(!b||!d||typeof d!="object")return!1;try{return b.call(d),!0}catch{}return!1}function Or(d){if(!s||!d||typeof d!="object")return!1;try{s.call(d);try{r.call(d)}catch{return!0}return d instanceof Set}catch{}return!1}function xr(d){if(!A||!d||typeof d!="object")return!1;try{A.call(d,A);try{v.call(d,v)}catch{return!0}return d instanceof WeakSet}catch{}return!1}function Rr(d){return!d||typeof d!="object"?!1:typeof HTMLElement<"u"&&d instanceof HTMLElement?!0:typeof d.nodeName=="string"&&typeof d.getAttribute=="function"}function Et(d,g){if(d.length>g.maxStringLength){var V=d.length-g.maxStringLength,z="... "+V+" more character"+(V>1?"s":"");return Et(h.call(d,0,g.maxStringLength),g)+z}var K=ve[g.quoteStyle||"single"];K.lastIndex=0;var M=T.call(T.call(d,K,"\\$1"),/[\x00-\x1f]/g,Pr);return Y(M,"single",g)}function Pr(d){var g=d.charCodeAt(0),V={8:"b",9:"t",10:"n",12:"f",13:"r"}[g];return V?"\\"+V:"\\x"+(g<16?"0":"")+C.call(g.toString(16))}function Ge(d){return"Object("+d+")"}function at(d){return d+" { ? }"}function Tt(d,g,V,z){var K=z?it(V,z):U.call(V,", ");return d+" ("+g+") {"+K+"}"}function At(d){for(var g=0;g<d.length;g++)if(bt(d[g],` `)>=0)return!1;return!0}function Ot(d,g){var V;if(d.indent===" ")V=" ";else if(typeof d.indent=="number"&&d.indent>0)V=U.call(Array(d.indent+1)," ");else return null;return{base:V,prev:U.call(Array(g+1),V)}}function it(d,g){if(d.length===0)return"";var V=` `+g.prev+g.base;return V+U.call(d,","+V)+` `+g.prev}function Je(d,g){var V=Se(d),z=[];if(V){z.length=d.length;for(var K=0;K<d.length;K++)z[K]=xe(d,K)?g(d[K],d):""}var M=typeof F=="function"?F(d):[],Ie;if(fe){Ie={};for(var de=0;de<M.length;de++)Ie["$"+M[de]]=M[de]}for(var n in d)xe(d,n)&&(V&&String(Number(n))===n&&n<d.length||fe&&Ie["$"+n]instanceof Symbol||(I.call(/[^\w$]/,n)?z.push(g(n,d)+": "+g(d[n],d)):z.push(n+": "+g(d[n],d))));if(typeof F=="function")for(var u=0;u<M.length;u++)Te.call(d,M[u])&&z.push("["+g(M[u])+"]: "+g(d[M[u]],d));return z}return Xt}var Jt,on;function Ro(){if(on)return Jt;on=1;var e=We(),t=Ao(),r=xo(),o=et(),a=e("%WeakMap%",!0),i=e("%Map%",!0),s=t("WeakMap.prototype.get",!0),p=t("WeakMap.prototype.set",!0),O=t("WeakMap.prototype.has",!0),v=t("Map.prototype.get",!0),y=t("Map.prototype.set",!0),A=t("Map.prototype.has",!0),x=function(l,m){for(var h=l,T;(T=h.next)!==null;h=T)if(T.key===m)return h.next=T.next,T.next=l.next,l.next=T,T},b=function(l,m){var h=x(l,m);return h&&h.value},E=function(l,m,h){var T=x(l,m);T?T.value=h:l.next={key:m,next:l.next,value:h}},w=function(l,m){return!!x(l,m)};return Jt=function(){var m,h,T,C={assert:function(R){if(!C.has(R))throw new o("Side channel does not contain "+r(R))},get:function(R){if(a&&R&&(typeof R=="object"||typeof R=="function")){if(m)return s(m,R)}else if(i){if(h)return v(h,R)}else if(T)return b(T,R)},has:function(R){if(a&&R&&(typeof R=="object"||typeof R=="function")){if(m)return O(m,R)}else if(i){if(h)return A(h,R)}else if(T)return w(T,R);return!1},set:function(R,I){a&&R&&(typeof R=="object"||typeof R=="function")?(m||(m=new a),p(m,R,I)):i?(h||(h=new i),y(h,R,I)):(T||(T={key:{},next:null}),E(T,R,I))}};return C},Jt}var Qt,an;function Zt(){if(an)return Qt;an=1;var e=String.prototype.replace,t=/%20/g,r={RFC1738:"RFC1738",RFC3986:"RFC3986"};return Qt={default:r.RFC3986,formatters:{RFC1738:function(o){return e.call(o,t,"+")},RFC3986:function(o){return String(o)}},RFC1738:r.RFC1738,RFC3986:r.RFC3986},Qt}var Yt,sn;function un(){if(sn)return Yt;sn=1;var e=Zt(),t=Object.prototype.hasOwnProperty,r=Array.isArray,o=function(){for(var l=[],m=0;m<256;++m)l.push("%"+((m<16?"0":"")+m.toString(16)).toUpperCase());return l}(),a=function(m){for(;m.length>1;){var h=m.pop(),T=h.obj[h.prop];if(r(T)){for(var C=[],R=0;R<T.length;++R)typeof T[R]<"u"&&C.push(T[R]);h.obj[h.prop]=C}}},i=function(m,h){for(var T=h&&h.plainObjects?{__proto__:null}:{},C=0;C<m.length;++C)typeof m[C]<"u"&&(T[C]=m[C]);return T},s=function l(m,h,T){if(!h)return m;if(typeof h!="object"&&typeof h!="function"){if(r(m))m.push(h);else if(m&&typeof m=="object")(T&&(T.plainObjects||T.allowPrototypes)||!t.call(Object.prototype,h))&&(m[h]=!0);else return[m,h];return m}if(!m||typeof m!="object")return[m].concat(h);var C=m;return r(m)&&!r(h)&&(C=i(m,T)),r(m)&&r(h)?(h.forEach(function(R,I){if(t.call(m,I)){var q=m[I];q&&typeof q=="object"&&R&&typeof R=="object"?m[I]=l(q,R,T):m.push(R)}else m[I]=R}),m):Object.keys(h).reduce(function(R,I){var q=h[I];return t.call(R,I)?R[I]=l(R[I],q,T):R[I]=q,R},C)},p=function(m,h){return Object.keys(h).reduce(function(T,C){return T[C]=h[C],T},m)},O=function(l,m,h){var T=l.replace(/\+/g," ");if(h==="iso-8859-1")return T.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(T)}catch{return T}},v=1024,y=function(m,h,T,C,R){if(m.length===0)return m;var I=m;if(typeof m=="symbol"?I=Symbol.prototype.toString.call(m):typeof m!="string"&&(I=String(m)),T==="iso-8859-1")return escape(I).replace(/%u[0-9a-f]{4}/gi,function(oe){return"%26%23"+parseInt(oe.slice(2),16)+"%3B"});for(var q="",U=0;U<I.length;U+=v){for(var W=I.length>=v?I.slice(U,U+v):I,k=[],X=0;X<W.length;++X){var F=W.charCodeAt(X);if(F===45||F===46||F===95||F===126||F>=48&&F<=57||F>=65&&F<=90||F>=97&&F<=122||R===e.RFC1738&&(F===40||F===41)){k[k.length]=W.charAt(X);continue}if(F<128){k[k.length]=o[F];continue}if(F<2048){k[k.length]=o[192|F>>6]+o[128|F&63];continue}if(F<55296||F>=57344){k[k.length]=o[224|F>>12]+o[128|F>>6&63]+o[128|F&63];continue}X+=1,F=65536+((F&1023)<<10|W.charCodeAt(X)&1023),k[k.length]=o[240|F>>18]+o[128|F>>12&63]+o[128|F>>6&63]+o[128|F&63]}q+=k.join("")}return q},A=function(m){for(var h=[{obj:{o:m},prop:"o"}],T=[],C=0;C<h.length;++C)for(var R=h[C],I=R.obj[R.prop],q=Object.keys(I),U=0;U<q.length;++U){var W=q[U],k=I[W];typeof k=="object"&&k!==null&&T.indexOf(k)===-1&&(h.push({obj:I,prop:W}),T.push(k))}return a(h),m},x=function(m){return Object.prototype.toString.call(m)==="[object RegExp]"},b=function(m){return!m||typeof m!="object"?!1:!!(m.constructor&&m.constructor.isBuffer&&m.constructor.isBuffer(m))},E=function(m,h){return[].concat(m,h)},w=function(m,h){if(r(m)){for(var T=[],C=0;C<m.length;C+=1)T.push(h(m[C]));return T}return h(m)};return Yt={arrayToObject:i,assign:p,combine:E,compact:A,decode:O,encode:y,isBuffer:b,isRegExp:x,maybeMap:w,merge:s},Yt}var er,ln;function Po(){if(ln)return er;ln=1;var e=Ro(),t=un(),r=Zt(),o=Object.prototype.hasOwnProperty,a={brackets:function(l){return l+"[]"},comma:"comma",indices:function(l,m){return l+"["+m+"]"},repeat:function(l){return l}},i=Array.isArray,s=Array.prototype.push,p=function(w,l){s.apply(w,i(l)?l:[l])},O=Date.prototype.toISOString,v=r.default,y={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:t.encode,encodeValuesOnly:!1,filter:void 0,format:v,formatter:r.formatters[v],indices:!1,serializeDate:function(l){return O.call(l)},skipNulls:!1,strictNullHandling:!1},A=function(l){return typeof l=="string"||typeof l=="number"||typeof l=="boolean"||typeof l=="symbol"||typeof l=="bigint"},x={},b=function w(l,m,h,T,C,R,I,q,U,W,k,X,F,oe,fe,Q,Te,te){for(var D=l,J=te,j=0,Z=!1;(J=J.get(x))!==void 0&&!Z;){var ae=J.get(l);if(j+=1,typeof ae<"u"){if(ae===j)throw new RangeError("Cyclic object value");Z=!0}typeof J.get(x)>"u"&&(j=0)}if(typeof W=="function"?D=W(m,D):D instanceof Date?D=F(D):h==="comma"&&i(D)&&(D=t.maybeMap(D,function(qe){return qe instanceof Date?F(qe):qe})),D===null){if(R)return U&&!Q?U(m,y.encoder,Te,"key",oe):m;D=""}if(A(D)||t.isBuffer(D)){if(U){var ve=Q?m:U(m,y.encoder,Te,"key",oe);return[fe(ve)+"="+fe(U(D,y.encoder,Te,"value",oe))]}return[fe(m)+"="+fe(String(D))]}var Y=[];if(typeof D>"u")return Y;var he;if(h==="comma"&&i(D))Q&&U&&(D=t.maybeMap(D,U)),he=[{value:D.length>0?D.join(",")||null:void 0}];else if(i(W))he=W;else{var Se=Object.keys(D);he=k?Se.sort(k):Se}var Ae=q?String(m).replace(/\./g,"%2E"):String(m),pe=T&&i(D)&&D.length===1?Ae+"[]":Ae;if(C&&i(D)&&D.length===0)return pe+"[]";for(var se=0;se<he.length;++se){var ue=he[se],Oe=typeof ue=="object"&&ue&&typeof ue.value<"u"?ue.value:D[ue];if(!(I&&Oe===null)){var we=X&&q?String(ue).replace(/\./g,"%2E"):String(ue),ze=i(D)?typeof h=="function"?h(pe,we):pe:pe+(X?"."+we:"["+we+"]");te.set(l,j);var Xe=e();Xe.set(x,te),p(Y,w(Oe,ze,h,T,C,R,I,q,h==="comma"&&Q&&i(D)?null:U,W,k,X,F,oe,fe,Q,Te,Xe))}}return Y},E=function(l){if(!l)return y;if(typeof l.allowEmptyArrays<"u"&&typeof l.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof l.encodeDotInKeys<"u"&&typeof l.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(l.encoder!==null&&typeof l.encoder<"u"&&typeof l.encoder!="function")throw new TypeError("Encoder has to be a function.");var m=l.charset||y.charset;if(typeof l.charset<"u"&&l.charset!=="utf-8"&&l.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var h=r.default;if(typeof l.format<"u"){if(!o.call(r.formatters,l.format))throw new TypeError("Unknown format option provided.");h=l.format}var T=r.formatters[h],C=y.filter;(typeof l.filter=="function"||i(l.filter))&&(C=l.filter);var R;if(l.arrayFormat in a?R=l.arrayFormat:"indices"in l?R=l.indices?"indices":"repeat":R=y.arrayFormat,"commaRoundTrip"in l&&typeof l.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var I=typeof l.allowDots>"u"?l.encodeDotInKeys===!0?!0:y.allowDots:!!l.allowDots;return{addQueryPrefix:typeof l.addQueryPrefix=="boolean"?l.addQueryPrefix:y.addQueryPrefix,allowDots:I,allowEmptyArrays:typeof l.allowEmptyArrays=="boolean"?!!l.allowEmptyArrays:y.allowEmptyArrays,arrayFormat:R,charset:m,charsetSentinel:typeof l.charsetSentinel=="boolean"?l.charsetSentinel:y.charsetSentinel,commaRoundTrip:!!l.commaRoundTrip,delimiter:typeof l.delimiter>"u"?y.delimiter:l.delimiter,encode:typeof l.encode=="boolean"?l.encode:y.encode,encodeDotInKeys:typeof l.encodeDotInKeys=="boolean"?l.encodeDotInKeys:y.encodeDotInKeys,encoder:typeof l.encoder=="function"?l.encoder:y.encoder,encodeValuesOnly:typeof l.encodeValuesOnly=="boolean"?l.encodeValuesOnly:y.encodeValuesOnly,filter:C,format:h,formatter:T,serializeDate:typeof l.serializeDate=="function"?l.serializeDate:y.serializeDate,skipNulls:typeof l.skipNulls=="boolean"?l.skipNulls:y.skipNulls,sort:typeof l.sort=="function"?l.sort:null,strictNullHandling:typeof l.strictNullHandling=="boolean"?l.strictNullHandling:y.strictNullHandling}};return er=function(w,l){var m=w,h=E(l),T,C;typeof h.filter=="function"?(C=h.filter,m=C("",m)):i(h.filter)&&(C=h.filter,T=C);var R=[];if(typeof m!="object"||m===null)return"";var I=a[h.arrayFormat],q=I==="comma"&&h.commaRoundTrip;T||(T=Object.keys(m)),h.sort&&T.sort(h.sort);for(var U=e(),W=0;W<T.length;++W){var k=T[W],X=m[k];h.skipNulls&&X===null||p(R,b(X,k,I,q,h.allowEmptyArrays,h.strictNullHandling,h.skipNulls,h.encodeDotInKeys,h.encode?h.encoder:null,h.filter,h.sort,h.allowDots,h.serializeDate,h.format,h.formatter,h.encodeValuesOnly,h.charset,U))}var F=R.join(h.delimiter),oe=h.addQueryPrefix===!0?"?":"";return h.charsetSentinel&&(h.charset==="iso-8859-1"?oe+="utf8=%26%2310003%3B&":oe+="utf8=%E2%9C%93&"),F.length>0?oe+F:""},er}var tr,cn;function Co(){if(cn)return tr;cn=1;var e=un(),t=Object.prototype.hasOwnProperty,r=Array.isArray,o={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:e.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},a=function(x){return x.replace(/&#(\d+);/g,function(b,E){return String.fromCharCode(parseInt(E,10))})},i=function(x,b){return x&&typeof x=="string"&&b.comma&&x.indexOf(",")>-1?x.split(","):x},s="utf8=%26%2310003%3B",p="utf8=%E2%9C%93",O=function(b,E){var w={__proto__:null},l=E.ignoreQueryPrefix?b.replace(/^\?/,""):b;l=l.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var m=E.parameterLimit===1/0?void 0:E.parameterLimit,h=l.split(E.delimiter,m),T=-1,C,R=E.charset;if(E.charsetSentinel)for(C=0;C<h.length;++C)h[C].indexOf("utf8=")===0&&(h[C]===p?R="utf-8":h[C]===s&&(R="iso-8859-1"),T=C,C=h.length);for(C=0;C<h.length;++C)if(C!==T){var I=h[C],q=I.indexOf("]="),U=q===-1?I.indexOf("="):q+1,W,k;U===-1?(W=E.decoder(I,o.decoder,R,"key"),k=E.strictNullHandling?null:""):(W=E.decoder(I.slice(0,U),o.decoder,R,"key"),k=e.maybeMap(i(I.slice(U+1),E),function(F){return E.decoder(F,o.decoder,R,"value")})),k&&E.interpretNumericEntities&&R==="iso-8859-1"&&(k=a(String(k))),I.indexOf("[]=")>-1&&(k=r(k)?[k]:k);var X=t.call(w,W);X&&E.duplicates==="combine"?w[W]=e.combine(w[W],k):(!X||E.duplicates==="last")&&(w[W]=k)}return w},v=function(x,b,E,w){for(var l=w?b:i(b,E),m=x.length-1;m>=0;--m){var h,T=x[m];if(T==="[]"&&E.parseArrays)h=E.allowEmptyArrays&&(l===""||E.strictNullHandling&&l===null)?[]:[].concat(l);else{h=E.plainObjects?{__proto__:null}:{};var C=T.charAt(0)==="["&&T.charAt(T.length-1)==="]"?T.slice(1,-1):T,R=E.decodeDotInKeys?C.replace(/%2E/g,"."):C,I=parseInt(R,10);!E.parseArrays&&R===""?h={0:l}:!isNaN(I)&&T!==R&&String(I)===R&&I>=0&&E.parseArrays&&I<=E.arrayLimit?(h=[],h[I]=l):R!=="__proto__"&&(h[R]=l)}l=h}return l},y=function(b,E,w,l){if(b){var m=w.allowDots?b.replace(/\.([^.[]+)/g,"[$1]"):b,h=/(\[[^[\]]*])/,T=/(\[[^[\]]*])/g,C=w.depth>0&&h.exec(m),R=C?m.slice(0,C.index):m,I=[];if(R){if(!w.plainObjects&&t.call(Object.prototype,R)&&!w.allowPrototypes)return;I.push(R)}for(var q=0;w.depth>0&&(C=T.exec(m))!==null&&q<w.depth;){if(q+=1,!w.plainObjects&&t.call(Object.prototype,C[1].slice(1,-1))&&!w.allowPrototypes)return;I.push(C[1])}if(C){if(w.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+w.depth+" and strictDepth is true");I.push("["+m.slice(C.index)+"]")}return v(I,E,w,l)}},A=function(b){if(!b)return o;if(typeof b.allowEmptyArrays<"u"&&typeof b.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof b.decodeDotInKeys<"u"&&typeof b.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(b.decoder!==null&&typeof b.decoder<"u"&&typeof b.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof b.charset<"u"&&b.charset!=="utf-8"&&b.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var E=typeof b.charset>"u"?o.charset:b.charset,w=typeof b.duplicates>"u"?o.duplicates:b.duplicates;if(w!=="combine"&&w!=="first"&&w!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var l=typeof b.allowDots>"u"?b.decodeDotInKeys===!0?!0:o.allowDots:!!b.allowDots;return{allowDots:l,allowEmptyArrays:typeof b.allowEmptyArrays=="boolean"?!!b.allowEmptyArrays:o.allowEmptyArrays,allowPrototypes:typeof b.allowPrototypes=="boolean"?b.allowPrototypes:o.allowPrototypes,allowSparse:typeof b.allowSparse=="boolean"?b.allowSparse:o.allowSparse,arrayLimit:typeof b.arrayLimit=="number"?b.arrayLimit:o.arrayLimit,charset:E,charsetSentinel:typeof b.charsetSentinel=="boolean"?b.charsetSentinel:o.charsetSentinel,comma:typeof b.comma=="boolean"?b.comma:o.comma,decodeDotInKeys:typeof b.decodeDotInKeys=="boolean"?b.decodeDotInKeys:o.decodeDotInKeys,decoder:typeof b.decoder=="function"?b.decoder:o.decoder,delimiter:typeof b.delimiter=="string"||e.isRegExp(b.delimiter)?b.delimiter:o.delimiter,depth:typeof b.depth=="number"||b.depth===!1?+b.depth:o.depth,duplicates:w,ignoreQueryPrefix:b.ignoreQueryPrefix===!0,interpretNumericEntities:typeof b.interpretNumericEntities=="boolean"?b.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:typeof b.parameterLimit=="number"?b.parameterLimit:o.parameterLimit,parseArrays:b.parseArrays!==!1,plainObjects:typeof b.plainObjects=="boolean"?b.plainObjects:o.plainObjects,strictDepth:typeof b.strictDepth=="boolean"?!!b.strictDepth:o.strictDepth,strictNullHandling:typeof b.strictNullHandling=="boolean"?b.strictNullHandling:o.strictNullHandling}};return tr=function(x,b){var E=A(b);if(x===""||x===null||typeof x>"u")return E.plainObjects?{__proto__:null}:{};for(var w=typeof x=="string"?O(x,E):x,l=E.plainObjects?{__proto__:null}:{},m=Object.keys(w),h=0;h<m.length;++h){var T=m[h],C=y(T,w[T],E,typeof x=="string");l=e.merge(l,C,E)}return E.allowSparse===!0?l:e.compact(l)},tr}var rr,fn;function Bo(){if(fn)return rr;fn=1;var e=Po(),t=Co(),r=Zt();return rr={formats:r,parse:t,stringify:e},rr}var Io=Bo();const dn=Dr(Io);var ut={exports:{}},_o=ut.exports,pn;function Do(){return pn||(pn=1,function(e){(function(t,r,o){typeof window<"u",e.exports?e.exports=o():r.exports?r.exports=o():r[t]=o()})("Fingerprint2",_o,function(){typeof Array.isArray>"u"&&(Array.isArray=function(n){return Object.prototype.toString.call(n)==="[object Array]"});var t=function(n,u){n=[n[0]>>>16,n[0]&65535,n[1]>>>16,n[1]&65535],u=[u[0]>>>16,u[0]&65535,u[1]>>>16,u[1]&65535];var c=[0,0,0,0];return c[3]+=n[3]+u[3],c[2]+=c[3]>>>16,c[3]&=65535,c[2]+=n[2]+u[2],c[1]+=c[2]>>>16,c[2]&=65535,c[1]+=n[1]+u[1],c[0]+=c[1]>>>16,c[1]&=65535,c[0]+=n[0]+u[0],c[0]&=65535,[c[0]<<16|c[1],c[2]<<16|c[3]]},r=function(n,u){n=[n[0]>>>16,n[0]&65535,n[1]>>>16,n[1]&65535],u=[u[0]>>>16,u[0]&65535,u[1]>>>16,u[1]&65535];var c=[0,0,0,0];return c[3]+=n[3]*u[3],c[2]+=c[3]>>>16,c[3]&=65535,c[2]+=n[2]*u[3],c[1]+=c[2]>>>16,c[2]&=65535,c[2]+=n[3]*u[2],c[1]+=c[2]>>>16,c[2]&=65535,c[1]+=n[1]*u[3],c[0]+=c[1]>>>16,c[1]&=65535,c[1]+=n[2]*u[2],c[0]+=c[1]>>>16,c[1]&=65535,c[1]+=n[3]*u[1],c[0]+=c[1]>>>16,c[1]&=65535,c[0]+=n[0]*u[3]+n[1]*u[2]+n[2]*u[1]+n[3]*u[0],c[0]&=65535,[c[0]<<16|c[1],c[2]<<16|c[3]]},o=function(n,u){return u%=64,u===32?[n[1],n[0]]:u<32?[n[0]<<u|n[1]>>>32-u,n[1]<<u|n[0]>>>32-u]:(u-=32,[n[1]<<u|n[0]>>>32-u,n[0]<<u|n[1]>>>32-u])},a=function(n,u){return u%=64,u===0?n:u<32?[n[0]<<u|n[1]>>>32-u,n[1]<<u]:[n[1]<<u-32,0]},i=function(n,u){return[n[0]^u[0],n[1]^u[1]]},s=function(n){return n=i(n,[0,n[0]>>>1]),n=r(n,[4283543511,3981806797]),n=i(n,[0,n[0]>>>1]),n=r(n,[3301882366,444984403]),n=i(n,[0,n[0]>>>1]),n},p=function(n,u){n=n||"",u=u||0;for(var c=n.length%16,f=n.length-c,P=[0,u],B=[0,u],_=[0,0],L=[0,0],G=[2277735313,289559509],ee=[1291169091,658871167],N=0;N<f;N=N+16)_=[n.charCodeAt(N+4)&255|(n.charCodeAt(N+5)&255)<<8|(n.charCodeAt(N+6)&255)<<16|(n.charCodeAt(N+7)&255)<<24,n.charCodeAt(N)&255|(n.charCodeAt(N+1)&255)<<8|(n.charCodeAt(N+2)&255)<<16|(n.charCodeAt(N+3)&255)<<24],L=[n.charCodeAt(N+12)&255|(n.charCodeAt(N+13)&255)<<8|(n.charCodeAt(N+14)&255)<<16|(n.charCodeAt(N+15)&255)<<24,n.charCodeAt(N+8)&255|(n.charCodeAt(N+9)&255)<<8|(n.charCodeAt(N+10)&255)<<16|(n.charCodeAt(N+11)&255)<<24],_=r(_,G),_=o(_,31),_=r(_,ee),P=i(P,_),P=o(P,27),P=t(P,B),P=t(r(P,[0,5]),[0,1390208809]),L=r(L,ee),L=o(L,33),L=r(L,G),B=i(B,L),B=o(B,31),B=t(B,P),B=t(r(B,[0,5]),[0,944331445]);switch(_=[0,0],L=[0,0],c){case 15:L=i(L,a([0,n.charCodeAt(N+14)],48));case 14:L=i(L,a([0,n.charCodeAt(N+13)],40));case 13:L=i(L,a([0,n.charCodeAt(N+12)],32));case 12:L=i(L,a([0,n.charCodeAt(N+11)],24));case 11:L=i(L,a([0,n.charCodeAt(N+10)],16));case 10:L=i(L,a([0,n.charCodeAt(N+9)],8));case 9:L=i(L,[0,n.charCodeAt(N+8)]),L=r(L,ee),L=o(L,33),L=r(L,G),B=i(B,L);case 8:_=i(_,a([0,n.charCodeAt(N+7)],56));case 7:_=i(_,a([0,n.charCodeAt(N+6)],48));case 6:_=i(_,a([0,n.charCodeAt(N+5)],40));case 5:_=i(_,a([0,n.charCodeAt(N+4)],32));case 4:_=i(_,a([0,n.charCodeAt(N+3)],24));case 3:_=i(_,a([0,n.charCodeAt(N+2)],16));case 2:_=i(_,a([0,n.charCodeAt(N+1)],8));case 1:_=i(_,[0,n.charCodeAt(N)]),_=r(_,G),_=o(_,31),_=r(_,ee),P=i(P,_)}return P=i(P,[0,n.length]),B=i(B,[0,n.length]),P=t(P,B),B=t(B,P),P=s(P),B=s(B),P=t(P,B),B=t(B,P),("00000000"+(P[0]>>>0).toString(16)).slice(-8)+("00000000"+(P[1]>>>0).toString(16)).slice(-8)+("00000000"+(B[0]>>>0).toString(16)).slice(-8)+("00000000"+(B[1]>>>0).toString(16)).slice(-8)},O={preprocessor:null,audio:{timeout:1e3,excludeIOS11:!0},fonts:{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",userDefinedFonts:[],extendedJsFonts:!1},screen:{detectScreenOrientation:!0},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:!1},extraComponents:[],excludes:{enumerateDevices:!0,pixelRatio:!0,doNotTrack:!0,fontsFlash:!0,adBlock:!0},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"},v=function(n,u){if(Array.prototype.forEach&&n.forEach===Array.prototype.forEach)n.forEach(u);else if(n.length===+n.length)for(var c=0,f=n.length;c<f;c++)u(n[c],c,n);else for(var P in n)n.hasOwnProperty(P)&&u(n[P],P,n)},y=function(n,u){var c=[];return n==null?c:Array.prototype.map&&n.map===Array.prototype.map?n.map(u):(v(n,function(f,P,B){c.push(u(f,P,B))}),c)},A=function(n,u){if(u==null)return n;var c,f;for(f in u)c=u[f],c!=null&&!Object.prototype.hasOwnProperty.call(n,f)&&(n[f]=c);return n},x=function(n,u){if(!b())return n(u.NOT_AVAILABLE);navigator.mediaDevices.enumerateDevices().then(function(c){n(c.map(function(f){return"id="+f.deviceId+";gid="+f.groupId+";"+f.kind+";"+f.label}))}).catch(function(c){n(c)})},b=function(){return navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices},E=function(n,u){var c=u.audio;if(c.excludeIOS11&&navigator.userAgent.match(/OS 11.+Version\/11.+Safari/))return n(u.EXCLUDED);var f=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(f==null)return n(u.NOT_AVAILABLE);var P=new f(1,44100,44100),B=P.createOscillator();B.type="triangle",B.frequency.setValueAtTime(1e4,P.currentTime);var _=P.createDynamicsCompressor();v([["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]],function(G){_[G[0]]!==void 0&&typeof _[G[0]].setValueAtTime=="function"&&_[G[0]].setValueAtTime(G[1],P.currentTime)}),B.connect(_),_.connect(P.destination),B.start(0),P.startRendering();var L=setTimeout(function(){return console.warn('Audio fingerprint timed out. Please report bug at https://github.com/fingerprintjs/fingerprintjs with your user agent: "'+navigator.userAgent+'".'),P.oncomplete=function(){},P=null,n("audioTimeout")},c.timeout);P.oncomplete=function(G){var ee;try{clearTimeout(L),ee=G.renderedBuffer.getChannelData(0).slice(4500,5e3).reduce(function(N,be){return N+Math.abs(be)},0).toString(),B.disconnect(),_.disconnect()}catch(N){n(N);return}n(ee)}},w=function(n){n(navigator.userAgent)},l=function(n,u){n(navigator.webdriver==null?u.NOT_AVAILABLE:navigator.webdriver)},m=function(n,u){n(navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||u.NOT_AVAILABLE)},h=function(n,u){n(window.screen.colorDepth||u.NOT_AVAILABLE)},T=function(n,u){n(navigator.deviceMemory||u.NOT_AVAILABLE)},C=function(n,u){n(window.devicePixelRatio||u.NOT_AVAILABLE)},R=function(n,u){n(I(u))},I=function(n){var u=[window.screen.width,window.screen.height];return n.screen.detectScreenOrientation&&u.sort().reverse(),u},q=function(n,u){n(U(u))},U=function(n){if(window.screen.availWidth&&window.screen.availHeight){var u=[window.screen.availHeight,window.screen.availWidth];return n.screen.detectScreenOrientation&&u.sort().reverse(),u}return n.NOT_AVAILABLE},W=function(n){n(new Date().getTimezoneOffset())},k=function(n,u){if(window.Intl&&window.Intl.DateTimeFormat){n(new window.Intl.DateTimeFormat().resolvedOptions().timeZone||u.NOT_AVAILABLE);return}n(u.NOT_AVAILABLE)},X=function(n,u){n(qe(u))},F=function(n,u){n(xe(u))},oe=function(n,u){n(Be(u))},fe=function(n){n(!!window.HTMLElement.prototype.addBehavior)},Q=function(n){n(!!window.openDatabase)},Te=function(n,u){n(bt(u))},te=function(n,u){n(Er(u))},D=function(n,u){n(Tr(u))},J=function(n,u){if(At()){n(Or(u));return}n(u.NOT_AVAILABLE)},j=function(n,u){if(Ot()){n(xr());return}n(u.NOT_AVAILABLE)},Z=function(n){if(Ot()){n(Rr());return}n()},ae=function(n){n(Et())},ve=function(n){n(Pr())},Y=function(n){n(Ge())},he=function(n){n(at())},Se=function(n){n(Tt())},Ae=function(n,u){if(!d())return n("swf object not loaded");if(!g())return n("flash not installed");if(!u.fonts.swfPath)return n("missing options.fonts.swfPath");z(function(c){n(c)},u)},pe=function(n,u){var c=["monospace","sans-serif","serif"],f=["Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria","Cambria Math","Century","Century Gothic","Century Schoolbook","Comic Sans","Comic Sans MS","Consolas","Courier","Courier New","Geneva","Georgia","Helvetica","Helvetica Neue","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Microsoft Sans Serif","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS PGothic","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Tahoma","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 2","Wingdings 3"];if(u.fonts.extendedJsFonts){var P=["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Californian FB","Calisto MT","Calligrapher","Candara","CaslonOpnface BT","Castellar","Centaur","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Gautami","Geeza Pro","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","GeoSlab 703 L