@coinflowlabs/vue 1.13.0 → 1.14.0

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.
@@ -1,18 +1,18 @@
1
- (function(re,jt){typeof exports=="object"&&typeof module<"u"?jt(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],jt):(re=typeof globalThis<"u"?globalThis:re||self,jt(re.VueTypeWriter={},re.Vue))})(this,(function(re,jt){"use strict";var Za=(t=>(t.USER="user",t.BUSINESS="business",t.FIRST_PARTY="firstParty",t))(Za||{}),Ka=(t=>(t.ASAP="asap",t.SAME_DAY="same_day",t.STANDARD="standard",t.CARD="card",t.IBAN="iban",t.PIX="pix",t.EFT="eft",t.VENMO="venmo",t.PAYPAL="paypal",t.WIRE="wire",t.INTERAC="interac",t))(Ka||{}),Xa=(t=>(t.Credits="Credits",t.USDC="USDC",t.Bank="Bank",t))(Xa||{});function jl(t){return"cardToken"in t}function Yl(t){return"disableSavedPaymentMethods"in t}var qa=(t=>(t.Rounded="rounded",t.Sharp="sharp",t.Pill="pill",t))(qa||{}),$a=(t=>(t.GUEST="guest",t.PRIVATE="private",t.BUSINESS="business",t))($a||{}),Ja=(t=>(t.NoPreference="NoPreference",t.Frictionless="Frictionless",t.Challenge="Challenge",t))(Ja||{}),Qa=(t=>(t.card="card",t.ach="ach",t.fasterPayments="fasterPayments",t.sepa="sepa",t.pix="pix",t.usdc="usdc",t.googlePay="googlePay",t.applePay="applePay",t.credits="credits",t.crypto="crypto",t.wire="wire",t.cashApp="cashApp",t))(Qa||{});const zl={card:"Card",ach:"ACH",fasterPayments:"Faster Payments",sepa:"SEPA",pix:"PIX",usdc:"USDC",googlePay:"Google Pay",applePay:"Apple Pay",credits:"Credits",crypto:"Crypto",wire:"Wire Transfer",cashApp:"CashApp"};var qr=(t=>(t.VISA="VISA",t.MASTERCARD="MSTR",t.AMEX="AMEX",t.DISCOVER="DISC",t))(qr||{});const Wl="rnredirect";function ds(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function hs(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var r=t.default;if(typeof r=="function"){var n=function e(){var u=!1;try{u=this instanceof e}catch{}return u?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};n.prototype=r.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(e){var u=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,u.get?u:{enumerable:!0,get:function(){return t[e]}})}),n}var ps={},Ri={},tu;function Zl(){if(tu)return Ri;tu=1,Ri.byteLength=y,Ri.toByteArray=b,Ri.fromByteArray=T;for(var t=[],r=[],n=typeof Uint8Array<"u"?Uint8Array:Array,e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,a=e.length;u<a;++u)t[u]=e[u],r[e.charCodeAt(u)]=u;r[45]=62,r[95]=63;function d(x){var M=x.length;if(M%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var D=x.indexOf("=");D===-1&&(D=M);var Y=D===M?0:4-D%4;return[D,Y]}function y(x){var M=d(x),D=M[0],Y=M[1];return(D+Y)*3/4-Y}function l(x,M,D){return(M+D)*3/4-D}function b(x){var M,D=d(x),Y=D[0],z=D[1],J=new n(l(x,Y,z)),q=0,ot=z>0?Y-4:Y,pt;for(pt=0;pt<ot;pt+=4)M=r[x.charCodeAt(pt)]<<18|r[x.charCodeAt(pt+1)]<<12|r[x.charCodeAt(pt+2)]<<6|r[x.charCodeAt(pt+3)],J[q++]=M>>16&255,J[q++]=M>>8&255,J[q++]=M&255;return z===2&&(M=r[x.charCodeAt(pt)]<<2|r[x.charCodeAt(pt+1)]>>4,J[q++]=M&255),z===1&&(M=r[x.charCodeAt(pt)]<<10|r[x.charCodeAt(pt+1)]<<4|r[x.charCodeAt(pt+2)]>>2,J[q++]=M>>8&255,J[q++]=M&255),J}function N(x){return t[x>>18&63]+t[x>>12&63]+t[x>>6&63]+t[x&63]}function L(x,M,D){for(var Y,z=[],J=M;J<D;J+=3)Y=(x[J]<<16&16711680)+(x[J+1]<<8&65280)+(x[J+2]&255),z.push(N(Y));return z.join("")}function T(x){for(var M,D=x.length,Y=D%3,z=[],J=16383,q=0,ot=D-Y;q<ot;q+=J)z.push(L(x,q,q+J>ot?ot:q+J));return Y===1?(M=x[D-1],z.push(t[M>>2]+t[M<<4&63]+"==")):Y===2&&(M=(x[D-2]<<8)+x[D-1],z.push(t[M>>10]+t[M>>4&63]+t[M<<2&63]+"=")),z.join("")}return Ri}var fo={};var eu;function Kl(){return eu||(eu=1,fo.read=function(t,r,n,e,u){var a,d,y=u*8-e-1,l=(1<<y)-1,b=l>>1,N=-7,L=n?u-1:0,T=n?-1:1,x=t[r+L];for(L+=T,a=x&(1<<-N)-1,x>>=-N,N+=y;N>0;a=a*256+t[r+L],L+=T,N-=8);for(d=a&(1<<-N)-1,a>>=-N,N+=e;N>0;d=d*256+t[r+L],L+=T,N-=8);if(a===0)a=1-b;else{if(a===l)return d?NaN:(x?-1:1)*(1/0);d=d+Math.pow(2,e),a=a-b}return(x?-1:1)*d*Math.pow(2,a-e)},fo.write=function(t,r,n,e,u,a){var d,y,l,b=a*8-u-1,N=(1<<b)-1,L=N>>1,T=u===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=e?0:a-1,M=e?1:-1,D=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(y=isNaN(r)?1:0,d=N):(d=Math.floor(Math.log(r)/Math.LN2),r*(l=Math.pow(2,-d))<1&&(d--,l*=2),d+L>=1?r+=T/l:r+=T*Math.pow(2,1-L),r*l>=2&&(d++,l/=2),d+L>=N?(y=0,d=N):d+L>=1?(y=(r*l-1)*Math.pow(2,u),d=d+L):(y=r*Math.pow(2,L-1)*Math.pow(2,u),d=0));u>=8;t[n+x]=y&255,x+=M,y/=256,u-=8);for(d=d<<u|y,b+=u;b>0;t[n+x]=d&255,x+=M,d/=256,b-=8);t[n+x-M]|=D*128}),fo}var nu;function vs(){return nu||(nu=1,(function(t){const r=Zl(),n=Kl(),e=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=y,t.SlowBuffer=J,t.INSPECT_MAX_BYTES=50;const u=2147483647;t.kMaxLength=u,y.TYPED_ARRAY_SUPPORT=a(),!y.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function a(){try{const F=new Uint8Array(1),R={foo:function(){return 42}};return Object.setPrototypeOf(R,Uint8Array.prototype),Object.setPrototypeOf(F,R),F.foo()===42}catch{return!1}}Object.defineProperty(y.prototype,"parent",{enumerable:!0,get:function(){if(y.isBuffer(this))return this.buffer}}),Object.defineProperty(y.prototype,"offset",{enumerable:!0,get:function(){if(y.isBuffer(this))return this.byteOffset}});function d(F){if(F>u)throw new RangeError('The value "'+F+'" is invalid for option "size"');const R=new Uint8Array(F);return Object.setPrototypeOf(R,y.prototype),R}function y(F,R,O){if(typeof F=="number"){if(typeof R=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return L(F)}return l(F,R,O)}y.poolSize=8192;function l(F,R,O){if(typeof F=="string")return T(F,R);if(ArrayBuffer.isView(F))return M(F);if(F==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof F);if(yt(F,ArrayBuffer)||F&&yt(F.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(yt(F,SharedArrayBuffer)||F&&yt(F.buffer,SharedArrayBuffer)))return D(F,R,O);if(typeof F=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const A=F.valueOf&&F.valueOf();if(A!=null&&A!==F)return y.from(A,R,O);const H=Y(F);if(H)return H;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof F[Symbol.toPrimitive]=="function")return y.from(F[Symbol.toPrimitive]("string"),R,O);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof F)}y.from=function(F,R,O){return l(F,R,O)},Object.setPrototypeOf(y.prototype,Uint8Array.prototype),Object.setPrototypeOf(y,Uint8Array);function b(F){if(typeof F!="number")throw new TypeError('"size" argument must be of type number');if(F<0)throw new RangeError('The value "'+F+'" is invalid for option "size"')}function N(F,R,O){return b(F),F<=0?d(F):R!==void 0?typeof O=="string"?d(F).fill(R,O):d(F).fill(R):d(F)}y.alloc=function(F,R,O){return N(F,R,O)};function L(F){return b(F),d(F<0?0:z(F)|0)}y.allocUnsafe=function(F){return L(F)},y.allocUnsafeSlow=function(F){return L(F)};function T(F,R){if((typeof R!="string"||R==="")&&(R="utf8"),!y.isEncoding(R))throw new TypeError("Unknown encoding: "+R);const O=q(F,R)|0;let A=d(O);const H=A.write(F,R);return H!==O&&(A=A.slice(0,H)),A}function x(F){const R=F.length<0?0:z(F.length)|0,O=d(R);for(let A=0;A<R;A+=1)O[A]=F[A]&255;return O}function M(F){if(yt(F,Uint8Array)){const R=new Uint8Array(F);return D(R.buffer,R.byteOffset,R.byteLength)}return x(F)}function D(F,R,O){if(R<0||F.byteLength<R)throw new RangeError('"offset" is outside of buffer bounds');if(F.byteLength<R+(O||0))throw new RangeError('"length" is outside of buffer bounds');let A;return R===void 0&&O===void 0?A=new Uint8Array(F):O===void 0?A=new Uint8Array(F,R):A=new Uint8Array(F,R,O),Object.setPrototypeOf(A,y.prototype),A}function Y(F){if(y.isBuffer(F)){const R=z(F.length)|0,O=d(R);return O.length===0||F.copy(O,0,0,R),O}if(F.length!==void 0)return typeof F.length!="number"||Et(F.length)?d(0):x(F);if(F.type==="Buffer"&&Array.isArray(F.data))return x(F.data)}function z(F){if(F>=u)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+u.toString(16)+" bytes");return F|0}function J(F){return+F!=F&&(F=0),y.alloc(+F)}y.isBuffer=function(R){return R!=null&&R._isBuffer===!0&&R!==y.prototype},y.compare=function(R,O){if(yt(R,Uint8Array)&&(R=y.from(R,R.offset,R.byteLength)),yt(O,Uint8Array)&&(O=y.from(O,O.offset,O.byteLength)),!y.isBuffer(R)||!y.isBuffer(O))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(R===O)return 0;let A=R.length,H=O.length;for(let G=0,it=Math.min(A,H);G<it;++G)if(R[G]!==O[G]){A=R[G],H=O[G];break}return A<H?-1:H<A?1:0},y.isEncoding=function(R){switch(String(R).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},y.concat=function(R,O){if(!Array.isArray(R))throw new TypeError('"list" argument must be an Array of Buffers');if(R.length===0)return y.alloc(0);let A;if(O===void 0)for(O=0,A=0;A<R.length;++A)O+=R[A].length;const H=y.allocUnsafe(O);let G=0;for(A=0;A<R.length;++A){let it=R[A];if(yt(it,Uint8Array))G+it.length>H.length?(y.isBuffer(it)||(it=y.from(it)),it.copy(H,G)):Uint8Array.prototype.set.call(H,it,G);else if(y.isBuffer(it))it.copy(H,G);else throw new TypeError('"list" argument must be an Array of Buffers');G+=it.length}return H};function q(F,R){if(y.isBuffer(F))return F.length;if(ArrayBuffer.isView(F)||yt(F,ArrayBuffer))return F.byteLength;if(typeof F!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof F);const O=F.length,A=arguments.length>2&&arguments[2]===!0;if(!A&&O===0)return 0;let H=!1;for(;;)switch(R){case"ascii":case"latin1":case"binary":return O;case"utf8":case"utf-8":return Te(F).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O*2;case"hex":return O>>>1;case"base64":return V(F).length;default:if(H)return A?-1:Te(F).length;R=(""+R).toLowerCase(),H=!0}}y.byteLength=q;function ot(F,R,O){let A=!1;if((R===void 0||R<0)&&(R=0),R>this.length||((O===void 0||O>this.length)&&(O=this.length),O<=0)||(O>>>=0,R>>>=0,O<=R))return"";for(F||(F="utf8");;)switch(F){case"hex":return et(this,R,O);case"utf8":case"utf-8":return f(this,R,O);case"ascii":return W(this,R,O);case"latin1":case"binary":return $(this,R,O);case"base64":return P(this,R,O);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ut(this,R,O);default:if(A)throw new TypeError("Unknown encoding: "+F);F=(F+"").toLowerCase(),A=!0}}y.prototype._isBuffer=!0;function pt(F,R,O){const A=F[R];F[R]=F[O],F[O]=A}y.prototype.swap16=function(){const R=this.length;if(R%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let O=0;O<R;O+=2)pt(this,O,O+1);return this},y.prototype.swap32=function(){const R=this.length;if(R%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let O=0;O<R;O+=4)pt(this,O,O+3),pt(this,O+1,O+2);return this},y.prototype.swap64=function(){const R=this.length;if(R%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let O=0;O<R;O+=8)pt(this,O,O+7),pt(this,O+1,O+6),pt(this,O+2,O+5),pt(this,O+3,O+4);return this},y.prototype.toString=function(){const R=this.length;return R===0?"":arguments.length===0?f(this,0,R):ot.apply(this,arguments)},y.prototype.toLocaleString=y.prototype.toString,y.prototype.equals=function(R){if(!y.isBuffer(R))throw new TypeError("Argument must be a Buffer");return this===R?!0:y.compare(this,R)===0},y.prototype.inspect=function(){let R="";const O=t.INSPECT_MAX_BYTES;return R=this.toString("hex",0,O).replace(/(.{2})/g,"$1 ").trim(),this.length>O&&(R+=" ... "),"<Buffer "+R+">"},e&&(y.prototype[e]=y.prototype.inspect),y.prototype.compare=function(R,O,A,H,G){if(yt(R,Uint8Array)&&(R=y.from(R,R.offset,R.byteLength)),!y.isBuffer(R))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof R);if(O===void 0&&(O=0),A===void 0&&(A=R?R.length:0),H===void 0&&(H=0),G===void 0&&(G=this.length),O<0||A>R.length||H<0||G>this.length)throw new RangeError("out of range index");if(H>=G&&O>=A)return 0;if(H>=G)return-1;if(O>=A)return 1;if(O>>>=0,A>>>=0,H>>>=0,G>>>=0,this===R)return 0;let it=G-H,Ct=A-O;const Bt=Math.min(it,Ct),Ut=this.slice(H,G),kt=R.slice(O,A);for(let rt=0;rt<Bt;++rt)if(Ut[rt]!==kt[rt]){it=Ut[rt],Ct=kt[rt];break}return it<Ct?-1:Ct<it?1:0};function ft(F,R,O,A,H){if(F.length===0)return-1;if(typeof O=="string"?(A=O,O=0):O>2147483647?O=2147483647:O<-2147483648&&(O=-2147483648),O=+O,Et(O)&&(O=H?0:F.length-1),O<0&&(O=F.length+O),O>=F.length){if(H)return-1;O=F.length-1}else if(O<0)if(H)O=0;else return-1;if(typeof R=="string"&&(R=y.from(R,A)),y.isBuffer(R))return R.length===0?-1:Rt(F,R,O,A,H);if(typeof R=="number")return R=R&255,typeof Uint8Array.prototype.indexOf=="function"?H?Uint8Array.prototype.indexOf.call(F,R,O):Uint8Array.prototype.lastIndexOf.call(F,R,O):Rt(F,[R],O,A,H);throw new TypeError("val must be string, number or Buffer")}function Rt(F,R,O,A,H){let G=1,it=F.length,Ct=R.length;if(A!==void 0&&(A=String(A).toLowerCase(),A==="ucs2"||A==="ucs-2"||A==="utf16le"||A==="utf-16le")){if(F.length<2||R.length<2)return-1;G=2,it/=2,Ct/=2,O/=2}function Bt(kt,rt){return G===1?kt[rt]:kt.readUInt16BE(rt*G)}let Ut;if(H){let kt=-1;for(Ut=O;Ut<it;Ut++)if(Bt(F,Ut)===Bt(R,kt===-1?0:Ut-kt)){if(kt===-1&&(kt=Ut),Ut-kt+1===Ct)return kt*G}else kt!==-1&&(Ut-=Ut-kt),kt=-1}else for(O+Ct>it&&(O=it-Ct),Ut=O;Ut>=0;Ut--){let kt=!0;for(let rt=0;rt<Ct;rt++)if(Bt(F,Ut+rt)!==Bt(R,rt)){kt=!1;break}if(kt)return Ut}return-1}y.prototype.includes=function(R,O,A){return this.indexOf(R,O,A)!==-1},y.prototype.indexOf=function(R,O,A){return ft(this,R,O,A,!0)},y.prototype.lastIndexOf=function(R,O,A){return ft(this,R,O,A,!1)};function At(F,R,O,A){O=Number(O)||0;const H=F.length-O;A?(A=Number(A),A>H&&(A=H)):A=H;const G=R.length;A>G/2&&(A=G/2);let it;for(it=0;it<A;++it){const Ct=parseInt(R.substr(it*2,2),16);if(Et(Ct))return it;F[O+it]=Ct}return it}function st(F,R,O,A){return ct(Te(R,F.length-O),F,O,A)}function dt(F,R,O,A){return ct(g(R),F,O,A)}function mt(F,R,O,A){return ct(V(R),F,O,A)}function wt(F,R,O,A){return ct(k(R,F.length-O),F,O,A)}y.prototype.write=function(R,O,A,H){if(O===void 0)H="utf8",A=this.length,O=0;else if(A===void 0&&typeof O=="string")H=O,A=this.length,O=0;else if(isFinite(O))O=O>>>0,isFinite(A)?(A=A>>>0,H===void 0&&(H="utf8")):(H=A,A=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const G=this.length-O;if((A===void 0||A>G)&&(A=G),R.length>0&&(A<0||O<0)||O>this.length)throw new RangeError("Attempt to write outside buffer bounds");H||(H="utf8");let it=!1;for(;;)switch(H){case"hex":return At(this,R,O,A);case"utf8":case"utf-8":return st(this,R,O,A);case"ascii":case"latin1":case"binary":return dt(this,R,O,A);case"base64":return mt(this,R,O,A);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wt(this,R,O,A);default:if(it)throw new TypeError("Unknown encoding: "+H);H=(""+H).toLowerCase(),it=!0}},y.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function P(F,R,O){return R===0&&O===F.length?r.fromByteArray(F):r.fromByteArray(F.slice(R,O))}function f(F,R,O){O=Math.min(F.length,O);const A=[];let H=R;for(;H<O;){const G=F[H];let it=null,Ct=G>239?4:G>223?3:G>191?2:1;if(H+Ct<=O){let Bt,Ut,kt,rt;switch(Ct){case 1:G<128&&(it=G);break;case 2:Bt=F[H+1],(Bt&192)===128&&(rt=(G&31)<<6|Bt&63,rt>127&&(it=rt));break;case 3:Bt=F[H+1],Ut=F[H+2],(Bt&192)===128&&(Ut&192)===128&&(rt=(G&15)<<12|(Bt&63)<<6|Ut&63,rt>2047&&(rt<55296||rt>57343)&&(it=rt));break;case 4:Bt=F[H+1],Ut=F[H+2],kt=F[H+3],(Bt&192)===128&&(Ut&192)===128&&(kt&192)===128&&(rt=(G&15)<<18|(Bt&63)<<12|(Ut&63)<<6|kt&63,rt>65535&&rt<1114112&&(it=rt))}}it===null?(it=65533,Ct=1):it>65535&&(it-=65536,A.push(it>>>10&1023|55296),it=56320|it&1023),A.push(it),H+=Ct}return U(A)}const S=4096;function U(F){const R=F.length;if(R<=S)return String.fromCharCode.apply(String,F);let O="",A=0;for(;A<R;)O+=String.fromCharCode.apply(String,F.slice(A,A+=S));return O}function W(F,R,O){let A="";O=Math.min(F.length,O);for(let H=R;H<O;++H)A+=String.fromCharCode(F[H]&127);return A}function $(F,R,O){let A="";O=Math.min(F.length,O);for(let H=R;H<O;++H)A+=String.fromCharCode(F[H]);return A}function et(F,R,O){const A=F.length;(!R||R<0)&&(R=0),(!O||O<0||O>A)&&(O=A);let H="";for(let G=R;G<O;++G)H+=Lt[F[G]];return H}function ut(F,R,O){const A=F.slice(R,O);let H="";for(let G=0;G<A.length-1;G+=2)H+=String.fromCharCode(A[G]+A[G+1]*256);return H}y.prototype.slice=function(R,O){const A=this.length;R=~~R,O=O===void 0?A:~~O,R<0?(R+=A,R<0&&(R=0)):R>A&&(R=A),O<0?(O+=A,O<0&&(O=0)):O>A&&(O=A),O<R&&(O=R);const H=this.subarray(R,O);return Object.setPrototypeOf(H,y.prototype),H};function Z(F,R,O){if(F%1!==0||F<0)throw new RangeError("offset is not uint");if(F+R>O)throw new RangeError("Trying to access beyond buffer length")}y.prototype.readUintLE=y.prototype.readUIntLE=function(R,O,A){R=R>>>0,O=O>>>0,A||Z(R,O,this.length);let H=this[R],G=1,it=0;for(;++it<O&&(G*=256);)H+=this[R+it]*G;return H},y.prototype.readUintBE=y.prototype.readUIntBE=function(R,O,A){R=R>>>0,O=O>>>0,A||Z(R,O,this.length);let H=this[R+--O],G=1;for(;O>0&&(G*=256);)H+=this[R+--O]*G;return H},y.prototype.readUint8=y.prototype.readUInt8=function(R,O){return R=R>>>0,O||Z(R,1,this.length),this[R]},y.prototype.readUint16LE=y.prototype.readUInt16LE=function(R,O){return R=R>>>0,O||Z(R,2,this.length),this[R]|this[R+1]<<8},y.prototype.readUint16BE=y.prototype.readUInt16BE=function(R,O){return R=R>>>0,O||Z(R,2,this.length),this[R]<<8|this[R+1]},y.prototype.readUint32LE=y.prototype.readUInt32LE=function(R,O){return R=R>>>0,O||Z(R,4,this.length),(this[R]|this[R+1]<<8|this[R+2]<<16)+this[R+3]*16777216},y.prototype.readUint32BE=y.prototype.readUInt32BE=function(R,O){return R=R>>>0,O||Z(R,4,this.length),this[R]*16777216+(this[R+1]<<16|this[R+2]<<8|this[R+3])},y.prototype.readBigUInt64LE=zt(function(R){R=R>>>0,Oe(R,"offset");const O=this[R],A=this[R+7];(O===void 0||A===void 0)&&be(R,this.length-8);const H=O+this[++R]*2**8+this[++R]*2**16+this[++R]*2**24,G=this[++R]+this[++R]*2**8+this[++R]*2**16+A*2**24;return BigInt(H)+(BigInt(G)<<BigInt(32))}),y.prototype.readBigUInt64BE=zt(function(R){R=R>>>0,Oe(R,"offset");const O=this[R],A=this[R+7];(O===void 0||A===void 0)&&be(R,this.length-8);const H=O*2**24+this[++R]*2**16+this[++R]*2**8+this[++R],G=this[++R]*2**24+this[++R]*2**16+this[++R]*2**8+A;return(BigInt(H)<<BigInt(32))+BigInt(G)}),y.prototype.readIntLE=function(R,O,A){R=R>>>0,O=O>>>0,A||Z(R,O,this.length);let H=this[R],G=1,it=0;for(;++it<O&&(G*=256);)H+=this[R+it]*G;return G*=128,H>=G&&(H-=Math.pow(2,8*O)),H},y.prototype.readIntBE=function(R,O,A){R=R>>>0,O=O>>>0,A||Z(R,O,this.length);let H=O,G=1,it=this[R+--H];for(;H>0&&(G*=256);)it+=this[R+--H]*G;return G*=128,it>=G&&(it-=Math.pow(2,8*O)),it},y.prototype.readInt8=function(R,O){return R=R>>>0,O||Z(R,1,this.length),this[R]&128?(255-this[R]+1)*-1:this[R]},y.prototype.readInt16LE=function(R,O){R=R>>>0,O||Z(R,2,this.length);const A=this[R]|this[R+1]<<8;return A&32768?A|4294901760:A},y.prototype.readInt16BE=function(R,O){R=R>>>0,O||Z(R,2,this.length);const A=this[R+1]|this[R]<<8;return A&32768?A|4294901760:A},y.prototype.readInt32LE=function(R,O){return R=R>>>0,O||Z(R,4,this.length),this[R]|this[R+1]<<8|this[R+2]<<16|this[R+3]<<24},y.prototype.readInt32BE=function(R,O){return R=R>>>0,O||Z(R,4,this.length),this[R]<<24|this[R+1]<<16|this[R+2]<<8|this[R+3]},y.prototype.readBigInt64LE=zt(function(R){R=R>>>0,Oe(R,"offset");const O=this[R],A=this[R+7];(O===void 0||A===void 0)&&be(R,this.length-8);const H=this[R+4]+this[R+5]*2**8+this[R+6]*2**16+(A<<24);return(BigInt(H)<<BigInt(32))+BigInt(O+this[++R]*2**8+this[++R]*2**16+this[++R]*2**24)}),y.prototype.readBigInt64BE=zt(function(R){R=R>>>0,Oe(R,"offset");const O=this[R],A=this[R+7];(O===void 0||A===void 0)&&be(R,this.length-8);const H=(O<<24)+this[++R]*2**16+this[++R]*2**8+this[++R];return(BigInt(H)<<BigInt(32))+BigInt(this[++R]*2**24+this[++R]*2**16+this[++R]*2**8+A)}),y.prototype.readFloatLE=function(R,O){return R=R>>>0,O||Z(R,4,this.length),n.read(this,R,!0,23,4)},y.prototype.readFloatBE=function(R,O){return R=R>>>0,O||Z(R,4,this.length),n.read(this,R,!1,23,4)},y.prototype.readDoubleLE=function(R,O){return R=R>>>0,O||Z(R,8,this.length),n.read(this,R,!0,52,8)},y.prototype.readDoubleBE=function(R,O){return R=R>>>0,O||Z(R,8,this.length),n.read(this,R,!1,52,8)};function h(F,R,O,A,H,G){if(!y.isBuffer(F))throw new TypeError('"buffer" argument must be a Buffer instance');if(R>H||R<G)throw new RangeError('"value" argument is out of bounds');if(O+A>F.length)throw new RangeError("Index out of range")}y.prototype.writeUintLE=y.prototype.writeUIntLE=function(R,O,A,H){if(R=+R,O=O>>>0,A=A>>>0,!H){const Ct=Math.pow(2,8*A)-1;h(this,R,O,A,Ct,0)}let G=1,it=0;for(this[O]=R&255;++it<A&&(G*=256);)this[O+it]=R/G&255;return O+A},y.prototype.writeUintBE=y.prototype.writeUIntBE=function(R,O,A,H){if(R=+R,O=O>>>0,A=A>>>0,!H){const Ct=Math.pow(2,8*A)-1;h(this,R,O,A,Ct,0)}let G=A-1,it=1;for(this[O+G]=R&255;--G>=0&&(it*=256);)this[O+G]=R/it&255;return O+A},y.prototype.writeUint8=y.prototype.writeUInt8=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,1,255,0),this[O]=R&255,O+1},y.prototype.writeUint16LE=y.prototype.writeUInt16LE=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,2,65535,0),this[O]=R&255,this[O+1]=R>>>8,O+2},y.prototype.writeUint16BE=y.prototype.writeUInt16BE=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,2,65535,0),this[O]=R>>>8,this[O+1]=R&255,O+2},y.prototype.writeUint32LE=y.prototype.writeUInt32LE=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,4,4294967295,0),this[O+3]=R>>>24,this[O+2]=R>>>16,this[O+1]=R>>>8,this[O]=R&255,O+4},y.prototype.writeUint32BE=y.prototype.writeUInt32BE=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,4,4294967295,0),this[O]=R>>>24,this[O+1]=R>>>16,this[O+2]=R>>>8,this[O+3]=R&255,O+4};function _(F,R,O,A,H){ge(R,A,H,F,O,7);let G=Number(R&BigInt(4294967295));F[O++]=G,G=G>>8,F[O++]=G,G=G>>8,F[O++]=G,G=G>>8,F[O++]=G;let it=Number(R>>BigInt(32)&BigInt(4294967295));return F[O++]=it,it=it>>8,F[O++]=it,it=it>>8,F[O++]=it,it=it>>8,F[O++]=it,O}function j(F,R,O,A,H){ge(R,A,H,F,O,7);let G=Number(R&BigInt(4294967295));F[O+7]=G,G=G>>8,F[O+6]=G,G=G>>8,F[O+5]=G,G=G>>8,F[O+4]=G;let it=Number(R>>BigInt(32)&BigInt(4294967295));return F[O+3]=it,it=it>>8,F[O+2]=it,it=it>>8,F[O+1]=it,it=it>>8,F[O]=it,O+8}y.prototype.writeBigUInt64LE=zt(function(R,O=0){return _(this,R,O,BigInt(0),BigInt("0xffffffffffffffff"))}),y.prototype.writeBigUInt64BE=zt(function(R,O=0){return j(this,R,O,BigInt(0),BigInt("0xffffffffffffffff"))}),y.prototype.writeIntLE=function(R,O,A,H){if(R=+R,O=O>>>0,!H){const Bt=Math.pow(2,8*A-1);h(this,R,O,A,Bt-1,-Bt)}let G=0,it=1,Ct=0;for(this[O]=R&255;++G<A&&(it*=256);)R<0&&Ct===0&&this[O+G-1]!==0&&(Ct=1),this[O+G]=(R/it>>0)-Ct&255;return O+A},y.prototype.writeIntBE=function(R,O,A,H){if(R=+R,O=O>>>0,!H){const Bt=Math.pow(2,8*A-1);h(this,R,O,A,Bt-1,-Bt)}let G=A-1,it=1,Ct=0;for(this[O+G]=R&255;--G>=0&&(it*=256);)R<0&&Ct===0&&this[O+G+1]!==0&&(Ct=1),this[O+G]=(R/it>>0)-Ct&255;return O+A},y.prototype.writeInt8=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,1,127,-128),R<0&&(R=255+R+1),this[O]=R&255,O+1},y.prototype.writeInt16LE=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,2,32767,-32768),this[O]=R&255,this[O+1]=R>>>8,O+2},y.prototype.writeInt16BE=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,2,32767,-32768),this[O]=R>>>8,this[O+1]=R&255,O+2},y.prototype.writeInt32LE=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,4,2147483647,-2147483648),this[O]=R&255,this[O+1]=R>>>8,this[O+2]=R>>>16,this[O+3]=R>>>24,O+4},y.prototype.writeInt32BE=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,4,2147483647,-2147483648),R<0&&(R=4294967295+R+1),this[O]=R>>>24,this[O+1]=R>>>16,this[O+2]=R>>>8,this[O+3]=R&255,O+4},y.prototype.writeBigInt64LE=zt(function(R,O=0){return _(this,R,O,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),y.prototype.writeBigInt64BE=zt(function(R,O=0){return j(this,R,O,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function K(F,R,O,A,H,G){if(O+A>F.length)throw new RangeError("Index out of range");if(O<0)throw new RangeError("Index out of range")}function ht(F,R,O,A,H){return R=+R,O=O>>>0,H||K(F,R,O,4),n.write(F,R,O,A,23,4),O+4}y.prototype.writeFloatLE=function(R,O,A){return ht(this,R,O,!0,A)},y.prototype.writeFloatBE=function(R,O,A){return ht(this,R,O,!1,A)};function St(F,R,O,A,H){return R=+R,O=O>>>0,H||K(F,R,O,8),n.write(F,R,O,A,52,8),O+8}y.prototype.writeDoubleLE=function(R,O,A){return St(this,R,O,!0,A)},y.prototype.writeDoubleBE=function(R,O,A){return St(this,R,O,!1,A)},y.prototype.copy=function(R,O,A,H){if(!y.isBuffer(R))throw new TypeError("argument should be a Buffer");if(A||(A=0),!H&&H!==0&&(H=this.length),O>=R.length&&(O=R.length),O||(O=0),H>0&&H<A&&(H=A),H===A||R.length===0||this.length===0)return 0;if(O<0)throw new RangeError("targetStart out of bounds");if(A<0||A>=this.length)throw new RangeError("Index out of range");if(H<0)throw new RangeError("sourceEnd out of bounds");H>this.length&&(H=this.length),R.length-O<H-A&&(H=R.length-O+A);const G=H-A;return this===R&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(O,A,H):Uint8Array.prototype.set.call(R,this.subarray(A,H),O),G},y.prototype.fill=function(R,O,A,H){if(typeof R=="string"){if(typeof O=="string"?(H=O,O=0,A=this.length):typeof A=="string"&&(H=A,A=this.length),H!==void 0&&typeof H!="string")throw new TypeError("encoding must be a string");if(typeof H=="string"&&!y.isEncoding(H))throw new TypeError("Unknown encoding: "+H);if(R.length===1){const it=R.charCodeAt(0);(H==="utf8"&&it<128||H==="latin1")&&(R=it)}}else typeof R=="number"?R=R&255:typeof R=="boolean"&&(R=Number(R));if(O<0||this.length<O||this.length<A)throw new RangeError("Out of range index");if(A<=O)return this;O=O>>>0,A=A===void 0?this.length:A>>>0,R||(R=0);let G;if(typeof R=="number")for(G=O;G<A;++G)this[G]=R;else{const it=y.isBuffer(R)?R:y.from(R,H),Ct=it.length;if(Ct===0)throw new TypeError('The value "'+R+'" is invalid for argument "value"');for(G=0;G<A-O;++G)this[G+O]=it[G%Ct]}return this};const Ft={};function Zt(F,R,O){Ft[F]=class extends O{constructor(){super(),Object.defineProperty(this,"message",{value:R.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${F}]`,this.stack,delete this.name}get code(){return F}set code(H){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:H,writable:!0})}toString(){return`${this.name} [${F}]: ${this.message}`}}}Zt("ERR_BUFFER_OUT_OF_BOUNDS",function(F){return F?`${F} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Zt("ERR_INVALID_ARG_TYPE",function(F,R){return`The "${F}" argument must be of type number. Received type ${typeof R}`},TypeError),Zt("ERR_OUT_OF_RANGE",function(F,R,O){let A=`The value of "${F}" is out of range.`,H=O;return Number.isInteger(O)&&Math.abs(O)>2**32?H=de(String(O)):typeof O=="bigint"&&(H=String(O),(O>BigInt(2)**BigInt(32)||O<-(BigInt(2)**BigInt(32)))&&(H=de(H)),H+="n"),A+=` It must be ${R}. Received ${H}`,A},RangeError);function de(F){let R="",O=F.length;const A=F[0]==="-"?1:0;for(;O>=A+4;O-=3)R=`_${F.slice(O-3,O)}${R}`;return`${F.slice(0,O)}${R}`}function ye(F,R,O){Oe(R,"offset"),(F[R]===void 0||F[R+O]===void 0)&&be(R,F.length-(O+1))}function ge(F,R,O,A,H,G){if(F>O||F<R){const it=typeof R=="bigint"?"n":"";let Ct;throw R===0||R===BigInt(0)?Ct=`>= 0${it} and < 2${it} ** ${(G+1)*8}${it}`:Ct=`>= -(2${it} ** ${(G+1)*8-1}${it}) and < 2 ** ${(G+1)*8-1}${it}`,new Ft.ERR_OUT_OF_RANGE("value",Ct,F)}ye(A,H,G)}function Oe(F,R){if(typeof F!="number")throw new Ft.ERR_INVALID_ARG_TYPE(R,"number",F)}function be(F,R,O){throw Math.floor(F)!==F?(Oe(F,O),new Ft.ERR_OUT_OF_RANGE("offset","an integer",F)):R<0?new Ft.ERR_BUFFER_OUT_OF_BOUNDS:new Ft.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${R}`,F)}const Yt=/[^+/0-9A-Za-z-_]/g;function Ve(F){if(F=F.split("=")[0],F=F.trim().replace(Yt,""),F.length<2)return"";for(;F.length%4!==0;)F=F+"=";return F}function Te(F,R){R=R||1/0;let O;const A=F.length;let H=null;const G=[];for(let it=0;it<A;++it){if(O=F.charCodeAt(it),O>55295&&O<57344){if(!H){if(O>56319){(R-=3)>-1&&G.push(239,191,189);continue}else if(it+1===A){(R-=3)>-1&&G.push(239,191,189);continue}H=O;continue}if(O<56320){(R-=3)>-1&&G.push(239,191,189),H=O;continue}O=(H-55296<<10|O-56320)+65536}else H&&(R-=3)>-1&&G.push(239,191,189);if(H=null,O<128){if((R-=1)<0)break;G.push(O)}else if(O<2048){if((R-=2)<0)break;G.push(O>>6|192,O&63|128)}else if(O<65536){if((R-=3)<0)break;G.push(O>>12|224,O>>6&63|128,O&63|128)}else if(O<1114112){if((R-=4)<0)break;G.push(O>>18|240,O>>12&63|128,O>>6&63|128,O&63|128)}else throw new Error("Invalid code point")}return G}function g(F){const R=[];for(let O=0;O<F.length;++O)R.push(F.charCodeAt(O)&255);return R}function k(F,R){let O,A,H;const G=[];for(let it=0;it<F.length&&!((R-=2)<0);++it)O=F.charCodeAt(it),A=O>>8,H=O%256,G.push(H),G.push(A);return G}function V(F){return r.toByteArray(Ve(F))}function ct(F,R,O,A){let H;for(H=0;H<A&&!(H+O>=R.length||H>=F.length);++H)R[H+O]=F[H];return H}function yt(F,R){return F instanceof R||F!=null&&F.constructor!=null&&F.constructor.name!=null&&F.constructor.name===R.name}function Et(F){return F!==F}const Lt=(function(){const F="0123456789abcdef",R=new Array(256);for(let O=0;O<16;++O){const A=O*16;for(let H=0;H<16;++H)R[A+H]=F[O]+F[H]}return R})();function zt(F){return typeof BigInt>"u"?te:F}function te(){throw new Error("BigInt not supported")}})(ps)),ps}var Re=vs();const $r=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;function Ai(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function gs(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function Cr(t,...r){if(!Ai(t))throw new Error("Uint8Array expected");if(r.length>0&&!r.includes(t.length))throw new Error("Uint8Array expected of length "+r+", got length="+t.length)}function ru(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");gs(t.outputLen),gs(t.blockLen)}function lo(t,r=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(r&&t.finished)throw new Error("Hash#digest() has already been called")}function Xl(t,r){Cr(t);const n=r.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function Jr(...t){for(let r=0;r<t.length;r++)t[r].fill(0)}function ms(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function Kn(t,r){return t<<32-r|t>>>r}const iu=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",ql=Array.from({length:256},(t,r)=>r.toString(16).padStart(2,"0"));function Br(t){if(Cr(t),iu)return t.toHex();let r="";for(let n=0;n<t.length;n++)r+=ql[t[n]];return r}const rr={_0:48,_9:57,A:65,F:70,a:97,f:102};function ou(t){if(t>=rr._0&&t<=rr._9)return t-rr._0;if(t>=rr.A&&t<=rr.F)return t-(rr.A-10);if(t>=rr.a&&t<=rr.f)return t-(rr.a-10)}function ho(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);if(iu)return Uint8Array.fromHex(t);const r=t.length,n=r/2;if(r%2)throw new Error("hex string expected, got unpadded hex of length "+r);const e=new Uint8Array(n);for(let u=0,a=0;u<n;u++,a+=2){const d=ou(t.charCodeAt(a)),y=ou(t.charCodeAt(a+1));if(d===void 0||y===void 0){const l=t[a]+t[a+1];throw new Error('hex string expected, got non-hex character "'+l+'" at index '+a)}e[u]=d*16+y}return e}function $l(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function ys(t){return typeof t=="string"&&(t=$l(t)),Cr(t),t}function Xn(...t){let r=0;for(let e=0;e<t.length;e++){const u=t[e];Cr(u),r+=u.length}const n=new Uint8Array(r);for(let e=0,u=0;e<t.length;e++){const a=t[e];n.set(a,u),u+=a.length}return n}class su{}function au(t){const r=e=>t().update(ys(e)).digest(),n=t();return r.outputLen=n.outputLen,r.blockLen=n.blockLen,r.create=()=>t(),r}function ws(t=32){if($r&&typeof $r.getRandomValues=="function")return $r.getRandomValues(new Uint8Array(t));if($r&&typeof $r.randomBytes=="function")return Uint8Array.from($r.randomBytes(t));throw new Error("crypto.getRandomValues must be defined")}function Jl(t,r,n,e){if(typeof t.setBigUint64=="function")return t.setBigUint64(r,n,e);const u=BigInt(32),a=BigInt(4294967295),d=Number(n>>u&a),y=Number(n&a),l=e?4:0,b=e?0:4;t.setUint32(r+l,d,e),t.setUint32(r+b,y,e)}function Ql(t,r,n){return t&r^~t&n}function td(t,r,n){return t&r^t&n^r&n}class uu extends su{constructor(r,n,e,u){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=r,this.outputLen=n,this.padOffset=e,this.isLE=u,this.buffer=new Uint8Array(r),this.view=ms(this.buffer)}update(r){lo(this),r=ys(r),Cr(r);const{view:n,buffer:e,blockLen:u}=this,a=r.length;for(let d=0;d<a;){const y=Math.min(u-this.pos,a-d);if(y===u){const l=ms(r);for(;u<=a-d;d+=u)this.process(l,d);continue}e.set(r.subarray(d,d+y),this.pos),this.pos+=y,d+=y,this.pos===u&&(this.process(n,0),this.pos=0)}return this.length+=r.length,this.roundClean(),this}digestInto(r){lo(this),Xl(r,this),this.finished=!0;const{buffer:n,view:e,blockLen:u,isLE:a}=this;let{pos:d}=this;n[d++]=128,Jr(this.buffer.subarray(d)),this.padOffset>u-d&&(this.process(e,0),d=0);for(let L=d;L<u;L++)n[L]=0;Jl(e,u-8,BigInt(this.length*8),a),this.process(e,0);const y=ms(r),l=this.outputLen;if(l%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const b=l/4,N=this.get();if(b>N.length)throw new Error("_sha2: outputLen bigger than state");for(let L=0;L<b;L++)y.setUint32(4*L,N[L],a)}digest(){const{buffer:r,outputLen:n}=this;this.digestInto(r);const e=r.slice(0,n);return this.destroy(),e}_cloneInto(r){r||(r=new this.constructor),r.set(...this.get());const{blockLen:n,buffer:e,length:u,finished:a,destroyed:d,pos:y}=this;return r.destroyed=d,r.finished=a,r.length=u,r.pos=y,u%n&&r.buffer.set(e),r}clone(){return this._cloneInto()}}const vr=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),yn=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209]),po=BigInt(2**32-1),cu=BigInt(32);function ed(t,r=!1){return r?{h:Number(t&po),l:Number(t>>cu&po)}:{h:Number(t>>cu&po)|0,l:Number(t&po)|0}}function nd(t,r=!1){const n=t.length;let e=new Uint32Array(n),u=new Uint32Array(n);for(let a=0;a<n;a++){const{h:d,l:y}=ed(t[a],r);[e[a],u[a]]=[d,y]}return[e,u]}const fu=(t,r,n)=>t>>>n,lu=(t,r,n)=>t<<32-n|r>>>n,Qr=(t,r,n)=>t>>>n|r<<32-n,ti=(t,r,n)=>t<<32-n|r>>>n,vo=(t,r,n)=>t<<64-n|r>>>n-32,go=(t,r,n)=>t>>>n-32|r<<64-n;function ir(t,r,n,e){const u=(r>>>0)+(e>>>0);return{h:t+n+(u/2**32|0)|0,l:u|0}}const rd=(t,r,n)=>(t>>>0)+(r>>>0)+(n>>>0),id=(t,r,n,e)=>r+n+e+(t/2**32|0)|0,od=(t,r,n,e)=>(t>>>0)+(r>>>0)+(n>>>0)+(e>>>0),sd=(t,r,n,e,u)=>r+n+e+u+(t/2**32|0)|0,ad=(t,r,n,e,u)=>(t>>>0)+(r>>>0)+(n>>>0)+(e>>>0)+(u>>>0),ud=(t,r,n,e,u,a)=>r+n+e+u+a+(t/2**32|0)|0,cd=Uint32Array.from([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),gr=new Uint32Array(64);class fd extends uu{constructor(r=32){super(64,r,8,!1),this.A=vr[0]|0,this.B=vr[1]|0,this.C=vr[2]|0,this.D=vr[3]|0,this.E=vr[4]|0,this.F=vr[5]|0,this.G=vr[6]|0,this.H=vr[7]|0}get(){const{A:r,B:n,C:e,D:u,E:a,F:d,G:y,H:l}=this;return[r,n,e,u,a,d,y,l]}set(r,n,e,u,a,d,y,l){this.A=r|0,this.B=n|0,this.C=e|0,this.D=u|0,this.E=a|0,this.F=d|0,this.G=y|0,this.H=l|0}process(r,n){for(let L=0;L<16;L++,n+=4)gr[L]=r.getUint32(n,!1);for(let L=16;L<64;L++){const T=gr[L-15],x=gr[L-2],M=Kn(T,7)^Kn(T,18)^T>>>3,D=Kn(x,17)^Kn(x,19)^x>>>10;gr[L]=D+gr[L-7]+M+gr[L-16]|0}let{A:e,B:u,C:a,D:d,E:y,F:l,G:b,H:N}=this;for(let L=0;L<64;L++){const T=Kn(y,6)^Kn(y,11)^Kn(y,25),x=N+T+Ql(y,l,b)+cd[L]+gr[L]|0,D=(Kn(e,2)^Kn(e,13)^Kn(e,22))+td(e,u,a)|0;N=b,b=l,l=y,y=d+x|0,d=a,a=u,u=e,e=x+D|0}e=e+this.A|0,u=u+this.B|0,a=a+this.C|0,d=d+this.D|0,y=y+this.E|0,l=l+this.F|0,b=b+this.G|0,N=N+this.H|0,this.set(e,u,a,d,y,l,b,N)}roundClean(){Jr(gr)}destroy(){this.set(0,0,0,0,0,0,0,0),Jr(this.buffer)}}const du=nd(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(t=>BigInt(t))),ld=du[0],dd=du[1],mr=new Uint32Array(80),yr=new Uint32Array(80);class hd extends uu{constructor(r=64){super(128,r,16,!1),this.Ah=yn[0]|0,this.Al=yn[1]|0,this.Bh=yn[2]|0,this.Bl=yn[3]|0,this.Ch=yn[4]|0,this.Cl=yn[5]|0,this.Dh=yn[6]|0,this.Dl=yn[7]|0,this.Eh=yn[8]|0,this.El=yn[9]|0,this.Fh=yn[10]|0,this.Fl=yn[11]|0,this.Gh=yn[12]|0,this.Gl=yn[13]|0,this.Hh=yn[14]|0,this.Hl=yn[15]|0}get(){const{Ah:r,Al:n,Bh:e,Bl:u,Ch:a,Cl:d,Dh:y,Dl:l,Eh:b,El:N,Fh:L,Fl:T,Gh:x,Gl:M,Hh:D,Hl:Y}=this;return[r,n,e,u,a,d,y,l,b,N,L,T,x,M,D,Y]}set(r,n,e,u,a,d,y,l,b,N,L,T,x,M,D,Y){this.Ah=r|0,this.Al=n|0,this.Bh=e|0,this.Bl=u|0,this.Ch=a|0,this.Cl=d|0,this.Dh=y|0,this.Dl=l|0,this.Eh=b|0,this.El=N|0,this.Fh=L|0,this.Fl=T|0,this.Gh=x|0,this.Gl=M|0,this.Hh=D|0,this.Hl=Y|0}process(r,n){for(let q=0;q<16;q++,n+=4)mr[q]=r.getUint32(n),yr[q]=r.getUint32(n+=4);for(let q=16;q<80;q++){const ot=mr[q-15]|0,pt=yr[q-15]|0,ft=Qr(ot,pt,1)^Qr(ot,pt,8)^fu(ot,pt,7),Rt=ti(ot,pt,1)^ti(ot,pt,8)^lu(ot,pt,7),At=mr[q-2]|0,st=yr[q-2]|0,dt=Qr(At,st,19)^vo(At,st,61)^fu(At,st,6),mt=ti(At,st,19)^go(At,st,61)^lu(At,st,6),wt=od(Rt,mt,yr[q-7],yr[q-16]),P=sd(wt,ft,dt,mr[q-7],mr[q-16]);mr[q]=P|0,yr[q]=wt|0}let{Ah:e,Al:u,Bh:a,Bl:d,Ch:y,Cl:l,Dh:b,Dl:N,Eh:L,El:T,Fh:x,Fl:M,Gh:D,Gl:Y,Hh:z,Hl:J}=this;for(let q=0;q<80;q++){const ot=Qr(L,T,14)^Qr(L,T,18)^vo(L,T,41),pt=ti(L,T,14)^ti(L,T,18)^go(L,T,41),ft=L&x^~L&D,Rt=T&M^~T&Y,At=ad(J,pt,Rt,dd[q],yr[q]),st=ud(At,z,ot,ft,ld[q],mr[q]),dt=At|0,mt=Qr(e,u,28)^vo(e,u,34)^vo(e,u,39),wt=ti(e,u,28)^go(e,u,34)^go(e,u,39),P=e&a^e&y^a&y,f=u&d^u&l^d&l;z=D|0,J=Y|0,D=x|0,Y=M|0,x=L|0,M=T|0,{h:L,l:T}=ir(b|0,N|0,st|0,dt|0),b=y|0,N=l|0,y=a|0,l=d|0,a=e|0,d=u|0;const S=rd(dt,wt,f);e=id(S,st,mt,P),u=S|0}({h:e,l:u}=ir(this.Ah|0,this.Al|0,e|0,u|0)),{h:a,l:d}=ir(this.Bh|0,this.Bl|0,a|0,d|0),{h:y,l}=ir(this.Ch|0,this.Cl|0,y|0,l|0),{h:b,l:N}=ir(this.Dh|0,this.Dl|0,b|0,N|0),{h:L,l:T}=ir(this.Eh|0,this.El|0,L|0,T|0),{h:x,l:M}=ir(this.Fh|0,this.Fl|0,x|0,M|0),{h:D,l:Y}=ir(this.Gh|0,this.Gl|0,D|0,Y|0),{h:z,l:J}=ir(this.Hh|0,this.Hl|0,z|0,J|0),this.set(e,u,a,d,y,l,b,N,L,T,x,M,D,Y,z,J)}roundClean(){Jr(mr,yr)}destroy(){Jr(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const hu=au(()=>new fd),pd=au(()=>new hd);const Es=BigInt(0),bs=BigInt(1);function Mr(t,r=""){if(typeof t!="boolean"){const n=r&&`"${r}"`;throw new Error(n+"expected boolean, got type="+typeof t)}return t}function Vn(t,r,n=""){const e=Ai(t),u=t?.length,a=r!==void 0;if(!e||a&&u!==r){const d=n&&`"${n}" `,y=a?` of length ${r}`:"",l=e?`length=${u}`:`type=${typeof t}`;throw new Error(d+"expected Uint8Array"+y+", got "+l)}return t}function mo(t){const r=t.toString(16);return r.length&1?"0"+r:r}function pu(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?Es:BigInt("0x"+t)}function yo(t){return pu(Br(t))}function Si(t){return Cr(t),pu(Br(Uint8Array.from(t).reverse()))}function _s(t,r){return ho(t.toString(16).padStart(r*2,"0"))}function vu(t,r){return _s(t,r).reverse()}function Ze(t,r,n){let e;if(typeof r=="string")try{e=ho(r)}catch(a){throw new Error(t+" must be hex string or Uint8Array, cause: "+a)}else if(Ai(r))e=Uint8Array.from(r);else throw new Error(t+" must be hex string or Uint8Array");const u=e.length;if(typeof n=="number"&&u!==n)throw new Error(t+" of length "+n+" expected, got "+u);return e}function gu(t){return Uint8Array.from(t)}const Rs=t=>typeof t=="bigint"&&Es<=t;function vd(t,r,n){return Rs(t)&&Rs(r)&&Rs(n)&&r<=t&&t<n}function As(t,r,n,e){if(!vd(r,n,e))throw new Error("expected valid "+t+": "+n+" <= n < "+e+", got "+r)}function mu(t){let r;for(r=0;t>Es;t>>=bs,r+=1);return r}const Ii=t=>(bs<<BigInt(t))-bs;function gd(t,r,n){if(typeof t!="number"||t<2)throw new Error("hashLen must be a number");if(typeof r!="number"||r<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");const e=x=>new Uint8Array(x),u=x=>Uint8Array.of(x);let a=e(t),d=e(t),y=0;const l=()=>{a.fill(1),d.fill(0),y=0},b=(...x)=>n(d,a,...x),N=(x=e(0))=>{d=b(u(0),x),a=b(),x.length!==0&&(d=b(u(1),x),a=b())},L=()=>{if(y++>=1e3)throw new Error("drbg: tried 1000 values");let x=0;const M=[];for(;x<r;){a=b();const D=a.slice();M.push(D),x+=a.length}return Xn(...M)};return(x,M)=>{l(),N(x);let D;for(;!(D=M(L()));)N();return l(),D}}function Oi(t,r,n={}){if(!t||typeof t!="object")throw new Error("expected valid options object");function e(u,a,d){const y=t[u];if(d&&y===void 0)return;const l=typeof y;if(l!==a||y===null)throw new Error(`param "${u}" is invalid: expected ${a}, got ${l}`)}Object.entries(r).forEach(([u,a])=>e(u,a,!1)),Object.entries(n).forEach(([u,a])=>e(u,a,!0))}function wo(t){const r=new WeakMap;return(n,...e)=>{const u=r.get(n);if(u!==void 0)return u;const a=t(n,...e);return r.set(n,a),a}}const Tn=BigInt(0),vn=BigInt(1),kr=BigInt(2),yu=BigInt(3),wu=BigInt(4),Eu=BigInt(5),md=BigInt(7),bu=BigInt(8),yd=BigInt(9),_u=BigInt(16);function sn(t,r){const n=t%r;return n>=Tn?n:r+n}function Ke(t,r,n){let e=t;for(;r-- >Tn;)e*=e,e%=n;return e}function Ru(t,r){if(t===Tn)throw new Error("invert: expected non-zero number");if(r<=Tn)throw new Error("invert: expected positive modulus, got "+r);let n=sn(t,r),e=r,u=Tn,a=vn;for(;n!==Tn;){const y=e/n,l=e%n,b=u-a*y;e=n,n=l,u=a,a=b}if(e!==vn)throw new Error("invert: does not exist");return sn(u,r)}function Ss(t,r,n){if(!t.eql(t.sqr(r),n))throw new Error("Cannot find square root")}function Au(t,r){const n=(t.ORDER+vn)/wu,e=t.pow(r,n);return Ss(t,e,r),e}function wd(t,r){const n=(t.ORDER-Eu)/bu,e=t.mul(r,kr),u=t.pow(e,n),a=t.mul(r,u),d=t.mul(t.mul(a,kr),u),y=t.mul(a,t.sub(d,t.ONE));return Ss(t,y,r),y}function Ed(t){const r=Ur(t),n=Su(t),e=n(r,r.neg(r.ONE)),u=n(r,e),a=n(r,r.neg(e)),d=(t+md)/_u;return(y,l)=>{let b=y.pow(l,d),N=y.mul(b,e);const L=y.mul(b,u),T=y.mul(b,a),x=y.eql(y.sqr(N),l),M=y.eql(y.sqr(L),l);b=y.cmov(b,N,x),N=y.cmov(T,L,M);const D=y.eql(y.sqr(N),l),Y=y.cmov(b,N,D);return Ss(y,Y,l),Y}}function Su(t){if(t<yu)throw new Error("sqrt is not defined for small field");let r=t-vn,n=0;for(;r%kr===Tn;)r/=kr,n++;let e=kr;const u=Ur(t);for(;Ou(u,e)===1;)if(e++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(n===1)return Au;let a=u.pow(e,r);const d=(r+vn)/kr;return function(l,b){if(l.is0(b))return b;if(Ou(l,b)!==1)throw new Error("Cannot find square root");let N=n,L=l.mul(l.ONE,a),T=l.pow(b,r),x=l.pow(b,d);for(;!l.eql(T,l.ONE);){if(l.is0(T))return l.ZERO;let M=1,D=l.sqr(T);for(;!l.eql(D,l.ONE);)if(M++,D=l.sqr(D),M===N)throw new Error("Cannot find square root");const Y=vn<<BigInt(N-M-1),z=l.pow(L,Y);N=M,L=l.sqr(z),T=l.mul(T,L),x=l.mul(x,z)}return x}}function bd(t){return t%wu===yu?Au:t%bu===Eu?wd:t%_u===yd?Ed(t):Su(t)}const _d=(t,r)=>(sn(t,r)&vn)===vn,Rd=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Ad(t){const r={ORDER:"bigint",MASK:"bigint",BYTES:"number",BITS:"number"},n=Rd.reduce((e,u)=>(e[u]="function",e),r);return Oi(t,n),t}function Sd(t,r,n){if(n<Tn)throw new Error("invalid exponent, negatives unsupported");if(n===Tn)return t.ONE;if(n===vn)return r;let e=t.ONE,u=r;for(;n>Tn;)n&vn&&(e=t.mul(e,u)),u=t.sqr(u),n>>=vn;return e}function Iu(t,r,n=!1){const e=new Array(r.length).fill(n?t.ZERO:void 0),u=r.reduce((d,y,l)=>t.is0(y)?d:(e[l]=d,t.mul(d,y)),t.ONE),a=t.inv(u);return r.reduceRight((d,y,l)=>t.is0(y)?d:(e[l]=t.mul(d,e[l]),t.mul(d,y)),a),e}function Ou(t,r){const n=(t.ORDER-vn)/kr,e=t.pow(r,n),u=t.eql(e,t.ONE),a=t.eql(e,t.ZERO),d=t.eql(e,t.neg(t.ONE));if(!u&&!a&&!d)throw new Error("invalid Legendre symbol result");return u?1:a?0:-1}function Nu(t,r){r!==void 0&&gs(r);const n=r!==void 0?r:t.toString(2).length,e=Math.ceil(n/8);return{nBitLength:n,nByteLength:e}}function Ur(t,r,n=!1,e={}){if(t<=Tn)throw new Error("invalid field: expected ORDER > 0, got "+t);let u,a,d=!1,y;if(typeof r=="object"&&r!=null){if(e.sqrt||n)throw new Error("cannot specify opts in two arguments");const T=r;T.BITS&&(u=T.BITS),T.sqrt&&(a=T.sqrt),typeof T.isLE=="boolean"&&(n=T.isLE),typeof T.modFromBytes=="boolean"&&(d=T.modFromBytes),y=T.allowedLengths}else typeof r=="number"&&(u=r),e.sqrt&&(a=e.sqrt);const{nBitLength:l,nByteLength:b}=Nu(t,u);if(b>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let N;const L=Object.freeze({ORDER:t,isLE:n,BITS:l,BYTES:b,MASK:Ii(l),ZERO:Tn,ONE:vn,allowedLengths:y,create:T=>sn(T,t),isValid:T=>{if(typeof T!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof T);return Tn<=T&&T<t},is0:T=>T===Tn,isValidNot0:T=>!L.is0(T)&&L.isValid(T),isOdd:T=>(T&vn)===vn,neg:T=>sn(-T,t),eql:(T,x)=>T===x,sqr:T=>sn(T*T,t),add:(T,x)=>sn(T+x,t),sub:(T,x)=>sn(T-x,t),mul:(T,x)=>sn(T*x,t),pow:(T,x)=>Sd(L,T,x),div:(T,x)=>sn(T*Ru(x,t),t),sqrN:T=>T*T,addN:(T,x)=>T+x,subN:(T,x)=>T-x,mulN:(T,x)=>T*x,inv:T=>Ru(T,t),sqrt:a||(T=>(N||(N=bd(t)),N(L,T))),toBytes:T=>n?vu(T,b):_s(T,b),fromBytes:(T,x=!0)=>{if(y){if(!y.includes(T.length)||T.length>b)throw new Error("Field.fromBytes: expected "+y+" bytes, got "+T.length);const D=new Uint8Array(b);D.set(T,n?0:D.length-T.length),T=D}if(T.length!==b)throw new Error("Field.fromBytes: expected "+b+" bytes, got "+T.length);let M=n?Si(T):yo(T);if(d&&(M=sn(M,t)),!x&&!L.isValid(M))throw new Error("invalid field element: outside of range 0..ORDER");return M},invertBatch:T=>Iu(L,T),cmov:(T,x,M)=>M?x:T});return Object.freeze(L)}function Tu(t){if(typeof t!="bigint")throw new Error("field order must be bigint");const r=t.toString(2).length;return Math.ceil(r/8)}function xu(t){const r=Tu(t);return r+Math.ceil(r/2)}function Id(t,r,n=!1){const e=t.length,u=Tu(r),a=xu(r);if(e<16||e<a||e>1024)throw new Error("expected "+a+"-1024 bytes of input, got "+e);const d=n?Si(t):yo(t),y=sn(d,r-vn)+vn;return n?vu(y,u):_s(y,u)}const ei=BigInt(0),Dr=BigInt(1);function Eo(t,r){const n=r.negate();return t?n:r}function Pr(t,r){const n=Iu(t.Fp,r.map(e=>e.Z));return r.map((e,u)=>t.fromAffine(e.toAffine(n[u])))}function Lu(t,r){if(!Number.isSafeInteger(t)||t<=0||t>r)throw new Error("invalid window size, expected [1.."+r+"], got W="+t)}function Is(t,r){Lu(t,r);const n=Math.ceil(r/t)+1,e=2**(t-1),u=2**t,a=Ii(t),d=BigInt(t);return{windows:n,windowSize:e,mask:a,maxNumber:u,shiftBy:d}}function Cu(t,r,n){const{windowSize:e,mask:u,maxNumber:a,shiftBy:d}=n;let y=Number(t&u),l=t>>d;y>e&&(y-=a,l+=Dr);const b=r*e,N=b+Math.abs(y)-1,L=y===0,T=y<0,x=r%2!==0;return{nextN:l,offset:N,isZero:L,isNeg:T,isNegF:x,offsetF:b}}function Od(t,r){if(!Array.isArray(t))throw new Error("array expected");t.forEach((n,e)=>{if(!(n instanceof r))throw new Error("invalid point at index "+e)})}function Nd(t,r){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((n,e)=>{if(!r.isValid(n))throw new Error("invalid scalar at index "+e)})}const Os=new WeakMap,Bu=new WeakMap;function Ns(t){return Bu.get(t)||1}function Mu(t){if(t!==ei)throw new Error("invalid wNAF")}class ku{constructor(r,n){this.BASE=r.BASE,this.ZERO=r.ZERO,this.Fn=r.Fn,this.bits=n}_unsafeLadder(r,n,e=this.ZERO){let u=r;for(;n>ei;)n&Dr&&(e=e.add(u)),u=u.double(),n>>=Dr;return e}precomputeWindow(r,n){const{windows:e,windowSize:u}=Is(n,this.bits),a=[];let d=r,y=d;for(let l=0;l<e;l++){y=d,a.push(y);for(let b=1;b<u;b++)y=y.add(d),a.push(y);d=y.double()}return a}wNAF(r,n,e){if(!this.Fn.isValid(e))throw new Error("invalid scalar");let u=this.ZERO,a=this.BASE;const d=Is(r,this.bits);for(let y=0;y<d.windows;y++){const{nextN:l,offset:b,isZero:N,isNeg:L,isNegF:T,offsetF:x}=Cu(e,y,d);e=l,N?a=a.add(Eo(T,n[x])):u=u.add(Eo(L,n[b]))}return Mu(e),{p:u,f:a}}wNAFUnsafe(r,n,e,u=this.ZERO){const a=Is(r,this.bits);for(let d=0;d<a.windows&&e!==ei;d++){const{nextN:y,offset:l,isZero:b,isNeg:N}=Cu(e,d,a);if(e=y,!b){const L=n[l];u=u.add(N?L.negate():L)}}return Mu(e),u}getPrecomputes(r,n,e){let u=Os.get(n);return u||(u=this.precomputeWindow(n,r),r!==1&&(typeof e=="function"&&(u=e(u)),Os.set(n,u))),u}cached(r,n,e){const u=Ns(r);return this.wNAF(u,this.getPrecomputes(u,r,e),n)}unsafe(r,n,e,u){const a=Ns(r);return a===1?this._unsafeLadder(r,n,u):this.wNAFUnsafe(a,this.getPrecomputes(a,r,e),n,u)}createCache(r,n){Lu(n,this.bits),Bu.set(r,n),Os.delete(r)}hasCache(r){return Ns(r)!==1}}function Td(t,r,n,e){let u=r,a=t.ZERO,d=t.ZERO;for(;n>ei||e>ei;)n&Dr&&(a=a.add(u)),e&Dr&&(d=d.add(u)),u=u.double(),n>>=Dr,e>>=Dr;return{p1:a,p2:d}}function Uu(t,r,n,e){Od(n,t),Nd(e,r);const u=n.length,a=e.length;if(u!==a)throw new Error("arrays of points and scalars must have equal length");const d=t.ZERO,y=mu(BigInt(u));let l=1;y>12?l=y-3:y>4?l=y-2:y>0&&(l=2);const b=Ii(l),N=new Array(Number(b)+1).fill(d),L=Math.floor((r.BITS-1)/l)*l;let T=d;for(let x=L;x>=0;x-=l){N.fill(d);for(let D=0;D<a;D++){const Y=e[D],z=Number(Y>>BigInt(x)&b);N[z]=N[z].add(n[D])}let M=d;for(let D=N.length-1,Y=d;D>0;D--)Y=Y.add(N[D]),M=M.add(Y);if(T=T.add(M),x!==0)for(let D=0;D<l;D++)T=T.double()}return T}function Du(t,r,n){if(r){if(r.ORDER!==t)throw new Error("Field.ORDER must match order: Fp == p, Fn == n");return Ad(r),r}else return Ur(t,{isLE:n})}function Pu(t,r,n={},e){if(e===void 0&&(e=t==="edwards"),!r||typeof r!="object")throw new Error(`expected valid ${t} CURVE object`);for(const l of["p","n","h"]){const b=r[l];if(!(typeof b=="bigint"&&b>ei))throw new Error(`CURVE.${l} must be positive bigint`)}const u=Du(r.p,n.Fp,e),a=Du(r.n,n.Fn,e),y=["Gx","Gy","a",t==="weierstrass"?"b":"d"];for(const l of y)if(!u.isValid(r[l]))throw new Error(`CURVE.${l} must be valid field element of CURVE.Fp`);return r=Object.freeze(Object.assign({},r)),{CURVE:r,Fp:u,Fn:a}}const wr=BigInt(0),ln=BigInt(1),Ts=BigInt(2),xd=BigInt(8);function Ld(t,r,n,e){const u=t.sqr(n),a=t.sqr(e),d=t.add(t.mul(r.a,u),a),y=t.add(t.ONE,t.mul(r.d,t.mul(u,a)));return t.eql(d,y)}function Cd(t,r={}){const n=Pu("edwards",t,r,r.FpFnLE),{Fp:e,Fn:u}=n;let a=n.CURVE;const{h:d}=a;Oi(r,{},{uvRatio:"function"});const y=Ts<<BigInt(u.BYTES*8)-ln,l=Y=>e.create(Y),b=r.uvRatio||((Y,z)=>{try{return{isValid:!0,value:e.sqrt(e.div(Y,z))}}catch{return{isValid:!1,value:wr}}});if(!Ld(e,a,a.Gx,a.Gy))throw new Error("bad curve params: generator point");function N(Y,z,J=!1){const q=J?ln:wr;return As("coordinate "+Y,z,q,y),z}function L(Y){if(!(Y instanceof M))throw new Error("ExtendedPoint expected")}const T=wo((Y,z)=>{const{X:J,Y:q,Z:ot}=Y,pt=Y.is0();z==null&&(z=pt?xd:e.inv(ot));const ft=l(J*z),Rt=l(q*z),At=e.mul(ot,z);if(pt)return{x:wr,y:ln};if(At!==ln)throw new Error("invZ was invalid");return{x:ft,y:Rt}}),x=wo(Y=>{const{a:z,d:J}=a;if(Y.is0())throw new Error("bad point: ZERO");const{X:q,Y:ot,Z:pt,T:ft}=Y,Rt=l(q*q),At=l(ot*ot),st=l(pt*pt),dt=l(st*st),mt=l(Rt*z),wt=l(st*l(mt+At)),P=l(dt+l(J*l(Rt*At)));if(wt!==P)throw new Error("bad point: equation left != right (1)");const f=l(q*ot),S=l(pt*ft);if(f!==S)throw new Error("bad point: equation left != right (2)");return!0});class M{constructor(z,J,q,ot){this.X=N("x",z),this.Y=N("y",J),this.Z=N("z",q,!0),this.T=N("t",ot),Object.freeze(this)}static CURVE(){return a}static fromAffine(z){if(z instanceof M)throw new Error("extended point not allowed");const{x:J,y:q}=z||{};return N("x",J),N("y",q),new M(J,q,ln,l(J*q))}static fromBytes(z,J=!1){const q=e.BYTES,{a:ot,d:pt}=a;z=gu(Vn(z,q,"point")),Mr(J,"zip215");const ft=gu(z),Rt=z[q-1];ft[q-1]=Rt&-129;const At=Si(ft),st=J?y:e.ORDER;As("point.y",At,wr,st);const dt=l(At*At),mt=l(dt-ln),wt=l(pt*dt-ot);let{isValid:P,value:f}=b(mt,wt);if(!P)throw new Error("bad point: invalid y coordinate");const S=(f&ln)===ln,U=(Rt&128)!==0;if(!J&&f===wr&&U)throw new Error("bad point: x=0 and x_0=1");return U!==S&&(f=l(-f)),M.fromAffine({x:f,y:At})}static fromHex(z,J=!1){return M.fromBytes(Ze("point",z),J)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(z=8,J=!0){return D.createCache(this,z),J||this.multiply(Ts),this}assertValidity(){x(this)}equals(z){L(z);const{X:J,Y:q,Z:ot}=this,{X:pt,Y:ft,Z:Rt}=z,At=l(J*Rt),st=l(pt*ot),dt=l(q*Rt),mt=l(ft*ot);return At===st&&dt===mt}is0(){return this.equals(M.ZERO)}negate(){return new M(l(-this.X),this.Y,this.Z,l(-this.T))}double(){const{a:z}=a,{X:J,Y:q,Z:ot}=this,pt=l(J*J),ft=l(q*q),Rt=l(Ts*l(ot*ot)),At=l(z*pt),st=J+q,dt=l(l(st*st)-pt-ft),mt=At+ft,wt=mt-Rt,P=At-ft,f=l(dt*wt),S=l(mt*P),U=l(dt*P),W=l(wt*mt);return new M(f,S,W,U)}add(z){L(z);const{a:J,d:q}=a,{X:ot,Y:pt,Z:ft,T:Rt}=this,{X:At,Y:st,Z:dt,T:mt}=z,wt=l(ot*At),P=l(pt*st),f=l(Rt*q*mt),S=l(ft*dt),U=l((ot+pt)*(At+st)-wt-P),W=S-f,$=S+f,et=l(P-J*wt),ut=l(U*W),Z=l($*et),h=l(U*et),_=l(W*$);return new M(ut,Z,_,h)}subtract(z){return this.add(z.negate())}multiply(z){if(!u.isValidNot0(z))throw new Error("invalid scalar: expected 1 <= sc < curve.n");const{p:J,f:q}=D.cached(this,z,ot=>Pr(M,ot));return Pr(M,[J,q])[0]}multiplyUnsafe(z,J=M.ZERO){if(!u.isValid(z))throw new Error("invalid scalar: expected 0 <= sc < curve.n");return z===wr?M.ZERO:this.is0()||z===ln?this:D.unsafe(this,z,q=>Pr(M,q),J)}isSmallOrder(){return this.multiplyUnsafe(d).is0()}isTorsionFree(){return D.unsafe(this,a.n).is0()}toAffine(z){return T(this,z)}clearCofactor(){return d===ln?this:this.multiplyUnsafe(d)}toBytes(){const{x:z,y:J}=this.toAffine(),q=e.toBytes(J);return q[q.length-1]|=z&ln?128:0,q}toHex(){return Br(this.toBytes())}toString(){return`<Point ${this.is0()?"ZERO":this.toHex()}>`}get ex(){return this.X}get ey(){return this.Y}get ez(){return this.Z}get et(){return this.T}static normalizeZ(z){return Pr(M,z)}static msm(z,J){return Uu(M,u,z,J)}_setWindowSize(z){this.precompute(z)}toRawBytes(){return this.toBytes()}}M.BASE=new M(a.Gx,a.Gy,ln,l(a.Gx*a.Gy)),M.ZERO=new M(wr,ln,ln,wr),M.Fp=e,M.Fn=u;const D=new ku(M,u.BITS);return M.BASE.precompute(8),M}function Bd(t,r,n={}){if(typeof r!="function")throw new Error('"hash" function param is required');Oi(n,{},{adjustScalarBytes:"function",randomBytes:"function",domain:"function",prehash:"function",mapToCurve:"function"});const{prehash:e}=n,{BASE:u,Fp:a,Fn:d}=t,y=n.randomBytes||ws,l=n.adjustScalarBytes||(st=>st),b=n.domain||((st,dt,mt)=>{if(Mr(mt,"phflag"),dt.length||mt)throw new Error("Contexts/pre-hash are not supported");return st});function N(st){return d.create(Si(st))}function L(st){const dt=q.secretKey;st=Ze("private key",st,dt);const mt=Ze("hashed private key",r(st),2*dt),wt=l(mt.slice(0,dt)),P=mt.slice(dt,2*dt),f=N(wt);return{head:wt,prefix:P,scalar:f}}function T(st){const{head:dt,prefix:mt,scalar:wt}=L(st),P=u.multiply(wt),f=P.toBytes();return{head:dt,prefix:mt,scalar:wt,point:P,pointBytes:f}}function x(st){return T(st).pointBytes}function M(st=Uint8Array.of(),...dt){const mt=Xn(...dt);return N(r(b(mt,Ze("context",st),!!e)))}function D(st,dt,mt={}){st=Ze("message",st),e&&(st=e(st));const{prefix:wt,scalar:P,pointBytes:f}=T(dt),S=M(mt.context,wt,st),U=u.multiply(S).toBytes(),W=M(mt.context,U,f,st),$=d.create(S+W*P);if(!d.isValid($))throw new Error("sign failed: invalid s");const et=Xn(U,d.toBytes($));return Vn(et,q.signature,"result")}const Y={zip215:!0};function z(st,dt,mt,wt=Y){const{context:P,zip215:f}=wt,S=q.signature;st=Ze("signature",st,S),dt=Ze("message",dt),mt=Ze("publicKey",mt,q.publicKey),f!==void 0&&Mr(f,"zip215"),e&&(dt=e(dt));const U=S/2,W=st.subarray(0,U),$=Si(st.subarray(U,S));let et,ut,Z;try{et=t.fromBytes(mt,f),ut=t.fromBytes(W,f),Z=u.multiplyUnsafe($)}catch{return!1}if(!f&&et.isSmallOrder())return!1;const h=M(P,ut.toBytes(),et.toBytes(),dt);return ut.add(et.multiplyUnsafe(h)).subtract(Z).clearCofactor().is0()}const J=a.BYTES,q={secretKey:J,publicKey:J,signature:2*J,seed:J};function ot(st=y(q.seed)){return Vn(st,q.seed,"seed")}function pt(st){const dt=At.randomSecretKey(st);return{secretKey:dt,publicKey:x(dt)}}function ft(st){return Ai(st)&&st.length===d.BYTES}function Rt(st,dt){try{return!!t.fromBytes(st,dt)}catch{return!1}}const At={getExtendedPublicKey:T,randomSecretKey:ot,isValidSecretKey:ft,isValidPublicKey:Rt,toMontgomery(st){const{y:dt}=t.fromBytes(st),mt=q.publicKey,wt=mt===32;if(!wt&&mt!==57)throw new Error("only defined for 25519 and 448");const P=wt?a.div(ln+dt,ln-dt):a.div(dt-ln,dt+ln);return a.toBytes(P)},toMontgomerySecret(st){const dt=q.secretKey;Vn(st,dt);const mt=r(st.subarray(0,dt));return l(mt).subarray(0,dt)},randomPrivateKey:ot,precompute(st=8,dt=t.BASE){return dt.precompute(st,!1)}};return Object.freeze({keygen:pt,getPublicKey:x,sign:D,verify:z,utils:At,Point:t,lengths:q})}function Md(t){const r={a:t.a,d:t.d,p:t.Fp.ORDER,n:t.n,h:t.h,Gx:t.Gx,Gy:t.Gy},n=t.Fp,e=Ur(r.n,t.nBitLength,!0),u={Fp:n,Fn:e,uvRatio:t.uvRatio},a={randomBytes:t.randomBytes,adjustScalarBytes:t.adjustScalarBytes,domain:t.domain,prehash:t.prehash,mapToCurve:t.mapToCurve};return{CURVE:r,curveOpts:u,hash:t.hash,eddsaOpts:a}}function kd(t,r){const n=r.Point;return Object.assign({},r,{ExtendedPoint:n,CURVE:t,nBitLength:n.Fn.BITS,nByteLength:n.Fn.BYTES})}function Ud(t){const{CURVE:r,curveOpts:n,hash:e,eddsaOpts:u}=Md(t),a=Cd(r,n),d=Bd(a,e,u);return kd(t,d)}const Dd=BigInt(1),Fu=BigInt(2);BigInt(3);const Pd=BigInt(5),Fd=BigInt(8),xs=BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed"),Vu={p:xs,n:BigInt("0x1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed"),h:Fd,a:BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec"),d:BigInt("0x52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3"),Gx:BigInt("0x216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a"),Gy:BigInt("0x6666666666666666666666666666666666666666666666666666666666666658")};function Vd(t){const r=BigInt(10),n=BigInt(20),e=BigInt(40),u=BigInt(80),a=xs,y=t*t%a*t%a,l=Ke(y,Fu,a)*y%a,b=Ke(l,Dd,a)*t%a,N=Ke(b,Pd,a)*b%a,L=Ke(N,r,a)*N%a,T=Ke(L,n,a)*L%a,x=Ke(T,e,a)*T%a,M=Ke(x,u,a)*x%a,D=Ke(M,u,a)*x%a,Y=Ke(D,r,a)*N%a;return{pow_p_5_8:Ke(Y,Fu,a)*t%a,b2:y}}function Hd(t){return t[0]&=248,t[31]&=127,t[31]|=64,t}const Hu=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752");function Gd(t,r){const n=xs,e=sn(r*r*r,n),u=sn(e*e*r,n),a=Vd(t*u).pow_p_5_8;let d=sn(t*e*a,n);const y=sn(r*d*d,n),l=d,b=sn(d*Hu,n),N=y===t,L=y===sn(-t,n),T=y===sn(-t*Hu,n);return N&&(d=l),(L||T)&&(d=b),_d(d,n)&&(d=sn(-d,n)),{isValid:N||L,value:d}}const jd=Ur(Vu.p,{isLE:!0}),Yd={...Vu,Fp:jd,hash:pd,adjustScalarBytes:Hd,uvRatio:Gd},Ni=Ud(Yd);var bo={exports:{}};const zd=hs(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Wd=bo.exports,Gu;function ju(){return Gu||(Gu=1,(function(t){(function(r,n){function e(P,f){if(!P)throw new Error(f||"Assertion failed")}function u(P,f){P.super_=f;var S=function(){};S.prototype=f.prototype,P.prototype=new S,P.prototype.constructor=P}function a(P,f,S){if(a.isBN(P))return P;this.negative=0,this.words=null,this.length=0,this.red=null,P!==null&&((f==="le"||f==="be")&&(S=f,f=10),this._init(P||0,f||10,S||"be"))}typeof r=="object"?r.exports=a:n.BN=a,a.BN=a,a.wordSize=26;var d;try{typeof window<"u"&&typeof window.Buffer<"u"?d=window.Buffer:d=zd.Buffer}catch{}a.isBN=function(f){return f instanceof a?!0:f!==null&&typeof f=="object"&&f.constructor.wordSize===a.wordSize&&Array.isArray(f.words)},a.max=function(f,S){return f.cmp(S)>0?f:S},a.min=function(f,S){return f.cmp(S)<0?f:S},a.prototype._init=function(f,S,U){if(typeof f=="number")return this._initNumber(f,S,U);if(typeof f=="object")return this._initArray(f,S,U);S==="hex"&&(S=16),e(S===(S|0)&&S>=2&&S<=36),f=f.toString().replace(/\s+/g,"");var W=0;f[0]==="-"&&(W++,this.negative=1),W<f.length&&(S===16?this._parseHex(f,W,U):(this._parseBase(f,S,W),U==="le"&&this._initArray(this.toArray(),S,U)))},a.prototype._initNumber=function(f,S,U){f<0&&(this.negative=1,f=-f),f<67108864?(this.words=[f&67108863],this.length=1):f<4503599627370496?(this.words=[f&67108863,f/67108864&67108863],this.length=2):(e(f<9007199254740992),this.words=[f&67108863,f/67108864&67108863,1],this.length=3),U==="le"&&this._initArray(this.toArray(),S,U)},a.prototype._initArray=function(f,S,U){if(e(typeof f.length=="number"),f.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(f.length/3),this.words=new Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var $,et,ut=0;if(U==="be")for(W=f.length-1,$=0;W>=0;W-=3)et=f[W]|f[W-1]<<8|f[W-2]<<16,this.words[$]|=et<<ut&67108863,this.words[$+1]=et>>>26-ut&67108863,ut+=24,ut>=26&&(ut-=26,$++);else if(U==="le")for(W=0,$=0;W<f.length;W+=3)et=f[W]|f[W+1]<<8|f[W+2]<<16,this.words[$]|=et<<ut&67108863,this.words[$+1]=et>>>26-ut&67108863,ut+=24,ut>=26&&(ut-=26,$++);return this._strip()};function y(P,f){var S=P.charCodeAt(f);if(S>=48&&S<=57)return S-48;if(S>=65&&S<=70)return S-55;if(S>=97&&S<=102)return S-87;e(!1,"Invalid character in "+P)}function l(P,f,S){var U=y(P,S);return S-1>=f&&(U|=y(P,S-1)<<4),U}a.prototype._parseHex=function(f,S,U){this.length=Math.ceil((f.length-S)/6),this.words=new Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var $=0,et=0,ut;if(U==="be")for(W=f.length-1;W>=S;W-=2)ut=l(f,S,W)<<$,this.words[et]|=ut&67108863,$>=18?($-=18,et+=1,this.words[et]|=ut>>>26):$+=8;else{var Z=f.length-S;for(W=Z%2===0?S+1:S;W<f.length;W+=2)ut=l(f,S,W)<<$,this.words[et]|=ut&67108863,$>=18?($-=18,et+=1,this.words[et]|=ut>>>26):$+=8}this._strip()};function b(P,f,S,U){for(var W=0,$=0,et=Math.min(P.length,S),ut=f;ut<et;ut++){var Z=P.charCodeAt(ut)-48;W*=U,Z>=49?$=Z-49+10:Z>=17?$=Z-17+10:$=Z,e(Z>=0&&$<U,"Invalid character"),W+=$}return W}a.prototype._parseBase=function(f,S,U){this.words=[0],this.length=1;for(var W=0,$=1;$<=67108863;$*=S)W++;W--,$=$/S|0;for(var et=f.length-U,ut=et%W,Z=Math.min(et,et-ut)+U,h=0,_=U;_<Z;_+=W)h=b(f,_,_+W,S),this.imuln($),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h);if(ut!==0){var j=1;for(h=b(f,_,f.length,S),_=0;_<ut;_++)j*=S;this.imuln(j),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}this._strip()},a.prototype.copy=function(f){f.words=new Array(this.length);for(var S=0;S<this.length;S++)f.words[S]=this.words[S];f.length=this.length,f.negative=this.negative,f.red=this.red};function N(P,f){P.words=f.words,P.length=f.length,P.negative=f.negative,P.red=f.red}if(a.prototype._move=function(f){N(f,this)},a.prototype.clone=function(){var f=new a(null);return this.copy(f),f},a.prototype._expand=function(f){for(;this.length<f;)this.words[this.length++]=0;return this},a.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},a.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{a.prototype[Symbol.for("nodejs.util.inspect.custom")]=L}catch{a.prototype.inspect=L}else a.prototype.inspect=L;function L(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var T=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],x=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],M=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];a.prototype.toString=function(f,S){f=f||10,S=S|0||1;var U;if(f===16||f==="hex"){U="";for(var W=0,$=0,et=0;et<this.length;et++){var ut=this.words[et],Z=((ut<<W|$)&16777215).toString(16);$=ut>>>24-W&16777215,W+=2,W>=26&&(W-=26,et--),$!==0||et!==this.length-1?U=T[6-Z.length]+Z+U:U=Z+U}for($!==0&&(U=$.toString(16)+U);U.length%S!==0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}if(f===(f|0)&&f>=2&&f<=36){var h=x[f],_=M[f];U="";var j=this.clone();for(j.negative=0;!j.isZero();){var K=j.modrn(_).toString(f);j=j.idivn(_),j.isZero()?U=K+U:U=T[h-K.length]+K+U}for(this.isZero()&&(U="0"+U);U.length%S!==0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}e(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var f=this.words[0];return this.length===2?f+=this.words[1]*67108864:this.length===3&&this.words[2]===1?f+=4503599627370496+this.words[1]*67108864:this.length>2&&e(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-f:f},a.prototype.toJSON=function(){return this.toString(16,2)},d&&(a.prototype.toBuffer=function(f,S){return this.toArrayLike(d,f,S)}),a.prototype.toArray=function(f,S){return this.toArrayLike(Array,f,S)};var D=function(f,S){return f.allocUnsafe?f.allocUnsafe(S):new f(S)};a.prototype.toArrayLike=function(f,S,U){this._strip();var W=this.byteLength(),$=U||Math.max(1,W);e(W<=$,"byte array longer than desired length"),e($>0,"Requested array length <= 0");var et=D(f,$),ut=S==="le"?"LE":"BE";return this["_toArrayLike"+ut](et,W),et},a.prototype._toArrayLikeLE=function(f,S){for(var U=0,W=0,$=0,et=0;$<this.length;$++){var ut=this.words[$]<<et|W;f[U++]=ut&255,U<f.length&&(f[U++]=ut>>8&255),U<f.length&&(f[U++]=ut>>16&255),et===6?(U<f.length&&(f[U++]=ut>>24&255),W=0,et=0):(W=ut>>>24,et+=2)}if(U<f.length)for(f[U++]=W;U<f.length;)f[U++]=0},a.prototype._toArrayLikeBE=function(f,S){for(var U=f.length-1,W=0,$=0,et=0;$<this.length;$++){var ut=this.words[$]<<et|W;f[U--]=ut&255,U>=0&&(f[U--]=ut>>8&255),U>=0&&(f[U--]=ut>>16&255),et===6?(U>=0&&(f[U--]=ut>>24&255),W=0,et=0):(W=ut>>>24,et+=2)}if(U>=0)for(f[U--]=W;U>=0;)f[U--]=0},Math.clz32?a.prototype._countBits=function(f){return 32-Math.clz32(f)}:a.prototype._countBits=function(f){var S=f,U=0;return S>=4096&&(U+=13,S>>>=13),S>=64&&(U+=7,S>>>=7),S>=8&&(U+=4,S>>>=4),S>=2&&(U+=2,S>>>=2),U+S},a.prototype._zeroBits=function(f){if(f===0)return 26;var S=f,U=0;return(S&8191)===0&&(U+=13,S>>>=13),(S&127)===0&&(U+=7,S>>>=7),(S&15)===0&&(U+=4,S>>>=4),(S&3)===0&&(U+=2,S>>>=2),(S&1)===0&&U++,U},a.prototype.bitLength=function(){var f=this.words[this.length-1],S=this._countBits(f);return(this.length-1)*26+S};function Y(P){for(var f=new Array(P.bitLength()),S=0;S<f.length;S++){var U=S/26|0,W=S%26;f[S]=P.words[U]>>>W&1}return f}a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var f=0,S=0;S<this.length;S++){var U=this._zeroBits(this.words[S]);if(f+=U,U!==26)break}return f},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(f){return this.negative!==0?this.abs().inotn(f).iaddn(1):this.clone()},a.prototype.fromTwos=function(f){return this.testn(f-1)?this.notn(f).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return this.negative!==0},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(f){for(;this.length<f.length;)this.words[this.length++]=0;for(var S=0;S<f.length;S++)this.words[S]=this.words[S]|f.words[S];return this._strip()},a.prototype.ior=function(f){return e((this.negative|f.negative)===0),this.iuor(f)},a.prototype.or=function(f){return this.length>f.length?this.clone().ior(f):f.clone().ior(this)},a.prototype.uor=function(f){return this.length>f.length?this.clone().iuor(f):f.clone().iuor(this)},a.prototype.iuand=function(f){var S;this.length>f.length?S=f:S=this;for(var U=0;U<S.length;U++)this.words[U]=this.words[U]&f.words[U];return this.length=S.length,this._strip()},a.prototype.iand=function(f){return e((this.negative|f.negative)===0),this.iuand(f)},a.prototype.and=function(f){return this.length>f.length?this.clone().iand(f):f.clone().iand(this)},a.prototype.uand=function(f){return this.length>f.length?this.clone().iuand(f):f.clone().iuand(this)},a.prototype.iuxor=function(f){var S,U;this.length>f.length?(S=this,U=f):(S=f,U=this);for(var W=0;W<U.length;W++)this.words[W]=S.words[W]^U.words[W];if(this!==S)for(;W<S.length;W++)this.words[W]=S.words[W];return this.length=S.length,this._strip()},a.prototype.ixor=function(f){return e((this.negative|f.negative)===0),this.iuxor(f)},a.prototype.xor=function(f){return this.length>f.length?this.clone().ixor(f):f.clone().ixor(this)},a.prototype.uxor=function(f){return this.length>f.length?this.clone().iuxor(f):f.clone().iuxor(this)},a.prototype.inotn=function(f){e(typeof f=="number"&&f>=0);var S=Math.ceil(f/26)|0,U=f%26;this._expand(S),U>0&&S--;for(var W=0;W<S;W++)this.words[W]=~this.words[W]&67108863;return U>0&&(this.words[W]=~this.words[W]&67108863>>26-U),this._strip()},a.prototype.notn=function(f){return this.clone().inotn(f)},a.prototype.setn=function(f,S){e(typeof f=="number"&&f>=0);var U=f/26|0,W=f%26;return this._expand(U+1),S?this.words[U]=this.words[U]|1<<W:this.words[U]=this.words[U]&~(1<<W),this._strip()},a.prototype.iadd=function(f){var S;if(this.negative!==0&&f.negative===0)return this.negative=0,S=this.isub(f),this.negative^=1,this._normSign();if(this.negative===0&&f.negative!==0)return f.negative=0,S=this.isub(f),f.negative=1,S._normSign();var U,W;this.length>f.length?(U=this,W=f):(U=f,W=this);for(var $=0,et=0;et<W.length;et++)S=(U.words[et]|0)+(W.words[et]|0)+$,this.words[et]=S&67108863,$=S>>>26;for(;$!==0&&et<U.length;et++)S=(U.words[et]|0)+$,this.words[et]=S&67108863,$=S>>>26;if(this.length=U.length,$!==0)this.words[this.length]=$,this.length++;else if(U!==this)for(;et<U.length;et++)this.words[et]=U.words[et];return this},a.prototype.add=function(f){var S;return f.negative!==0&&this.negative===0?(f.negative=0,S=this.sub(f),f.negative^=1,S):f.negative===0&&this.negative!==0?(this.negative=0,S=f.sub(this),this.negative=1,S):this.length>f.length?this.clone().iadd(f):f.clone().iadd(this)},a.prototype.isub=function(f){if(f.negative!==0){f.negative=0;var S=this.iadd(f);return f.negative=1,S._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(f),this.negative=1,this._normSign();var U=this.cmp(f);if(U===0)return this.negative=0,this.length=1,this.words[0]=0,this;var W,$;U>0?(W=this,$=f):(W=f,$=this);for(var et=0,ut=0;ut<$.length;ut++)S=(W.words[ut]|0)-($.words[ut]|0)+et,et=S>>26,this.words[ut]=S&67108863;for(;et!==0&&ut<W.length;ut++)S=(W.words[ut]|0)+et,et=S>>26,this.words[ut]=S&67108863;if(et===0&&ut<W.length&&W!==this)for(;ut<W.length;ut++)this.words[ut]=W.words[ut];return this.length=Math.max(this.length,ut),W!==this&&(this.negative=1),this._strip()},a.prototype.sub=function(f){return this.clone().isub(f)};function z(P,f,S){S.negative=f.negative^P.negative;var U=P.length+f.length|0;S.length=U,U=U-1|0;var W=P.words[0]|0,$=f.words[0]|0,et=W*$,ut=et&67108863,Z=et/67108864|0;S.words[0]=ut;for(var h=1;h<U;h++){for(var _=Z>>>26,j=Z&67108863,K=Math.min(h,f.length-1),ht=Math.max(0,h-P.length+1);ht<=K;ht++){var St=h-ht|0;W=P.words[St]|0,$=f.words[ht]|0,et=W*$+j,_+=et/67108864|0,j=et&67108863}S.words[h]=j|0,Z=_|0}return Z!==0?S.words[h]=Z|0:S.length--,S._strip()}var J=function(f,S,U){var W=f.words,$=S.words,et=U.words,ut=0,Z,h,_,j=W[0]|0,K=j&8191,ht=j>>>13,St=W[1]|0,Ft=St&8191,Zt=St>>>13,de=W[2]|0,ye=de&8191,ge=de>>>13,Oe=W[3]|0,be=Oe&8191,Yt=Oe>>>13,Ve=W[4]|0,Te=Ve&8191,g=Ve>>>13,k=W[5]|0,V=k&8191,ct=k>>>13,yt=W[6]|0,Et=yt&8191,Lt=yt>>>13,zt=W[7]|0,te=zt&8191,F=zt>>>13,R=W[8]|0,O=R&8191,A=R>>>13,H=W[9]|0,G=H&8191,it=H>>>13,Ct=$[0]|0,Bt=Ct&8191,Ut=Ct>>>13,kt=$[1]|0,rt=kt&8191,Wt=kt>>>13,pe=$[2]|0,ee=pe&8191,se=pe>>>13,he=$[3]|0,le=he&8191,ue=he>>>13,ze=$[4]|0,we=ze&8191,_e=ze>>>13,an=$[5]|0,Be=an&8191,De=an>>>13,lr=$[6]|0,Ge=lr&8191,He=lr>>>13,Yr=$[7]|0,qe=Yr&8191,$e=Yr>>>13,Wo=$[8]|0,Je=Wo&8191,Qe=Wo>>>13,Zo=$[9]|0,tn=Zo&8191,en=Zo>>>13;U.negative=f.negative^S.negative,U.length=19,Z=Math.imul(K,Bt),h=Math.imul(K,Ut),h=h+Math.imul(ht,Bt)|0,_=Math.imul(ht,Ut);var Pi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Pi>>>26)|0,Pi&=67108863,Z=Math.imul(Ft,Bt),h=Math.imul(Ft,Ut),h=h+Math.imul(Zt,Bt)|0,_=Math.imul(Zt,Ut),Z=Z+Math.imul(K,rt)|0,h=h+Math.imul(K,Wt)|0,h=h+Math.imul(ht,rt)|0,_=_+Math.imul(ht,Wt)|0;var Fi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,Z=Math.imul(ye,Bt),h=Math.imul(ye,Ut),h=h+Math.imul(ge,Bt)|0,_=Math.imul(ge,Ut),Z=Z+Math.imul(Ft,rt)|0,h=h+Math.imul(Ft,Wt)|0,h=h+Math.imul(Zt,rt)|0,_=_+Math.imul(Zt,Wt)|0,Z=Z+Math.imul(K,ee)|0,h=h+Math.imul(K,se)|0,h=h+Math.imul(ht,ee)|0,_=_+Math.imul(ht,se)|0;var Vi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,Z=Math.imul(be,Bt),h=Math.imul(be,Ut),h=h+Math.imul(Yt,Bt)|0,_=Math.imul(Yt,Ut),Z=Z+Math.imul(ye,rt)|0,h=h+Math.imul(ye,Wt)|0,h=h+Math.imul(ge,rt)|0,_=_+Math.imul(ge,Wt)|0,Z=Z+Math.imul(Ft,ee)|0,h=h+Math.imul(Ft,se)|0,h=h+Math.imul(Zt,ee)|0,_=_+Math.imul(Zt,se)|0,Z=Z+Math.imul(K,le)|0,h=h+Math.imul(K,ue)|0,h=h+Math.imul(ht,le)|0,_=_+Math.imul(ht,ue)|0;var Hi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,Z=Math.imul(Te,Bt),h=Math.imul(Te,Ut),h=h+Math.imul(g,Bt)|0,_=Math.imul(g,Ut),Z=Z+Math.imul(be,rt)|0,h=h+Math.imul(be,Wt)|0,h=h+Math.imul(Yt,rt)|0,_=_+Math.imul(Yt,Wt)|0,Z=Z+Math.imul(ye,ee)|0,h=h+Math.imul(ye,se)|0,h=h+Math.imul(ge,ee)|0,_=_+Math.imul(ge,se)|0,Z=Z+Math.imul(Ft,le)|0,h=h+Math.imul(Ft,ue)|0,h=h+Math.imul(Zt,le)|0,_=_+Math.imul(Zt,ue)|0,Z=Z+Math.imul(K,we)|0,h=h+Math.imul(K,_e)|0,h=h+Math.imul(ht,we)|0,_=_+Math.imul(ht,_e)|0;var Gi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,Z=Math.imul(V,Bt),h=Math.imul(V,Ut),h=h+Math.imul(ct,Bt)|0,_=Math.imul(ct,Ut),Z=Z+Math.imul(Te,rt)|0,h=h+Math.imul(Te,Wt)|0,h=h+Math.imul(g,rt)|0,_=_+Math.imul(g,Wt)|0,Z=Z+Math.imul(be,ee)|0,h=h+Math.imul(be,se)|0,h=h+Math.imul(Yt,ee)|0,_=_+Math.imul(Yt,se)|0,Z=Z+Math.imul(ye,le)|0,h=h+Math.imul(ye,ue)|0,h=h+Math.imul(ge,le)|0,_=_+Math.imul(ge,ue)|0,Z=Z+Math.imul(Ft,we)|0,h=h+Math.imul(Ft,_e)|0,h=h+Math.imul(Zt,we)|0,_=_+Math.imul(Zt,_e)|0,Z=Z+Math.imul(K,Be)|0,h=h+Math.imul(K,De)|0,h=h+Math.imul(ht,Be)|0,_=_+Math.imul(ht,De)|0;var ji=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(ji>>>26)|0,ji&=67108863,Z=Math.imul(Et,Bt),h=Math.imul(Et,Ut),h=h+Math.imul(Lt,Bt)|0,_=Math.imul(Lt,Ut),Z=Z+Math.imul(V,rt)|0,h=h+Math.imul(V,Wt)|0,h=h+Math.imul(ct,rt)|0,_=_+Math.imul(ct,Wt)|0,Z=Z+Math.imul(Te,ee)|0,h=h+Math.imul(Te,se)|0,h=h+Math.imul(g,ee)|0,_=_+Math.imul(g,se)|0,Z=Z+Math.imul(be,le)|0,h=h+Math.imul(be,ue)|0,h=h+Math.imul(Yt,le)|0,_=_+Math.imul(Yt,ue)|0,Z=Z+Math.imul(ye,we)|0,h=h+Math.imul(ye,_e)|0,h=h+Math.imul(ge,we)|0,_=_+Math.imul(ge,_e)|0,Z=Z+Math.imul(Ft,Be)|0,h=h+Math.imul(Ft,De)|0,h=h+Math.imul(Zt,Be)|0,_=_+Math.imul(Zt,De)|0,Z=Z+Math.imul(K,Ge)|0,h=h+Math.imul(K,He)|0,h=h+Math.imul(ht,Ge)|0,_=_+Math.imul(ht,He)|0;var Yi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Yi>>>26)|0,Yi&=67108863,Z=Math.imul(te,Bt),h=Math.imul(te,Ut),h=h+Math.imul(F,Bt)|0,_=Math.imul(F,Ut),Z=Z+Math.imul(Et,rt)|0,h=h+Math.imul(Et,Wt)|0,h=h+Math.imul(Lt,rt)|0,_=_+Math.imul(Lt,Wt)|0,Z=Z+Math.imul(V,ee)|0,h=h+Math.imul(V,se)|0,h=h+Math.imul(ct,ee)|0,_=_+Math.imul(ct,se)|0,Z=Z+Math.imul(Te,le)|0,h=h+Math.imul(Te,ue)|0,h=h+Math.imul(g,le)|0,_=_+Math.imul(g,ue)|0,Z=Z+Math.imul(be,we)|0,h=h+Math.imul(be,_e)|0,h=h+Math.imul(Yt,we)|0,_=_+Math.imul(Yt,_e)|0,Z=Z+Math.imul(ye,Be)|0,h=h+Math.imul(ye,De)|0,h=h+Math.imul(ge,Be)|0,_=_+Math.imul(ge,De)|0,Z=Z+Math.imul(Ft,Ge)|0,h=h+Math.imul(Ft,He)|0,h=h+Math.imul(Zt,Ge)|0,_=_+Math.imul(Zt,He)|0,Z=Z+Math.imul(K,qe)|0,h=h+Math.imul(K,$e)|0,h=h+Math.imul(ht,qe)|0,_=_+Math.imul(ht,$e)|0;var zi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(zi>>>26)|0,zi&=67108863,Z=Math.imul(O,Bt),h=Math.imul(O,Ut),h=h+Math.imul(A,Bt)|0,_=Math.imul(A,Ut),Z=Z+Math.imul(te,rt)|0,h=h+Math.imul(te,Wt)|0,h=h+Math.imul(F,rt)|0,_=_+Math.imul(F,Wt)|0,Z=Z+Math.imul(Et,ee)|0,h=h+Math.imul(Et,se)|0,h=h+Math.imul(Lt,ee)|0,_=_+Math.imul(Lt,se)|0,Z=Z+Math.imul(V,le)|0,h=h+Math.imul(V,ue)|0,h=h+Math.imul(ct,le)|0,_=_+Math.imul(ct,ue)|0,Z=Z+Math.imul(Te,we)|0,h=h+Math.imul(Te,_e)|0,h=h+Math.imul(g,we)|0,_=_+Math.imul(g,_e)|0,Z=Z+Math.imul(be,Be)|0,h=h+Math.imul(be,De)|0,h=h+Math.imul(Yt,Be)|0,_=_+Math.imul(Yt,De)|0,Z=Z+Math.imul(ye,Ge)|0,h=h+Math.imul(ye,He)|0,h=h+Math.imul(ge,Ge)|0,_=_+Math.imul(ge,He)|0,Z=Z+Math.imul(Ft,qe)|0,h=h+Math.imul(Ft,$e)|0,h=h+Math.imul(Zt,qe)|0,_=_+Math.imul(Zt,$e)|0,Z=Z+Math.imul(K,Je)|0,h=h+Math.imul(K,Qe)|0,h=h+Math.imul(ht,Je)|0,_=_+Math.imul(ht,Qe)|0;var Wi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Wi>>>26)|0,Wi&=67108863,Z=Math.imul(G,Bt),h=Math.imul(G,Ut),h=h+Math.imul(it,Bt)|0,_=Math.imul(it,Ut),Z=Z+Math.imul(O,rt)|0,h=h+Math.imul(O,Wt)|0,h=h+Math.imul(A,rt)|0,_=_+Math.imul(A,Wt)|0,Z=Z+Math.imul(te,ee)|0,h=h+Math.imul(te,se)|0,h=h+Math.imul(F,ee)|0,_=_+Math.imul(F,se)|0,Z=Z+Math.imul(Et,le)|0,h=h+Math.imul(Et,ue)|0,h=h+Math.imul(Lt,le)|0,_=_+Math.imul(Lt,ue)|0,Z=Z+Math.imul(V,we)|0,h=h+Math.imul(V,_e)|0,h=h+Math.imul(ct,we)|0,_=_+Math.imul(ct,_e)|0,Z=Z+Math.imul(Te,Be)|0,h=h+Math.imul(Te,De)|0,h=h+Math.imul(g,Be)|0,_=_+Math.imul(g,De)|0,Z=Z+Math.imul(be,Ge)|0,h=h+Math.imul(be,He)|0,h=h+Math.imul(Yt,Ge)|0,_=_+Math.imul(Yt,He)|0,Z=Z+Math.imul(ye,qe)|0,h=h+Math.imul(ye,$e)|0,h=h+Math.imul(ge,qe)|0,_=_+Math.imul(ge,$e)|0,Z=Z+Math.imul(Ft,Je)|0,h=h+Math.imul(Ft,Qe)|0,h=h+Math.imul(Zt,Je)|0,_=_+Math.imul(Zt,Qe)|0,Z=Z+Math.imul(K,tn)|0,h=h+Math.imul(K,en)|0,h=h+Math.imul(ht,tn)|0,_=_+Math.imul(ht,en)|0;var Zi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,Z=Math.imul(G,rt),h=Math.imul(G,Wt),h=h+Math.imul(it,rt)|0,_=Math.imul(it,Wt),Z=Z+Math.imul(O,ee)|0,h=h+Math.imul(O,se)|0,h=h+Math.imul(A,ee)|0,_=_+Math.imul(A,se)|0,Z=Z+Math.imul(te,le)|0,h=h+Math.imul(te,ue)|0,h=h+Math.imul(F,le)|0,_=_+Math.imul(F,ue)|0,Z=Z+Math.imul(Et,we)|0,h=h+Math.imul(Et,_e)|0,h=h+Math.imul(Lt,we)|0,_=_+Math.imul(Lt,_e)|0,Z=Z+Math.imul(V,Be)|0,h=h+Math.imul(V,De)|0,h=h+Math.imul(ct,Be)|0,_=_+Math.imul(ct,De)|0,Z=Z+Math.imul(Te,Ge)|0,h=h+Math.imul(Te,He)|0,h=h+Math.imul(g,Ge)|0,_=_+Math.imul(g,He)|0,Z=Z+Math.imul(be,qe)|0,h=h+Math.imul(be,$e)|0,h=h+Math.imul(Yt,qe)|0,_=_+Math.imul(Yt,$e)|0,Z=Z+Math.imul(ye,Je)|0,h=h+Math.imul(ye,Qe)|0,h=h+Math.imul(ge,Je)|0,_=_+Math.imul(ge,Qe)|0,Z=Z+Math.imul(Ft,tn)|0,h=h+Math.imul(Ft,en)|0,h=h+Math.imul(Zt,tn)|0,_=_+Math.imul(Zt,en)|0;var dn=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(dn>>>26)|0,dn&=67108863,Z=Math.imul(G,ee),h=Math.imul(G,se),h=h+Math.imul(it,ee)|0,_=Math.imul(it,se),Z=Z+Math.imul(O,le)|0,h=h+Math.imul(O,ue)|0,h=h+Math.imul(A,le)|0,_=_+Math.imul(A,ue)|0,Z=Z+Math.imul(te,we)|0,h=h+Math.imul(te,_e)|0,h=h+Math.imul(F,we)|0,_=_+Math.imul(F,_e)|0,Z=Z+Math.imul(Et,Be)|0,h=h+Math.imul(Et,De)|0,h=h+Math.imul(Lt,Be)|0,_=_+Math.imul(Lt,De)|0,Z=Z+Math.imul(V,Ge)|0,h=h+Math.imul(V,He)|0,h=h+Math.imul(ct,Ge)|0,_=_+Math.imul(ct,He)|0,Z=Z+Math.imul(Te,qe)|0,h=h+Math.imul(Te,$e)|0,h=h+Math.imul(g,qe)|0,_=_+Math.imul(g,$e)|0,Z=Z+Math.imul(be,Je)|0,h=h+Math.imul(be,Qe)|0,h=h+Math.imul(Yt,Je)|0,_=_+Math.imul(Yt,Qe)|0,Z=Z+Math.imul(ye,tn)|0,h=h+Math.imul(ye,en)|0,h=h+Math.imul(ge,tn)|0,_=_+Math.imul(ge,en)|0;var Ki=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,Z=Math.imul(G,le),h=Math.imul(G,ue),h=h+Math.imul(it,le)|0,_=Math.imul(it,ue),Z=Z+Math.imul(O,we)|0,h=h+Math.imul(O,_e)|0,h=h+Math.imul(A,we)|0,_=_+Math.imul(A,_e)|0,Z=Z+Math.imul(te,Be)|0,h=h+Math.imul(te,De)|0,h=h+Math.imul(F,Be)|0,_=_+Math.imul(F,De)|0,Z=Z+Math.imul(Et,Ge)|0,h=h+Math.imul(Et,He)|0,h=h+Math.imul(Lt,Ge)|0,_=_+Math.imul(Lt,He)|0,Z=Z+Math.imul(V,qe)|0,h=h+Math.imul(V,$e)|0,h=h+Math.imul(ct,qe)|0,_=_+Math.imul(ct,$e)|0,Z=Z+Math.imul(Te,Je)|0,h=h+Math.imul(Te,Qe)|0,h=h+Math.imul(g,Je)|0,_=_+Math.imul(g,Qe)|0,Z=Z+Math.imul(be,tn)|0,h=h+Math.imul(be,en)|0,h=h+Math.imul(Yt,tn)|0,_=_+Math.imul(Yt,en)|0;var Xi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Xi>>>26)|0,Xi&=67108863,Z=Math.imul(G,we),h=Math.imul(G,_e),h=h+Math.imul(it,we)|0,_=Math.imul(it,_e),Z=Z+Math.imul(O,Be)|0,h=h+Math.imul(O,De)|0,h=h+Math.imul(A,Be)|0,_=_+Math.imul(A,De)|0,Z=Z+Math.imul(te,Ge)|0,h=h+Math.imul(te,He)|0,h=h+Math.imul(F,Ge)|0,_=_+Math.imul(F,He)|0,Z=Z+Math.imul(Et,qe)|0,h=h+Math.imul(Et,$e)|0,h=h+Math.imul(Lt,qe)|0,_=_+Math.imul(Lt,$e)|0,Z=Z+Math.imul(V,Je)|0,h=h+Math.imul(V,Qe)|0,h=h+Math.imul(ct,Je)|0,_=_+Math.imul(ct,Qe)|0,Z=Z+Math.imul(Te,tn)|0,h=h+Math.imul(Te,en)|0,h=h+Math.imul(g,tn)|0,_=_+Math.imul(g,en)|0;var qi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(qi>>>26)|0,qi&=67108863,Z=Math.imul(G,Be),h=Math.imul(G,De),h=h+Math.imul(it,Be)|0,_=Math.imul(it,De),Z=Z+Math.imul(O,Ge)|0,h=h+Math.imul(O,He)|0,h=h+Math.imul(A,Ge)|0,_=_+Math.imul(A,He)|0,Z=Z+Math.imul(te,qe)|0,h=h+Math.imul(te,$e)|0,h=h+Math.imul(F,qe)|0,_=_+Math.imul(F,$e)|0,Z=Z+Math.imul(Et,Je)|0,h=h+Math.imul(Et,Qe)|0,h=h+Math.imul(Lt,Je)|0,_=_+Math.imul(Lt,Qe)|0,Z=Z+Math.imul(V,tn)|0,h=h+Math.imul(V,en)|0,h=h+Math.imul(ct,tn)|0,_=_+Math.imul(ct,en)|0;var Me=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Me>>>26)|0,Me&=67108863,Z=Math.imul(G,Ge),h=Math.imul(G,He),h=h+Math.imul(it,Ge)|0,_=Math.imul(it,He),Z=Z+Math.imul(O,qe)|0,h=h+Math.imul(O,$e)|0,h=h+Math.imul(A,qe)|0,_=_+Math.imul(A,$e)|0,Z=Z+Math.imul(te,Je)|0,h=h+Math.imul(te,Qe)|0,h=h+Math.imul(F,Je)|0,_=_+Math.imul(F,Qe)|0,Z=Z+Math.imul(Et,tn)|0,h=h+Math.imul(Et,en)|0,h=h+Math.imul(Lt,tn)|0,_=_+Math.imul(Lt,en)|0;var $i=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+($i>>>26)|0,$i&=67108863,Z=Math.imul(G,qe),h=Math.imul(G,$e),h=h+Math.imul(it,qe)|0,_=Math.imul(it,$e),Z=Z+Math.imul(O,Je)|0,h=h+Math.imul(O,Qe)|0,h=h+Math.imul(A,Je)|0,_=_+Math.imul(A,Qe)|0,Z=Z+Math.imul(te,tn)|0,h=h+Math.imul(te,en)|0,h=h+Math.imul(F,tn)|0,_=_+Math.imul(F,en)|0;var Un=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Un>>>26)|0,Un&=67108863,Z=Math.imul(G,Je),h=Math.imul(G,Qe),h=h+Math.imul(it,Je)|0,_=Math.imul(it,Qe),Z=Z+Math.imul(O,tn)|0,h=h+Math.imul(O,en)|0,h=h+Math.imul(A,tn)|0,_=_+Math.imul(A,en)|0;var vi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(vi>>>26)|0,vi&=67108863,Z=Math.imul(G,tn),h=Math.imul(G,en),h=h+Math.imul(it,tn)|0,_=Math.imul(it,en);var gi=(ut+Z|0)+((h&8191)<<13)|0;return ut=(_+(h>>>13)|0)+(gi>>>26)|0,gi&=67108863,et[0]=Pi,et[1]=Fi,et[2]=Vi,et[3]=Hi,et[4]=Gi,et[5]=ji,et[6]=Yi,et[7]=zi,et[8]=Wi,et[9]=Zi,et[10]=dn,et[11]=Ki,et[12]=Xi,et[13]=qi,et[14]=Me,et[15]=$i,et[16]=Un,et[17]=vi,et[18]=gi,ut!==0&&(et[19]=ut,U.length++),U};Math.imul||(J=z);function q(P,f,S){S.negative=f.negative^P.negative,S.length=P.length+f.length;for(var U=0,W=0,$=0;$<S.length-1;$++){var et=W;W=0;for(var ut=U&67108863,Z=Math.min($,f.length-1),h=Math.max(0,$-P.length+1);h<=Z;h++){var _=$-h,j=P.words[_]|0,K=f.words[h]|0,ht=j*K,St=ht&67108863;et=et+(ht/67108864|0)|0,St=St+ut|0,ut=St&67108863,et=et+(St>>>26)|0,W+=et>>>26,et&=67108863}S.words[$]=ut,U=et,et=W}return U!==0?S.words[$]=U:S.length--,S._strip()}function ot(P,f,S){return q(P,f,S)}a.prototype.mulTo=function(f,S){var U,W=this.length+f.length;return this.length===10&&f.length===10?U=J(this,f,S):W<63?U=z(this,f,S):W<1024?U=q(this,f,S):U=ot(this,f,S),U},a.prototype.mul=function(f){var S=new a(null);return S.words=new Array(this.length+f.length),this.mulTo(f,S)},a.prototype.mulf=function(f){var S=new a(null);return S.words=new Array(this.length+f.length),ot(this,f,S)},a.prototype.imul=function(f){return this.clone().mulTo(f,this)},a.prototype.imuln=function(f){var S=f<0;S&&(f=-f),e(typeof f=="number"),e(f<67108864);for(var U=0,W=0;W<this.length;W++){var $=(this.words[W]|0)*f,et=($&67108863)+(U&67108863);U>>=26,U+=$/67108864|0,U+=et>>>26,this.words[W]=et&67108863}return U!==0&&(this.words[W]=U,this.length++),this.length=f===0?1:this.length,S?this.ineg():this},a.prototype.muln=function(f){return this.clone().imuln(f)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(f){var S=Y(f);if(S.length===0)return new a(1);for(var U=this,W=0;W<S.length&&S[W]===0;W++,U=U.sqr());if(++W<S.length)for(var $=U.sqr();W<S.length;W++,$=$.sqr())S[W]!==0&&(U=U.mul($));return U},a.prototype.iushln=function(f){e(typeof f=="number"&&f>=0);var S=f%26,U=(f-S)/26,W=67108863>>>26-S<<26-S,$;if(S!==0){var et=0;for($=0;$<this.length;$++){var ut=this.words[$]&W,Z=(this.words[$]|0)-ut<<S;this.words[$]=Z|et,et=ut>>>26-S}et&&(this.words[$]=et,this.length++)}if(U!==0){for($=this.length-1;$>=0;$--)this.words[$+U]=this.words[$];for($=0;$<U;$++)this.words[$]=0;this.length+=U}return this._strip()},a.prototype.ishln=function(f){return e(this.negative===0),this.iushln(f)},a.prototype.iushrn=function(f,S,U){e(typeof f=="number"&&f>=0);var W;S?W=(S-S%26)/26:W=0;var $=f%26,et=Math.min((f-$)/26,this.length),ut=67108863^67108863>>>$<<$,Z=U;if(W-=et,W=Math.max(0,W),Z){for(var h=0;h<et;h++)Z.words[h]=this.words[h];Z.length=et}if(et!==0)if(this.length>et)for(this.length-=et,h=0;h<this.length;h++)this.words[h]=this.words[h+et];else this.words[0]=0,this.length=1;var _=0;for(h=this.length-1;h>=0&&(_!==0||h>=W);h--){var j=this.words[h]|0;this.words[h]=_<<26-$|j>>>$,_=j&ut}return Z&&_!==0&&(Z.words[Z.length++]=_),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.ishrn=function(f,S,U){return e(this.negative===0),this.iushrn(f,S,U)},a.prototype.shln=function(f){return this.clone().ishln(f)},a.prototype.ushln=function(f){return this.clone().iushln(f)},a.prototype.shrn=function(f){return this.clone().ishrn(f)},a.prototype.ushrn=function(f){return this.clone().iushrn(f)},a.prototype.testn=function(f){e(typeof f=="number"&&f>=0);var S=f%26,U=(f-S)/26,W=1<<S;if(this.length<=U)return!1;var $=this.words[U];return!!($&W)},a.prototype.imaskn=function(f){e(typeof f=="number"&&f>=0);var S=f%26,U=(f-S)/26;if(e(this.negative===0,"imaskn works only with positive numbers"),this.length<=U)return this;if(S!==0&&U++,this.length=Math.min(U,this.length),S!==0){var W=67108863^67108863>>>S<<S;this.words[this.length-1]&=W}return this.length===0&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.maskn=function(f){return this.clone().imaskn(f)},a.prototype.iaddn=function(f){return e(typeof f=="number"),e(f<67108864),f<0?this.isubn(-f):this.negative!==0?this.length===1&&(this.words[0]|0)<=f?(this.words[0]=f-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(f),this.negative=1,this):this._iaddn(f)},a.prototype._iaddn=function(f){this.words[0]+=f;for(var S=0;S<this.length&&this.words[S]>=67108864;S++)this.words[S]-=67108864,S===this.length-1?this.words[S+1]=1:this.words[S+1]++;return this.length=Math.max(this.length,S+1),this},a.prototype.isubn=function(f){if(e(typeof f=="number"),e(f<67108864),f<0)return this.iaddn(-f);if(this.negative!==0)return this.negative=0,this.iaddn(f),this.negative=1,this;if(this.words[0]-=f,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var S=0;S<this.length&&this.words[S]<0;S++)this.words[S]+=67108864,this.words[S+1]-=1;return this._strip()},a.prototype.addn=function(f){return this.clone().iaddn(f)},a.prototype.subn=function(f){return this.clone().isubn(f)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(f,S,U){var W=f.length+U,$;this._expand(W);var et,ut=0;for($=0;$<f.length;$++){et=(this.words[$+U]|0)+ut;var Z=(f.words[$]|0)*S;et-=Z&67108863,ut=(et>>26)-(Z/67108864|0),this.words[$+U]=et&67108863}for(;$<this.length-U;$++)et=(this.words[$+U]|0)+ut,ut=et>>26,this.words[$+U]=et&67108863;if(ut===0)return this._strip();for(e(ut===-1),ut=0,$=0;$<this.length;$++)et=-(this.words[$]|0)+ut,ut=et>>26,this.words[$]=et&67108863;return this.negative=1,this._strip()},a.prototype._wordDiv=function(f,S){var U=this.length-f.length,W=this.clone(),$=f,et=$.words[$.length-1]|0,ut=this._countBits(et);U=26-ut,U!==0&&($=$.ushln(U),W.iushln(U),et=$.words[$.length-1]|0);var Z=W.length-$.length,h;if(S!=="mod"){h=new a(null),h.length=Z+1,h.words=new Array(h.length);for(var _=0;_<h.length;_++)h.words[_]=0}var j=W.clone()._ishlnsubmul($,1,Z);j.negative===0&&(W=j,h&&(h.words[Z]=1));for(var K=Z-1;K>=0;K--){var ht=(W.words[$.length+K]|0)*67108864+(W.words[$.length+K-1]|0);for(ht=Math.min(ht/et|0,67108863),W._ishlnsubmul($,ht,K);W.negative!==0;)ht--,W.negative=0,W._ishlnsubmul($,1,K),W.isZero()||(W.negative^=1);h&&(h.words[K]=ht)}return h&&h._strip(),W._strip(),S!=="div"&&U!==0&&W.iushrn(U),{div:h||null,mod:W}},a.prototype.divmod=function(f,S,U){if(e(!f.isZero()),this.isZero())return{div:new a(0),mod:new a(0)};var W,$,et;return this.negative!==0&&f.negative===0?(et=this.neg().divmod(f,S),S!=="mod"&&(W=et.div.neg()),S!=="div"&&($=et.mod.neg(),U&&$.negative!==0&&$.iadd(f)),{div:W,mod:$}):this.negative===0&&f.negative!==0?(et=this.divmod(f.neg(),S),S!=="mod"&&(W=et.div.neg()),{div:W,mod:et.mod}):(this.negative&f.negative)!==0?(et=this.neg().divmod(f.neg(),S),S!=="div"&&($=et.mod.neg(),U&&$.negative!==0&&$.isub(f)),{div:et.div,mod:$}):f.length>this.length||this.cmp(f)<0?{div:new a(0),mod:this}:f.length===1?S==="div"?{div:this.divn(f.words[0]),mod:null}:S==="mod"?{div:null,mod:new a(this.modrn(f.words[0]))}:{div:this.divn(f.words[0]),mod:new a(this.modrn(f.words[0]))}:this._wordDiv(f,S)},a.prototype.div=function(f){return this.divmod(f,"div",!1).div},a.prototype.mod=function(f){return this.divmod(f,"mod",!1).mod},a.prototype.umod=function(f){return this.divmod(f,"mod",!0).mod},a.prototype.divRound=function(f){var S=this.divmod(f);if(S.mod.isZero())return S.div;var U=S.div.negative!==0?S.mod.isub(f):S.mod,W=f.ushrn(1),$=f.andln(1),et=U.cmp(W);return et<0||$===1&&et===0?S.div:S.div.negative!==0?S.div.isubn(1):S.div.iaddn(1)},a.prototype.modrn=function(f){var S=f<0;S&&(f=-f),e(f<=67108863);for(var U=(1<<26)%f,W=0,$=this.length-1;$>=0;$--)W=(U*W+(this.words[$]|0))%f;return S?-W:W},a.prototype.modn=function(f){return this.modrn(f)},a.prototype.idivn=function(f){var S=f<0;S&&(f=-f),e(f<=67108863);for(var U=0,W=this.length-1;W>=0;W--){var $=(this.words[W]|0)+U*67108864;this.words[W]=$/f|0,U=$%f}return this._strip(),S?this.ineg():this},a.prototype.divn=function(f){return this.clone().idivn(f)},a.prototype.egcd=function(f){e(f.negative===0),e(!f.isZero());var S=this,U=f.clone();S.negative!==0?S=S.umod(f):S=S.clone();for(var W=new a(1),$=new a(0),et=new a(0),ut=new a(1),Z=0;S.isEven()&&U.isEven();)S.iushrn(1),U.iushrn(1),++Z;for(var h=U.clone(),_=S.clone();!S.isZero();){for(var j=0,K=1;(S.words[0]&K)===0&&j<26;++j,K<<=1);if(j>0)for(S.iushrn(j);j-- >0;)(W.isOdd()||$.isOdd())&&(W.iadd(h),$.isub(_)),W.iushrn(1),$.iushrn(1);for(var ht=0,St=1;(U.words[0]&St)===0&&ht<26;++ht,St<<=1);if(ht>0)for(U.iushrn(ht);ht-- >0;)(et.isOdd()||ut.isOdd())&&(et.iadd(h),ut.isub(_)),et.iushrn(1),ut.iushrn(1);S.cmp(U)>=0?(S.isub(U),W.isub(et),$.isub(ut)):(U.isub(S),et.isub(W),ut.isub($))}return{a:et,b:ut,gcd:U.iushln(Z)}},a.prototype._invmp=function(f){e(f.negative===0),e(!f.isZero());var S=this,U=f.clone();S.negative!==0?S=S.umod(f):S=S.clone();for(var W=new a(1),$=new a(0),et=U.clone();S.cmpn(1)>0&&U.cmpn(1)>0;){for(var ut=0,Z=1;(S.words[0]&Z)===0&&ut<26;++ut,Z<<=1);if(ut>0)for(S.iushrn(ut);ut-- >0;)W.isOdd()&&W.iadd(et),W.iushrn(1);for(var h=0,_=1;(U.words[0]&_)===0&&h<26;++h,_<<=1);if(h>0)for(U.iushrn(h);h-- >0;)$.isOdd()&&$.iadd(et),$.iushrn(1);S.cmp(U)>=0?(S.isub(U),W.isub($)):(U.isub(S),$.isub(W))}var j;return S.cmpn(1)===0?j=W:j=$,j.cmpn(0)<0&&j.iadd(f),j},a.prototype.gcd=function(f){if(this.isZero())return f.abs();if(f.isZero())return this.abs();var S=this.clone(),U=f.clone();S.negative=0,U.negative=0;for(var W=0;S.isEven()&&U.isEven();W++)S.iushrn(1),U.iushrn(1);do{for(;S.isEven();)S.iushrn(1);for(;U.isEven();)U.iushrn(1);var $=S.cmp(U);if($<0){var et=S;S=U,U=et}else if($===0||U.cmpn(1)===0)break;S.isub(U)}while(!0);return U.iushln(W)},a.prototype.invm=function(f){return this.egcd(f).a.umod(f)},a.prototype.isEven=function(){return(this.words[0]&1)===0},a.prototype.isOdd=function(){return(this.words[0]&1)===1},a.prototype.andln=function(f){return this.words[0]&f},a.prototype.bincn=function(f){e(typeof f=="number");var S=f%26,U=(f-S)/26,W=1<<S;if(this.length<=U)return this._expand(U+1),this.words[U]|=W,this;for(var $=W,et=U;$!==0&&et<this.length;et++){var ut=this.words[et]|0;ut+=$,$=ut>>>26,ut&=67108863,this.words[et]=ut}return $!==0&&(this.words[et]=$,this.length++),this},a.prototype.isZero=function(){return this.length===1&&this.words[0]===0},a.prototype.cmpn=function(f){var S=f<0;if(this.negative!==0&&!S)return-1;if(this.negative===0&&S)return 1;this._strip();var U;if(this.length>1)U=1;else{S&&(f=-f),e(f<=67108863,"Number is too big");var W=this.words[0]|0;U=W===f?0:W<f?-1:1}return this.negative!==0?-U|0:U},a.prototype.cmp=function(f){if(this.negative!==0&&f.negative===0)return-1;if(this.negative===0&&f.negative!==0)return 1;var S=this.ucmp(f);return this.negative!==0?-S|0:S},a.prototype.ucmp=function(f){if(this.length>f.length)return 1;if(this.length<f.length)return-1;for(var S=0,U=this.length-1;U>=0;U--){var W=this.words[U]|0,$=f.words[U]|0;if(W!==$){W<$?S=-1:W>$&&(S=1);break}}return S},a.prototype.gtn=function(f){return this.cmpn(f)===1},a.prototype.gt=function(f){return this.cmp(f)===1},a.prototype.gten=function(f){return this.cmpn(f)>=0},a.prototype.gte=function(f){return this.cmp(f)>=0},a.prototype.ltn=function(f){return this.cmpn(f)===-1},a.prototype.lt=function(f){return this.cmp(f)===-1},a.prototype.lten=function(f){return this.cmpn(f)<=0},a.prototype.lte=function(f){return this.cmp(f)<=0},a.prototype.eqn=function(f){return this.cmpn(f)===0},a.prototype.eq=function(f){return this.cmp(f)===0},a.red=function(f){return new mt(f)},a.prototype.toRed=function(f){return e(!this.red,"Already a number in reduction context"),e(this.negative===0,"red works only with positives"),f.convertTo(this)._forceRed(f)},a.prototype.fromRed=function(){return e(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(f){return this.red=f,this},a.prototype.forceRed=function(f){return e(!this.red,"Already a number in reduction context"),this._forceRed(f)},a.prototype.redAdd=function(f){return e(this.red,"redAdd works only with red numbers"),this.red.add(this,f)},a.prototype.redIAdd=function(f){return e(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,f)},a.prototype.redSub=function(f){return e(this.red,"redSub works only with red numbers"),this.red.sub(this,f)},a.prototype.redISub=function(f){return e(this.red,"redISub works only with red numbers"),this.red.isub(this,f)},a.prototype.redShl=function(f){return e(this.red,"redShl works only with red numbers"),this.red.shl(this,f)},a.prototype.redMul=function(f){return e(this.red,"redMul works only with red numbers"),this.red._verify2(this,f),this.red.mul(this,f)},a.prototype.redIMul=function(f){return e(this.red,"redMul works only with red numbers"),this.red._verify2(this,f),this.red.imul(this,f)},a.prototype.redSqr=function(){return e(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return e(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return e(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return e(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return e(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(f){return e(this.red&&!f.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,f)};var pt={k256:null,p224:null,p192:null,p25519:null};function ft(P,f){this.name=P,this.p=new a(f,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}ft.prototype._tmp=function(){var f=new a(null);return f.words=new Array(Math.ceil(this.n/13)),f},ft.prototype.ireduce=function(f){var S=f,U;do this.split(S,this.tmp),S=this.imulK(S),S=S.iadd(this.tmp),U=S.bitLength();while(U>this.n);var W=U<this.n?-1:S.ucmp(this.p);return W===0?(S.words[0]=0,S.length=1):W>0?S.isub(this.p):S.strip!==void 0?S.strip():S._strip(),S},ft.prototype.split=function(f,S){f.iushrn(this.n,0,S)},ft.prototype.imulK=function(f){return f.imul(this.k)};function Rt(){ft.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}u(Rt,ft),Rt.prototype.split=function(f,S){for(var U=4194303,W=Math.min(f.length,9),$=0;$<W;$++)S.words[$]=f.words[$];if(S.length=W,f.length<=9){f.words[0]=0,f.length=1;return}var et=f.words[9];for(S.words[S.length++]=et&U,$=10;$<f.length;$++){var ut=f.words[$]|0;f.words[$-10]=(ut&U)<<4|et>>>22,et=ut}et>>>=22,f.words[$-10]=et,et===0&&f.length>10?f.length-=10:f.length-=9},Rt.prototype.imulK=function(f){f.words[f.length]=0,f.words[f.length+1]=0,f.length+=2;for(var S=0,U=0;U<f.length;U++){var W=f.words[U]|0;S+=W*977,f.words[U]=S&67108863,S=W*64+(S/67108864|0)}return f.words[f.length-1]===0&&(f.length--,f.words[f.length-1]===0&&f.length--),f};function At(){ft.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}u(At,ft);function st(){ft.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}u(st,ft);function dt(){ft.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}u(dt,ft),dt.prototype.imulK=function(f){for(var S=0,U=0;U<f.length;U++){var W=(f.words[U]|0)*19+S,$=W&67108863;W>>>=26,f.words[U]=$,S=W}return S!==0&&(f.words[f.length++]=S),f},a._prime=function(f){if(pt[f])return pt[f];var S;if(f==="k256")S=new Rt;else if(f==="p224")S=new At;else if(f==="p192")S=new st;else if(f==="p25519")S=new dt;else throw new Error("Unknown prime "+f);return pt[f]=S,S};function mt(P){if(typeof P=="string"){var f=a._prime(P);this.m=f.p,this.prime=f}else e(P.gtn(1),"modulus must be greater than 1"),this.m=P,this.prime=null}mt.prototype._verify1=function(f){e(f.negative===0,"red works only with positives"),e(f.red,"red works only with red numbers")},mt.prototype._verify2=function(f,S){e((f.negative|S.negative)===0,"red works only with positives"),e(f.red&&f.red===S.red,"red works only with red numbers")},mt.prototype.imod=function(f){return this.prime?this.prime.ireduce(f)._forceRed(this):(N(f,f.umod(this.m)._forceRed(this)),f)},mt.prototype.neg=function(f){return f.isZero()?f.clone():this.m.sub(f)._forceRed(this)},mt.prototype.add=function(f,S){this._verify2(f,S);var U=f.add(S);return U.cmp(this.m)>=0&&U.isub(this.m),U._forceRed(this)},mt.prototype.iadd=function(f,S){this._verify2(f,S);var U=f.iadd(S);return U.cmp(this.m)>=0&&U.isub(this.m),U},mt.prototype.sub=function(f,S){this._verify2(f,S);var U=f.sub(S);return U.cmpn(0)<0&&U.iadd(this.m),U._forceRed(this)},mt.prototype.isub=function(f,S){this._verify2(f,S);var U=f.isub(S);return U.cmpn(0)<0&&U.iadd(this.m),U},mt.prototype.shl=function(f,S){return this._verify1(f),this.imod(f.ushln(S))},mt.prototype.imul=function(f,S){return this._verify2(f,S),this.imod(f.imul(S))},mt.prototype.mul=function(f,S){return this._verify2(f,S),this.imod(f.mul(S))},mt.prototype.isqr=function(f){return this.imul(f,f.clone())},mt.prototype.sqr=function(f){return this.mul(f,f)},mt.prototype.sqrt=function(f){if(f.isZero())return f.clone();var S=this.m.andln(3);if(e(S%2===1),S===3){var U=this.m.add(new a(1)).iushrn(2);return this.pow(f,U)}for(var W=this.m.subn(1),$=0;!W.isZero()&&W.andln(1)===0;)$++,W.iushrn(1);e(!W.isZero());var et=new a(1).toRed(this),ut=et.redNeg(),Z=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new a(2*h*h).toRed(this);this.pow(h,Z).cmp(ut)!==0;)h.redIAdd(ut);for(var _=this.pow(h,W),j=this.pow(f,W.addn(1).iushrn(1)),K=this.pow(f,W),ht=$;K.cmp(et)!==0;){for(var St=K,Ft=0;St.cmp(et)!==0;Ft++)St=St.redSqr();e(Ft<ht);var Zt=this.pow(_,new a(1).iushln(ht-Ft-1));j=j.redMul(Zt),_=Zt.redSqr(),K=K.redMul(_),ht=Ft}return j},mt.prototype.invm=function(f){var S=f._invmp(this.m);return S.negative!==0?(S.negative=0,this.imod(S).redNeg()):this.imod(S)},mt.prototype.pow=function(f,S){if(S.isZero())return new a(1).toRed(this);if(S.cmpn(1)===0)return f.clone();var U=4,W=new Array(1<<U);W[0]=new a(1).toRed(this),W[1]=f;for(var $=2;$<W.length;$++)W[$]=this.mul(W[$-1],f);var et=W[0],ut=0,Z=0,h=S.bitLength()%26;for(h===0&&(h=26),$=S.length-1;$>=0;$--){for(var _=S.words[$],j=h-1;j>=0;j--){var K=_>>j&1;if(et!==W[0]&&(et=this.sqr(et)),K===0&&ut===0){Z=0;continue}ut<<=1,ut|=K,Z++,!(Z!==U&&($!==0||j!==0))&&(et=this.mul(et,W[ut]),Z=0,ut=0)}h=26}return et},mt.prototype.convertTo=function(f){var S=f.umod(this.m);return S===f?S.clone():S},mt.prototype.convertFrom=function(f){var S=f.clone();return S.red=null,S},a.mont=function(f){return new wt(f)};function wt(P){mt.call(this,P),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}u(wt,mt),wt.prototype.convertTo=function(f){return this.imod(f.ushln(this.shift))},wt.prototype.convertFrom=function(f){var S=this.imod(f.mul(this.rinv));return S.red=null,S},wt.prototype.imul=function(f,S){if(f.isZero()||S.isZero())return f.words[0]=0,f.length=1,f;var U=f.imul(S),W=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),$=U.isub(W).iushrn(this.shift),et=$;return $.cmp(this.m)>=0?et=$.isub(this.m):$.cmpn(0)<0&&(et=$.iadd(this.m)),et._forceRed(this)},wt.prototype.mul=function(f,S){if(f.isZero()||S.isZero())return new a(0)._forceRed(this);var U=f.mul(S),W=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),$=U.isub(W).iushrn(this.shift),et=$;return $.cmp(this.m)>=0?et=$.isub(this.m):$.cmpn(0)<0&&(et=$.iadd(this.m)),et._forceRed(this)},wt.prototype.invm=function(f){var S=this.imod(f._invmp(this.m).mul(this.r2));return S._forceRed(this)}})(t,Wd)})(bo)),bo.exports}var Zd=ju();const Yu=ds(Zd);var _o={exports:{}};var zu;function Wu(){return zu||(zu=1,(function(t,r){var n=vs(),e=n.Buffer;function u(d,y){for(var l in d)y[l]=d[l]}e.from&&e.alloc&&e.allocUnsafe&&e.allocUnsafeSlow?t.exports=n:(u(n,r),r.Buffer=a);function a(d,y,l){return e(d,y,l)}a.prototype=Object.create(e.prototype),u(e,a),a.from=function(d,y,l){if(typeof d=="number")throw new TypeError("Argument must not be a number");return e(d,y,l)},a.alloc=function(d,y,l){if(typeof d!="number")throw new TypeError("Argument must be a number");var b=e(d);return y!==void 0?typeof l=="string"?b.fill(y,l):b.fill(y):b.fill(0),b},a.allocUnsafe=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return e(d)},a.allocUnsafeSlow=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(d)}})(_o,_o.exports)),_o.exports}var Ls,Zu;function Kd(){if(Zu)return Ls;Zu=1;var t=Wu().Buffer;function r(n){if(n.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),u=0;u<e.length;u++)e[u]=255;for(var a=0;a<n.length;a++){var d=n.charAt(a),y=d.charCodeAt(0);if(e[y]!==255)throw new TypeError(d+" is ambiguous");e[y]=a}var l=n.length,b=n.charAt(0),N=Math.log(l)/Math.log(256),L=Math.log(256)/Math.log(l);function T(D){if((Array.isArray(D)||D instanceof Uint8Array)&&(D=t.from(D)),!t.isBuffer(D))throw new TypeError("Expected Buffer");if(D.length===0)return"";for(var Y=0,z=0,J=0,q=D.length;J!==q&&D[J]===0;)J++,Y++;for(var ot=(q-J)*L+1>>>0,pt=new Uint8Array(ot);J!==q;){for(var ft=D[J],Rt=0,At=ot-1;(ft!==0||Rt<z)&&At!==-1;At--,Rt++)ft+=256*pt[At]>>>0,pt[At]=ft%l>>>0,ft=ft/l>>>0;if(ft!==0)throw new Error("Non-zero carry");z=Rt,J++}for(var st=ot-z;st!==ot&&pt[st]===0;)st++;for(var dt=b.repeat(Y);st<ot;++st)dt+=n.charAt(pt[st]);return dt}function x(D){if(typeof D!="string")throw new TypeError("Expected String");if(D.length===0)return t.alloc(0);for(var Y=0,z=0,J=0;D[Y]===b;)z++,Y++;for(var q=(D.length-Y)*N+1>>>0,ot=new Uint8Array(q);Y<D.length;){var pt=D.charCodeAt(Y);if(pt>255)return;var ft=e[pt];if(ft===255)return;for(var Rt=0,At=q-1;(ft!==0||Rt<J)&&At!==-1;At--,Rt++)ft+=l*ot[At]>>>0,ot[At]=ft%256>>>0,ft=ft/256>>>0;if(ft!==0)throw new Error("Non-zero carry");J=Rt,Y++}for(var st=q-J;st!==q&&ot[st]===0;)st++;var dt=t.allocUnsafe(z+(q-st));dt.fill(0,0,z);for(var mt=z;st!==q;)dt[mt++]=ot[st++];return dt}function M(D){var Y=x(D);if(Y)return Y;throw new Error("Non-base"+l+" character")}return{encode:T,decodeUnsafe:x,decode:M}}return Ls=r,Ls}var Cs,Ku;function Xd(){if(Ku)return Cs;Ku=1;var t=Kd(),r="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";return Cs=t(r),Cs}var qd=Xd();const An=ds(qd),Xu=hu;var Ue={},Bs,qu;function $d(){if(qu)return Bs;qu=1;var t=Wu().Buffer;function r(n){if(n.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),u=0;u<e.length;u++)e[u]=255;for(var a=0;a<n.length;a++){var d=n.charAt(a),y=d.charCodeAt(0);if(e[y]!==255)throw new TypeError(d+" is ambiguous");e[y]=a}var l=n.length,b=n.charAt(0),N=Math.log(l)/Math.log(256),L=Math.log(256)/Math.log(l);function T(D){if((Array.isArray(D)||D instanceof Uint8Array)&&(D=t.from(D)),!t.isBuffer(D))throw new TypeError("Expected Buffer");if(D.length===0)return"";for(var Y=0,z=0,J=0,q=D.length;J!==q&&D[J]===0;)J++,Y++;for(var ot=(q-J)*L+1>>>0,pt=new Uint8Array(ot);J!==q;){for(var ft=D[J],Rt=0,At=ot-1;(ft!==0||Rt<z)&&At!==-1;At--,Rt++)ft+=256*pt[At]>>>0,pt[At]=ft%l>>>0,ft=ft/l>>>0;if(ft!==0)throw new Error("Non-zero carry");z=Rt,J++}for(var st=ot-z;st!==ot&&pt[st]===0;)st++;for(var dt=b.repeat(Y);st<ot;++st)dt+=n.charAt(pt[st]);return dt}function x(D){if(typeof D!="string")throw new TypeError("Expected String");if(D.length===0)return t.alloc(0);for(var Y=0,z=0,J=0;D[Y]===b;)z++,Y++;for(var q=(D.length-Y)*N+1>>>0,ot=new Uint8Array(q);Y<D.length;){var pt=D.charCodeAt(Y);if(pt>255)return;var ft=e[pt];if(ft===255)return;for(var Rt=0,At=q-1;(ft!==0||Rt<J)&&At!==-1;At--,Rt++)ft+=l*ot[At]>>>0,ot[At]=ft%256>>>0,ft=ft/256>>>0;if(ft!==0)throw new Error("Non-zero carry");J=Rt,Y++}for(var st=q-J;st!==q&&ot[st]===0;)st++;var dt=t.allocUnsafe(z+(q-st));dt.fill(0,0,z);for(var mt=z;st!==q;)dt[mt++]=ot[st++];return dt}function M(D){var Y=x(D);if(Y)return Y;throw new Error("Non-base"+l+" character")}return{encode:T,decodeUnsafe:x,decode:M}}return Bs=r,Bs}var Ms,$u;function Jd(){if($u)return Ms;$u=1;var t=$d(),r="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";return Ms=t(r),Ms}function or(t,r,n){return r<=t&&t<=n}function Ro(t){if(t===void 0)return{};if(t===Object(t))return t;throw TypeError("Could not convert argument to dictionary")}function Qd(t){for(var r=String(t),n=r.length,e=0,u=[];e<n;){var a=r.charCodeAt(e);if(a<55296||a>57343)u.push(a);else if(56320<=a&&a<=57343)u.push(65533);else if(55296<=a&&a<=56319)if(e===n-1)u.push(65533);else{var d=t.charCodeAt(e+1);if(56320<=d&&d<=57343){var y=a&1023,l=d&1023;u.push(65536+(y<<10)+l),e+=1}else u.push(65533)}e+=1}return u}function t1(t){for(var r="",n=0;n<t.length;++n){var e=t[n];e<=65535?r+=String.fromCharCode(e):(e-=65536,r+=String.fromCharCode((e>>10)+55296,(e&1023)+56320))}return r}var Ao=-1;function ks(t){this.tokens=[].slice.call(t)}ks.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():Ao},prepend:function(t){if(Array.isArray(t))for(var r=t;r.length;)this.tokens.unshift(r.pop());else this.tokens.unshift(t)},push:function(t){if(Array.isArray(t))for(var r=t;r.length;)this.tokens.push(r.shift());else this.tokens.push(t)}};var ni=-1;function Us(t,r){if(t)throw TypeError("Decoder error");return r||65533}var So="utf-8";function Io(t,r){if(!(this instanceof Io))return new Io(t,r);if(t=t!==void 0?String(t).toLowerCase():So,t!==So)throw new Error("Encoding not supported. Only utf-8 is supported");r=Ro(r),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=!!r.fatal,this._ignoreBOM=!!r.ignoreBOM,Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}Io.prototype={decode:function(r,n){var e;typeof r=="object"&&r instanceof ArrayBuffer?e=new Uint8Array(r):typeof r=="object"&&"buffer"in r&&r.buffer instanceof ArrayBuffer?e=new Uint8Array(r.buffer,r.byteOffset,r.byteLength):e=new Uint8Array(0),n=Ro(n),this._streaming||(this._decoder=new e1({fatal:this._fatal}),this._BOMseen=!1),this._streaming=!!n.stream;for(var u=new ks(e),a=[],d;!u.endOfStream()&&(d=this._decoder.handler(u,u.read()),d!==ni);)d!==null&&(Array.isArray(d)?a.push.apply(a,d):a.push(d));if(!this._streaming){do{if(d=this._decoder.handler(u,u.read()),d===ni)break;d!==null&&(Array.isArray(d)?a.push.apply(a,d):a.push(d))}while(!u.endOfStream());this._decoder=null}return a.length&&["utf-8"].indexOf(this.encoding)!==-1&&!this._ignoreBOM&&!this._BOMseen&&(a[0]===65279?(this._BOMseen=!0,a.shift()):this._BOMseen=!0),t1(a)}};function Oo(t,r){if(!(this instanceof Oo))return new Oo(t,r);if(t=t!==void 0?String(t).toLowerCase():So,t!==So)throw new Error("Encoding not supported. Only utf-8 is supported");r=Ro(r),this._streaming=!1,this._encoder=null,this._options={fatal:!!r.fatal},Object.defineProperty(this,"encoding",{value:"utf-8"})}Oo.prototype={encode:function(r,n){r=r?String(r):"",n=Ro(n),this._streaming||(this._encoder=new n1(this._options)),this._streaming=!!n.stream;for(var e=[],u=new ks(Qd(r)),a;!u.endOfStream()&&(a=this._encoder.handler(u,u.read()),a!==ni);)Array.isArray(a)?e.push.apply(e,a):e.push(a);if(!this._streaming){for(;a=this._encoder.handler(u,u.read()),a!==ni;)Array.isArray(a)?e.push.apply(e,a):e.push(a);this._encoder=null}return new Uint8Array(e)}};function e1(t){var r=t.fatal,n=0,e=0,u=0,a=128,d=191;this.handler=function(y,l){if(l===Ao&&u!==0)return u=0,Us(r);if(l===Ao)return ni;if(u===0){if(or(l,0,127))return l;if(or(l,194,223))u=1,n=l-192;else if(or(l,224,239))l===224&&(a=160),l===237&&(d=159),u=2,n=l-224;else if(or(l,240,244))l===240&&(a=144),l===244&&(d=143),u=3,n=l-240;else return Us(r);return n=n<<6*u,null}if(!or(l,a,d))return n=u=e=0,a=128,d=191,y.prepend(l),Us(r);if(a=128,d=191,e+=1,n+=l-128<<6*(u-e),e!==u)return null;var b=n;return n=u=e=0,b}}function n1(t){t.fatal,this.handler=function(r,n){if(n===Ao)return ni;if(or(n,0,127))return n;var e,u;or(n,128,2047)?(e=1,u=192):or(n,2048,65535)?(e=2,u=224):or(n,65536,1114111)&&(e=3,u=240);for(var a=[(n>>6*e)+u];e>0;){var d=n>>6*(e-1);a.push(128|d&63),e-=1}return a}}const r1=hs(Object.freeze(Object.defineProperty({__proto__:null,TextDecoder:Io,TextEncoder:Oo},Symbol.toStringTag,{value:"Module"})));var Ju;function i1(){if(Ju)return Ue;Ju=1;var t=Ue&&Ue.__createBinding||(Object.create?(function(st,dt,mt,wt){wt===void 0&&(wt=mt),Object.defineProperty(st,wt,{enumerable:!0,get:function(){return dt[mt]}})}):(function(st,dt,mt,wt){wt===void 0&&(wt=mt),st[wt]=dt[mt]})),r=Ue&&Ue.__setModuleDefault||(Object.create?(function(st,dt){Object.defineProperty(st,"default",{enumerable:!0,value:dt})}):function(st,dt){st.default=dt}),n=Ue&&Ue.__decorate||function(st,dt,mt,wt){var P=arguments.length,f=P<3?dt:wt===null?wt=Object.getOwnPropertyDescriptor(dt,mt):wt,S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")f=Reflect.decorate(st,dt,mt,wt);else for(var U=st.length-1;U>=0;U--)(S=st[U])&&(f=(P<3?S(f):P>3?S(dt,mt,f):S(dt,mt))||f);return P>3&&f&&Object.defineProperty(dt,mt,f),f},e=Ue&&Ue.__importStar||function(st){if(st&&st.__esModule)return st;var dt={};if(st!=null)for(var mt in st)mt!=="default"&&Object.hasOwnProperty.call(st,mt)&&t(dt,st,mt);return r(dt,st),dt},u=Ue&&Ue.__importDefault||function(st){return st&&st.__esModule?st:{default:st}};Object.defineProperty(Ue,"__esModule",{value:!0}),Ue.deserializeUnchecked=Ue.deserialize=Ue.serialize=Ue.BinaryReader=Ue.BinaryWriter=Ue.BorshError=Ue.baseDecode=Ue.baseEncode=void 0;const a=u(ju()),d=u(Jd()),y=e(r1),l=typeof TextDecoder!="function"?y.TextDecoder:TextDecoder,b=new l("utf-8",{fatal:!0});function N(st){return typeof st=="string"&&(st=Buffer.from(st,"utf8")),d.default.encode(Buffer.from(st))}Ue.baseEncode=N;function L(st){return Buffer.from(d.default.decode(st))}Ue.baseDecode=L;const T=1024;class x extends Error{constructor(dt){super(dt),this.fieldPath=[],this.originalMessage=dt}addToFieldPath(dt){this.fieldPath.splice(0,0,dt),this.message=this.originalMessage+": "+this.fieldPath.join(".")}}Ue.BorshError=x;class M{constructor(){this.buf=Buffer.alloc(T),this.length=0}maybeResize(){this.buf.length<16+this.length&&(this.buf=Buffer.concat([this.buf,Buffer.alloc(T)]))}writeU8(dt){this.maybeResize(),this.buf.writeUInt8(dt,this.length),this.length+=1}writeU16(dt){this.maybeResize(),this.buf.writeUInt16LE(dt,this.length),this.length+=2}writeU32(dt){this.maybeResize(),this.buf.writeUInt32LE(dt,this.length),this.length+=4}writeU64(dt){this.maybeResize(),this.writeBuffer(Buffer.from(new a.default(dt).toArray("le",8)))}writeU128(dt){this.maybeResize(),this.writeBuffer(Buffer.from(new a.default(dt).toArray("le",16)))}writeU256(dt){this.maybeResize(),this.writeBuffer(Buffer.from(new a.default(dt).toArray("le",32)))}writeU512(dt){this.maybeResize(),this.writeBuffer(Buffer.from(new a.default(dt).toArray("le",64)))}writeBuffer(dt){this.buf=Buffer.concat([Buffer.from(this.buf.subarray(0,this.length)),dt,Buffer.alloc(T)]),this.length+=dt.length}writeString(dt){this.maybeResize();const mt=Buffer.from(dt,"utf8");this.writeU32(mt.length),this.writeBuffer(mt)}writeFixedArray(dt){this.writeBuffer(Buffer.from(dt))}writeArray(dt,mt){this.maybeResize(),this.writeU32(dt.length);for(const wt of dt)this.maybeResize(),mt(wt)}toArray(){return this.buf.subarray(0,this.length)}}Ue.BinaryWriter=M;function D(st,dt,mt){const wt=mt.value;mt.value=function(...P){try{return wt.apply(this,P)}catch(f){if(f instanceof RangeError){const S=f.code;if(["ERR_BUFFER_OUT_OF_BOUNDS","ERR_OUT_OF_RANGE"].indexOf(S)>=0)throw new x("Reached the end of buffer when deserializing")}throw f}}}class Y{constructor(dt){this.buf=dt,this.offset=0}readU8(){const dt=this.buf.readUInt8(this.offset);return this.offset+=1,dt}readU16(){const dt=this.buf.readUInt16LE(this.offset);return this.offset+=2,dt}readU32(){const dt=this.buf.readUInt32LE(this.offset);return this.offset+=4,dt}readU64(){const dt=this.readBuffer(8);return new a.default(dt,"le")}readU128(){const dt=this.readBuffer(16);return new a.default(dt,"le")}readU256(){const dt=this.readBuffer(32);return new a.default(dt,"le")}readU512(){const dt=this.readBuffer(64);return new a.default(dt,"le")}readBuffer(dt){if(this.offset+dt>this.buf.length)throw new x(`Expected buffer length ${dt} isn't within bounds`);const mt=this.buf.slice(this.offset,this.offset+dt);return this.offset+=dt,mt}readString(){const dt=this.readU32(),mt=this.readBuffer(dt);try{return b.decode(mt)}catch(wt){throw new x(`Error decoding UTF-8 string: ${wt}`)}}readFixedArray(dt){return new Uint8Array(this.readBuffer(dt))}readArray(dt){const mt=this.readU32(),wt=Array();for(let P=0;P<mt;++P)wt.push(dt());return wt}}n([D],Y.prototype,"readU8",null),n([D],Y.prototype,"readU16",null),n([D],Y.prototype,"readU32",null),n([D],Y.prototype,"readU64",null),n([D],Y.prototype,"readU128",null),n([D],Y.prototype,"readU256",null),n([D],Y.prototype,"readU512",null),n([D],Y.prototype,"readString",null),n([D],Y.prototype,"readFixedArray",null),n([D],Y.prototype,"readArray",null),Ue.BinaryReader=Y;function z(st){return st.charAt(0).toUpperCase()+st.slice(1)}function J(st,dt,mt,wt,P){try{if(typeof wt=="string")P[`write${z(wt)}`](mt);else if(wt instanceof Array)if(typeof wt[0]=="number"){if(mt.length!==wt[0])throw new x(`Expecting byte array of length ${wt[0]}, but got ${mt.length} bytes`);P.writeFixedArray(mt)}else if(wt.length===2&&typeof wt[1]=="number"){if(mt.length!==wt[1])throw new x(`Expecting byte array of length ${wt[1]}, but got ${mt.length} bytes`);for(let f=0;f<wt[1];f++)J(st,null,mt[f],wt[0],P)}else P.writeArray(mt,f=>{J(st,dt,f,wt[0],P)});else if(wt.kind!==void 0)switch(wt.kind){case"option":{mt==null?P.writeU8(0):(P.writeU8(1),J(st,dt,mt,wt.type,P));break}case"map":{P.writeU32(mt.size),mt.forEach((f,S)=>{J(st,dt,S,wt.key,P),J(st,dt,f,wt.value,P)});break}default:throw new x(`FieldType ${wt} unrecognized`)}else q(st,mt,P)}catch(f){throw f instanceof x&&f.addToFieldPath(dt),f}}function q(st,dt,mt){if(typeof dt.borshSerialize=="function"){dt.borshSerialize(mt);return}const wt=st.get(dt.constructor);if(!wt)throw new x(`Class ${dt.constructor.name} is missing in schema`);if(wt.kind==="struct")wt.fields.map(([P,f])=>{J(st,P,dt[P],f,mt)});else if(wt.kind==="enum"){const P=dt[wt.field];for(let f=0;f<wt.values.length;++f){const[S,U]=wt.values[f];if(S===P){mt.writeU8(f),J(st,S,dt[S],U,mt);break}}}else throw new x(`Unexpected schema kind: ${wt.kind} for ${dt.constructor.name}`)}function ot(st,dt,mt=M){const wt=new mt;return q(st,dt,wt),wt.toArray()}Ue.serialize=ot;function pt(st,dt,mt,wt){try{if(typeof mt=="string")return wt[`read${z(mt)}`]();if(mt instanceof Array){if(typeof mt[0]=="number")return wt.readFixedArray(mt[0]);if(typeof mt[1]=="number"){const P=[];for(let f=0;f<mt[1];f++)P.push(pt(st,null,mt[0],wt));return P}else return wt.readArray(()=>pt(st,dt,mt[0],wt))}if(mt.kind==="option")return wt.readU8()?pt(st,dt,mt.type,wt):void 0;if(mt.kind==="map"){let P=new Map;const f=wt.readU32();for(let S=0;S<f;S++){const U=pt(st,dt,mt.key,wt),W=pt(st,dt,mt.value,wt);P.set(U,W)}return P}return ft(st,mt,wt)}catch(P){throw P instanceof x&&P.addToFieldPath(dt),P}}function ft(st,dt,mt){if(typeof dt.borshDeserialize=="function")return dt.borshDeserialize(mt);const wt=st.get(dt);if(!wt)throw new x(`Class ${dt.name} is missing in schema`);if(wt.kind==="struct"){const P={};for(const[f,S]of st.get(dt).fields)P[f]=pt(st,f,S,mt);return new dt(P)}if(wt.kind==="enum"){const P=mt.readU8();if(P>=wt.values.length)throw new x(`Enum index: ${P} is out of range`);const[f,S]=wt.values[P],U=pt(st,f,S,mt);return new dt({[f]:U})}throw new x(`Unexpected schema kind: ${wt.kind} for ${dt.constructor.name}`)}function Rt(st,dt,mt,wt=Y){const P=new wt(mt),f=ft(st,dt,P);if(P.offset<mt.length)throw new x(`Unexpected ${mt.length-P.offset} bytes after deserialized data`);return f}Ue.deserialize=Rt;function At(st,dt,mt,wt=Y){const P=new wt(mt);return ft(st,dt,P)}return Ue.deserializeUnchecked=At,Ue}var Ds=i1(),Ot={},Qu;function o1(){if(Qu)return Ot;Qu=1,Object.defineProperty(Ot,"__esModule",{value:!0}),Ot.s16=Ot.s8=Ot.nu64be=Ot.u48be=Ot.u40be=Ot.u32be=Ot.u24be=Ot.u16be=Ot.nu64=Ot.u48=Ot.u40=Ot.u32=Ot.u24=Ot.u16=Ot.u8=Ot.offset=Ot.greedy=Ot.Constant=Ot.UTF8=Ot.CString=Ot.Blob=Ot.Boolean=Ot.BitField=Ot.BitStructure=Ot.VariantLayout=Ot.Union=Ot.UnionLayoutDiscriminator=Ot.UnionDiscriminator=Ot.Structure=Ot.Sequence=Ot.DoubleBE=Ot.Double=Ot.FloatBE=Ot.Float=Ot.NearInt64BE=Ot.NearInt64=Ot.NearUInt64BE=Ot.NearUInt64=Ot.IntBE=Ot.Int=Ot.UIntBE=Ot.UInt=Ot.OffsetLayout=Ot.GreedyCount=Ot.ExternalLayout=Ot.bindConstructorLayout=Ot.nameWithProperty=Ot.Layout=Ot.uint8ArrayToBuffer=Ot.checkUint8Array=void 0,Ot.constant=Ot.utf8=Ot.cstr=Ot.blob=Ot.unionLayoutDiscriminator=Ot.union=Ot.seq=Ot.bits=Ot.struct=Ot.f64be=Ot.f64=Ot.f32be=Ot.f32=Ot.ns64be=Ot.s48be=Ot.s40be=Ot.s32be=Ot.s24be=Ot.s16be=Ot.ns64=Ot.s48=Ot.s40=Ot.s32=Ot.s24=void 0;const t=vs();function r(h){if(!(h instanceof Uint8Array))throw new TypeError("b must be a Uint8Array")}Ot.checkUint8Array=r;function n(h){return r(h),t.Buffer.from(h.buffer,h.byteOffset,h.length)}Ot.uint8ArrayToBuffer=n;let e=class{constructor(_,j){if(!Number.isInteger(_))throw new TypeError("span must be an integer");this.span=_,this.property=j}makeDestinationObject(){return{}}getSpan(_,j){if(0>this.span)throw new RangeError("indeterminate span");return this.span}replicate(_){const j=Object.create(this.constructor.prototype);return Object.assign(j,this),j.property=_,j}fromArray(_){}};Ot.Layout=e;function u(h,_){return _.property?h+"["+_.property+"]":h}Ot.nameWithProperty=u;function a(h,_){if(typeof h!="function")throw new TypeError("Class must be constructor");if(Object.prototype.hasOwnProperty.call(h,"layout_"))throw new Error("Class is already bound to a layout");if(!(_&&_ instanceof e))throw new TypeError("layout must be a Layout");if(Object.prototype.hasOwnProperty.call(_,"boundConstructor_"))throw new Error("layout is already bound to a constructor");h.layout_=_,_.boundConstructor_=h,_.makeDestinationObject=(()=>new h),Object.defineProperty(h.prototype,"encode",{value(j,K){return _.encode(this,j,K)},writable:!0}),Object.defineProperty(h,"decode",{value(j,K){return _.decode(j,K)},writable:!0})}Ot.bindConstructorLayout=a;class d extends e{isCount(){throw new Error("ExternalLayout is abstract")}}Ot.ExternalLayout=d;class y extends d{constructor(_=1,j){if(!Number.isInteger(_)||0>=_)throw new TypeError("elementSpan must be a (positive) integer");super(-1,j),this.elementSpan=_}isCount(){return!0}decode(_,j=0){r(_);const K=_.length-j;return Math.floor(K/this.elementSpan)}encode(_,j,K){return 0}}Ot.GreedyCount=y;class l extends d{constructor(_,j=0,K){if(!(_ instanceof e))throw new TypeError("layout must be a Layout");if(!Number.isInteger(j))throw new TypeError("offset must be integer or undefined");super(_.span,K||_.property),this.layout=_,this.offset=j}isCount(){return this.layout instanceof b||this.layout instanceof N}decode(_,j=0){return this.layout.decode(_,j+this.offset)}encode(_,j,K=0){return this.layout.encode(_,j,K+this.offset)}}Ot.OffsetLayout=l;class b extends e{constructor(_,j){if(super(_,j),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(_,j=0){return n(_).readUIntLE(j,this.span)}encode(_,j,K=0){return n(j).writeUIntLE(_,K,this.span),this.span}}Ot.UInt=b;class N extends e{constructor(_,j){if(super(_,j),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(_,j=0){return n(_).readUIntBE(j,this.span)}encode(_,j,K=0){return n(j).writeUIntBE(_,K,this.span),this.span}}Ot.UIntBE=N;class L extends e{constructor(_,j){if(super(_,j),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(_,j=0){return n(_).readIntLE(j,this.span)}encode(_,j,K=0){return n(j).writeIntLE(_,K,this.span),this.span}}Ot.Int=L;class T extends e{constructor(_,j){if(super(_,j),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(_,j=0){return n(_).readIntBE(j,this.span)}encode(_,j,K=0){return n(j).writeIntBE(_,K,this.span),this.span}}Ot.IntBE=T;const x=Math.pow(2,32);function M(h){const _=Math.floor(h/x),j=h-_*x;return{hi32:_,lo32:j}}function D(h,_){return h*x+_}class Y extends e{constructor(_){super(8,_)}decode(_,j=0){const K=n(_),ht=K.readUInt32LE(j),St=K.readUInt32LE(j+4);return D(St,ht)}encode(_,j,K=0){const ht=M(_),St=n(j);return St.writeUInt32LE(ht.lo32,K),St.writeUInt32LE(ht.hi32,K+4),8}}Ot.NearUInt64=Y;class z extends e{constructor(_){super(8,_)}decode(_,j=0){const K=n(_),ht=K.readUInt32BE(j),St=K.readUInt32BE(j+4);return D(ht,St)}encode(_,j,K=0){const ht=M(_),St=n(j);return St.writeUInt32BE(ht.hi32,K),St.writeUInt32BE(ht.lo32,K+4),8}}Ot.NearUInt64BE=z;class J extends e{constructor(_){super(8,_)}decode(_,j=0){const K=n(_),ht=K.readUInt32LE(j),St=K.readInt32LE(j+4);return D(St,ht)}encode(_,j,K=0){const ht=M(_),St=n(j);return St.writeUInt32LE(ht.lo32,K),St.writeInt32LE(ht.hi32,K+4),8}}Ot.NearInt64=J;class q extends e{constructor(_){super(8,_)}decode(_,j=0){const K=n(_),ht=K.readInt32BE(j),St=K.readUInt32BE(j+4);return D(ht,St)}encode(_,j,K=0){const ht=M(_),St=n(j);return St.writeInt32BE(ht.hi32,K),St.writeUInt32BE(ht.lo32,K+4),8}}Ot.NearInt64BE=q;class ot extends e{constructor(_){super(4,_)}decode(_,j=0){return n(_).readFloatLE(j)}encode(_,j,K=0){return n(j).writeFloatLE(_,K),4}}Ot.Float=ot;class pt extends e{constructor(_){super(4,_)}decode(_,j=0){return n(_).readFloatBE(j)}encode(_,j,K=0){return n(j).writeFloatBE(_,K),4}}Ot.FloatBE=pt;class ft extends e{constructor(_){super(8,_)}decode(_,j=0){return n(_).readDoubleLE(j)}encode(_,j,K=0){return n(j).writeDoubleLE(_,K),8}}Ot.Double=ft;class Rt extends e{constructor(_){super(8,_)}decode(_,j=0){return n(_).readDoubleBE(j)}encode(_,j,K=0){return n(j).writeDoubleBE(_,K),8}}Ot.DoubleBE=Rt;class At extends e{constructor(_,j,K){if(!(_ instanceof e))throw new TypeError("elementLayout must be a Layout");if(!(j instanceof d&&j.isCount()||Number.isInteger(j)&&0<=j))throw new TypeError("count must be non-negative integer or an unsigned integer ExternalLayout");let ht=-1;!(j instanceof d)&&0<_.span&&(ht=j*_.span),super(ht,K),this.elementLayout=_,this.count=j}getSpan(_,j=0){if(0<=this.span)return this.span;let K=0,ht=this.count;if(ht instanceof d&&(ht=ht.decode(_,j)),0<this.elementLayout.span)K=ht*this.elementLayout.span;else{let St=0;for(;St<ht;)K+=this.elementLayout.getSpan(_,j+K),++St}return K}decode(_,j=0){const K=[];let ht=0,St=this.count;for(St instanceof d&&(St=St.decode(_,j));ht<St;)K.push(this.elementLayout.decode(_,j)),j+=this.elementLayout.getSpan(_,j),ht+=1;return K}encode(_,j,K=0){const ht=this.elementLayout,St=_.reduce((Ft,Zt)=>Ft+ht.encode(Zt,j,K+Ft),0);return this.count instanceof d&&this.count.encode(_.length,j,K),St}}Ot.Sequence=At;class st extends e{constructor(_,j,K){if(!(Array.isArray(_)&&_.reduce((St,Ft)=>St&&Ft instanceof e,!0)))throw new TypeError("fields must be array of Layout instances");typeof j=="boolean"&&K===void 0&&(K=j,j=void 0);for(const St of _)if(0>St.span&&St.property===void 0)throw new Error("fields cannot contain unnamed variable-length layout");let ht=-1;try{ht=_.reduce((St,Ft)=>St+Ft.getSpan(),0)}catch{}super(ht,j),this.fields=_,this.decodePrefixes=!!K}getSpan(_,j=0){if(0<=this.span)return this.span;let K=0;try{K=this.fields.reduce((ht,St)=>{const Ft=St.getSpan(_,j);return j+=Ft,ht+Ft},0)}catch{throw new RangeError("indeterminate span")}return K}decode(_,j=0){r(_);const K=this.makeDestinationObject();for(const ht of this.fields)if(ht.property!==void 0&&(K[ht.property]=ht.decode(_,j)),j+=ht.getSpan(_,j),this.decodePrefixes&&_.length===j)break;return K}encode(_,j,K=0){const ht=K;let St=0,Ft=0;for(const Zt of this.fields){let de=Zt.span;if(Ft=0<de?de:0,Zt.property!==void 0){const ye=_[Zt.property];ye!==void 0&&(Ft=Zt.encode(ye,j,K),0>de&&(de=Zt.getSpan(j,K)))}St=K,K+=de}return St+Ft-ht}fromArray(_){const j=this.makeDestinationObject();for(const K of this.fields)K.property!==void 0&&0<_.length&&(j[K.property]=_.shift());return j}layoutFor(_){if(typeof _!="string")throw new TypeError("property must be string");for(const j of this.fields)if(j.property===_)return j}offsetOf(_){if(typeof _!="string")throw new TypeError("property must be string");let j=0;for(const K of this.fields){if(K.property===_)return j;0>K.span?j=-1:0<=j&&(j+=K.span)}}}Ot.Structure=st;class dt{constructor(_){this.property=_}decode(_,j){throw new Error("UnionDiscriminator is abstract")}encode(_,j,K){throw new Error("UnionDiscriminator is abstract")}}Ot.UnionDiscriminator=dt;class mt extends dt{constructor(_,j){if(!(_ instanceof d&&_.isCount()))throw new TypeError("layout must be an unsigned integer ExternalLayout");super(j||_.property||"variant"),this.layout=_}decode(_,j){return this.layout.decode(_,j)}encode(_,j,K){return this.layout.encode(_,j,K)}}Ot.UnionLayoutDiscriminator=mt;class wt extends e{constructor(_,j,K){let ht;if(_ instanceof b||_ instanceof N)ht=new mt(new l(_));else if(_ instanceof d&&_.isCount())ht=new mt(_);else if(_ instanceof dt)ht=_;else throw new TypeError("discr must be a UnionDiscriminator or an unsigned integer layout");if(j===void 0&&(j=null),!(j===null||j instanceof e))throw new TypeError("defaultLayout must be null or a Layout");if(j!==null){if(0>j.span)throw new Error("defaultLayout must have constant span");j.property===void 0&&(j=j.replicate("content"))}let St=-1;j&&(St=j.span,0<=St&&(_ instanceof b||_ instanceof N)&&(St+=ht.layout.span)),super(St,K),this.discriminator=ht,this.usesPrefixDiscriminator=_ instanceof b||_ instanceof N,this.defaultLayout=j,this.registry={};let Ft=this.defaultGetSourceVariant.bind(this);this.getSourceVariant=function(Zt){return Ft(Zt)},this.configGetSourceVariant=function(Zt){Ft=Zt.bind(this)}}getSpan(_,j=0){if(0<=this.span)return this.span;const K=this.getVariant(_,j);if(!K)throw new Error("unable to determine span for unrecognized variant");return K.getSpan(_,j)}defaultGetSourceVariant(_){if(Object.prototype.hasOwnProperty.call(_,this.discriminator.property)){if(this.defaultLayout&&this.defaultLayout.property&&Object.prototype.hasOwnProperty.call(_,this.defaultLayout.property))return;const j=this.registry[_[this.discriminator.property]];if(j&&(!j.layout||j.property&&Object.prototype.hasOwnProperty.call(_,j.property)))return j}else for(const j in this.registry){const K=this.registry[j];if(K.property&&Object.prototype.hasOwnProperty.call(_,K.property))return K}throw new Error("unable to infer src variant")}decode(_,j=0){let K;const ht=this.discriminator,St=ht.decode(_,j),Ft=this.registry[St];if(Ft===void 0){const Zt=this.defaultLayout;let de=0;this.usesPrefixDiscriminator&&(de=ht.layout.span),K=this.makeDestinationObject(),K[ht.property]=St,K[Zt.property]=Zt.decode(_,j+de)}else K=Ft.decode(_,j);return K}encode(_,j,K=0){const ht=this.getSourceVariant(_);if(ht===void 0){const St=this.discriminator,Ft=this.defaultLayout;let Zt=0;return this.usesPrefixDiscriminator&&(Zt=St.layout.span),St.encode(_[St.property],j,K),Zt+Ft.encode(_[Ft.property],j,K+Zt)}return ht.encode(_,j,K)}addVariant(_,j,K){const ht=new P(this,_,j,K);return this.registry[_]=ht,ht}getVariant(_,j=0){let K;return _ instanceof Uint8Array?K=this.discriminator.decode(_,j):K=_,this.registry[K]}}Ot.Union=wt;class P extends e{constructor(_,j,K,ht){if(!(_ instanceof wt))throw new TypeError("union must be a Union");if(!Number.isInteger(j)||0>j)throw new TypeError("variant must be a (non-negative) integer");if(typeof K=="string"&&ht===void 0&&(ht=K,K=null),K){if(!(K instanceof e))throw new TypeError("layout must be a Layout");if(_.defaultLayout!==null&&0<=K.span&&K.span>_.defaultLayout.span)throw new Error("variant span exceeds span of containing union");if(typeof ht!="string")throw new TypeError("variant must have a String property")}let St=_.span;0>_.span&&(St=K?K.span:0,0<=St&&_.usesPrefixDiscriminator&&(St+=_.discriminator.layout.span)),super(St,ht),this.union=_,this.variant=j,this.layout=K||null}getSpan(_,j=0){if(0<=this.span)return this.span;let K=0;this.union.usesPrefixDiscriminator&&(K=this.union.discriminator.layout.span);let ht=0;return this.layout&&(ht=this.layout.getSpan(_,j+K)),K+ht}decode(_,j=0){const K=this.makeDestinationObject();if(this!==this.union.getVariant(_,j))throw new Error("variant mismatch");let ht=0;return this.union.usesPrefixDiscriminator&&(ht=this.union.discriminator.layout.span),this.layout?K[this.property]=this.layout.decode(_,j+ht):this.property?K[this.property]=!0:this.union.usesPrefixDiscriminator&&(K[this.union.discriminator.property]=this.variant),K}encode(_,j,K=0){let ht=0;if(this.union.usesPrefixDiscriminator&&(ht=this.union.discriminator.layout.span),this.layout&&!Object.prototype.hasOwnProperty.call(_,this.property))throw new TypeError("variant lacks property "+this.property);this.union.discriminator.encode(this.variant,j,K);let St=ht;if(this.layout&&(this.layout.encode(_[this.property],j,K+ht),St+=this.layout.getSpan(j,K+ht),0<=this.union.span&&St>this.union.span))throw new Error("encoded variant overruns containing union");return St}fromArray(_){if(this.layout)return this.layout.fromArray(_)}}Ot.VariantLayout=P;function f(h){return 0>h&&(h+=4294967296),h}class S extends e{constructor(_,j,K){if(!(_ instanceof b||_ instanceof N))throw new TypeError("word must be a UInt or UIntBE layout");if(typeof j=="string"&&K===void 0&&(K=j,j=!1),4<_.span)throw new RangeError("word cannot exceed 32 bits");super(_.span,K),this.word=_,this.msb=!!j,this.fields=[];let ht=0;this._packedSetValue=function(St){return ht=f(St),this},this._packedGetValue=function(){return ht}}decode(_,j=0){const K=this.makeDestinationObject(),ht=this.word.decode(_,j);this._packedSetValue(ht);for(const St of this.fields)St.property!==void 0&&(K[St.property]=St.decode(_));return K}encode(_,j,K=0){const ht=this.word.decode(j,K);this._packedSetValue(ht);for(const St of this.fields)if(St.property!==void 0){const Ft=_[St.property];Ft!==void 0&&St.encode(Ft)}return this.word.encode(this._packedGetValue(),j,K)}addField(_,j){const K=new U(this,_,j);return this.fields.push(K),K}addBoolean(_){const j=new W(this,_);return this.fields.push(j),j}fieldFor(_){if(typeof _!="string")throw new TypeError("property must be string");for(const j of this.fields)if(j.property===_)return j}}Ot.BitStructure=S;class U{constructor(_,j,K){if(!(_ instanceof S))throw new TypeError("container must be a BitStructure");if(!Number.isInteger(j)||0>=j)throw new TypeError("bits must be positive integer");const ht=8*_.span,St=_.fields.reduce((Ft,Zt)=>Ft+Zt.bits,0);if(j+St>ht)throw new Error("bits too long for span remainder ("+(ht-St)+" of "+ht+" remain)");this.container=_,this.bits=j,this.valueMask=(1<<j)-1,j===32&&(this.valueMask=4294967295),this.start=St,this.container.msb&&(this.start=ht-St-j),this.wordMask=f(this.valueMask<<this.start),this.property=K}decode(_,j){const K=this.container._packedGetValue();return f(K&this.wordMask)>>>this.start}encode(_){if(typeof _!="number"||!Number.isInteger(_)||_!==f(_&this.valueMask))throw new TypeError(u("BitField.encode",this)+" value must be integer not exceeding "+this.valueMask);const j=this.container._packedGetValue(),K=f(_<<this.start);this.container._packedSetValue(f(j&~this.wordMask)|K)}}Ot.BitField=U;class W extends U{constructor(_,j){super(_,1,j)}decode(_,j){return!!super.decode(_,j)}encode(_){typeof _=="boolean"&&(_=+_),super.encode(_)}}Ot.Boolean=W;class $ extends e{constructor(_,j){if(!(_ instanceof d&&_.isCount()||Number.isInteger(_)&&0<=_))throw new TypeError("length must be positive integer or an unsigned integer ExternalLayout");let K=-1;_ instanceof d||(K=_),super(K,j),this.length=_}getSpan(_,j){let K=this.span;return 0>K&&(K=this.length.decode(_,j)),K}decode(_,j=0){let K=this.span;return 0>K&&(K=this.length.decode(_,j)),n(_).slice(j,j+K)}encode(_,j,K){let ht=this.length;if(this.length instanceof d&&(ht=_.length),!(_ instanceof Uint8Array&&ht===_.length))throw new TypeError(u("Blob.encode",this)+" requires (length "+ht+") Uint8Array as src");if(K+ht>j.length)throw new RangeError("encoding overruns Uint8Array");const St=n(_);return n(j).write(St.toString("hex"),K,ht,"hex"),this.length instanceof d&&this.length.encode(ht,j,K),ht}}Ot.Blob=$;class et extends e{constructor(_){super(-1,_)}getSpan(_,j=0){r(_);let K=j;for(;K<_.length&&_[K]!==0;)K+=1;return 1+K-j}decode(_,j=0){const K=this.getSpan(_,j);return n(_).slice(j,j+K-1).toString("utf-8")}encode(_,j,K=0){typeof _!="string"&&(_=String(_));const ht=t.Buffer.from(_,"utf8"),St=ht.length;if(K+St>j.length)throw new RangeError("encoding overruns Buffer");const Ft=n(j);return ht.copy(Ft,K),Ft[K+St]=0,St+1}}Ot.CString=et;class ut extends e{constructor(_,j){if(typeof _=="string"&&j===void 0&&(j=_,_=void 0),_===void 0)_=-1;else if(!Number.isInteger(_))throw new TypeError("maxSpan must be an integer");super(-1,j),this.maxSpan=_}getSpan(_,j=0){return r(_),_.length-j}decode(_,j=0){const K=this.getSpan(_,j);if(0<=this.maxSpan&&this.maxSpan<K)throw new RangeError("text length exceeds maxSpan");return n(_).slice(j,j+K).toString("utf-8")}encode(_,j,K=0){typeof _!="string"&&(_=String(_));const ht=t.Buffer.from(_,"utf8"),St=ht.length;if(0<=this.maxSpan&&this.maxSpan<St)throw new RangeError("text length exceeds maxSpan");if(K+St>j.length)throw new RangeError("encoding overruns Buffer");return ht.copy(n(j),K),St}}Ot.UTF8=ut;class Z extends e{constructor(_,j){super(0,j),this.value=_}decode(_,j){return this.value}encode(_,j,K){return 0}}return Ot.Constant=Z,Ot.greedy=((h,_)=>new y(h,_)),Ot.offset=((h,_,j)=>new l(h,_,j)),Ot.u8=(h=>new b(1,h)),Ot.u16=(h=>new b(2,h)),Ot.u24=(h=>new b(3,h)),Ot.u32=(h=>new b(4,h)),Ot.u40=(h=>new b(5,h)),Ot.u48=(h=>new b(6,h)),Ot.nu64=(h=>new Y(h)),Ot.u16be=(h=>new N(2,h)),Ot.u24be=(h=>new N(3,h)),Ot.u32be=(h=>new N(4,h)),Ot.u40be=(h=>new N(5,h)),Ot.u48be=(h=>new N(6,h)),Ot.nu64be=(h=>new z(h)),Ot.s8=(h=>new L(1,h)),Ot.s16=(h=>new L(2,h)),Ot.s24=(h=>new L(3,h)),Ot.s32=(h=>new L(4,h)),Ot.s40=(h=>new L(5,h)),Ot.s48=(h=>new L(6,h)),Ot.ns64=(h=>new J(h)),Ot.s16be=(h=>new T(2,h)),Ot.s24be=(h=>new T(3,h)),Ot.s32be=(h=>new T(4,h)),Ot.s40be=(h=>new T(5,h)),Ot.s48be=(h=>new T(6,h)),Ot.ns64be=(h=>new q(h)),Ot.f32=(h=>new ot(h)),Ot.f32be=(h=>new pt(h)),Ot.f64=(h=>new ft(h)),Ot.f64be=(h=>new Rt(h)),Ot.struct=((h,_,j)=>new st(h,_,j)),Ot.bits=((h,_,j)=>new S(h,_,j)),Ot.seq=((h,_,j)=>new At(h,_,j)),Ot.union=((h,_,j)=>new wt(h,_,j)),Ot.unionLayoutDiscriminator=((h,_)=>new mt(h,_)),Ot.blob=((h,_)=>new $(h,_)),Ot.cstr=(h=>new et(h)),Ot.utf8=((h,_)=>new ut(h,_)),Ot.constant=((h,_)=>new Z(h,_)),Ot}var lt=o1(),s1=1,a1=2,u1=3,c1=4,f1=5,l1=6,d1=7,h1=8,p1=9,v1=10,g1=-32700,m1=-32603,y1=-32602,w1=-32601,E1=-32600,b1=-32016,_1=-32015,R1=-32014,A1=-32013,S1=-32012,I1=-32011,O1=-32010,N1=-32009,T1=-32008,x1=-32007,L1=-32006,C1=-32005,B1=-32004,M1=-32003,k1=-32002,U1=-32001,D1=28e5,P1=2800001,F1=2800002,V1=2800003,H1=2800004,G1=2800005,j1=2800006,Y1=2800007,z1=2800008,W1=2800009,Z1=2800010,K1=2800011,X1=323e4,q1=32300001,$1=3230002,J1=3230003,Q1=3230004,th=361e4,eh=3610001,nh=3610002,rh=3610003,ih=3610004,oh=3610005,sh=3610006,ah=3610007,uh=3611e3,ch=3704e3,fh=3704001,lh=3704002,dh=3704003,hh=3704004,ph=4128e3,vh=4128001,gh=4128002,mh=4615e3,yh=4615001,wh=4615002,Eh=4615003,bh=4615004,_h=4615005,Rh=4615006,Ah=4615007,Sh=4615008,Ih=4615009,Oh=4615010,Nh=4615011,Th=4615012,xh=4615013,Lh=4615014,Ch=4615015,Bh=4615016,Mh=4615017,kh=4615018,Uh=4615019,Dh=4615020,Ph=4615021,Fh=4615022,Vh=4615023,Hh=4615024,Gh=4615025,jh=4615026,Yh=4615027,zh=4615028,Wh=4615029,Zh=4615030,Kh=4615031,Xh=4615032,qh=4615033,$h=4615034,Jh=4615035,Qh=4615036,t2=4615037,e2=4615038,n2=4615039,r2=4615040,i2=4615041,o2=4615042,s2=4615043,a2=4615044,u2=4615045,c2=4615046,f2=4615047,l2=4615048,d2=4615049,h2=4615050,p2=4615051,v2=4615052,g2=4615053,m2=4615054,y2=5508e3,w2=5508001,E2=5508002,b2=5508003,_2=5508004,R2=5508005,A2=5508006,S2=5508007,I2=5508008,O2=5508009,N2=5508010,T2=5508011,x2=5663e3,L2=5663001,C2=5663002,B2=5663003,M2=5663004,k2=5663005,U2=5663006,D2=5663007,P2=5663008,F2=5663009,V2=5663010,H2=5663011,G2=5663012,j2=5663013,Y2=5663014,z2=5663015,W2=5663016,Z2=5663017,K2=5663018,X2=5663019,q2=5663020,$2=705e4,J2=7050001,Q2=7050002,tp=7050003,ep=7050004,np=7050005,rp=7050006,ip=7050007,op=7050008,sp=7050009,ap=7050010,up=7050011,cp=7050012,fp=7050013,lp=7050014,dp=7050015,hp=7050016,pp=7050017,vp=7050018,gp=7050019,mp=7050020,yp=7050021,wp=7050022,Ep=7050023,bp=7050024,_p=7050025,Rp=7050026,Ap=7050027,Sp=7050028,Ip=7050029,Op=7050030,Np=7050031,Tp=7050032,xp=7050033,Lp=7050034,Cp=7050035,Bp=7050036,tc=8078e3,ec=8078001,Mp=8078002,kp=8078003,nc=8078004,rc=8078005,ic=8078006,Up=8078007,Dp=8078008,Pp=8078009,Fp=8078010,oc=8078011,Vp=8078012,Hp=8078013,Gp=8078014,jp=8078015,Yp=8078016,zp=8078017,Wp=8078018,Zp=8078019,Kp=8078020,Xp=8078021,qp=8078022,$p=81e5,Jp=8100001,Qp=8100002,tv=8100003,ev=819e4,nv=8190001,rv=8190002,iv=8190003,ov=8190004,sv=99e5,av=9900001,uv=9900002,cv=9900003,fv=9900004;function sc(t){return Array.isArray(t)?"%5B"+t.map(sc).join("%2C%20")+"%5D":typeof t=="bigint"?`${t}n`:encodeURIComponent(String(t!=null&&Object.getPrototypeOf(t)===null?{...t}:t))}function lv([t,r]){return`${t}=${sc(r)}`}function dv(t){const r=Object.entries(t).map(lv).join("&");return btoa(r)}var hv={[X1]:"Account not found at address: $address",[Q1]:"Not all accounts were decoded. Encoded accounts found at addresses: $addresses.",[J1]:"Expected decoded account at address: $address",[$1]:"Failed to decode account data at address: $address",[q1]:"Accounts not found at addresses: $addresses",[W1]:"Unable to find a viable program address bump seed.",[F1]:"$putativeAddress is not a base58-encoded address.",[D1]:"Expected base58 encoded address to decode to a byte array of length 32. Actual length: $actualLength.",[V1]:"The `CryptoKey` must be an `Ed25519` public key.",[K1]:"$putativeOffCurveAddress is not a base58-encoded off-curve address.",[z1]:"Invalid seeds; point must fall off the Ed25519 curve.",[H1]:"Expected given program derived address to have the following format: [Address, ProgramDerivedAddressBump].",[j1]:"A maximum of $maxSeeds seeds, including the bump seed, may be supplied when creating an address. Received: $actual.",[Y1]:"The seed at index $index with length $actual exceeds the maximum length of $maxSeedLength bytes.",[G1]:"Expected program derived address bump to be in the range [0, 255], got: $bump.",[Z1]:"Program address cannot end with PDA marker.",[P1]:"Expected base58-encoded address string of length in the range [32, 44]. Actual length: $actualLength.",[c1]:"Expected base58-encoded blockash string of length in the range [32, 44]. Actual length: $actualLength.",[s1]:"The network has progressed past the last block for which this transaction could have been committed.",[tc]:"Codec [$codecDescription] cannot decode empty byte arrays.",[qp]:"Enum codec cannot use lexical values [$stringValues] as discriminators. Either remove all lexical values or set `useValuesAsDiscriminators` to `false`.",[Kp]:"Sentinel [$hexSentinel] must not be present in encoded bytes [$hexEncodedBytes].",[rc]:"Encoder and decoder must have the same fixed size, got [$encoderFixedSize] and [$decoderFixedSize].",[ic]:"Encoder and decoder must have the same max size, got [$encoderMaxSize] and [$decoderMaxSize].",[nc]:"Encoder and decoder must either both be fixed-size or variable-size.",[Dp]:"Enum discriminator out of range. Expected a number in [$formattedValidDiscriminators], got $discriminator.",[Mp]:"Expected a fixed-size codec, got a variable-size one.",[Hp]:"Codec [$codecDescription] expected a positive byte length, got $bytesLength.",[kp]:"Expected a variable-size codec, got a fixed-size one.",[Zp]:"Codec [$codecDescription] expected zero-value [$hexZeroValue] to have the same size as the provided fixed-size item [$expectedSize bytes].",[ec]:"Codec [$codecDescription] expected $expected bytes, got $bytesLength.",[Wp]:"Expected byte array constant [$hexConstant] to be present in data [$hexData] at offset [$offset].",[Pp]:"Invalid discriminated union variant. Expected one of [$variants], got $value.",[Fp]:"Invalid enum variant. Expected one of [$stringValues] or a number in [$formattedNumericalValues], got $variant.",[jp]:"Invalid literal union variant. Expected one of [$variants], got $value.",[Up]:"Expected [$codecDescription] to have $expected items, got $actual.",[Vp]:"Invalid value $value for base $base with alphabet $alphabet.",[Yp]:"Literal union discriminator out of range. Expected a number between $minRange and $maxRange, got $discriminator.",[oc]:"Codec [$codecDescription] expected number to be in the range [$min, $max], got $value.",[Gp]:"Codec [$codecDescription] expected offset to be in the range [0, $bytesLength], got $offset.",[Xp]:"Expected sentinel [$hexSentinel] to be present in decoded bytes [$hexDecodedBytes].",[zp]:"Union variant out of range. Expected an index between $minRange and $maxRange, got $variant.",[uh]:"No random values implementation could be found.",[Ih]:"instruction requires an uninitialized account",[Vh]:"instruction tries to borrow reference for an account which is already borrowed",[Hh]:"instruction left account with an outstanding borrowed reference",[Ph]:"program other than the account's owner changed the size of the account data",[_h]:"account data too small for instruction",[Fh]:"instruction expected an executable account",[c2]:"An account does not have enough lamports to be rent-exempt",[l2]:"Program arithmetic overflowed",[u2]:"Failed to serialize or deserialize account data: $encodedData",[m2]:"Builtin programs must consume compute units",[Xh]:"Cross-program invocation call depth too deep",[e2]:"Computational budget exceeded",[jh]:"custom program error: #$code",[Mh]:"instruction contains duplicate accounts",[Gh]:"instruction modifications of multiply-passed account differ",[Zh]:"executable accounts must be rent exempt",[zh]:"instruction changed executable accounts data",[Wh]:"instruction changed the balance of an executable account",[kh]:"instruction changed executable bit of an account",[Lh]:"instruction modified data of an account it does not own",[xh]:"instruction spent from the balance of an account it does not own",[yh]:"generic instruction error",[h2]:"Provided owner is not allowed",[s2]:"Account is immutable",[a2]:"Incorrect authority provided",[Ah]:"incorrect program id for instruction",[Rh]:"insufficient funds for instruction",[bh]:"invalid account data for instruction",[f2]:"Invalid account owner",[wh]:"invalid program argument",[Yh]:"program returned invalid error code",[Eh]:"invalid instruction data",[t2]:"Failed to reallocate account data",[Qh]:"Provided seeds do not result in a valid address",[p2]:"Accounts data allocations exceeded the maximum allowed per transaction",[v2]:"Max accounts exceeded",[g2]:"Max instruction trace length exceeded",[Jh]:"Length of the seed is too long for address generation",[qh]:"An account required by the instruction is missing",[Sh]:"missing required signature for instruction",[Th]:"instruction illegally modified the program id of an account",[Dh]:"insufficient account keys for instruction",[n2]:"Cross-program invocation with unauthorized signer or writable account",[r2]:"Failed to create program execution environment",[o2]:"Program failed to compile",[i2]:"Program failed to complete",[Bh]:"instruction modified data of a read-only account",[Ch]:"instruction changed the balance of a read-only account",[$h]:"Cross-program invocation reentrancy not allowed for this instruction",[Uh]:"instruction modified rent epoch of an account",[Nh]:"sum of account balances before and after instruction do not match",[Oh]:"instruction requires an initialized account",[mh]:"",[Kh]:"Unsupported program id",[d2]:"Unsupported sysvar",[ph]:"The instruction does not have any accounts.",[vh]:"The instruction does not have any data.",[gh]:"Expected instruction to have progress address $expectedProgramAddress, got $actualProgramAddress.",[f1]:"Expected base58 encoded blockhash to decode to a byte array of length 32. Actual length: $actualLength.",[a1]:"The nonce `$expectedNonceValue` is no longer valid. It has advanced to `$actualNonceValue`",[uv]:"Invariant violation: Found no abortable iterable cache entry for key `$cacheKey`. It should be impossible to hit this error; please file an issue at https://sola.na/web3invariant",[fv]:"Invariant violation: This data publisher does not publish to the channel named `$channelName`. Supported channels include $supportedChannelNames.",[av]:"Invariant violation: WebSocket message iterator state is corrupt; iterated without first resolving existing message promise. It should be impossible to hit this error; please file an issue at https://sola.na/web3invariant",[sv]:"Invariant violation: WebSocket message iterator is missing state storage. It should be impossible to hit this error; please file an issue at https://sola.na/web3invariant",[cv]:"Invariant violation: Switch statement non-exhaustive. Received unexpected value `$unexpectedValue`. It should be impossible to hit this error; please file an issue at https://sola.na/web3invariant",[m1]:"JSON-RPC error: Internal JSON-RPC error ($__serverMessage)",[y1]:"JSON-RPC error: Invalid method parameter(s) ($__serverMessage)",[E1]:"JSON-RPC error: The JSON sent is not a valid `Request` object ($__serverMessage)",[w1]:"JSON-RPC error: The method does not exist / is not available ($__serverMessage)",[g1]:"JSON-RPC error: An error occurred on the server while parsing the JSON text ($__serverMessage)",[S1]:"$__serverMessage",[U1]:"$__serverMessage",[B1]:"$__serverMessage",[R1]:"$__serverMessage",[O1]:"$__serverMessage",[N1]:"$__serverMessage",[b1]:"Minimum context slot has not been reached",[C1]:"Node is unhealthy; behind by $numSlotsBehind slots",[T1]:"No snapshot",[k1]:"Transaction simulation failed",[x1]:"$__serverMessage",[I1]:"Transaction history is not available from this node",[L1]:"$__serverMessage",[A1]:"Transaction signature length mismatch",[M1]:"Transaction signature verification failure",[_1]:"$__serverMessage",[ch]:"Key pair bytes must be of length 64, got $byteLength.",[fh]:"Expected private key bytes with length 32. Actual length: $actualLength.",[lh]:"Expected base58-encoded signature to decode to a byte array of length 64. Actual length: $actualLength.",[hh]:"The provided private key does not match the provided public key.",[dh]:"Expected base58-encoded signature string of length in the range [64, 88]. Actual length: $actualLength.",[l1]:"Lamports value must be in the range [0, 2e64-1]",[d1]:"`$value` cannot be parsed as a `BigInt`",[v1]:"$message",[h1]:"`$value` cannot be parsed as a `Number`",[u1]:"No nonce account could be found at address `$nonceAccountAddress`",[ev]:"The notification name must end in 'Notifications' and the API must supply a subscription plan creator function for the notification '$notificationName'.",[rv]:"WebSocket was closed before payload could be added to the send buffer",[iv]:"WebSocket connection closed",[ov]:"WebSocket failed to connect",[nv]:"Failed to obtain a subscription id from the server",[tv]:"Could not find an API plan for RPC method: `$method`",[$p]:"The $argumentLabel argument to the `$methodName` RPC method$optionalPathLabel was `$value`. This number is unsafe for use with the Solana JSON-RPC because it exceeds `Number.MAX_SAFE_INTEGER`.",[Qp]:"HTTP error ($statusCode): $message",[Jp]:"HTTP header(s) forbidden: $headers. Learn more at https://developer.mozilla.org/en-US/docs/Glossary/Forbidden_header_name.",[y2]:"Multiple distinct signers were identified for address `$address`. Please ensure that you are using the same signer instance for each address.",[w2]:"The provided value does not implement the `KeyPairSigner` interface",[b2]:"The provided value does not implement the `MessageModifyingSigner` interface",[_2]:"The provided value does not implement the `MessagePartialSigner` interface",[E2]:"The provided value does not implement any of the `MessageSigner` interfaces",[A2]:"The provided value does not implement the `TransactionModifyingSigner` interface",[S2]:"The provided value does not implement the `TransactionPartialSigner` interface",[I2]:"The provided value does not implement the `TransactionSendingSigner` interface",[R2]:"The provided value does not implement any of the `TransactionSigner` interfaces",[O2]:"More than one `TransactionSendingSigner` was identified.",[N2]:"No `TransactionSendingSigner` was identified. Please provide a valid `TransactionWithSingleSendingSigner` transaction.",[T2]:"Wallet account signers do not support signing multiple messages/transactions in a single operation",[ah]:"Cannot export a non-extractable key.",[eh]:"No digest implementation could be found.",[th]:"Cryptographic operations are only allowed in secure browser contexts. Read more here: https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts.",[nh]:`This runtime does not support the generation of Ed25519 key pairs.
1
+ (function(re,jt){typeof exports=="object"&&typeof module<"u"?jt(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],jt):(re=typeof globalThis<"u"?globalThis:re||self,jt(re.VueTypeWriter={},re.Vue))})(this,(function(re,jt){"use strict";var Ka=(t=>(t.USER="user",t.BUSINESS="business",t.FIRST_PARTY="firstParty",t))(Ka||{}),Xa=(t=>(t.ASAP="asap",t.SAME_DAY="same_day",t.STANDARD="standard",t.CARD="card",t.IBAN="iban",t.PIX="pix",t.EFT="eft",t.VENMO="venmo",t.PAYPAL="paypal",t.WIRE="wire",t.INTERAC="interac",t))(Xa||{}),qa=(t=>(t.Credits="Credits",t.USDC="USDC",t.Bank="Bank",t))(qa||{});function Gl(t){return"cardToken"in t}function jl(t){return"disableSavedPaymentMethods"in t}var $a=(t=>(t.Rounded="rounded",t.Sharp="sharp",t.Pill="pill",t))($a||{}),Ja=(t=>(t.GUEST="guest",t.PRIVATE="private",t.BUSINESS="business",t))(Ja||{}),Qa=(t=>(t.NoPreference="NoPreference",t.Frictionless="Frictionless",t.Challenge="Challenge",t))(Qa||{}),tu=(t=>(t.card="card",t.ach="ach",t.fasterPayments="fasterPayments",t.sepa="sepa",t.pix="pix",t.usdc="usdc",t.googlePay="googlePay",t.applePay="applePay",t.credits="credits",t.crypto="crypto",t.wire="wire",t.cashApp="cashApp",t.rain="rain",t))(tu||{});const Yl={card:"Card",ach:"ACH",fasterPayments:"Faster Payments",sepa:"SEPA",pix:"PIX",usdc:"USDC",googlePay:"Google Pay",applePay:"Apple Pay",credits:"Credits",crypto:"Crypto",wire:"Wire Transfer",cashApp:"CashApp",rain:"Rain"};var qr=(t=>(t.VISA="VISA",t.MASTERCARD="MSTR",t.AMEX="AMEX",t.DISCOVER="DISC",t))(qr||{});const zl="rnredirect";function ds(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function hs(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var n=t.default;if(typeof n=="function"){var r=function e(){var u=!1;try{u=this instanceof e}catch{}return u?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};r.prototype=n.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(e){var u=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,u.get?u:{enumerable:!0,get:function(){return t[e]}})}),r}var ps={},Ri={},eu;function Wl(){if(eu)return Ri;eu=1,Ri.byteLength=E,Ri.toByteArray=b,Ri.fromByteArray=T;for(var t=[],n=[],r=typeof Uint8Array<"u"?Uint8Array:Array,e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,a=e.length;u<a;++u)t[u]=e[u],n[e.charCodeAt(u)]=u;n[45]=62,n[95]=63;function d(L){var M=L.length;if(M%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var D=L.indexOf("=");D===-1&&(D=M);var Y=D===M?0:4-D%4;return[D,Y]}function E(L){var M=d(L),D=M[0],Y=M[1];return(D+Y)*3/4-Y}function l(L,M,D){return(M+D)*3/4-D}function b(L){var M,D=d(L),Y=D[0],z=D[1],J=new r(l(L,Y,z)),q=0,ot=z>0?Y-4:Y,pt;for(pt=0;pt<ot;pt+=4)M=n[L.charCodeAt(pt)]<<18|n[L.charCodeAt(pt+1)]<<12|n[L.charCodeAt(pt+2)]<<6|n[L.charCodeAt(pt+3)],J[q++]=M>>16&255,J[q++]=M>>8&255,J[q++]=M&255;return z===2&&(M=n[L.charCodeAt(pt)]<<2|n[L.charCodeAt(pt+1)]>>4,J[q++]=M&255),z===1&&(M=n[L.charCodeAt(pt)]<<10|n[L.charCodeAt(pt+1)]<<4|n[L.charCodeAt(pt+2)]>>2,J[q++]=M>>8&255,J[q++]=M&255),J}function N(L){return t[L>>18&63]+t[L>>12&63]+t[L>>6&63]+t[L&63]}function x(L,M,D){for(var Y,z=[],J=M;J<D;J+=3)Y=(L[J]<<16&16711680)+(L[J+1]<<8&65280)+(L[J+2]&255),z.push(N(Y));return z.join("")}function T(L){for(var M,D=L.length,Y=D%3,z=[],J=16383,q=0,ot=D-Y;q<ot;q+=J)z.push(x(L,q,q+J>ot?ot:q+J));return Y===1?(M=L[D-1],z.push(t[M>>2]+t[M<<4&63]+"==")):Y===2&&(M=(L[D-2]<<8)+L[D-1],z.push(t[M>>10]+t[M>>4&63]+t[M<<2&63]+"=")),z.join("")}return Ri}var lo={};var nu;function Zl(){return nu||(nu=1,lo.read=function(t,n,r,e,u){var a,d,E=u*8-e-1,l=(1<<E)-1,b=l>>1,N=-7,x=r?u-1:0,T=r?-1:1,L=t[n+x];for(x+=T,a=L&(1<<-N)-1,L>>=-N,N+=E;N>0;a=a*256+t[n+x],x+=T,N-=8);for(d=a&(1<<-N)-1,a>>=-N,N+=e;N>0;d=d*256+t[n+x],x+=T,N-=8);if(a===0)a=1-b;else{if(a===l)return d?NaN:(L?-1:1)*(1/0);d=d+Math.pow(2,e),a=a-b}return(L?-1:1)*d*Math.pow(2,a-e)},lo.write=function(t,n,r,e,u,a){var d,E,l,b=a*8-u-1,N=(1<<b)-1,x=N>>1,T=u===23?Math.pow(2,-24)-Math.pow(2,-77):0,L=e?0:a-1,M=e?1:-1,D=n<0||n===0&&1/n<0?1:0;for(n=Math.abs(n),isNaN(n)||n===1/0?(E=isNaN(n)?1:0,d=N):(d=Math.floor(Math.log(n)/Math.LN2),n*(l=Math.pow(2,-d))<1&&(d--,l*=2),d+x>=1?n+=T/l:n+=T*Math.pow(2,1-x),n*l>=2&&(d++,l/=2),d+x>=N?(E=0,d=N):d+x>=1?(E=(n*l-1)*Math.pow(2,u),d=d+x):(E=n*Math.pow(2,x-1)*Math.pow(2,u),d=0));u>=8;t[r+L]=E&255,L+=M,E/=256,u-=8);for(d=d<<u|E,b+=u;b>0;t[r+L]=d&255,L+=M,d/=256,b-=8);t[r+L-M]|=D*128}),lo}var ru;function vs(){return ru||(ru=1,(function(t){const n=Wl(),r=Zl(),e=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=E,t.SlowBuffer=J,t.INSPECT_MAX_BYTES=50;const u=2147483647;t.kMaxLength=u,E.TYPED_ARRAY_SUPPORT=a(),!E.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function a(){try{const F=new Uint8Array(1),R={foo:function(){return 42}};return Object.setPrototypeOf(R,Uint8Array.prototype),Object.setPrototypeOf(F,R),F.foo()===42}catch{return!1}}Object.defineProperty(E.prototype,"parent",{enumerable:!0,get:function(){if(E.isBuffer(this))return this.buffer}}),Object.defineProperty(E.prototype,"offset",{enumerable:!0,get:function(){if(E.isBuffer(this))return this.byteOffset}});function d(F){if(F>u)throw new RangeError('The value "'+F+'" is invalid for option "size"');const R=new Uint8Array(F);return Object.setPrototypeOf(R,E.prototype),R}function E(F,R,O){if(typeof F=="number"){if(typeof R=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return x(F)}return l(F,R,O)}E.poolSize=8192;function l(F,R,O){if(typeof F=="string")return T(F,R);if(ArrayBuffer.isView(F))return M(F);if(F==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof F);if(yt(F,ArrayBuffer)||F&&yt(F.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(yt(F,SharedArrayBuffer)||F&&yt(F.buffer,SharedArrayBuffer)))return D(F,R,O);if(typeof F=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const A=F.valueOf&&F.valueOf();if(A!=null&&A!==F)return E.from(A,R,O);const H=Y(F);if(H)return H;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof F[Symbol.toPrimitive]=="function")return E.from(F[Symbol.toPrimitive]("string"),R,O);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof F)}E.from=function(F,R,O){return l(F,R,O)},Object.setPrototypeOf(E.prototype,Uint8Array.prototype),Object.setPrototypeOf(E,Uint8Array);function b(F){if(typeof F!="number")throw new TypeError('"size" argument must be of type number');if(F<0)throw new RangeError('The value "'+F+'" is invalid for option "size"')}function N(F,R,O){return b(F),F<=0?d(F):R!==void 0?typeof O=="string"?d(F).fill(R,O):d(F).fill(R):d(F)}E.alloc=function(F,R,O){return N(F,R,O)};function x(F){return b(F),d(F<0?0:z(F)|0)}E.allocUnsafe=function(F){return x(F)},E.allocUnsafeSlow=function(F){return x(F)};function T(F,R){if((typeof R!="string"||R==="")&&(R="utf8"),!E.isEncoding(R))throw new TypeError("Unknown encoding: "+R);const O=q(F,R)|0;let A=d(O);const H=A.write(F,R);return H!==O&&(A=A.slice(0,H)),A}function L(F){const R=F.length<0?0:z(F.length)|0,O=d(R);for(let A=0;A<R;A+=1)O[A]=F[A]&255;return O}function M(F){if(yt(F,Uint8Array)){const R=new Uint8Array(F);return D(R.buffer,R.byteOffset,R.byteLength)}return L(F)}function D(F,R,O){if(R<0||F.byteLength<R)throw new RangeError('"offset" is outside of buffer bounds');if(F.byteLength<R+(O||0))throw new RangeError('"length" is outside of buffer bounds');let A;return R===void 0&&O===void 0?A=new Uint8Array(F):O===void 0?A=new Uint8Array(F,R):A=new Uint8Array(F,R,O),Object.setPrototypeOf(A,E.prototype),A}function Y(F){if(E.isBuffer(F)){const R=z(F.length)|0,O=d(R);return O.length===0||F.copy(O,0,0,R),O}if(F.length!==void 0)return typeof F.length!="number"||Et(F.length)?d(0):L(F);if(F.type==="Buffer"&&Array.isArray(F.data))return L(F.data)}function z(F){if(F>=u)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+u.toString(16)+" bytes");return F|0}function J(F){return+F!=F&&(F=0),E.alloc(+F)}E.isBuffer=function(R){return R!=null&&R._isBuffer===!0&&R!==E.prototype},E.compare=function(R,O){if(yt(R,Uint8Array)&&(R=E.from(R,R.offset,R.byteLength)),yt(O,Uint8Array)&&(O=E.from(O,O.offset,O.byteLength)),!E.isBuffer(R)||!E.isBuffer(O))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(R===O)return 0;let A=R.length,H=O.length;for(let G=0,it=Math.min(A,H);G<it;++G)if(R[G]!==O[G]){A=R[G],H=O[G];break}return A<H?-1:H<A?1:0},E.isEncoding=function(R){switch(String(R).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},E.concat=function(R,O){if(!Array.isArray(R))throw new TypeError('"list" argument must be an Array of Buffers');if(R.length===0)return E.alloc(0);let A;if(O===void 0)for(O=0,A=0;A<R.length;++A)O+=R[A].length;const H=E.allocUnsafe(O);let G=0;for(A=0;A<R.length;++A){let it=R[A];if(yt(it,Uint8Array))G+it.length>H.length?(E.isBuffer(it)||(it=E.from(it)),it.copy(H,G)):Uint8Array.prototype.set.call(H,it,G);else if(E.isBuffer(it))it.copy(H,G);else throw new TypeError('"list" argument must be an Array of Buffers');G+=it.length}return H};function q(F,R){if(E.isBuffer(F))return F.length;if(ArrayBuffer.isView(F)||yt(F,ArrayBuffer))return F.byteLength;if(typeof F!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof F);const O=F.length,A=arguments.length>2&&arguments[2]===!0;if(!A&&O===0)return 0;let H=!1;for(;;)switch(R){case"ascii":case"latin1":case"binary":return O;case"utf8":case"utf-8":return Te(F).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O*2;case"hex":return O>>>1;case"base64":return V(F).length;default:if(H)return A?-1:Te(F).length;R=(""+R).toLowerCase(),H=!0}}E.byteLength=q;function ot(F,R,O){let A=!1;if((R===void 0||R<0)&&(R=0),R>this.length||((O===void 0||O>this.length)&&(O=this.length),O<=0)||(O>>>=0,R>>>=0,O<=R))return"";for(F||(F="utf8");;)switch(F){case"hex":return et(this,R,O);case"utf8":case"utf-8":return f(this,R,O);case"ascii":return W(this,R,O);case"latin1":case"binary":return $(this,R,O);case"base64":return P(this,R,O);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ut(this,R,O);default:if(A)throw new TypeError("Unknown encoding: "+F);F=(F+"").toLowerCase(),A=!0}}E.prototype._isBuffer=!0;function pt(F,R,O){const A=F[R];F[R]=F[O],F[O]=A}E.prototype.swap16=function(){const R=this.length;if(R%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let O=0;O<R;O+=2)pt(this,O,O+1);return this},E.prototype.swap32=function(){const R=this.length;if(R%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let O=0;O<R;O+=4)pt(this,O,O+3),pt(this,O+1,O+2);return this},E.prototype.swap64=function(){const R=this.length;if(R%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let O=0;O<R;O+=8)pt(this,O,O+7),pt(this,O+1,O+6),pt(this,O+2,O+5),pt(this,O+3,O+4);return this},E.prototype.toString=function(){const R=this.length;return R===0?"":arguments.length===0?f(this,0,R):ot.apply(this,arguments)},E.prototype.toLocaleString=E.prototype.toString,E.prototype.equals=function(R){if(!E.isBuffer(R))throw new TypeError("Argument must be a Buffer");return this===R?!0:E.compare(this,R)===0},E.prototype.inspect=function(){let R="";const O=t.INSPECT_MAX_BYTES;return R=this.toString("hex",0,O).replace(/(.{2})/g,"$1 ").trim(),this.length>O&&(R+=" ... "),"<Buffer "+R+">"},e&&(E.prototype[e]=E.prototype.inspect),E.prototype.compare=function(R,O,A,H,G){if(yt(R,Uint8Array)&&(R=E.from(R,R.offset,R.byteLength)),!E.isBuffer(R))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof R);if(O===void 0&&(O=0),A===void 0&&(A=R?R.length:0),H===void 0&&(H=0),G===void 0&&(G=this.length),O<0||A>R.length||H<0||G>this.length)throw new RangeError("out of range index");if(H>=G&&O>=A)return 0;if(H>=G)return-1;if(O>=A)return 1;if(O>>>=0,A>>>=0,H>>>=0,G>>>=0,this===R)return 0;let it=G-H,Ct=A-O;const Bt=Math.min(it,Ct),Ut=this.slice(H,G),kt=R.slice(O,A);for(let rt=0;rt<Bt;++rt)if(Ut[rt]!==kt[rt]){it=Ut[rt],Ct=kt[rt];break}return it<Ct?-1:Ct<it?1:0};function ft(F,R,O,A,H){if(F.length===0)return-1;if(typeof O=="string"?(A=O,O=0):O>2147483647?O=2147483647:O<-2147483648&&(O=-2147483648),O=+O,Et(O)&&(O=H?0:F.length-1),O<0&&(O=F.length+O),O>=F.length){if(H)return-1;O=F.length-1}else if(O<0)if(H)O=0;else return-1;if(typeof R=="string"&&(R=E.from(R,A)),E.isBuffer(R))return R.length===0?-1:Rt(F,R,O,A,H);if(typeof R=="number")return R=R&255,typeof Uint8Array.prototype.indexOf=="function"?H?Uint8Array.prototype.indexOf.call(F,R,O):Uint8Array.prototype.lastIndexOf.call(F,R,O):Rt(F,[R],O,A,H);throw new TypeError("val must be string, number or Buffer")}function Rt(F,R,O,A,H){let G=1,it=F.length,Ct=R.length;if(A!==void 0&&(A=String(A).toLowerCase(),A==="ucs2"||A==="ucs-2"||A==="utf16le"||A==="utf-16le")){if(F.length<2||R.length<2)return-1;G=2,it/=2,Ct/=2,O/=2}function Bt(kt,rt){return G===1?kt[rt]:kt.readUInt16BE(rt*G)}let Ut;if(H){let kt=-1;for(Ut=O;Ut<it;Ut++)if(Bt(F,Ut)===Bt(R,kt===-1?0:Ut-kt)){if(kt===-1&&(kt=Ut),Ut-kt+1===Ct)return kt*G}else kt!==-1&&(Ut-=Ut-kt),kt=-1}else for(O+Ct>it&&(O=it-Ct),Ut=O;Ut>=0;Ut--){let kt=!0;for(let rt=0;rt<Ct;rt++)if(Bt(F,Ut+rt)!==Bt(R,rt)){kt=!1;break}if(kt)return Ut}return-1}E.prototype.includes=function(R,O,A){return this.indexOf(R,O,A)!==-1},E.prototype.indexOf=function(R,O,A){return ft(this,R,O,A,!0)},E.prototype.lastIndexOf=function(R,O,A){return ft(this,R,O,A,!1)};function At(F,R,O,A){O=Number(O)||0;const H=F.length-O;A?(A=Number(A),A>H&&(A=H)):A=H;const G=R.length;A>G/2&&(A=G/2);let it;for(it=0;it<A;++it){const Ct=parseInt(R.substr(it*2,2),16);if(Et(Ct))return it;F[O+it]=Ct}return it}function st(F,R,O,A){return ct(Te(R,F.length-O),F,O,A)}function lt(F,R,O,A){return ct(g(R),F,O,A)}function mt(F,R,O,A){return ct(V(R),F,O,A)}function wt(F,R,O,A){return ct(k(R,F.length-O),F,O,A)}E.prototype.write=function(R,O,A,H){if(O===void 0)H="utf8",A=this.length,O=0;else if(A===void 0&&typeof O=="string")H=O,A=this.length,O=0;else if(isFinite(O))O=O>>>0,isFinite(A)?(A=A>>>0,H===void 0&&(H="utf8")):(H=A,A=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const G=this.length-O;if((A===void 0||A>G)&&(A=G),R.length>0&&(A<0||O<0)||O>this.length)throw new RangeError("Attempt to write outside buffer bounds");H||(H="utf8");let it=!1;for(;;)switch(H){case"hex":return At(this,R,O,A);case"utf8":case"utf-8":return st(this,R,O,A);case"ascii":case"latin1":case"binary":return lt(this,R,O,A);case"base64":return mt(this,R,O,A);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wt(this,R,O,A);default:if(it)throw new TypeError("Unknown encoding: "+H);H=(""+H).toLowerCase(),it=!0}},E.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function P(F,R,O){return R===0&&O===F.length?n.fromByteArray(F):n.fromByteArray(F.slice(R,O))}function f(F,R,O){O=Math.min(F.length,O);const A=[];let H=R;for(;H<O;){const G=F[H];let it=null,Ct=G>239?4:G>223?3:G>191?2:1;if(H+Ct<=O){let Bt,Ut,kt,rt;switch(Ct){case 1:G<128&&(it=G);break;case 2:Bt=F[H+1],(Bt&192)===128&&(rt=(G&31)<<6|Bt&63,rt>127&&(it=rt));break;case 3:Bt=F[H+1],Ut=F[H+2],(Bt&192)===128&&(Ut&192)===128&&(rt=(G&15)<<12|(Bt&63)<<6|Ut&63,rt>2047&&(rt<55296||rt>57343)&&(it=rt));break;case 4:Bt=F[H+1],Ut=F[H+2],kt=F[H+3],(Bt&192)===128&&(Ut&192)===128&&(kt&192)===128&&(rt=(G&15)<<18|(Bt&63)<<12|(Ut&63)<<6|kt&63,rt>65535&&rt<1114112&&(it=rt))}}it===null?(it=65533,Ct=1):it>65535&&(it-=65536,A.push(it>>>10&1023|55296),it=56320|it&1023),A.push(it),H+=Ct}return U(A)}const S=4096;function U(F){const R=F.length;if(R<=S)return String.fromCharCode.apply(String,F);let O="",A=0;for(;A<R;)O+=String.fromCharCode.apply(String,F.slice(A,A+=S));return O}function W(F,R,O){let A="";O=Math.min(F.length,O);for(let H=R;H<O;++H)A+=String.fromCharCode(F[H]&127);return A}function $(F,R,O){let A="";O=Math.min(F.length,O);for(let H=R;H<O;++H)A+=String.fromCharCode(F[H]);return A}function et(F,R,O){const A=F.length;(!R||R<0)&&(R=0),(!O||O<0||O>A)&&(O=A);let H="";for(let G=R;G<O;++G)H+=Lt[F[G]];return H}function ut(F,R,O){const A=F.slice(R,O);let H="";for(let G=0;G<A.length-1;G+=2)H+=String.fromCharCode(A[G]+A[G+1]*256);return H}E.prototype.slice=function(R,O){const A=this.length;R=~~R,O=O===void 0?A:~~O,R<0?(R+=A,R<0&&(R=0)):R>A&&(R=A),O<0?(O+=A,O<0&&(O=0)):O>A&&(O=A),O<R&&(O=R);const H=this.subarray(R,O);return Object.setPrototypeOf(H,E.prototype),H};function Z(F,R,O){if(F%1!==0||F<0)throw new RangeError("offset is not uint");if(F+R>O)throw new RangeError("Trying to access beyond buffer length")}E.prototype.readUintLE=E.prototype.readUIntLE=function(R,O,A){R=R>>>0,O=O>>>0,A||Z(R,O,this.length);let H=this[R],G=1,it=0;for(;++it<O&&(G*=256);)H+=this[R+it]*G;return H},E.prototype.readUintBE=E.prototype.readUIntBE=function(R,O,A){R=R>>>0,O=O>>>0,A||Z(R,O,this.length);let H=this[R+--O],G=1;for(;O>0&&(G*=256);)H+=this[R+--O]*G;return H},E.prototype.readUint8=E.prototype.readUInt8=function(R,O){return R=R>>>0,O||Z(R,1,this.length),this[R]},E.prototype.readUint16LE=E.prototype.readUInt16LE=function(R,O){return R=R>>>0,O||Z(R,2,this.length),this[R]|this[R+1]<<8},E.prototype.readUint16BE=E.prototype.readUInt16BE=function(R,O){return R=R>>>0,O||Z(R,2,this.length),this[R]<<8|this[R+1]},E.prototype.readUint32LE=E.prototype.readUInt32LE=function(R,O){return R=R>>>0,O||Z(R,4,this.length),(this[R]|this[R+1]<<8|this[R+2]<<16)+this[R+3]*16777216},E.prototype.readUint32BE=E.prototype.readUInt32BE=function(R,O){return R=R>>>0,O||Z(R,4,this.length),this[R]*16777216+(this[R+1]<<16|this[R+2]<<8|this[R+3])},E.prototype.readBigUInt64LE=Yt(function(R){R=R>>>0,Oe(R,"offset");const O=this[R],A=this[R+7];(O===void 0||A===void 0)&&Kt(R,this.length-8);const H=O+this[++R]*2**8+this[++R]*2**16+this[++R]*2**24,G=this[++R]+this[++R]*2**8+this[++R]*2**16+A*2**24;return BigInt(H)+(BigInt(G)<<BigInt(32))}),E.prototype.readBigUInt64BE=Yt(function(R){R=R>>>0,Oe(R,"offset");const O=this[R],A=this[R+7];(O===void 0||A===void 0)&&Kt(R,this.length-8);const H=O*2**24+this[++R]*2**16+this[++R]*2**8+this[++R],G=this[++R]*2**24+this[++R]*2**16+this[++R]*2**8+A;return(BigInt(H)<<BigInt(32))+BigInt(G)}),E.prototype.readIntLE=function(R,O,A){R=R>>>0,O=O>>>0,A||Z(R,O,this.length);let H=this[R],G=1,it=0;for(;++it<O&&(G*=256);)H+=this[R+it]*G;return G*=128,H>=G&&(H-=Math.pow(2,8*O)),H},E.prototype.readIntBE=function(R,O,A){R=R>>>0,O=O>>>0,A||Z(R,O,this.length);let H=O,G=1,it=this[R+--H];for(;H>0&&(G*=256);)it+=this[R+--H]*G;return G*=128,it>=G&&(it-=Math.pow(2,8*O)),it},E.prototype.readInt8=function(R,O){return R=R>>>0,O||Z(R,1,this.length),this[R]&128?(255-this[R]+1)*-1:this[R]},E.prototype.readInt16LE=function(R,O){R=R>>>0,O||Z(R,2,this.length);const A=this[R]|this[R+1]<<8;return A&32768?A|4294901760:A},E.prototype.readInt16BE=function(R,O){R=R>>>0,O||Z(R,2,this.length);const A=this[R+1]|this[R]<<8;return A&32768?A|4294901760:A},E.prototype.readInt32LE=function(R,O){return R=R>>>0,O||Z(R,4,this.length),this[R]|this[R+1]<<8|this[R+2]<<16|this[R+3]<<24},E.prototype.readInt32BE=function(R,O){return R=R>>>0,O||Z(R,4,this.length),this[R]<<24|this[R+1]<<16|this[R+2]<<8|this[R+3]},E.prototype.readBigInt64LE=Yt(function(R){R=R>>>0,Oe(R,"offset");const O=this[R],A=this[R+7];(O===void 0||A===void 0)&&Kt(R,this.length-8);const H=this[R+4]+this[R+5]*2**8+this[R+6]*2**16+(A<<24);return(BigInt(H)<<BigInt(32))+BigInt(O+this[++R]*2**8+this[++R]*2**16+this[++R]*2**24)}),E.prototype.readBigInt64BE=Yt(function(R){R=R>>>0,Oe(R,"offset");const O=this[R],A=this[R+7];(O===void 0||A===void 0)&&Kt(R,this.length-8);const H=(O<<24)+this[++R]*2**16+this[++R]*2**8+this[++R];return(BigInt(H)<<BigInt(32))+BigInt(this[++R]*2**24+this[++R]*2**16+this[++R]*2**8+A)}),E.prototype.readFloatLE=function(R,O){return R=R>>>0,O||Z(R,4,this.length),r.read(this,R,!0,23,4)},E.prototype.readFloatBE=function(R,O){return R=R>>>0,O||Z(R,4,this.length),r.read(this,R,!1,23,4)},E.prototype.readDoubleLE=function(R,O){return R=R>>>0,O||Z(R,8,this.length),r.read(this,R,!0,52,8)},E.prototype.readDoubleBE=function(R,O){return R=R>>>0,O||Z(R,8,this.length),r.read(this,R,!1,52,8)};function h(F,R,O,A,H,G){if(!E.isBuffer(F))throw new TypeError('"buffer" argument must be a Buffer instance');if(R>H||R<G)throw new RangeError('"value" argument is out of bounds');if(O+A>F.length)throw new RangeError("Index out of range")}E.prototype.writeUintLE=E.prototype.writeUIntLE=function(R,O,A,H){if(R=+R,O=O>>>0,A=A>>>0,!H){const Ct=Math.pow(2,8*A)-1;h(this,R,O,A,Ct,0)}let G=1,it=0;for(this[O]=R&255;++it<A&&(G*=256);)this[O+it]=R/G&255;return O+A},E.prototype.writeUintBE=E.prototype.writeUIntBE=function(R,O,A,H){if(R=+R,O=O>>>0,A=A>>>0,!H){const Ct=Math.pow(2,8*A)-1;h(this,R,O,A,Ct,0)}let G=A-1,it=1;for(this[O+G]=R&255;--G>=0&&(it*=256);)this[O+G]=R/it&255;return O+A},E.prototype.writeUint8=E.prototype.writeUInt8=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,1,255,0),this[O]=R&255,O+1},E.prototype.writeUint16LE=E.prototype.writeUInt16LE=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,2,65535,0),this[O]=R&255,this[O+1]=R>>>8,O+2},E.prototype.writeUint16BE=E.prototype.writeUInt16BE=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,2,65535,0),this[O]=R>>>8,this[O+1]=R&255,O+2},E.prototype.writeUint32LE=E.prototype.writeUInt32LE=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,4,4294967295,0),this[O+3]=R>>>24,this[O+2]=R>>>16,this[O+1]=R>>>8,this[O]=R&255,O+4},E.prototype.writeUint32BE=E.prototype.writeUInt32BE=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,4,4294967295,0),this[O]=R>>>24,this[O+1]=R>>>16,this[O+2]=R>>>8,this[O+3]=R&255,O+4};function _(F,R,O,A,H){ye(R,A,H,F,O,7);let G=Number(R&BigInt(4294967295));F[O++]=G,G=G>>8,F[O++]=G,G=G>>8,F[O++]=G,G=G>>8,F[O++]=G;let it=Number(R>>BigInt(32)&BigInt(4294967295));return F[O++]=it,it=it>>8,F[O++]=it,it=it>>8,F[O++]=it,it=it>>8,F[O++]=it,O}function j(F,R,O,A,H){ye(R,A,H,F,O,7);let G=Number(R&BigInt(4294967295));F[O+7]=G,G=G>>8,F[O+6]=G,G=G>>8,F[O+5]=G,G=G>>8,F[O+4]=G;let it=Number(R>>BigInt(32)&BigInt(4294967295));return F[O+3]=it,it=it>>8,F[O+2]=it,it=it>>8,F[O+1]=it,it=it>>8,F[O]=it,O+8}E.prototype.writeBigUInt64LE=Yt(function(R,O=0){return _(this,R,O,BigInt(0),BigInt("0xffffffffffffffff"))}),E.prototype.writeBigUInt64BE=Yt(function(R,O=0){return j(this,R,O,BigInt(0),BigInt("0xffffffffffffffff"))}),E.prototype.writeIntLE=function(R,O,A,H){if(R=+R,O=O>>>0,!H){const Bt=Math.pow(2,8*A-1);h(this,R,O,A,Bt-1,-Bt)}let G=0,it=1,Ct=0;for(this[O]=R&255;++G<A&&(it*=256);)R<0&&Ct===0&&this[O+G-1]!==0&&(Ct=1),this[O+G]=(R/it>>0)-Ct&255;return O+A},E.prototype.writeIntBE=function(R,O,A,H){if(R=+R,O=O>>>0,!H){const Bt=Math.pow(2,8*A-1);h(this,R,O,A,Bt-1,-Bt)}let G=A-1,it=1,Ct=0;for(this[O+G]=R&255;--G>=0&&(it*=256);)R<0&&Ct===0&&this[O+G+1]!==0&&(Ct=1),this[O+G]=(R/it>>0)-Ct&255;return O+A},E.prototype.writeInt8=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,1,127,-128),R<0&&(R=255+R+1),this[O]=R&255,O+1},E.prototype.writeInt16LE=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,2,32767,-32768),this[O]=R&255,this[O+1]=R>>>8,O+2},E.prototype.writeInt16BE=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,2,32767,-32768),this[O]=R>>>8,this[O+1]=R&255,O+2},E.prototype.writeInt32LE=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,4,2147483647,-2147483648),this[O]=R&255,this[O+1]=R>>>8,this[O+2]=R>>>16,this[O+3]=R>>>24,O+4},E.prototype.writeInt32BE=function(R,O,A){return R=+R,O=O>>>0,A||h(this,R,O,4,2147483647,-2147483648),R<0&&(R=4294967295+R+1),this[O]=R>>>24,this[O+1]=R>>>16,this[O+2]=R>>>8,this[O+3]=R&255,O+4},E.prototype.writeBigInt64LE=Yt(function(R,O=0){return _(this,R,O,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),E.prototype.writeBigInt64BE=Yt(function(R,O=0){return j(this,R,O,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function K(F,R,O,A,H,G){if(O+A>F.length)throw new RangeError("Index out of range");if(O<0)throw new RangeError("Index out of range")}function ht(F,R,O,A,H){return R=+R,O=O>>>0,H||K(F,R,O,4),r.write(F,R,O,A,23,4),O+4}E.prototype.writeFloatLE=function(R,O,A){return ht(this,R,O,!0,A)},E.prototype.writeFloatBE=function(R,O,A){return ht(this,R,O,!1,A)};function St(F,R,O,A,H){return R=+R,O=O>>>0,H||K(F,R,O,8),r.write(F,R,O,A,52,8),O+8}E.prototype.writeDoubleLE=function(R,O,A){return St(this,R,O,!0,A)},E.prototype.writeDoubleBE=function(R,O,A){return St(this,R,O,!1,A)},E.prototype.copy=function(R,O,A,H){if(!E.isBuffer(R))throw new TypeError("argument should be a Buffer");if(A||(A=0),!H&&H!==0&&(H=this.length),O>=R.length&&(O=R.length),O||(O=0),H>0&&H<A&&(H=A),H===A||R.length===0||this.length===0)return 0;if(O<0)throw new RangeError("targetStart out of bounds");if(A<0||A>=this.length)throw new RangeError("Index out of range");if(H<0)throw new RangeError("sourceEnd out of bounds");H>this.length&&(H=this.length),R.length-O<H-A&&(H=R.length-O+A);const G=H-A;return this===R&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(O,A,H):Uint8Array.prototype.set.call(R,this.subarray(A,H),O),G},E.prototype.fill=function(R,O,A,H){if(typeof R=="string"){if(typeof O=="string"?(H=O,O=0,A=this.length):typeof A=="string"&&(H=A,A=this.length),H!==void 0&&typeof H!="string")throw new TypeError("encoding must be a string");if(typeof H=="string"&&!E.isEncoding(H))throw new TypeError("Unknown encoding: "+H);if(R.length===1){const it=R.charCodeAt(0);(H==="utf8"&&it<128||H==="latin1")&&(R=it)}}else typeof R=="number"?R=R&255:typeof R=="boolean"&&(R=Number(R));if(O<0||this.length<O||this.length<A)throw new RangeError("Out of range index");if(A<=O)return this;O=O>>>0,A=A===void 0?this.length:A>>>0,R||(R=0);let G;if(typeof R=="number")for(G=O;G<A;++G)this[G]=R;else{const it=E.isBuffer(R)?R:E.from(R,H),Ct=it.length;if(Ct===0)throw new TypeError('The value "'+R+'" is invalid for argument "value"');for(G=0;G<A-O;++G)this[G+O]=it[G%Ct]}return this};const Ft={};function Zt(F,R,O){Ft[F]=class extends O{constructor(){super(),Object.defineProperty(this,"message",{value:R.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${F}]`,this.stack,delete this.name}get code(){return F}set code(H){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:H,writable:!0})}toString(){return`${this.name} [${F}]: ${this.message}`}}}Zt("ERR_BUFFER_OUT_OF_BOUNDS",function(F){return F?`${F} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Zt("ERR_INVALID_ARG_TYPE",function(F,R){return`The "${F}" argument must be of type number. Received type ${typeof R}`},TypeError),Zt("ERR_OUT_OF_RANGE",function(F,R,O){let A=`The value of "${F}" is out of range.`,H=O;return Number.isInteger(O)&&Math.abs(O)>2**32?H=de(String(O)):typeof O=="bigint"&&(H=String(O),(O>BigInt(2)**BigInt(32)||O<-(BigInt(2)**BigInt(32)))&&(H=de(H)),H+="n"),A+=` It must be ${R}. Received ${H}`,A},RangeError);function de(F){let R="",O=F.length;const A=F[0]==="-"?1:0;for(;O>=A+4;O-=3)R=`_${F.slice(O-3,O)}${R}`;return`${F.slice(0,O)}${R}`}function me(F,R,O){Oe(R,"offset"),(F[R]===void 0||F[R+O]===void 0)&&Kt(R,F.length-(O+1))}function ye(F,R,O,A,H,G){if(F>O||F<R){const it=typeof R=="bigint"?"n":"";let Ct;throw R===0||R===BigInt(0)?Ct=`>= 0${it} and < 2${it} ** ${(G+1)*8}${it}`:Ct=`>= -(2${it} ** ${(G+1)*8-1}${it}) and < 2 ** ${(G+1)*8-1}${it}`,new Ft.ERR_OUT_OF_RANGE("value",Ct,F)}me(A,H,G)}function Oe(F,R){if(typeof F!="number")throw new Ft.ERR_INVALID_ARG_TYPE(R,"number",F)}function Kt(F,R,O){throw Math.floor(F)!==F?(Oe(F,O),new Ft.ERR_OUT_OF_RANGE("offset","an integer",F)):R<0?new Ft.ERR_BUFFER_OUT_OF_BOUNDS:new Ft.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${R}`,F)}const be=/[^+/0-9A-Za-z-_]/g;function Ye(F){if(F=F.split("=")[0],F=F.trim().replace(be,""),F.length<2)return"";for(;F.length%4!==0;)F=F+"=";return F}function Te(F,R){R=R||1/0;let O;const A=F.length;let H=null;const G=[];for(let it=0;it<A;++it){if(O=F.charCodeAt(it),O>55295&&O<57344){if(!H){if(O>56319){(R-=3)>-1&&G.push(239,191,189);continue}else if(it+1===A){(R-=3)>-1&&G.push(239,191,189);continue}H=O;continue}if(O<56320){(R-=3)>-1&&G.push(239,191,189),H=O;continue}O=(H-55296<<10|O-56320)+65536}else H&&(R-=3)>-1&&G.push(239,191,189);if(H=null,O<128){if((R-=1)<0)break;G.push(O)}else if(O<2048){if((R-=2)<0)break;G.push(O>>6|192,O&63|128)}else if(O<65536){if((R-=3)<0)break;G.push(O>>12|224,O>>6&63|128,O&63|128)}else if(O<1114112){if((R-=4)<0)break;G.push(O>>18|240,O>>12&63|128,O>>6&63|128,O&63|128)}else throw new Error("Invalid code point")}return G}function g(F){const R=[];for(let O=0;O<F.length;++O)R.push(F.charCodeAt(O)&255);return R}function k(F,R){let O,A,H;const G=[];for(let it=0;it<F.length&&!((R-=2)<0);++it)O=F.charCodeAt(it),A=O>>8,H=O%256,G.push(H),G.push(A);return G}function V(F){return n.toByteArray(Ye(F))}function ct(F,R,O,A){let H;for(H=0;H<A&&!(H+O>=R.length||H>=F.length);++H)R[H+O]=F[H];return H}function yt(F,R){return F instanceof R||F!=null&&F.constructor!=null&&F.constructor.name!=null&&F.constructor.name===R.name}function Et(F){return F!==F}const Lt=(function(){const F="0123456789abcdef",R=new Array(256);for(let O=0;O<16;++O){const A=O*16;for(let H=0;H<16;++H)R[A+H]=F[O]+F[H]}return R})();function Yt(F){return typeof BigInt>"u"?te:F}function te(){throw new Error("BigInt not supported")}})(ps)),ps}var Re=vs();const $r=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;function Ai(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function gs(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function Cr(t,...n){if(!Ai(t))throw new Error("Uint8Array expected");if(n.length>0&&!n.includes(t.length))throw new Error("Uint8Array expected of length "+n+", got length="+t.length)}function iu(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");gs(t.outputLen),gs(t.blockLen)}function ho(t,n=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(n&&t.finished)throw new Error("Hash#digest() has already been called")}function Kl(t,n){Cr(t);const r=n.outputLen;if(t.length<r)throw new Error("digestInto() expects output buffer of length at least "+r)}function Jr(...t){for(let n=0;n<t.length;n++)t[n].fill(0)}function ms(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function Kn(t,n){return t<<32-n|t>>>n}const ou=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",Xl=Array.from({length:256},(t,n)=>n.toString(16).padStart(2,"0"));function Br(t){if(Cr(t),ou)return t.toHex();let n="";for(let r=0;r<t.length;r++)n+=Xl[t[r]];return n}const rr={_0:48,_9:57,A:65,F:70,a:97,f:102};function su(t){if(t>=rr._0&&t<=rr._9)return t-rr._0;if(t>=rr.A&&t<=rr.F)return t-(rr.A-10);if(t>=rr.a&&t<=rr.f)return t-(rr.a-10)}function po(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);if(ou)return Uint8Array.fromHex(t);const n=t.length,r=n/2;if(n%2)throw new Error("hex string expected, got unpadded hex of length "+n);const e=new Uint8Array(r);for(let u=0,a=0;u<r;u++,a+=2){const d=su(t.charCodeAt(a)),E=su(t.charCodeAt(a+1));if(d===void 0||E===void 0){const l=t[a]+t[a+1];throw new Error('hex string expected, got non-hex character "'+l+'" at index '+a)}e[u]=d*16+E}return e}function ql(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function ys(t){return typeof t=="string"&&(t=ql(t)),Cr(t),t}function Xn(...t){let n=0;for(let e=0;e<t.length;e++){const u=t[e];Cr(u),n+=u.length}const r=new Uint8Array(n);for(let e=0,u=0;e<t.length;e++){const a=t[e];r.set(a,u),u+=a.length}return r}class au{}function uu(t){const n=e=>t().update(ys(e)).digest(),r=t();return n.outputLen=r.outputLen,n.blockLen=r.blockLen,n.create=()=>t(),n}function ws(t=32){if($r&&typeof $r.getRandomValues=="function")return $r.getRandomValues(new Uint8Array(t));if($r&&typeof $r.randomBytes=="function")return Uint8Array.from($r.randomBytes(t));throw new Error("crypto.getRandomValues must be defined")}function $l(t,n,r,e){if(typeof t.setBigUint64=="function")return t.setBigUint64(n,r,e);const u=BigInt(32),a=BigInt(4294967295),d=Number(r>>u&a),E=Number(r&a),l=e?4:0,b=e?0:4;t.setUint32(n+l,d,e),t.setUint32(n+b,E,e)}function Jl(t,n,r){return t&n^~t&r}function Ql(t,n,r){return t&n^t&r^n&r}class cu extends au{constructor(n,r,e,u){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=n,this.outputLen=r,this.padOffset=e,this.isLE=u,this.buffer=new Uint8Array(n),this.view=ms(this.buffer)}update(n){ho(this),n=ys(n),Cr(n);const{view:r,buffer:e,blockLen:u}=this,a=n.length;for(let d=0;d<a;){const E=Math.min(u-this.pos,a-d);if(E===u){const l=ms(n);for(;u<=a-d;d+=u)this.process(l,d);continue}e.set(n.subarray(d,d+E),this.pos),this.pos+=E,d+=E,this.pos===u&&(this.process(r,0),this.pos=0)}return this.length+=n.length,this.roundClean(),this}digestInto(n){ho(this),Kl(n,this),this.finished=!0;const{buffer:r,view:e,blockLen:u,isLE:a}=this;let{pos:d}=this;r[d++]=128,Jr(this.buffer.subarray(d)),this.padOffset>u-d&&(this.process(e,0),d=0);for(let x=d;x<u;x++)r[x]=0;$l(e,u-8,BigInt(this.length*8),a),this.process(e,0);const E=ms(n),l=this.outputLen;if(l%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const b=l/4,N=this.get();if(b>N.length)throw new Error("_sha2: outputLen bigger than state");for(let x=0;x<b;x++)E.setUint32(4*x,N[x],a)}digest(){const{buffer:n,outputLen:r}=this;this.digestInto(n);const e=n.slice(0,r);return this.destroy(),e}_cloneInto(n){n||(n=new this.constructor),n.set(...this.get());const{blockLen:r,buffer:e,length:u,finished:a,destroyed:d,pos:E}=this;return n.destroyed=d,n.finished=a,n.length=u,n.pos=E,u%r&&n.buffer.set(e),n}clone(){return this._cloneInto()}}const vr=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),yn=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209]),vo=BigInt(2**32-1),fu=BigInt(32);function td(t,n=!1){return n?{h:Number(t&vo),l:Number(t>>fu&vo)}:{h:Number(t>>fu&vo)|0,l:Number(t&vo)|0}}function ed(t,n=!1){const r=t.length;let e=new Uint32Array(r),u=new Uint32Array(r);for(let a=0;a<r;a++){const{h:d,l:E}=td(t[a],n);[e[a],u[a]]=[d,E]}return[e,u]}const lu=(t,n,r)=>t>>>r,du=(t,n,r)=>t<<32-r|n>>>r,Qr=(t,n,r)=>t>>>r|n<<32-r,ti=(t,n,r)=>t<<32-r|n>>>r,go=(t,n,r)=>t<<64-r|n>>>r-32,mo=(t,n,r)=>t>>>r-32|n<<64-r;function ir(t,n,r,e){const u=(n>>>0)+(e>>>0);return{h:t+r+(u/2**32|0)|0,l:u|0}}const nd=(t,n,r)=>(t>>>0)+(n>>>0)+(r>>>0),rd=(t,n,r,e)=>n+r+e+(t/2**32|0)|0,id=(t,n,r,e)=>(t>>>0)+(n>>>0)+(r>>>0)+(e>>>0),od=(t,n,r,e,u)=>n+r+e+u+(t/2**32|0)|0,sd=(t,n,r,e,u)=>(t>>>0)+(n>>>0)+(r>>>0)+(e>>>0)+(u>>>0),ad=(t,n,r,e,u,a)=>n+r+e+u+a+(t/2**32|0)|0,ud=Uint32Array.from([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),gr=new Uint32Array(64);class cd extends cu{constructor(n=32){super(64,n,8,!1),this.A=vr[0]|0,this.B=vr[1]|0,this.C=vr[2]|0,this.D=vr[3]|0,this.E=vr[4]|0,this.F=vr[5]|0,this.G=vr[6]|0,this.H=vr[7]|0}get(){const{A:n,B:r,C:e,D:u,E:a,F:d,G:E,H:l}=this;return[n,r,e,u,a,d,E,l]}set(n,r,e,u,a,d,E,l){this.A=n|0,this.B=r|0,this.C=e|0,this.D=u|0,this.E=a|0,this.F=d|0,this.G=E|0,this.H=l|0}process(n,r){for(let x=0;x<16;x++,r+=4)gr[x]=n.getUint32(r,!1);for(let x=16;x<64;x++){const T=gr[x-15],L=gr[x-2],M=Kn(T,7)^Kn(T,18)^T>>>3,D=Kn(L,17)^Kn(L,19)^L>>>10;gr[x]=D+gr[x-7]+M+gr[x-16]|0}let{A:e,B:u,C:a,D:d,E,F:l,G:b,H:N}=this;for(let x=0;x<64;x++){const T=Kn(E,6)^Kn(E,11)^Kn(E,25),L=N+T+Jl(E,l,b)+ud[x]+gr[x]|0,D=(Kn(e,2)^Kn(e,13)^Kn(e,22))+Ql(e,u,a)|0;N=b,b=l,l=E,E=d+L|0,d=a,a=u,u=e,e=L+D|0}e=e+this.A|0,u=u+this.B|0,a=a+this.C|0,d=d+this.D|0,E=E+this.E|0,l=l+this.F|0,b=b+this.G|0,N=N+this.H|0,this.set(e,u,a,d,E,l,b,N)}roundClean(){Jr(gr)}destroy(){this.set(0,0,0,0,0,0,0,0),Jr(this.buffer)}}const hu=ed(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(t=>BigInt(t))),fd=hu[0],ld=hu[1],mr=new Uint32Array(80),yr=new Uint32Array(80);class dd extends cu{constructor(n=64){super(128,n,16,!1),this.Ah=yn[0]|0,this.Al=yn[1]|0,this.Bh=yn[2]|0,this.Bl=yn[3]|0,this.Ch=yn[4]|0,this.Cl=yn[5]|0,this.Dh=yn[6]|0,this.Dl=yn[7]|0,this.Eh=yn[8]|0,this.El=yn[9]|0,this.Fh=yn[10]|0,this.Fl=yn[11]|0,this.Gh=yn[12]|0,this.Gl=yn[13]|0,this.Hh=yn[14]|0,this.Hl=yn[15]|0}get(){const{Ah:n,Al:r,Bh:e,Bl:u,Ch:a,Cl:d,Dh:E,Dl:l,Eh:b,El:N,Fh:x,Fl:T,Gh:L,Gl:M,Hh:D,Hl:Y}=this;return[n,r,e,u,a,d,E,l,b,N,x,T,L,M,D,Y]}set(n,r,e,u,a,d,E,l,b,N,x,T,L,M,D,Y){this.Ah=n|0,this.Al=r|0,this.Bh=e|0,this.Bl=u|0,this.Ch=a|0,this.Cl=d|0,this.Dh=E|0,this.Dl=l|0,this.Eh=b|0,this.El=N|0,this.Fh=x|0,this.Fl=T|0,this.Gh=L|0,this.Gl=M|0,this.Hh=D|0,this.Hl=Y|0}process(n,r){for(let q=0;q<16;q++,r+=4)mr[q]=n.getUint32(r),yr[q]=n.getUint32(r+=4);for(let q=16;q<80;q++){const ot=mr[q-15]|0,pt=yr[q-15]|0,ft=Qr(ot,pt,1)^Qr(ot,pt,8)^lu(ot,pt,7),Rt=ti(ot,pt,1)^ti(ot,pt,8)^du(ot,pt,7),At=mr[q-2]|0,st=yr[q-2]|0,lt=Qr(At,st,19)^go(At,st,61)^lu(At,st,6),mt=ti(At,st,19)^mo(At,st,61)^du(At,st,6),wt=id(Rt,mt,yr[q-7],yr[q-16]),P=od(wt,ft,lt,mr[q-7],mr[q-16]);mr[q]=P|0,yr[q]=wt|0}let{Ah:e,Al:u,Bh:a,Bl:d,Ch:E,Cl:l,Dh:b,Dl:N,Eh:x,El:T,Fh:L,Fl:M,Gh:D,Gl:Y,Hh:z,Hl:J}=this;for(let q=0;q<80;q++){const ot=Qr(x,T,14)^Qr(x,T,18)^go(x,T,41),pt=ti(x,T,14)^ti(x,T,18)^mo(x,T,41),ft=x&L^~x&D,Rt=T&M^~T&Y,At=sd(J,pt,Rt,ld[q],yr[q]),st=ad(At,z,ot,ft,fd[q],mr[q]),lt=At|0,mt=Qr(e,u,28)^go(e,u,34)^go(e,u,39),wt=ti(e,u,28)^mo(e,u,34)^mo(e,u,39),P=e&a^e&E^a&E,f=u&d^u&l^d&l;z=D|0,J=Y|0,D=L|0,Y=M|0,L=x|0,M=T|0,{h:x,l:T}=ir(b|0,N|0,st|0,lt|0),b=E|0,N=l|0,E=a|0,l=d|0,a=e|0,d=u|0;const S=nd(lt,wt,f);e=rd(S,st,mt,P),u=S|0}({h:e,l:u}=ir(this.Ah|0,this.Al|0,e|0,u|0)),{h:a,l:d}=ir(this.Bh|0,this.Bl|0,a|0,d|0),{h:E,l}=ir(this.Ch|0,this.Cl|0,E|0,l|0),{h:b,l:N}=ir(this.Dh|0,this.Dl|0,b|0,N|0),{h:x,l:T}=ir(this.Eh|0,this.El|0,x|0,T|0),{h:L,l:M}=ir(this.Fh|0,this.Fl|0,L|0,M|0),{h:D,l:Y}=ir(this.Gh|0,this.Gl|0,D|0,Y|0),{h:z,l:J}=ir(this.Hh|0,this.Hl|0,z|0,J|0),this.set(e,u,a,d,E,l,b,N,x,T,L,M,D,Y,z,J)}roundClean(){Jr(mr,yr)}destroy(){Jr(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const pu=uu(()=>new cd),hd=uu(()=>new dd);const Es=BigInt(0),bs=BigInt(1);function Mr(t,n=""){if(typeof t!="boolean"){const r=n&&`"${n}"`;throw new Error(r+"expected boolean, got type="+typeof t)}return t}function Vn(t,n,r=""){const e=Ai(t),u=t?.length,a=n!==void 0;if(!e||a&&u!==n){const d=r&&`"${r}" `,E=a?` of length ${n}`:"",l=e?`length=${u}`:`type=${typeof t}`;throw new Error(d+"expected Uint8Array"+E+", got "+l)}return t}function yo(t){const n=t.toString(16);return n.length&1?"0"+n:n}function vu(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?Es:BigInt("0x"+t)}function wo(t){return vu(Br(t))}function Si(t){return Cr(t),vu(Br(Uint8Array.from(t).reverse()))}function _s(t,n){return po(t.toString(16).padStart(n*2,"0"))}function gu(t,n){return _s(t,n).reverse()}function Ze(t,n,r){let e;if(typeof n=="string")try{e=po(n)}catch(a){throw new Error(t+" must be hex string or Uint8Array, cause: "+a)}else if(Ai(n))e=Uint8Array.from(n);else throw new Error(t+" must be hex string or Uint8Array");const u=e.length;if(typeof r=="number"&&u!==r)throw new Error(t+" of length "+r+" expected, got "+u);return e}function mu(t){return Uint8Array.from(t)}const Rs=t=>typeof t=="bigint"&&Es<=t;function pd(t,n,r){return Rs(t)&&Rs(n)&&Rs(r)&&n<=t&&t<r}function As(t,n,r,e){if(!pd(n,r,e))throw new Error("expected valid "+t+": "+r+" <= n < "+e+", got "+n)}function yu(t){let n;for(n=0;t>Es;t>>=bs,n+=1);return n}const Ii=t=>(bs<<BigInt(t))-bs;function vd(t,n,r){if(typeof t!="number"||t<2)throw new Error("hashLen must be a number");if(typeof n!="number"||n<2)throw new Error("qByteLen must be a number");if(typeof r!="function")throw new Error("hmacFn must be a function");const e=L=>new Uint8Array(L),u=L=>Uint8Array.of(L);let a=e(t),d=e(t),E=0;const l=()=>{a.fill(1),d.fill(0),E=0},b=(...L)=>r(d,a,...L),N=(L=e(0))=>{d=b(u(0),L),a=b(),L.length!==0&&(d=b(u(1),L),a=b())},x=()=>{if(E++>=1e3)throw new Error("drbg: tried 1000 values");let L=0;const M=[];for(;L<n;){a=b();const D=a.slice();M.push(D),L+=a.length}return Xn(...M)};return(L,M)=>{l(),N(L);let D;for(;!(D=M(x()));)N();return l(),D}}function Oi(t,n,r={}){if(!t||typeof t!="object")throw new Error("expected valid options object");function e(u,a,d){const E=t[u];if(d&&E===void 0)return;const l=typeof E;if(l!==a||E===null)throw new Error(`param "${u}" is invalid: expected ${a}, got ${l}`)}Object.entries(n).forEach(([u,a])=>e(u,a,!1)),Object.entries(r).forEach(([u,a])=>e(u,a,!0))}function Eo(t){const n=new WeakMap;return(r,...e)=>{const u=n.get(r);if(u!==void 0)return u;const a=t(r,...e);return n.set(r,a),a}}const xn=BigInt(0),vn=BigInt(1),kr=BigInt(2),wu=BigInt(3),Eu=BigInt(4),bu=BigInt(5),gd=BigInt(7),_u=BigInt(8),md=BigInt(9),Ru=BigInt(16);function sn(t,n){const r=t%n;return r>=xn?r:n+r}function Ke(t,n,r){let e=t;for(;n-- >xn;)e*=e,e%=r;return e}function Au(t,n){if(t===xn)throw new Error("invert: expected non-zero number");if(n<=xn)throw new Error("invert: expected positive modulus, got "+n);let r=sn(t,n),e=n,u=xn,a=vn;for(;r!==xn;){const E=e/r,l=e%r,b=u-a*E;e=r,r=l,u=a,a=b}if(e!==vn)throw new Error("invert: does not exist");return sn(u,n)}function Ss(t,n,r){if(!t.eql(t.sqr(n),r))throw new Error("Cannot find square root")}function Su(t,n){const r=(t.ORDER+vn)/Eu,e=t.pow(n,r);return Ss(t,e,n),e}function yd(t,n){const r=(t.ORDER-bu)/_u,e=t.mul(n,kr),u=t.pow(e,r),a=t.mul(n,u),d=t.mul(t.mul(a,kr),u),E=t.mul(a,t.sub(d,t.ONE));return Ss(t,E,n),E}function wd(t){const n=Ur(t),r=Iu(t),e=r(n,n.neg(n.ONE)),u=r(n,e),a=r(n,n.neg(e)),d=(t+gd)/Ru;return(E,l)=>{let b=E.pow(l,d),N=E.mul(b,e);const x=E.mul(b,u),T=E.mul(b,a),L=E.eql(E.sqr(N),l),M=E.eql(E.sqr(x),l);b=E.cmov(b,N,L),N=E.cmov(T,x,M);const D=E.eql(E.sqr(N),l),Y=E.cmov(b,N,D);return Ss(E,Y,l),Y}}function Iu(t){if(t<wu)throw new Error("sqrt is not defined for small field");let n=t-vn,r=0;for(;n%kr===xn;)n/=kr,r++;let e=kr;const u=Ur(t);for(;Nu(u,e)===1;)if(e++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(r===1)return Su;let a=u.pow(e,n);const d=(n+vn)/kr;return function(l,b){if(l.is0(b))return b;if(Nu(l,b)!==1)throw new Error("Cannot find square root");let N=r,x=l.mul(l.ONE,a),T=l.pow(b,n),L=l.pow(b,d);for(;!l.eql(T,l.ONE);){if(l.is0(T))return l.ZERO;let M=1,D=l.sqr(T);for(;!l.eql(D,l.ONE);)if(M++,D=l.sqr(D),M===N)throw new Error("Cannot find square root");const Y=vn<<BigInt(N-M-1),z=l.pow(x,Y);N=M,x=l.sqr(z),T=l.mul(T,x),L=l.mul(L,z)}return L}}function Ed(t){return t%Eu===wu?Su:t%_u===bu?yd:t%Ru===md?wd(t):Iu(t)}const bd=(t,n)=>(sn(t,n)&vn)===vn,_d=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Rd(t){const n={ORDER:"bigint",MASK:"bigint",BYTES:"number",BITS:"number"},r=_d.reduce((e,u)=>(e[u]="function",e),n);return Oi(t,r),t}function Ad(t,n,r){if(r<xn)throw new Error("invalid exponent, negatives unsupported");if(r===xn)return t.ONE;if(r===vn)return n;let e=t.ONE,u=n;for(;r>xn;)r&vn&&(e=t.mul(e,u)),u=t.sqr(u),r>>=vn;return e}function Ou(t,n,r=!1){const e=new Array(n.length).fill(r?t.ZERO:void 0),u=n.reduce((d,E,l)=>t.is0(E)?d:(e[l]=d,t.mul(d,E)),t.ONE),a=t.inv(u);return n.reduceRight((d,E,l)=>t.is0(E)?d:(e[l]=t.mul(d,e[l]),t.mul(d,E)),a),e}function Nu(t,n){const r=(t.ORDER-vn)/kr,e=t.pow(n,r),u=t.eql(e,t.ONE),a=t.eql(e,t.ZERO),d=t.eql(e,t.neg(t.ONE));if(!u&&!a&&!d)throw new Error("invalid Legendre symbol result");return u?1:a?0:-1}function Tu(t,n){n!==void 0&&gs(n);const r=n!==void 0?n:t.toString(2).length,e=Math.ceil(r/8);return{nBitLength:r,nByteLength:e}}function Ur(t,n,r=!1,e={}){if(t<=xn)throw new Error("invalid field: expected ORDER > 0, got "+t);let u,a,d=!1,E;if(typeof n=="object"&&n!=null){if(e.sqrt||r)throw new Error("cannot specify opts in two arguments");const T=n;T.BITS&&(u=T.BITS),T.sqrt&&(a=T.sqrt),typeof T.isLE=="boolean"&&(r=T.isLE),typeof T.modFromBytes=="boolean"&&(d=T.modFromBytes),E=T.allowedLengths}else typeof n=="number"&&(u=n),e.sqrt&&(a=e.sqrt);const{nBitLength:l,nByteLength:b}=Tu(t,u);if(b>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let N;const x=Object.freeze({ORDER:t,isLE:r,BITS:l,BYTES:b,MASK:Ii(l),ZERO:xn,ONE:vn,allowedLengths:E,create:T=>sn(T,t),isValid:T=>{if(typeof T!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof T);return xn<=T&&T<t},is0:T=>T===xn,isValidNot0:T=>!x.is0(T)&&x.isValid(T),isOdd:T=>(T&vn)===vn,neg:T=>sn(-T,t),eql:(T,L)=>T===L,sqr:T=>sn(T*T,t),add:(T,L)=>sn(T+L,t),sub:(T,L)=>sn(T-L,t),mul:(T,L)=>sn(T*L,t),pow:(T,L)=>Ad(x,T,L),div:(T,L)=>sn(T*Au(L,t),t),sqrN:T=>T*T,addN:(T,L)=>T+L,subN:(T,L)=>T-L,mulN:(T,L)=>T*L,inv:T=>Au(T,t),sqrt:a||(T=>(N||(N=Ed(t)),N(x,T))),toBytes:T=>r?gu(T,b):_s(T,b),fromBytes:(T,L=!0)=>{if(E){if(!E.includes(T.length)||T.length>b)throw new Error("Field.fromBytes: expected "+E+" bytes, got "+T.length);const D=new Uint8Array(b);D.set(T,r?0:D.length-T.length),T=D}if(T.length!==b)throw new Error("Field.fromBytes: expected "+b+" bytes, got "+T.length);let M=r?Si(T):wo(T);if(d&&(M=sn(M,t)),!L&&!x.isValid(M))throw new Error("invalid field element: outside of range 0..ORDER");return M},invertBatch:T=>Ou(x,T),cmov:(T,L,M)=>M?L:T});return Object.freeze(x)}function xu(t){if(typeof t!="bigint")throw new Error("field order must be bigint");const n=t.toString(2).length;return Math.ceil(n/8)}function Lu(t){const n=xu(t);return n+Math.ceil(n/2)}function Sd(t,n,r=!1){const e=t.length,u=xu(n),a=Lu(n);if(e<16||e<a||e>1024)throw new Error("expected "+a+"-1024 bytes of input, got "+e);const d=r?Si(t):wo(t),E=sn(d,n-vn)+vn;return r?gu(E,u):_s(E,u)}const ei=BigInt(0),Dr=BigInt(1);function bo(t,n){const r=n.negate();return t?r:n}function Pr(t,n){const r=Ou(t.Fp,n.map(e=>e.Z));return n.map((e,u)=>t.fromAffine(e.toAffine(r[u])))}function Cu(t,n){if(!Number.isSafeInteger(t)||t<=0||t>n)throw new Error("invalid window size, expected [1.."+n+"], got W="+t)}function Is(t,n){Cu(t,n);const r=Math.ceil(n/t)+1,e=2**(t-1),u=2**t,a=Ii(t),d=BigInt(t);return{windows:r,windowSize:e,mask:a,maxNumber:u,shiftBy:d}}function Bu(t,n,r){const{windowSize:e,mask:u,maxNumber:a,shiftBy:d}=r;let E=Number(t&u),l=t>>d;E>e&&(E-=a,l+=Dr);const b=n*e,N=b+Math.abs(E)-1,x=E===0,T=E<0,L=n%2!==0;return{nextN:l,offset:N,isZero:x,isNeg:T,isNegF:L,offsetF:b}}function Id(t,n){if(!Array.isArray(t))throw new Error("array expected");t.forEach((r,e)=>{if(!(r instanceof n))throw new Error("invalid point at index "+e)})}function Od(t,n){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((r,e)=>{if(!n.isValid(r))throw new Error("invalid scalar at index "+e)})}const Os=new WeakMap,Mu=new WeakMap;function Ns(t){return Mu.get(t)||1}function ku(t){if(t!==ei)throw new Error("invalid wNAF")}class Uu{constructor(n,r){this.BASE=n.BASE,this.ZERO=n.ZERO,this.Fn=n.Fn,this.bits=r}_unsafeLadder(n,r,e=this.ZERO){let u=n;for(;r>ei;)r&Dr&&(e=e.add(u)),u=u.double(),r>>=Dr;return e}precomputeWindow(n,r){const{windows:e,windowSize:u}=Is(r,this.bits),a=[];let d=n,E=d;for(let l=0;l<e;l++){E=d,a.push(E);for(let b=1;b<u;b++)E=E.add(d),a.push(E);d=E.double()}return a}wNAF(n,r,e){if(!this.Fn.isValid(e))throw new Error("invalid scalar");let u=this.ZERO,a=this.BASE;const d=Is(n,this.bits);for(let E=0;E<d.windows;E++){const{nextN:l,offset:b,isZero:N,isNeg:x,isNegF:T,offsetF:L}=Bu(e,E,d);e=l,N?a=a.add(bo(T,r[L])):u=u.add(bo(x,r[b]))}return ku(e),{p:u,f:a}}wNAFUnsafe(n,r,e,u=this.ZERO){const a=Is(n,this.bits);for(let d=0;d<a.windows&&e!==ei;d++){const{nextN:E,offset:l,isZero:b,isNeg:N}=Bu(e,d,a);if(e=E,!b){const x=r[l];u=u.add(N?x.negate():x)}}return ku(e),u}getPrecomputes(n,r,e){let u=Os.get(r);return u||(u=this.precomputeWindow(r,n),n!==1&&(typeof e=="function"&&(u=e(u)),Os.set(r,u))),u}cached(n,r,e){const u=Ns(n);return this.wNAF(u,this.getPrecomputes(u,n,e),r)}unsafe(n,r,e,u){const a=Ns(n);return a===1?this._unsafeLadder(n,r,u):this.wNAFUnsafe(a,this.getPrecomputes(a,n,e),r,u)}createCache(n,r){Cu(r,this.bits),Mu.set(n,r),Os.delete(n)}hasCache(n){return Ns(n)!==1}}function Nd(t,n,r,e){let u=n,a=t.ZERO,d=t.ZERO;for(;r>ei||e>ei;)r&Dr&&(a=a.add(u)),e&Dr&&(d=d.add(u)),u=u.double(),r>>=Dr,e>>=Dr;return{p1:a,p2:d}}function Du(t,n,r,e){Id(r,t),Od(e,n);const u=r.length,a=e.length;if(u!==a)throw new Error("arrays of points and scalars must have equal length");const d=t.ZERO,E=yu(BigInt(u));let l=1;E>12?l=E-3:E>4?l=E-2:E>0&&(l=2);const b=Ii(l),N=new Array(Number(b)+1).fill(d),x=Math.floor((n.BITS-1)/l)*l;let T=d;for(let L=x;L>=0;L-=l){N.fill(d);for(let D=0;D<a;D++){const Y=e[D],z=Number(Y>>BigInt(L)&b);N[z]=N[z].add(r[D])}let M=d;for(let D=N.length-1,Y=d;D>0;D--)Y=Y.add(N[D]),M=M.add(Y);if(T=T.add(M),L!==0)for(let D=0;D<l;D++)T=T.double()}return T}function Pu(t,n,r){if(n){if(n.ORDER!==t)throw new Error("Field.ORDER must match order: Fp == p, Fn == n");return Rd(n),n}else return Ur(t,{isLE:r})}function Fu(t,n,r={},e){if(e===void 0&&(e=t==="edwards"),!n||typeof n!="object")throw new Error(`expected valid ${t} CURVE object`);for(const l of["p","n","h"]){const b=n[l];if(!(typeof b=="bigint"&&b>ei))throw new Error(`CURVE.${l} must be positive bigint`)}const u=Pu(n.p,r.Fp,e),a=Pu(n.n,r.Fn,e),E=["Gx","Gy","a",t==="weierstrass"?"b":"d"];for(const l of E)if(!u.isValid(n[l]))throw new Error(`CURVE.${l} must be valid field element of CURVE.Fp`);return n=Object.freeze(Object.assign({},n)),{CURVE:n,Fp:u,Fn:a}}const wr=BigInt(0),ln=BigInt(1),Ts=BigInt(2),Td=BigInt(8);function xd(t,n,r,e){const u=t.sqr(r),a=t.sqr(e),d=t.add(t.mul(n.a,u),a),E=t.add(t.ONE,t.mul(n.d,t.mul(u,a)));return t.eql(d,E)}function Ld(t,n={}){const r=Fu("edwards",t,n,n.FpFnLE),{Fp:e,Fn:u}=r;let a=r.CURVE;const{h:d}=a;Oi(n,{},{uvRatio:"function"});const E=Ts<<BigInt(u.BYTES*8)-ln,l=Y=>e.create(Y),b=n.uvRatio||((Y,z)=>{try{return{isValid:!0,value:e.sqrt(e.div(Y,z))}}catch{return{isValid:!1,value:wr}}});if(!xd(e,a,a.Gx,a.Gy))throw new Error("bad curve params: generator point");function N(Y,z,J=!1){const q=J?ln:wr;return As("coordinate "+Y,z,q,E),z}function x(Y){if(!(Y instanceof M))throw new Error("ExtendedPoint expected")}const T=Eo((Y,z)=>{const{X:J,Y:q,Z:ot}=Y,pt=Y.is0();z==null&&(z=pt?Td:e.inv(ot));const ft=l(J*z),Rt=l(q*z),At=e.mul(ot,z);if(pt)return{x:wr,y:ln};if(At!==ln)throw new Error("invZ was invalid");return{x:ft,y:Rt}}),L=Eo(Y=>{const{a:z,d:J}=a;if(Y.is0())throw new Error("bad point: ZERO");const{X:q,Y:ot,Z:pt,T:ft}=Y,Rt=l(q*q),At=l(ot*ot),st=l(pt*pt),lt=l(st*st),mt=l(Rt*z),wt=l(st*l(mt+At)),P=l(lt+l(J*l(Rt*At)));if(wt!==P)throw new Error("bad point: equation left != right (1)");const f=l(q*ot),S=l(pt*ft);if(f!==S)throw new Error("bad point: equation left != right (2)");return!0});class M{constructor(z,J,q,ot){this.X=N("x",z),this.Y=N("y",J),this.Z=N("z",q,!0),this.T=N("t",ot),Object.freeze(this)}static CURVE(){return a}static fromAffine(z){if(z instanceof M)throw new Error("extended point not allowed");const{x:J,y:q}=z||{};return N("x",J),N("y",q),new M(J,q,ln,l(J*q))}static fromBytes(z,J=!1){const q=e.BYTES,{a:ot,d:pt}=a;z=mu(Vn(z,q,"point")),Mr(J,"zip215");const ft=mu(z),Rt=z[q-1];ft[q-1]=Rt&-129;const At=Si(ft),st=J?E:e.ORDER;As("point.y",At,wr,st);const lt=l(At*At),mt=l(lt-ln),wt=l(pt*lt-ot);let{isValid:P,value:f}=b(mt,wt);if(!P)throw new Error("bad point: invalid y coordinate");const S=(f&ln)===ln,U=(Rt&128)!==0;if(!J&&f===wr&&U)throw new Error("bad point: x=0 and x_0=1");return U!==S&&(f=l(-f)),M.fromAffine({x:f,y:At})}static fromHex(z,J=!1){return M.fromBytes(Ze("point",z),J)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(z=8,J=!0){return D.createCache(this,z),J||this.multiply(Ts),this}assertValidity(){L(this)}equals(z){x(z);const{X:J,Y:q,Z:ot}=this,{X:pt,Y:ft,Z:Rt}=z,At=l(J*Rt),st=l(pt*ot),lt=l(q*Rt),mt=l(ft*ot);return At===st&&lt===mt}is0(){return this.equals(M.ZERO)}negate(){return new M(l(-this.X),this.Y,this.Z,l(-this.T))}double(){const{a:z}=a,{X:J,Y:q,Z:ot}=this,pt=l(J*J),ft=l(q*q),Rt=l(Ts*l(ot*ot)),At=l(z*pt),st=J+q,lt=l(l(st*st)-pt-ft),mt=At+ft,wt=mt-Rt,P=At-ft,f=l(lt*wt),S=l(mt*P),U=l(lt*P),W=l(wt*mt);return new M(f,S,W,U)}add(z){x(z);const{a:J,d:q}=a,{X:ot,Y:pt,Z:ft,T:Rt}=this,{X:At,Y:st,Z:lt,T:mt}=z,wt=l(ot*At),P=l(pt*st),f=l(Rt*q*mt),S=l(ft*lt),U=l((ot+pt)*(At+st)-wt-P),W=S-f,$=S+f,et=l(P-J*wt),ut=l(U*W),Z=l($*et),h=l(U*et),_=l(W*$);return new M(ut,Z,_,h)}subtract(z){return this.add(z.negate())}multiply(z){if(!u.isValidNot0(z))throw new Error("invalid scalar: expected 1 <= sc < curve.n");const{p:J,f:q}=D.cached(this,z,ot=>Pr(M,ot));return Pr(M,[J,q])[0]}multiplyUnsafe(z,J=M.ZERO){if(!u.isValid(z))throw new Error("invalid scalar: expected 0 <= sc < curve.n");return z===wr?M.ZERO:this.is0()||z===ln?this:D.unsafe(this,z,q=>Pr(M,q),J)}isSmallOrder(){return this.multiplyUnsafe(d).is0()}isTorsionFree(){return D.unsafe(this,a.n).is0()}toAffine(z){return T(this,z)}clearCofactor(){return d===ln?this:this.multiplyUnsafe(d)}toBytes(){const{x:z,y:J}=this.toAffine(),q=e.toBytes(J);return q[q.length-1]|=z&ln?128:0,q}toHex(){return Br(this.toBytes())}toString(){return`<Point ${this.is0()?"ZERO":this.toHex()}>`}get ex(){return this.X}get ey(){return this.Y}get ez(){return this.Z}get et(){return this.T}static normalizeZ(z){return Pr(M,z)}static msm(z,J){return Du(M,u,z,J)}_setWindowSize(z){this.precompute(z)}toRawBytes(){return this.toBytes()}}M.BASE=new M(a.Gx,a.Gy,ln,l(a.Gx*a.Gy)),M.ZERO=new M(wr,ln,ln,wr),M.Fp=e,M.Fn=u;const D=new Uu(M,u.BITS);return M.BASE.precompute(8),M}function Cd(t,n,r={}){if(typeof n!="function")throw new Error('"hash" function param is required');Oi(r,{},{adjustScalarBytes:"function",randomBytes:"function",domain:"function",prehash:"function",mapToCurve:"function"});const{prehash:e}=r,{BASE:u,Fp:a,Fn:d}=t,E=r.randomBytes||ws,l=r.adjustScalarBytes||(st=>st),b=r.domain||((st,lt,mt)=>{if(Mr(mt,"phflag"),lt.length||mt)throw new Error("Contexts/pre-hash are not supported");return st});function N(st){return d.create(Si(st))}function x(st){const lt=q.secretKey;st=Ze("private key",st,lt);const mt=Ze("hashed private key",n(st),2*lt),wt=l(mt.slice(0,lt)),P=mt.slice(lt,2*lt),f=N(wt);return{head:wt,prefix:P,scalar:f}}function T(st){const{head:lt,prefix:mt,scalar:wt}=x(st),P=u.multiply(wt),f=P.toBytes();return{head:lt,prefix:mt,scalar:wt,point:P,pointBytes:f}}function L(st){return T(st).pointBytes}function M(st=Uint8Array.of(),...lt){const mt=Xn(...lt);return N(n(b(mt,Ze("context",st),!!e)))}function D(st,lt,mt={}){st=Ze("message",st),e&&(st=e(st));const{prefix:wt,scalar:P,pointBytes:f}=T(lt),S=M(mt.context,wt,st),U=u.multiply(S).toBytes(),W=M(mt.context,U,f,st),$=d.create(S+W*P);if(!d.isValid($))throw new Error("sign failed: invalid s");const et=Xn(U,d.toBytes($));return Vn(et,q.signature,"result")}const Y={zip215:!0};function z(st,lt,mt,wt=Y){const{context:P,zip215:f}=wt,S=q.signature;st=Ze("signature",st,S),lt=Ze("message",lt),mt=Ze("publicKey",mt,q.publicKey),f!==void 0&&Mr(f,"zip215"),e&&(lt=e(lt));const U=S/2,W=st.subarray(0,U),$=Si(st.subarray(U,S));let et,ut,Z;try{et=t.fromBytes(mt,f),ut=t.fromBytes(W,f),Z=u.multiplyUnsafe($)}catch{return!1}if(!f&&et.isSmallOrder())return!1;const h=M(P,ut.toBytes(),et.toBytes(),lt);return ut.add(et.multiplyUnsafe(h)).subtract(Z).clearCofactor().is0()}const J=a.BYTES,q={secretKey:J,publicKey:J,signature:2*J,seed:J};function ot(st=E(q.seed)){return Vn(st,q.seed,"seed")}function pt(st){const lt=At.randomSecretKey(st);return{secretKey:lt,publicKey:L(lt)}}function ft(st){return Ai(st)&&st.length===d.BYTES}function Rt(st,lt){try{return!!t.fromBytes(st,lt)}catch{return!1}}const At={getExtendedPublicKey:T,randomSecretKey:ot,isValidSecretKey:ft,isValidPublicKey:Rt,toMontgomery(st){const{y:lt}=t.fromBytes(st),mt=q.publicKey,wt=mt===32;if(!wt&&mt!==57)throw new Error("only defined for 25519 and 448");const P=wt?a.div(ln+lt,ln-lt):a.div(lt-ln,lt+ln);return a.toBytes(P)},toMontgomerySecret(st){const lt=q.secretKey;Vn(st,lt);const mt=n(st.subarray(0,lt));return l(mt).subarray(0,lt)},randomPrivateKey:ot,precompute(st=8,lt=t.BASE){return lt.precompute(st,!1)}};return Object.freeze({keygen:pt,getPublicKey:L,sign:D,verify:z,utils:At,Point:t,lengths:q})}function Bd(t){const n={a:t.a,d:t.d,p:t.Fp.ORDER,n:t.n,h:t.h,Gx:t.Gx,Gy:t.Gy},r=t.Fp,e=Ur(n.n,t.nBitLength,!0),u={Fp:r,Fn:e,uvRatio:t.uvRatio},a={randomBytes:t.randomBytes,adjustScalarBytes:t.adjustScalarBytes,domain:t.domain,prehash:t.prehash,mapToCurve:t.mapToCurve};return{CURVE:n,curveOpts:u,hash:t.hash,eddsaOpts:a}}function Md(t,n){const r=n.Point;return Object.assign({},n,{ExtendedPoint:r,CURVE:t,nBitLength:r.Fn.BITS,nByteLength:r.Fn.BYTES})}function kd(t){const{CURVE:n,curveOpts:r,hash:e,eddsaOpts:u}=Bd(t),a=Ld(n,r),d=Cd(a,e,u);return Md(t,d)}const Ud=BigInt(1),Vu=BigInt(2);BigInt(3);const Dd=BigInt(5),Pd=BigInt(8),xs=BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed"),Hu={p:xs,n:BigInt("0x1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed"),h:Pd,a:BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec"),d:BigInt("0x52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3"),Gx:BigInt("0x216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a"),Gy:BigInt("0x6666666666666666666666666666666666666666666666666666666666666658")};function Fd(t){const n=BigInt(10),r=BigInt(20),e=BigInt(40),u=BigInt(80),a=xs,E=t*t%a*t%a,l=Ke(E,Vu,a)*E%a,b=Ke(l,Ud,a)*t%a,N=Ke(b,Dd,a)*b%a,x=Ke(N,n,a)*N%a,T=Ke(x,r,a)*x%a,L=Ke(T,e,a)*T%a,M=Ke(L,u,a)*L%a,D=Ke(M,u,a)*L%a,Y=Ke(D,n,a)*N%a;return{pow_p_5_8:Ke(Y,Vu,a)*t%a,b2:E}}function Vd(t){return t[0]&=248,t[31]&=127,t[31]|=64,t}const Gu=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752");function Hd(t,n){const r=xs,e=sn(n*n*n,r),u=sn(e*e*n,r),a=Fd(t*u).pow_p_5_8;let d=sn(t*e*a,r);const E=sn(n*d*d,r),l=d,b=sn(d*Gu,r),N=E===t,x=E===sn(-t,r),T=E===sn(-t*Gu,r);return N&&(d=l),(x||T)&&(d=b),bd(d,r)&&(d=sn(-d,r)),{isValid:N||x,value:d}}const Gd=Ur(Hu.p,{isLE:!0}),jd={...Hu,Fp:Gd,hash:hd,adjustScalarBytes:Vd,uvRatio:Hd},Ni=kd(jd);var _o={exports:{}};const Yd=hs(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var zd=_o.exports,ju;function Yu(){return ju||(ju=1,(function(t){(function(n,r){function e(P,f){if(!P)throw new Error(f||"Assertion failed")}function u(P,f){P.super_=f;var S=function(){};S.prototype=f.prototype,P.prototype=new S,P.prototype.constructor=P}function a(P,f,S){if(a.isBN(P))return P;this.negative=0,this.words=null,this.length=0,this.red=null,P!==null&&((f==="le"||f==="be")&&(S=f,f=10),this._init(P||0,f||10,S||"be"))}typeof n=="object"?n.exports=a:r.BN=a,a.BN=a,a.wordSize=26;var d;try{typeof window<"u"&&typeof window.Buffer<"u"?d=window.Buffer:d=Yd.Buffer}catch{}a.isBN=function(f){return f instanceof a?!0:f!==null&&typeof f=="object"&&f.constructor.wordSize===a.wordSize&&Array.isArray(f.words)},a.max=function(f,S){return f.cmp(S)>0?f:S},a.min=function(f,S){return f.cmp(S)<0?f:S},a.prototype._init=function(f,S,U){if(typeof f=="number")return this._initNumber(f,S,U);if(typeof f=="object")return this._initArray(f,S,U);S==="hex"&&(S=16),e(S===(S|0)&&S>=2&&S<=36),f=f.toString().replace(/\s+/g,"");var W=0;f[0]==="-"&&(W++,this.negative=1),W<f.length&&(S===16?this._parseHex(f,W,U):(this._parseBase(f,S,W),U==="le"&&this._initArray(this.toArray(),S,U)))},a.prototype._initNumber=function(f,S,U){f<0&&(this.negative=1,f=-f),f<67108864?(this.words=[f&67108863],this.length=1):f<4503599627370496?(this.words=[f&67108863,f/67108864&67108863],this.length=2):(e(f<9007199254740992),this.words=[f&67108863,f/67108864&67108863,1],this.length=3),U==="le"&&this._initArray(this.toArray(),S,U)},a.prototype._initArray=function(f,S,U){if(e(typeof f.length=="number"),f.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(f.length/3),this.words=new Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var $,et,ut=0;if(U==="be")for(W=f.length-1,$=0;W>=0;W-=3)et=f[W]|f[W-1]<<8|f[W-2]<<16,this.words[$]|=et<<ut&67108863,this.words[$+1]=et>>>26-ut&67108863,ut+=24,ut>=26&&(ut-=26,$++);else if(U==="le")for(W=0,$=0;W<f.length;W+=3)et=f[W]|f[W+1]<<8|f[W+2]<<16,this.words[$]|=et<<ut&67108863,this.words[$+1]=et>>>26-ut&67108863,ut+=24,ut>=26&&(ut-=26,$++);return this._strip()};function E(P,f){var S=P.charCodeAt(f);if(S>=48&&S<=57)return S-48;if(S>=65&&S<=70)return S-55;if(S>=97&&S<=102)return S-87;e(!1,"Invalid character in "+P)}function l(P,f,S){var U=E(P,S);return S-1>=f&&(U|=E(P,S-1)<<4),U}a.prototype._parseHex=function(f,S,U){this.length=Math.ceil((f.length-S)/6),this.words=new Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var $=0,et=0,ut;if(U==="be")for(W=f.length-1;W>=S;W-=2)ut=l(f,S,W)<<$,this.words[et]|=ut&67108863,$>=18?($-=18,et+=1,this.words[et]|=ut>>>26):$+=8;else{var Z=f.length-S;for(W=Z%2===0?S+1:S;W<f.length;W+=2)ut=l(f,S,W)<<$,this.words[et]|=ut&67108863,$>=18?($-=18,et+=1,this.words[et]|=ut>>>26):$+=8}this._strip()};function b(P,f,S,U){for(var W=0,$=0,et=Math.min(P.length,S),ut=f;ut<et;ut++){var Z=P.charCodeAt(ut)-48;W*=U,Z>=49?$=Z-49+10:Z>=17?$=Z-17+10:$=Z,e(Z>=0&&$<U,"Invalid character"),W+=$}return W}a.prototype._parseBase=function(f,S,U){this.words=[0],this.length=1;for(var W=0,$=1;$<=67108863;$*=S)W++;W--,$=$/S|0;for(var et=f.length-U,ut=et%W,Z=Math.min(et,et-ut)+U,h=0,_=U;_<Z;_+=W)h=b(f,_,_+W,S),this.imuln($),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h);if(ut!==0){var j=1;for(h=b(f,_,f.length,S),_=0;_<ut;_++)j*=S;this.imuln(j),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}this._strip()},a.prototype.copy=function(f){f.words=new Array(this.length);for(var S=0;S<this.length;S++)f.words[S]=this.words[S];f.length=this.length,f.negative=this.negative,f.red=this.red};function N(P,f){P.words=f.words,P.length=f.length,P.negative=f.negative,P.red=f.red}if(a.prototype._move=function(f){N(f,this)},a.prototype.clone=function(){var f=new a(null);return this.copy(f),f},a.prototype._expand=function(f){for(;this.length<f;)this.words[this.length++]=0;return this},a.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},a.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{a.prototype[Symbol.for("nodejs.util.inspect.custom")]=x}catch{a.prototype.inspect=x}else a.prototype.inspect=x;function x(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var T=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],L=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],M=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];a.prototype.toString=function(f,S){f=f||10,S=S|0||1;var U;if(f===16||f==="hex"){U="";for(var W=0,$=0,et=0;et<this.length;et++){var ut=this.words[et],Z=((ut<<W|$)&16777215).toString(16);$=ut>>>24-W&16777215,W+=2,W>=26&&(W-=26,et--),$!==0||et!==this.length-1?U=T[6-Z.length]+Z+U:U=Z+U}for($!==0&&(U=$.toString(16)+U);U.length%S!==0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}if(f===(f|0)&&f>=2&&f<=36){var h=L[f],_=M[f];U="";var j=this.clone();for(j.negative=0;!j.isZero();){var K=j.modrn(_).toString(f);j=j.idivn(_),j.isZero()?U=K+U:U=T[h-K.length]+K+U}for(this.isZero()&&(U="0"+U);U.length%S!==0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}e(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var f=this.words[0];return this.length===2?f+=this.words[1]*67108864:this.length===3&&this.words[2]===1?f+=4503599627370496+this.words[1]*67108864:this.length>2&&e(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-f:f},a.prototype.toJSON=function(){return this.toString(16,2)},d&&(a.prototype.toBuffer=function(f,S){return this.toArrayLike(d,f,S)}),a.prototype.toArray=function(f,S){return this.toArrayLike(Array,f,S)};var D=function(f,S){return f.allocUnsafe?f.allocUnsafe(S):new f(S)};a.prototype.toArrayLike=function(f,S,U){this._strip();var W=this.byteLength(),$=U||Math.max(1,W);e(W<=$,"byte array longer than desired length"),e($>0,"Requested array length <= 0");var et=D(f,$),ut=S==="le"?"LE":"BE";return this["_toArrayLike"+ut](et,W),et},a.prototype._toArrayLikeLE=function(f,S){for(var U=0,W=0,$=0,et=0;$<this.length;$++){var ut=this.words[$]<<et|W;f[U++]=ut&255,U<f.length&&(f[U++]=ut>>8&255),U<f.length&&(f[U++]=ut>>16&255),et===6?(U<f.length&&(f[U++]=ut>>24&255),W=0,et=0):(W=ut>>>24,et+=2)}if(U<f.length)for(f[U++]=W;U<f.length;)f[U++]=0},a.prototype._toArrayLikeBE=function(f,S){for(var U=f.length-1,W=0,$=0,et=0;$<this.length;$++){var ut=this.words[$]<<et|W;f[U--]=ut&255,U>=0&&(f[U--]=ut>>8&255),U>=0&&(f[U--]=ut>>16&255),et===6?(U>=0&&(f[U--]=ut>>24&255),W=0,et=0):(W=ut>>>24,et+=2)}if(U>=0)for(f[U--]=W;U>=0;)f[U--]=0},Math.clz32?a.prototype._countBits=function(f){return 32-Math.clz32(f)}:a.prototype._countBits=function(f){var S=f,U=0;return S>=4096&&(U+=13,S>>>=13),S>=64&&(U+=7,S>>>=7),S>=8&&(U+=4,S>>>=4),S>=2&&(U+=2,S>>>=2),U+S},a.prototype._zeroBits=function(f){if(f===0)return 26;var S=f,U=0;return(S&8191)===0&&(U+=13,S>>>=13),(S&127)===0&&(U+=7,S>>>=7),(S&15)===0&&(U+=4,S>>>=4),(S&3)===0&&(U+=2,S>>>=2),(S&1)===0&&U++,U},a.prototype.bitLength=function(){var f=this.words[this.length-1],S=this._countBits(f);return(this.length-1)*26+S};function Y(P){for(var f=new Array(P.bitLength()),S=0;S<f.length;S++){var U=S/26|0,W=S%26;f[S]=P.words[U]>>>W&1}return f}a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var f=0,S=0;S<this.length;S++){var U=this._zeroBits(this.words[S]);if(f+=U,U!==26)break}return f},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(f){return this.negative!==0?this.abs().inotn(f).iaddn(1):this.clone()},a.prototype.fromTwos=function(f){return this.testn(f-1)?this.notn(f).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return this.negative!==0},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(f){for(;this.length<f.length;)this.words[this.length++]=0;for(var S=0;S<f.length;S++)this.words[S]=this.words[S]|f.words[S];return this._strip()},a.prototype.ior=function(f){return e((this.negative|f.negative)===0),this.iuor(f)},a.prototype.or=function(f){return this.length>f.length?this.clone().ior(f):f.clone().ior(this)},a.prototype.uor=function(f){return this.length>f.length?this.clone().iuor(f):f.clone().iuor(this)},a.prototype.iuand=function(f){var S;this.length>f.length?S=f:S=this;for(var U=0;U<S.length;U++)this.words[U]=this.words[U]&f.words[U];return this.length=S.length,this._strip()},a.prototype.iand=function(f){return e((this.negative|f.negative)===0),this.iuand(f)},a.prototype.and=function(f){return this.length>f.length?this.clone().iand(f):f.clone().iand(this)},a.prototype.uand=function(f){return this.length>f.length?this.clone().iuand(f):f.clone().iuand(this)},a.prototype.iuxor=function(f){var S,U;this.length>f.length?(S=this,U=f):(S=f,U=this);for(var W=0;W<U.length;W++)this.words[W]=S.words[W]^U.words[W];if(this!==S)for(;W<S.length;W++)this.words[W]=S.words[W];return this.length=S.length,this._strip()},a.prototype.ixor=function(f){return e((this.negative|f.negative)===0),this.iuxor(f)},a.prototype.xor=function(f){return this.length>f.length?this.clone().ixor(f):f.clone().ixor(this)},a.prototype.uxor=function(f){return this.length>f.length?this.clone().iuxor(f):f.clone().iuxor(this)},a.prototype.inotn=function(f){e(typeof f=="number"&&f>=0);var S=Math.ceil(f/26)|0,U=f%26;this._expand(S),U>0&&S--;for(var W=0;W<S;W++)this.words[W]=~this.words[W]&67108863;return U>0&&(this.words[W]=~this.words[W]&67108863>>26-U),this._strip()},a.prototype.notn=function(f){return this.clone().inotn(f)},a.prototype.setn=function(f,S){e(typeof f=="number"&&f>=0);var U=f/26|0,W=f%26;return this._expand(U+1),S?this.words[U]=this.words[U]|1<<W:this.words[U]=this.words[U]&~(1<<W),this._strip()},a.prototype.iadd=function(f){var S;if(this.negative!==0&&f.negative===0)return this.negative=0,S=this.isub(f),this.negative^=1,this._normSign();if(this.negative===0&&f.negative!==0)return f.negative=0,S=this.isub(f),f.negative=1,S._normSign();var U,W;this.length>f.length?(U=this,W=f):(U=f,W=this);for(var $=0,et=0;et<W.length;et++)S=(U.words[et]|0)+(W.words[et]|0)+$,this.words[et]=S&67108863,$=S>>>26;for(;$!==0&&et<U.length;et++)S=(U.words[et]|0)+$,this.words[et]=S&67108863,$=S>>>26;if(this.length=U.length,$!==0)this.words[this.length]=$,this.length++;else if(U!==this)for(;et<U.length;et++)this.words[et]=U.words[et];return this},a.prototype.add=function(f){var S;return f.negative!==0&&this.negative===0?(f.negative=0,S=this.sub(f),f.negative^=1,S):f.negative===0&&this.negative!==0?(this.negative=0,S=f.sub(this),this.negative=1,S):this.length>f.length?this.clone().iadd(f):f.clone().iadd(this)},a.prototype.isub=function(f){if(f.negative!==0){f.negative=0;var S=this.iadd(f);return f.negative=1,S._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(f),this.negative=1,this._normSign();var U=this.cmp(f);if(U===0)return this.negative=0,this.length=1,this.words[0]=0,this;var W,$;U>0?(W=this,$=f):(W=f,$=this);for(var et=0,ut=0;ut<$.length;ut++)S=(W.words[ut]|0)-($.words[ut]|0)+et,et=S>>26,this.words[ut]=S&67108863;for(;et!==0&&ut<W.length;ut++)S=(W.words[ut]|0)+et,et=S>>26,this.words[ut]=S&67108863;if(et===0&&ut<W.length&&W!==this)for(;ut<W.length;ut++)this.words[ut]=W.words[ut];return this.length=Math.max(this.length,ut),W!==this&&(this.negative=1),this._strip()},a.prototype.sub=function(f){return this.clone().isub(f)};function z(P,f,S){S.negative=f.negative^P.negative;var U=P.length+f.length|0;S.length=U,U=U-1|0;var W=P.words[0]|0,$=f.words[0]|0,et=W*$,ut=et&67108863,Z=et/67108864|0;S.words[0]=ut;for(var h=1;h<U;h++){for(var _=Z>>>26,j=Z&67108863,K=Math.min(h,f.length-1),ht=Math.max(0,h-P.length+1);ht<=K;ht++){var St=h-ht|0;W=P.words[St]|0,$=f.words[ht]|0,et=W*$+j,_+=et/67108864|0,j=et&67108863}S.words[h]=j|0,Z=_|0}return Z!==0?S.words[h]=Z|0:S.length--,S._strip()}var J=function(f,S,U){var W=f.words,$=S.words,et=U.words,ut=0,Z,h,_,j=W[0]|0,K=j&8191,ht=j>>>13,St=W[1]|0,Ft=St&8191,Zt=St>>>13,de=W[2]|0,me=de&8191,ye=de>>>13,Oe=W[3]|0,Kt=Oe&8191,be=Oe>>>13,Ye=W[4]|0,Te=Ye&8191,g=Ye>>>13,k=W[5]|0,V=k&8191,ct=k>>>13,yt=W[6]|0,Et=yt&8191,Lt=yt>>>13,Yt=W[7]|0,te=Yt&8191,F=Yt>>>13,R=W[8]|0,O=R&8191,A=R>>>13,H=W[9]|0,G=H&8191,it=H>>>13,Ct=$[0]|0,Bt=Ct&8191,Ut=Ct>>>13,kt=$[1]|0,rt=kt&8191,zt=kt>>>13,pe=$[2]|0,ee=pe&8191,se=pe>>>13,he=$[3]|0,le=he&8191,ue=he>>>13,ze=$[4]|0,we=ze&8191,_e=ze>>>13,an=$[5]|0,Be=an&8191,De=an>>>13,lr=$[6]|0,He=lr&8191,Ve=lr>>>13,Yr=$[7]|0,qe=Yr&8191,$e=Yr>>>13,Wo=$[8]|0,Je=Wo&8191,Qe=Wo>>>13,Zo=$[9]|0,tn=Zo&8191,en=Zo>>>13;U.negative=f.negative^S.negative,U.length=19,Z=Math.imul(K,Bt),h=Math.imul(K,Ut),h=h+Math.imul(ht,Bt)|0,_=Math.imul(ht,Ut);var Fi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,Z=Math.imul(Ft,Bt),h=Math.imul(Ft,Ut),h=h+Math.imul(Zt,Bt)|0,_=Math.imul(Zt,Ut),Z=Z+Math.imul(K,rt)|0,h=h+Math.imul(K,zt)|0,h=h+Math.imul(ht,rt)|0,_=_+Math.imul(ht,zt)|0;var Vi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,Z=Math.imul(me,Bt),h=Math.imul(me,Ut),h=h+Math.imul(ye,Bt)|0,_=Math.imul(ye,Ut),Z=Z+Math.imul(Ft,rt)|0,h=h+Math.imul(Ft,zt)|0,h=h+Math.imul(Zt,rt)|0,_=_+Math.imul(Zt,zt)|0,Z=Z+Math.imul(K,ee)|0,h=h+Math.imul(K,se)|0,h=h+Math.imul(ht,ee)|0,_=_+Math.imul(ht,se)|0;var Hi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,Z=Math.imul(Kt,Bt),h=Math.imul(Kt,Ut),h=h+Math.imul(be,Bt)|0,_=Math.imul(be,Ut),Z=Z+Math.imul(me,rt)|0,h=h+Math.imul(me,zt)|0,h=h+Math.imul(ye,rt)|0,_=_+Math.imul(ye,zt)|0,Z=Z+Math.imul(Ft,ee)|0,h=h+Math.imul(Ft,se)|0,h=h+Math.imul(Zt,ee)|0,_=_+Math.imul(Zt,se)|0,Z=Z+Math.imul(K,le)|0,h=h+Math.imul(K,ue)|0,h=h+Math.imul(ht,le)|0,_=_+Math.imul(ht,ue)|0;var Gi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,Z=Math.imul(Te,Bt),h=Math.imul(Te,Ut),h=h+Math.imul(g,Bt)|0,_=Math.imul(g,Ut),Z=Z+Math.imul(Kt,rt)|0,h=h+Math.imul(Kt,zt)|0,h=h+Math.imul(be,rt)|0,_=_+Math.imul(be,zt)|0,Z=Z+Math.imul(me,ee)|0,h=h+Math.imul(me,se)|0,h=h+Math.imul(ye,ee)|0,_=_+Math.imul(ye,se)|0,Z=Z+Math.imul(Ft,le)|0,h=h+Math.imul(Ft,ue)|0,h=h+Math.imul(Zt,le)|0,_=_+Math.imul(Zt,ue)|0,Z=Z+Math.imul(K,we)|0,h=h+Math.imul(K,_e)|0,h=h+Math.imul(ht,we)|0,_=_+Math.imul(ht,_e)|0;var ji=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(ji>>>26)|0,ji&=67108863,Z=Math.imul(V,Bt),h=Math.imul(V,Ut),h=h+Math.imul(ct,Bt)|0,_=Math.imul(ct,Ut),Z=Z+Math.imul(Te,rt)|0,h=h+Math.imul(Te,zt)|0,h=h+Math.imul(g,rt)|0,_=_+Math.imul(g,zt)|0,Z=Z+Math.imul(Kt,ee)|0,h=h+Math.imul(Kt,se)|0,h=h+Math.imul(be,ee)|0,_=_+Math.imul(be,se)|0,Z=Z+Math.imul(me,le)|0,h=h+Math.imul(me,ue)|0,h=h+Math.imul(ye,le)|0,_=_+Math.imul(ye,ue)|0,Z=Z+Math.imul(Ft,we)|0,h=h+Math.imul(Ft,_e)|0,h=h+Math.imul(Zt,we)|0,_=_+Math.imul(Zt,_e)|0,Z=Z+Math.imul(K,Be)|0,h=h+Math.imul(K,De)|0,h=h+Math.imul(ht,Be)|0,_=_+Math.imul(ht,De)|0;var Yi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Yi>>>26)|0,Yi&=67108863,Z=Math.imul(Et,Bt),h=Math.imul(Et,Ut),h=h+Math.imul(Lt,Bt)|0,_=Math.imul(Lt,Ut),Z=Z+Math.imul(V,rt)|0,h=h+Math.imul(V,zt)|0,h=h+Math.imul(ct,rt)|0,_=_+Math.imul(ct,zt)|0,Z=Z+Math.imul(Te,ee)|0,h=h+Math.imul(Te,se)|0,h=h+Math.imul(g,ee)|0,_=_+Math.imul(g,se)|0,Z=Z+Math.imul(Kt,le)|0,h=h+Math.imul(Kt,ue)|0,h=h+Math.imul(be,le)|0,_=_+Math.imul(be,ue)|0,Z=Z+Math.imul(me,we)|0,h=h+Math.imul(me,_e)|0,h=h+Math.imul(ye,we)|0,_=_+Math.imul(ye,_e)|0,Z=Z+Math.imul(Ft,Be)|0,h=h+Math.imul(Ft,De)|0,h=h+Math.imul(Zt,Be)|0,_=_+Math.imul(Zt,De)|0,Z=Z+Math.imul(K,He)|0,h=h+Math.imul(K,Ve)|0,h=h+Math.imul(ht,He)|0,_=_+Math.imul(ht,Ve)|0;var zi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(zi>>>26)|0,zi&=67108863,Z=Math.imul(te,Bt),h=Math.imul(te,Ut),h=h+Math.imul(F,Bt)|0,_=Math.imul(F,Ut),Z=Z+Math.imul(Et,rt)|0,h=h+Math.imul(Et,zt)|0,h=h+Math.imul(Lt,rt)|0,_=_+Math.imul(Lt,zt)|0,Z=Z+Math.imul(V,ee)|0,h=h+Math.imul(V,se)|0,h=h+Math.imul(ct,ee)|0,_=_+Math.imul(ct,se)|0,Z=Z+Math.imul(Te,le)|0,h=h+Math.imul(Te,ue)|0,h=h+Math.imul(g,le)|0,_=_+Math.imul(g,ue)|0,Z=Z+Math.imul(Kt,we)|0,h=h+Math.imul(Kt,_e)|0,h=h+Math.imul(be,we)|0,_=_+Math.imul(be,_e)|0,Z=Z+Math.imul(me,Be)|0,h=h+Math.imul(me,De)|0,h=h+Math.imul(ye,Be)|0,_=_+Math.imul(ye,De)|0,Z=Z+Math.imul(Ft,He)|0,h=h+Math.imul(Ft,Ve)|0,h=h+Math.imul(Zt,He)|0,_=_+Math.imul(Zt,Ve)|0,Z=Z+Math.imul(K,qe)|0,h=h+Math.imul(K,$e)|0,h=h+Math.imul(ht,qe)|0,_=_+Math.imul(ht,$e)|0;var Wi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Wi>>>26)|0,Wi&=67108863,Z=Math.imul(O,Bt),h=Math.imul(O,Ut),h=h+Math.imul(A,Bt)|0,_=Math.imul(A,Ut),Z=Z+Math.imul(te,rt)|0,h=h+Math.imul(te,zt)|0,h=h+Math.imul(F,rt)|0,_=_+Math.imul(F,zt)|0,Z=Z+Math.imul(Et,ee)|0,h=h+Math.imul(Et,se)|0,h=h+Math.imul(Lt,ee)|0,_=_+Math.imul(Lt,se)|0,Z=Z+Math.imul(V,le)|0,h=h+Math.imul(V,ue)|0,h=h+Math.imul(ct,le)|0,_=_+Math.imul(ct,ue)|0,Z=Z+Math.imul(Te,we)|0,h=h+Math.imul(Te,_e)|0,h=h+Math.imul(g,we)|0,_=_+Math.imul(g,_e)|0,Z=Z+Math.imul(Kt,Be)|0,h=h+Math.imul(Kt,De)|0,h=h+Math.imul(be,Be)|0,_=_+Math.imul(be,De)|0,Z=Z+Math.imul(me,He)|0,h=h+Math.imul(me,Ve)|0,h=h+Math.imul(ye,He)|0,_=_+Math.imul(ye,Ve)|0,Z=Z+Math.imul(Ft,qe)|0,h=h+Math.imul(Ft,$e)|0,h=h+Math.imul(Zt,qe)|0,_=_+Math.imul(Zt,$e)|0,Z=Z+Math.imul(K,Je)|0,h=h+Math.imul(K,Qe)|0,h=h+Math.imul(ht,Je)|0,_=_+Math.imul(ht,Qe)|0;var Zi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,Z=Math.imul(G,Bt),h=Math.imul(G,Ut),h=h+Math.imul(it,Bt)|0,_=Math.imul(it,Ut),Z=Z+Math.imul(O,rt)|0,h=h+Math.imul(O,zt)|0,h=h+Math.imul(A,rt)|0,_=_+Math.imul(A,zt)|0,Z=Z+Math.imul(te,ee)|0,h=h+Math.imul(te,se)|0,h=h+Math.imul(F,ee)|0,_=_+Math.imul(F,se)|0,Z=Z+Math.imul(Et,le)|0,h=h+Math.imul(Et,ue)|0,h=h+Math.imul(Lt,le)|0,_=_+Math.imul(Lt,ue)|0,Z=Z+Math.imul(V,we)|0,h=h+Math.imul(V,_e)|0,h=h+Math.imul(ct,we)|0,_=_+Math.imul(ct,_e)|0,Z=Z+Math.imul(Te,Be)|0,h=h+Math.imul(Te,De)|0,h=h+Math.imul(g,Be)|0,_=_+Math.imul(g,De)|0,Z=Z+Math.imul(Kt,He)|0,h=h+Math.imul(Kt,Ve)|0,h=h+Math.imul(be,He)|0,_=_+Math.imul(be,Ve)|0,Z=Z+Math.imul(me,qe)|0,h=h+Math.imul(me,$e)|0,h=h+Math.imul(ye,qe)|0,_=_+Math.imul(ye,$e)|0,Z=Z+Math.imul(Ft,Je)|0,h=h+Math.imul(Ft,Qe)|0,h=h+Math.imul(Zt,Je)|0,_=_+Math.imul(Zt,Qe)|0,Z=Z+Math.imul(K,tn)|0,h=h+Math.imul(K,en)|0,h=h+Math.imul(ht,tn)|0,_=_+Math.imul(ht,en)|0;var Ki=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,Z=Math.imul(G,rt),h=Math.imul(G,zt),h=h+Math.imul(it,rt)|0,_=Math.imul(it,zt),Z=Z+Math.imul(O,ee)|0,h=h+Math.imul(O,se)|0,h=h+Math.imul(A,ee)|0,_=_+Math.imul(A,se)|0,Z=Z+Math.imul(te,le)|0,h=h+Math.imul(te,ue)|0,h=h+Math.imul(F,le)|0,_=_+Math.imul(F,ue)|0,Z=Z+Math.imul(Et,we)|0,h=h+Math.imul(Et,_e)|0,h=h+Math.imul(Lt,we)|0,_=_+Math.imul(Lt,_e)|0,Z=Z+Math.imul(V,Be)|0,h=h+Math.imul(V,De)|0,h=h+Math.imul(ct,Be)|0,_=_+Math.imul(ct,De)|0,Z=Z+Math.imul(Te,He)|0,h=h+Math.imul(Te,Ve)|0,h=h+Math.imul(g,He)|0,_=_+Math.imul(g,Ve)|0,Z=Z+Math.imul(Kt,qe)|0,h=h+Math.imul(Kt,$e)|0,h=h+Math.imul(be,qe)|0,_=_+Math.imul(be,$e)|0,Z=Z+Math.imul(me,Je)|0,h=h+Math.imul(me,Qe)|0,h=h+Math.imul(ye,Je)|0,_=_+Math.imul(ye,Qe)|0,Z=Z+Math.imul(Ft,tn)|0,h=h+Math.imul(Ft,en)|0,h=h+Math.imul(Zt,tn)|0,_=_+Math.imul(Zt,en)|0;var dn=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(dn>>>26)|0,dn&=67108863,Z=Math.imul(G,ee),h=Math.imul(G,se),h=h+Math.imul(it,ee)|0,_=Math.imul(it,se),Z=Z+Math.imul(O,le)|0,h=h+Math.imul(O,ue)|0,h=h+Math.imul(A,le)|0,_=_+Math.imul(A,ue)|0,Z=Z+Math.imul(te,we)|0,h=h+Math.imul(te,_e)|0,h=h+Math.imul(F,we)|0,_=_+Math.imul(F,_e)|0,Z=Z+Math.imul(Et,Be)|0,h=h+Math.imul(Et,De)|0,h=h+Math.imul(Lt,Be)|0,_=_+Math.imul(Lt,De)|0,Z=Z+Math.imul(V,He)|0,h=h+Math.imul(V,Ve)|0,h=h+Math.imul(ct,He)|0,_=_+Math.imul(ct,Ve)|0,Z=Z+Math.imul(Te,qe)|0,h=h+Math.imul(Te,$e)|0,h=h+Math.imul(g,qe)|0,_=_+Math.imul(g,$e)|0,Z=Z+Math.imul(Kt,Je)|0,h=h+Math.imul(Kt,Qe)|0,h=h+Math.imul(be,Je)|0,_=_+Math.imul(be,Qe)|0,Z=Z+Math.imul(me,tn)|0,h=h+Math.imul(me,en)|0,h=h+Math.imul(ye,tn)|0,_=_+Math.imul(ye,en)|0;var Xi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Xi>>>26)|0,Xi&=67108863,Z=Math.imul(G,le),h=Math.imul(G,ue),h=h+Math.imul(it,le)|0,_=Math.imul(it,ue),Z=Z+Math.imul(O,we)|0,h=h+Math.imul(O,_e)|0,h=h+Math.imul(A,we)|0,_=_+Math.imul(A,_e)|0,Z=Z+Math.imul(te,Be)|0,h=h+Math.imul(te,De)|0,h=h+Math.imul(F,Be)|0,_=_+Math.imul(F,De)|0,Z=Z+Math.imul(Et,He)|0,h=h+Math.imul(Et,Ve)|0,h=h+Math.imul(Lt,He)|0,_=_+Math.imul(Lt,Ve)|0,Z=Z+Math.imul(V,qe)|0,h=h+Math.imul(V,$e)|0,h=h+Math.imul(ct,qe)|0,_=_+Math.imul(ct,$e)|0,Z=Z+Math.imul(Te,Je)|0,h=h+Math.imul(Te,Qe)|0,h=h+Math.imul(g,Je)|0,_=_+Math.imul(g,Qe)|0,Z=Z+Math.imul(Kt,tn)|0,h=h+Math.imul(Kt,en)|0,h=h+Math.imul(be,tn)|0,_=_+Math.imul(be,en)|0;var qi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(qi>>>26)|0,qi&=67108863,Z=Math.imul(G,we),h=Math.imul(G,_e),h=h+Math.imul(it,we)|0,_=Math.imul(it,_e),Z=Z+Math.imul(O,Be)|0,h=h+Math.imul(O,De)|0,h=h+Math.imul(A,Be)|0,_=_+Math.imul(A,De)|0,Z=Z+Math.imul(te,He)|0,h=h+Math.imul(te,Ve)|0,h=h+Math.imul(F,He)|0,_=_+Math.imul(F,Ve)|0,Z=Z+Math.imul(Et,qe)|0,h=h+Math.imul(Et,$e)|0,h=h+Math.imul(Lt,qe)|0,_=_+Math.imul(Lt,$e)|0,Z=Z+Math.imul(V,Je)|0,h=h+Math.imul(V,Qe)|0,h=h+Math.imul(ct,Je)|0,_=_+Math.imul(ct,Qe)|0,Z=Z+Math.imul(Te,tn)|0,h=h+Math.imul(Te,en)|0,h=h+Math.imul(g,tn)|0,_=_+Math.imul(g,en)|0;var $i=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+($i>>>26)|0,$i&=67108863,Z=Math.imul(G,Be),h=Math.imul(G,De),h=h+Math.imul(it,Be)|0,_=Math.imul(it,De),Z=Z+Math.imul(O,He)|0,h=h+Math.imul(O,Ve)|0,h=h+Math.imul(A,He)|0,_=_+Math.imul(A,Ve)|0,Z=Z+Math.imul(te,qe)|0,h=h+Math.imul(te,$e)|0,h=h+Math.imul(F,qe)|0,_=_+Math.imul(F,$e)|0,Z=Z+Math.imul(Et,Je)|0,h=h+Math.imul(Et,Qe)|0,h=h+Math.imul(Lt,Je)|0,_=_+Math.imul(Lt,Qe)|0,Z=Z+Math.imul(V,tn)|0,h=h+Math.imul(V,en)|0,h=h+Math.imul(ct,tn)|0,_=_+Math.imul(ct,en)|0;var Me=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Me>>>26)|0,Me&=67108863,Z=Math.imul(G,He),h=Math.imul(G,Ve),h=h+Math.imul(it,He)|0,_=Math.imul(it,Ve),Z=Z+Math.imul(O,qe)|0,h=h+Math.imul(O,$e)|0,h=h+Math.imul(A,qe)|0,_=_+Math.imul(A,$e)|0,Z=Z+Math.imul(te,Je)|0,h=h+Math.imul(te,Qe)|0,h=h+Math.imul(F,Je)|0,_=_+Math.imul(F,Qe)|0,Z=Z+Math.imul(Et,tn)|0,h=h+Math.imul(Et,en)|0,h=h+Math.imul(Lt,tn)|0,_=_+Math.imul(Lt,en)|0;var Ji=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Ji>>>26)|0,Ji&=67108863,Z=Math.imul(G,qe),h=Math.imul(G,$e),h=h+Math.imul(it,qe)|0,_=Math.imul(it,$e),Z=Z+Math.imul(O,Je)|0,h=h+Math.imul(O,Qe)|0,h=h+Math.imul(A,Je)|0,_=_+Math.imul(A,Qe)|0,Z=Z+Math.imul(te,tn)|0,h=h+Math.imul(te,en)|0,h=h+Math.imul(F,tn)|0,_=_+Math.imul(F,en)|0;var Un=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(Un>>>26)|0,Un&=67108863,Z=Math.imul(G,Je),h=Math.imul(G,Qe),h=h+Math.imul(it,Je)|0,_=Math.imul(it,Qe),Z=Z+Math.imul(O,tn)|0,h=h+Math.imul(O,en)|0,h=h+Math.imul(A,tn)|0,_=_+Math.imul(A,en)|0;var vi=(ut+Z|0)+((h&8191)<<13)|0;ut=(_+(h>>>13)|0)+(vi>>>26)|0,vi&=67108863,Z=Math.imul(G,tn),h=Math.imul(G,en),h=h+Math.imul(it,tn)|0,_=Math.imul(it,en);var gi=(ut+Z|0)+((h&8191)<<13)|0;return ut=(_+(h>>>13)|0)+(gi>>>26)|0,gi&=67108863,et[0]=Fi,et[1]=Vi,et[2]=Hi,et[3]=Gi,et[4]=ji,et[5]=Yi,et[6]=zi,et[7]=Wi,et[8]=Zi,et[9]=Ki,et[10]=dn,et[11]=Xi,et[12]=qi,et[13]=$i,et[14]=Me,et[15]=Ji,et[16]=Un,et[17]=vi,et[18]=gi,ut!==0&&(et[19]=ut,U.length++),U};Math.imul||(J=z);function q(P,f,S){S.negative=f.negative^P.negative,S.length=P.length+f.length;for(var U=0,W=0,$=0;$<S.length-1;$++){var et=W;W=0;for(var ut=U&67108863,Z=Math.min($,f.length-1),h=Math.max(0,$-P.length+1);h<=Z;h++){var _=$-h,j=P.words[_]|0,K=f.words[h]|0,ht=j*K,St=ht&67108863;et=et+(ht/67108864|0)|0,St=St+ut|0,ut=St&67108863,et=et+(St>>>26)|0,W+=et>>>26,et&=67108863}S.words[$]=ut,U=et,et=W}return U!==0?S.words[$]=U:S.length--,S._strip()}function ot(P,f,S){return q(P,f,S)}a.prototype.mulTo=function(f,S){var U,W=this.length+f.length;return this.length===10&&f.length===10?U=J(this,f,S):W<63?U=z(this,f,S):W<1024?U=q(this,f,S):U=ot(this,f,S),U},a.prototype.mul=function(f){var S=new a(null);return S.words=new Array(this.length+f.length),this.mulTo(f,S)},a.prototype.mulf=function(f){var S=new a(null);return S.words=new Array(this.length+f.length),ot(this,f,S)},a.prototype.imul=function(f){return this.clone().mulTo(f,this)},a.prototype.imuln=function(f){var S=f<0;S&&(f=-f),e(typeof f=="number"),e(f<67108864);for(var U=0,W=0;W<this.length;W++){var $=(this.words[W]|0)*f,et=($&67108863)+(U&67108863);U>>=26,U+=$/67108864|0,U+=et>>>26,this.words[W]=et&67108863}return U!==0&&(this.words[W]=U,this.length++),this.length=f===0?1:this.length,S?this.ineg():this},a.prototype.muln=function(f){return this.clone().imuln(f)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(f){var S=Y(f);if(S.length===0)return new a(1);for(var U=this,W=0;W<S.length&&S[W]===0;W++,U=U.sqr());if(++W<S.length)for(var $=U.sqr();W<S.length;W++,$=$.sqr())S[W]!==0&&(U=U.mul($));return U},a.prototype.iushln=function(f){e(typeof f=="number"&&f>=0);var S=f%26,U=(f-S)/26,W=67108863>>>26-S<<26-S,$;if(S!==0){var et=0;for($=0;$<this.length;$++){var ut=this.words[$]&W,Z=(this.words[$]|0)-ut<<S;this.words[$]=Z|et,et=ut>>>26-S}et&&(this.words[$]=et,this.length++)}if(U!==0){for($=this.length-1;$>=0;$--)this.words[$+U]=this.words[$];for($=0;$<U;$++)this.words[$]=0;this.length+=U}return this._strip()},a.prototype.ishln=function(f){return e(this.negative===0),this.iushln(f)},a.prototype.iushrn=function(f,S,U){e(typeof f=="number"&&f>=0);var W;S?W=(S-S%26)/26:W=0;var $=f%26,et=Math.min((f-$)/26,this.length),ut=67108863^67108863>>>$<<$,Z=U;if(W-=et,W=Math.max(0,W),Z){for(var h=0;h<et;h++)Z.words[h]=this.words[h];Z.length=et}if(et!==0)if(this.length>et)for(this.length-=et,h=0;h<this.length;h++)this.words[h]=this.words[h+et];else this.words[0]=0,this.length=1;var _=0;for(h=this.length-1;h>=0&&(_!==0||h>=W);h--){var j=this.words[h]|0;this.words[h]=_<<26-$|j>>>$,_=j&ut}return Z&&_!==0&&(Z.words[Z.length++]=_),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.ishrn=function(f,S,U){return e(this.negative===0),this.iushrn(f,S,U)},a.prototype.shln=function(f){return this.clone().ishln(f)},a.prototype.ushln=function(f){return this.clone().iushln(f)},a.prototype.shrn=function(f){return this.clone().ishrn(f)},a.prototype.ushrn=function(f){return this.clone().iushrn(f)},a.prototype.testn=function(f){e(typeof f=="number"&&f>=0);var S=f%26,U=(f-S)/26,W=1<<S;if(this.length<=U)return!1;var $=this.words[U];return!!($&W)},a.prototype.imaskn=function(f){e(typeof f=="number"&&f>=0);var S=f%26,U=(f-S)/26;if(e(this.negative===0,"imaskn works only with positive numbers"),this.length<=U)return this;if(S!==0&&U++,this.length=Math.min(U,this.length),S!==0){var W=67108863^67108863>>>S<<S;this.words[this.length-1]&=W}return this.length===0&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.maskn=function(f){return this.clone().imaskn(f)},a.prototype.iaddn=function(f){return e(typeof f=="number"),e(f<67108864),f<0?this.isubn(-f):this.negative!==0?this.length===1&&(this.words[0]|0)<=f?(this.words[0]=f-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(f),this.negative=1,this):this._iaddn(f)},a.prototype._iaddn=function(f){this.words[0]+=f;for(var S=0;S<this.length&&this.words[S]>=67108864;S++)this.words[S]-=67108864,S===this.length-1?this.words[S+1]=1:this.words[S+1]++;return this.length=Math.max(this.length,S+1),this},a.prototype.isubn=function(f){if(e(typeof f=="number"),e(f<67108864),f<0)return this.iaddn(-f);if(this.negative!==0)return this.negative=0,this.iaddn(f),this.negative=1,this;if(this.words[0]-=f,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var S=0;S<this.length&&this.words[S]<0;S++)this.words[S]+=67108864,this.words[S+1]-=1;return this._strip()},a.prototype.addn=function(f){return this.clone().iaddn(f)},a.prototype.subn=function(f){return this.clone().isubn(f)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(f,S,U){var W=f.length+U,$;this._expand(W);var et,ut=0;for($=0;$<f.length;$++){et=(this.words[$+U]|0)+ut;var Z=(f.words[$]|0)*S;et-=Z&67108863,ut=(et>>26)-(Z/67108864|0),this.words[$+U]=et&67108863}for(;$<this.length-U;$++)et=(this.words[$+U]|0)+ut,ut=et>>26,this.words[$+U]=et&67108863;if(ut===0)return this._strip();for(e(ut===-1),ut=0,$=0;$<this.length;$++)et=-(this.words[$]|0)+ut,ut=et>>26,this.words[$]=et&67108863;return this.negative=1,this._strip()},a.prototype._wordDiv=function(f,S){var U=this.length-f.length,W=this.clone(),$=f,et=$.words[$.length-1]|0,ut=this._countBits(et);U=26-ut,U!==0&&($=$.ushln(U),W.iushln(U),et=$.words[$.length-1]|0);var Z=W.length-$.length,h;if(S!=="mod"){h=new a(null),h.length=Z+1,h.words=new Array(h.length);for(var _=0;_<h.length;_++)h.words[_]=0}var j=W.clone()._ishlnsubmul($,1,Z);j.negative===0&&(W=j,h&&(h.words[Z]=1));for(var K=Z-1;K>=0;K--){var ht=(W.words[$.length+K]|0)*67108864+(W.words[$.length+K-1]|0);for(ht=Math.min(ht/et|0,67108863),W._ishlnsubmul($,ht,K);W.negative!==0;)ht--,W.negative=0,W._ishlnsubmul($,1,K),W.isZero()||(W.negative^=1);h&&(h.words[K]=ht)}return h&&h._strip(),W._strip(),S!=="div"&&U!==0&&W.iushrn(U),{div:h||null,mod:W}},a.prototype.divmod=function(f,S,U){if(e(!f.isZero()),this.isZero())return{div:new a(0),mod:new a(0)};var W,$,et;return this.negative!==0&&f.negative===0?(et=this.neg().divmod(f,S),S!=="mod"&&(W=et.div.neg()),S!=="div"&&($=et.mod.neg(),U&&$.negative!==0&&$.iadd(f)),{div:W,mod:$}):this.negative===0&&f.negative!==0?(et=this.divmod(f.neg(),S),S!=="mod"&&(W=et.div.neg()),{div:W,mod:et.mod}):(this.negative&f.negative)!==0?(et=this.neg().divmod(f.neg(),S),S!=="div"&&($=et.mod.neg(),U&&$.negative!==0&&$.isub(f)),{div:et.div,mod:$}):f.length>this.length||this.cmp(f)<0?{div:new a(0),mod:this}:f.length===1?S==="div"?{div:this.divn(f.words[0]),mod:null}:S==="mod"?{div:null,mod:new a(this.modrn(f.words[0]))}:{div:this.divn(f.words[0]),mod:new a(this.modrn(f.words[0]))}:this._wordDiv(f,S)},a.prototype.div=function(f){return this.divmod(f,"div",!1).div},a.prototype.mod=function(f){return this.divmod(f,"mod",!1).mod},a.prototype.umod=function(f){return this.divmod(f,"mod",!0).mod},a.prototype.divRound=function(f){var S=this.divmod(f);if(S.mod.isZero())return S.div;var U=S.div.negative!==0?S.mod.isub(f):S.mod,W=f.ushrn(1),$=f.andln(1),et=U.cmp(W);return et<0||$===1&&et===0?S.div:S.div.negative!==0?S.div.isubn(1):S.div.iaddn(1)},a.prototype.modrn=function(f){var S=f<0;S&&(f=-f),e(f<=67108863);for(var U=(1<<26)%f,W=0,$=this.length-1;$>=0;$--)W=(U*W+(this.words[$]|0))%f;return S?-W:W},a.prototype.modn=function(f){return this.modrn(f)},a.prototype.idivn=function(f){var S=f<0;S&&(f=-f),e(f<=67108863);for(var U=0,W=this.length-1;W>=0;W--){var $=(this.words[W]|0)+U*67108864;this.words[W]=$/f|0,U=$%f}return this._strip(),S?this.ineg():this},a.prototype.divn=function(f){return this.clone().idivn(f)},a.prototype.egcd=function(f){e(f.negative===0),e(!f.isZero());var S=this,U=f.clone();S.negative!==0?S=S.umod(f):S=S.clone();for(var W=new a(1),$=new a(0),et=new a(0),ut=new a(1),Z=0;S.isEven()&&U.isEven();)S.iushrn(1),U.iushrn(1),++Z;for(var h=U.clone(),_=S.clone();!S.isZero();){for(var j=0,K=1;(S.words[0]&K)===0&&j<26;++j,K<<=1);if(j>0)for(S.iushrn(j);j-- >0;)(W.isOdd()||$.isOdd())&&(W.iadd(h),$.isub(_)),W.iushrn(1),$.iushrn(1);for(var ht=0,St=1;(U.words[0]&St)===0&&ht<26;++ht,St<<=1);if(ht>0)for(U.iushrn(ht);ht-- >0;)(et.isOdd()||ut.isOdd())&&(et.iadd(h),ut.isub(_)),et.iushrn(1),ut.iushrn(1);S.cmp(U)>=0?(S.isub(U),W.isub(et),$.isub(ut)):(U.isub(S),et.isub(W),ut.isub($))}return{a:et,b:ut,gcd:U.iushln(Z)}},a.prototype._invmp=function(f){e(f.negative===0),e(!f.isZero());var S=this,U=f.clone();S.negative!==0?S=S.umod(f):S=S.clone();for(var W=new a(1),$=new a(0),et=U.clone();S.cmpn(1)>0&&U.cmpn(1)>0;){for(var ut=0,Z=1;(S.words[0]&Z)===0&&ut<26;++ut,Z<<=1);if(ut>0)for(S.iushrn(ut);ut-- >0;)W.isOdd()&&W.iadd(et),W.iushrn(1);for(var h=0,_=1;(U.words[0]&_)===0&&h<26;++h,_<<=1);if(h>0)for(U.iushrn(h);h-- >0;)$.isOdd()&&$.iadd(et),$.iushrn(1);S.cmp(U)>=0?(S.isub(U),W.isub($)):(U.isub(S),$.isub(W))}var j;return S.cmpn(1)===0?j=W:j=$,j.cmpn(0)<0&&j.iadd(f),j},a.prototype.gcd=function(f){if(this.isZero())return f.abs();if(f.isZero())return this.abs();var S=this.clone(),U=f.clone();S.negative=0,U.negative=0;for(var W=0;S.isEven()&&U.isEven();W++)S.iushrn(1),U.iushrn(1);do{for(;S.isEven();)S.iushrn(1);for(;U.isEven();)U.iushrn(1);var $=S.cmp(U);if($<0){var et=S;S=U,U=et}else if($===0||U.cmpn(1)===0)break;S.isub(U)}while(!0);return U.iushln(W)},a.prototype.invm=function(f){return this.egcd(f).a.umod(f)},a.prototype.isEven=function(){return(this.words[0]&1)===0},a.prototype.isOdd=function(){return(this.words[0]&1)===1},a.prototype.andln=function(f){return this.words[0]&f},a.prototype.bincn=function(f){e(typeof f=="number");var S=f%26,U=(f-S)/26,W=1<<S;if(this.length<=U)return this._expand(U+1),this.words[U]|=W,this;for(var $=W,et=U;$!==0&&et<this.length;et++){var ut=this.words[et]|0;ut+=$,$=ut>>>26,ut&=67108863,this.words[et]=ut}return $!==0&&(this.words[et]=$,this.length++),this},a.prototype.isZero=function(){return this.length===1&&this.words[0]===0},a.prototype.cmpn=function(f){var S=f<0;if(this.negative!==0&&!S)return-1;if(this.negative===0&&S)return 1;this._strip();var U;if(this.length>1)U=1;else{S&&(f=-f),e(f<=67108863,"Number is too big");var W=this.words[0]|0;U=W===f?0:W<f?-1:1}return this.negative!==0?-U|0:U},a.prototype.cmp=function(f){if(this.negative!==0&&f.negative===0)return-1;if(this.negative===0&&f.negative!==0)return 1;var S=this.ucmp(f);return this.negative!==0?-S|0:S},a.prototype.ucmp=function(f){if(this.length>f.length)return 1;if(this.length<f.length)return-1;for(var S=0,U=this.length-1;U>=0;U--){var W=this.words[U]|0,$=f.words[U]|0;if(W!==$){W<$?S=-1:W>$&&(S=1);break}}return S},a.prototype.gtn=function(f){return this.cmpn(f)===1},a.prototype.gt=function(f){return this.cmp(f)===1},a.prototype.gten=function(f){return this.cmpn(f)>=0},a.prototype.gte=function(f){return this.cmp(f)>=0},a.prototype.ltn=function(f){return this.cmpn(f)===-1},a.prototype.lt=function(f){return this.cmp(f)===-1},a.prototype.lten=function(f){return this.cmpn(f)<=0},a.prototype.lte=function(f){return this.cmp(f)<=0},a.prototype.eqn=function(f){return this.cmpn(f)===0},a.prototype.eq=function(f){return this.cmp(f)===0},a.red=function(f){return new mt(f)},a.prototype.toRed=function(f){return e(!this.red,"Already a number in reduction context"),e(this.negative===0,"red works only with positives"),f.convertTo(this)._forceRed(f)},a.prototype.fromRed=function(){return e(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(f){return this.red=f,this},a.prototype.forceRed=function(f){return e(!this.red,"Already a number in reduction context"),this._forceRed(f)},a.prototype.redAdd=function(f){return e(this.red,"redAdd works only with red numbers"),this.red.add(this,f)},a.prototype.redIAdd=function(f){return e(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,f)},a.prototype.redSub=function(f){return e(this.red,"redSub works only with red numbers"),this.red.sub(this,f)},a.prototype.redISub=function(f){return e(this.red,"redISub works only with red numbers"),this.red.isub(this,f)},a.prototype.redShl=function(f){return e(this.red,"redShl works only with red numbers"),this.red.shl(this,f)},a.prototype.redMul=function(f){return e(this.red,"redMul works only with red numbers"),this.red._verify2(this,f),this.red.mul(this,f)},a.prototype.redIMul=function(f){return e(this.red,"redMul works only with red numbers"),this.red._verify2(this,f),this.red.imul(this,f)},a.prototype.redSqr=function(){return e(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return e(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return e(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return e(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return e(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(f){return e(this.red&&!f.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,f)};var pt={k256:null,p224:null,p192:null,p25519:null};function ft(P,f){this.name=P,this.p=new a(f,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}ft.prototype._tmp=function(){var f=new a(null);return f.words=new Array(Math.ceil(this.n/13)),f},ft.prototype.ireduce=function(f){var S=f,U;do this.split(S,this.tmp),S=this.imulK(S),S=S.iadd(this.tmp),U=S.bitLength();while(U>this.n);var W=U<this.n?-1:S.ucmp(this.p);return W===0?(S.words[0]=0,S.length=1):W>0?S.isub(this.p):S.strip!==void 0?S.strip():S._strip(),S},ft.prototype.split=function(f,S){f.iushrn(this.n,0,S)},ft.prototype.imulK=function(f){return f.imul(this.k)};function Rt(){ft.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}u(Rt,ft),Rt.prototype.split=function(f,S){for(var U=4194303,W=Math.min(f.length,9),$=0;$<W;$++)S.words[$]=f.words[$];if(S.length=W,f.length<=9){f.words[0]=0,f.length=1;return}var et=f.words[9];for(S.words[S.length++]=et&U,$=10;$<f.length;$++){var ut=f.words[$]|0;f.words[$-10]=(ut&U)<<4|et>>>22,et=ut}et>>>=22,f.words[$-10]=et,et===0&&f.length>10?f.length-=10:f.length-=9},Rt.prototype.imulK=function(f){f.words[f.length]=0,f.words[f.length+1]=0,f.length+=2;for(var S=0,U=0;U<f.length;U++){var W=f.words[U]|0;S+=W*977,f.words[U]=S&67108863,S=W*64+(S/67108864|0)}return f.words[f.length-1]===0&&(f.length--,f.words[f.length-1]===0&&f.length--),f};function At(){ft.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}u(At,ft);function st(){ft.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}u(st,ft);function lt(){ft.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}u(lt,ft),lt.prototype.imulK=function(f){for(var S=0,U=0;U<f.length;U++){var W=(f.words[U]|0)*19+S,$=W&67108863;W>>>=26,f.words[U]=$,S=W}return S!==0&&(f.words[f.length++]=S),f},a._prime=function(f){if(pt[f])return pt[f];var S;if(f==="k256")S=new Rt;else if(f==="p224")S=new At;else if(f==="p192")S=new st;else if(f==="p25519")S=new lt;else throw new Error("Unknown prime "+f);return pt[f]=S,S};function mt(P){if(typeof P=="string"){var f=a._prime(P);this.m=f.p,this.prime=f}else e(P.gtn(1),"modulus must be greater than 1"),this.m=P,this.prime=null}mt.prototype._verify1=function(f){e(f.negative===0,"red works only with positives"),e(f.red,"red works only with red numbers")},mt.prototype._verify2=function(f,S){e((f.negative|S.negative)===0,"red works only with positives"),e(f.red&&f.red===S.red,"red works only with red numbers")},mt.prototype.imod=function(f){return this.prime?this.prime.ireduce(f)._forceRed(this):(N(f,f.umod(this.m)._forceRed(this)),f)},mt.prototype.neg=function(f){return f.isZero()?f.clone():this.m.sub(f)._forceRed(this)},mt.prototype.add=function(f,S){this._verify2(f,S);var U=f.add(S);return U.cmp(this.m)>=0&&U.isub(this.m),U._forceRed(this)},mt.prototype.iadd=function(f,S){this._verify2(f,S);var U=f.iadd(S);return U.cmp(this.m)>=0&&U.isub(this.m),U},mt.prototype.sub=function(f,S){this._verify2(f,S);var U=f.sub(S);return U.cmpn(0)<0&&U.iadd(this.m),U._forceRed(this)},mt.prototype.isub=function(f,S){this._verify2(f,S);var U=f.isub(S);return U.cmpn(0)<0&&U.iadd(this.m),U},mt.prototype.shl=function(f,S){return this._verify1(f),this.imod(f.ushln(S))},mt.prototype.imul=function(f,S){return this._verify2(f,S),this.imod(f.imul(S))},mt.prototype.mul=function(f,S){return this._verify2(f,S),this.imod(f.mul(S))},mt.prototype.isqr=function(f){return this.imul(f,f.clone())},mt.prototype.sqr=function(f){return this.mul(f,f)},mt.prototype.sqrt=function(f){if(f.isZero())return f.clone();var S=this.m.andln(3);if(e(S%2===1),S===3){var U=this.m.add(new a(1)).iushrn(2);return this.pow(f,U)}for(var W=this.m.subn(1),$=0;!W.isZero()&&W.andln(1)===0;)$++,W.iushrn(1);e(!W.isZero());var et=new a(1).toRed(this),ut=et.redNeg(),Z=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new a(2*h*h).toRed(this);this.pow(h,Z).cmp(ut)!==0;)h.redIAdd(ut);for(var _=this.pow(h,W),j=this.pow(f,W.addn(1).iushrn(1)),K=this.pow(f,W),ht=$;K.cmp(et)!==0;){for(var St=K,Ft=0;St.cmp(et)!==0;Ft++)St=St.redSqr();e(Ft<ht);var Zt=this.pow(_,new a(1).iushln(ht-Ft-1));j=j.redMul(Zt),_=Zt.redSqr(),K=K.redMul(_),ht=Ft}return j},mt.prototype.invm=function(f){var S=f._invmp(this.m);return S.negative!==0?(S.negative=0,this.imod(S).redNeg()):this.imod(S)},mt.prototype.pow=function(f,S){if(S.isZero())return new a(1).toRed(this);if(S.cmpn(1)===0)return f.clone();var U=4,W=new Array(1<<U);W[0]=new a(1).toRed(this),W[1]=f;for(var $=2;$<W.length;$++)W[$]=this.mul(W[$-1],f);var et=W[0],ut=0,Z=0,h=S.bitLength()%26;for(h===0&&(h=26),$=S.length-1;$>=0;$--){for(var _=S.words[$],j=h-1;j>=0;j--){var K=_>>j&1;if(et!==W[0]&&(et=this.sqr(et)),K===0&&ut===0){Z=0;continue}ut<<=1,ut|=K,Z++,!(Z!==U&&($!==0||j!==0))&&(et=this.mul(et,W[ut]),Z=0,ut=0)}h=26}return et},mt.prototype.convertTo=function(f){var S=f.umod(this.m);return S===f?S.clone():S},mt.prototype.convertFrom=function(f){var S=f.clone();return S.red=null,S},a.mont=function(f){return new wt(f)};function wt(P){mt.call(this,P),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}u(wt,mt),wt.prototype.convertTo=function(f){return this.imod(f.ushln(this.shift))},wt.prototype.convertFrom=function(f){var S=this.imod(f.mul(this.rinv));return S.red=null,S},wt.prototype.imul=function(f,S){if(f.isZero()||S.isZero())return f.words[0]=0,f.length=1,f;var U=f.imul(S),W=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),$=U.isub(W).iushrn(this.shift),et=$;return $.cmp(this.m)>=0?et=$.isub(this.m):$.cmpn(0)<0&&(et=$.iadd(this.m)),et._forceRed(this)},wt.prototype.mul=function(f,S){if(f.isZero()||S.isZero())return new a(0)._forceRed(this);var U=f.mul(S),W=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),$=U.isub(W).iushrn(this.shift),et=$;return $.cmp(this.m)>=0?et=$.isub(this.m):$.cmpn(0)<0&&(et=$.iadd(this.m)),et._forceRed(this)},wt.prototype.invm=function(f){var S=this.imod(f._invmp(this.m).mul(this.r2));return S._forceRed(this)}})(t,zd)})(_o)),_o.exports}var Wd=Yu();const zu=ds(Wd);var Ro={exports:{}};var Wu;function Zu(){return Wu||(Wu=1,(function(t,n){var r=vs(),e=r.Buffer;function u(d,E){for(var l in d)E[l]=d[l]}e.from&&e.alloc&&e.allocUnsafe&&e.allocUnsafeSlow?t.exports=r:(u(r,n),n.Buffer=a);function a(d,E,l){return e(d,E,l)}a.prototype=Object.create(e.prototype),u(e,a),a.from=function(d,E,l){if(typeof d=="number")throw new TypeError("Argument must not be a number");return e(d,E,l)},a.alloc=function(d,E,l){if(typeof d!="number")throw new TypeError("Argument must be a number");var b=e(d);return E!==void 0?typeof l=="string"?b.fill(E,l):b.fill(E):b.fill(0),b},a.allocUnsafe=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return e(d)},a.allocUnsafeSlow=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(d)}})(Ro,Ro.exports)),Ro.exports}var Ls,Ku;function Zd(){if(Ku)return Ls;Ku=1;var t=Zu().Buffer;function n(r){if(r.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),u=0;u<e.length;u++)e[u]=255;for(var a=0;a<r.length;a++){var d=r.charAt(a),E=d.charCodeAt(0);if(e[E]!==255)throw new TypeError(d+" is ambiguous");e[E]=a}var l=r.length,b=r.charAt(0),N=Math.log(l)/Math.log(256),x=Math.log(256)/Math.log(l);function T(D){if((Array.isArray(D)||D instanceof Uint8Array)&&(D=t.from(D)),!t.isBuffer(D))throw new TypeError("Expected Buffer");if(D.length===0)return"";for(var Y=0,z=0,J=0,q=D.length;J!==q&&D[J]===0;)J++,Y++;for(var ot=(q-J)*x+1>>>0,pt=new Uint8Array(ot);J!==q;){for(var ft=D[J],Rt=0,At=ot-1;(ft!==0||Rt<z)&&At!==-1;At--,Rt++)ft+=256*pt[At]>>>0,pt[At]=ft%l>>>0,ft=ft/l>>>0;if(ft!==0)throw new Error("Non-zero carry");z=Rt,J++}for(var st=ot-z;st!==ot&&pt[st]===0;)st++;for(var lt=b.repeat(Y);st<ot;++st)lt+=r.charAt(pt[st]);return lt}function L(D){if(typeof D!="string")throw new TypeError("Expected String");if(D.length===0)return t.alloc(0);for(var Y=0,z=0,J=0;D[Y]===b;)z++,Y++;for(var q=(D.length-Y)*N+1>>>0,ot=new Uint8Array(q);Y<D.length;){var pt=D.charCodeAt(Y);if(pt>255)return;var ft=e[pt];if(ft===255)return;for(var Rt=0,At=q-1;(ft!==0||Rt<J)&&At!==-1;At--,Rt++)ft+=l*ot[At]>>>0,ot[At]=ft%256>>>0,ft=ft/256>>>0;if(ft!==0)throw new Error("Non-zero carry");J=Rt,Y++}for(var st=q-J;st!==q&&ot[st]===0;)st++;var lt=t.allocUnsafe(z+(q-st));lt.fill(0,0,z);for(var mt=z;st!==q;)lt[mt++]=ot[st++];return lt}function M(D){var Y=L(D);if(Y)return Y;throw new Error("Non-base"+l+" character")}return{encode:T,decodeUnsafe:L,decode:M}}return Ls=n,Ls}var Cs,Xu;function Kd(){if(Xu)return Cs;Xu=1;var t=Zd(),n="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";return Cs=t(n),Cs}var Xd=Kd();const In=ds(Xd),qu=pu;var Ue={},Bs,$u;function qd(){if($u)return Bs;$u=1;var t=Zu().Buffer;function n(r){if(r.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),u=0;u<e.length;u++)e[u]=255;for(var a=0;a<r.length;a++){var d=r.charAt(a),E=d.charCodeAt(0);if(e[E]!==255)throw new TypeError(d+" is ambiguous");e[E]=a}var l=r.length,b=r.charAt(0),N=Math.log(l)/Math.log(256),x=Math.log(256)/Math.log(l);function T(D){if((Array.isArray(D)||D instanceof Uint8Array)&&(D=t.from(D)),!t.isBuffer(D))throw new TypeError("Expected Buffer");if(D.length===0)return"";for(var Y=0,z=0,J=0,q=D.length;J!==q&&D[J]===0;)J++,Y++;for(var ot=(q-J)*x+1>>>0,pt=new Uint8Array(ot);J!==q;){for(var ft=D[J],Rt=0,At=ot-1;(ft!==0||Rt<z)&&At!==-1;At--,Rt++)ft+=256*pt[At]>>>0,pt[At]=ft%l>>>0,ft=ft/l>>>0;if(ft!==0)throw new Error("Non-zero carry");z=Rt,J++}for(var st=ot-z;st!==ot&&pt[st]===0;)st++;for(var lt=b.repeat(Y);st<ot;++st)lt+=r.charAt(pt[st]);return lt}function L(D){if(typeof D!="string")throw new TypeError("Expected String");if(D.length===0)return t.alloc(0);for(var Y=0,z=0,J=0;D[Y]===b;)z++,Y++;for(var q=(D.length-Y)*N+1>>>0,ot=new Uint8Array(q);Y<D.length;){var pt=D.charCodeAt(Y);if(pt>255)return;var ft=e[pt];if(ft===255)return;for(var Rt=0,At=q-1;(ft!==0||Rt<J)&&At!==-1;At--,Rt++)ft+=l*ot[At]>>>0,ot[At]=ft%256>>>0,ft=ft/256>>>0;if(ft!==0)throw new Error("Non-zero carry");J=Rt,Y++}for(var st=q-J;st!==q&&ot[st]===0;)st++;var lt=t.allocUnsafe(z+(q-st));lt.fill(0,0,z);for(var mt=z;st!==q;)lt[mt++]=ot[st++];return lt}function M(D){var Y=L(D);if(Y)return Y;throw new Error("Non-base"+l+" character")}return{encode:T,decodeUnsafe:L,decode:M}}return Bs=n,Bs}var Ms,Ju;function $d(){if(Ju)return Ms;Ju=1;var t=qd(),n="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";return Ms=t(n),Ms}function or(t,n,r){return n<=t&&t<=r}function Ao(t){if(t===void 0)return{};if(t===Object(t))return t;throw TypeError("Could not convert argument to dictionary")}function Jd(t){for(var n=String(t),r=n.length,e=0,u=[];e<r;){var a=n.charCodeAt(e);if(a<55296||a>57343)u.push(a);else if(56320<=a&&a<=57343)u.push(65533);else if(55296<=a&&a<=56319)if(e===r-1)u.push(65533);else{var d=t.charCodeAt(e+1);if(56320<=d&&d<=57343){var E=a&1023,l=d&1023;u.push(65536+(E<<10)+l),e+=1}else u.push(65533)}e+=1}return u}function Qd(t){for(var n="",r=0;r<t.length;++r){var e=t[r];e<=65535?n+=String.fromCharCode(e):(e-=65536,n+=String.fromCharCode((e>>10)+55296,(e&1023)+56320))}return n}var So=-1;function ks(t){this.tokens=[].slice.call(t)}ks.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():So},prepend:function(t){if(Array.isArray(t))for(var n=t;n.length;)this.tokens.unshift(n.pop());else this.tokens.unshift(t)},push:function(t){if(Array.isArray(t))for(var n=t;n.length;)this.tokens.push(n.shift());else this.tokens.push(t)}};var ni=-1;function Us(t,n){if(t)throw TypeError("Decoder error");return n||65533}var Io="utf-8";function Oo(t,n){if(!(this instanceof Oo))return new Oo(t,n);if(t=t!==void 0?String(t).toLowerCase():Io,t!==Io)throw new Error("Encoding not supported. Only utf-8 is supported");n=Ao(n),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=!!n.fatal,this._ignoreBOM=!!n.ignoreBOM,Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}Oo.prototype={decode:function(n,r){var e;typeof n=="object"&&n instanceof ArrayBuffer?e=new Uint8Array(n):typeof n=="object"&&"buffer"in n&&n.buffer instanceof ArrayBuffer?e=new Uint8Array(n.buffer,n.byteOffset,n.byteLength):e=new Uint8Array(0),r=Ao(r),this._streaming||(this._decoder=new t1({fatal:this._fatal}),this._BOMseen=!1),this._streaming=!!r.stream;for(var u=new ks(e),a=[],d;!u.endOfStream()&&(d=this._decoder.handler(u,u.read()),d!==ni);)d!==null&&(Array.isArray(d)?a.push.apply(a,d):a.push(d));if(!this._streaming){do{if(d=this._decoder.handler(u,u.read()),d===ni)break;d!==null&&(Array.isArray(d)?a.push.apply(a,d):a.push(d))}while(!u.endOfStream());this._decoder=null}return a.length&&["utf-8"].indexOf(this.encoding)!==-1&&!this._ignoreBOM&&!this._BOMseen&&(a[0]===65279?(this._BOMseen=!0,a.shift()):this._BOMseen=!0),Qd(a)}};function No(t,n){if(!(this instanceof No))return new No(t,n);if(t=t!==void 0?String(t).toLowerCase():Io,t!==Io)throw new Error("Encoding not supported. Only utf-8 is supported");n=Ao(n),this._streaming=!1,this._encoder=null,this._options={fatal:!!n.fatal},Object.defineProperty(this,"encoding",{value:"utf-8"})}No.prototype={encode:function(n,r){n=n?String(n):"",r=Ao(r),this._streaming||(this._encoder=new e1(this._options)),this._streaming=!!r.stream;for(var e=[],u=new ks(Jd(n)),a;!u.endOfStream()&&(a=this._encoder.handler(u,u.read()),a!==ni);)Array.isArray(a)?e.push.apply(e,a):e.push(a);if(!this._streaming){for(;a=this._encoder.handler(u,u.read()),a!==ni;)Array.isArray(a)?e.push.apply(e,a):e.push(a);this._encoder=null}return new Uint8Array(e)}};function t1(t){var n=t.fatal,r=0,e=0,u=0,a=128,d=191;this.handler=function(E,l){if(l===So&&u!==0)return u=0,Us(n);if(l===So)return ni;if(u===0){if(or(l,0,127))return l;if(or(l,194,223))u=1,r=l-192;else if(or(l,224,239))l===224&&(a=160),l===237&&(d=159),u=2,r=l-224;else if(or(l,240,244))l===240&&(a=144),l===244&&(d=143),u=3,r=l-240;else return Us(n);return r=r<<6*u,null}if(!or(l,a,d))return r=u=e=0,a=128,d=191,E.prepend(l),Us(n);if(a=128,d=191,e+=1,r+=l-128<<6*(u-e),e!==u)return null;var b=r;return r=u=e=0,b}}function e1(t){t.fatal,this.handler=function(n,r){if(r===So)return ni;if(or(r,0,127))return r;var e,u;or(r,128,2047)?(e=1,u=192):or(r,2048,65535)?(e=2,u=224):or(r,65536,1114111)&&(e=3,u=240);for(var a=[(r>>6*e)+u];e>0;){var d=r>>6*(e-1);a.push(128|d&63),e-=1}return a}}const n1=hs(Object.freeze(Object.defineProperty({__proto__:null,TextDecoder:Oo,TextEncoder:No},Symbol.toStringTag,{value:"Module"})));var Qu;function r1(){if(Qu)return Ue;Qu=1;var t=Ue&&Ue.__createBinding||(Object.create?(function(st,lt,mt,wt){wt===void 0&&(wt=mt),Object.defineProperty(st,wt,{enumerable:!0,get:function(){return lt[mt]}})}):(function(st,lt,mt,wt){wt===void 0&&(wt=mt),st[wt]=lt[mt]})),n=Ue&&Ue.__setModuleDefault||(Object.create?(function(st,lt){Object.defineProperty(st,"default",{enumerable:!0,value:lt})}):function(st,lt){st.default=lt}),r=Ue&&Ue.__decorate||function(st,lt,mt,wt){var P=arguments.length,f=P<3?lt:wt===null?wt=Object.getOwnPropertyDescriptor(lt,mt):wt,S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")f=Reflect.decorate(st,lt,mt,wt);else for(var U=st.length-1;U>=0;U--)(S=st[U])&&(f=(P<3?S(f):P>3?S(lt,mt,f):S(lt,mt))||f);return P>3&&f&&Object.defineProperty(lt,mt,f),f},e=Ue&&Ue.__importStar||function(st){if(st&&st.__esModule)return st;var lt={};if(st!=null)for(var mt in st)mt!=="default"&&Object.hasOwnProperty.call(st,mt)&&t(lt,st,mt);return n(lt,st),lt},u=Ue&&Ue.__importDefault||function(st){return st&&st.__esModule?st:{default:st}};Object.defineProperty(Ue,"__esModule",{value:!0}),Ue.deserializeUnchecked=Ue.deserialize=Ue.serialize=Ue.BinaryReader=Ue.BinaryWriter=Ue.BorshError=Ue.baseDecode=Ue.baseEncode=void 0;const a=u(Yu()),d=u($d()),E=e(n1),l=typeof TextDecoder!="function"?E.TextDecoder:TextDecoder,b=new l("utf-8",{fatal:!0});function N(st){return typeof st=="string"&&(st=Buffer.from(st,"utf8")),d.default.encode(Buffer.from(st))}Ue.baseEncode=N;function x(st){return Buffer.from(d.default.decode(st))}Ue.baseDecode=x;const T=1024;class L extends Error{constructor(lt){super(lt),this.fieldPath=[],this.originalMessage=lt}addToFieldPath(lt){this.fieldPath.splice(0,0,lt),this.message=this.originalMessage+": "+this.fieldPath.join(".")}}Ue.BorshError=L;class M{constructor(){this.buf=Buffer.alloc(T),this.length=0}maybeResize(){this.buf.length<16+this.length&&(this.buf=Buffer.concat([this.buf,Buffer.alloc(T)]))}writeU8(lt){this.maybeResize(),this.buf.writeUInt8(lt,this.length),this.length+=1}writeU16(lt){this.maybeResize(),this.buf.writeUInt16LE(lt,this.length),this.length+=2}writeU32(lt){this.maybeResize(),this.buf.writeUInt32LE(lt,this.length),this.length+=4}writeU64(lt){this.maybeResize(),this.writeBuffer(Buffer.from(new a.default(lt).toArray("le",8)))}writeU128(lt){this.maybeResize(),this.writeBuffer(Buffer.from(new a.default(lt).toArray("le",16)))}writeU256(lt){this.maybeResize(),this.writeBuffer(Buffer.from(new a.default(lt).toArray("le",32)))}writeU512(lt){this.maybeResize(),this.writeBuffer(Buffer.from(new a.default(lt).toArray("le",64)))}writeBuffer(lt){this.buf=Buffer.concat([Buffer.from(this.buf.subarray(0,this.length)),lt,Buffer.alloc(T)]),this.length+=lt.length}writeString(lt){this.maybeResize();const mt=Buffer.from(lt,"utf8");this.writeU32(mt.length),this.writeBuffer(mt)}writeFixedArray(lt){this.writeBuffer(Buffer.from(lt))}writeArray(lt,mt){this.maybeResize(),this.writeU32(lt.length);for(const wt of lt)this.maybeResize(),mt(wt)}toArray(){return this.buf.subarray(0,this.length)}}Ue.BinaryWriter=M;function D(st,lt,mt){const wt=mt.value;mt.value=function(...P){try{return wt.apply(this,P)}catch(f){if(f instanceof RangeError){const S=f.code;if(["ERR_BUFFER_OUT_OF_BOUNDS","ERR_OUT_OF_RANGE"].indexOf(S)>=0)throw new L("Reached the end of buffer when deserializing")}throw f}}}class Y{constructor(lt){this.buf=lt,this.offset=0}readU8(){const lt=this.buf.readUInt8(this.offset);return this.offset+=1,lt}readU16(){const lt=this.buf.readUInt16LE(this.offset);return this.offset+=2,lt}readU32(){const lt=this.buf.readUInt32LE(this.offset);return this.offset+=4,lt}readU64(){const lt=this.readBuffer(8);return new a.default(lt,"le")}readU128(){const lt=this.readBuffer(16);return new a.default(lt,"le")}readU256(){const lt=this.readBuffer(32);return new a.default(lt,"le")}readU512(){const lt=this.readBuffer(64);return new a.default(lt,"le")}readBuffer(lt){if(this.offset+lt>this.buf.length)throw new L(`Expected buffer length ${lt} isn't within bounds`);const mt=this.buf.slice(this.offset,this.offset+lt);return this.offset+=lt,mt}readString(){const lt=this.readU32(),mt=this.readBuffer(lt);try{return b.decode(mt)}catch(wt){throw new L(`Error decoding UTF-8 string: ${wt}`)}}readFixedArray(lt){return new Uint8Array(this.readBuffer(lt))}readArray(lt){const mt=this.readU32(),wt=Array();for(let P=0;P<mt;++P)wt.push(lt());return wt}}r([D],Y.prototype,"readU8",null),r([D],Y.prototype,"readU16",null),r([D],Y.prototype,"readU32",null),r([D],Y.prototype,"readU64",null),r([D],Y.prototype,"readU128",null),r([D],Y.prototype,"readU256",null),r([D],Y.prototype,"readU512",null),r([D],Y.prototype,"readString",null),r([D],Y.prototype,"readFixedArray",null),r([D],Y.prototype,"readArray",null),Ue.BinaryReader=Y;function z(st){return st.charAt(0).toUpperCase()+st.slice(1)}function J(st,lt,mt,wt,P){try{if(typeof wt=="string")P[`write${z(wt)}`](mt);else if(wt instanceof Array)if(typeof wt[0]=="number"){if(mt.length!==wt[0])throw new L(`Expecting byte array of length ${wt[0]}, but got ${mt.length} bytes`);P.writeFixedArray(mt)}else if(wt.length===2&&typeof wt[1]=="number"){if(mt.length!==wt[1])throw new L(`Expecting byte array of length ${wt[1]}, but got ${mt.length} bytes`);for(let f=0;f<wt[1];f++)J(st,null,mt[f],wt[0],P)}else P.writeArray(mt,f=>{J(st,lt,f,wt[0],P)});else if(wt.kind!==void 0)switch(wt.kind){case"option":{mt==null?P.writeU8(0):(P.writeU8(1),J(st,lt,mt,wt.type,P));break}case"map":{P.writeU32(mt.size),mt.forEach((f,S)=>{J(st,lt,S,wt.key,P),J(st,lt,f,wt.value,P)});break}default:throw new L(`FieldType ${wt} unrecognized`)}else q(st,mt,P)}catch(f){throw f instanceof L&&f.addToFieldPath(lt),f}}function q(st,lt,mt){if(typeof lt.borshSerialize=="function"){lt.borshSerialize(mt);return}const wt=st.get(lt.constructor);if(!wt)throw new L(`Class ${lt.constructor.name} is missing in schema`);if(wt.kind==="struct")wt.fields.map(([P,f])=>{J(st,P,lt[P],f,mt)});else if(wt.kind==="enum"){const P=lt[wt.field];for(let f=0;f<wt.values.length;++f){const[S,U]=wt.values[f];if(S===P){mt.writeU8(f),J(st,S,lt[S],U,mt);break}}}else throw new L(`Unexpected schema kind: ${wt.kind} for ${lt.constructor.name}`)}function ot(st,lt,mt=M){const wt=new mt;return q(st,lt,wt),wt.toArray()}Ue.serialize=ot;function pt(st,lt,mt,wt){try{if(typeof mt=="string")return wt[`read${z(mt)}`]();if(mt instanceof Array){if(typeof mt[0]=="number")return wt.readFixedArray(mt[0]);if(typeof mt[1]=="number"){const P=[];for(let f=0;f<mt[1];f++)P.push(pt(st,null,mt[0],wt));return P}else return wt.readArray(()=>pt(st,lt,mt[0],wt))}if(mt.kind==="option")return wt.readU8()?pt(st,lt,mt.type,wt):void 0;if(mt.kind==="map"){let P=new Map;const f=wt.readU32();for(let S=0;S<f;S++){const U=pt(st,lt,mt.key,wt),W=pt(st,lt,mt.value,wt);P.set(U,W)}return P}return ft(st,mt,wt)}catch(P){throw P instanceof L&&P.addToFieldPath(lt),P}}function ft(st,lt,mt){if(typeof lt.borshDeserialize=="function")return lt.borshDeserialize(mt);const wt=st.get(lt);if(!wt)throw new L(`Class ${lt.name} is missing in schema`);if(wt.kind==="struct"){const P={};for(const[f,S]of st.get(lt).fields)P[f]=pt(st,f,S,mt);return new lt(P)}if(wt.kind==="enum"){const P=mt.readU8();if(P>=wt.values.length)throw new L(`Enum index: ${P} is out of range`);const[f,S]=wt.values[P],U=pt(st,f,S,mt);return new lt({[f]:U})}throw new L(`Unexpected schema kind: ${wt.kind} for ${lt.constructor.name}`)}function Rt(st,lt,mt,wt=Y){const P=new wt(mt),f=ft(st,lt,P);if(P.offset<mt.length)throw new L(`Unexpected ${mt.length-P.offset} bytes after deserialized data`);return f}Ue.deserialize=Rt;function At(st,lt,mt,wt=Y){const P=new wt(mt);return ft(st,lt,P)}return Ue.deserializeUnchecked=At,Ue}var Ds=r1(),Ot={},tc;function i1(){if(tc)return Ot;tc=1,Object.defineProperty(Ot,"__esModule",{value:!0}),Ot.s16=Ot.s8=Ot.nu64be=Ot.u48be=Ot.u40be=Ot.u32be=Ot.u24be=Ot.u16be=Ot.nu64=Ot.u48=Ot.u40=Ot.u32=Ot.u24=Ot.u16=Ot.u8=Ot.offset=Ot.greedy=Ot.Constant=Ot.UTF8=Ot.CString=Ot.Blob=Ot.Boolean=Ot.BitField=Ot.BitStructure=Ot.VariantLayout=Ot.Union=Ot.UnionLayoutDiscriminator=Ot.UnionDiscriminator=Ot.Structure=Ot.Sequence=Ot.DoubleBE=Ot.Double=Ot.FloatBE=Ot.Float=Ot.NearInt64BE=Ot.NearInt64=Ot.NearUInt64BE=Ot.NearUInt64=Ot.IntBE=Ot.Int=Ot.UIntBE=Ot.UInt=Ot.OffsetLayout=Ot.GreedyCount=Ot.ExternalLayout=Ot.bindConstructorLayout=Ot.nameWithProperty=Ot.Layout=Ot.uint8ArrayToBuffer=Ot.checkUint8Array=void 0,Ot.constant=Ot.utf8=Ot.cstr=Ot.blob=Ot.unionLayoutDiscriminator=Ot.union=Ot.seq=Ot.bits=Ot.struct=Ot.f64be=Ot.f64=Ot.f32be=Ot.f32=Ot.ns64be=Ot.s48be=Ot.s40be=Ot.s32be=Ot.s24be=Ot.s16be=Ot.ns64=Ot.s48=Ot.s40=Ot.s32=Ot.s24=void 0;const t=vs();function n(h){if(!(h instanceof Uint8Array))throw new TypeError("b must be a Uint8Array")}Ot.checkUint8Array=n;function r(h){return n(h),t.Buffer.from(h.buffer,h.byteOffset,h.length)}Ot.uint8ArrayToBuffer=r;let e=class{constructor(_,j){if(!Number.isInteger(_))throw new TypeError("span must be an integer");this.span=_,this.property=j}makeDestinationObject(){return{}}getSpan(_,j){if(0>this.span)throw new RangeError("indeterminate span");return this.span}replicate(_){const j=Object.create(this.constructor.prototype);return Object.assign(j,this),j.property=_,j}fromArray(_){}};Ot.Layout=e;function u(h,_){return _.property?h+"["+_.property+"]":h}Ot.nameWithProperty=u;function a(h,_){if(typeof h!="function")throw new TypeError("Class must be constructor");if(Object.prototype.hasOwnProperty.call(h,"layout_"))throw new Error("Class is already bound to a layout");if(!(_&&_ instanceof e))throw new TypeError("layout must be a Layout");if(Object.prototype.hasOwnProperty.call(_,"boundConstructor_"))throw new Error("layout is already bound to a constructor");h.layout_=_,_.boundConstructor_=h,_.makeDestinationObject=(()=>new h),Object.defineProperty(h.prototype,"encode",{value(j,K){return _.encode(this,j,K)},writable:!0}),Object.defineProperty(h,"decode",{value(j,K){return _.decode(j,K)},writable:!0})}Ot.bindConstructorLayout=a;class d extends e{isCount(){throw new Error("ExternalLayout is abstract")}}Ot.ExternalLayout=d;class E extends d{constructor(_=1,j){if(!Number.isInteger(_)||0>=_)throw new TypeError("elementSpan must be a (positive) integer");super(-1,j),this.elementSpan=_}isCount(){return!0}decode(_,j=0){n(_);const K=_.length-j;return Math.floor(K/this.elementSpan)}encode(_,j,K){return 0}}Ot.GreedyCount=E;class l extends d{constructor(_,j=0,K){if(!(_ instanceof e))throw new TypeError("layout must be a Layout");if(!Number.isInteger(j))throw new TypeError("offset must be integer or undefined");super(_.span,K||_.property),this.layout=_,this.offset=j}isCount(){return this.layout instanceof b||this.layout instanceof N}decode(_,j=0){return this.layout.decode(_,j+this.offset)}encode(_,j,K=0){return this.layout.encode(_,j,K+this.offset)}}Ot.OffsetLayout=l;class b extends e{constructor(_,j){if(super(_,j),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(_,j=0){return r(_).readUIntLE(j,this.span)}encode(_,j,K=0){return r(j).writeUIntLE(_,K,this.span),this.span}}Ot.UInt=b;class N extends e{constructor(_,j){if(super(_,j),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(_,j=0){return r(_).readUIntBE(j,this.span)}encode(_,j,K=0){return r(j).writeUIntBE(_,K,this.span),this.span}}Ot.UIntBE=N;class x extends e{constructor(_,j){if(super(_,j),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(_,j=0){return r(_).readIntLE(j,this.span)}encode(_,j,K=0){return r(j).writeIntLE(_,K,this.span),this.span}}Ot.Int=x;class T extends e{constructor(_,j){if(super(_,j),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(_,j=0){return r(_).readIntBE(j,this.span)}encode(_,j,K=0){return r(j).writeIntBE(_,K,this.span),this.span}}Ot.IntBE=T;const L=Math.pow(2,32);function M(h){const _=Math.floor(h/L),j=h-_*L;return{hi32:_,lo32:j}}function D(h,_){return h*L+_}class Y extends e{constructor(_){super(8,_)}decode(_,j=0){const K=r(_),ht=K.readUInt32LE(j),St=K.readUInt32LE(j+4);return D(St,ht)}encode(_,j,K=0){const ht=M(_),St=r(j);return St.writeUInt32LE(ht.lo32,K),St.writeUInt32LE(ht.hi32,K+4),8}}Ot.NearUInt64=Y;class z extends e{constructor(_){super(8,_)}decode(_,j=0){const K=r(_),ht=K.readUInt32BE(j),St=K.readUInt32BE(j+4);return D(ht,St)}encode(_,j,K=0){const ht=M(_),St=r(j);return St.writeUInt32BE(ht.hi32,K),St.writeUInt32BE(ht.lo32,K+4),8}}Ot.NearUInt64BE=z;class J extends e{constructor(_){super(8,_)}decode(_,j=0){const K=r(_),ht=K.readUInt32LE(j),St=K.readInt32LE(j+4);return D(St,ht)}encode(_,j,K=0){const ht=M(_),St=r(j);return St.writeUInt32LE(ht.lo32,K),St.writeInt32LE(ht.hi32,K+4),8}}Ot.NearInt64=J;class q extends e{constructor(_){super(8,_)}decode(_,j=0){const K=r(_),ht=K.readInt32BE(j),St=K.readUInt32BE(j+4);return D(ht,St)}encode(_,j,K=0){const ht=M(_),St=r(j);return St.writeInt32BE(ht.hi32,K),St.writeUInt32BE(ht.lo32,K+4),8}}Ot.NearInt64BE=q;class ot extends e{constructor(_){super(4,_)}decode(_,j=0){return r(_).readFloatLE(j)}encode(_,j,K=0){return r(j).writeFloatLE(_,K),4}}Ot.Float=ot;class pt extends e{constructor(_){super(4,_)}decode(_,j=0){return r(_).readFloatBE(j)}encode(_,j,K=0){return r(j).writeFloatBE(_,K),4}}Ot.FloatBE=pt;class ft extends e{constructor(_){super(8,_)}decode(_,j=0){return r(_).readDoubleLE(j)}encode(_,j,K=0){return r(j).writeDoubleLE(_,K),8}}Ot.Double=ft;class Rt extends e{constructor(_){super(8,_)}decode(_,j=0){return r(_).readDoubleBE(j)}encode(_,j,K=0){return r(j).writeDoubleBE(_,K),8}}Ot.DoubleBE=Rt;class At extends e{constructor(_,j,K){if(!(_ instanceof e))throw new TypeError("elementLayout must be a Layout");if(!(j instanceof d&&j.isCount()||Number.isInteger(j)&&0<=j))throw new TypeError("count must be non-negative integer or an unsigned integer ExternalLayout");let ht=-1;!(j instanceof d)&&0<_.span&&(ht=j*_.span),super(ht,K),this.elementLayout=_,this.count=j}getSpan(_,j=0){if(0<=this.span)return this.span;let K=0,ht=this.count;if(ht instanceof d&&(ht=ht.decode(_,j)),0<this.elementLayout.span)K=ht*this.elementLayout.span;else{let St=0;for(;St<ht;)K+=this.elementLayout.getSpan(_,j+K),++St}return K}decode(_,j=0){const K=[];let ht=0,St=this.count;for(St instanceof d&&(St=St.decode(_,j));ht<St;)K.push(this.elementLayout.decode(_,j)),j+=this.elementLayout.getSpan(_,j),ht+=1;return K}encode(_,j,K=0){const ht=this.elementLayout,St=_.reduce((Ft,Zt)=>Ft+ht.encode(Zt,j,K+Ft),0);return this.count instanceof d&&this.count.encode(_.length,j,K),St}}Ot.Sequence=At;class st extends e{constructor(_,j,K){if(!(Array.isArray(_)&&_.reduce((St,Ft)=>St&&Ft instanceof e,!0)))throw new TypeError("fields must be array of Layout instances");typeof j=="boolean"&&K===void 0&&(K=j,j=void 0);for(const St of _)if(0>St.span&&St.property===void 0)throw new Error("fields cannot contain unnamed variable-length layout");let ht=-1;try{ht=_.reduce((St,Ft)=>St+Ft.getSpan(),0)}catch{}super(ht,j),this.fields=_,this.decodePrefixes=!!K}getSpan(_,j=0){if(0<=this.span)return this.span;let K=0;try{K=this.fields.reduce((ht,St)=>{const Ft=St.getSpan(_,j);return j+=Ft,ht+Ft},0)}catch{throw new RangeError("indeterminate span")}return K}decode(_,j=0){n(_);const K=this.makeDestinationObject();for(const ht of this.fields)if(ht.property!==void 0&&(K[ht.property]=ht.decode(_,j)),j+=ht.getSpan(_,j),this.decodePrefixes&&_.length===j)break;return K}encode(_,j,K=0){const ht=K;let St=0,Ft=0;for(const Zt of this.fields){let de=Zt.span;if(Ft=0<de?de:0,Zt.property!==void 0){const me=_[Zt.property];me!==void 0&&(Ft=Zt.encode(me,j,K),0>de&&(de=Zt.getSpan(j,K)))}St=K,K+=de}return St+Ft-ht}fromArray(_){const j=this.makeDestinationObject();for(const K of this.fields)K.property!==void 0&&0<_.length&&(j[K.property]=_.shift());return j}layoutFor(_){if(typeof _!="string")throw new TypeError("property must be string");for(const j of this.fields)if(j.property===_)return j}offsetOf(_){if(typeof _!="string")throw new TypeError("property must be string");let j=0;for(const K of this.fields){if(K.property===_)return j;0>K.span?j=-1:0<=j&&(j+=K.span)}}}Ot.Structure=st;class lt{constructor(_){this.property=_}decode(_,j){throw new Error("UnionDiscriminator is abstract")}encode(_,j,K){throw new Error("UnionDiscriminator is abstract")}}Ot.UnionDiscriminator=lt;class mt extends lt{constructor(_,j){if(!(_ instanceof d&&_.isCount()))throw new TypeError("layout must be an unsigned integer ExternalLayout");super(j||_.property||"variant"),this.layout=_}decode(_,j){return this.layout.decode(_,j)}encode(_,j,K){return this.layout.encode(_,j,K)}}Ot.UnionLayoutDiscriminator=mt;class wt extends e{constructor(_,j,K){let ht;if(_ instanceof b||_ instanceof N)ht=new mt(new l(_));else if(_ instanceof d&&_.isCount())ht=new mt(_);else if(_ instanceof lt)ht=_;else throw new TypeError("discr must be a UnionDiscriminator or an unsigned integer layout");if(j===void 0&&(j=null),!(j===null||j instanceof e))throw new TypeError("defaultLayout must be null or a Layout");if(j!==null){if(0>j.span)throw new Error("defaultLayout must have constant span");j.property===void 0&&(j=j.replicate("content"))}let St=-1;j&&(St=j.span,0<=St&&(_ instanceof b||_ instanceof N)&&(St+=ht.layout.span)),super(St,K),this.discriminator=ht,this.usesPrefixDiscriminator=_ instanceof b||_ instanceof N,this.defaultLayout=j,this.registry={};let Ft=this.defaultGetSourceVariant.bind(this);this.getSourceVariant=function(Zt){return Ft(Zt)},this.configGetSourceVariant=function(Zt){Ft=Zt.bind(this)}}getSpan(_,j=0){if(0<=this.span)return this.span;const K=this.getVariant(_,j);if(!K)throw new Error("unable to determine span for unrecognized variant");return K.getSpan(_,j)}defaultGetSourceVariant(_){if(Object.prototype.hasOwnProperty.call(_,this.discriminator.property)){if(this.defaultLayout&&this.defaultLayout.property&&Object.prototype.hasOwnProperty.call(_,this.defaultLayout.property))return;const j=this.registry[_[this.discriminator.property]];if(j&&(!j.layout||j.property&&Object.prototype.hasOwnProperty.call(_,j.property)))return j}else for(const j in this.registry){const K=this.registry[j];if(K.property&&Object.prototype.hasOwnProperty.call(_,K.property))return K}throw new Error("unable to infer src variant")}decode(_,j=0){let K;const ht=this.discriminator,St=ht.decode(_,j),Ft=this.registry[St];if(Ft===void 0){const Zt=this.defaultLayout;let de=0;this.usesPrefixDiscriminator&&(de=ht.layout.span),K=this.makeDestinationObject(),K[ht.property]=St,K[Zt.property]=Zt.decode(_,j+de)}else K=Ft.decode(_,j);return K}encode(_,j,K=0){const ht=this.getSourceVariant(_);if(ht===void 0){const St=this.discriminator,Ft=this.defaultLayout;let Zt=0;return this.usesPrefixDiscriminator&&(Zt=St.layout.span),St.encode(_[St.property],j,K),Zt+Ft.encode(_[Ft.property],j,K+Zt)}return ht.encode(_,j,K)}addVariant(_,j,K){const ht=new P(this,_,j,K);return this.registry[_]=ht,ht}getVariant(_,j=0){let K;return _ instanceof Uint8Array?K=this.discriminator.decode(_,j):K=_,this.registry[K]}}Ot.Union=wt;class P extends e{constructor(_,j,K,ht){if(!(_ instanceof wt))throw new TypeError("union must be a Union");if(!Number.isInteger(j)||0>j)throw new TypeError("variant must be a (non-negative) integer");if(typeof K=="string"&&ht===void 0&&(ht=K,K=null),K){if(!(K instanceof e))throw new TypeError("layout must be a Layout");if(_.defaultLayout!==null&&0<=K.span&&K.span>_.defaultLayout.span)throw new Error("variant span exceeds span of containing union");if(typeof ht!="string")throw new TypeError("variant must have a String property")}let St=_.span;0>_.span&&(St=K?K.span:0,0<=St&&_.usesPrefixDiscriminator&&(St+=_.discriminator.layout.span)),super(St,ht),this.union=_,this.variant=j,this.layout=K||null}getSpan(_,j=0){if(0<=this.span)return this.span;let K=0;this.union.usesPrefixDiscriminator&&(K=this.union.discriminator.layout.span);let ht=0;return this.layout&&(ht=this.layout.getSpan(_,j+K)),K+ht}decode(_,j=0){const K=this.makeDestinationObject();if(this!==this.union.getVariant(_,j))throw new Error("variant mismatch");let ht=0;return this.union.usesPrefixDiscriminator&&(ht=this.union.discriminator.layout.span),this.layout?K[this.property]=this.layout.decode(_,j+ht):this.property?K[this.property]=!0:this.union.usesPrefixDiscriminator&&(K[this.union.discriminator.property]=this.variant),K}encode(_,j,K=0){let ht=0;if(this.union.usesPrefixDiscriminator&&(ht=this.union.discriminator.layout.span),this.layout&&!Object.prototype.hasOwnProperty.call(_,this.property))throw new TypeError("variant lacks property "+this.property);this.union.discriminator.encode(this.variant,j,K);let St=ht;if(this.layout&&(this.layout.encode(_[this.property],j,K+ht),St+=this.layout.getSpan(j,K+ht),0<=this.union.span&&St>this.union.span))throw new Error("encoded variant overruns containing union");return St}fromArray(_){if(this.layout)return this.layout.fromArray(_)}}Ot.VariantLayout=P;function f(h){return 0>h&&(h+=4294967296),h}class S extends e{constructor(_,j,K){if(!(_ instanceof b||_ instanceof N))throw new TypeError("word must be a UInt or UIntBE layout");if(typeof j=="string"&&K===void 0&&(K=j,j=!1),4<_.span)throw new RangeError("word cannot exceed 32 bits");super(_.span,K),this.word=_,this.msb=!!j,this.fields=[];let ht=0;this._packedSetValue=function(St){return ht=f(St),this},this._packedGetValue=function(){return ht}}decode(_,j=0){const K=this.makeDestinationObject(),ht=this.word.decode(_,j);this._packedSetValue(ht);for(const St of this.fields)St.property!==void 0&&(K[St.property]=St.decode(_));return K}encode(_,j,K=0){const ht=this.word.decode(j,K);this._packedSetValue(ht);for(const St of this.fields)if(St.property!==void 0){const Ft=_[St.property];Ft!==void 0&&St.encode(Ft)}return this.word.encode(this._packedGetValue(),j,K)}addField(_,j){const K=new U(this,_,j);return this.fields.push(K),K}addBoolean(_){const j=new W(this,_);return this.fields.push(j),j}fieldFor(_){if(typeof _!="string")throw new TypeError("property must be string");for(const j of this.fields)if(j.property===_)return j}}Ot.BitStructure=S;class U{constructor(_,j,K){if(!(_ instanceof S))throw new TypeError("container must be a BitStructure");if(!Number.isInteger(j)||0>=j)throw new TypeError("bits must be positive integer");const ht=8*_.span,St=_.fields.reduce((Ft,Zt)=>Ft+Zt.bits,0);if(j+St>ht)throw new Error("bits too long for span remainder ("+(ht-St)+" of "+ht+" remain)");this.container=_,this.bits=j,this.valueMask=(1<<j)-1,j===32&&(this.valueMask=4294967295),this.start=St,this.container.msb&&(this.start=ht-St-j),this.wordMask=f(this.valueMask<<this.start),this.property=K}decode(_,j){const K=this.container._packedGetValue();return f(K&this.wordMask)>>>this.start}encode(_){if(typeof _!="number"||!Number.isInteger(_)||_!==f(_&this.valueMask))throw new TypeError(u("BitField.encode",this)+" value must be integer not exceeding "+this.valueMask);const j=this.container._packedGetValue(),K=f(_<<this.start);this.container._packedSetValue(f(j&~this.wordMask)|K)}}Ot.BitField=U;class W extends U{constructor(_,j){super(_,1,j)}decode(_,j){return!!super.decode(_,j)}encode(_){typeof _=="boolean"&&(_=+_),super.encode(_)}}Ot.Boolean=W;class $ extends e{constructor(_,j){if(!(_ instanceof d&&_.isCount()||Number.isInteger(_)&&0<=_))throw new TypeError("length must be positive integer or an unsigned integer ExternalLayout");let K=-1;_ instanceof d||(K=_),super(K,j),this.length=_}getSpan(_,j){let K=this.span;return 0>K&&(K=this.length.decode(_,j)),K}decode(_,j=0){let K=this.span;return 0>K&&(K=this.length.decode(_,j)),r(_).slice(j,j+K)}encode(_,j,K){let ht=this.length;if(this.length instanceof d&&(ht=_.length),!(_ instanceof Uint8Array&&ht===_.length))throw new TypeError(u("Blob.encode",this)+" requires (length "+ht+") Uint8Array as src");if(K+ht>j.length)throw new RangeError("encoding overruns Uint8Array");const St=r(_);return r(j).write(St.toString("hex"),K,ht,"hex"),this.length instanceof d&&this.length.encode(ht,j,K),ht}}Ot.Blob=$;class et extends e{constructor(_){super(-1,_)}getSpan(_,j=0){n(_);let K=j;for(;K<_.length&&_[K]!==0;)K+=1;return 1+K-j}decode(_,j=0){const K=this.getSpan(_,j);return r(_).slice(j,j+K-1).toString("utf-8")}encode(_,j,K=0){typeof _!="string"&&(_=String(_));const ht=t.Buffer.from(_,"utf8"),St=ht.length;if(K+St>j.length)throw new RangeError("encoding overruns Buffer");const Ft=r(j);return ht.copy(Ft,K),Ft[K+St]=0,St+1}}Ot.CString=et;class ut extends e{constructor(_,j){if(typeof _=="string"&&j===void 0&&(j=_,_=void 0),_===void 0)_=-1;else if(!Number.isInteger(_))throw new TypeError("maxSpan must be an integer");super(-1,j),this.maxSpan=_}getSpan(_,j=0){return n(_),_.length-j}decode(_,j=0){const K=this.getSpan(_,j);if(0<=this.maxSpan&&this.maxSpan<K)throw new RangeError("text length exceeds maxSpan");return r(_).slice(j,j+K).toString("utf-8")}encode(_,j,K=0){typeof _!="string"&&(_=String(_));const ht=t.Buffer.from(_,"utf8"),St=ht.length;if(0<=this.maxSpan&&this.maxSpan<St)throw new RangeError("text length exceeds maxSpan");if(K+St>j.length)throw new RangeError("encoding overruns Buffer");return ht.copy(r(j),K),St}}Ot.UTF8=ut;class Z extends e{constructor(_,j){super(0,j),this.value=_}decode(_,j){return this.value}encode(_,j,K){return 0}}return Ot.Constant=Z,Ot.greedy=((h,_)=>new E(h,_)),Ot.offset=((h,_,j)=>new l(h,_,j)),Ot.u8=(h=>new b(1,h)),Ot.u16=(h=>new b(2,h)),Ot.u24=(h=>new b(3,h)),Ot.u32=(h=>new b(4,h)),Ot.u40=(h=>new b(5,h)),Ot.u48=(h=>new b(6,h)),Ot.nu64=(h=>new Y(h)),Ot.u16be=(h=>new N(2,h)),Ot.u24be=(h=>new N(3,h)),Ot.u32be=(h=>new N(4,h)),Ot.u40be=(h=>new N(5,h)),Ot.u48be=(h=>new N(6,h)),Ot.nu64be=(h=>new z(h)),Ot.s8=(h=>new x(1,h)),Ot.s16=(h=>new x(2,h)),Ot.s24=(h=>new x(3,h)),Ot.s32=(h=>new x(4,h)),Ot.s40=(h=>new x(5,h)),Ot.s48=(h=>new x(6,h)),Ot.ns64=(h=>new J(h)),Ot.s16be=(h=>new T(2,h)),Ot.s24be=(h=>new T(3,h)),Ot.s32be=(h=>new T(4,h)),Ot.s40be=(h=>new T(5,h)),Ot.s48be=(h=>new T(6,h)),Ot.ns64be=(h=>new q(h)),Ot.f32=(h=>new ot(h)),Ot.f32be=(h=>new pt(h)),Ot.f64=(h=>new ft(h)),Ot.f64be=(h=>new Rt(h)),Ot.struct=((h,_,j)=>new st(h,_,j)),Ot.bits=((h,_,j)=>new S(h,_,j)),Ot.seq=((h,_,j)=>new At(h,_,j)),Ot.union=((h,_,j)=>new wt(h,_,j)),Ot.unionLayoutDiscriminator=((h,_)=>new mt(h,_)),Ot.blob=((h,_)=>new $(h,_)),Ot.cstr=(h=>new et(h)),Ot.utf8=((h,_)=>new ut(h,_)),Ot.constant=((h,_)=>new Z(h,_)),Ot}var dt=i1(),o1=1,s1=2,a1=3,u1=4,c1=5,f1=6,l1=7,d1=8,h1=9,p1=10,v1=-32700,g1=-32603,m1=-32602,y1=-32601,w1=-32600,E1=-32016,b1=-32015,_1=-32014,R1=-32013,A1=-32012,S1=-32011,I1=-32010,O1=-32009,N1=-32008,T1=-32007,x1=-32006,L1=-32005,C1=-32004,B1=-32003,M1=-32002,k1=-32001,U1=28e5,D1=2800001,P1=2800002,F1=2800003,V1=2800004,H1=2800005,G1=2800006,j1=2800007,Y1=2800008,z1=2800009,W1=2800010,Z1=2800011,K1=323e4,X1=32300001,q1=3230002,$1=3230003,J1=3230004,Q1=361e4,th=3610001,eh=3610002,nh=3610003,rh=3610004,ih=3610005,oh=3610006,sh=3610007,ah=3611e3,uh=3704e3,ch=3704001,fh=3704002,lh=3704003,dh=3704004,hh=4128e3,ph=4128001,vh=4128002,gh=4615e3,mh=4615001,yh=4615002,wh=4615003,Eh=4615004,bh=4615005,_h=4615006,Rh=4615007,Ah=4615008,Sh=4615009,Ih=4615010,Oh=4615011,Nh=4615012,Th=4615013,xh=4615014,Lh=4615015,Ch=4615016,Bh=4615017,Mh=4615018,kh=4615019,Uh=4615020,Dh=4615021,Ph=4615022,Fh=4615023,Vh=4615024,Hh=4615025,Gh=4615026,jh=4615027,Yh=4615028,zh=4615029,Wh=4615030,Zh=4615031,Kh=4615032,Xh=4615033,qh=4615034,$h=4615035,Jh=4615036,Qh=4615037,t2=4615038,e2=4615039,n2=4615040,r2=4615041,i2=4615042,o2=4615043,s2=4615044,a2=4615045,u2=4615046,c2=4615047,f2=4615048,l2=4615049,d2=4615050,h2=4615051,p2=4615052,v2=4615053,g2=4615054,m2=5508e3,y2=5508001,w2=5508002,E2=5508003,b2=5508004,_2=5508005,R2=5508006,A2=5508007,S2=5508008,I2=5508009,O2=5508010,N2=5508011,T2=5663e3,x2=5663001,L2=5663002,C2=5663003,B2=5663004,M2=5663005,k2=5663006,U2=5663007,D2=5663008,P2=5663009,F2=5663010,V2=5663011,H2=5663012,G2=5663013,j2=5663014,Y2=5663015,z2=5663016,W2=5663017,Z2=5663018,K2=5663019,X2=5663020,q2=705e4,$2=7050001,J2=7050002,Q2=7050003,tp=7050004,ep=7050005,np=7050006,rp=7050007,ip=7050008,op=7050009,sp=7050010,ap=7050011,up=7050012,cp=7050013,fp=7050014,lp=7050015,dp=7050016,hp=7050017,pp=7050018,vp=7050019,gp=7050020,mp=7050021,yp=7050022,wp=7050023,Ep=7050024,bp=7050025,_p=7050026,Rp=7050027,Ap=7050028,Sp=7050029,Ip=7050030,Op=7050031,Np=7050032,Tp=7050033,xp=7050034,Lp=7050035,Cp=7050036,ec=8078e3,nc=8078001,Bp=8078002,Mp=8078003,rc=8078004,ic=8078005,oc=8078006,kp=8078007,Up=8078008,Dp=8078009,Pp=8078010,sc=8078011,Fp=8078012,Vp=8078013,Hp=8078014,Gp=8078015,jp=8078016,Yp=8078017,zp=8078018,Wp=8078019,Zp=8078020,Kp=8078021,Xp=8078022,qp=81e5,$p=8100001,Jp=8100002,Qp=8100003,tv=819e4,ev=8190001,nv=8190002,rv=8190003,iv=8190004,ov=99e5,sv=9900001,av=9900002,uv=9900003,cv=9900004;function ac(t){return Array.isArray(t)?"%5B"+t.map(ac).join("%2C%20")+"%5D":typeof t=="bigint"?`${t}n`:encodeURIComponent(String(t!=null&&Object.getPrototypeOf(t)===null?{...t}:t))}function fv([t,n]){return`${t}=${ac(n)}`}function lv(t){const n=Object.entries(t).map(fv).join("&");return btoa(n)}var dv={[K1]:"Account not found at address: $address",[J1]:"Not all accounts were decoded. Encoded accounts found at addresses: $addresses.",[$1]:"Expected decoded account at address: $address",[q1]:"Failed to decode account data at address: $address",[X1]:"Accounts not found at addresses: $addresses",[z1]:"Unable to find a viable program address bump seed.",[P1]:"$putativeAddress is not a base58-encoded address.",[U1]:"Expected base58 encoded address to decode to a byte array of length 32. Actual length: $actualLength.",[F1]:"The `CryptoKey` must be an `Ed25519` public key.",[Z1]:"$putativeOffCurveAddress is not a base58-encoded off-curve address.",[Y1]:"Invalid seeds; point must fall off the Ed25519 curve.",[V1]:"Expected given program derived address to have the following format: [Address, ProgramDerivedAddressBump].",[G1]:"A maximum of $maxSeeds seeds, including the bump seed, may be supplied when creating an address. Received: $actual.",[j1]:"The seed at index $index with length $actual exceeds the maximum length of $maxSeedLength bytes.",[H1]:"Expected program derived address bump to be in the range [0, 255], got: $bump.",[W1]:"Program address cannot end with PDA marker.",[D1]:"Expected base58-encoded address string of length in the range [32, 44]. Actual length: $actualLength.",[u1]:"Expected base58-encoded blockash string of length in the range [32, 44]. Actual length: $actualLength.",[o1]:"The network has progressed past the last block for which this transaction could have been committed.",[ec]:"Codec [$codecDescription] cannot decode empty byte arrays.",[Xp]:"Enum codec cannot use lexical values [$stringValues] as discriminators. Either remove all lexical values or set `useValuesAsDiscriminators` to `false`.",[Zp]:"Sentinel [$hexSentinel] must not be present in encoded bytes [$hexEncodedBytes].",[ic]:"Encoder and decoder must have the same fixed size, got [$encoderFixedSize] and [$decoderFixedSize].",[oc]:"Encoder and decoder must have the same max size, got [$encoderMaxSize] and [$decoderMaxSize].",[rc]:"Encoder and decoder must either both be fixed-size or variable-size.",[Up]:"Enum discriminator out of range. Expected a number in [$formattedValidDiscriminators], got $discriminator.",[Bp]:"Expected a fixed-size codec, got a variable-size one.",[Vp]:"Codec [$codecDescription] expected a positive byte length, got $bytesLength.",[Mp]:"Expected a variable-size codec, got a fixed-size one.",[Wp]:"Codec [$codecDescription] expected zero-value [$hexZeroValue] to have the same size as the provided fixed-size item [$expectedSize bytes].",[nc]:"Codec [$codecDescription] expected $expected bytes, got $bytesLength.",[zp]:"Expected byte array constant [$hexConstant] to be present in data [$hexData] at offset [$offset].",[Dp]:"Invalid discriminated union variant. Expected one of [$variants], got $value.",[Pp]:"Invalid enum variant. Expected one of [$stringValues] or a number in [$formattedNumericalValues], got $variant.",[Gp]:"Invalid literal union variant. Expected one of [$variants], got $value.",[kp]:"Expected [$codecDescription] to have $expected items, got $actual.",[Fp]:"Invalid value $value for base $base with alphabet $alphabet.",[jp]:"Literal union discriminator out of range. Expected a number between $minRange and $maxRange, got $discriminator.",[sc]:"Codec [$codecDescription] expected number to be in the range [$min, $max], got $value.",[Hp]:"Codec [$codecDescription] expected offset to be in the range [0, $bytesLength], got $offset.",[Kp]:"Expected sentinel [$hexSentinel] to be present in decoded bytes [$hexDecodedBytes].",[Yp]:"Union variant out of range. Expected an index between $minRange and $maxRange, got $variant.",[ah]:"No random values implementation could be found.",[Sh]:"instruction requires an uninitialized account",[Fh]:"instruction tries to borrow reference for an account which is already borrowed",[Vh]:"instruction left account with an outstanding borrowed reference",[Dh]:"program other than the account's owner changed the size of the account data",[bh]:"account data too small for instruction",[Ph]:"instruction expected an executable account",[u2]:"An account does not have enough lamports to be rent-exempt",[f2]:"Program arithmetic overflowed",[a2]:"Failed to serialize or deserialize account data: $encodedData",[g2]:"Builtin programs must consume compute units",[Kh]:"Cross-program invocation call depth too deep",[t2]:"Computational budget exceeded",[Gh]:"custom program error: #$code",[Bh]:"instruction contains duplicate accounts",[Hh]:"instruction modifications of multiply-passed account differ",[Wh]:"executable accounts must be rent exempt",[Yh]:"instruction changed executable accounts data",[zh]:"instruction changed the balance of an executable account",[Mh]:"instruction changed executable bit of an account",[xh]:"instruction modified data of an account it does not own",[Th]:"instruction spent from the balance of an account it does not own",[mh]:"generic instruction error",[d2]:"Provided owner is not allowed",[o2]:"Account is immutable",[s2]:"Incorrect authority provided",[Rh]:"incorrect program id for instruction",[_h]:"insufficient funds for instruction",[Eh]:"invalid account data for instruction",[c2]:"Invalid account owner",[yh]:"invalid program argument",[jh]:"program returned invalid error code",[wh]:"invalid instruction data",[Qh]:"Failed to reallocate account data",[Jh]:"Provided seeds do not result in a valid address",[h2]:"Accounts data allocations exceeded the maximum allowed per transaction",[p2]:"Max accounts exceeded",[v2]:"Max instruction trace length exceeded",[$h]:"Length of the seed is too long for address generation",[Xh]:"An account required by the instruction is missing",[Ah]:"missing required signature for instruction",[Nh]:"instruction illegally modified the program id of an account",[Uh]:"insufficient account keys for instruction",[e2]:"Cross-program invocation with unauthorized signer or writable account",[n2]:"Failed to create program execution environment",[i2]:"Program failed to compile",[r2]:"Program failed to complete",[Ch]:"instruction modified data of a read-only account",[Lh]:"instruction changed the balance of a read-only account",[qh]:"Cross-program invocation reentrancy not allowed for this instruction",[kh]:"instruction modified rent epoch of an account",[Oh]:"sum of account balances before and after instruction do not match",[Ih]:"instruction requires an initialized account",[gh]:"",[Zh]:"Unsupported program id",[l2]:"Unsupported sysvar",[hh]:"The instruction does not have any accounts.",[ph]:"The instruction does not have any data.",[vh]:"Expected instruction to have progress address $expectedProgramAddress, got $actualProgramAddress.",[c1]:"Expected base58 encoded blockhash to decode to a byte array of length 32. Actual length: $actualLength.",[s1]:"The nonce `$expectedNonceValue` is no longer valid. It has advanced to `$actualNonceValue`",[av]:"Invariant violation: Found no abortable iterable cache entry for key `$cacheKey`. It should be impossible to hit this error; please file an issue at https://sola.na/web3invariant",[cv]:"Invariant violation: This data publisher does not publish to the channel named `$channelName`. Supported channels include $supportedChannelNames.",[sv]:"Invariant violation: WebSocket message iterator state is corrupt; iterated without first resolving existing message promise. It should be impossible to hit this error; please file an issue at https://sola.na/web3invariant",[ov]:"Invariant violation: WebSocket message iterator is missing state storage. It should be impossible to hit this error; please file an issue at https://sola.na/web3invariant",[uv]:"Invariant violation: Switch statement non-exhaustive. Received unexpected value `$unexpectedValue`. It should be impossible to hit this error; please file an issue at https://sola.na/web3invariant",[g1]:"JSON-RPC error: Internal JSON-RPC error ($__serverMessage)",[m1]:"JSON-RPC error: Invalid method parameter(s) ($__serverMessage)",[w1]:"JSON-RPC error: The JSON sent is not a valid `Request` object ($__serverMessage)",[y1]:"JSON-RPC error: The method does not exist / is not available ($__serverMessage)",[v1]:"JSON-RPC error: An error occurred on the server while parsing the JSON text ($__serverMessage)",[A1]:"$__serverMessage",[k1]:"$__serverMessage",[C1]:"$__serverMessage",[_1]:"$__serverMessage",[I1]:"$__serverMessage",[O1]:"$__serverMessage",[E1]:"Minimum context slot has not been reached",[L1]:"Node is unhealthy; behind by $numSlotsBehind slots",[N1]:"No snapshot",[M1]:"Transaction simulation failed",[T1]:"$__serverMessage",[S1]:"Transaction history is not available from this node",[x1]:"$__serverMessage",[R1]:"Transaction signature length mismatch",[B1]:"Transaction signature verification failure",[b1]:"$__serverMessage",[uh]:"Key pair bytes must be of length 64, got $byteLength.",[ch]:"Expected private key bytes with length 32. Actual length: $actualLength.",[fh]:"Expected base58-encoded signature to decode to a byte array of length 64. Actual length: $actualLength.",[dh]:"The provided private key does not match the provided public key.",[lh]:"Expected base58-encoded signature string of length in the range [64, 88]. Actual length: $actualLength.",[f1]:"Lamports value must be in the range [0, 2e64-1]",[l1]:"`$value` cannot be parsed as a `BigInt`",[p1]:"$message",[d1]:"`$value` cannot be parsed as a `Number`",[a1]:"No nonce account could be found at address `$nonceAccountAddress`",[tv]:"The notification name must end in 'Notifications' and the API must supply a subscription plan creator function for the notification '$notificationName'.",[nv]:"WebSocket was closed before payload could be added to the send buffer",[rv]:"WebSocket connection closed",[iv]:"WebSocket failed to connect",[ev]:"Failed to obtain a subscription id from the server",[Qp]:"Could not find an API plan for RPC method: `$method`",[qp]:"The $argumentLabel argument to the `$methodName` RPC method$optionalPathLabel was `$value`. This number is unsafe for use with the Solana JSON-RPC because it exceeds `Number.MAX_SAFE_INTEGER`.",[Jp]:"HTTP error ($statusCode): $message",[$p]:"HTTP header(s) forbidden: $headers. Learn more at https://developer.mozilla.org/en-US/docs/Glossary/Forbidden_header_name.",[m2]:"Multiple distinct signers were identified for address `$address`. Please ensure that you are using the same signer instance for each address.",[y2]:"The provided value does not implement the `KeyPairSigner` interface",[E2]:"The provided value does not implement the `MessageModifyingSigner` interface",[b2]:"The provided value does not implement the `MessagePartialSigner` interface",[w2]:"The provided value does not implement any of the `MessageSigner` interfaces",[R2]:"The provided value does not implement the `TransactionModifyingSigner` interface",[A2]:"The provided value does not implement the `TransactionPartialSigner` interface",[S2]:"The provided value does not implement the `TransactionSendingSigner` interface",[_2]:"The provided value does not implement any of the `TransactionSigner` interfaces",[I2]:"More than one `TransactionSendingSigner` was identified.",[O2]:"No `TransactionSendingSigner` was identified. Please provide a valid `TransactionWithSingleSendingSigner` transaction.",[N2]:"Wallet account signers do not support signing multiple messages/transactions in a single operation",[sh]:"Cannot export a non-extractable key.",[th]:"No digest implementation could be found.",[Q1]:"Cryptographic operations are only allowed in secure browser contexts. Read more here: https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts.",[eh]:`This runtime does not support the generation of Ed25519 key pairs.
2
2
 
3
3
  Install @solana/webcrypto-ed25519-polyfill and call its \`install\` function before generating keys in environments that do not support Ed25519.
4
4
 
5
- For a list of runtimes that currently support Ed25519 operations, visit https://github.com/WICG/webcrypto-secure-curves/issues/20.`,[rh]:"No signature verification implementation could be found.",[ih]:"No key generation implementation could be found.",[oh]:"No signing implementation could be found.",[sh]:"No key export implementation could be found.",[p1]:"Timestamp value must be in the range [-(2n ** 63n), (2n ** 63n) - 1]. `$value` given",[hp]:"Transaction processing left an account with an outstanding borrowed reference",[J2]:"Account in use",[Q2]:"Account loaded twice",[tp]:"Attempt to debit an account but found no record of a prior credit.",[Ep]:"Transaction loads an address table account that doesn't exist",[ip]:"This transaction has already been processed",[op]:"Blockhash not found",[sp]:"Loader call chain is too deep",[dp]:"Transactions are currently disabled due to cluster maintenance",[Op]:"Transaction contains a duplicate instruction ($index) that is not allowed",[np]:"Insufficient funds for fee",[Np]:"Transaction results in an account ($accountIndex) with insufficient funds for rent",[rp]:"This account may not be used to pay transaction fees",[up]:"Transaction contains an invalid account reference",[_p]:"Transaction loads an address table account with invalid data",[Rp]:"Transaction address table lookup uses an invalid index",[bp]:"Transaction loads an address table account with an invalid owner",[xp]:"LoadedAccountsDataSizeLimit set for transaction must be greater than 0.",[fp]:"This program may not be used for executing instructions",[Ap]:"Transaction leaves an account with a lower balance than rent-exempt minimum",[gp]:"Transaction loads a writable account that cannot be written",[Tp]:"Transaction exceeded max loaded accounts data size cap",[ap]:"Transaction requires a fee but has no signature present",[ep]:"Attempt to load a program that does not exist",[Cp]:"Execution of the program referenced by account at index $accountIndex is temporarily restricted.",[Lp]:"ResanitizationNeeded",[lp]:"Transaction failed to sanitize accounts offsets correctly",[cp]:"Transaction did not pass signature verification",[wp]:"Transaction locked too many accounts",[Bp]:"Sum of account balances before and after transaction do not match",[$2]:"The transaction failed with the error `$errorName`",[vp]:"Transaction version is unsupported",[yp]:"Transaction would exceed account data limit within the block",[Ip]:"Transaction would exceed total account data limit",[mp]:"Transaction would exceed max account limit within the block",[pp]:"Transaction would exceed max Block Cost Limit",[Sp]:"Transaction would exceed max Vote Cost Limit",[z2]:"Attempted to sign a transaction with an address that is not a signer for it",[V2]:"Transaction is missing an address at index: $index.",[W2]:"Transaction has no expected signers therefore it cannot be encoded",[q2]:"Transaction size $transactionSize exceeds limit of $transactionSizeLimit bytes",[C2]:"Transaction does not have a blockhash lifetime",[B2]:"Transaction is not a durable nonce transaction",[k2]:"Contents of these address lookup tables unknown: $lookupTableAddresses",[U2]:"Lookup of address at index $highestRequestedIndex failed for lookup table `$lookupTableAddress`. Highest known index is $highestKnownIndex. The lookup table may have been extended since its contents were retrieved",[P2]:"No fee payer set in CompiledTransaction",[D2]:"Could not find program address at index $index",[K2]:"Failed to estimate the compute unit consumption for this transaction message. This is likely because simulating the transaction failed. Inspect the `cause` property of this error to learn more",[X2]:"Transaction failed when it was simulated in order to estimate the compute unit consumption. The compute unit estimate provided is for a transaction that failed when simulated and may not be representative of the compute units this transaction would consume if successful. Inspect the `cause` property of this error to learn more",[H2]:"Transaction is missing a fee payer.",[G2]:"Could not determine this transaction's signature. Make sure that the transaction has been signed by its fee payer.",[Y2]:"Transaction first instruction is not advance nonce account instruction.",[j2]:"Transaction with no instructions cannot be durable nonce transaction.",[x2]:"This transaction includes an address (`$programAddress`) which is both invoked and set as the fee payer. Program addresses may not pay fees",[L2]:"This transaction includes an address (`$programAddress`) which is both invoked and marked writable. Program addresses may not be writable",[Z2]:"The transaction message expected the transaction to have $signerAddressesLength signatures, got $signaturesLength.",[F2]:"Transaction is missing signatures for addresses: $addresses.",[M2]:"Transaction version must be in the range [0, 127]. `$actualVersion` given"},sr="i",qn="t";function pv(t,r={}){const n=hv[t];if(n.length===0)return"";let e;function u(d){if(e[qn]===2){const y=n.slice(e[sr]+1,d);a.push(y in r?`${r[y]}`:`$${y}`)}else e[qn]===1&&a.push(n.slice(e[sr],d))}const a=[];return n.split("").forEach((d,y)=>{if(y===0){e={[sr]:0,[qn]:n[0]==="\\"?0:n[0]==="$"?2:1};return}let l;switch(e[qn]){case 0:l={[sr]:y,[qn]:1};break;case 1:d==="\\"?l={[sr]:y,[qn]:0}:d==="$"&&(l={[sr]:y,[qn]:2});break;case 2:d==="\\"?l={[sr]:y,[qn]:0}:d==="$"?l={[sr]:y,[qn]:2}:d.match(/\w/)||(l={[sr]:y,[qn]:1});break}l&&(e!==l&&u(y),e=l)}),u(),a.join("")}function vv(t,r={}){if(process.env.NODE_ENV!=="production")return pv(t,r);{let n=`Solana error #${t}; Decode this error by running \`npx @solana/errors decode -- ${t}`;return Object.keys(r).length&&(n+=` '${dv(r)}'`),`${n}\``}}var ri=class extends Error{cause=this.cause;context;constructor(...[t,r]){let n,e;if(r){const{cause:a,...d}=r;a&&(e={cause:a}),Object.keys(d).length>0&&(n=d)}const u=vv(t,n);super(u,e),this.context={__code:t,...n},this.name="SolanaError"}};function gv(t,r){return"fixedSize"in r?r.fixedSize:r.getSizeFromValue(t)}function mv(t){return Object.freeze({...t,encode:r=>{const n=new Uint8Array(gv(r,t));return t.write(r,n,0),n}})}function yv(t){return Object.freeze({...t,decode:(r,n=0)=>t.read(r,n)[0]})}function ii(t){return"fixedSize"in t&&typeof t.fixedSize=="number"}function wv(t,r){if(ii(t)!==ii(r))throw new ri(nc);if(ii(t)&&ii(r)&&t.fixedSize!==r.fixedSize)throw new ri(rc,{decoderFixedSize:r.fixedSize,encoderFixedSize:t.fixedSize});if(!ii(t)&&!ii(r)&&t.maxSize!==r.maxSize)throw new ri(ic,{decoderMaxSize:r.maxSize,encoderMaxSize:t.maxSize});return{...r,...t,decode:r.decode,encode:t.encode,read:r.read,write:t.write}}function Ev(t,r,n=0){if(r.length-n<=0)throw new ri(tc,{codecDescription:t})}function bv(t,r,n,e=0){const u=n.length-e;if(u<r)throw new ri(ec,{bytesLength:u,codecDescription:t,expected:r})}function _v(t,r,n,e){if(e<r||e>n)throw new ri(oc,{codecDescription:t,max:n,min:r,value:e})}function ac(t){return t?.endian!==1}function Rv(t){return mv({fixedSize:t.size,write(r,n,e){t.range&&_v(t.name,t.range[0],t.range[1],r);const u=new ArrayBuffer(t.size);return t.set(new DataView(u),r,ac(t.config)),n.set(new Uint8Array(u),e),e+t.size}})}function Av(t){return yv({fixedSize:t.size,read(r,n=0){Ev(t.name,r,n),bv(t.name,t.size,r,n);const e=new DataView(Sv(r,n,t.size));return[t.get(e,ac(t.config)),n+t.size]}})}function Sv(t,r,n){const e=t.byteOffset+(r??0),u=n??t.byteLength;return t.buffer.slice(e,e+u)}var Iv=(t={})=>Rv({config:t,name:"u64",range:[0n,BigInt("0xffffffffffffffff")],set:(r,n,e)=>r.setBigUint64(0,BigInt(n),e),size:8}),Ov=(t={})=>Av({config:t,get:(r,n)=>r.getBigUint64(0,n),name:"u64",size:8}),Nv=(t={})=>wv(Iv(t),Ov(t));class Tv extends TypeError{constructor(r,n){let e;const{message:u,explanation:a,...d}=r,{path:y}=r,l=y.length===0?u:`At path: ${y.join(".")} -- ${u}`;super(a??l),a!=null&&(this.cause=l),Object.assign(this,d),this.name=this.constructor.name,this.failures=()=>e??(e=[r,...n()])}}function xv(t){return Ti(t)&&typeof t[Symbol.iterator]=="function"}function Ti(t){return typeof t=="object"&&t!=null}function No(t){return Ti(t)&&!Array.isArray(t)}function Hn(t){return typeof t=="symbol"?t.toString():typeof t=="string"?JSON.stringify(t):`${t}`}function Lv(t){const{done:r,value:n}=t.next();return r?void 0:n}function Cv(t,r,n,e){if(t===!0)return;t===!1?t={}:typeof t=="string"&&(t={message:t});const{path:u,branch:a}=r,{type:d}=n,{refinement:y,message:l=`Expected a value of type \`${d}\`${y?` with refinement \`${y}\``:""}, but received: \`${Hn(e)}\``}=t;return{value:e,type:d,refinement:y,key:u[u.length-1],path:u,branch:a,...t,message:l}}function*uc(t,r,n,e){xv(t)||(t=[t]);for(const u of t){const a=Cv(u,r,n,e);a&&(yield a)}}function*Ps(t,r,n={}){const{path:e=[],branch:u=[t],coerce:a=!1,mask:d=!1}=n,y={path:e,branch:u,mask:d};a&&(t=r.coercer(t,y));let l="valid";for(const b of r.validator(t,y))b.explanation=n.message,l="not_valid",yield[b,void 0];for(let[b,N,L]of r.entries(t,y)){const T=Ps(N,L,{path:b===void 0?e:[...e,b],branch:b===void 0?u:[...u,N],coerce:a,mask:d,message:n.message});for(const x of T)x[0]?(l=x[0].refinement!=null?"not_refined":"not_valid",yield[x[0],void 0]):a&&(N=x[1],b===void 0?t=N:t instanceof Map?t.set(b,N):t instanceof Set?t.add(N):Ti(t)&&(N!==void 0||b in t)&&(t[b]=N))}if(l!=="not_valid")for(const b of r.refiner(t,y))b.explanation=n.message,l="not_refined",yield[b,void 0];l==="valid"&&(yield[void 0,t])}let $n=class{constructor(r){const{type:n,schema:e,validator:u,refiner:a,coercer:d=l=>l,entries:y=function*(){}}=r;this.type=n,this.schema=e,this.entries=y,this.coercer=d,u?this.validator=(l,b)=>{const N=u(l,b);return uc(N,b,this,l)}:this.validator=()=>[],a?this.refiner=(l,b)=>{const N=a(l,b);return uc(N,b,this,l)}:this.refiner=()=>[]}assert(r,n){return Bv(r,this,n)}create(r,n){return xi(r,this,n)}is(r){return cc(r,this)}mask(r,n){return Mv(r,this,n)}validate(r,n={}){return Li(r,this,n)}};function Bv(t,r,n){const e=Li(t,r,{message:n});if(e[0])throw e[0]}function xi(t,r,n){const e=Li(t,r,{coerce:!0,message:n});if(e[0])throw e[0];return e[1]}function Mv(t,r,n){const e=Li(t,r,{coerce:!0,mask:!0,message:n});if(e[0])throw e[0];return e[1]}function cc(t,r){return!Li(t,r)[0]}function Li(t,r,n={}){const e=Ps(t,r,n),u=Lv(e);return u[0]?[new Tv(u[0],function*(){for(const d of e)d[0]&&(yield d[0])}),void 0]:[void 0,u[1]]}function Fr(t,r){return new $n({type:t,schema:null,validator:r})}function kv(){return Fr("any",()=>!0)}function ie(t){return new $n({type:"array",schema:t,*entries(r){if(t&&Array.isArray(r))for(const[n,e]of r.entries())yield[n,e,t]},coercer(r){return Array.isArray(r)?r.slice():r},validator(r){return Array.isArray(r)||`Expected an array value, but received: ${Hn(r)}`}})}function Jn(){return Fr("boolean",t=>typeof t=="boolean")}function Fs(t){return Fr("instance",r=>r instanceof t||`Expected a \`${t.name}\` instance, but received: ${Hn(r)}`)}function Ye(t){const r=Hn(t),n=typeof t;return new $n({type:"literal",schema:n==="string"||n==="number"||n==="boolean"?t:null,validator(e){return e===t||`Expected the literal \`${r}\`, but received: ${Hn(e)}`}})}function Uv(){return Fr("never",()=>!1)}function oe(t){return new $n({...t,validator:(r,n)=>r===null||t.validator(r,n),refiner:(r,n)=>r===null||t.refiner(r,n)})}function It(){return Fr("number",t=>typeof t=="number"&&!isNaN(t)||`Expected a number, but received: ${Hn(t)}`)}function fe(t){return new $n({...t,validator:(r,n)=>r===void 0||t.validator(r,n),refiner:(r,n)=>r===void 0||t.refiner(r,n)})}function fc(t,r){return new $n({type:"record",schema:null,*entries(n){if(Ti(n))for(const e in n){const u=n[e];yield[e,e,t],yield[e,u,r]}},validator(n){return No(n)||`Expected an object, but received: ${Hn(n)}`},coercer(n){return No(n)?{...n}:n}})}function $t(){return Fr("string",t=>typeof t=="string"||`Expected a string, but received: ${Hn(t)}`)}function Vs(t){const r=Uv();return new $n({type:"tuple",schema:null,*entries(n){if(Array.isArray(n)){const e=Math.max(t.length,n.length);for(let u=0;u<e;u++)yield[u,n[u],t[u]||r]}},validator(n){return Array.isArray(n)||`Expected an array, but received: ${Hn(n)}`},coercer(n){return Array.isArray(n)?n.slice():n}})}function Pt(t){const r=Object.keys(t);return new $n({type:"type",schema:t,*entries(n){if(Ti(n))for(const e of r)yield[e,n[e],t[e]]},validator(n){return No(n)||`Expected an object, but received: ${Hn(n)}`},coercer(n){return No(n)?{...n}:n}})}function Sn(t){const r=t.map(n=>n.type).join(" | ");return new $n({type:"union",schema:null,coercer(n,e){for(const u of t){const[a,d]=u.validate(n,{coerce:!0,mask:e.mask});if(!a)return d}return n},validator(n,e){const u=[];for(const a of t){const[...d]=Ps(n,a,e),[y]=d;if(y[0])for(const[l]of d)l&&u.push(l);else return[]}return[`Expected the value to satisfy a union of \`${r}\`, but received: ${Hn(n)}`,...u]}})}function oi(){return Fr("unknown",()=>!0)}function Ci(t,r,n){return new $n({...t,coercer:(e,u)=>cc(e,r)?t.coercer(n(e,u),u):t.coercer(e,u)})}var To,Dv=new Uint8Array(16);function lc(){if(!To&&(To=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!To))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return To(Dv)}const Pv=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function xo(t){return typeof t=="string"&&Pv.test(t)}for(var gn=[],Hs=0;Hs<256;++Hs)gn.push((Hs+256).toString(16).substr(1));function Lo(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=(gn[t[r+0]]+gn[t[r+1]]+gn[t[r+2]]+gn[t[r+3]]+"-"+gn[t[r+4]]+gn[t[r+5]]+"-"+gn[t[r+6]]+gn[t[r+7]]+"-"+gn[t[r+8]]+gn[t[r+9]]+"-"+gn[t[r+10]]+gn[t[r+11]]+gn[t[r+12]]+gn[t[r+13]]+gn[t[r+14]]+gn[t[r+15]]).toLowerCase();if(!xo(n))throw TypeError("Stringified UUID is invalid");return n}var dc,Gs,js=0,Ys=0;function Fv(t,r,n){var e=r&&n||0,u=r||new Array(16);t=t||{};var a=t.node||dc,d=t.clockseq!==void 0?t.clockseq:Gs;if(a==null||d==null){var y=t.random||(t.rng||lc)();a==null&&(a=dc=[y[0]|1,y[1],y[2],y[3],y[4],y[5]]),d==null&&(d=Gs=(y[6]<<8|y[7])&16383)}var l=t.msecs!==void 0?t.msecs:Date.now(),b=t.nsecs!==void 0?t.nsecs:Ys+1,N=l-js+(b-Ys)/1e4;if(N<0&&t.clockseq===void 0&&(d=d+1&16383),(N<0||l>js)&&t.nsecs===void 0&&(b=0),b>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");js=l,Ys=b,Gs=d,l+=122192928e5;var L=((l&268435455)*1e4+b)%4294967296;u[e++]=L>>>24&255,u[e++]=L>>>16&255,u[e++]=L>>>8&255,u[e++]=L&255;var T=l/4294967296*1e4&268435455;u[e++]=T>>>8&255,u[e++]=T&255,u[e++]=T>>>24&15|16,u[e++]=T>>>16&255,u[e++]=d>>>8|128,u[e++]=d&255;for(var x=0;x<6;++x)u[e+x]=a[x];return r||Lo(u)}function hc(t){if(!xo(t))throw TypeError("Invalid UUID");var r,n=new Uint8Array(16);return n[0]=(r=parseInt(t.slice(0,8),16))>>>24,n[1]=r>>>16&255,n[2]=r>>>8&255,n[3]=r&255,n[4]=(r=parseInt(t.slice(9,13),16))>>>8,n[5]=r&255,n[6]=(r=parseInt(t.slice(14,18),16))>>>8,n[7]=r&255,n[8]=(r=parseInt(t.slice(19,23),16))>>>8,n[9]=r&255,n[10]=(r=parseInt(t.slice(24,36),16))/1099511627776&255,n[11]=r/4294967296&255,n[12]=r>>>24&255,n[13]=r>>>16&255,n[14]=r>>>8&255,n[15]=r&255,n}function Vv(t){t=unescape(encodeURIComponent(t));for(var r=[],n=0;n<t.length;++n)r.push(t.charCodeAt(n));return r}var Hv="6ba7b810-9dad-11d1-80b4-00c04fd430c8",Gv="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function pc(t,r,n){function e(u,a,d,y){if(typeof u=="string"&&(u=Vv(u)),typeof a=="string"&&(a=hc(a)),a.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var l=new Uint8Array(16+u.length);if(l.set(a),l.set(u,a.length),l=n(l),l[6]=l[6]&15|r,l[8]=l[8]&63|128,d){y=y||0;for(var b=0;b<16;++b)d[y+b]=l[b];return d}return Lo(l)}try{e.name=t}catch{}return e.DNS=Hv,e.URL=Gv,e}function jv(t){if(typeof t=="string"){var r=unescape(encodeURIComponent(t));t=new Uint8Array(r.length);for(var n=0;n<r.length;++n)t[n]=r.charCodeAt(n)}return Yv(zv(Wv(t),t.length*8))}function Yv(t){for(var r=[],n=t.length*32,e="0123456789abcdef",u=0;u<n;u+=8){var a=t[u>>5]>>>u%32&255,d=parseInt(e.charAt(a>>>4&15)+e.charAt(a&15),16);r.push(d)}return r}function vc(t){return(t+64>>>9<<4)+14+1}function zv(t,r){t[r>>5]|=128<<r%32,t[vc(r)-1]=r;for(var n=1732584193,e=-271733879,u=-1732584194,a=271733878,d=0;d<t.length;d+=16){var y=n,l=e,b=u,N=a;n=wn(n,e,u,a,t[d],7,-680876936),a=wn(a,n,e,u,t[d+1],12,-389564586),u=wn(u,a,n,e,t[d+2],17,606105819),e=wn(e,u,a,n,t[d+3],22,-1044525330),n=wn(n,e,u,a,t[d+4],7,-176418897),a=wn(a,n,e,u,t[d+5],12,1200080426),u=wn(u,a,n,e,t[d+6],17,-1473231341),e=wn(e,u,a,n,t[d+7],22,-45705983),n=wn(n,e,u,a,t[d+8],7,1770035416),a=wn(a,n,e,u,t[d+9],12,-1958414417),u=wn(u,a,n,e,t[d+10],17,-42063),e=wn(e,u,a,n,t[d+11],22,-1990404162),n=wn(n,e,u,a,t[d+12],7,1804603682),a=wn(a,n,e,u,t[d+13],12,-40341101),u=wn(u,a,n,e,t[d+14],17,-1502002290),e=wn(e,u,a,n,t[d+15],22,1236535329),n=En(n,e,u,a,t[d+1],5,-165796510),a=En(a,n,e,u,t[d+6],9,-1069501632),u=En(u,a,n,e,t[d+11],14,643717713),e=En(e,u,a,n,t[d],20,-373897302),n=En(n,e,u,a,t[d+5],5,-701558691),a=En(a,n,e,u,t[d+10],9,38016083),u=En(u,a,n,e,t[d+15],14,-660478335),e=En(e,u,a,n,t[d+4],20,-405537848),n=En(n,e,u,a,t[d+9],5,568446438),a=En(a,n,e,u,t[d+14],9,-1019803690),u=En(u,a,n,e,t[d+3],14,-187363961),e=En(e,u,a,n,t[d+8],20,1163531501),n=En(n,e,u,a,t[d+13],5,-1444681467),a=En(a,n,e,u,t[d+2],9,-51403784),u=En(u,a,n,e,t[d+7],14,1735328473),e=En(e,u,a,n,t[d+12],20,-1926607734),n=bn(n,e,u,a,t[d+5],4,-378558),a=bn(a,n,e,u,t[d+8],11,-2022574463),u=bn(u,a,n,e,t[d+11],16,1839030562),e=bn(e,u,a,n,t[d+14],23,-35309556),n=bn(n,e,u,a,t[d+1],4,-1530992060),a=bn(a,n,e,u,t[d+4],11,1272893353),u=bn(u,a,n,e,t[d+7],16,-155497632),e=bn(e,u,a,n,t[d+10],23,-1094730640),n=bn(n,e,u,a,t[d+13],4,681279174),a=bn(a,n,e,u,t[d],11,-358537222),u=bn(u,a,n,e,t[d+3],16,-722521979),e=bn(e,u,a,n,t[d+6],23,76029189),n=bn(n,e,u,a,t[d+9],4,-640364487),a=bn(a,n,e,u,t[d+12],11,-421815835),u=bn(u,a,n,e,t[d+15],16,530742520),e=bn(e,u,a,n,t[d+2],23,-995338651),n=_n(n,e,u,a,t[d],6,-198630844),a=_n(a,n,e,u,t[d+7],10,1126891415),u=_n(u,a,n,e,t[d+14],15,-1416354905),e=_n(e,u,a,n,t[d+5],21,-57434055),n=_n(n,e,u,a,t[d+12],6,1700485571),a=_n(a,n,e,u,t[d+3],10,-1894986606),u=_n(u,a,n,e,t[d+10],15,-1051523),e=_n(e,u,a,n,t[d+1],21,-2054922799),n=_n(n,e,u,a,t[d+8],6,1873313359),a=_n(a,n,e,u,t[d+15],10,-30611744),u=_n(u,a,n,e,t[d+6],15,-1560198380),e=_n(e,u,a,n,t[d+13],21,1309151649),n=_n(n,e,u,a,t[d+4],6,-145523070),a=_n(a,n,e,u,t[d+11],10,-1120210379),u=_n(u,a,n,e,t[d+2],15,718787259),e=_n(e,u,a,n,t[d+9],21,-343485551),n=Er(n,y),e=Er(e,l),u=Er(u,b),a=Er(a,N)}return[n,e,u,a]}function Wv(t){if(t.length===0)return[];for(var r=t.length*8,n=new Uint32Array(vc(r)),e=0;e<r;e+=8)n[e>>5]|=(t[e/8]&255)<<e%32;return n}function Er(t,r){var n=(t&65535)+(r&65535),e=(t>>16)+(r>>16)+(n>>16);return e<<16|n&65535}function Zv(t,r){return t<<r|t>>>32-r}function Co(t,r,n,e,u,a){return Er(Zv(Er(Er(r,t),Er(e,a)),u),n)}function wn(t,r,n,e,u,a,d){return Co(r&n|~r&e,t,r,u,a,d)}function En(t,r,n,e,u,a,d){return Co(r&e|n&~e,t,r,u,a,d)}function bn(t,r,n,e,u,a,d){return Co(r^n^e,t,r,u,a,d)}function _n(t,r,n,e,u,a,d){return Co(n^(r|~e),t,r,u,a,d)}var Kv=pc("v3",48,jv);function Xv(t,r,n){t=t||{};var e=t.random||(t.rng||lc)();if(e[6]=e[6]&15|64,e[8]=e[8]&63|128,r){n=n||0;for(var u=0;u<16;++u)r[n+u]=e[u];return r}return Lo(e)}function qv(t,r,n,e){switch(t){case 0:return r&n^~r&e;case 1:return r^n^e;case 2:return r&n^r&e^n&e;case 3:return r^n^e}}function zs(t,r){return t<<r|t>>>32-r}function $v(t){var r=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){var e=unescape(encodeURIComponent(t));t=[];for(var u=0;u<e.length;++u)t.push(e.charCodeAt(u))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);for(var a=t.length/4+2,d=Math.ceil(a/16),y=new Array(d),l=0;l<d;++l){for(var b=new Uint32Array(16),N=0;N<16;++N)b[N]=t[l*64+N*4]<<24|t[l*64+N*4+1]<<16|t[l*64+N*4+2]<<8|t[l*64+N*4+3];y[l]=b}y[d-1][14]=(t.length-1)*8/Math.pow(2,32),y[d-1][14]=Math.floor(y[d-1][14]),y[d-1][15]=(t.length-1)*8&4294967295;for(var L=0;L<d;++L){for(var T=new Uint32Array(80),x=0;x<16;++x)T[x]=y[L][x];for(var M=16;M<80;++M)T[M]=zs(T[M-3]^T[M-8]^T[M-14]^T[M-16],1);for(var D=n[0],Y=n[1],z=n[2],J=n[3],q=n[4],ot=0;ot<80;++ot){var pt=Math.floor(ot/20),ft=zs(D,5)+qv(pt,Y,z,J)+q+r[pt]+T[ot]>>>0;q=J,J=z,z=zs(Y,30)>>>0,Y=D,D=ft}n[0]=n[0]+D>>>0,n[1]=n[1]+Y>>>0,n[2]=n[2]+z>>>0,n[3]=n[3]+J>>>0,n[4]=n[4]+q>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,n[0]&255,n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,n[1]&255,n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,n[2]&255,n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,n[3]&255,n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,n[4]&255]}var Jv=pc("v5",80,$v);const Qv="00000000-0000-0000-0000-000000000000";function t3(t){if(!xo(t))throw TypeError("Invalid UUID");return parseInt(t.substr(14,1),16)}const gc=hs(Object.freeze(Object.defineProperty({__proto__:null,NIL:Qv,parse:hc,stringify:Lo,v1:Fv,v3:Kv,v4:Xv,v5:Jv,validate:xo,version:t3},Symbol.toStringTag,{value:"Module"})));var Ws,mc;function e3(){if(mc)return Ws;mc=1;const t=gc.v4;return Ws=function(n,e,u,a){if(typeof n!="string")throw new TypeError(n+" must be a string");a=a||{};const d=typeof a.version=="number"?a.version:2;if(d!==1&&d!==2)throw new TypeError(d+" must be 1 or 2");const y={method:n};if(d===2&&(y.jsonrpc="2.0"),e){if(typeof e!="object"&&!Array.isArray(e))throw new TypeError(e+" must be an object, array or omitted");y.params=e}if(typeof u>"u"){const l=typeof a.generator=="function"?a.generator:function(){return t()};y.id=l(y,a)}else d===2&&u===null?a.notificationIdNull&&(y.id=null):y.id=u;return y},Ws}var Zs,yc;function n3(){if(yc)return Zs;yc=1;const t=gc.v4,r=e3(),n=function(e,u){if(!(this instanceof n))return new n(e,u);u||(u={}),this.options={reviver:typeof u.reviver<"u"?u.reviver:null,replacer:typeof u.replacer<"u"?u.replacer:null,generator:typeof u.generator<"u"?u.generator:function(){return t()},version:typeof u.version<"u"?u.version:2,notificationIdNull:typeof u.notificationIdNull=="boolean"?u.notificationIdNull:!1},this.callServer=e};return Zs=n,n.prototype.request=function(e,u,a,d){const y=this;let l=null;const b=Array.isArray(e)&&typeof u=="function";if(this.options.version===1&&b)throw new TypeError("JSON-RPC 1.0 does not support batching");if(b||!b&&e&&typeof e=="object"&&typeof u=="function")d=u,l=e;else{typeof a=="function"&&(d=a,a=void 0);const T=typeof d=="function";try{l=r(e,u,a,{generator:this.options.generator,version:this.options.version,notificationIdNull:this.options.notificationIdNull})}catch(x){if(T)return d(x);throw x}if(!T)return l}let L;try{L=JSON.stringify(l,this.options.replacer)}catch(T){return d(T)}return this.callServer(L,function(T,x){y._parseResponse(T,x,d)}),l},n.prototype._parseResponse=function(e,u,a){if(e){a(e);return}if(!u)return a();let d;try{d=JSON.parse(u,this.options.reviver)}catch(y){return a(y)}if(a.length===3)if(Array.isArray(d)){const y=function(b){return typeof b.error<"u"},l=function(b){return!y(b)};return a(null,d.filter(y),d.filter(l))}else return a(null,d.error,d.result);a(null,d)},Zs}n3();var Ks={exports:{}},wc;function r3(){return wc||(wc=1,(function(t){var r=Object.prototype.hasOwnProperty,n="~";function e(){}Object.create&&(e.prototype=Object.create(null),new e().__proto__||(n=!1));function u(l,b,N){this.fn=l,this.context=b,this.once=N||!1}function a(l,b,N,L,T){if(typeof N!="function")throw new TypeError("The listener must be a function");var x=new u(N,L||l,T),M=n?n+b:b;return l._events[M]?l._events[M].fn?l._events[M]=[l._events[M],x]:l._events[M].push(x):(l._events[M]=x,l._eventsCount++),l}function d(l,b){--l._eventsCount===0?l._events=new e:delete l._events[b]}function y(){this._events=new e,this._eventsCount=0}y.prototype.eventNames=function(){var b=[],N,L;if(this._eventsCount===0)return b;for(L in N=this._events)r.call(N,L)&&b.push(n?L.slice(1):L);return Object.getOwnPropertySymbols?b.concat(Object.getOwnPropertySymbols(N)):b},y.prototype.listeners=function(b){var N=n?n+b:b,L=this._events[N];if(!L)return[];if(L.fn)return[L.fn];for(var T=0,x=L.length,M=new Array(x);T<x;T++)M[T]=L[T].fn;return M},y.prototype.listenerCount=function(b){var N=n?n+b:b,L=this._events[N];return L?L.fn?1:L.length:0},y.prototype.emit=function(b,N,L,T,x,M){var D=n?n+b:b;if(!this._events[D])return!1;var Y=this._events[D],z=arguments.length,J,q;if(Y.fn){switch(Y.once&&this.removeListener(b,Y.fn,void 0,!0),z){case 1:return Y.fn.call(Y.context),!0;case 2:return Y.fn.call(Y.context,N),!0;case 3:return Y.fn.call(Y.context,N,L),!0;case 4:return Y.fn.call(Y.context,N,L,T),!0;case 5:return Y.fn.call(Y.context,N,L,T,x),!0;case 6:return Y.fn.call(Y.context,N,L,T,x,M),!0}for(q=1,J=new Array(z-1);q<z;q++)J[q-1]=arguments[q];Y.fn.apply(Y.context,J)}else{var ot=Y.length,pt;for(q=0;q<ot;q++)switch(Y[q].once&&this.removeListener(b,Y[q].fn,void 0,!0),z){case 1:Y[q].fn.call(Y[q].context);break;case 2:Y[q].fn.call(Y[q].context,N);break;case 3:Y[q].fn.call(Y[q].context,N,L);break;case 4:Y[q].fn.call(Y[q].context,N,L,T);break;default:if(!J)for(pt=1,J=new Array(z-1);pt<z;pt++)J[pt-1]=arguments[pt];Y[q].fn.apply(Y[q].context,J)}}return!0},y.prototype.on=function(b,N,L){return a(this,b,N,L,!1)},y.prototype.once=function(b,N,L){return a(this,b,N,L,!0)},y.prototype.removeListener=function(b,N,L,T){var x=n?n+b:b;if(!this._events[x])return this;if(!N)return d(this,x),this;var M=this._events[x];if(M.fn)M.fn===N&&(!T||M.once)&&(!L||M.context===L)&&d(this,x);else{for(var D=0,Y=[],z=M.length;D<z;D++)(M[D].fn!==N||T&&!M[D].once||L&&M[D].context!==L)&&Y.push(M[D]);Y.length?this._events[x]=Y.length===1?Y[0]:Y:d(this,x)}return this},y.prototype.removeAllListeners=function(b){var N;return b?(N=n?n+b:b,this._events[N]&&d(this,N)):(this._events=new e,this._eventsCount=0),this},y.prototype.off=y.prototype.removeListener,y.prototype.addListener=y.prototype.on,y.prefixed=n,y.EventEmitter=y,t.exports=y})(Ks)),Ks.exports}r3();class Ec extends su{constructor(r,n){super(),this.finished=!1,this.destroyed=!1,ru(r);const e=ys(n);if(this.iHash=r.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const u=this.blockLen,a=new Uint8Array(u);a.set(e.length>u?r.create().update(e).digest():e);for(let d=0;d<a.length;d++)a[d]^=54;this.iHash.update(a),this.oHash=r.create();for(let d=0;d<a.length;d++)a[d]^=106;this.oHash.update(a),Jr(a)}update(r){return lo(this),this.iHash.update(r),this}digestInto(r){lo(this),Cr(r,this.outputLen),this.finished=!0,this.iHash.digestInto(r),this.oHash.update(r),this.oHash.digestInto(r),this.destroy()}digest(){const r=new Uint8Array(this.oHash.outputLen);return this.digestInto(r),r}_cloneInto(r){r||(r=Object.create(Object.getPrototypeOf(this),{}));const{oHash:n,iHash:e,finished:u,destroyed:a,blockLen:d,outputLen:y}=this;return r=r,r.finished=u,r.destroyed=a,r.blockLen=d,r.outputLen=y,r.oHash=n._cloneInto(r.oHash),r.iHash=e._cloneInto(r.iHash),r}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const bc=(t,r,n)=>new Ec(t,r).update(n).digest();bc.create=(t,r)=>new Ec(t,r);const _c=(t,r)=>(t+(t>=0?r:-r)/Rc)/r;function i3(t,r,n){const[[e,u],[a,d]]=r,y=_c(d*t,n),l=_c(-u*t,n);let b=t-y*e-l*a,N=-y*u-l*d;const L=b<ur,T=N<ur;L&&(b=-b),T&&(N=-N);const x=Ii(Math.ceil(mu(n)/2))+si;if(b<ur||b>=x||N<ur||N>=x)throw new Error("splitScalar (endomorphism): failed, k="+t);return{k1neg:L,k1:b,k2neg:T,k2:N}}function Xs(t){if(!["compact","recovered","der"].includes(t))throw new Error('Signature format must be "compact", "recovered", or "der"');return t}function qs(t,r){const n={};for(let e of Object.keys(r))n[e]=t[e]===void 0?r[e]:t[e];return Mr(n.lowS,"lowS"),Mr(n.prehash,"prehash"),n.format!==void 0&&Xs(n.format),n}class o3 extends Error{constructor(r=""){super(r)}}const ar={Err:o3,_tlv:{encode:(t,r)=>{const{Err:n}=ar;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(r.length&1)throw new n("tlv.encode: unpadded data");const e=r.length/2,u=mo(e);if(u.length/2&128)throw new n("tlv.encode: long form length too big");const a=e>127?mo(u.length/2|128):"";return mo(t)+a+u+r},decode(t,r){const{Err:n}=ar;let e=0;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(r.length<2||r[e++]!==t)throw new n("tlv.decode: wrong tlv");const u=r[e++],a=!!(u&128);let d=0;if(!a)d=u;else{const l=u&127;if(!l)throw new n("tlv.decode(long): indefinite length not supported");if(l>4)throw new n("tlv.decode(long): byte length is too big");const b=r.subarray(e,e+l);if(b.length!==l)throw new n("tlv.decode: length bytes not complete");if(b[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const N of b)d=d<<8|N;if(e+=l,d<128)throw new n("tlv.decode(long): not minimal encoding")}const y=r.subarray(e,e+d);if(y.length!==d)throw new n("tlv.decode: wrong value length");return{v:y,l:r.subarray(e+d)}}},_int:{encode(t){const{Err:r}=ar;if(t<ur)throw new r("integer: negative integers are not allowed");let n=mo(t);if(Number.parseInt(n[0],16)&8&&(n="00"+n),n.length&1)throw new r("unexpected DER parsing assertion: unpadded hex");return n},decode(t){const{Err:r}=ar;if(t[0]&128)throw new r("invalid signature integer: negative");if(t[0]===0&&!(t[1]&128))throw new r("invalid signature integer: unnecessary leading zero");return yo(t)}},toSig(t){const{Err:r,_int:n,_tlv:e}=ar,u=Ze("signature",t),{v:a,l:d}=e.decode(48,u);if(d.length)throw new r("invalid signature: left bytes after parsing");const{v:y,l}=e.decode(2,a),{v:b,l:N}=e.decode(2,l);if(N.length)throw new r("invalid signature: left bytes after parsing");return{r:n.decode(y),s:n.decode(b)}},hexFromSig(t){const{_tlv:r,_int:n}=ar,e=r.encode(2,n.encode(t.r)),u=r.encode(2,n.encode(t.s)),a=e+u;return r.encode(48,a)}},ur=BigInt(0),si=BigInt(1),Rc=BigInt(2),Bo=BigInt(3),s3=BigInt(4);function ai(t,r){const{BYTES:n}=t;let e;if(typeof r=="bigint")e=r;else{let u=Ze("private key",r);try{e=t.fromBytes(u)}catch{throw new Error(`invalid private key: expected ui8a of size ${n}, got ${typeof r}`)}}if(!t.isValidNot0(e))throw new Error("invalid private key: out of range [1..N-1]");return e}function a3(t,r={}){const n=Pu("weierstrass",t,r),{Fp:e,Fn:u}=n;let a=n.CURVE;const{h:d,n:y}=a;Oi(r,{},{allowInfinityPoint:"boolean",clearCofactor:"function",isTorsionFree:"function",fromBytes:"function",toBytes:"function",endo:"object",wrapPrivateKey:"boolean"});const{endo:l}=r;if(l&&(!e.is0(a.a)||typeof l.beta!="bigint"||!Array.isArray(l.basises)))throw new Error('invalid endo: expected "beta": bigint and "basises": array');const b=Sc(e,u);function N(){if(!e.isOdd)throw new Error("compression is not supported: Field does not have .isOdd()")}function L(wt,P,f){const{x:S,y:U}=P.toAffine(),W=e.toBytes(S);if(Mr(f,"isCompressed"),f){N();const $=!e.isOdd(U);return Xn(Ac($),W)}else return Xn(Uint8Array.of(4),W,e.toBytes(U))}function T(wt){Vn(wt,void 0,"Point");const{publicKey:P,publicKeyUncompressed:f}=b,S=wt.length,U=wt[0],W=wt.subarray(1);if(S===P&&(U===2||U===3)){const $=e.fromBytes(W);if(!e.isValid($))throw new Error("bad point: is not on curve, wrong x");const et=D($);let ut;try{ut=e.sqrt(et)}catch(_){const j=_ instanceof Error?": "+_.message:"";throw new Error("bad point: is not on curve, sqrt error"+j)}N();const Z=e.isOdd(ut);return(U&1)===1!==Z&&(ut=e.neg(ut)),{x:$,y:ut}}else if(S===f&&U===4){const $=e.BYTES,et=e.fromBytes(W.subarray(0,$)),ut=e.fromBytes(W.subarray($,$*2));if(!Y(et,ut))throw new Error("bad point: is not on curve");return{x:et,y:ut}}else throw new Error(`bad point: got length ${S}, expected compressed=${P} or uncompressed=${f}`)}const x=r.toBytes||L,M=r.fromBytes||T;function D(wt){const P=e.sqr(wt),f=e.mul(P,wt);return e.add(e.add(f,e.mul(wt,a.a)),a.b)}function Y(wt,P){const f=e.sqr(P),S=D(wt);return e.eql(f,S)}if(!Y(a.Gx,a.Gy))throw new Error("bad curve params: generator point");const z=e.mul(e.pow(a.a,Bo),s3),J=e.mul(e.sqr(a.b),BigInt(27));if(e.is0(e.add(z,J)))throw new Error("bad curve params: a or b");function q(wt,P,f=!1){if(!e.isValid(P)||f&&e.is0(P))throw new Error(`bad point coordinate ${wt}`);return P}function ot(wt){if(!(wt instanceof st))throw new Error("ProjectivePoint expected")}function pt(wt){if(!l||!l.basises)throw new Error("no endo");return i3(wt,l.basises,u.ORDER)}const ft=wo((wt,P)=>{const{X:f,Y:S,Z:U}=wt;if(e.eql(U,e.ONE))return{x:f,y:S};const W=wt.is0();P==null&&(P=W?e.ONE:e.inv(U));const $=e.mul(f,P),et=e.mul(S,P),ut=e.mul(U,P);if(W)return{x:e.ZERO,y:e.ZERO};if(!e.eql(ut,e.ONE))throw new Error("invZ was invalid");return{x:$,y:et}}),Rt=wo(wt=>{if(wt.is0()){if(r.allowInfinityPoint&&!e.is0(wt.Y))return;throw new Error("bad point: ZERO")}const{x:P,y:f}=wt.toAffine();if(!e.isValid(P)||!e.isValid(f))throw new Error("bad point: x or y not field elements");if(!Y(P,f))throw new Error("bad point: equation left != right");if(!wt.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});function At(wt,P,f,S,U){return f=new st(e.mul(f.X,wt),f.Y,f.Z),P=Eo(S,P),f=Eo(U,f),P.add(f)}class st{constructor(P,f,S){this.X=q("x",P),this.Y=q("y",f,!0),this.Z=q("z",S),Object.freeze(this)}static CURVE(){return a}static fromAffine(P){const{x:f,y:S}=P||{};if(!P||!e.isValid(f)||!e.isValid(S))throw new Error("invalid affine point");if(P instanceof st)throw new Error("projective point not allowed");return e.is0(f)&&e.is0(S)?st.ZERO:new st(f,S,e.ONE)}static fromBytes(P){const f=st.fromAffine(M(Vn(P,void 0,"point")));return f.assertValidity(),f}static fromHex(P){return st.fromBytes(Ze("pointHex",P))}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(P=8,f=!0){return mt.createCache(this,P),f||this.multiply(Bo),this}assertValidity(){Rt(this)}hasEvenY(){const{y:P}=this.toAffine();if(!e.isOdd)throw new Error("Field doesn't support isOdd");return!e.isOdd(P)}equals(P){ot(P);const{X:f,Y:S,Z:U}=this,{X:W,Y:$,Z:et}=P,ut=e.eql(e.mul(f,et),e.mul(W,U)),Z=e.eql(e.mul(S,et),e.mul($,U));return ut&&Z}negate(){return new st(this.X,e.neg(this.Y),this.Z)}double(){const{a:P,b:f}=a,S=e.mul(f,Bo),{X:U,Y:W,Z:$}=this;let et=e.ZERO,ut=e.ZERO,Z=e.ZERO,h=e.mul(U,U),_=e.mul(W,W),j=e.mul($,$),K=e.mul(U,W);return K=e.add(K,K),Z=e.mul(U,$),Z=e.add(Z,Z),et=e.mul(P,Z),ut=e.mul(S,j),ut=e.add(et,ut),et=e.sub(_,ut),ut=e.add(_,ut),ut=e.mul(et,ut),et=e.mul(K,et),Z=e.mul(S,Z),j=e.mul(P,j),K=e.sub(h,j),K=e.mul(P,K),K=e.add(K,Z),Z=e.add(h,h),h=e.add(Z,h),h=e.add(h,j),h=e.mul(h,K),ut=e.add(ut,h),j=e.mul(W,$),j=e.add(j,j),h=e.mul(j,K),et=e.sub(et,h),Z=e.mul(j,_),Z=e.add(Z,Z),Z=e.add(Z,Z),new st(et,ut,Z)}add(P){ot(P);const{X:f,Y:S,Z:U}=this,{X:W,Y:$,Z:et}=P;let ut=e.ZERO,Z=e.ZERO,h=e.ZERO;const _=a.a,j=e.mul(a.b,Bo);let K=e.mul(f,W),ht=e.mul(S,$),St=e.mul(U,et),Ft=e.add(f,S),Zt=e.add(W,$);Ft=e.mul(Ft,Zt),Zt=e.add(K,ht),Ft=e.sub(Ft,Zt),Zt=e.add(f,U);let de=e.add(W,et);return Zt=e.mul(Zt,de),de=e.add(K,St),Zt=e.sub(Zt,de),de=e.add(S,U),ut=e.add($,et),de=e.mul(de,ut),ut=e.add(ht,St),de=e.sub(de,ut),h=e.mul(_,Zt),ut=e.mul(j,St),h=e.add(ut,h),ut=e.sub(ht,h),h=e.add(ht,h),Z=e.mul(ut,h),ht=e.add(K,K),ht=e.add(ht,K),St=e.mul(_,St),Zt=e.mul(j,Zt),ht=e.add(ht,St),St=e.sub(K,St),St=e.mul(_,St),Zt=e.add(Zt,St),K=e.mul(ht,Zt),Z=e.add(Z,K),K=e.mul(de,Zt),ut=e.mul(Ft,ut),ut=e.sub(ut,K),K=e.mul(Ft,ht),h=e.mul(de,h),h=e.add(h,K),new st(ut,Z,h)}subtract(P){return this.add(P.negate())}is0(){return this.equals(st.ZERO)}multiply(P){const{endo:f}=r;if(!u.isValidNot0(P))throw new Error("invalid scalar: out of range");let S,U;const W=$=>mt.cached(this,$,et=>Pr(st,et));if(f){const{k1neg:$,k1:et,k2neg:ut,k2:Z}=pt(P),{p:h,f:_}=W(et),{p:j,f:K}=W(Z);U=_.add(K),S=At(f.beta,h,j,$,ut)}else{const{p:$,f:et}=W(P);S=$,U=et}return Pr(st,[S,U])[0]}multiplyUnsafe(P){const{endo:f}=r,S=this;if(!u.isValid(P))throw new Error("invalid scalar: out of range");if(P===ur||S.is0())return st.ZERO;if(P===si)return S;if(mt.hasCache(this))return this.multiply(P);if(f){const{k1neg:U,k1:W,k2neg:$,k2:et}=pt(P),{p1:ut,p2:Z}=Td(st,S,W,et);return At(f.beta,ut,Z,U,$)}else return mt.unsafe(S,P)}multiplyAndAddUnsafe(P,f,S){const U=this.multiplyUnsafe(f).add(P.multiplyUnsafe(S));return U.is0()?void 0:U}toAffine(P){return ft(this,P)}isTorsionFree(){const{isTorsionFree:P}=r;return d===si?!0:P?P(st,this):mt.unsafe(this,y).is0()}clearCofactor(){const{clearCofactor:P}=r;return d===si?this:P?P(st,this):this.multiplyUnsafe(d)}isSmallOrder(){return this.multiplyUnsafe(d).is0()}toBytes(P=!0){return Mr(P,"isCompressed"),this.assertValidity(),x(st,this,P)}toHex(P=!0){return Br(this.toBytes(P))}toString(){return`<Point ${this.is0()?"ZERO":this.toHex()}>`}get px(){return this.X}get py(){return this.X}get pz(){return this.Z}toRawBytes(P=!0){return this.toBytes(P)}_setWindowSize(P){this.precompute(P)}static normalizeZ(P){return Pr(st,P)}static msm(P,f){return Uu(st,u,P,f)}static fromPrivateKey(P){return st.BASE.multiply(ai(u,P))}}st.BASE=new st(a.Gx,a.Gy,e.ONE),st.ZERO=new st(e.ZERO,e.ONE,e.ZERO),st.Fp=e,st.Fn=u;const dt=u.BITS,mt=new ku(st,r.endo?Math.ceil(dt/2):dt);return st.BASE.precompute(8),st}function Ac(t){return Uint8Array.of(t?2:3)}function Sc(t,r){return{secretKey:r.BYTES,publicKey:1+t.BYTES,publicKeyUncompressed:1+2*t.BYTES,publicKeyHasPrefix:!0,signature:2*r.BYTES}}function u3(t,r={}){const{Fn:n}=t,e=r.randomBytes||ws,u=Object.assign(Sc(t.Fp,n),{seed:xu(n.ORDER)});function a(x){try{return!!ai(n,x)}catch{return!1}}function d(x,M){const{publicKey:D,publicKeyUncompressed:Y}=u;try{const z=x.length;return M===!0&&z!==D||M===!1&&z!==Y?!1:!!t.fromBytes(x)}catch{return!1}}function y(x=e(u.seed)){return Id(Vn(x,u.seed,"seed"),n.ORDER)}function l(x,M=!0){return t.BASE.multiply(ai(n,x)).toBytes(M)}function b(x){const M=y(x);return{secretKey:M,publicKey:l(M)}}function N(x){if(typeof x=="bigint")return!1;if(x instanceof t)return!0;const{secretKey:M,publicKey:D,publicKeyUncompressed:Y}=u;if(n.allowedLengths||M===D)return;const z=Ze("key",x).length;return z===D||z===Y}function L(x,M,D=!0){if(N(x)===!0)throw new Error("first arg must be private key");if(N(M)===!1)throw new Error("second arg must be public key");const Y=ai(n,x);return t.fromHex(M).multiply(Y).toBytes(D)}return Object.freeze({getPublicKey:l,getSharedSecret:L,keygen:b,Point:t,utils:{isValidSecretKey:a,isValidPublicKey:d,randomSecretKey:y,isValidPrivateKey:a,randomPrivateKey:y,normPrivateKeyToScalar:x=>ai(n,x),precompute(x=8,M=t.BASE){return M.precompute(x,!1)}},lengths:u})}function c3(t,r,n={}){ru(r),Oi(n,{},{hmac:"function",lowS:"boolean",randomBytes:"function",bits2int:"function",bits2int_modN:"function"});const e=n.randomBytes||ws,u=n.hmac||((f,...S)=>bc(r,f,Xn(...S))),{Fp:a,Fn:d}=t,{ORDER:y,BITS:l}=d,{keygen:b,getPublicKey:N,getSharedSecret:L,utils:T,lengths:x}=u3(t,n),M={prehash:!1,lowS:typeof n.lowS=="boolean"?n.lowS:!1,format:void 0,extraEntropy:!1},D="compact";function Y(f){const S=y>>si;return f>S}function z(f,S){if(!d.isValidNot0(S))throw new Error(`invalid signature ${f}: out of range 1..Point.Fn.ORDER`);return S}function J(f,S){Xs(S);const U=x.signature,W=S==="compact"?U:S==="recovered"?U+1:void 0;return Vn(f,W,`${S} signature`)}class q{constructor(S,U,W){this.r=z("r",S),this.s=z("s",U),W!=null&&(this.recovery=W),Object.freeze(this)}static fromBytes(S,U=D){J(S,U);let W;if(U==="der"){const{r:Z,s:h}=ar.toSig(Vn(S));return new q(Z,h)}U==="recovered"&&(W=S[0],U="compact",S=S.subarray(1));const $=d.BYTES,et=S.subarray(0,$),ut=S.subarray($,$*2);return new q(d.fromBytes(et),d.fromBytes(ut),W)}static fromHex(S,U){return this.fromBytes(ho(S),U)}addRecoveryBit(S){return new q(this.r,this.s,S)}recoverPublicKey(S){const U=a.ORDER,{r:W,s:$,recovery:et}=this;if(et==null||![0,1,2,3].includes(et))throw new Error("recovery id invalid");if(y*Rc<U&&et>1)throw new Error("recovery id is ambiguous for h>1 curve");const Z=et===2||et===3?W+y:W;if(!a.isValid(Z))throw new Error("recovery id 2 or 3 invalid");const h=a.toBytes(Z),_=t.fromBytes(Xn(Ac((et&1)===0),h)),j=d.inv(Z),K=pt(Ze("msgHash",S)),ht=d.create(-K*j),St=d.create($*j),Ft=t.BASE.multiplyUnsafe(ht).add(_.multiplyUnsafe(St));if(Ft.is0())throw new Error("point at infinify");return Ft.assertValidity(),Ft}hasHighS(){return Y(this.s)}toBytes(S=D){if(Xs(S),S==="der")return ho(ar.hexFromSig(this));const U=d.toBytes(this.r),W=d.toBytes(this.s);if(S==="recovered"){if(this.recovery==null)throw new Error("recovery bit must be present");return Xn(Uint8Array.of(this.recovery),U,W)}return Xn(U,W)}toHex(S){return Br(this.toBytes(S))}assertValidity(){}static fromCompact(S){return q.fromBytes(Ze("sig",S),"compact")}static fromDER(S){return q.fromBytes(Ze("sig",S),"der")}normalizeS(){return this.hasHighS()?new q(this.r,d.neg(this.s),this.recovery):this}toDERRawBytes(){return this.toBytes("der")}toDERHex(){return Br(this.toBytes("der"))}toCompactRawBytes(){return this.toBytes("compact")}toCompactHex(){return Br(this.toBytes("compact"))}}const ot=n.bits2int||function(S){if(S.length>8192)throw new Error("input is too large");const U=yo(S),W=S.length*8-l;return W>0?U>>BigInt(W):U},pt=n.bits2int_modN||function(S){return d.create(ot(S))},ft=Ii(l);function Rt(f){return As("num < 2^"+l,f,ur,ft),d.toBytes(f)}function At(f,S){return Vn(f,void 0,"message"),S?Vn(r(f),void 0,"prehashed message"):f}function st(f,S,U){if(["recovered","canonical"].some(ht=>ht in U))throw new Error("sign() legacy options not supported");const{lowS:W,prehash:$,extraEntropy:et}=qs(U,M);f=At(f,$);const ut=pt(f),Z=ai(d,S),h=[Rt(Z),Rt(ut)];if(et!=null&&et!==!1){const ht=et===!0?e(x.secretKey):et;h.push(Ze("extraEntropy",ht))}const _=Xn(...h),j=ut;function K(ht){const St=ot(ht);if(!d.isValidNot0(St))return;const Ft=d.inv(St),Zt=t.BASE.multiply(St).toAffine(),de=d.create(Zt.x);if(de===ur)return;const ye=d.create(Ft*d.create(j+de*Z));if(ye===ur)return;let ge=(Zt.x===de?0:2)|Number(Zt.y&si),Oe=ye;return W&&Y(ye)&&(Oe=d.neg(ye),ge^=1),new q(de,Oe,ge)}return{seed:_,k2sig:K}}function dt(f,S,U={}){f=Ze("message",f);const{seed:W,k2sig:$}=st(f,S,U);return gd(r.outputLen,d.BYTES,u)(W,$)}function mt(f){let S;const U=typeof f=="string"||Ai(f),W=!U&&f!==null&&typeof f=="object"&&typeof f.r=="bigint"&&typeof f.s=="bigint";if(!U&&!W)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");if(W)S=new q(f.r,f.s);else if(U){try{S=q.fromBytes(Ze("sig",f),"der")}catch($){if(!($ instanceof ar.Err))throw $}if(!S)try{S=q.fromBytes(Ze("sig",f),"compact")}catch{return!1}}return S||!1}function wt(f,S,U,W={}){const{lowS:$,prehash:et,format:ut}=qs(W,M);if(U=Ze("publicKey",U),S=At(Ze("message",S),et),"strict"in W)throw new Error("options.strict was renamed to lowS");const Z=ut===void 0?mt(f):q.fromBytes(Ze("sig",f),ut);if(Z===!1)return!1;try{const h=t.fromBytes(U);if($&&Z.hasHighS())return!1;const{r:_,s:j}=Z,K=pt(S),ht=d.inv(j),St=d.create(K*ht),Ft=d.create(_*ht),Zt=t.BASE.multiplyUnsafe(St).add(h.multiplyUnsafe(Ft));return Zt.is0()?!1:d.create(Zt.x)===_}catch{return!1}}function P(f,S,U={}){const{prehash:W}=qs(U,M);return S=At(S,W),q.fromBytes(f,"recovered").recoverPublicKey(S).toBytes()}return Object.freeze({keygen:b,getPublicKey:N,getSharedSecret:L,utils:T,lengths:x,Point:t,sign:dt,verify:wt,recoverPublicKey:P,Signature:q,hash:r})}function f3(t){const r={a:t.a,b:t.b,p:t.Fp.ORDER,n:t.n,h:t.h,Gx:t.Gx,Gy:t.Gy},n=t.Fp;let e=t.allowedPrivateKeyLengths?Array.from(new Set(t.allowedPrivateKeyLengths.map(d=>Math.ceil(d/2)))):void 0;const u=Ur(r.n,{BITS:t.nBitLength,allowedLengths:e,modFromBytes:t.wrapPrivateKey}),a={Fp:n,Fn:u,allowInfinityPoint:t.allowInfinityPoint,endo:t.endo,isTorsionFree:t.isTorsionFree,clearCofactor:t.clearCofactor,fromBytes:t.fromBytes,toBytes:t.toBytes};return{CURVE:r,curveOpts:a}}function l3(t){const{CURVE:r,curveOpts:n}=f3(t),e={hmac:t.hmac,randomBytes:t.randomBytes,lowS:t.lowS,bits2int:t.bits2int,bits2int_modN:t.bits2int_modN};return{CURVE:r,curveOpts:n,hash:t.hash,ecdsaOpts:e}}function d3(t,r){const n=r.Point;return Object.assign({},r,{ProjectivePoint:n,CURVE:Object.assign({},t,Nu(n.Fn.ORDER,n.Fn.BITS))})}function h3(t){const{CURVE:r,curveOpts:n,hash:e,ecdsaOpts:u}=l3(t),a=a3(r,n),d=c3(a,e,u);return d3(t,d)}function p3(t,r){const n=e=>h3({...t,hash:e});return{...n(r),create:n}}const $s={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:BigInt(1),a:BigInt(0),b:BigInt(7),Gx:BigInt("0x79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),Gy:BigInt("0x483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8")},v3={beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),basises:[[BigInt("0x3086d221a7d46bcde86c90e49284eb15"),-BigInt("0xe4437ed6010e88286f547fa90abfe4c3")],[BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),BigInt("0x3086d221a7d46bcde86c90e49284eb15")]]},Ic=BigInt(2);function g3(t){const r=$s.p,n=BigInt(3),e=BigInt(6),u=BigInt(11),a=BigInt(22),d=BigInt(23),y=BigInt(44),l=BigInt(88),b=t*t*t%r,N=b*b*t%r,L=Ke(N,n,r)*N%r,T=Ke(L,n,r)*N%r,x=Ke(T,Ic,r)*b%r,M=Ke(x,u,r)*x%r,D=Ke(M,a,r)*M%r,Y=Ke(D,y,r)*D%r,z=Ke(Y,l,r)*Y%r,J=Ke(z,y,r)*D%r,q=Ke(J,n,r)*N%r,ot=Ke(q,d,r)*M%r,pt=Ke(ot,e,r)*b%r,ft=Ke(pt,Ic,r);if(!Js.eql(Js.sqr(ft),t))throw new Error("Cannot find square root");return ft}const Js=Ur($s.p,{sqrt:g3}),m3=p3({...$s,Fp:Js,lowS:!0,endo:v3},hu);Ni.utils.randomPrivateKey,Ni.getPublicKey;function Oc(t){try{return Ni.ExtendedPoint.fromHex(t),!0}catch{return!1}}const Nc=(t,r)=>Ni.sign(t,r.slice(0,32)),y3=Ni.verify,Qs=t=>Re.Buffer.isBuffer(t)?t:t instanceof Uint8Array?Re.Buffer.from(t.buffer,t.byteOffset,t.byteLength):Re.Buffer.from(t);class Tc{constructor(r){Object.assign(this,r)}encode(){return Re.Buffer.from(Ds.serialize(Bi,this))}static decode(r){return Ds.deserialize(Bi,this,r)}static decodeUnchecked(r){return Ds.deserializeUnchecked(Bi,this,r)}}const Bi=new Map;var xc;const Lc=32,cr=32;function w3(t){return t._bn!==void 0}let Cc=1;class me extends Tc{constructor(r){if(super({}),this._bn=void 0,w3(r))this._bn=r._bn;else{if(typeof r=="string"){const n=An.decode(r);if(n.length!=cr)throw new Error("Invalid public key input");this._bn=new Yu(n)}else this._bn=new Yu(r);if(this._bn.byteLength()>cr)throw new Error("Invalid public key input")}}static unique(){const r=new me(Cc);return Cc+=1,new me(r.toBuffer())}equals(r){return this._bn.eq(r._bn)}toBase58(){return An.encode(this.toBytes())}toJSON(){return this.toBase58()}toBytes(){const r=this.toBuffer();return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}toBuffer(){const r=this._bn.toArrayLike(Re.Buffer);if(r.length===cr)return r;const n=Re.Buffer.alloc(32);return r.copy(n,32-r.length),n}get[Symbol.toStringTag](){return`PublicKey(${this.toString()})`}toString(){return this.toBase58()}static async createWithSeed(r,n,e){const u=Re.Buffer.concat([r.toBuffer(),Re.Buffer.from(n),e.toBuffer()]),a=Xu(u);return new me(a)}static createProgramAddressSync(r,n){let e=Re.Buffer.alloc(0);r.forEach(function(a){if(a.length>Lc)throw new TypeError("Max seed length exceeded");e=Re.Buffer.concat([e,Qs(a)])}),e=Re.Buffer.concat([e,n.toBuffer(),Re.Buffer.from("ProgramDerivedAddress")]);const u=Xu(e);if(Oc(u))throw new Error("Invalid seeds, address must fall off the curve");return new me(u)}static async createProgramAddress(r,n){return this.createProgramAddressSync(r,n)}static findProgramAddressSync(r,n){let e=255,u;for(;e!=0;){try{const a=r.concat(Re.Buffer.from([e]));u=this.createProgramAddressSync(a,n)}catch(a){if(a instanceof TypeError)throw a;e--;continue}return[u,e]}throw new Error("Unable to find a viable program address nonce")}static async findProgramAddress(r,n){return this.findProgramAddressSync(r,n)}static isOnCurve(r){const n=new me(r);return Oc(n.toBytes())}}xc=me,me.default=new xc("11111111111111111111111111111111"),Bi.set(me,{kind:"struct",fields:[["_bn","u256"]]}),new me("BPFLoader1111111111111111111111111111111111");const Vr=1232,Mo=127,Mi=64;class ki{constructor(r,n){this.staticAccountKeys=void 0,this.accountKeysFromLookups=void 0,this.staticAccountKeys=r,this.accountKeysFromLookups=n}keySegments(){const r=[this.staticAccountKeys];return this.accountKeysFromLookups&&(r.push(this.accountKeysFromLookups.writable),r.push(this.accountKeysFromLookups.readonly)),r}get(r){for(const n of this.keySegments()){if(r<n.length)return n[r];r-=n.length}}get length(){return this.keySegments().flat().length}compileInstructions(r){if(this.length>256)throw new Error("Account index overflow encountered during compilation");const e=new Map;this.keySegments().flat().forEach((a,d)=>{e.set(a.toBase58(),d)});const u=a=>{const d=e.get(a.toBase58());if(d===void 0)throw new Error("Encountered an unknown instruction account key during compilation");return d};return r.map(a=>({programIdIndex:u(a.programId),accountKeyIndexes:a.keys.map(d=>u(d.pubkey)),data:a.data}))}}const Ae=(t="publicKey")=>lt.blob(32,t),E3=(t="signature")=>lt.blob(64,t),ui=(t="string")=>{const r=lt.struct([lt.u32("length"),lt.u32("lengthPadding"),lt.blob(lt.offset(lt.u32(),-8),"chars")],t),n=r.decode.bind(r),e=r.encode.bind(r),u=r;return u.decode=(a,d)=>n(a,d).chars.toString(),u.encode=(a,d,y)=>{const l={chars:Re.Buffer.from(a,"utf8")};return e(l,d,y)},u.alloc=a=>lt.u32().span+lt.u32().span+Re.Buffer.from(a,"utf8").length,u},b3=(t="authorized")=>lt.struct([Ae("staker"),Ae("withdrawer")],t),_3=(t="lockup")=>lt.struct([lt.ns64("unixTimestamp"),lt.ns64("epoch"),Ae("custodian")],t),R3=(t="voteInit")=>lt.struct([Ae("nodePubkey"),Ae("authorizedVoter"),Ae("authorizedWithdrawer"),lt.u8("commission")],t),A3=(t="voteAuthorizeWithSeedArgs")=>lt.struct([lt.u32("voteAuthorizationType"),Ae("currentAuthorityDerivedKeyOwnerPubkey"),ui("currentAuthorityDerivedKeySeed"),Ae("newAuthorized")],t);function Bn(t){let r=0,n=0;for(;;){let e=t.shift();if(r|=(e&127)<<n*7,n+=1,(e&128)===0)break}return r}function Mn(t,r){let n=r;for(;;){let e=n&127;if(n>>=7,n==0){t.push(e);break}else e|=128,t.push(e)}}function cn(t,r){if(!t)throw new Error(r||"Assertion failed")}class ko{constructor(r,n){this.payer=void 0,this.keyMetaMap=void 0,this.payer=r,this.keyMetaMap=n}static compile(r,n){const e=new Map,u=d=>{const y=d.toBase58();let l=e.get(y);return l===void 0&&(l={isSigner:!1,isWritable:!1,isInvoked:!1},e.set(y,l)),l},a=u(n);a.isSigner=!0,a.isWritable=!0;for(const d of r){u(d.programId).isInvoked=!0;for(const y of d.keys){const l=u(y.pubkey);l.isSigner||=y.isSigner,l.isWritable||=y.isWritable}}return new ko(n,e)}getMessageComponents(){const r=[...this.keyMetaMap.entries()];cn(r.length<=256,"Max static account keys length exceeded");const n=r.filter(([,l])=>l.isSigner&&l.isWritable),e=r.filter(([,l])=>l.isSigner&&!l.isWritable),u=r.filter(([,l])=>!l.isSigner&&l.isWritable),a=r.filter(([,l])=>!l.isSigner&&!l.isWritable),d={numRequiredSignatures:n.length+e.length,numReadonlySignedAccounts:e.length,numReadonlyUnsignedAccounts:a.length};{cn(n.length>0,"Expected at least one writable signer key");const[l]=n[0];cn(l===this.payer.toBase58(),"Expected first writable signer key to be the fee payer")}const y=[...n.map(([l])=>new me(l)),...e.map(([l])=>new me(l)),...u.map(([l])=>new me(l)),...a.map(([l])=>new me(l))];return[d,y]}extractTableLookup(r){const[n,e]=this.drainKeysFoundInLookupTable(r.state.addresses,d=>!d.isSigner&&!d.isInvoked&&d.isWritable),[u,a]=this.drainKeysFoundInLookupTable(r.state.addresses,d=>!d.isSigner&&!d.isInvoked&&!d.isWritable);if(!(n.length===0&&u.length===0))return[{accountKey:r.key,writableIndexes:n,readonlyIndexes:u},{writable:e,readonly:a}]}drainKeysFoundInLookupTable(r,n){const e=new Array,u=new Array;for(const[a,d]of this.keyMetaMap.entries())if(n(d)){const y=new me(a),l=r.findIndex(b=>b.equals(y));l>=0&&(cn(l<256,"Max lookup table index exceeded"),e.push(l),u.push(y),this.keyMetaMap.delete(a))}return[e,u]}}const Bc="Reached end of buffer unexpectedly";function fr(t){if(t.length===0)throw new Error(Bc);return t.shift()}function kn(t,...r){const[n]=r;if(r.length===2?n+(r[1]??0)>t.length:n>=t.length)throw new Error(Bc);return t.splice(...r)}class Hr{constructor(r){this.header=void 0,this.accountKeys=void 0,this.recentBlockhash=void 0,this.instructions=void 0,this.indexToProgramIds=new Map,this.header=r.header,this.accountKeys=r.accountKeys.map(n=>new me(n)),this.recentBlockhash=r.recentBlockhash,this.instructions=r.instructions,this.instructions.forEach(n=>this.indexToProgramIds.set(n.programIdIndex,this.accountKeys[n.programIdIndex]))}get version(){return"legacy"}get staticAccountKeys(){return this.accountKeys}get compiledInstructions(){return this.instructions.map(r=>({programIdIndex:r.programIdIndex,accountKeyIndexes:r.accounts,data:An.decode(r.data)}))}get addressTableLookups(){return[]}getAccountKeys(){return new ki(this.staticAccountKeys)}static compile(r){const n=ko.compile(r.instructions,r.payerKey),[e,u]=n.getMessageComponents(),d=new ki(u).compileInstructions(r.instructions).map(y=>({programIdIndex:y.programIdIndex,accounts:y.accountKeyIndexes,data:An.encode(y.data)}));return new Hr({header:e,accountKeys:u,recentBlockhash:r.recentBlockhash,instructions:d})}isAccountSigner(r){return r<this.header.numRequiredSignatures}isAccountWritable(r){const n=this.header.numRequiredSignatures;if(r>=this.header.numRequiredSignatures){const e=r-n,a=this.accountKeys.length-n-this.header.numReadonlyUnsignedAccounts;return e<a}else{const e=n-this.header.numReadonlySignedAccounts;return r<e}}isProgramId(r){return this.indexToProgramIds.has(r)}programIds(){return[...this.indexToProgramIds.values()]}nonProgramIds(){return this.accountKeys.filter((r,n)=>!this.isProgramId(n))}serialize(){const r=this.accountKeys.length;let n=[];Mn(n,r);const e=this.instructions.map(L=>{const{accounts:T,programIdIndex:x}=L,M=Array.from(An.decode(L.data));let D=[];Mn(D,T.length);let Y=[];return Mn(Y,M.length),{programIdIndex:x,keyIndicesCount:Re.Buffer.from(D),keyIndices:T,dataLength:Re.Buffer.from(Y),data:M}});let u=[];Mn(u,e.length);let a=Re.Buffer.alloc(Vr);Re.Buffer.from(u).copy(a);let d=u.length;e.forEach(L=>{const x=lt.struct([lt.u8("programIdIndex"),lt.blob(L.keyIndicesCount.length,"keyIndicesCount"),lt.seq(lt.u8("keyIndex"),L.keyIndices.length,"keyIndices"),lt.blob(L.dataLength.length,"dataLength"),lt.seq(lt.u8("userdatum"),L.data.length,"data")]).encode(L,a,d);d+=x}),a=a.slice(0,d);const y=lt.struct([lt.blob(1,"numRequiredSignatures"),lt.blob(1,"numReadonlySignedAccounts"),lt.blob(1,"numReadonlyUnsignedAccounts"),lt.blob(n.length,"keyCount"),lt.seq(Ae("key"),r,"keys"),Ae("recentBlockhash")]),l={numRequiredSignatures:Re.Buffer.from([this.header.numRequiredSignatures]),numReadonlySignedAccounts:Re.Buffer.from([this.header.numReadonlySignedAccounts]),numReadonlyUnsignedAccounts:Re.Buffer.from([this.header.numReadonlyUnsignedAccounts]),keyCount:Re.Buffer.from(n),keys:this.accountKeys.map(L=>Qs(L.toBytes())),recentBlockhash:An.decode(this.recentBlockhash)};let b=Re.Buffer.alloc(2048);const N=y.encode(l,b);return a.copy(b,N),b.slice(0,N+a.length)}static from(r){let n=[...r];const e=fr(n);if(e!==(e&Mo))throw new Error("Versioned messages must be deserialized with VersionedMessage.deserialize()");const u=fr(n),a=fr(n),d=Bn(n);let y=[];for(let T=0;T<d;T++){const x=kn(n,0,cr);y.push(new me(Re.Buffer.from(x)))}const l=kn(n,0,cr),b=Bn(n);let N=[];for(let T=0;T<b;T++){const x=fr(n),M=Bn(n),D=kn(n,0,M),Y=Bn(n),z=kn(n,0,Y),J=An.encode(Re.Buffer.from(z));N.push({programIdIndex:x,accounts:D,data:J})}const L={header:{numRequiredSignatures:e,numReadonlySignedAccounts:u,numReadonlyUnsignedAccounts:a},recentBlockhash:An.encode(Re.Buffer.from(l)),accountKeys:y,instructions:N};return new Hr(L)}}class Ui{constructor(r){this.header=void 0,this.staticAccountKeys=void 0,this.recentBlockhash=void 0,this.compiledInstructions=void 0,this.addressTableLookups=void 0,this.header=r.header,this.staticAccountKeys=r.staticAccountKeys,this.recentBlockhash=r.recentBlockhash,this.compiledInstructions=r.compiledInstructions,this.addressTableLookups=r.addressTableLookups}get version(){return 0}get numAccountKeysFromLookups(){let r=0;for(const n of this.addressTableLookups)r+=n.readonlyIndexes.length+n.writableIndexes.length;return r}getAccountKeys(r){let n;if(r&&"accountKeysFromLookups"in r&&r.accountKeysFromLookups){if(this.numAccountKeysFromLookups!=r.accountKeysFromLookups.writable.length+r.accountKeysFromLookups.readonly.length)throw new Error("Failed to get account keys because of a mismatch in the number of account keys from lookups");n=r.accountKeysFromLookups}else if(r&&"addressLookupTableAccounts"in r&&r.addressLookupTableAccounts)n=this.resolveAddressTableLookups(r.addressLookupTableAccounts);else if(this.addressTableLookups.length>0)throw new Error("Failed to get account keys because address table lookups were not resolved");return new ki(this.staticAccountKeys,n)}isAccountSigner(r){return r<this.header.numRequiredSignatures}isAccountWritable(r){const n=this.header.numRequiredSignatures,e=this.staticAccountKeys.length;if(r>=e){const u=r-e,a=this.addressTableLookups.reduce((d,y)=>d+y.writableIndexes.length,0);return u<a}else if(r>=this.header.numRequiredSignatures){const u=r-n,d=e-n-this.header.numReadonlyUnsignedAccounts;return u<d}else{const u=n-this.header.numReadonlySignedAccounts;return r<u}}resolveAddressTableLookups(r){const n={writable:[],readonly:[]};for(const e of this.addressTableLookups){const u=r.find(a=>a.key.equals(e.accountKey));if(!u)throw new Error(`Failed to find address lookup table account for table key ${e.accountKey.toBase58()}`);for(const a of e.writableIndexes)if(a<u.state.addresses.length)n.writable.push(u.state.addresses[a]);else throw new Error(`Failed to find address for index ${a} in address lookup table ${e.accountKey.toBase58()}`);for(const a of e.readonlyIndexes)if(a<u.state.addresses.length)n.readonly.push(u.state.addresses[a]);else throw new Error(`Failed to find address for index ${a} in address lookup table ${e.accountKey.toBase58()}`)}return n}static compile(r){const n=ko.compile(r.instructions,r.payerKey),e=new Array,u={writable:new Array,readonly:new Array},a=r.addressLookupTableAccounts||[];for(const N of a){const L=n.extractTableLookup(N);if(L!==void 0){const[T,{writable:x,readonly:M}]=L;e.push(T),u.writable.push(...x),u.readonly.push(...M)}}const[d,y]=n.getMessageComponents(),b=new ki(y,u).compileInstructions(r.instructions);return new Ui({header:d,staticAccountKeys:y,recentBlockhash:r.recentBlockhash,compiledInstructions:b,addressTableLookups:e})}serialize(){const r=Array();Mn(r,this.staticAccountKeys.length);const n=this.serializeInstructions(),e=Array();Mn(e,this.compiledInstructions.length);const u=this.serializeAddressTableLookups(),a=Array();Mn(a,this.addressTableLookups.length);const d=lt.struct([lt.u8("prefix"),lt.struct([lt.u8("numRequiredSignatures"),lt.u8("numReadonlySignedAccounts"),lt.u8("numReadonlyUnsignedAccounts")],"header"),lt.blob(r.length,"staticAccountKeysLength"),lt.seq(Ae(),this.staticAccountKeys.length,"staticAccountKeys"),Ae("recentBlockhash"),lt.blob(e.length,"instructionsLength"),lt.blob(n.length,"serializedInstructions"),lt.blob(a.length,"addressTableLookupsLength"),lt.blob(u.length,"serializedAddressTableLookups")]),y=new Uint8Array(Vr),b=d.encode({prefix:128,header:this.header,staticAccountKeysLength:new Uint8Array(r),staticAccountKeys:this.staticAccountKeys.map(N=>N.toBytes()),recentBlockhash:An.decode(this.recentBlockhash),instructionsLength:new Uint8Array(e),serializedInstructions:n,addressTableLookupsLength:new Uint8Array(a),serializedAddressTableLookups:u},y);return y.slice(0,b)}serializeInstructions(){let r=0;const n=new Uint8Array(Vr);for(const e of this.compiledInstructions){const u=Array();Mn(u,e.accountKeyIndexes.length);const a=Array();Mn(a,e.data.length);const d=lt.struct([lt.u8("programIdIndex"),lt.blob(u.length,"encodedAccountKeyIndexesLength"),lt.seq(lt.u8(),e.accountKeyIndexes.length,"accountKeyIndexes"),lt.blob(a.length,"encodedDataLength"),lt.blob(e.data.length,"data")]);r+=d.encode({programIdIndex:e.programIdIndex,encodedAccountKeyIndexesLength:new Uint8Array(u),accountKeyIndexes:e.accountKeyIndexes,encodedDataLength:new Uint8Array(a),data:e.data},n,r)}return n.slice(0,r)}serializeAddressTableLookups(){let r=0;const n=new Uint8Array(Vr);for(const e of this.addressTableLookups){const u=Array();Mn(u,e.writableIndexes.length);const a=Array();Mn(a,e.readonlyIndexes.length);const d=lt.struct([Ae("accountKey"),lt.blob(u.length,"encodedWritableIndexesLength"),lt.seq(lt.u8(),e.writableIndexes.length,"writableIndexes"),lt.blob(a.length,"encodedReadonlyIndexesLength"),lt.seq(lt.u8(),e.readonlyIndexes.length,"readonlyIndexes")]);r+=d.encode({accountKey:e.accountKey.toBytes(),encodedWritableIndexesLength:new Uint8Array(u),writableIndexes:e.writableIndexes,encodedReadonlyIndexesLength:new Uint8Array(a),readonlyIndexes:e.readonlyIndexes},n,r)}return n.slice(0,r)}static deserialize(r){let n=[...r];const e=fr(n),u=e&Mo;cn(e!==u,"Expected versioned message but received legacy message");const a=u;cn(a===0,`Expected versioned message with version 0 but found version ${a}`);const d={numRequiredSignatures:fr(n),numReadonlySignedAccounts:fr(n),numReadonlyUnsignedAccounts:fr(n)},y=[],l=Bn(n);for(let M=0;M<l;M++)y.push(new me(kn(n,0,cr)));const b=An.encode(kn(n,0,cr)),N=Bn(n),L=[];for(let M=0;M<N;M++){const D=fr(n),Y=Bn(n),z=kn(n,0,Y),J=Bn(n),q=new Uint8Array(kn(n,0,J));L.push({programIdIndex:D,accountKeyIndexes:z,data:q})}const T=Bn(n),x=[];for(let M=0;M<T;M++){const D=new me(kn(n,0,cr)),Y=Bn(n),z=kn(n,0,Y),J=Bn(n),q=kn(n,0,J);x.push({accountKey:D,writableIndexes:z,readonlyIndexes:q})}return new Ui({header:d,staticAccountKeys:y,recentBlockhash:b,compiledInstructions:L,addressTableLookups:x})}}const ta={deserializeMessageVersion(t){const r=t[0],n=r&Mo;return n===r?"legacy":n},deserialize:t=>{const r=ta.deserializeMessageVersion(t);if(r==="legacy")return Hr.from(t);if(r===0)return Ui.deserialize(t);throw new Error(`Transaction message version ${r} deserialization is not supported`)}},S3=Re.Buffer.alloc(Mi).fill(0);class ea{constructor(r){this.keys=void 0,this.programId=void 0,this.data=Re.Buffer.alloc(0),this.programId=r.programId,this.keys=r.keys,r.data&&(this.data=r.data)}toJSON(){return{keys:this.keys.map(({pubkey:r,isSigner:n,isWritable:e})=>({pubkey:r.toJSON(),isSigner:n,isWritable:e})),programId:this.programId.toJSON(),data:[...this.data]}}}class Uo{get signature(){return this.signatures.length>0?this.signatures[0].signature:null}constructor(r){if(this.signatures=[],this.feePayer=void 0,this.instructions=[],this.recentBlockhash=void 0,this.lastValidBlockHeight=void 0,this.nonceInfo=void 0,this.minNonceContextSlot=void 0,this._message=void 0,this._json=void 0,!!r)if(r.feePayer&&(this.feePayer=r.feePayer),r.signatures&&(this.signatures=r.signatures),Object.prototype.hasOwnProperty.call(r,"nonceInfo")){const{minContextSlot:n,nonceInfo:e}=r;this.minNonceContextSlot=n,this.nonceInfo=e}else if(Object.prototype.hasOwnProperty.call(r,"lastValidBlockHeight")){const{blockhash:n,lastValidBlockHeight:e}=r;this.recentBlockhash=n,this.lastValidBlockHeight=e}else{const{recentBlockhash:n,nonceInfo:e}=r;e&&(this.nonceInfo=e),this.recentBlockhash=n}}toJSON(){return{recentBlockhash:this.recentBlockhash||null,feePayer:this.feePayer?this.feePayer.toJSON():null,nonceInfo:this.nonceInfo?{nonce:this.nonceInfo.nonce,nonceInstruction:this.nonceInfo.nonceInstruction.toJSON()}:null,instructions:this.instructions.map(r=>r.toJSON()),signers:this.signatures.map(({publicKey:r})=>r.toJSON())}}add(...r){if(r.length===0)throw new Error("No instructions");return r.forEach(n=>{"instructions"in n?this.instructions=this.instructions.concat(n.instructions):"data"in n&&"programId"in n&&"keys"in n?this.instructions.push(n):this.instructions.push(new ea(n))}),this}compileMessage(){if(this._message&&JSON.stringify(this.toJSON())===JSON.stringify(this._json))return this._message;let r,n;if(this.nonceInfo?(r=this.nonceInfo.nonce,this.instructions[0]!=this.nonceInfo.nonceInstruction?n=[this.nonceInfo.nonceInstruction,...this.instructions]:n=this.instructions):(r=this.recentBlockhash,n=this.instructions),!r)throw new Error("Transaction recentBlockhash required");n.length<1&&console.warn("No instructions provided");let e;if(this.feePayer)e=this.feePayer;else if(this.signatures.length>0&&this.signatures[0].publicKey)e=this.signatures[0].publicKey;else throw new Error("Transaction fee payer required");for(let D=0;D<n.length;D++)if(n[D].programId===void 0)throw new Error(`Transaction instruction index ${D} has undefined program id`);const u=[],a=[];n.forEach(D=>{D.keys.forEach(z=>{a.push({...z})});const Y=D.programId.toString();u.includes(Y)||u.push(Y)}),u.forEach(D=>{a.push({pubkey:new me(D),isSigner:!1,isWritable:!1})});const d=[];a.forEach(D=>{const Y=D.pubkey.toString(),z=d.findIndex(J=>J.pubkey.toString()===Y);z>-1?(d[z].isWritable=d[z].isWritable||D.isWritable,d[z].isSigner=d[z].isSigner||D.isSigner):d.push(D)}),d.sort(function(D,Y){if(D.isSigner!==Y.isSigner)return D.isSigner?-1:1;if(D.isWritable!==Y.isWritable)return D.isWritable?-1:1;const z={localeMatcher:"best fit",usage:"sort",sensitivity:"variant",ignorePunctuation:!1,numeric:!1,caseFirst:"lower"};return D.pubkey.toBase58().localeCompare(Y.pubkey.toBase58(),"en",z)});const y=d.findIndex(D=>D.pubkey.equals(e));if(y>-1){const[D]=d.splice(y,1);D.isSigner=!0,D.isWritable=!0,d.unshift(D)}else d.unshift({pubkey:e,isSigner:!0,isWritable:!0});for(const D of this.signatures){const Y=d.findIndex(z=>z.pubkey.equals(D.publicKey));if(Y>-1)d[Y].isSigner||(d[Y].isSigner=!0,console.warn("Transaction references a signature that is unnecessary, only the fee payer and instruction signer accounts should sign a transaction. This behavior is deprecated and will throw an error in the next major version release."));else throw new Error(`unknown signer: ${D.publicKey.toString()}`)}let l=0,b=0,N=0;const L=[],T=[];d.forEach(({pubkey:D,isSigner:Y,isWritable:z})=>{Y?(L.push(D.toString()),l+=1,z||(b+=1)):(T.push(D.toString()),z||(N+=1))});const x=L.concat(T),M=n.map(D=>{const{data:Y,programId:z}=D;return{programIdIndex:x.indexOf(z.toString()),accounts:D.keys.map(J=>x.indexOf(J.pubkey.toString())),data:An.encode(Y)}});return M.forEach(D=>{cn(D.programIdIndex>=0),D.accounts.forEach(Y=>cn(Y>=0))}),new Hr({header:{numRequiredSignatures:l,numReadonlySignedAccounts:b,numReadonlyUnsignedAccounts:N},accountKeys:x,recentBlockhash:r,instructions:M})}_compile(){const r=this.compileMessage(),n=r.accountKeys.slice(0,r.header.numRequiredSignatures);return this.signatures.length===n.length&&this.signatures.every((u,a)=>n[a].equals(u.publicKey))||(this.signatures=n.map(e=>({signature:null,publicKey:e}))),r}serializeMessage(){return this._compile().serialize()}async getEstimatedFee(r){return(await r.getFeeForMessage(this.compileMessage())).value}setSigners(...r){if(r.length===0)throw new Error("No signers");const n=new Set;this.signatures=r.filter(e=>{const u=e.toString();return n.has(u)?!1:(n.add(u),!0)}).map(e=>({signature:null,publicKey:e}))}sign(...r){if(r.length===0)throw new Error("No signers");const n=new Set,e=[];for(const a of r){const d=a.publicKey.toString();n.has(d)||(n.add(d),e.push(a))}this.signatures=e.map(a=>({signature:null,publicKey:a.publicKey}));const u=this._compile();this._partialSign(u,...e)}partialSign(...r){if(r.length===0)throw new Error("No signers");const n=new Set,e=[];for(const a of r){const d=a.publicKey.toString();n.has(d)||(n.add(d),e.push(a))}const u=this._compile();this._partialSign(u,...e)}_partialSign(r,...n){const e=r.serialize();n.forEach(u=>{const a=Nc(e,u.secretKey);this._addSignature(u.publicKey,Qs(a))})}addSignature(r,n){this._compile(),this._addSignature(r,n)}_addSignature(r,n){cn(n.length===64);const e=this.signatures.findIndex(u=>r.equals(u.publicKey));if(e<0)throw new Error(`unknown signer: ${r.toString()}`);this.signatures[e].signature=Re.Buffer.from(n)}verifySignatures(r=!0){return!this._getMessageSignednessErrors(this.serializeMessage(),r)}_getMessageSignednessErrors(r,n){const e={};for(const{signature:u,publicKey:a}of this.signatures)u===null?n&&(e.missing||=[]).push(a):y3(u,r,a.toBytes())||(e.invalid||=[]).push(a);return e.invalid||e.missing?e:void 0}serialize(r){const{requireAllSignatures:n,verifySignatures:e}=Object.assign({requireAllSignatures:!0,verifySignatures:!0},r),u=this.serializeMessage();if(e){const a=this._getMessageSignednessErrors(u,n);if(a){let d="Signature verification failed.";throw a.invalid&&(d+=`
6
- Invalid signature for public key${a.invalid.length===1?"":"(s)"} [\`${a.invalid.map(y=>y.toBase58()).join("`, `")}\`].`),a.missing&&(d+=`
7
- Missing signature for public key${a.missing.length===1?"":"(s)"} [\`${a.missing.map(y=>y.toBase58()).join("`, `")}\`].`),new Error(d)}}return this._serialize(u)}_serialize(r){const{signatures:n}=this,e=[];Mn(e,n.length);const u=e.length+n.length*64+r.length,a=Re.Buffer.alloc(u);return cn(n.length<256),Re.Buffer.from(e).copy(a,0),n.forEach(({signature:d},y)=>{d!==null&&(cn(d.length===64,"signature has invalid length"),Re.Buffer.from(d).copy(a,e.length+y*64))}),r.copy(a,e.length+n.length*64),cn(a.length<=Vr,`Transaction too large: ${a.length} > ${Vr}`),a}get keys(){return cn(this.instructions.length===1),this.instructions[0].keys.map(r=>r.pubkey)}get programId(){return cn(this.instructions.length===1),this.instructions[0].programId}get data(){return cn(this.instructions.length===1),this.instructions[0].data}static from(r){let n=[...r];const e=Bn(n);let u=[];for(let a=0;a<e;a++){const d=kn(n,0,Mi);u.push(An.encode(Re.Buffer.from(d)))}return Uo.populate(Hr.from(n),u)}static populate(r,n=[]){const e=new Uo;return e.recentBlockhash=r.recentBlockhash,r.header.numRequiredSignatures>0&&(e.feePayer=r.accountKeys[0]),n.forEach((u,a)=>{const d={signature:u==An.encode(S3)?null:An.decode(u),publicKey:r.accountKeys[a]};e.signatures.push(d)}),r.instructions.forEach(u=>{const a=u.accounts.map(d=>{const y=r.accountKeys[d];return{pubkey:y,isSigner:e.signatures.some(l=>l.publicKey.toString()===y.toString())||r.isAccountSigner(d),isWritable:r.isAccountWritable(d)}});e.instructions.push(new ea({keys:a,programId:r.accountKeys[u.programIdIndex],data:An.decode(u.data)}))}),e._message=r,e._json=e.toJSON(),e}}class na{get version(){return this.message.version}constructor(r,n){if(this.signatures=void 0,this.message=void 0,n!==void 0)cn(n.length===r.header.numRequiredSignatures,"Expected signatures length to be equal to the number of required signatures"),this.signatures=n;else{const e=[];for(let u=0;u<r.header.numRequiredSignatures;u++)e.push(new Uint8Array(Mi));this.signatures=e}this.message=r}serialize(){const r=this.message.serialize(),n=Array();Mn(n,this.signatures.length);const e=lt.struct([lt.blob(n.length,"encodedSignaturesLength"),lt.seq(E3(),this.signatures.length,"signatures"),lt.blob(r.length,"serializedMessage")]),u=new Uint8Array(2048),a=e.encode({encodedSignaturesLength:new Uint8Array(n),signatures:this.signatures,serializedMessage:r},u);return u.slice(0,a)}static deserialize(r){let n=[...r];const e=[],u=Bn(n);for(let d=0;d<u;d++)e.push(new Uint8Array(kn(n,0,Mi)));const a=ta.deserialize(new Uint8Array(n));return new na(a,e)}sign(r){const n=this.message.serialize(),e=this.message.staticAccountKeys.slice(0,this.message.header.numRequiredSignatures);for(const u of r){const a=e.findIndex(d=>d.equals(u.publicKey));cn(a>=0,`Cannot sign with non signer key ${u.publicKey.toBase58()}`),this.signatures[a]=Nc(n,u.secretKey)}}addSignature(r,n){cn(n.byteLength===64,"Signature must be 64 bytes long");const u=this.message.staticAccountKeys.slice(0,this.message.header.numRequiredSignatures).findIndex(a=>a.equals(r));cn(u>=0,`Can not add signature; \`${r.toBase58()}\` is not required to sign this transaction`),this.signatures[u]=n}}new me("SysvarC1ock11111111111111111111111111111111"),new me("SysvarEpochSchedu1e111111111111111111111111"),new me("Sysvar1nstructions1111111111111111111111111"),new me("SysvarRecentB1ockHashes11111111111111111111"),new me("SysvarRent111111111111111111111111111111111"),new me("SysvarRewards111111111111111111111111111111"),new me("SysvarS1otHashes111111111111111111111111111"),new me("SysvarS1otHistory11111111111111111111111111"),new me("SysvarStakeHistory1111111111111111111111111");const Mc=lt.nu64("lamportsPerSignature");lt.struct([lt.u32("version"),lt.u32("state"),Ae("authorizedPubkey"),Ae("nonce"),lt.struct([Mc],"feeCalculator")]).span;function ci(t){const r=lt.blob(8,t),n=r.decode.bind(r),e=r.encode.bind(r),u=r,a=Nv();return u.decode=(d,y)=>{const l=n(d,y);return a.decode(l)},u.encode=(d,y,l)=>{const b=a.encode(d);return e(b,y,l)},u}Object.freeze({Create:{index:0,layout:lt.struct([lt.u32("instruction"),lt.ns64("lamports"),lt.ns64("space"),Ae("programId")])},Assign:{index:1,layout:lt.struct([lt.u32("instruction"),Ae("programId")])},Transfer:{index:2,layout:lt.struct([lt.u32("instruction"),ci("lamports")])},CreateWithSeed:{index:3,layout:lt.struct([lt.u32("instruction"),Ae("base"),ui("seed"),lt.ns64("lamports"),lt.ns64("space"),Ae("programId")])},AdvanceNonceAccount:{index:4,layout:lt.struct([lt.u32("instruction")])},WithdrawNonceAccount:{index:5,layout:lt.struct([lt.u32("instruction"),lt.ns64("lamports")])},InitializeNonceAccount:{index:6,layout:lt.struct([lt.u32("instruction"),Ae("authorized")])},AuthorizeNonceAccount:{index:7,layout:lt.struct([lt.u32("instruction"),Ae("authorized")])},Allocate:{index:8,layout:lt.struct([lt.u32("instruction"),lt.ns64("space")])},AllocateWithSeed:{index:9,layout:lt.struct([lt.u32("instruction"),Ae("base"),ui("seed"),lt.ns64("space"),Ae("programId")])},AssignWithSeed:{index:10,layout:lt.struct([lt.u32("instruction"),Ae("base"),ui("seed"),Ae("programId")])},TransferWithSeed:{index:11,layout:lt.struct([lt.u32("instruction"),ci("lamports"),ui("seed"),Ae("programId")])},UpgradeNonceAccount:{index:12,layout:lt.struct([lt.u32("instruction")])}}),new me("11111111111111111111111111111111"),new me("BPFLoader2111111111111111111111111111111111"),lt.struct([lt.u32("typeIndex"),ci("deactivationSlot"),lt.nu64("lastExtendedSlot"),lt.u8("lastExtendedStartIndex"),lt.u8(),lt.seq(Ae(),lt.offset(lt.u8(),-1),"authority")]);const Xe=Ci(Fs(me),$t(),t=>new me(t)),kc=Vs([$t(),Ye("base64")]),ra=Ci(Fs(Re.Buffer),kc,t=>Re.Buffer.from(t[0],"base64"));function Uc(t){return Sn([Pt({jsonrpc:Ye("2.0"),id:$t(),result:t}),Pt({jsonrpc:Ye("2.0"),id:$t(),error:Pt({code:oi(),message:$t(),data:fe(kv())})})])}const I3=Uc(oi());function Fe(t){return Ci(Uc(t),I3,r=>"error"in r?r:{...r,result:xi(r.result,t)})}function Gn(t){return Fe(Pt({context:Pt({slot:It()}),value:t}))}function Do(t){return Pt({context:Pt({slot:It()}),value:t})}const O3=Pt({foundation:It(),foundationTerm:It(),initial:It(),taper:It(),terminal:It()});Fe(ie(oe(Pt({epoch:It(),effectiveSlot:It(),amount:It(),postBalance:It(),commission:fe(oe(It()))}))));const N3=ie(Pt({slot:It(),prioritizationFee:It()})),T3=Pt({total:It(),validator:It(),foundation:It(),epoch:It()}),x3=Pt({epoch:It(),slotIndex:It(),slotsInEpoch:It(),absoluteSlot:It(),blockHeight:fe(It()),transactionCount:fe(It())}),L3=Pt({slotsPerEpoch:It(),leaderScheduleSlotOffset:It(),warmup:Jn(),firstNormalEpoch:It(),firstNormalSlot:It()}),C3=fc($t(),ie(It())),Gr=oe(Sn([Pt({}),$t()])),B3=Pt({err:Gr}),M3=Ye("receivedSignature");Pt({"solana-core":$t(),"feature-set":fe(It())});const k3=Pt({program:$t(),programId:Xe,parsed:oi()}),U3=Pt({programId:Xe,accounts:ie(Xe),data:$t()});Gn(Pt({err:oe(Sn([Pt({}),$t()])),logs:oe(ie($t())),accounts:fe(oe(ie(oe(Pt({executable:Jn(),owner:$t(),lamports:It(),data:ie($t()),rentEpoch:fe(It())}))))),unitsConsumed:fe(It()),returnData:fe(oe(Pt({programId:$t(),data:Vs([$t(),Ye("base64")])}))),innerInstructions:fe(oe(ie(Pt({index:It(),instructions:ie(Sn([k3,U3]))}))))})),Gn(Pt({byIdentity:fc($t(),ie(It())),range:Pt({firstSlot:It(),lastSlot:It()})})),Fe(O3),Fe(T3),Fe(N3),Fe(x3),Fe(L3),Fe(C3),Fe(It()),Gn(Pt({total:It(),circulating:It(),nonCirculating:It(),nonCirculatingAccounts:ie(Xe)}));const D3=Pt({amount:$t(),uiAmount:oe(It()),decimals:It(),uiAmountString:fe($t())});Gn(ie(Pt({address:Xe,amount:$t(),uiAmount:oe(It()),decimals:It(),uiAmountString:fe($t())}))),Gn(ie(Pt({pubkey:Xe,account:Pt({executable:Jn(),owner:Xe,lamports:It(),data:ra,rentEpoch:It()})})));const ia=Pt({program:$t(),parsed:oi(),space:It()});Gn(ie(Pt({pubkey:Xe,account:Pt({executable:Jn(),owner:Xe,lamports:It(),data:ia,rentEpoch:It()})}))),Gn(ie(Pt({lamports:It(),address:Xe})));const oa=Pt({executable:Jn(),owner:Xe,lamports:It(),data:ra,rentEpoch:It()});Pt({pubkey:Xe,account:oa});const P3=Ci(Sn([Fs(Re.Buffer),ia]),Sn([kc,ia]),t=>Array.isArray(t)?xi(t,ra):t),F3=Pt({executable:Jn(),owner:Xe,lamports:It(),data:P3,rentEpoch:It()});Pt({pubkey:Xe,account:F3}),Pt({state:Sn([Ye("active"),Ye("inactive"),Ye("activating"),Ye("deactivating")]),active:It(),inactive:It()}),Fe(ie(Pt({signature:$t(),slot:It(),err:Gr,memo:oe($t()),blockTime:fe(oe(It()))}))),Fe(ie(Pt({signature:$t(),slot:It(),err:Gr,memo:oe($t()),blockTime:fe(oe(It()))}))),Pt({subscription:It(),result:Do(oa)});const V3=Pt({pubkey:Xe,account:oa});Pt({subscription:It(),result:Do(V3)});const H3=Pt({parent:It(),slot:It(),root:It()});Pt({subscription:It(),result:H3});const G3=Sn([Pt({type:Sn([Ye("firstShredReceived"),Ye("completed"),Ye("optimisticConfirmation"),Ye("root")]),slot:It(),timestamp:It()}),Pt({type:Ye("createdBank"),parent:It(),slot:It(),timestamp:It()}),Pt({type:Ye("frozen"),slot:It(),timestamp:It(),stats:Pt({numTransactionEntries:It(),numSuccessfulTransactions:It(),numFailedTransactions:It(),maxTransactionsPerEntry:It()})}),Pt({type:Ye("dead"),slot:It(),timestamp:It(),err:$t()})]);Pt({subscription:It(),result:G3}),Pt({subscription:It(),result:Do(Sn([B3,M3]))}),Pt({subscription:It(),result:It()}),Pt({pubkey:$t(),gossip:oe($t()),tpu:oe($t()),rpc:oe($t()),version:oe($t())});const Dc=Pt({votePubkey:$t(),nodePubkey:$t(),activatedStake:It(),epochVoteAccount:Jn(),epochCredits:ie(Vs([It(),It(),It()])),commission:It(),lastVote:It(),rootSlot:oe(It())});Fe(Pt({current:ie(Dc),delinquent:ie(Dc)}));const j3=Sn([Ye("processed"),Ye("confirmed"),Ye("finalized")]),Y3=Pt({slot:It(),confirmations:oe(It()),err:Gr,confirmationStatus:fe(j3)});Gn(ie(oe(Y3))),Fe(It());const Pc=Pt({accountKey:Xe,writableIndexes:ie(It()),readonlyIndexes:ie(It())}),sa=Pt({signatures:ie($t()),message:Pt({accountKeys:ie($t()),header:Pt({numRequiredSignatures:It(),numReadonlySignedAccounts:It(),numReadonlyUnsignedAccounts:It()}),instructions:ie(Pt({accounts:ie(It()),data:$t(),programIdIndex:It()})),recentBlockhash:$t(),addressTableLookups:fe(ie(Pc))})}),Fc=Pt({pubkey:Xe,signer:Jn(),writable:Jn(),source:fe(Sn([Ye("transaction"),Ye("lookupTable")]))}),Vc=Pt({accountKeys:ie(Fc),signatures:ie($t())}),Hc=Pt({parsed:oi(),program:$t(),programId:Xe}),Gc=Pt({accounts:ie(Xe),data:$t(),programId:Xe}),z3=Sn([Gc,Hc]),W3=Sn([Pt({parsed:oi(),program:$t(),programId:$t()}),Pt({accounts:ie($t()),data:$t(),programId:$t()})]),jc=Ci(z3,W3,t=>"accounts"in t?xi(t,Gc):xi(t,Hc)),Yc=Pt({signatures:ie($t()),message:Pt({accountKeys:ie(Fc),instructions:ie(jc),recentBlockhash:$t(),addressTableLookups:fe(oe(ie(Pc)))})}),Po=Pt({accountIndex:It(),mint:$t(),owner:fe($t()),programId:fe($t()),uiTokenAmount:D3}),zc=Pt({writable:ie(Xe),readonly:ie(Xe)}),Fo=Pt({err:Gr,fee:It(),innerInstructions:fe(oe(ie(Pt({index:It(),instructions:ie(Pt({accounts:ie(It()),data:$t(),programIdIndex:It()}))})))),preBalances:ie(It()),postBalances:ie(It()),logMessages:fe(oe(ie($t()))),preTokenBalances:fe(oe(ie(Po))),postTokenBalances:fe(oe(ie(Po))),loadedAddresses:fe(zc),computeUnitsConsumed:fe(It()),costUnits:fe(It())}),aa=Pt({err:Gr,fee:It(),innerInstructions:fe(oe(ie(Pt({index:It(),instructions:ie(jc)})))),preBalances:ie(It()),postBalances:ie(It()),logMessages:fe(oe(ie($t()))),preTokenBalances:fe(oe(ie(Po))),postTokenBalances:fe(oe(ie(Po))),loadedAddresses:fe(zc),computeUnitsConsumed:fe(It()),costUnits:fe(It())}),fi=Sn([Ye(0),Ye("legacy")]),jr=Pt({pubkey:$t(),lamports:It(),postBalance:oe(It()),rewardType:oe($t()),commission:fe(oe(It()))});Fe(oe(Pt({blockhash:$t(),previousBlockhash:$t(),parentSlot:It(),transactions:ie(Pt({transaction:sa,meta:oe(Fo),version:fe(fi)})),rewards:fe(ie(jr)),blockTime:oe(It()),blockHeight:oe(It())}))),Fe(oe(Pt({blockhash:$t(),previousBlockhash:$t(),parentSlot:It(),rewards:fe(ie(jr)),blockTime:oe(It()),blockHeight:oe(It())}))),Fe(oe(Pt({blockhash:$t(),previousBlockhash:$t(),parentSlot:It(),transactions:ie(Pt({transaction:Vc,meta:oe(Fo),version:fe(fi)})),rewards:fe(ie(jr)),blockTime:oe(It()),blockHeight:oe(It())}))),Fe(oe(Pt({blockhash:$t(),previousBlockhash:$t(),parentSlot:It(),transactions:ie(Pt({transaction:Yc,meta:oe(aa),version:fe(fi)})),rewards:fe(ie(jr)),blockTime:oe(It()),blockHeight:oe(It())}))),Fe(oe(Pt({blockhash:$t(),previousBlockhash:$t(),parentSlot:It(),transactions:ie(Pt({transaction:Vc,meta:oe(aa),version:fe(fi)})),rewards:fe(ie(jr)),blockTime:oe(It()),blockHeight:oe(It())}))),Fe(oe(Pt({blockhash:$t(),previousBlockhash:$t(),parentSlot:It(),rewards:fe(ie(jr)),blockTime:oe(It()),blockHeight:oe(It())}))),Fe(oe(Pt({blockhash:$t(),previousBlockhash:$t(),parentSlot:It(),transactions:ie(Pt({transaction:sa,meta:oe(Fo)})),rewards:fe(ie(jr)),blockTime:oe(It())}))),Fe(oe(Pt({blockhash:$t(),previousBlockhash:$t(),parentSlot:It(),signatures:ie($t()),blockTime:oe(It())}))),Fe(oe(Pt({slot:It(),meta:oe(Fo),blockTime:fe(oe(It())),transaction:sa,version:fe(fi)}))),Fe(oe(Pt({slot:It(),transaction:Yc,meta:oe(aa),blockTime:fe(oe(It())),version:fe(fi)}))),Gn(Pt({blockhash:$t(),lastValidBlockHeight:It()})),Gn(Jn());const Z3=Pt({slot:It(),numTransactions:It(),numSlots:It(),samplePeriodSecs:It()});Fe(ie(Z3)),Gn(oe(Pt({feeCalculator:Pt({lamportsPerSignature:It()})}))),Fe($t()),Fe($t());const K3=Pt({err:Gr,logs:ie($t()),signature:$t()});Pt({result:Do(K3),subscription:It()}),Object.freeze({CreateLookupTable:{index:0,layout:lt.struct([lt.u32("instruction"),ci("recentSlot"),lt.u8("bumpSeed")])},FreezeLookupTable:{index:1,layout:lt.struct([lt.u32("instruction")])},ExtendLookupTable:{index:2,layout:lt.struct([lt.u32("instruction"),ci(),lt.seq(Ae(),lt.offset(lt.u32(),-8),"addresses")])},DeactivateLookupTable:{index:3,layout:lt.struct([lt.u32("instruction")])},CloseLookupTable:{index:4,layout:lt.struct([lt.u32("instruction")])}}),new me("AddressLookupTab1e1111111111111111111111111"),Object.freeze({RequestUnits:{index:0,layout:lt.struct([lt.u8("instruction"),lt.u32("units"),lt.u32("additionalFee")])},RequestHeapFrame:{index:1,layout:lt.struct([lt.u8("instruction"),lt.u32("bytes")])},SetComputeUnitLimit:{index:2,layout:lt.struct([lt.u8("instruction"),lt.u32("units")])},SetComputeUnitPrice:{index:3,layout:lt.struct([lt.u8("instruction"),ci("microLamports")])}}),new me("ComputeBudget111111111111111111111111111111"),lt.struct([lt.u8("numSignatures"),lt.u8("padding"),lt.u16("signatureOffset"),lt.u16("signatureInstructionIndex"),lt.u16("publicKeyOffset"),lt.u16("publicKeyInstructionIndex"),lt.u16("messageDataOffset"),lt.u16("messageDataSize"),lt.u16("messageInstructionIndex")]),new me("Ed25519SigVerify111111111111111111111111111"),m3.utils.isValidPrivateKey,lt.struct([lt.u8("numSignatures"),lt.u16("signatureOffset"),lt.u8("signatureInstructionIndex"),lt.u16("ethAddressOffset"),lt.u8("ethAddressInstructionIndex"),lt.u16("messageDataOffset"),lt.u16("messageDataSize"),lt.u8("messageInstructionIndex"),lt.blob(20,"ethAddress"),lt.blob(64,"signature"),lt.u8("recoveryId")]),new me("KeccakSecp256k11111111111111111111111111111");var Wc;new me("StakeConfig11111111111111111111111111111111");class ua{constructor(r,n,e){this.unixTimestamp=void 0,this.epoch=void 0,this.custodian=void 0,this.unixTimestamp=r,this.epoch=n,this.custodian=e}}Wc=ua,ua.default=new Wc(0,0,me.default),Object.freeze({Initialize:{index:0,layout:lt.struct([lt.u32("instruction"),b3(),_3()])},Authorize:{index:1,layout:lt.struct([lt.u32("instruction"),Ae("newAuthorized"),lt.u32("stakeAuthorizationType")])},Delegate:{index:2,layout:lt.struct([lt.u32("instruction")])},Split:{index:3,layout:lt.struct([lt.u32("instruction"),lt.ns64("lamports")])},Withdraw:{index:4,layout:lt.struct([lt.u32("instruction"),lt.ns64("lamports")])},Deactivate:{index:5,layout:lt.struct([lt.u32("instruction")])},Merge:{index:7,layout:lt.struct([lt.u32("instruction")])},AuthorizeWithSeed:{index:8,layout:lt.struct([lt.u32("instruction"),Ae("newAuthorized"),lt.u32("stakeAuthorizationType"),ui("authoritySeed"),Ae("authorityOwner")])}}),new me("Stake11111111111111111111111111111111111111"),Object.freeze({InitializeAccount:{index:0,layout:lt.struct([lt.u32("instruction"),R3()])},Authorize:{index:1,layout:lt.struct([lt.u32("instruction"),Ae("newAuthorized"),lt.u32("voteAuthorizationType")])},Withdraw:{index:3,layout:lt.struct([lt.u32("instruction"),lt.ns64("lamports")])},UpdateValidatorIdentity:{index:4,layout:lt.struct([lt.u32("instruction")])},AuthorizeWithSeed:{index:10,layout:lt.struct([lt.u32("instruction"),A3()])}}),new me("Vote111111111111111111111111111111111111111"),new me("Va1idator1nfo111111111111111111111111111111"),Pt({name:$t(),website:fe($t()),details:fe($t()),iconUrl:fe($t()),keybaseUsername:fe($t())}),new me("Vote111111111111111111111111111111111111111"),lt.struct([Ae("nodePubkey"),Ae("authorizedWithdrawer"),lt.u8("commission"),lt.nu64(),lt.seq(lt.struct([lt.nu64("slot"),lt.u32("confirmationCount")]),lt.offset(lt.u32(),-8),"votes"),lt.u8("rootSlotValid"),lt.nu64("rootSlot"),lt.nu64(),lt.seq(lt.struct([lt.nu64("epoch"),Ae("authorizedVoter")]),lt.offset(lt.u32(),-8),"authorizedVoters"),lt.struct([lt.seq(lt.struct([Ae("authorizedPubkey"),lt.nu64("epochOfLastAuthorizedSwitch"),lt.nu64("targetEpoch")]),32,"buf"),lt.nu64("idx"),lt.u8("isEmpty")],"priorVoters"),lt.nu64(),lt.seq(lt.struct([lt.nu64("epoch"),lt.nu64("credits"),lt.nu64("prevCredits")]),lt.offset(lt.u32(),-8),"epochCredits"),lt.struct([lt.nu64("slot"),lt.nu64("timestamp")],"lastTimestamp")]);const X3=Object.freeze(Object.defineProperty({__proto__:null,FeeCalculatorLayout:Mc,Lockup:ua,MAX_SEED_LENGTH:Lc,Message:Hr,MessageAccountKeys:ki,MessageV0:Ui,PACKET_DATA_SIZE:Vr,PUBLIC_KEY_LENGTH:cr,PublicKey:me,SIGNATURE_LENGTH_IN_BYTES:Mi,SOLANA_SCHEMA:Bi,Struct:Tc,Transaction:Uo,TransactionInstruction:ea,VERSION_PREFIX_MASK:Mo,VersionedMessage:ta,VersionedTransaction:na},Symbol.toStringTag,{value:"Module"}));function q3(t){if(t.length>=255)throw new TypeError("Alphabet too long");const r=new Uint8Array(256);for(let b=0;b<r.length;b++)r[b]=255;for(let b=0;b<t.length;b++){const N=t.charAt(b),L=N.charCodeAt(0);if(r[L]!==255)throw new TypeError(N+" is ambiguous");r[L]=b}const n=t.length,e=t.charAt(0),u=Math.log(n)/Math.log(256),a=Math.log(256)/Math.log(n);function d(b){if(b instanceof Uint8Array||(ArrayBuffer.isView(b)?b=new Uint8Array(b.buffer,b.byteOffset,b.byteLength):Array.isArray(b)&&(b=Uint8Array.from(b))),!(b instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(b.length===0)return"";let N=0,L=0,T=0;const x=b.length;for(;T!==x&&b[T]===0;)T++,N++;const M=(x-T)*a+1>>>0,D=new Uint8Array(M);for(;T!==x;){let J=b[T],q=0;for(let ot=M-1;(J!==0||q<L)&&ot!==-1;ot--,q++)J+=256*D[ot]>>>0,D[ot]=J%n>>>0,J=J/n>>>0;if(J!==0)throw new Error("Non-zero carry");L=q,T++}let Y=M-L;for(;Y!==M&&D[Y]===0;)Y++;let z=e.repeat(N);for(;Y<M;++Y)z+=t.charAt(D[Y]);return z}function y(b){if(typeof b!="string")throw new TypeError("Expected String");if(b.length===0)return new Uint8Array;let N=0,L=0,T=0;for(;b[N]===e;)L++,N++;const x=(b.length-N)*u+1>>>0,M=new Uint8Array(x);for(;N<b.length;){const J=b.charCodeAt(N);if(J>255)return;let q=r[J];if(q===255)return;let ot=0;for(let pt=x-1;(q!==0||ot<T)&&pt!==-1;pt--,ot++)q+=n*M[pt]>>>0,M[pt]=q%256>>>0,q=q/256>>>0;if(q!==0)throw new Error("Non-zero carry");T=ot,N++}let D=x-T;for(;D!==x&&M[D]===0;)D++;const Y=new Uint8Array(L+(x-D));let z=L;for(;D!==x;)Y[z++]=M[D++];return Y}function l(b){const N=y(b);if(N)return N;throw new Error("Non-base"+n+" character")}return{encode:d,decodeUnsafe:y,decode:l}}var $3="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";const J3=q3($3),Vo=X3,br=J3;var ca={exports:{}},Zc;function Q3(){return Zc||(Zc=1,(function(t){var r=(function(){var n=String.fromCharCode,e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",a={};function d(l,b){if(!a[l]){a[l]={};for(var N=0;N<l.length;N++)a[l][l.charAt(N)]=N}return a[l][b]}var y={compressToBase64:function(l){if(l==null)return"";var b=y._compress(l,6,function(N){return e.charAt(N)});switch(b.length%4){default:case 0:return b;case 1:return b+"===";case 2:return b+"==";case 3:return b+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:y._decompress(l.length,32,function(b){return d(e,l.charAt(b))})},compressToUTF16:function(l){return l==null?"":y._compress(l,15,function(b){return n(b+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:y._decompress(l.length,16384,function(b){return l.charCodeAt(b)-32})},compressToUint8Array:function(l){for(var b=y.compress(l),N=new Uint8Array(b.length*2),L=0,T=b.length;L<T;L++){var x=b.charCodeAt(L);N[L*2]=x>>>8,N[L*2+1]=x%256}return N},decompressFromUint8Array:function(l){if(l==null)return y.decompress(l);for(var b=new Array(l.length/2),N=0,L=b.length;N<L;N++)b[N]=l[N*2]*256+l[N*2+1];var T=[];return b.forEach(function(x){T.push(n(x))}),y.decompress(T.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":y._compress(l,6,function(b){return u.charAt(b)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),y._decompress(l.length,32,function(b){return d(u,l.charAt(b))}))},compress:function(l){return y._compress(l,16,function(b){return n(b)})},_compress:function(l,b,N){if(l==null)return"";var L,T,x={},M={},D="",Y="",z="",J=2,q=3,ot=2,pt=[],ft=0,Rt=0,At;for(At=0;At<l.length;At+=1)if(D=l.charAt(At),Object.prototype.hasOwnProperty.call(x,D)||(x[D]=q++,M[D]=!0),Y=z+D,Object.prototype.hasOwnProperty.call(x,Y))z=Y;else{if(Object.prototype.hasOwnProperty.call(M,z)){if(z.charCodeAt(0)<256){for(L=0;L<ot;L++)ft=ft<<1,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++;for(T=z.charCodeAt(0),L=0;L<8;L++)ft=ft<<1|T&1,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++,T=T>>1}else{for(T=1,L=0;L<ot;L++)ft=ft<<1|T,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++,T=0;for(T=z.charCodeAt(0),L=0;L<16;L++)ft=ft<<1|T&1,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++,T=T>>1}J--,J==0&&(J=Math.pow(2,ot),ot++),delete M[z]}else for(T=x[z],L=0;L<ot;L++)ft=ft<<1|T&1,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++,T=T>>1;J--,J==0&&(J=Math.pow(2,ot),ot++),x[Y]=q++,z=String(D)}if(z!==""){if(Object.prototype.hasOwnProperty.call(M,z)){if(z.charCodeAt(0)<256){for(L=0;L<ot;L++)ft=ft<<1,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++;for(T=z.charCodeAt(0),L=0;L<8;L++)ft=ft<<1|T&1,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++,T=T>>1}else{for(T=1,L=0;L<ot;L++)ft=ft<<1|T,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++,T=0;for(T=z.charCodeAt(0),L=0;L<16;L++)ft=ft<<1|T&1,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++,T=T>>1}J--,J==0&&(J=Math.pow(2,ot),ot++),delete M[z]}else for(T=x[z],L=0;L<ot;L++)ft=ft<<1|T&1,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++,T=T>>1;J--,J==0&&(J=Math.pow(2,ot),ot++)}for(T=2,L=0;L<ot;L++)ft=ft<<1|T&1,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++,T=T>>1;for(;;)if(ft=ft<<1,Rt==b-1){pt.push(N(ft));break}else Rt++;return pt.join("")},decompress:function(l){return l==null?"":l==""?null:y._decompress(l.length,32768,function(b){return l.charCodeAt(b)})},_decompress:function(l,b,N){var L=[],T=4,x=4,M=3,D="",Y=[],z,J,q,ot,pt,ft,Rt,At={val:N(0),position:b,index:1};for(z=0;z<3;z+=1)L[z]=z;for(q=0,pt=Math.pow(2,2),ft=1;ft!=pt;)ot=At.val&At.position,At.position>>=1,At.position==0&&(At.position=b,At.val=N(At.index++)),q|=(ot>0?1:0)*ft,ft<<=1;switch(q){case 0:for(q=0,pt=Math.pow(2,8),ft=1;ft!=pt;)ot=At.val&At.position,At.position>>=1,At.position==0&&(At.position=b,At.val=N(At.index++)),q|=(ot>0?1:0)*ft,ft<<=1;Rt=n(q);break;case 1:for(q=0,pt=Math.pow(2,16),ft=1;ft!=pt;)ot=At.val&At.position,At.position>>=1,At.position==0&&(At.position=b,At.val=N(At.index++)),q|=(ot>0?1:0)*ft,ft<<=1;Rt=n(q);break;case 2:return""}for(L[3]=Rt,J=Rt,Y.push(Rt);;){if(At.index>l)return"";for(q=0,pt=Math.pow(2,M),ft=1;ft!=pt;)ot=At.val&At.position,At.position>>=1,At.position==0&&(At.position=b,At.val=N(At.index++)),q|=(ot>0?1:0)*ft,ft<<=1;switch(Rt=q){case 0:for(q=0,pt=Math.pow(2,8),ft=1;ft!=pt;)ot=At.val&At.position,At.position>>=1,At.position==0&&(At.position=b,At.val=N(At.index++)),q|=(ot>0?1:0)*ft,ft<<=1;L[x++]=n(q),Rt=x-1,T--;break;case 1:for(q=0,pt=Math.pow(2,16),ft=1;ft!=pt;)ot=At.val&At.position,At.position>>=1,At.position==0&&(At.position=b,At.val=N(At.index++)),q|=(ot>0?1:0)*ft,ft<<=1;L[x++]=n(q),Rt=x-1,T--;break;case 2:return Y.join("")}if(T==0&&(T=Math.pow(2,M),M++),L[Rt])D=L[Rt];else if(Rt===x)D=J+J.charAt(0);else return null;Y.push(D),L[x++]=J+D.charAt(0),T--,J=D,T==0&&(T=Math.pow(2,M),M++)}}};return y})();t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})})(ca)),ca.exports}var tg=Q3();const xn=ds(tg);var fa=(t=>(t.USD="USD",t.AED="AED",t.AFN="AFN",t.ALL="ALL",t.AMD="AMD",t.ANG="ANG",t.AOA="AOA",t.ARS="ARS",t.AUD="AUD",t.AWG="AWG",t.AZN="AZN",t.BAM="BAM",t.BBD="BBD",t.BDT="BDT",t.BGN="BGN",t.BHD="BHD",t.BIF="BIF",t.BMD="BMD",t.BND="BND",t.BOB="BOB",t.BRL="BRL",t.BSD="BSD",t.BTN="BTN",t.BWP="BWP",t.BYN="BYN",t.BZD="BZD",t.CAD="CAD",t.CHF="CHF",t.CLF="CLF",t.CLP="CLP",t.CNY="CNY",t.COP="COP",t.CRC="CRC",t.CUP="CUP",t.CVE="CVE",t.CZK="CZK",t.DJF="DJF",t.DKK="DKK",t.DOP="DOP",t.DZD="DZD",t.EGP="EGP",t.ETB="ETB",t.EUR="EUR",t.FJD="FJD",t.GBP="GBP",t.GEL="GEL",t.GHS="GHS",t.GMD="GMD",t.GNF="GNF",t.GTQ="GTQ",t.GYD="GYD",t.HKD="HKD",t.HNL="HNL",t.HTG="HTG",t.HUF="HUF",t.IDR="IDR",t.ILS="ILS",t.INR="INR",t.IQD="IQD",t.IRR="IRR",t.ISK="ISK",t.JMD="JMD",t.JOD="JOD",t.JPY="JPY",t.KES="KES",t.KGS="KGS",t.KHR="KHR",t.KMF="KMF",t.KRW="KRW",t.KWD="KWD",t.KYD="KYD",t.KZT="KZT",t.LAK="LAK",t.LBP="LBP",t.LKR="LKR",t.LRD="LRD",t.LSL="LSL",t.LYD="LYD",t.MAD="MAD",t.MDL="MDL",t.MGA="MGA",t.MKD="MKD",t.MMK="MMK",t.MNT="MNT",t.MOP="MOP",t.MRU="MRU",t.MUR="MUR",t.MWK="MWK",t.MVR="MVR",t.MXN="MXN",t.MYR="MYR",t.MZN="MZN",t.NAD="NAD",t.NGN="NGN",t.NIO="NIO",t.NOK="NOK",t.NPR="NPR",t.NZD="NZD",t.OMR="OMR",t.PAB="PAB",t.PEN="PEN",t.PGK="PGK",t.PHP="PHP",t.PKR="PKR",t.PLN="PLN",t.PYG="PYG",t.QAR="QAR",t.RON="RON",t.RSD="RSD",t.RWF="RWF",t.SAR="SAR",t.SCR="SCR",t.SDG="SDG",t.SEK="SEK",t.SGD="SGD",t.SLE="SLE",t.SLL="SLL",t.SOS="SOS",t.SRD="SRD",t.STN="STN",t.SVC="SVC",t.SYP="SYP",t.SZL="SZL",t.THB="THB",t.TJS="TJS",t.TMT="TMT",t.TND="TND",t.TOP="TOP",t.TRY="TRY",t.TTD="TTD",t.TWD="TWD",t.TZS="TZS",t.UAH="UAH",t.UGX="UGX",t.UYU="UYU",t.UZS="UZS",t.VND="VND",t.VUV="VUV",t.WST="WST",t.XAF="XAF",t.XCD="XCD",t.XOF="XOF",t.XPF="XPF",t.YER="YER",t.ZAR="ZAR",t.ZMW="ZMW",t.ZWL="ZWL",t.CDF="CDF",t.ERN="ERN",t.FKP="FKP",t.KPW="KPW",t.RUB="RUB",t.SBD="SBD",t.SHP="SHP",t.SSP="SSP",t.VES="VES",t))(fa||{});const eg={AED:"784",AFN:"971",ALL:"008",AMD:"051",ANG:"532",AOA:"973",AUD:"036",AWG:"533",AZN:"944",BAM:"977",BBD:"052",BDT:"050",BGN:"975",BHD:"048",BIF:"108",BND:"096",BOB:"068",BRL:"986",BTN:"064",BWP:"072",BZD:"084",CAD:"124",CHF:"756",CLP:"152",CNY:"156",COP:"170",CRC:"188",CVE:"132",CZK:"203",DJF:"262",DKK:"208",DOP:"214",DZD:"012",EGP:"818",ETB:"230",EUR:"978",GBP:"826",GEL:"981",GHS:"936",GMD:"270",GNF:"324",GTQ:"320",GYD:"328",HKD:"344",HNL:"340",HTG:"332",HUF:"348",IDR:"360",INR:"356",IQD:"368",IRR:"364",ISK:"352",JMD:"388",JOD:"400",JPY:"392",KES:"404",KGS:"417",KHR:"116",KMF:"174",KRW:"410",KWD:"414",KYD:"136",KZT:"398",LKR:"144",LRD:"430",LSL:"426",LYD:"434",MAD:"504",MDL:"498",MGA:"969",MKD:"807",MMK:"104",MNT:"496",MOP:"446",MRU:"929",MUR:"480",MVR:"462",MXN:"484",MYR:"458",NAD:"516",NGN:"566",NIO:"558",NOK:"578",NPR:"524",NZD:"554",OMR:"512",PAB:"590",PEN:"604",PHP:"608",PKR:"586",PLN:"985",PYG:"600",QAR:"634",RON:"946",RSD:"941",RWF:"646",SAR:"682",SCR:"690",SDG:"938",SEK:"752",SGD:"702",SLE:"925",SLL:"694",SOS:"706",STN:"930",SVC:"222",SYP:"760",SZL:"748",THB:"764",TJS:"972",TMT:"934",TND:"788",TRY:"949",TTD:"780",TWD:"901",TZS:"834",UAH:"980",UGX:"800",USD:"840",UYU:"858",UZS:"860",VND:"704",XAF:"950",XCD:"951",XOF:"952",XPF:"953",YER:"886",ZAR:"710",ZMW:"967",ARS:"032",BMD:"060",BSD:"044",BYN:"933",CUP:"192",FJD:"242",ILS:"376",LAK:"418",LBP:"422",MWK:"454",MZN:"943",PGK:"598",SRD:"968",TOP:"776",VUV:"548",WST:"882",ZWL:"932",CLF:"990",CDF:"976",ERN:"232",FKP:"238",KPW:"408",RUB:"643",SBD:"090",SHP:"654",SSP:"728",VES:"928"},Kc={USD:"USD",EUR:"EUR",GBP:"GBP",BRL:"BRL",CAD:"CAD"};function ng(t){return t in Kc}const Xc={USD:"USD",EUR:"EUR",GBP:"GBP",CAD:"CAD",BRL:"BRL"};function rg(t){return t in Xc}const ig=new Set(["CLF"]),og=new Set(["BHD","IQD","JOD","KWD","LYD","OMR","TND"]),sg=new Set(["BIF","CLP","DJF","GNF","ISK","JPY","KMF","PYG","RWF","UGX","VND","VUV","XAF","XOF","XPF"]);function ag(t){return ig.has(t)?4:og.has(t)?3:sg.has(t)?0:2}function ug(t,r){return t.currency===r}function cg(t){return{base:t.to,rate:1/t.rate,to:t.base}}var fg={269:function(t,r,n){n.r(r),n.d(r,{ERROR_API_KEY_EXPIRED:function(){return ls},ERROR_API_KEY_INVALID:function(){return fs},ERROR_API_KEY_MISSING:function(){return cs},ERROR_BAD_REQUEST_FORMAT:function(){return Dl},ERROR_BAD_RESPONSE_FORMAT:function(){return La},ERROR_CLIENT_TIMEOUT:function(){return Na},ERROR_CSP_BLOCK:function(){return Ca},ERROR_FORBIDDEN_ENDPOINT:function(){return Qf},ERROR_FORBIDDEN_HEADER:function(){return Gl},ERROR_FORBIDDEN_ORIGIN:function(){return Hl},ERROR_GENERAL_SERVER_FAILURE:function(){return Pl},ERROR_INSTALLATION_METHOD_RESTRICTED:function(){return Jf},ERROR_INTEGRATION_FAILURE:function(){return t0},ERROR_INVALID_ENDPOINT:function(){return Ba},ERROR_INVALID_PROXY_INTEGRATION_HEADERS:function(){return i0},ERROR_INVALID_PROXY_INTEGRATION_SECRET:function(){return r0},ERROR_NETWORK_ABORT:function(){return xa},ERROR_NETWORK_CONNECTION:function(){return Ta},ERROR_NETWORK_RESTRICTED:function(){return n0},ERROR_RATE_LIMIT:function(){return Vl},ERROR_SERVER_TIMEOUT:function(){return Fl},ERROR_SUBSCRIPTION_NOT_ACTIVE:function(){return qf},ERROR_TOKEN_EXPIRED:function(){return p8},ERROR_TOKEN_INVALID:function(){return h8},ERROR_TOKEN_MISSING:function(){return d8},ERROR_UNSUPPORTED_VERSION:function(){return $f},ERROR_WRONG_REGION:function(){return Xf},default:function(){return v8},defaultEndpoint:function(){return ts},defaultTlsEndpoint:function(){return es},load:function(){return B0},makeBotdModule:function(){return e8},makeConsoleDebugModule:function(){return f8},makeIdentificationModule:function(){return a8},makeLatencyReportModule:function(){return c8},makeRemoteDebugModule:function(){return l8},makeValidationModule:function(){return u8}});var e=n(635);function u(i,s){return new Promise((function(o){return setTimeout(o,i,s)}))}function a(i){return!!i&&typeof i.then=="function"}function d(i,s){try{var o=i();a(o)?o.then((function(c){return s(!0,c)}),(function(c){return s(!1,c)})):s(!0,o)}catch(c){s(!1,c)}}function y(i,s,o){return o===void 0&&(o=16),(0,e.sH)(this,void 0,void 0,(function(){var c,p,m,w;return(0,e.YH)(this,(function(E){switch(E.label){case 0:c=Array(i.length),p=Date.now(),m=0,E.label=1;case 1:return m<i.length?(c[m]=s(i[m],m),(w=Date.now())>=p+o?(p=w,[4,new Promise((function(v){var I=new MessageChannel;I.port1.onmessage=function(){return v()},I.port2.postMessage(null)}))]):[3,3]):[3,4];case 2:E.sent(),E.label=3;case 3:return++m,[3,1];case 4:return[2,c]}}))}))}function l(i){return i.then(void 0,(function(){})),i}function b(i){return parseInt(i)}function N(i){return parseFloat(i)}function L(i,s){return typeof i=="number"&&isNaN(i)?s:i}function T(i){return i.reduce((function(s,o){return s+(o?1:0)}),0)}function x(i,s){var o=i[0]>>>16,c=65535&i[0],p=i[1]>>>16,m=65535&i[1],w=s[0]>>>16,E=65535&s[0],v=s[1]>>>16,I=0,B=0,C=0,X=0;C+=(X+=m+(65535&s[1]))>>>16,X&=65535,B+=(C+=p+v)>>>16,C&=65535,I+=(B+=c+E)>>>16,B&=65535,I+=o+w,I&=65535,i[0]=I<<16|B,i[1]=C<<16|X}function M(i,s){var o=i[0]>>>16,c=65535&i[0],p=i[1]>>>16,m=65535&i[1],w=s[0]>>>16,E=65535&s[0],v=s[1]>>>16,I=65535&s[1],B=0,C=0,X=0,Q=0;X+=(Q+=m*I)>>>16,Q&=65535,C+=(X+=p*I)>>>16,X&=65535,C+=(X+=m*v)>>>16,X&=65535,B+=(C+=c*I)>>>16,C&=65535,B+=(C+=p*v)>>>16,C&=65535,B+=(C+=m*E)>>>16,C&=65535,B+=o*I+c*v+p*E+m*w,B&=65535,i[0]=B<<16|C,i[1]=X<<16|Q}function D(i,s){var o=i[0];(s%=64)==32?(i[0]=i[1],i[1]=o):s<32?(i[0]=o<<s|i[1]>>>32-s,i[1]=i[1]<<s|o>>>32-s):(s-=32,i[0]=i[1]<<s|o>>>32-s,i[1]=o<<s|i[1]>>>32-s)}function Y(i,s){(s%=64)!=0&&(s<32?(i[0]=i[1]>>>32-s,i[1]=i[1]<<s):(i[0]=i[1]<<s-32,i[1]=0))}function z(i,s){i[0]^=s[0],i[1]^=s[1]}var J=[4283543511,3981806797],q=[3301882366,444984403];function ot(i){var s=[0,i[0]>>>1];z(i,s),M(i,J),s[1]=i[0]>>>1,z(i,s),M(i,q),s[1]=i[0]>>>1,z(i,s)}var pt=[2277735313,289559509],ft=[1291169091,658871167],Rt=[0,5],At=[0,1390208809],st=[0,944331445];function dt(i){return typeof i!="function"}function mt(i,s,o,c){var p=Object.keys(i).filter((function(w){return!(function(E,v){for(var I=0,B=E.length;I<B;++I)if(E[I]===v)return!0;return!1})(o,w)})),m=l(y(p,(function(w){return(function(E,v){var I=l(new Promise((function(B){var C=Date.now();d(E.bind(null,v),(function(){for(var X=[],Q=0;Q<arguments.length;Q++)X[Q]=arguments[Q];var tt=Date.now()-C;if(!X[0])return B((function(){return{error:X[1],duration:tt}}));var nt=X[1];if(dt(nt))return B((function(){return{value:nt,duration:tt}}));B((function(){return new Promise((function(at){var gt=Date.now();d(nt,(function(){for(var _t=[],vt=0;vt<arguments.length;vt++)_t[vt]=arguments[vt];var bt=tt+Date.now()-gt;if(!_t[0])return at({error:_t[1],duration:bt});at({value:_t[1],duration:bt})}))}))}))}))})));return function(){return I.then((function(B){return B()}))}})(i[w],s)}),c));return function(){return(0,e.sH)(this,void 0,void 0,(function(){var w,E,v,I;return(0,e.YH)(this,(function(B){switch(B.label){case 0:return[4,m];case 1:return[4,y(B.sent(),(function(C){return l(C())}),c)];case 2:return w=B.sent(),[4,Promise.all(w)];case 3:for(E=B.sent(),v={},I=0;I<p.length;++I)v[p[I]]=E[I];return[2,v]}}))}))}}function wt(i,s){var o=function(c){return dt(c)?s(c):function(){var p=c();return a(p)?p.then(s):s(p)}};return function(c){var p=i(c);return a(p)?p.then(o):o(p)}}function P(){var i=window,s=navigator;return T(["MSCSSMatrix"in i,"msSetImmediate"in i,"msIndexedDB"in i,"msMaxTouchPoints"in s,"msPointerEnabled"in s])>=4}function f(){var i=window,s=navigator;return T(["msWriteProfilerMark"in i,"MSStream"in i,"msLaunchUri"in s,"msSaveBlob"in s])>=3&&!P()}function S(){var i=window,s=navigator;return T(["webkitPersistentStorage"in s,"webkitTemporaryStorage"in s,(s.vendor||"").indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in i,"BatteryManager"in i,"webkitMediaStream"in i,"webkitSpeechGrammar"in i])>=5}function U(){var i=window;return T(["ApplePayError"in i,"CSSPrimitiveValue"in i,"Counter"in i,navigator.vendor.indexOf("Apple")===0,"RGBColor"in i,"WebKitMediaKeys"in i])>=4}function W(){var i=window,s=i.HTMLElement,o=i.Document;return T(["safari"in i,!("ongestureend"in i),!("TouchEvent"in i),!("orientation"in i),s&&!("autocapitalize"in s.prototype),o&&"pointerLockElement"in o.prototype])>=4}function $(){var i,s,o=window;return T(["buildID"in navigator,"MozAppearance"in((s=(i=document.documentElement)===null||i===void 0?void 0:i.style)!==null&&s!==void 0?s:{}),"onmozfullscreenchange"in o,"mozInnerScreenX"in o,"CSSMozDocumentRule"in o,"CanvasCaptureMediaStream"in o])>=4}function et(){var i=document;return i.fullscreenElement||i.msFullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||null}function ut(){var i=S(),s=$(),o=window,c=navigator,p="connection";return i?T([!("SharedWorker"in o),c[p]&&"ontypechange"in c[p],!("sinkId"in new Audio)])>=2:!!s&&T(["onorientationchange"in o,"orientation"in o,/android/i.test(c.appVersion)])>=2}function Z(){var i=navigator,s=window,o=Audio.prototype,c=s.visualViewport;return T(["srLatency"in o,"srChannelCount"in o,"devicePosture"in i,c&&"segments"in c,"getTextInformation"in Image.prototype])>=3}function h(){var i=window,s=i.OfflineAudioContext||i.webkitOfflineAudioContext;if(!s)return-2;if(U()&&!W()&&!(function(){var I=window;return T(["DOMRectList"in I,"RTCPeerConnectionIceEvent"in I,"SVGGeometryElement"in I,"ontransitioncancel"in I])>=3})())return-1;var o=new s(1,5e3,44100),c=o.createOscillator();c.type="triangle",c.frequency.value=1e4;var p=o.createDynamicsCompressor();p.threshold.value=-50,p.knee.value=40,p.ratio.value=12,p.attack.value=0,p.release.value=.25,c.connect(p),p.connect(o.destination),c.start(0);var m=(function(I){var B=function(){};return[new Promise((function(C,X){var Q=!1,tt=0,nt=0;I.oncomplete=function(_t){return C(_t.renderedBuffer)};var at=function(){setTimeout((function(){return X(_("timeout"))}),Math.min(500,nt+5e3-Date.now()))},gt=function(){try{var _t=I.startRendering();switch(a(_t)&&l(_t),I.state){case"running":nt=Date.now(),Q&&at();break;case"suspended":document.hidden||tt++,Q&&tt>=3?X(_("suspended")):setTimeout(gt,500)}}catch(vt){X(vt)}};gt(),B=function(){Q||(Q=!0,nt>0&&at())}})),B]})(o),w=m[0],E=m[1],v=l(w.then((function(I){return(function(B){for(var C=0,X=0;X<B.length;++X)C+=Math.abs(B[X]);return C})(I.getChannelData(0).subarray(4500))}),(function(I){if(I.name==="timeout"||I.name==="suspended")return-3;throw I})));return function(){return E(),v}}function _(i){var s=new Error(i);return s.name=i,s}function j(i,s,o){var c,p,m;return o===void 0&&(o=50),(0,e.sH)(this,void 0,void 0,(function(){var w,E;return(0,e.YH)(this,(function(v){switch(v.label){case 0:w=document,v.label=1;case 1:return w.body?[3,3]:[4,u(o)];case 2:return v.sent(),[3,1];case 3:E=w.createElement("iframe"),v.label=4;case 4:return v.trys.push([4,,10,11]),[4,new Promise((function(I,B){var C=!1,X=function(){C=!0,I()};E.onload=X,E.onerror=function(nt){C=!0,B(nt)};var Q=E.style;Q.setProperty("display","block","important"),Q.position="absolute",Q.top="0",Q.left="0",Q.visibility="hidden",s&&"srcdoc"in E?E.srcdoc=s:E.src="about:blank",w.body.appendChild(E);var tt=function(){var nt,at;C||(((at=(nt=E.contentWindow)===null||nt===void 0?void 0:nt.document)===null||at===void 0?void 0:at.readyState)==="complete"?X():setTimeout(tt,10))};tt()}))];case 5:v.sent(),v.label=6;case 6:return!((p=(c=E.contentWindow)===null||c===void 0?void 0:c.document)===null||p===void 0)&&p.body?[3,8]:[4,u(o)];case 7:return v.sent(),[3,6];case 8:return[4,i(E,E.contentWindow)];case 9:return[2,v.sent()];case 10:return(m=E.parentNode)===null||m===void 0||m.removeChild(E),[7];case 11:return[2]}}))}))}function K(i){for(var s=(function(I){for(var B,C,X="Unexpected syntax '".concat(I,"'"),Q=/^\s*([a-z-]*)(.*)$/i.exec(I),tt=Q[1]||void 0,nt={},at=/([.:#][\w-]+|\[.+?\])/gi,gt=function(Vt,Ht){nt[Vt]=nt[Vt]||[],nt[Vt].push(Ht)};;){var _t=at.exec(Q[2]);if(!_t)break;var vt=_t[0];switch(vt[0]){case".":gt("class",vt.slice(1));break;case"#":gt("id",vt.slice(1));break;case"[":var bt=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(vt);if(!bt)throw new Error(X);gt(bt[1],(C=(B=bt[4])!==null&&B!==void 0?B:bt[5])!==null&&C!==void 0?C:"");break;default:throw new Error(X)}}return[tt,nt]})(i),o=s[0],c=s[1],p=document.createElement(o??"div"),m=0,w=Object.keys(c);m<w.length;m++){var E=w[m],v=c[E].join(" ");E==="style"?ht(p.style,v):p.setAttribute(E,v)}return p}function ht(i,s){for(var o=0,c=s.split(";");o<c.length;o++){var p=c[o],m=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(p);if(m){var w=m[1],E=m[2],v=m[4];i.setProperty(w,E,v||"")}}}var St=["monospace","sans-serif","serif"],Ft=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function Zt(i){var s,o,c,p=!1,m=(function(){var v=document.createElement("canvas");return v.width=1,v.height=1,[v,v.getContext("2d")]})(),w=m[0],E=m[1];return(function(v,I){return!(!I||!v.toDataURL)})(w,E)?(p=(function(v){return v.rect(0,0,10,10),v.rect(2,2,6,6),!v.isPointInPath(5,5,"evenodd")})(E),s=(function(v,I){(function(C,X){C.width=240,C.height=60,X.textBaseline="alphabetic",X.fillStyle="#f60",X.fillRect(100,1,62,20),X.fillStyle="#069",X.font='11pt "Times New Roman"';var Q="Cwm fjordbank gly ".concat("😃");X.fillText(Q,2,15),X.fillStyle="rgba(102, 204, 0, 0.2)",X.font="18pt Arial",X.fillText(Q,4,45)})(v,I);var B=de(v);return B!==de(v)?["unstable","unstable"]:((function(C,X){C.width=122,C.height=110,X.globalCompositeOperation="multiply";for(var Q=0,tt=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];Q<tt.length;Q++){var nt=tt[Q],at=nt[0],gt=nt[1],_t=nt[2];X.fillStyle=at,X.beginPath(),X.arc(gt,_t,40,0,2*Math.PI,!0),X.closePath(),X.fill()}X.fillStyle="#f9c",X.arc(60,60,60,0,2*Math.PI,!0),X.arc(60,60,20,0,2*Math.PI,!0),X.fill("evenodd")})(v,I),[de(v),B])})(w,E),o=s[0],c=s[1]):o=c="unsupported",{winding:p,geometry:o,text:c}}function de(i){return i.toDataURL()}function ye(){var i=screen,s=function(c){return L(b(c),null)},o=[s(i.width),s(i.height)];return o.sort().reverse(),o}var ge,Oe;function be(){var i=this;return(function(){if(Oe===void 0){var s=function(){var o=Yt();Ve(o)?Oe=setTimeout(s,2500):(ge=o,Oe=void 0)};s()}})(),function(){return(0,e.sH)(i,void 0,void 0,(function(){var s;return(0,e.YH)(this,(function(o){switch(o.label){case 0:return Ve(s=Yt())?ge?[2,(0,e.fX)([],ge,!0)]:et()?[4,(c=document,(c.exitFullscreen||c.msExitFullscreen||c.mozCancelFullScreen||c.webkitExitFullscreen).call(c))]:[3,2]:[3,2];case 1:o.sent(),s=Yt(),o.label=2;case 2:return Ve(s)||(ge=s),[2,s]}var c}))}))}}function Yt(){var i=screen;return[L(N(i.availTop),null),L(N(i.width)-N(i.availWidth)-L(N(i.availLeft),0),null),L(N(i.height)-N(i.availHeight)-L(N(i.availTop),0),null),L(N(i.availLeft),null)]}function Ve(i){for(var s=0;s<4;++s)if(i[s])return!1;return!0}function Te(i){var s;return(0,e.sH)(this,void 0,void 0,(function(){var o,c,p,m,w,E,v;return(0,e.YH)(this,(function(I){switch(I.label){case 0:for(o=document,c=o.createElement("div"),p=new Array(i.length),m={},g(c),v=0;v<i.length;++v)(w=K(i[v])).tagName==="DIALOG"&&w.show(),g(E=o.createElement("div")),E.appendChild(w),c.appendChild(E),p[v]=w;I.label=1;case 1:return o.body?[3,3]:[4,u(50)];case 2:return I.sent(),[3,1];case 3:o.body.appendChild(c);try{for(v=0;v<i.length;++v)p[v].offsetParent||(m[i[v]]=!0)}finally{(s=c.parentNode)===null||s===void 0||s.removeChild(c)}return[2,m]}}))}))}function g(i){i.style.setProperty("visibility","hidden","important"),i.style.setProperty("display","block","important")}function k(i){return matchMedia("(inverted-colors: ".concat(i,")")).matches}function V(i){return matchMedia("(forced-colors: ".concat(i,")")).matches}function ct(i){return matchMedia("(prefers-contrast: ".concat(i,")")).matches}function yt(i){return matchMedia("(prefers-reduced-motion: ".concat(i,")")).matches}function Et(i){return matchMedia("(prefers-reduced-transparency: ".concat(i,")")).matches}function Lt(i){return matchMedia("(dynamic-range: ".concat(i,")")).matches}var zt=Math,te=function(){return 0},F={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]},R=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),O=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),A=["FRAGMENT_SHADER","VERTEX_SHADER"],H=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],G="WEBGL_debug_renderer_info";function it(i){if(i.webgl)return i.webgl.context;var s,o=document.createElement("canvas");o.addEventListener("webglCreateContextError",(function(){return s=void 0}));for(var c=0,p=["webgl","experimental-webgl"];c<p.length;c++){var m=p[c];try{s=o.getContext(m)}catch{}if(s)break}return i.webgl={context:s},s}function Ct(i,s,o){var c=i.getShaderPrecisionFormat(i[s],i[o]);return c?[c.rangeMin,c.rangeMax,c.precision]:[]}function Bt(i){return Object.keys(i.__proto__).filter(Ut)}function Ut(i){return typeof i=="string"&&!i.match(/[^A-Z0-9_x]/)}function kt(){return $()}function rt(i){return typeof i.getParameter=="function"}var Wt=function(){var i=this;return j((function(s,o){var c=o.document;return(0,e.sH)(i,void 0,void 0,(function(){var p,m,w,E,v,I,B,C,X,Q,tt;return(0,e.YH)(this,(function(nt){for((p=c.body).style.fontSize="48px",(m=c.createElement("div")).style.setProperty("visibility","hidden","important"),w={},E={},v=function(at){var gt=c.createElement("span"),_t=gt.style;return _t.position="absolute",_t.top="0",_t.left="0",_t.fontFamily=at,gt.textContent="mmMwWLliI0O&1",m.appendChild(gt),gt},I=function(at,gt){return v("'".concat(at,"',").concat(gt))},B=function(){for(var at={},gt=function(bt){at[bt]=St.map((function(Vt){return I(bt,Vt)}))},_t=0,vt=Ft;_t<vt.length;_t++)gt(vt[_t]);return at},C=function(at){return St.some((function(gt,_t){return at[_t].offsetWidth!==w[gt]||at[_t].offsetHeight!==E[gt]}))},X=St.map(v),Q=B(),p.appendChild(m),tt=0;tt<St.length;tt++)w[St[tt]]=X[tt].offsetWidth,E[St[tt]]=X[tt].offsetHeight;return[2,Ft.filter((function(at){return C(Q[at])}))]}))}))}))},pe=function(i){var s=(i===void 0?{}:i).debug;return(0,e.sH)(this,void 0,void 0,(function(){var o,c,p,m,w;return(0,e.YH)(this,(function(E){switch(E.label){case 0:return U()||ut()?(v=atob,o={abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',v("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",v("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",v("LnNwb25zb3JpdA=="),".ylamainos",v("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),v("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",v("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",v("LmhlYWRlci1ibG9ja2VkLWFk"),v("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",v("I2FkXzMwMFgyNTA="),v("I2Jhbm5lcmZsb2F0MjI="),v("I2NhbXBhaWduLWJhbm5lcg=="),v("I0FkLUNvbnRlbnQ=")],adGuardChinese:[v("LlppX2FkX2FfSA=="),v("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",v("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),v("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",v("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",v("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",v("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),v("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),v("LmFkZ29vZ2xl"),v("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[v("YW1wLWF1dG8tYWRz"),v("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",v("I2FkX2ludmlld19hcmVh")],adGuardRussian:[v("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),v("LnJlY2xhbWE="),'div[id^="smi2adblock"]',v("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[v("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),v("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",v("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),v("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),v("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",v("I3Jla2xhbWk="),v("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),v("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),v("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[v("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",v("LndpZGdldF9wb19hZHNfd2lkZ2V0"),v("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",v("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[v("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),v("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",v("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",v("I3Jla2xhbW5pLWJveA=="),v("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",v("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[v("I2FkdmVydGVudGll"),v("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",v("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",v("LnNwb25zb3JsaW5rZ3J1ZW4="),v("I3dlcmJ1bmdza3k="),v("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),v("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[v("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",v("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),v("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),v("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[v("LnJla2xhbW9zX3RhcnBhcw=="),v("LnJla2xhbW9zX251b3JvZG9z"),v("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),v("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),v("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[v("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[v("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),v("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",v("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[v("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),v("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),v("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",v("LmFkX19tYWlu"),v("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[v("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[v("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),v("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[v("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),v("I2xpdmVyZUFkV3JhcHBlcg=="),v("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),v("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[v("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",v("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),v("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),v("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[v("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),v("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),v("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",v("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),v("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),v("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),v("ZGl2I3NrYXBpZWNfYWQ=")],ro:[v("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),v("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),v("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),v("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[v("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),v("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),v("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",v("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),v("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",v("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]},c=Object.keys(o),[4,Te((w=[]).concat.apply(w,c.map((function(I){return o[I]}))))]):[2,void 0];case 1:return p=E.sent(),s&&(function(I,B){for(var C="DOM blockers debug:\n```",X=0,Q=Object.keys(I);X<Q.length;X++){var tt=Q[X];C+=`
5
+ For a list of runtimes that currently support Ed25519 operations, visit https://github.com/WICG/webcrypto-secure-curves/issues/20.`,[nh]:"No signature verification implementation could be found.",[rh]:"No key generation implementation could be found.",[ih]:"No signing implementation could be found.",[oh]:"No key export implementation could be found.",[h1]:"Timestamp value must be in the range [-(2n ** 63n), (2n ** 63n) - 1]. `$value` given",[dp]:"Transaction processing left an account with an outstanding borrowed reference",[$2]:"Account in use",[J2]:"Account loaded twice",[Q2]:"Attempt to debit an account but found no record of a prior credit.",[wp]:"Transaction loads an address table account that doesn't exist",[rp]:"This transaction has already been processed",[ip]:"Blockhash not found",[op]:"Loader call chain is too deep",[lp]:"Transactions are currently disabled due to cluster maintenance",[Ip]:"Transaction contains a duplicate instruction ($index) that is not allowed",[ep]:"Insufficient funds for fee",[Op]:"Transaction results in an account ($accountIndex) with insufficient funds for rent",[np]:"This account may not be used to pay transaction fees",[ap]:"Transaction contains an invalid account reference",[bp]:"Transaction loads an address table account with invalid data",[_p]:"Transaction address table lookup uses an invalid index",[Ep]:"Transaction loads an address table account with an invalid owner",[Tp]:"LoadedAccountsDataSizeLimit set for transaction must be greater than 0.",[cp]:"This program may not be used for executing instructions",[Rp]:"Transaction leaves an account with a lower balance than rent-exempt minimum",[vp]:"Transaction loads a writable account that cannot be written",[Np]:"Transaction exceeded max loaded accounts data size cap",[sp]:"Transaction requires a fee but has no signature present",[tp]:"Attempt to load a program that does not exist",[Lp]:"Execution of the program referenced by account at index $accountIndex is temporarily restricted.",[xp]:"ResanitizationNeeded",[fp]:"Transaction failed to sanitize accounts offsets correctly",[up]:"Transaction did not pass signature verification",[yp]:"Transaction locked too many accounts",[Cp]:"Sum of account balances before and after transaction do not match",[q2]:"The transaction failed with the error `$errorName`",[pp]:"Transaction version is unsupported",[mp]:"Transaction would exceed account data limit within the block",[Sp]:"Transaction would exceed total account data limit",[gp]:"Transaction would exceed max account limit within the block",[hp]:"Transaction would exceed max Block Cost Limit",[Ap]:"Transaction would exceed max Vote Cost Limit",[Y2]:"Attempted to sign a transaction with an address that is not a signer for it",[F2]:"Transaction is missing an address at index: $index.",[z2]:"Transaction has no expected signers therefore it cannot be encoded",[X2]:"Transaction size $transactionSize exceeds limit of $transactionSizeLimit bytes",[L2]:"Transaction does not have a blockhash lifetime",[C2]:"Transaction is not a durable nonce transaction",[M2]:"Contents of these address lookup tables unknown: $lookupTableAddresses",[k2]:"Lookup of address at index $highestRequestedIndex failed for lookup table `$lookupTableAddress`. Highest known index is $highestKnownIndex. The lookup table may have been extended since its contents were retrieved",[D2]:"No fee payer set in CompiledTransaction",[U2]:"Could not find program address at index $index",[Z2]:"Failed to estimate the compute unit consumption for this transaction message. This is likely because simulating the transaction failed. Inspect the `cause` property of this error to learn more",[K2]:"Transaction failed when it was simulated in order to estimate the compute unit consumption. The compute unit estimate provided is for a transaction that failed when simulated and may not be representative of the compute units this transaction would consume if successful. Inspect the `cause` property of this error to learn more",[V2]:"Transaction is missing a fee payer.",[H2]:"Could not determine this transaction's signature. Make sure that the transaction has been signed by its fee payer.",[j2]:"Transaction first instruction is not advance nonce account instruction.",[G2]:"Transaction with no instructions cannot be durable nonce transaction.",[T2]:"This transaction includes an address (`$programAddress`) which is both invoked and set as the fee payer. Program addresses may not pay fees",[x2]:"This transaction includes an address (`$programAddress`) which is both invoked and marked writable. Program addresses may not be writable",[W2]:"The transaction message expected the transaction to have $signerAddressesLength signatures, got $signaturesLength.",[P2]:"Transaction is missing signatures for addresses: $addresses.",[B2]:"Transaction version must be in the range [0, 127]. `$actualVersion` given"},sr="i",qn="t";function hv(t,n={}){const r=dv[t];if(r.length===0)return"";let e;function u(d){if(e[qn]===2){const E=r.slice(e[sr]+1,d);a.push(E in n?`${n[E]}`:`$${E}`)}else e[qn]===1&&a.push(r.slice(e[sr],d))}const a=[];return r.split("").forEach((d,E)=>{if(E===0){e={[sr]:0,[qn]:r[0]==="\\"?0:r[0]==="$"?2:1};return}let l;switch(e[qn]){case 0:l={[sr]:E,[qn]:1};break;case 1:d==="\\"?l={[sr]:E,[qn]:0}:d==="$"&&(l={[sr]:E,[qn]:2});break;case 2:d==="\\"?l={[sr]:E,[qn]:0}:d==="$"?l={[sr]:E,[qn]:2}:d.match(/\w/)||(l={[sr]:E,[qn]:1});break}l&&(e!==l&&u(E),e=l)}),u(),a.join("")}function pv(t,n={}){if(process.env.NODE_ENV!=="production")return hv(t,n);{let r=`Solana error #${t}; Decode this error by running \`npx @solana/errors decode -- ${t}`;return Object.keys(n).length&&(r+=` '${lv(n)}'`),`${r}\``}}var ri=class extends Error{cause=this.cause;context;constructor(...[t,n]){let r,e;if(n){const{cause:a,...d}=n;a&&(e={cause:a}),Object.keys(d).length>0&&(r=d)}const u=pv(t,r);super(u,e),this.context={__code:t,...r},this.name="SolanaError"}};function vv(t,n){return"fixedSize"in n?n.fixedSize:n.getSizeFromValue(t)}function gv(t){return Object.freeze({...t,encode:n=>{const r=new Uint8Array(vv(n,t));return t.write(n,r,0),r}})}function mv(t){return Object.freeze({...t,decode:(n,r=0)=>t.read(n,r)[0]})}function ii(t){return"fixedSize"in t&&typeof t.fixedSize=="number"}function yv(t,n){if(ii(t)!==ii(n))throw new ri(rc);if(ii(t)&&ii(n)&&t.fixedSize!==n.fixedSize)throw new ri(ic,{decoderFixedSize:n.fixedSize,encoderFixedSize:t.fixedSize});if(!ii(t)&&!ii(n)&&t.maxSize!==n.maxSize)throw new ri(oc,{decoderMaxSize:n.maxSize,encoderMaxSize:t.maxSize});return{...n,...t,decode:n.decode,encode:t.encode,read:n.read,write:t.write}}function wv(t,n,r=0){if(n.length-r<=0)throw new ri(ec,{codecDescription:t})}function Ev(t,n,r,e=0){const u=r.length-e;if(u<n)throw new ri(nc,{bytesLength:u,codecDescription:t,expected:n})}function bv(t,n,r,e){if(e<n||e>r)throw new ri(sc,{codecDescription:t,max:r,min:n,value:e})}function uc(t){return t?.endian!==1}function _v(t){return gv({fixedSize:t.size,write(n,r,e){t.range&&bv(t.name,t.range[0],t.range[1],n);const u=new ArrayBuffer(t.size);return t.set(new DataView(u),n,uc(t.config)),r.set(new Uint8Array(u),e),e+t.size}})}function Rv(t){return mv({fixedSize:t.size,read(n,r=0){wv(t.name,n,r),Ev(t.name,t.size,n,r);const e=new DataView(Av(n,r,t.size));return[t.get(e,uc(t.config)),r+t.size]}})}function Av(t,n,r){const e=t.byteOffset+(n??0),u=r??t.byteLength;return t.buffer.slice(e,e+u)}var Sv=(t={})=>_v({config:t,name:"u64",range:[0n,BigInt("0xffffffffffffffff")],set:(n,r,e)=>n.setBigUint64(0,BigInt(r),e),size:8}),Iv=(t={})=>Rv({config:t,get:(n,r)=>n.getBigUint64(0,r),name:"u64",size:8}),Ov=(t={})=>yv(Sv(t),Iv(t));class Nv extends TypeError{constructor(n,r){let e;const{message:u,explanation:a,...d}=n,{path:E}=n,l=E.length===0?u:`At path: ${E.join(".")} -- ${u}`;super(a??l),a!=null&&(this.cause=l),Object.assign(this,d),this.name=this.constructor.name,this.failures=()=>e??(e=[n,...r()])}}function Tv(t){return Ti(t)&&typeof t[Symbol.iterator]=="function"}function Ti(t){return typeof t=="object"&&t!=null}function To(t){return Ti(t)&&!Array.isArray(t)}function Hn(t){return typeof t=="symbol"?t.toString():typeof t=="string"?JSON.stringify(t):`${t}`}function xv(t){const{done:n,value:r}=t.next();return n?void 0:r}function Lv(t,n,r,e){if(t===!0)return;t===!1?t={}:typeof t=="string"&&(t={message:t});const{path:u,branch:a}=n,{type:d}=r,{refinement:E,message:l=`Expected a value of type \`${d}\`${E?` with refinement \`${E}\``:""}, but received: \`${Hn(e)}\``}=t;return{value:e,type:d,refinement:E,key:u[u.length-1],path:u,branch:a,...t,message:l}}function*cc(t,n,r,e){Tv(t)||(t=[t]);for(const u of t){const a=Lv(u,n,r,e);a&&(yield a)}}function*Ps(t,n,r={}){const{path:e=[],branch:u=[t],coerce:a=!1,mask:d=!1}=r,E={path:e,branch:u,mask:d};a&&(t=n.coercer(t,E));let l="valid";for(const b of n.validator(t,E))b.explanation=r.message,l="not_valid",yield[b,void 0];for(let[b,N,x]of n.entries(t,E)){const T=Ps(N,x,{path:b===void 0?e:[...e,b],branch:b===void 0?u:[...u,N],coerce:a,mask:d,message:r.message});for(const L of T)L[0]?(l=L[0].refinement!=null?"not_refined":"not_valid",yield[L[0],void 0]):a&&(N=L[1],b===void 0?t=N:t instanceof Map?t.set(b,N):t instanceof Set?t.add(N):Ti(t)&&(N!==void 0||b in t)&&(t[b]=N))}if(l!=="not_valid")for(const b of n.refiner(t,E))b.explanation=r.message,l="not_refined",yield[b,void 0];l==="valid"&&(yield[void 0,t])}let $n=class{constructor(n){const{type:r,schema:e,validator:u,refiner:a,coercer:d=l=>l,entries:E=function*(){}}=n;this.type=r,this.schema=e,this.entries=E,this.coercer=d,u?this.validator=(l,b)=>{const N=u(l,b);return cc(N,b,this,l)}:this.validator=()=>[],a?this.refiner=(l,b)=>{const N=a(l,b);return cc(N,b,this,l)}:this.refiner=()=>[]}assert(n,r){return Cv(n,this,r)}create(n,r){return xi(n,this,r)}is(n){return fc(n,this)}mask(n,r){return Bv(n,this,r)}validate(n,r={}){return Li(n,this,r)}};function Cv(t,n,r){const e=Li(t,n,{message:r});if(e[0])throw e[0]}function xi(t,n,r){const e=Li(t,n,{coerce:!0,message:r});if(e[0])throw e[0];return e[1]}function Bv(t,n,r){const e=Li(t,n,{coerce:!0,mask:!0,message:r});if(e[0])throw e[0];return e[1]}function fc(t,n){return!Li(t,n)[0]}function Li(t,n,r={}){const e=Ps(t,n,r),u=xv(e);return u[0]?[new Nv(u[0],function*(){for(const d of e)d[0]&&(yield d[0])}),void 0]:[void 0,u[1]]}function Fr(t,n){return new $n({type:t,schema:null,validator:n})}function Mv(){return Fr("any",()=>!0)}function ie(t){return new $n({type:"array",schema:t,*entries(n){if(t&&Array.isArray(n))for(const[r,e]of n.entries())yield[r,e,t]},coercer(n){return Array.isArray(n)?n.slice():n},validator(n){return Array.isArray(n)||`Expected an array value, but received: ${Hn(n)}`}})}function Jn(){return Fr("boolean",t=>typeof t=="boolean")}function Fs(t){return Fr("instance",n=>n instanceof t||`Expected a \`${t.name}\` instance, but received: ${Hn(n)}`)}function je(t){const n=Hn(t),r=typeof t;return new $n({type:"literal",schema:r==="string"||r==="number"||r==="boolean"?t:null,validator(e){return e===t||`Expected the literal \`${n}\`, but received: ${Hn(e)}`}})}function kv(){return Fr("never",()=>!1)}function oe(t){return new $n({...t,validator:(n,r)=>n===null||t.validator(n,r),refiner:(n,r)=>n===null||t.refiner(n,r)})}function It(){return Fr("number",t=>typeof t=="number"&&!isNaN(t)||`Expected a number, but received: ${Hn(t)}`)}function fe(t){return new $n({...t,validator:(n,r)=>n===void 0||t.validator(n,r),refiner:(n,r)=>n===void 0||t.refiner(n,r)})}function lc(t,n){return new $n({type:"record",schema:null,*entries(r){if(Ti(r))for(const e in r){const u=r[e];yield[e,e,t],yield[e,u,n]}},validator(r){return To(r)||`Expected an object, but received: ${Hn(r)}`},coercer(r){return To(r)?{...r}:r}})}function $t(){return Fr("string",t=>typeof t=="string"||`Expected a string, but received: ${Hn(t)}`)}function Vs(t){const n=kv();return new $n({type:"tuple",schema:null,*entries(r){if(Array.isArray(r)){const e=Math.max(t.length,r.length);for(let u=0;u<e;u++)yield[u,r[u],t[u]||n]}},validator(r){return Array.isArray(r)||`Expected an array, but received: ${Hn(r)}`},coercer(r){return Array.isArray(r)?r.slice():r}})}function Pt(t){const n=Object.keys(t);return new $n({type:"type",schema:t,*entries(r){if(Ti(r))for(const e of n)yield[e,r[e],t[e]]},validator(r){return To(r)||`Expected an object, but received: ${Hn(r)}`},coercer(r){return To(r)?{...r}:r}})}function On(t){const n=t.map(r=>r.type).join(" | ");return new $n({type:"union",schema:null,coercer(r,e){for(const u of t){const[a,d]=u.validate(r,{coerce:!0,mask:e.mask});if(!a)return d}return r},validator(r,e){const u=[];for(const a of t){const[...d]=Ps(r,a,e),[E]=d;if(E[0])for(const[l]of d)l&&u.push(l);else return[]}return[`Expected the value to satisfy a union of \`${n}\`, but received: ${Hn(r)}`,...u]}})}function oi(){return Fr("unknown",()=>!0)}function Ci(t,n,r){return new $n({...t,coercer:(e,u)=>fc(e,n)?t.coercer(r(e,u),u):t.coercer(e,u)})}var xo,Uv=new Uint8Array(16);function dc(){if(!xo&&(xo=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!xo))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return xo(Uv)}const Dv=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Lo(t){return typeof t=="string"&&Dv.test(t)}for(var gn=[],Hs=0;Hs<256;++Hs)gn.push((Hs+256).toString(16).substr(1));function Co(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=(gn[t[n+0]]+gn[t[n+1]]+gn[t[n+2]]+gn[t[n+3]]+"-"+gn[t[n+4]]+gn[t[n+5]]+"-"+gn[t[n+6]]+gn[t[n+7]]+"-"+gn[t[n+8]]+gn[t[n+9]]+"-"+gn[t[n+10]]+gn[t[n+11]]+gn[t[n+12]]+gn[t[n+13]]+gn[t[n+14]]+gn[t[n+15]]).toLowerCase();if(!Lo(r))throw TypeError("Stringified UUID is invalid");return r}var hc,Gs,js=0,Ys=0;function Pv(t,n,r){var e=n&&r||0,u=n||new Array(16);t=t||{};var a=t.node||hc,d=t.clockseq!==void 0?t.clockseq:Gs;if(a==null||d==null){var E=t.random||(t.rng||dc)();a==null&&(a=hc=[E[0]|1,E[1],E[2],E[3],E[4],E[5]]),d==null&&(d=Gs=(E[6]<<8|E[7])&16383)}var l=t.msecs!==void 0?t.msecs:Date.now(),b=t.nsecs!==void 0?t.nsecs:Ys+1,N=l-js+(b-Ys)/1e4;if(N<0&&t.clockseq===void 0&&(d=d+1&16383),(N<0||l>js)&&t.nsecs===void 0&&(b=0),b>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");js=l,Ys=b,Gs=d,l+=122192928e5;var x=((l&268435455)*1e4+b)%4294967296;u[e++]=x>>>24&255,u[e++]=x>>>16&255,u[e++]=x>>>8&255,u[e++]=x&255;var T=l/4294967296*1e4&268435455;u[e++]=T>>>8&255,u[e++]=T&255,u[e++]=T>>>24&15|16,u[e++]=T>>>16&255,u[e++]=d>>>8|128,u[e++]=d&255;for(var L=0;L<6;++L)u[e+L]=a[L];return n||Co(u)}function pc(t){if(!Lo(t))throw TypeError("Invalid UUID");var n,r=new Uint8Array(16);return r[0]=(n=parseInt(t.slice(0,8),16))>>>24,r[1]=n>>>16&255,r[2]=n>>>8&255,r[3]=n&255,r[4]=(n=parseInt(t.slice(9,13),16))>>>8,r[5]=n&255,r[6]=(n=parseInt(t.slice(14,18),16))>>>8,r[7]=n&255,r[8]=(n=parseInt(t.slice(19,23),16))>>>8,r[9]=n&255,r[10]=(n=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=n/4294967296&255,r[12]=n>>>24&255,r[13]=n>>>16&255,r[14]=n>>>8&255,r[15]=n&255,r}function Fv(t){t=unescape(encodeURIComponent(t));for(var n=[],r=0;r<t.length;++r)n.push(t.charCodeAt(r));return n}var Vv="6ba7b810-9dad-11d1-80b4-00c04fd430c8",Hv="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function vc(t,n,r){function e(u,a,d,E){if(typeof u=="string"&&(u=Fv(u)),typeof a=="string"&&(a=pc(a)),a.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var l=new Uint8Array(16+u.length);if(l.set(a),l.set(u,a.length),l=r(l),l[6]=l[6]&15|n,l[8]=l[8]&63|128,d){E=E||0;for(var b=0;b<16;++b)d[E+b]=l[b];return d}return Co(l)}try{e.name=t}catch{}return e.DNS=Vv,e.URL=Hv,e}function Gv(t){if(typeof t=="string"){var n=unescape(encodeURIComponent(t));t=new Uint8Array(n.length);for(var r=0;r<n.length;++r)t[r]=n.charCodeAt(r)}return jv(Yv(zv(t),t.length*8))}function jv(t){for(var n=[],r=t.length*32,e="0123456789abcdef",u=0;u<r;u+=8){var a=t[u>>5]>>>u%32&255,d=parseInt(e.charAt(a>>>4&15)+e.charAt(a&15),16);n.push(d)}return n}function gc(t){return(t+64>>>9<<4)+14+1}function Yv(t,n){t[n>>5]|=128<<n%32,t[gc(n)-1]=n;for(var r=1732584193,e=-271733879,u=-1732584194,a=271733878,d=0;d<t.length;d+=16){var E=r,l=e,b=u,N=a;r=wn(r,e,u,a,t[d],7,-680876936),a=wn(a,r,e,u,t[d+1],12,-389564586),u=wn(u,a,r,e,t[d+2],17,606105819),e=wn(e,u,a,r,t[d+3],22,-1044525330),r=wn(r,e,u,a,t[d+4],7,-176418897),a=wn(a,r,e,u,t[d+5],12,1200080426),u=wn(u,a,r,e,t[d+6],17,-1473231341),e=wn(e,u,a,r,t[d+7],22,-45705983),r=wn(r,e,u,a,t[d+8],7,1770035416),a=wn(a,r,e,u,t[d+9],12,-1958414417),u=wn(u,a,r,e,t[d+10],17,-42063),e=wn(e,u,a,r,t[d+11],22,-1990404162),r=wn(r,e,u,a,t[d+12],7,1804603682),a=wn(a,r,e,u,t[d+13],12,-40341101),u=wn(u,a,r,e,t[d+14],17,-1502002290),e=wn(e,u,a,r,t[d+15],22,1236535329),r=En(r,e,u,a,t[d+1],5,-165796510),a=En(a,r,e,u,t[d+6],9,-1069501632),u=En(u,a,r,e,t[d+11],14,643717713),e=En(e,u,a,r,t[d],20,-373897302),r=En(r,e,u,a,t[d+5],5,-701558691),a=En(a,r,e,u,t[d+10],9,38016083),u=En(u,a,r,e,t[d+15],14,-660478335),e=En(e,u,a,r,t[d+4],20,-405537848),r=En(r,e,u,a,t[d+9],5,568446438),a=En(a,r,e,u,t[d+14],9,-1019803690),u=En(u,a,r,e,t[d+3],14,-187363961),e=En(e,u,a,r,t[d+8],20,1163531501),r=En(r,e,u,a,t[d+13],5,-1444681467),a=En(a,r,e,u,t[d+2],9,-51403784),u=En(u,a,r,e,t[d+7],14,1735328473),e=En(e,u,a,r,t[d+12],20,-1926607734),r=bn(r,e,u,a,t[d+5],4,-378558),a=bn(a,r,e,u,t[d+8],11,-2022574463),u=bn(u,a,r,e,t[d+11],16,1839030562),e=bn(e,u,a,r,t[d+14],23,-35309556),r=bn(r,e,u,a,t[d+1],4,-1530992060),a=bn(a,r,e,u,t[d+4],11,1272893353),u=bn(u,a,r,e,t[d+7],16,-155497632),e=bn(e,u,a,r,t[d+10],23,-1094730640),r=bn(r,e,u,a,t[d+13],4,681279174),a=bn(a,r,e,u,t[d],11,-358537222),u=bn(u,a,r,e,t[d+3],16,-722521979),e=bn(e,u,a,r,t[d+6],23,76029189),r=bn(r,e,u,a,t[d+9],4,-640364487),a=bn(a,r,e,u,t[d+12],11,-421815835),u=bn(u,a,r,e,t[d+15],16,530742520),e=bn(e,u,a,r,t[d+2],23,-995338651),r=_n(r,e,u,a,t[d],6,-198630844),a=_n(a,r,e,u,t[d+7],10,1126891415),u=_n(u,a,r,e,t[d+14],15,-1416354905),e=_n(e,u,a,r,t[d+5],21,-57434055),r=_n(r,e,u,a,t[d+12],6,1700485571),a=_n(a,r,e,u,t[d+3],10,-1894986606),u=_n(u,a,r,e,t[d+10],15,-1051523),e=_n(e,u,a,r,t[d+1],21,-2054922799),r=_n(r,e,u,a,t[d+8],6,1873313359),a=_n(a,r,e,u,t[d+15],10,-30611744),u=_n(u,a,r,e,t[d+6],15,-1560198380),e=_n(e,u,a,r,t[d+13],21,1309151649),r=_n(r,e,u,a,t[d+4],6,-145523070),a=_n(a,r,e,u,t[d+11],10,-1120210379),u=_n(u,a,r,e,t[d+2],15,718787259),e=_n(e,u,a,r,t[d+9],21,-343485551),r=Er(r,E),e=Er(e,l),u=Er(u,b),a=Er(a,N)}return[r,e,u,a]}function zv(t){if(t.length===0)return[];for(var n=t.length*8,r=new Uint32Array(gc(n)),e=0;e<n;e+=8)r[e>>5]|=(t[e/8]&255)<<e%32;return r}function Er(t,n){var r=(t&65535)+(n&65535),e=(t>>16)+(n>>16)+(r>>16);return e<<16|r&65535}function Wv(t,n){return t<<n|t>>>32-n}function Bo(t,n,r,e,u,a){return Er(Wv(Er(Er(n,t),Er(e,a)),u),r)}function wn(t,n,r,e,u,a,d){return Bo(n&r|~n&e,t,n,u,a,d)}function En(t,n,r,e,u,a,d){return Bo(n&e|r&~e,t,n,u,a,d)}function bn(t,n,r,e,u,a,d){return Bo(n^r^e,t,n,u,a,d)}function _n(t,n,r,e,u,a,d){return Bo(r^(n|~e),t,n,u,a,d)}var Zv=vc("v3",48,Gv);function Kv(t,n,r){t=t||{};var e=t.random||(t.rng||dc)();if(e[6]=e[6]&15|64,e[8]=e[8]&63|128,n){r=r||0;for(var u=0;u<16;++u)n[r+u]=e[u];return n}return Co(e)}function Xv(t,n,r,e){switch(t){case 0:return n&r^~n&e;case 1:return n^r^e;case 2:return n&r^n&e^r&e;case 3:return n^r^e}}function zs(t,n){return t<<n|t>>>32-n}function qv(t){var n=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){var e=unescape(encodeURIComponent(t));t=[];for(var u=0;u<e.length;++u)t.push(e.charCodeAt(u))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);for(var a=t.length/4+2,d=Math.ceil(a/16),E=new Array(d),l=0;l<d;++l){for(var b=new Uint32Array(16),N=0;N<16;++N)b[N]=t[l*64+N*4]<<24|t[l*64+N*4+1]<<16|t[l*64+N*4+2]<<8|t[l*64+N*4+3];E[l]=b}E[d-1][14]=(t.length-1)*8/Math.pow(2,32),E[d-1][14]=Math.floor(E[d-1][14]),E[d-1][15]=(t.length-1)*8&4294967295;for(var x=0;x<d;++x){for(var T=new Uint32Array(80),L=0;L<16;++L)T[L]=E[x][L];for(var M=16;M<80;++M)T[M]=zs(T[M-3]^T[M-8]^T[M-14]^T[M-16],1);for(var D=r[0],Y=r[1],z=r[2],J=r[3],q=r[4],ot=0;ot<80;++ot){var pt=Math.floor(ot/20),ft=zs(D,5)+Xv(pt,Y,z,J)+q+n[pt]+T[ot]>>>0;q=J,J=z,z=zs(Y,30)>>>0,Y=D,D=ft}r[0]=r[0]+D>>>0,r[1]=r[1]+Y>>>0,r[2]=r[2]+z>>>0,r[3]=r[3]+J>>>0,r[4]=r[4]+q>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}var $v=vc("v5",80,qv);const Jv="00000000-0000-0000-0000-000000000000";function Qv(t){if(!Lo(t))throw TypeError("Invalid UUID");return parseInt(t.substr(14,1),16)}const mc=hs(Object.freeze(Object.defineProperty({__proto__:null,NIL:Jv,parse:pc,stringify:Co,v1:Pv,v3:Zv,v4:Kv,v5:$v,validate:Lo,version:Qv},Symbol.toStringTag,{value:"Module"})));var Ws,yc;function t3(){if(yc)return Ws;yc=1;const t=mc.v4;return Ws=function(r,e,u,a){if(typeof r!="string")throw new TypeError(r+" must be a string");a=a||{};const d=typeof a.version=="number"?a.version:2;if(d!==1&&d!==2)throw new TypeError(d+" must be 1 or 2");const E={method:r};if(d===2&&(E.jsonrpc="2.0"),e){if(typeof e!="object"&&!Array.isArray(e))throw new TypeError(e+" must be an object, array or omitted");E.params=e}if(typeof u>"u"){const l=typeof a.generator=="function"?a.generator:function(){return t()};E.id=l(E,a)}else d===2&&u===null?a.notificationIdNull&&(E.id=null):E.id=u;return E},Ws}var Zs,wc;function e3(){if(wc)return Zs;wc=1;const t=mc.v4,n=t3(),r=function(e,u){if(!(this instanceof r))return new r(e,u);u||(u={}),this.options={reviver:typeof u.reviver<"u"?u.reviver:null,replacer:typeof u.replacer<"u"?u.replacer:null,generator:typeof u.generator<"u"?u.generator:function(){return t()},version:typeof u.version<"u"?u.version:2,notificationIdNull:typeof u.notificationIdNull=="boolean"?u.notificationIdNull:!1},this.callServer=e};return Zs=r,r.prototype.request=function(e,u,a,d){const E=this;let l=null;const b=Array.isArray(e)&&typeof u=="function";if(this.options.version===1&&b)throw new TypeError("JSON-RPC 1.0 does not support batching");if(b||!b&&e&&typeof e=="object"&&typeof u=="function")d=u,l=e;else{typeof a=="function"&&(d=a,a=void 0);const T=typeof d=="function";try{l=n(e,u,a,{generator:this.options.generator,version:this.options.version,notificationIdNull:this.options.notificationIdNull})}catch(L){if(T)return d(L);throw L}if(!T)return l}let x;try{x=JSON.stringify(l,this.options.replacer)}catch(T){return d(T)}return this.callServer(x,function(T,L){E._parseResponse(T,L,d)}),l},r.prototype._parseResponse=function(e,u,a){if(e){a(e);return}if(!u)return a();let d;try{d=JSON.parse(u,this.options.reviver)}catch(E){return a(E)}if(a.length===3)if(Array.isArray(d)){const E=function(b){return typeof b.error<"u"},l=function(b){return!E(b)};return a(null,d.filter(E),d.filter(l))}else return a(null,d.error,d.result);a(null,d)},Zs}e3();var Ks={exports:{}},Ec;function n3(){return Ec||(Ec=1,(function(t){var n=Object.prototype.hasOwnProperty,r="~";function e(){}Object.create&&(e.prototype=Object.create(null),new e().__proto__||(r=!1));function u(l,b,N){this.fn=l,this.context=b,this.once=N||!1}function a(l,b,N,x,T){if(typeof N!="function")throw new TypeError("The listener must be a function");var L=new u(N,x||l,T),M=r?r+b:b;return l._events[M]?l._events[M].fn?l._events[M]=[l._events[M],L]:l._events[M].push(L):(l._events[M]=L,l._eventsCount++),l}function d(l,b){--l._eventsCount===0?l._events=new e:delete l._events[b]}function E(){this._events=new e,this._eventsCount=0}E.prototype.eventNames=function(){var b=[],N,x;if(this._eventsCount===0)return b;for(x in N=this._events)n.call(N,x)&&b.push(r?x.slice(1):x);return Object.getOwnPropertySymbols?b.concat(Object.getOwnPropertySymbols(N)):b},E.prototype.listeners=function(b){var N=r?r+b:b,x=this._events[N];if(!x)return[];if(x.fn)return[x.fn];for(var T=0,L=x.length,M=new Array(L);T<L;T++)M[T]=x[T].fn;return M},E.prototype.listenerCount=function(b){var N=r?r+b:b,x=this._events[N];return x?x.fn?1:x.length:0},E.prototype.emit=function(b,N,x,T,L,M){var D=r?r+b:b;if(!this._events[D])return!1;var Y=this._events[D],z=arguments.length,J,q;if(Y.fn){switch(Y.once&&this.removeListener(b,Y.fn,void 0,!0),z){case 1:return Y.fn.call(Y.context),!0;case 2:return Y.fn.call(Y.context,N),!0;case 3:return Y.fn.call(Y.context,N,x),!0;case 4:return Y.fn.call(Y.context,N,x,T),!0;case 5:return Y.fn.call(Y.context,N,x,T,L),!0;case 6:return Y.fn.call(Y.context,N,x,T,L,M),!0}for(q=1,J=new Array(z-1);q<z;q++)J[q-1]=arguments[q];Y.fn.apply(Y.context,J)}else{var ot=Y.length,pt;for(q=0;q<ot;q++)switch(Y[q].once&&this.removeListener(b,Y[q].fn,void 0,!0),z){case 1:Y[q].fn.call(Y[q].context);break;case 2:Y[q].fn.call(Y[q].context,N);break;case 3:Y[q].fn.call(Y[q].context,N,x);break;case 4:Y[q].fn.call(Y[q].context,N,x,T);break;default:if(!J)for(pt=1,J=new Array(z-1);pt<z;pt++)J[pt-1]=arguments[pt];Y[q].fn.apply(Y[q].context,J)}}return!0},E.prototype.on=function(b,N,x){return a(this,b,N,x,!1)},E.prototype.once=function(b,N,x){return a(this,b,N,x,!0)},E.prototype.removeListener=function(b,N,x,T){var L=r?r+b:b;if(!this._events[L])return this;if(!N)return d(this,L),this;var M=this._events[L];if(M.fn)M.fn===N&&(!T||M.once)&&(!x||M.context===x)&&d(this,L);else{for(var D=0,Y=[],z=M.length;D<z;D++)(M[D].fn!==N||T&&!M[D].once||x&&M[D].context!==x)&&Y.push(M[D]);Y.length?this._events[L]=Y.length===1?Y[0]:Y:d(this,L)}return this},E.prototype.removeAllListeners=function(b){var N;return b?(N=r?r+b:b,this._events[N]&&d(this,N)):(this._events=new e,this._eventsCount=0),this},E.prototype.off=E.prototype.removeListener,E.prototype.addListener=E.prototype.on,E.prefixed=r,E.EventEmitter=E,t.exports=E})(Ks)),Ks.exports}n3();class bc extends au{constructor(n,r){super(),this.finished=!1,this.destroyed=!1,iu(n);const e=ys(r);if(this.iHash=n.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const u=this.blockLen,a=new Uint8Array(u);a.set(e.length>u?n.create().update(e).digest():e);for(let d=0;d<a.length;d++)a[d]^=54;this.iHash.update(a),this.oHash=n.create();for(let d=0;d<a.length;d++)a[d]^=106;this.oHash.update(a),Jr(a)}update(n){return ho(this),this.iHash.update(n),this}digestInto(n){ho(this),Cr(n,this.outputLen),this.finished=!0,this.iHash.digestInto(n),this.oHash.update(n),this.oHash.digestInto(n),this.destroy()}digest(){const n=new Uint8Array(this.oHash.outputLen);return this.digestInto(n),n}_cloneInto(n){n||(n=Object.create(Object.getPrototypeOf(this),{}));const{oHash:r,iHash:e,finished:u,destroyed:a,blockLen:d,outputLen:E}=this;return n=n,n.finished=u,n.destroyed=a,n.blockLen=d,n.outputLen=E,n.oHash=r._cloneInto(n.oHash),n.iHash=e._cloneInto(n.iHash),n}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const _c=(t,n,r)=>new bc(t,n).update(r).digest();_c.create=(t,n)=>new bc(t,n);const Rc=(t,n)=>(t+(t>=0?n:-n)/Ac)/n;function r3(t,n,r){const[[e,u],[a,d]]=n,E=Rc(d*t,r),l=Rc(-u*t,r);let b=t-E*e-l*a,N=-E*u-l*d;const x=b<ur,T=N<ur;x&&(b=-b),T&&(N=-N);const L=Ii(Math.ceil(yu(r)/2))+si;if(b<ur||b>=L||N<ur||N>=L)throw new Error("splitScalar (endomorphism): failed, k="+t);return{k1neg:x,k1:b,k2neg:T,k2:N}}function Xs(t){if(!["compact","recovered","der"].includes(t))throw new Error('Signature format must be "compact", "recovered", or "der"');return t}function qs(t,n){const r={};for(let e of Object.keys(n))r[e]=t[e]===void 0?n[e]:t[e];return Mr(r.lowS,"lowS"),Mr(r.prehash,"prehash"),r.format!==void 0&&Xs(r.format),r}class i3 extends Error{constructor(n=""){super(n)}}const ar={Err:i3,_tlv:{encode:(t,n)=>{const{Err:r}=ar;if(t<0||t>256)throw new r("tlv.encode: wrong tag");if(n.length&1)throw new r("tlv.encode: unpadded data");const e=n.length/2,u=yo(e);if(u.length/2&128)throw new r("tlv.encode: long form length too big");const a=e>127?yo(u.length/2|128):"";return yo(t)+a+u+n},decode(t,n){const{Err:r}=ar;let e=0;if(t<0||t>256)throw new r("tlv.encode: wrong tag");if(n.length<2||n[e++]!==t)throw new r("tlv.decode: wrong tlv");const u=n[e++],a=!!(u&128);let d=0;if(!a)d=u;else{const l=u&127;if(!l)throw new r("tlv.decode(long): indefinite length not supported");if(l>4)throw new r("tlv.decode(long): byte length is too big");const b=n.subarray(e,e+l);if(b.length!==l)throw new r("tlv.decode: length bytes not complete");if(b[0]===0)throw new r("tlv.decode(long): zero leftmost byte");for(const N of b)d=d<<8|N;if(e+=l,d<128)throw new r("tlv.decode(long): not minimal encoding")}const E=n.subarray(e,e+d);if(E.length!==d)throw new r("tlv.decode: wrong value length");return{v:E,l:n.subarray(e+d)}}},_int:{encode(t){const{Err:n}=ar;if(t<ur)throw new n("integer: negative integers are not allowed");let r=yo(t);if(Number.parseInt(r[0],16)&8&&(r="00"+r),r.length&1)throw new n("unexpected DER parsing assertion: unpadded hex");return r},decode(t){const{Err:n}=ar;if(t[0]&128)throw new n("invalid signature integer: negative");if(t[0]===0&&!(t[1]&128))throw new n("invalid signature integer: unnecessary leading zero");return wo(t)}},toSig(t){const{Err:n,_int:r,_tlv:e}=ar,u=Ze("signature",t),{v:a,l:d}=e.decode(48,u);if(d.length)throw new n("invalid signature: left bytes after parsing");const{v:E,l}=e.decode(2,a),{v:b,l:N}=e.decode(2,l);if(N.length)throw new n("invalid signature: left bytes after parsing");return{r:r.decode(E),s:r.decode(b)}},hexFromSig(t){const{_tlv:n,_int:r}=ar,e=n.encode(2,r.encode(t.r)),u=n.encode(2,r.encode(t.s)),a=e+u;return n.encode(48,a)}},ur=BigInt(0),si=BigInt(1),Ac=BigInt(2),Mo=BigInt(3),o3=BigInt(4);function ai(t,n){const{BYTES:r}=t;let e;if(typeof n=="bigint")e=n;else{let u=Ze("private key",n);try{e=t.fromBytes(u)}catch{throw new Error(`invalid private key: expected ui8a of size ${r}, got ${typeof n}`)}}if(!t.isValidNot0(e))throw new Error("invalid private key: out of range [1..N-1]");return e}function s3(t,n={}){const r=Fu("weierstrass",t,n),{Fp:e,Fn:u}=r;let a=r.CURVE;const{h:d,n:E}=a;Oi(n,{},{allowInfinityPoint:"boolean",clearCofactor:"function",isTorsionFree:"function",fromBytes:"function",toBytes:"function",endo:"object",wrapPrivateKey:"boolean"});const{endo:l}=n;if(l&&(!e.is0(a.a)||typeof l.beta!="bigint"||!Array.isArray(l.basises)))throw new Error('invalid endo: expected "beta": bigint and "basises": array');const b=Ic(e,u);function N(){if(!e.isOdd)throw new Error("compression is not supported: Field does not have .isOdd()")}function x(wt,P,f){const{x:S,y:U}=P.toAffine(),W=e.toBytes(S);if(Mr(f,"isCompressed"),f){N();const $=!e.isOdd(U);return Xn(Sc($),W)}else return Xn(Uint8Array.of(4),W,e.toBytes(U))}function T(wt){Vn(wt,void 0,"Point");const{publicKey:P,publicKeyUncompressed:f}=b,S=wt.length,U=wt[0],W=wt.subarray(1);if(S===P&&(U===2||U===3)){const $=e.fromBytes(W);if(!e.isValid($))throw new Error("bad point: is not on curve, wrong x");const et=D($);let ut;try{ut=e.sqrt(et)}catch(_){const j=_ instanceof Error?": "+_.message:"";throw new Error("bad point: is not on curve, sqrt error"+j)}N();const Z=e.isOdd(ut);return(U&1)===1!==Z&&(ut=e.neg(ut)),{x:$,y:ut}}else if(S===f&&U===4){const $=e.BYTES,et=e.fromBytes(W.subarray(0,$)),ut=e.fromBytes(W.subarray($,$*2));if(!Y(et,ut))throw new Error("bad point: is not on curve");return{x:et,y:ut}}else throw new Error(`bad point: got length ${S}, expected compressed=${P} or uncompressed=${f}`)}const L=n.toBytes||x,M=n.fromBytes||T;function D(wt){const P=e.sqr(wt),f=e.mul(P,wt);return e.add(e.add(f,e.mul(wt,a.a)),a.b)}function Y(wt,P){const f=e.sqr(P),S=D(wt);return e.eql(f,S)}if(!Y(a.Gx,a.Gy))throw new Error("bad curve params: generator point");const z=e.mul(e.pow(a.a,Mo),o3),J=e.mul(e.sqr(a.b),BigInt(27));if(e.is0(e.add(z,J)))throw new Error("bad curve params: a or b");function q(wt,P,f=!1){if(!e.isValid(P)||f&&e.is0(P))throw new Error(`bad point coordinate ${wt}`);return P}function ot(wt){if(!(wt instanceof st))throw new Error("ProjectivePoint expected")}function pt(wt){if(!l||!l.basises)throw new Error("no endo");return r3(wt,l.basises,u.ORDER)}const ft=Eo((wt,P)=>{const{X:f,Y:S,Z:U}=wt;if(e.eql(U,e.ONE))return{x:f,y:S};const W=wt.is0();P==null&&(P=W?e.ONE:e.inv(U));const $=e.mul(f,P),et=e.mul(S,P),ut=e.mul(U,P);if(W)return{x:e.ZERO,y:e.ZERO};if(!e.eql(ut,e.ONE))throw new Error("invZ was invalid");return{x:$,y:et}}),Rt=Eo(wt=>{if(wt.is0()){if(n.allowInfinityPoint&&!e.is0(wt.Y))return;throw new Error("bad point: ZERO")}const{x:P,y:f}=wt.toAffine();if(!e.isValid(P)||!e.isValid(f))throw new Error("bad point: x or y not field elements");if(!Y(P,f))throw new Error("bad point: equation left != right");if(!wt.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});function At(wt,P,f,S,U){return f=new st(e.mul(f.X,wt),f.Y,f.Z),P=bo(S,P),f=bo(U,f),P.add(f)}class st{constructor(P,f,S){this.X=q("x",P),this.Y=q("y",f,!0),this.Z=q("z",S),Object.freeze(this)}static CURVE(){return a}static fromAffine(P){const{x:f,y:S}=P||{};if(!P||!e.isValid(f)||!e.isValid(S))throw new Error("invalid affine point");if(P instanceof st)throw new Error("projective point not allowed");return e.is0(f)&&e.is0(S)?st.ZERO:new st(f,S,e.ONE)}static fromBytes(P){const f=st.fromAffine(M(Vn(P,void 0,"point")));return f.assertValidity(),f}static fromHex(P){return st.fromBytes(Ze("pointHex",P))}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(P=8,f=!0){return mt.createCache(this,P),f||this.multiply(Mo),this}assertValidity(){Rt(this)}hasEvenY(){const{y:P}=this.toAffine();if(!e.isOdd)throw new Error("Field doesn't support isOdd");return!e.isOdd(P)}equals(P){ot(P);const{X:f,Y:S,Z:U}=this,{X:W,Y:$,Z:et}=P,ut=e.eql(e.mul(f,et),e.mul(W,U)),Z=e.eql(e.mul(S,et),e.mul($,U));return ut&&Z}negate(){return new st(this.X,e.neg(this.Y),this.Z)}double(){const{a:P,b:f}=a,S=e.mul(f,Mo),{X:U,Y:W,Z:$}=this;let et=e.ZERO,ut=e.ZERO,Z=e.ZERO,h=e.mul(U,U),_=e.mul(W,W),j=e.mul($,$),K=e.mul(U,W);return K=e.add(K,K),Z=e.mul(U,$),Z=e.add(Z,Z),et=e.mul(P,Z),ut=e.mul(S,j),ut=e.add(et,ut),et=e.sub(_,ut),ut=e.add(_,ut),ut=e.mul(et,ut),et=e.mul(K,et),Z=e.mul(S,Z),j=e.mul(P,j),K=e.sub(h,j),K=e.mul(P,K),K=e.add(K,Z),Z=e.add(h,h),h=e.add(Z,h),h=e.add(h,j),h=e.mul(h,K),ut=e.add(ut,h),j=e.mul(W,$),j=e.add(j,j),h=e.mul(j,K),et=e.sub(et,h),Z=e.mul(j,_),Z=e.add(Z,Z),Z=e.add(Z,Z),new st(et,ut,Z)}add(P){ot(P);const{X:f,Y:S,Z:U}=this,{X:W,Y:$,Z:et}=P;let ut=e.ZERO,Z=e.ZERO,h=e.ZERO;const _=a.a,j=e.mul(a.b,Mo);let K=e.mul(f,W),ht=e.mul(S,$),St=e.mul(U,et),Ft=e.add(f,S),Zt=e.add(W,$);Ft=e.mul(Ft,Zt),Zt=e.add(K,ht),Ft=e.sub(Ft,Zt),Zt=e.add(f,U);let de=e.add(W,et);return Zt=e.mul(Zt,de),de=e.add(K,St),Zt=e.sub(Zt,de),de=e.add(S,U),ut=e.add($,et),de=e.mul(de,ut),ut=e.add(ht,St),de=e.sub(de,ut),h=e.mul(_,Zt),ut=e.mul(j,St),h=e.add(ut,h),ut=e.sub(ht,h),h=e.add(ht,h),Z=e.mul(ut,h),ht=e.add(K,K),ht=e.add(ht,K),St=e.mul(_,St),Zt=e.mul(j,Zt),ht=e.add(ht,St),St=e.sub(K,St),St=e.mul(_,St),Zt=e.add(Zt,St),K=e.mul(ht,Zt),Z=e.add(Z,K),K=e.mul(de,Zt),ut=e.mul(Ft,ut),ut=e.sub(ut,K),K=e.mul(Ft,ht),h=e.mul(de,h),h=e.add(h,K),new st(ut,Z,h)}subtract(P){return this.add(P.negate())}is0(){return this.equals(st.ZERO)}multiply(P){const{endo:f}=n;if(!u.isValidNot0(P))throw new Error("invalid scalar: out of range");let S,U;const W=$=>mt.cached(this,$,et=>Pr(st,et));if(f){const{k1neg:$,k1:et,k2neg:ut,k2:Z}=pt(P),{p:h,f:_}=W(et),{p:j,f:K}=W(Z);U=_.add(K),S=At(f.beta,h,j,$,ut)}else{const{p:$,f:et}=W(P);S=$,U=et}return Pr(st,[S,U])[0]}multiplyUnsafe(P){const{endo:f}=n,S=this;if(!u.isValid(P))throw new Error("invalid scalar: out of range");if(P===ur||S.is0())return st.ZERO;if(P===si)return S;if(mt.hasCache(this))return this.multiply(P);if(f){const{k1neg:U,k1:W,k2neg:$,k2:et}=pt(P),{p1:ut,p2:Z}=Nd(st,S,W,et);return At(f.beta,ut,Z,U,$)}else return mt.unsafe(S,P)}multiplyAndAddUnsafe(P,f,S){const U=this.multiplyUnsafe(f).add(P.multiplyUnsafe(S));return U.is0()?void 0:U}toAffine(P){return ft(this,P)}isTorsionFree(){const{isTorsionFree:P}=n;return d===si?!0:P?P(st,this):mt.unsafe(this,E).is0()}clearCofactor(){const{clearCofactor:P}=n;return d===si?this:P?P(st,this):this.multiplyUnsafe(d)}isSmallOrder(){return this.multiplyUnsafe(d).is0()}toBytes(P=!0){return Mr(P,"isCompressed"),this.assertValidity(),L(st,this,P)}toHex(P=!0){return Br(this.toBytes(P))}toString(){return`<Point ${this.is0()?"ZERO":this.toHex()}>`}get px(){return this.X}get py(){return this.X}get pz(){return this.Z}toRawBytes(P=!0){return this.toBytes(P)}_setWindowSize(P){this.precompute(P)}static normalizeZ(P){return Pr(st,P)}static msm(P,f){return Du(st,u,P,f)}static fromPrivateKey(P){return st.BASE.multiply(ai(u,P))}}st.BASE=new st(a.Gx,a.Gy,e.ONE),st.ZERO=new st(e.ZERO,e.ONE,e.ZERO),st.Fp=e,st.Fn=u;const lt=u.BITS,mt=new Uu(st,n.endo?Math.ceil(lt/2):lt);return st.BASE.precompute(8),st}function Sc(t){return Uint8Array.of(t?2:3)}function Ic(t,n){return{secretKey:n.BYTES,publicKey:1+t.BYTES,publicKeyUncompressed:1+2*t.BYTES,publicKeyHasPrefix:!0,signature:2*n.BYTES}}function a3(t,n={}){const{Fn:r}=t,e=n.randomBytes||ws,u=Object.assign(Ic(t.Fp,r),{seed:Lu(r.ORDER)});function a(L){try{return!!ai(r,L)}catch{return!1}}function d(L,M){const{publicKey:D,publicKeyUncompressed:Y}=u;try{const z=L.length;return M===!0&&z!==D||M===!1&&z!==Y?!1:!!t.fromBytes(L)}catch{return!1}}function E(L=e(u.seed)){return Sd(Vn(L,u.seed,"seed"),r.ORDER)}function l(L,M=!0){return t.BASE.multiply(ai(r,L)).toBytes(M)}function b(L){const M=E(L);return{secretKey:M,publicKey:l(M)}}function N(L){if(typeof L=="bigint")return!1;if(L instanceof t)return!0;const{secretKey:M,publicKey:D,publicKeyUncompressed:Y}=u;if(r.allowedLengths||M===D)return;const z=Ze("key",L).length;return z===D||z===Y}function x(L,M,D=!0){if(N(L)===!0)throw new Error("first arg must be private key");if(N(M)===!1)throw new Error("second arg must be public key");const Y=ai(r,L);return t.fromHex(M).multiply(Y).toBytes(D)}return Object.freeze({getPublicKey:l,getSharedSecret:x,keygen:b,Point:t,utils:{isValidSecretKey:a,isValidPublicKey:d,randomSecretKey:E,isValidPrivateKey:a,randomPrivateKey:E,normPrivateKeyToScalar:L=>ai(r,L),precompute(L=8,M=t.BASE){return M.precompute(L,!1)}},lengths:u})}function u3(t,n,r={}){iu(n),Oi(r,{},{hmac:"function",lowS:"boolean",randomBytes:"function",bits2int:"function",bits2int_modN:"function"});const e=r.randomBytes||ws,u=r.hmac||((f,...S)=>_c(n,f,Xn(...S))),{Fp:a,Fn:d}=t,{ORDER:E,BITS:l}=d,{keygen:b,getPublicKey:N,getSharedSecret:x,utils:T,lengths:L}=a3(t,r),M={prehash:!1,lowS:typeof r.lowS=="boolean"?r.lowS:!1,format:void 0,extraEntropy:!1},D="compact";function Y(f){const S=E>>si;return f>S}function z(f,S){if(!d.isValidNot0(S))throw new Error(`invalid signature ${f}: out of range 1..Point.Fn.ORDER`);return S}function J(f,S){Xs(S);const U=L.signature,W=S==="compact"?U:S==="recovered"?U+1:void 0;return Vn(f,W,`${S} signature`)}class q{constructor(S,U,W){this.r=z("r",S),this.s=z("s",U),W!=null&&(this.recovery=W),Object.freeze(this)}static fromBytes(S,U=D){J(S,U);let W;if(U==="der"){const{r:Z,s:h}=ar.toSig(Vn(S));return new q(Z,h)}U==="recovered"&&(W=S[0],U="compact",S=S.subarray(1));const $=d.BYTES,et=S.subarray(0,$),ut=S.subarray($,$*2);return new q(d.fromBytes(et),d.fromBytes(ut),W)}static fromHex(S,U){return this.fromBytes(po(S),U)}addRecoveryBit(S){return new q(this.r,this.s,S)}recoverPublicKey(S){const U=a.ORDER,{r:W,s:$,recovery:et}=this;if(et==null||![0,1,2,3].includes(et))throw new Error("recovery id invalid");if(E*Ac<U&&et>1)throw new Error("recovery id is ambiguous for h>1 curve");const Z=et===2||et===3?W+E:W;if(!a.isValid(Z))throw new Error("recovery id 2 or 3 invalid");const h=a.toBytes(Z),_=t.fromBytes(Xn(Sc((et&1)===0),h)),j=d.inv(Z),K=pt(Ze("msgHash",S)),ht=d.create(-K*j),St=d.create($*j),Ft=t.BASE.multiplyUnsafe(ht).add(_.multiplyUnsafe(St));if(Ft.is0())throw new Error("point at infinify");return Ft.assertValidity(),Ft}hasHighS(){return Y(this.s)}toBytes(S=D){if(Xs(S),S==="der")return po(ar.hexFromSig(this));const U=d.toBytes(this.r),W=d.toBytes(this.s);if(S==="recovered"){if(this.recovery==null)throw new Error("recovery bit must be present");return Xn(Uint8Array.of(this.recovery),U,W)}return Xn(U,W)}toHex(S){return Br(this.toBytes(S))}assertValidity(){}static fromCompact(S){return q.fromBytes(Ze("sig",S),"compact")}static fromDER(S){return q.fromBytes(Ze("sig",S),"der")}normalizeS(){return this.hasHighS()?new q(this.r,d.neg(this.s),this.recovery):this}toDERRawBytes(){return this.toBytes("der")}toDERHex(){return Br(this.toBytes("der"))}toCompactRawBytes(){return this.toBytes("compact")}toCompactHex(){return Br(this.toBytes("compact"))}}const ot=r.bits2int||function(S){if(S.length>8192)throw new Error("input is too large");const U=wo(S),W=S.length*8-l;return W>0?U>>BigInt(W):U},pt=r.bits2int_modN||function(S){return d.create(ot(S))},ft=Ii(l);function Rt(f){return As("num < 2^"+l,f,ur,ft),d.toBytes(f)}function At(f,S){return Vn(f,void 0,"message"),S?Vn(n(f),void 0,"prehashed message"):f}function st(f,S,U){if(["recovered","canonical"].some(ht=>ht in U))throw new Error("sign() legacy options not supported");const{lowS:W,prehash:$,extraEntropy:et}=qs(U,M);f=At(f,$);const ut=pt(f),Z=ai(d,S),h=[Rt(Z),Rt(ut)];if(et!=null&&et!==!1){const ht=et===!0?e(L.secretKey):et;h.push(Ze("extraEntropy",ht))}const _=Xn(...h),j=ut;function K(ht){const St=ot(ht);if(!d.isValidNot0(St))return;const Ft=d.inv(St),Zt=t.BASE.multiply(St).toAffine(),de=d.create(Zt.x);if(de===ur)return;const me=d.create(Ft*d.create(j+de*Z));if(me===ur)return;let ye=(Zt.x===de?0:2)|Number(Zt.y&si),Oe=me;return W&&Y(me)&&(Oe=d.neg(me),ye^=1),new q(de,Oe,ye)}return{seed:_,k2sig:K}}function lt(f,S,U={}){f=Ze("message",f);const{seed:W,k2sig:$}=st(f,S,U);return vd(n.outputLen,d.BYTES,u)(W,$)}function mt(f){let S;const U=typeof f=="string"||Ai(f),W=!U&&f!==null&&typeof f=="object"&&typeof f.r=="bigint"&&typeof f.s=="bigint";if(!U&&!W)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");if(W)S=new q(f.r,f.s);else if(U){try{S=q.fromBytes(Ze("sig",f),"der")}catch($){if(!($ instanceof ar.Err))throw $}if(!S)try{S=q.fromBytes(Ze("sig",f),"compact")}catch{return!1}}return S||!1}function wt(f,S,U,W={}){const{lowS:$,prehash:et,format:ut}=qs(W,M);if(U=Ze("publicKey",U),S=At(Ze("message",S),et),"strict"in W)throw new Error("options.strict was renamed to lowS");const Z=ut===void 0?mt(f):q.fromBytes(Ze("sig",f),ut);if(Z===!1)return!1;try{const h=t.fromBytes(U);if($&&Z.hasHighS())return!1;const{r:_,s:j}=Z,K=pt(S),ht=d.inv(j),St=d.create(K*ht),Ft=d.create(_*ht),Zt=t.BASE.multiplyUnsafe(St).add(h.multiplyUnsafe(Ft));return Zt.is0()?!1:d.create(Zt.x)===_}catch{return!1}}function P(f,S,U={}){const{prehash:W}=qs(U,M);return S=At(S,W),q.fromBytes(f,"recovered").recoverPublicKey(S).toBytes()}return Object.freeze({keygen:b,getPublicKey:N,getSharedSecret:x,utils:T,lengths:L,Point:t,sign:lt,verify:wt,recoverPublicKey:P,Signature:q,hash:n})}function c3(t){const n={a:t.a,b:t.b,p:t.Fp.ORDER,n:t.n,h:t.h,Gx:t.Gx,Gy:t.Gy},r=t.Fp;let e=t.allowedPrivateKeyLengths?Array.from(new Set(t.allowedPrivateKeyLengths.map(d=>Math.ceil(d/2)))):void 0;const u=Ur(n.n,{BITS:t.nBitLength,allowedLengths:e,modFromBytes:t.wrapPrivateKey}),a={Fp:r,Fn:u,allowInfinityPoint:t.allowInfinityPoint,endo:t.endo,isTorsionFree:t.isTorsionFree,clearCofactor:t.clearCofactor,fromBytes:t.fromBytes,toBytes:t.toBytes};return{CURVE:n,curveOpts:a}}function f3(t){const{CURVE:n,curveOpts:r}=c3(t),e={hmac:t.hmac,randomBytes:t.randomBytes,lowS:t.lowS,bits2int:t.bits2int,bits2int_modN:t.bits2int_modN};return{CURVE:n,curveOpts:r,hash:t.hash,ecdsaOpts:e}}function l3(t,n){const r=n.Point;return Object.assign({},n,{ProjectivePoint:r,CURVE:Object.assign({},t,Tu(r.Fn.ORDER,r.Fn.BITS))})}function d3(t){const{CURVE:n,curveOpts:r,hash:e,ecdsaOpts:u}=f3(t),a=s3(n,r),d=u3(a,e,u);return l3(t,d)}function h3(t,n){const r=e=>d3({...t,hash:e});return{...r(n),create:r}}const $s={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:BigInt(1),a:BigInt(0),b:BigInt(7),Gx:BigInt("0x79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),Gy:BigInt("0x483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8")},p3={beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),basises:[[BigInt("0x3086d221a7d46bcde86c90e49284eb15"),-BigInt("0xe4437ed6010e88286f547fa90abfe4c3")],[BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),BigInt("0x3086d221a7d46bcde86c90e49284eb15")]]},Oc=BigInt(2);function v3(t){const n=$s.p,r=BigInt(3),e=BigInt(6),u=BigInt(11),a=BigInt(22),d=BigInt(23),E=BigInt(44),l=BigInt(88),b=t*t*t%n,N=b*b*t%n,x=Ke(N,r,n)*N%n,T=Ke(x,r,n)*N%n,L=Ke(T,Oc,n)*b%n,M=Ke(L,u,n)*L%n,D=Ke(M,a,n)*M%n,Y=Ke(D,E,n)*D%n,z=Ke(Y,l,n)*Y%n,J=Ke(z,E,n)*D%n,q=Ke(J,r,n)*N%n,ot=Ke(q,d,n)*M%n,pt=Ke(ot,e,n)*b%n,ft=Ke(pt,Oc,n);if(!Js.eql(Js.sqr(ft),t))throw new Error("Cannot find square root");return ft}const Js=Ur($s.p,{sqrt:v3}),g3=h3({...$s,Fp:Js,lowS:!0,endo:p3},pu);Ni.utils.randomPrivateKey,Ni.getPublicKey;function Nc(t){try{return Ni.ExtendedPoint.fromHex(t),!0}catch{return!1}}const Tc=(t,n)=>Ni.sign(t,n.slice(0,32)),m3=Ni.verify,Qs=t=>Re.Buffer.isBuffer(t)?t:t instanceof Uint8Array?Re.Buffer.from(t.buffer,t.byteOffset,t.byteLength):Re.Buffer.from(t);class xc{constructor(n){Object.assign(this,n)}encode(){return Re.Buffer.from(Ds.serialize(Bi,this))}static decode(n){return Ds.deserialize(Bi,this,n)}static decodeUnchecked(n){return Ds.deserializeUnchecked(Bi,this,n)}}const Bi=new Map;var Lc;const Cc=32,cr=32;function y3(t){return t._bn!==void 0}let Bc=1;class ge extends xc{constructor(n){if(super({}),this._bn=void 0,y3(n))this._bn=n._bn;else{if(typeof n=="string"){const r=In.decode(n);if(r.length!=cr)throw new Error("Invalid public key input");this._bn=new zu(r)}else this._bn=new zu(n);if(this._bn.byteLength()>cr)throw new Error("Invalid public key input")}}static unique(){const n=new ge(Bc);return Bc+=1,new ge(n.toBuffer())}equals(n){return this._bn.eq(n._bn)}toBase58(){return In.encode(this.toBytes())}toJSON(){return this.toBase58()}toBytes(){const n=this.toBuffer();return new Uint8Array(n.buffer,n.byteOffset,n.byteLength)}toBuffer(){const n=this._bn.toArrayLike(Re.Buffer);if(n.length===cr)return n;const r=Re.Buffer.alloc(32);return n.copy(r,32-n.length),r}get[Symbol.toStringTag](){return`PublicKey(${this.toString()})`}toString(){return this.toBase58()}static async createWithSeed(n,r,e){const u=Re.Buffer.concat([n.toBuffer(),Re.Buffer.from(r),e.toBuffer()]),a=qu(u);return new ge(a)}static createProgramAddressSync(n,r){let e=Re.Buffer.alloc(0);n.forEach(function(a){if(a.length>Cc)throw new TypeError("Max seed length exceeded");e=Re.Buffer.concat([e,Qs(a)])}),e=Re.Buffer.concat([e,r.toBuffer(),Re.Buffer.from("ProgramDerivedAddress")]);const u=qu(e);if(Nc(u))throw new Error("Invalid seeds, address must fall off the curve");return new ge(u)}static async createProgramAddress(n,r){return this.createProgramAddressSync(n,r)}static findProgramAddressSync(n,r){let e=255,u;for(;e!=0;){try{const a=n.concat(Re.Buffer.from([e]));u=this.createProgramAddressSync(a,r)}catch(a){if(a instanceof TypeError)throw a;e--;continue}return[u,e]}throw new Error("Unable to find a viable program address nonce")}static async findProgramAddress(n,r){return this.findProgramAddressSync(n,r)}static isOnCurve(n){const r=new ge(n);return Nc(r.toBytes())}}Lc=ge,ge.default=new Lc("11111111111111111111111111111111"),Bi.set(ge,{kind:"struct",fields:[["_bn","u256"]]}),new ge("BPFLoader1111111111111111111111111111111111");const Vr=1232,ko=127,Mi=64;class ki{constructor(n,r){this.staticAccountKeys=void 0,this.accountKeysFromLookups=void 0,this.staticAccountKeys=n,this.accountKeysFromLookups=r}keySegments(){const n=[this.staticAccountKeys];return this.accountKeysFromLookups&&(n.push(this.accountKeysFromLookups.writable),n.push(this.accountKeysFromLookups.readonly)),n}get(n){for(const r of this.keySegments()){if(n<r.length)return r[n];n-=r.length}}get length(){return this.keySegments().flat().length}compileInstructions(n){if(this.length>256)throw new Error("Account index overflow encountered during compilation");const e=new Map;this.keySegments().flat().forEach((a,d)=>{e.set(a.toBase58(),d)});const u=a=>{const d=e.get(a.toBase58());if(d===void 0)throw new Error("Encountered an unknown instruction account key during compilation");return d};return n.map(a=>({programIdIndex:u(a.programId),accountKeyIndexes:a.keys.map(d=>u(d.pubkey)),data:a.data}))}}const Ae=(t="publicKey")=>dt.blob(32,t),w3=(t="signature")=>dt.blob(64,t),ui=(t="string")=>{const n=dt.struct([dt.u32("length"),dt.u32("lengthPadding"),dt.blob(dt.offset(dt.u32(),-8),"chars")],t),r=n.decode.bind(n),e=n.encode.bind(n),u=n;return u.decode=(a,d)=>r(a,d).chars.toString(),u.encode=(a,d,E)=>{const l={chars:Re.Buffer.from(a,"utf8")};return e(l,d,E)},u.alloc=a=>dt.u32().span+dt.u32().span+Re.Buffer.from(a,"utf8").length,u},E3=(t="authorized")=>dt.struct([Ae("staker"),Ae("withdrawer")],t),b3=(t="lockup")=>dt.struct([dt.ns64("unixTimestamp"),dt.ns64("epoch"),Ae("custodian")],t),_3=(t="voteInit")=>dt.struct([Ae("nodePubkey"),Ae("authorizedVoter"),Ae("authorizedWithdrawer"),dt.u8("commission")],t),R3=(t="voteAuthorizeWithSeedArgs")=>dt.struct([dt.u32("voteAuthorizationType"),Ae("currentAuthorityDerivedKeyOwnerPubkey"),ui("currentAuthorityDerivedKeySeed"),Ae("newAuthorized")],t);function Bn(t){let n=0,r=0;for(;;){let e=t.shift();if(n|=(e&127)<<r*7,r+=1,(e&128)===0)break}return n}function Mn(t,n){let r=n;for(;;){let e=r&127;if(r>>=7,r==0){t.push(e);break}else e|=128,t.push(e)}}function cn(t,n){if(!t)throw new Error(n||"Assertion failed")}class Uo{constructor(n,r){this.payer=void 0,this.keyMetaMap=void 0,this.payer=n,this.keyMetaMap=r}static compile(n,r){const e=new Map,u=d=>{const E=d.toBase58();let l=e.get(E);return l===void 0&&(l={isSigner:!1,isWritable:!1,isInvoked:!1},e.set(E,l)),l},a=u(r);a.isSigner=!0,a.isWritable=!0;for(const d of n){u(d.programId).isInvoked=!0;for(const E of d.keys){const l=u(E.pubkey);l.isSigner||=E.isSigner,l.isWritable||=E.isWritable}}return new Uo(r,e)}getMessageComponents(){const n=[...this.keyMetaMap.entries()];cn(n.length<=256,"Max static account keys length exceeded");const r=n.filter(([,l])=>l.isSigner&&l.isWritable),e=n.filter(([,l])=>l.isSigner&&!l.isWritable),u=n.filter(([,l])=>!l.isSigner&&l.isWritable),a=n.filter(([,l])=>!l.isSigner&&!l.isWritable),d={numRequiredSignatures:r.length+e.length,numReadonlySignedAccounts:e.length,numReadonlyUnsignedAccounts:a.length};{cn(r.length>0,"Expected at least one writable signer key");const[l]=r[0];cn(l===this.payer.toBase58(),"Expected first writable signer key to be the fee payer")}const E=[...r.map(([l])=>new ge(l)),...e.map(([l])=>new ge(l)),...u.map(([l])=>new ge(l)),...a.map(([l])=>new ge(l))];return[d,E]}extractTableLookup(n){const[r,e]=this.drainKeysFoundInLookupTable(n.state.addresses,d=>!d.isSigner&&!d.isInvoked&&d.isWritable),[u,a]=this.drainKeysFoundInLookupTable(n.state.addresses,d=>!d.isSigner&&!d.isInvoked&&!d.isWritable);if(!(r.length===0&&u.length===0))return[{accountKey:n.key,writableIndexes:r,readonlyIndexes:u},{writable:e,readonly:a}]}drainKeysFoundInLookupTable(n,r){const e=new Array,u=new Array;for(const[a,d]of this.keyMetaMap.entries())if(r(d)){const E=new ge(a),l=n.findIndex(b=>b.equals(E));l>=0&&(cn(l<256,"Max lookup table index exceeded"),e.push(l),u.push(E),this.keyMetaMap.delete(a))}return[e,u]}}const Mc="Reached end of buffer unexpectedly";function fr(t){if(t.length===0)throw new Error(Mc);return t.shift()}function kn(t,...n){const[r]=n;if(n.length===2?r+(n[1]??0)>t.length:r>=t.length)throw new Error(Mc);return t.splice(...n)}class Hr{constructor(n){this.header=void 0,this.accountKeys=void 0,this.recentBlockhash=void 0,this.instructions=void 0,this.indexToProgramIds=new Map,this.header=n.header,this.accountKeys=n.accountKeys.map(r=>new ge(r)),this.recentBlockhash=n.recentBlockhash,this.instructions=n.instructions,this.instructions.forEach(r=>this.indexToProgramIds.set(r.programIdIndex,this.accountKeys[r.programIdIndex]))}get version(){return"legacy"}get staticAccountKeys(){return this.accountKeys}get compiledInstructions(){return this.instructions.map(n=>({programIdIndex:n.programIdIndex,accountKeyIndexes:n.accounts,data:In.decode(n.data)}))}get addressTableLookups(){return[]}getAccountKeys(){return new ki(this.staticAccountKeys)}static compile(n){const r=Uo.compile(n.instructions,n.payerKey),[e,u]=r.getMessageComponents(),d=new ki(u).compileInstructions(n.instructions).map(E=>({programIdIndex:E.programIdIndex,accounts:E.accountKeyIndexes,data:In.encode(E.data)}));return new Hr({header:e,accountKeys:u,recentBlockhash:n.recentBlockhash,instructions:d})}isAccountSigner(n){return n<this.header.numRequiredSignatures}isAccountWritable(n){const r=this.header.numRequiredSignatures;if(n>=this.header.numRequiredSignatures){const e=n-r,a=this.accountKeys.length-r-this.header.numReadonlyUnsignedAccounts;return e<a}else{const e=r-this.header.numReadonlySignedAccounts;return n<e}}isProgramId(n){return this.indexToProgramIds.has(n)}programIds(){return[...this.indexToProgramIds.values()]}nonProgramIds(){return this.accountKeys.filter((n,r)=>!this.isProgramId(r))}serialize(){const n=this.accountKeys.length;let r=[];Mn(r,n);const e=this.instructions.map(x=>{const{accounts:T,programIdIndex:L}=x,M=Array.from(In.decode(x.data));let D=[];Mn(D,T.length);let Y=[];return Mn(Y,M.length),{programIdIndex:L,keyIndicesCount:Re.Buffer.from(D),keyIndices:T,dataLength:Re.Buffer.from(Y),data:M}});let u=[];Mn(u,e.length);let a=Re.Buffer.alloc(Vr);Re.Buffer.from(u).copy(a);let d=u.length;e.forEach(x=>{const L=dt.struct([dt.u8("programIdIndex"),dt.blob(x.keyIndicesCount.length,"keyIndicesCount"),dt.seq(dt.u8("keyIndex"),x.keyIndices.length,"keyIndices"),dt.blob(x.dataLength.length,"dataLength"),dt.seq(dt.u8("userdatum"),x.data.length,"data")]).encode(x,a,d);d+=L}),a=a.slice(0,d);const E=dt.struct([dt.blob(1,"numRequiredSignatures"),dt.blob(1,"numReadonlySignedAccounts"),dt.blob(1,"numReadonlyUnsignedAccounts"),dt.blob(r.length,"keyCount"),dt.seq(Ae("key"),n,"keys"),Ae("recentBlockhash")]),l={numRequiredSignatures:Re.Buffer.from([this.header.numRequiredSignatures]),numReadonlySignedAccounts:Re.Buffer.from([this.header.numReadonlySignedAccounts]),numReadonlyUnsignedAccounts:Re.Buffer.from([this.header.numReadonlyUnsignedAccounts]),keyCount:Re.Buffer.from(r),keys:this.accountKeys.map(x=>Qs(x.toBytes())),recentBlockhash:In.decode(this.recentBlockhash)};let b=Re.Buffer.alloc(2048);const N=E.encode(l,b);return a.copy(b,N),b.slice(0,N+a.length)}static from(n){let r=[...n];const e=fr(r);if(e!==(e&ko))throw new Error("Versioned messages must be deserialized with VersionedMessage.deserialize()");const u=fr(r),a=fr(r),d=Bn(r);let E=[];for(let T=0;T<d;T++){const L=kn(r,0,cr);E.push(new ge(Re.Buffer.from(L)))}const l=kn(r,0,cr),b=Bn(r);let N=[];for(let T=0;T<b;T++){const L=fr(r),M=Bn(r),D=kn(r,0,M),Y=Bn(r),z=kn(r,0,Y),J=In.encode(Re.Buffer.from(z));N.push({programIdIndex:L,accounts:D,data:J})}const x={header:{numRequiredSignatures:e,numReadonlySignedAccounts:u,numReadonlyUnsignedAccounts:a},recentBlockhash:In.encode(Re.Buffer.from(l)),accountKeys:E,instructions:N};return new Hr(x)}}class Ui{constructor(n){this.header=void 0,this.staticAccountKeys=void 0,this.recentBlockhash=void 0,this.compiledInstructions=void 0,this.addressTableLookups=void 0,this.header=n.header,this.staticAccountKeys=n.staticAccountKeys,this.recentBlockhash=n.recentBlockhash,this.compiledInstructions=n.compiledInstructions,this.addressTableLookups=n.addressTableLookups}get version(){return 0}get numAccountKeysFromLookups(){let n=0;for(const r of this.addressTableLookups)n+=r.readonlyIndexes.length+r.writableIndexes.length;return n}getAccountKeys(n){let r;if(n&&"accountKeysFromLookups"in n&&n.accountKeysFromLookups){if(this.numAccountKeysFromLookups!=n.accountKeysFromLookups.writable.length+n.accountKeysFromLookups.readonly.length)throw new Error("Failed to get account keys because of a mismatch in the number of account keys from lookups");r=n.accountKeysFromLookups}else if(n&&"addressLookupTableAccounts"in n&&n.addressLookupTableAccounts)r=this.resolveAddressTableLookups(n.addressLookupTableAccounts);else if(this.addressTableLookups.length>0)throw new Error("Failed to get account keys because address table lookups were not resolved");return new ki(this.staticAccountKeys,r)}isAccountSigner(n){return n<this.header.numRequiredSignatures}isAccountWritable(n){const r=this.header.numRequiredSignatures,e=this.staticAccountKeys.length;if(n>=e){const u=n-e,a=this.addressTableLookups.reduce((d,E)=>d+E.writableIndexes.length,0);return u<a}else if(n>=this.header.numRequiredSignatures){const u=n-r,d=e-r-this.header.numReadonlyUnsignedAccounts;return u<d}else{const u=r-this.header.numReadonlySignedAccounts;return n<u}}resolveAddressTableLookups(n){const r={writable:[],readonly:[]};for(const e of this.addressTableLookups){const u=n.find(a=>a.key.equals(e.accountKey));if(!u)throw new Error(`Failed to find address lookup table account for table key ${e.accountKey.toBase58()}`);for(const a of e.writableIndexes)if(a<u.state.addresses.length)r.writable.push(u.state.addresses[a]);else throw new Error(`Failed to find address for index ${a} in address lookup table ${e.accountKey.toBase58()}`);for(const a of e.readonlyIndexes)if(a<u.state.addresses.length)r.readonly.push(u.state.addresses[a]);else throw new Error(`Failed to find address for index ${a} in address lookup table ${e.accountKey.toBase58()}`)}return r}static compile(n){const r=Uo.compile(n.instructions,n.payerKey),e=new Array,u={writable:new Array,readonly:new Array},a=n.addressLookupTableAccounts||[];for(const N of a){const x=r.extractTableLookup(N);if(x!==void 0){const[T,{writable:L,readonly:M}]=x;e.push(T),u.writable.push(...L),u.readonly.push(...M)}}const[d,E]=r.getMessageComponents(),b=new ki(E,u).compileInstructions(n.instructions);return new Ui({header:d,staticAccountKeys:E,recentBlockhash:n.recentBlockhash,compiledInstructions:b,addressTableLookups:e})}serialize(){const n=Array();Mn(n,this.staticAccountKeys.length);const r=this.serializeInstructions(),e=Array();Mn(e,this.compiledInstructions.length);const u=this.serializeAddressTableLookups(),a=Array();Mn(a,this.addressTableLookups.length);const d=dt.struct([dt.u8("prefix"),dt.struct([dt.u8("numRequiredSignatures"),dt.u8("numReadonlySignedAccounts"),dt.u8("numReadonlyUnsignedAccounts")],"header"),dt.blob(n.length,"staticAccountKeysLength"),dt.seq(Ae(),this.staticAccountKeys.length,"staticAccountKeys"),Ae("recentBlockhash"),dt.blob(e.length,"instructionsLength"),dt.blob(r.length,"serializedInstructions"),dt.blob(a.length,"addressTableLookupsLength"),dt.blob(u.length,"serializedAddressTableLookups")]),E=new Uint8Array(Vr),b=d.encode({prefix:128,header:this.header,staticAccountKeysLength:new Uint8Array(n),staticAccountKeys:this.staticAccountKeys.map(N=>N.toBytes()),recentBlockhash:In.decode(this.recentBlockhash),instructionsLength:new Uint8Array(e),serializedInstructions:r,addressTableLookupsLength:new Uint8Array(a),serializedAddressTableLookups:u},E);return E.slice(0,b)}serializeInstructions(){let n=0;const r=new Uint8Array(Vr);for(const e of this.compiledInstructions){const u=Array();Mn(u,e.accountKeyIndexes.length);const a=Array();Mn(a,e.data.length);const d=dt.struct([dt.u8("programIdIndex"),dt.blob(u.length,"encodedAccountKeyIndexesLength"),dt.seq(dt.u8(),e.accountKeyIndexes.length,"accountKeyIndexes"),dt.blob(a.length,"encodedDataLength"),dt.blob(e.data.length,"data")]);n+=d.encode({programIdIndex:e.programIdIndex,encodedAccountKeyIndexesLength:new Uint8Array(u),accountKeyIndexes:e.accountKeyIndexes,encodedDataLength:new Uint8Array(a),data:e.data},r,n)}return r.slice(0,n)}serializeAddressTableLookups(){let n=0;const r=new Uint8Array(Vr);for(const e of this.addressTableLookups){const u=Array();Mn(u,e.writableIndexes.length);const a=Array();Mn(a,e.readonlyIndexes.length);const d=dt.struct([Ae("accountKey"),dt.blob(u.length,"encodedWritableIndexesLength"),dt.seq(dt.u8(),e.writableIndexes.length,"writableIndexes"),dt.blob(a.length,"encodedReadonlyIndexesLength"),dt.seq(dt.u8(),e.readonlyIndexes.length,"readonlyIndexes")]);n+=d.encode({accountKey:e.accountKey.toBytes(),encodedWritableIndexesLength:new Uint8Array(u),writableIndexes:e.writableIndexes,encodedReadonlyIndexesLength:new Uint8Array(a),readonlyIndexes:e.readonlyIndexes},r,n)}return r.slice(0,n)}static deserialize(n){let r=[...n];const e=fr(r),u=e&ko;cn(e!==u,"Expected versioned message but received legacy message");const a=u;cn(a===0,`Expected versioned message with version 0 but found version ${a}`);const d={numRequiredSignatures:fr(r),numReadonlySignedAccounts:fr(r),numReadonlyUnsignedAccounts:fr(r)},E=[],l=Bn(r);for(let M=0;M<l;M++)E.push(new ge(kn(r,0,cr)));const b=In.encode(kn(r,0,cr)),N=Bn(r),x=[];for(let M=0;M<N;M++){const D=fr(r),Y=Bn(r),z=kn(r,0,Y),J=Bn(r),q=new Uint8Array(kn(r,0,J));x.push({programIdIndex:D,accountKeyIndexes:z,data:q})}const T=Bn(r),L=[];for(let M=0;M<T;M++){const D=new ge(kn(r,0,cr)),Y=Bn(r),z=kn(r,0,Y),J=Bn(r),q=kn(r,0,J);L.push({accountKey:D,writableIndexes:z,readonlyIndexes:q})}return new Ui({header:d,staticAccountKeys:E,recentBlockhash:b,compiledInstructions:x,addressTableLookups:L})}}const ta={deserializeMessageVersion(t){const n=t[0],r=n&ko;return r===n?"legacy":r},deserialize:t=>{const n=ta.deserializeMessageVersion(t);if(n==="legacy")return Hr.from(t);if(n===0)return Ui.deserialize(t);throw new Error(`Transaction message version ${n} deserialization is not supported`)}},A3=Re.Buffer.alloc(Mi).fill(0);class ea{constructor(n){this.keys=void 0,this.programId=void 0,this.data=Re.Buffer.alloc(0),this.programId=n.programId,this.keys=n.keys,n.data&&(this.data=n.data)}toJSON(){return{keys:this.keys.map(({pubkey:n,isSigner:r,isWritable:e})=>({pubkey:n.toJSON(),isSigner:r,isWritable:e})),programId:this.programId.toJSON(),data:[...this.data]}}}class Do{get signature(){return this.signatures.length>0?this.signatures[0].signature:null}constructor(n){if(this.signatures=[],this.feePayer=void 0,this.instructions=[],this.recentBlockhash=void 0,this.lastValidBlockHeight=void 0,this.nonceInfo=void 0,this.minNonceContextSlot=void 0,this._message=void 0,this._json=void 0,!!n)if(n.feePayer&&(this.feePayer=n.feePayer),n.signatures&&(this.signatures=n.signatures),Object.prototype.hasOwnProperty.call(n,"nonceInfo")){const{minContextSlot:r,nonceInfo:e}=n;this.minNonceContextSlot=r,this.nonceInfo=e}else if(Object.prototype.hasOwnProperty.call(n,"lastValidBlockHeight")){const{blockhash:r,lastValidBlockHeight:e}=n;this.recentBlockhash=r,this.lastValidBlockHeight=e}else{const{recentBlockhash:r,nonceInfo:e}=n;e&&(this.nonceInfo=e),this.recentBlockhash=r}}toJSON(){return{recentBlockhash:this.recentBlockhash||null,feePayer:this.feePayer?this.feePayer.toJSON():null,nonceInfo:this.nonceInfo?{nonce:this.nonceInfo.nonce,nonceInstruction:this.nonceInfo.nonceInstruction.toJSON()}:null,instructions:this.instructions.map(n=>n.toJSON()),signers:this.signatures.map(({publicKey:n})=>n.toJSON())}}add(...n){if(n.length===0)throw new Error("No instructions");return n.forEach(r=>{"instructions"in r?this.instructions=this.instructions.concat(r.instructions):"data"in r&&"programId"in r&&"keys"in r?this.instructions.push(r):this.instructions.push(new ea(r))}),this}compileMessage(){if(this._message&&JSON.stringify(this.toJSON())===JSON.stringify(this._json))return this._message;let n,r;if(this.nonceInfo?(n=this.nonceInfo.nonce,this.instructions[0]!=this.nonceInfo.nonceInstruction?r=[this.nonceInfo.nonceInstruction,...this.instructions]:r=this.instructions):(n=this.recentBlockhash,r=this.instructions),!n)throw new Error("Transaction recentBlockhash required");r.length<1&&console.warn("No instructions provided");let e;if(this.feePayer)e=this.feePayer;else if(this.signatures.length>0&&this.signatures[0].publicKey)e=this.signatures[0].publicKey;else throw new Error("Transaction fee payer required");for(let D=0;D<r.length;D++)if(r[D].programId===void 0)throw new Error(`Transaction instruction index ${D} has undefined program id`);const u=[],a=[];r.forEach(D=>{D.keys.forEach(z=>{a.push({...z})});const Y=D.programId.toString();u.includes(Y)||u.push(Y)}),u.forEach(D=>{a.push({pubkey:new ge(D),isSigner:!1,isWritable:!1})});const d=[];a.forEach(D=>{const Y=D.pubkey.toString(),z=d.findIndex(J=>J.pubkey.toString()===Y);z>-1?(d[z].isWritable=d[z].isWritable||D.isWritable,d[z].isSigner=d[z].isSigner||D.isSigner):d.push(D)}),d.sort(function(D,Y){if(D.isSigner!==Y.isSigner)return D.isSigner?-1:1;if(D.isWritable!==Y.isWritable)return D.isWritable?-1:1;const z={localeMatcher:"best fit",usage:"sort",sensitivity:"variant",ignorePunctuation:!1,numeric:!1,caseFirst:"lower"};return D.pubkey.toBase58().localeCompare(Y.pubkey.toBase58(),"en",z)});const E=d.findIndex(D=>D.pubkey.equals(e));if(E>-1){const[D]=d.splice(E,1);D.isSigner=!0,D.isWritable=!0,d.unshift(D)}else d.unshift({pubkey:e,isSigner:!0,isWritable:!0});for(const D of this.signatures){const Y=d.findIndex(z=>z.pubkey.equals(D.publicKey));if(Y>-1)d[Y].isSigner||(d[Y].isSigner=!0,console.warn("Transaction references a signature that is unnecessary, only the fee payer and instruction signer accounts should sign a transaction. This behavior is deprecated and will throw an error in the next major version release."));else throw new Error(`unknown signer: ${D.publicKey.toString()}`)}let l=0,b=0,N=0;const x=[],T=[];d.forEach(({pubkey:D,isSigner:Y,isWritable:z})=>{Y?(x.push(D.toString()),l+=1,z||(b+=1)):(T.push(D.toString()),z||(N+=1))});const L=x.concat(T),M=r.map(D=>{const{data:Y,programId:z}=D;return{programIdIndex:L.indexOf(z.toString()),accounts:D.keys.map(J=>L.indexOf(J.pubkey.toString())),data:In.encode(Y)}});return M.forEach(D=>{cn(D.programIdIndex>=0),D.accounts.forEach(Y=>cn(Y>=0))}),new Hr({header:{numRequiredSignatures:l,numReadonlySignedAccounts:b,numReadonlyUnsignedAccounts:N},accountKeys:L,recentBlockhash:n,instructions:M})}_compile(){const n=this.compileMessage(),r=n.accountKeys.slice(0,n.header.numRequiredSignatures);return this.signatures.length===r.length&&this.signatures.every((u,a)=>r[a].equals(u.publicKey))||(this.signatures=r.map(e=>({signature:null,publicKey:e}))),n}serializeMessage(){return this._compile().serialize()}async getEstimatedFee(n){return(await n.getFeeForMessage(this.compileMessage())).value}setSigners(...n){if(n.length===0)throw new Error("No signers");const r=new Set;this.signatures=n.filter(e=>{const u=e.toString();return r.has(u)?!1:(r.add(u),!0)}).map(e=>({signature:null,publicKey:e}))}sign(...n){if(n.length===0)throw new Error("No signers");const r=new Set,e=[];for(const a of n){const d=a.publicKey.toString();r.has(d)||(r.add(d),e.push(a))}this.signatures=e.map(a=>({signature:null,publicKey:a.publicKey}));const u=this._compile();this._partialSign(u,...e)}partialSign(...n){if(n.length===0)throw new Error("No signers");const r=new Set,e=[];for(const a of n){const d=a.publicKey.toString();r.has(d)||(r.add(d),e.push(a))}const u=this._compile();this._partialSign(u,...e)}_partialSign(n,...r){const e=n.serialize();r.forEach(u=>{const a=Tc(e,u.secretKey);this._addSignature(u.publicKey,Qs(a))})}addSignature(n,r){this._compile(),this._addSignature(n,r)}_addSignature(n,r){cn(r.length===64);const e=this.signatures.findIndex(u=>n.equals(u.publicKey));if(e<0)throw new Error(`unknown signer: ${n.toString()}`);this.signatures[e].signature=Re.Buffer.from(r)}verifySignatures(n=!0){return!this._getMessageSignednessErrors(this.serializeMessage(),n)}_getMessageSignednessErrors(n,r){const e={};for(const{signature:u,publicKey:a}of this.signatures)u===null?r&&(e.missing||=[]).push(a):m3(u,n,a.toBytes())||(e.invalid||=[]).push(a);return e.invalid||e.missing?e:void 0}serialize(n){const{requireAllSignatures:r,verifySignatures:e}=Object.assign({requireAllSignatures:!0,verifySignatures:!0},n),u=this.serializeMessage();if(e){const a=this._getMessageSignednessErrors(u,r);if(a){let d="Signature verification failed.";throw a.invalid&&(d+=`
6
+ Invalid signature for public key${a.invalid.length===1?"":"(s)"} [\`${a.invalid.map(E=>E.toBase58()).join("`, `")}\`].`),a.missing&&(d+=`
7
+ Missing signature for public key${a.missing.length===1?"":"(s)"} [\`${a.missing.map(E=>E.toBase58()).join("`, `")}\`].`),new Error(d)}}return this._serialize(u)}_serialize(n){const{signatures:r}=this,e=[];Mn(e,r.length);const u=e.length+r.length*64+n.length,a=Re.Buffer.alloc(u);return cn(r.length<256),Re.Buffer.from(e).copy(a,0),r.forEach(({signature:d},E)=>{d!==null&&(cn(d.length===64,"signature has invalid length"),Re.Buffer.from(d).copy(a,e.length+E*64))}),n.copy(a,e.length+r.length*64),cn(a.length<=Vr,`Transaction too large: ${a.length} > ${Vr}`),a}get keys(){return cn(this.instructions.length===1),this.instructions[0].keys.map(n=>n.pubkey)}get programId(){return cn(this.instructions.length===1),this.instructions[0].programId}get data(){return cn(this.instructions.length===1),this.instructions[0].data}static from(n){let r=[...n];const e=Bn(r);let u=[];for(let a=0;a<e;a++){const d=kn(r,0,Mi);u.push(In.encode(Re.Buffer.from(d)))}return Do.populate(Hr.from(r),u)}static populate(n,r=[]){const e=new Do;return e.recentBlockhash=n.recentBlockhash,n.header.numRequiredSignatures>0&&(e.feePayer=n.accountKeys[0]),r.forEach((u,a)=>{const d={signature:u==In.encode(A3)?null:In.decode(u),publicKey:n.accountKeys[a]};e.signatures.push(d)}),n.instructions.forEach(u=>{const a=u.accounts.map(d=>{const E=n.accountKeys[d];return{pubkey:E,isSigner:e.signatures.some(l=>l.publicKey.toString()===E.toString())||n.isAccountSigner(d),isWritable:n.isAccountWritable(d)}});e.instructions.push(new ea({keys:a,programId:n.accountKeys[u.programIdIndex],data:In.decode(u.data)}))}),e._message=n,e._json=e.toJSON(),e}}class na{get version(){return this.message.version}constructor(n,r){if(this.signatures=void 0,this.message=void 0,r!==void 0)cn(r.length===n.header.numRequiredSignatures,"Expected signatures length to be equal to the number of required signatures"),this.signatures=r;else{const e=[];for(let u=0;u<n.header.numRequiredSignatures;u++)e.push(new Uint8Array(Mi));this.signatures=e}this.message=n}serialize(){const n=this.message.serialize(),r=Array();Mn(r,this.signatures.length);const e=dt.struct([dt.blob(r.length,"encodedSignaturesLength"),dt.seq(w3(),this.signatures.length,"signatures"),dt.blob(n.length,"serializedMessage")]),u=new Uint8Array(2048),a=e.encode({encodedSignaturesLength:new Uint8Array(r),signatures:this.signatures,serializedMessage:n},u);return u.slice(0,a)}static deserialize(n){let r=[...n];const e=[],u=Bn(r);for(let d=0;d<u;d++)e.push(new Uint8Array(kn(r,0,Mi)));const a=ta.deserialize(new Uint8Array(r));return new na(a,e)}sign(n){const r=this.message.serialize(),e=this.message.staticAccountKeys.slice(0,this.message.header.numRequiredSignatures);for(const u of n){const a=e.findIndex(d=>d.equals(u.publicKey));cn(a>=0,`Cannot sign with non signer key ${u.publicKey.toBase58()}`),this.signatures[a]=Tc(r,u.secretKey)}}addSignature(n,r){cn(r.byteLength===64,"Signature must be 64 bytes long");const u=this.message.staticAccountKeys.slice(0,this.message.header.numRequiredSignatures).findIndex(a=>a.equals(n));cn(u>=0,`Can not add signature; \`${n.toBase58()}\` is not required to sign this transaction`),this.signatures[u]=r}}new ge("SysvarC1ock11111111111111111111111111111111"),new ge("SysvarEpochSchedu1e111111111111111111111111"),new ge("Sysvar1nstructions1111111111111111111111111"),new ge("SysvarRecentB1ockHashes11111111111111111111"),new ge("SysvarRent111111111111111111111111111111111"),new ge("SysvarRewards111111111111111111111111111111"),new ge("SysvarS1otHashes111111111111111111111111111"),new ge("SysvarS1otHistory11111111111111111111111111"),new ge("SysvarStakeHistory1111111111111111111111111");const kc=dt.nu64("lamportsPerSignature");dt.struct([dt.u32("version"),dt.u32("state"),Ae("authorizedPubkey"),Ae("nonce"),dt.struct([kc],"feeCalculator")]).span;function ci(t){const n=dt.blob(8,t),r=n.decode.bind(n),e=n.encode.bind(n),u=n,a=Ov();return u.decode=(d,E)=>{const l=r(d,E);return a.decode(l)},u.encode=(d,E,l)=>{const b=a.encode(d);return e(b,E,l)},u}Object.freeze({Create:{index:0,layout:dt.struct([dt.u32("instruction"),dt.ns64("lamports"),dt.ns64("space"),Ae("programId")])},Assign:{index:1,layout:dt.struct([dt.u32("instruction"),Ae("programId")])},Transfer:{index:2,layout:dt.struct([dt.u32("instruction"),ci("lamports")])},CreateWithSeed:{index:3,layout:dt.struct([dt.u32("instruction"),Ae("base"),ui("seed"),dt.ns64("lamports"),dt.ns64("space"),Ae("programId")])},AdvanceNonceAccount:{index:4,layout:dt.struct([dt.u32("instruction")])},WithdrawNonceAccount:{index:5,layout:dt.struct([dt.u32("instruction"),dt.ns64("lamports")])},InitializeNonceAccount:{index:6,layout:dt.struct([dt.u32("instruction"),Ae("authorized")])},AuthorizeNonceAccount:{index:7,layout:dt.struct([dt.u32("instruction"),Ae("authorized")])},Allocate:{index:8,layout:dt.struct([dt.u32("instruction"),dt.ns64("space")])},AllocateWithSeed:{index:9,layout:dt.struct([dt.u32("instruction"),Ae("base"),ui("seed"),dt.ns64("space"),Ae("programId")])},AssignWithSeed:{index:10,layout:dt.struct([dt.u32("instruction"),Ae("base"),ui("seed"),Ae("programId")])},TransferWithSeed:{index:11,layout:dt.struct([dt.u32("instruction"),ci("lamports"),ui("seed"),Ae("programId")])},UpgradeNonceAccount:{index:12,layout:dt.struct([dt.u32("instruction")])}}),new ge("11111111111111111111111111111111"),new ge("BPFLoader2111111111111111111111111111111111"),dt.struct([dt.u32("typeIndex"),ci("deactivationSlot"),dt.nu64("lastExtendedSlot"),dt.u8("lastExtendedStartIndex"),dt.u8(),dt.seq(Ae(),dt.offset(dt.u8(),-1),"authority")]);const Xe=Ci(Fs(ge),$t(),t=>new ge(t)),Uc=Vs([$t(),je("base64")]),ra=Ci(Fs(Re.Buffer),Uc,t=>Re.Buffer.from(t[0],"base64"));function Dc(t){return On([Pt({jsonrpc:je("2.0"),id:$t(),result:t}),Pt({jsonrpc:je("2.0"),id:$t(),error:Pt({code:oi(),message:$t(),data:fe(Mv())})})])}const S3=Dc(oi());function Fe(t){return Ci(Dc(t),S3,n=>"error"in n?n:{...n,result:xi(n.result,t)})}function Gn(t){return Fe(Pt({context:Pt({slot:It()}),value:t}))}function Po(t){return Pt({context:Pt({slot:It()}),value:t})}const I3=Pt({foundation:It(),foundationTerm:It(),initial:It(),taper:It(),terminal:It()});Fe(ie(oe(Pt({epoch:It(),effectiveSlot:It(),amount:It(),postBalance:It(),commission:fe(oe(It()))}))));const O3=ie(Pt({slot:It(),prioritizationFee:It()})),N3=Pt({total:It(),validator:It(),foundation:It(),epoch:It()}),T3=Pt({epoch:It(),slotIndex:It(),slotsInEpoch:It(),absoluteSlot:It(),blockHeight:fe(It()),transactionCount:fe(It())}),x3=Pt({slotsPerEpoch:It(),leaderScheduleSlotOffset:It(),warmup:Jn(),firstNormalEpoch:It(),firstNormalSlot:It()}),L3=lc($t(),ie(It())),Gr=oe(On([Pt({}),$t()])),C3=Pt({err:Gr}),B3=je("receivedSignature");Pt({"solana-core":$t(),"feature-set":fe(It())});const M3=Pt({program:$t(),programId:Xe,parsed:oi()}),k3=Pt({programId:Xe,accounts:ie(Xe),data:$t()});Gn(Pt({err:oe(On([Pt({}),$t()])),logs:oe(ie($t())),accounts:fe(oe(ie(oe(Pt({executable:Jn(),owner:$t(),lamports:It(),data:ie($t()),rentEpoch:fe(It())}))))),unitsConsumed:fe(It()),returnData:fe(oe(Pt({programId:$t(),data:Vs([$t(),je("base64")])}))),innerInstructions:fe(oe(ie(Pt({index:It(),instructions:ie(On([M3,k3]))}))))})),Gn(Pt({byIdentity:lc($t(),ie(It())),range:Pt({firstSlot:It(),lastSlot:It()})})),Fe(I3),Fe(N3),Fe(O3),Fe(T3),Fe(x3),Fe(L3),Fe(It()),Gn(Pt({total:It(),circulating:It(),nonCirculating:It(),nonCirculatingAccounts:ie(Xe)}));const U3=Pt({amount:$t(),uiAmount:oe(It()),decimals:It(),uiAmountString:fe($t())});Gn(ie(Pt({address:Xe,amount:$t(),uiAmount:oe(It()),decimals:It(),uiAmountString:fe($t())}))),Gn(ie(Pt({pubkey:Xe,account:Pt({executable:Jn(),owner:Xe,lamports:It(),data:ra,rentEpoch:It()})})));const ia=Pt({program:$t(),parsed:oi(),space:It()});Gn(ie(Pt({pubkey:Xe,account:Pt({executable:Jn(),owner:Xe,lamports:It(),data:ia,rentEpoch:It()})}))),Gn(ie(Pt({lamports:It(),address:Xe})));const oa=Pt({executable:Jn(),owner:Xe,lamports:It(),data:ra,rentEpoch:It()});Pt({pubkey:Xe,account:oa});const D3=Ci(On([Fs(Re.Buffer),ia]),On([Uc,ia]),t=>Array.isArray(t)?xi(t,ra):t),P3=Pt({executable:Jn(),owner:Xe,lamports:It(),data:D3,rentEpoch:It()});Pt({pubkey:Xe,account:P3}),Pt({state:On([je("active"),je("inactive"),je("activating"),je("deactivating")]),active:It(),inactive:It()}),Fe(ie(Pt({signature:$t(),slot:It(),err:Gr,memo:oe($t()),blockTime:fe(oe(It()))}))),Fe(ie(Pt({signature:$t(),slot:It(),err:Gr,memo:oe($t()),blockTime:fe(oe(It()))}))),Pt({subscription:It(),result:Po(oa)});const F3=Pt({pubkey:Xe,account:oa});Pt({subscription:It(),result:Po(F3)});const V3=Pt({parent:It(),slot:It(),root:It()});Pt({subscription:It(),result:V3});const H3=On([Pt({type:On([je("firstShredReceived"),je("completed"),je("optimisticConfirmation"),je("root")]),slot:It(),timestamp:It()}),Pt({type:je("createdBank"),parent:It(),slot:It(),timestamp:It()}),Pt({type:je("frozen"),slot:It(),timestamp:It(),stats:Pt({numTransactionEntries:It(),numSuccessfulTransactions:It(),numFailedTransactions:It(),maxTransactionsPerEntry:It()})}),Pt({type:je("dead"),slot:It(),timestamp:It(),err:$t()})]);Pt({subscription:It(),result:H3}),Pt({subscription:It(),result:Po(On([C3,B3]))}),Pt({subscription:It(),result:It()}),Pt({pubkey:$t(),gossip:oe($t()),tpu:oe($t()),rpc:oe($t()),version:oe($t())});const Pc=Pt({votePubkey:$t(),nodePubkey:$t(),activatedStake:It(),epochVoteAccount:Jn(),epochCredits:ie(Vs([It(),It(),It()])),commission:It(),lastVote:It(),rootSlot:oe(It())});Fe(Pt({current:ie(Pc),delinquent:ie(Pc)}));const G3=On([je("processed"),je("confirmed"),je("finalized")]),j3=Pt({slot:It(),confirmations:oe(It()),err:Gr,confirmationStatus:fe(G3)});Gn(ie(oe(j3))),Fe(It());const Fc=Pt({accountKey:Xe,writableIndexes:ie(It()),readonlyIndexes:ie(It())}),sa=Pt({signatures:ie($t()),message:Pt({accountKeys:ie($t()),header:Pt({numRequiredSignatures:It(),numReadonlySignedAccounts:It(),numReadonlyUnsignedAccounts:It()}),instructions:ie(Pt({accounts:ie(It()),data:$t(),programIdIndex:It()})),recentBlockhash:$t(),addressTableLookups:fe(ie(Fc))})}),Vc=Pt({pubkey:Xe,signer:Jn(),writable:Jn(),source:fe(On([je("transaction"),je("lookupTable")]))}),Hc=Pt({accountKeys:ie(Vc),signatures:ie($t())}),Gc=Pt({parsed:oi(),program:$t(),programId:Xe}),jc=Pt({accounts:ie(Xe),data:$t(),programId:Xe}),Y3=On([jc,Gc]),z3=On([Pt({parsed:oi(),program:$t(),programId:$t()}),Pt({accounts:ie($t()),data:$t(),programId:$t()})]),Yc=Ci(Y3,z3,t=>"accounts"in t?xi(t,jc):xi(t,Gc)),zc=Pt({signatures:ie($t()),message:Pt({accountKeys:ie(Vc),instructions:ie(Yc),recentBlockhash:$t(),addressTableLookups:fe(oe(ie(Fc)))})}),Fo=Pt({accountIndex:It(),mint:$t(),owner:fe($t()),programId:fe($t()),uiTokenAmount:U3}),Wc=Pt({writable:ie(Xe),readonly:ie(Xe)}),Vo=Pt({err:Gr,fee:It(),innerInstructions:fe(oe(ie(Pt({index:It(),instructions:ie(Pt({accounts:ie(It()),data:$t(),programIdIndex:It()}))})))),preBalances:ie(It()),postBalances:ie(It()),logMessages:fe(oe(ie($t()))),preTokenBalances:fe(oe(ie(Fo))),postTokenBalances:fe(oe(ie(Fo))),loadedAddresses:fe(Wc),computeUnitsConsumed:fe(It()),costUnits:fe(It())}),aa=Pt({err:Gr,fee:It(),innerInstructions:fe(oe(ie(Pt({index:It(),instructions:ie(Yc)})))),preBalances:ie(It()),postBalances:ie(It()),logMessages:fe(oe(ie($t()))),preTokenBalances:fe(oe(ie(Fo))),postTokenBalances:fe(oe(ie(Fo))),loadedAddresses:fe(Wc),computeUnitsConsumed:fe(It()),costUnits:fe(It())}),fi=On([je(0),je("legacy")]),jr=Pt({pubkey:$t(),lamports:It(),postBalance:oe(It()),rewardType:oe($t()),commission:fe(oe(It()))});Fe(oe(Pt({blockhash:$t(),previousBlockhash:$t(),parentSlot:It(),transactions:ie(Pt({transaction:sa,meta:oe(Vo),version:fe(fi)})),rewards:fe(ie(jr)),blockTime:oe(It()),blockHeight:oe(It())}))),Fe(oe(Pt({blockhash:$t(),previousBlockhash:$t(),parentSlot:It(),rewards:fe(ie(jr)),blockTime:oe(It()),blockHeight:oe(It())}))),Fe(oe(Pt({blockhash:$t(),previousBlockhash:$t(),parentSlot:It(),transactions:ie(Pt({transaction:Hc,meta:oe(Vo),version:fe(fi)})),rewards:fe(ie(jr)),blockTime:oe(It()),blockHeight:oe(It())}))),Fe(oe(Pt({blockhash:$t(),previousBlockhash:$t(),parentSlot:It(),transactions:ie(Pt({transaction:zc,meta:oe(aa),version:fe(fi)})),rewards:fe(ie(jr)),blockTime:oe(It()),blockHeight:oe(It())}))),Fe(oe(Pt({blockhash:$t(),previousBlockhash:$t(),parentSlot:It(),transactions:ie(Pt({transaction:Hc,meta:oe(aa),version:fe(fi)})),rewards:fe(ie(jr)),blockTime:oe(It()),blockHeight:oe(It())}))),Fe(oe(Pt({blockhash:$t(),previousBlockhash:$t(),parentSlot:It(),rewards:fe(ie(jr)),blockTime:oe(It()),blockHeight:oe(It())}))),Fe(oe(Pt({blockhash:$t(),previousBlockhash:$t(),parentSlot:It(),transactions:ie(Pt({transaction:sa,meta:oe(Vo)})),rewards:fe(ie(jr)),blockTime:oe(It())}))),Fe(oe(Pt({blockhash:$t(),previousBlockhash:$t(),parentSlot:It(),signatures:ie($t()),blockTime:oe(It())}))),Fe(oe(Pt({slot:It(),meta:oe(Vo),blockTime:fe(oe(It())),transaction:sa,version:fe(fi)}))),Fe(oe(Pt({slot:It(),transaction:zc,meta:oe(aa),blockTime:fe(oe(It())),version:fe(fi)}))),Gn(Pt({blockhash:$t(),lastValidBlockHeight:It()})),Gn(Jn());const W3=Pt({slot:It(),numTransactions:It(),numSlots:It(),samplePeriodSecs:It()});Fe(ie(W3)),Gn(oe(Pt({feeCalculator:Pt({lamportsPerSignature:It()})}))),Fe($t()),Fe($t());const Z3=Pt({err:Gr,logs:ie($t()),signature:$t()});Pt({result:Po(Z3),subscription:It()}),Object.freeze({CreateLookupTable:{index:0,layout:dt.struct([dt.u32("instruction"),ci("recentSlot"),dt.u8("bumpSeed")])},FreezeLookupTable:{index:1,layout:dt.struct([dt.u32("instruction")])},ExtendLookupTable:{index:2,layout:dt.struct([dt.u32("instruction"),ci(),dt.seq(Ae(),dt.offset(dt.u32(),-8),"addresses")])},DeactivateLookupTable:{index:3,layout:dt.struct([dt.u32("instruction")])},CloseLookupTable:{index:4,layout:dt.struct([dt.u32("instruction")])}}),new ge("AddressLookupTab1e1111111111111111111111111"),Object.freeze({RequestUnits:{index:0,layout:dt.struct([dt.u8("instruction"),dt.u32("units"),dt.u32("additionalFee")])},RequestHeapFrame:{index:1,layout:dt.struct([dt.u8("instruction"),dt.u32("bytes")])},SetComputeUnitLimit:{index:2,layout:dt.struct([dt.u8("instruction"),dt.u32("units")])},SetComputeUnitPrice:{index:3,layout:dt.struct([dt.u8("instruction"),ci("microLamports")])}}),new ge("ComputeBudget111111111111111111111111111111"),dt.struct([dt.u8("numSignatures"),dt.u8("padding"),dt.u16("signatureOffset"),dt.u16("signatureInstructionIndex"),dt.u16("publicKeyOffset"),dt.u16("publicKeyInstructionIndex"),dt.u16("messageDataOffset"),dt.u16("messageDataSize"),dt.u16("messageInstructionIndex")]),new ge("Ed25519SigVerify111111111111111111111111111"),g3.utils.isValidPrivateKey,dt.struct([dt.u8("numSignatures"),dt.u16("signatureOffset"),dt.u8("signatureInstructionIndex"),dt.u16("ethAddressOffset"),dt.u8("ethAddressInstructionIndex"),dt.u16("messageDataOffset"),dt.u16("messageDataSize"),dt.u8("messageInstructionIndex"),dt.blob(20,"ethAddress"),dt.blob(64,"signature"),dt.u8("recoveryId")]),new ge("KeccakSecp256k11111111111111111111111111111");var Zc;new ge("StakeConfig11111111111111111111111111111111");class ua{constructor(n,r,e){this.unixTimestamp=void 0,this.epoch=void 0,this.custodian=void 0,this.unixTimestamp=n,this.epoch=r,this.custodian=e}}Zc=ua,ua.default=new Zc(0,0,ge.default),Object.freeze({Initialize:{index:0,layout:dt.struct([dt.u32("instruction"),E3(),b3()])},Authorize:{index:1,layout:dt.struct([dt.u32("instruction"),Ae("newAuthorized"),dt.u32("stakeAuthorizationType")])},Delegate:{index:2,layout:dt.struct([dt.u32("instruction")])},Split:{index:3,layout:dt.struct([dt.u32("instruction"),dt.ns64("lamports")])},Withdraw:{index:4,layout:dt.struct([dt.u32("instruction"),dt.ns64("lamports")])},Deactivate:{index:5,layout:dt.struct([dt.u32("instruction")])},Merge:{index:7,layout:dt.struct([dt.u32("instruction")])},AuthorizeWithSeed:{index:8,layout:dt.struct([dt.u32("instruction"),Ae("newAuthorized"),dt.u32("stakeAuthorizationType"),ui("authoritySeed"),Ae("authorityOwner")])}}),new ge("Stake11111111111111111111111111111111111111"),Object.freeze({InitializeAccount:{index:0,layout:dt.struct([dt.u32("instruction"),_3()])},Authorize:{index:1,layout:dt.struct([dt.u32("instruction"),Ae("newAuthorized"),dt.u32("voteAuthorizationType")])},Withdraw:{index:3,layout:dt.struct([dt.u32("instruction"),dt.ns64("lamports")])},UpdateValidatorIdentity:{index:4,layout:dt.struct([dt.u32("instruction")])},AuthorizeWithSeed:{index:10,layout:dt.struct([dt.u32("instruction"),R3()])}}),new ge("Vote111111111111111111111111111111111111111"),new ge("Va1idator1nfo111111111111111111111111111111"),Pt({name:$t(),website:fe($t()),details:fe($t()),iconUrl:fe($t()),keybaseUsername:fe($t())}),new ge("Vote111111111111111111111111111111111111111"),dt.struct([Ae("nodePubkey"),Ae("authorizedWithdrawer"),dt.u8("commission"),dt.nu64(),dt.seq(dt.struct([dt.nu64("slot"),dt.u32("confirmationCount")]),dt.offset(dt.u32(),-8),"votes"),dt.u8("rootSlotValid"),dt.nu64("rootSlot"),dt.nu64(),dt.seq(dt.struct([dt.nu64("epoch"),Ae("authorizedVoter")]),dt.offset(dt.u32(),-8),"authorizedVoters"),dt.struct([dt.seq(dt.struct([Ae("authorizedPubkey"),dt.nu64("epochOfLastAuthorizedSwitch"),dt.nu64("targetEpoch")]),32,"buf"),dt.nu64("idx"),dt.u8("isEmpty")],"priorVoters"),dt.nu64(),dt.seq(dt.struct([dt.nu64("epoch"),dt.nu64("credits"),dt.nu64("prevCredits")]),dt.offset(dt.u32(),-8),"epochCredits"),dt.struct([dt.nu64("slot"),dt.nu64("timestamp")],"lastTimestamp")]);const K3=Object.freeze(Object.defineProperty({__proto__:null,FeeCalculatorLayout:kc,Lockup:ua,MAX_SEED_LENGTH:Cc,Message:Hr,MessageAccountKeys:ki,MessageV0:Ui,PACKET_DATA_SIZE:Vr,PUBLIC_KEY_LENGTH:cr,PublicKey:ge,SIGNATURE_LENGTH_IN_BYTES:Mi,SOLANA_SCHEMA:Bi,Struct:xc,Transaction:Do,TransactionInstruction:ea,VERSION_PREFIX_MASK:ko,VersionedMessage:ta,VersionedTransaction:na},Symbol.toStringTag,{value:"Module"}));function X3(t){if(t.length>=255)throw new TypeError("Alphabet too long");const n=new Uint8Array(256);for(let b=0;b<n.length;b++)n[b]=255;for(let b=0;b<t.length;b++){const N=t.charAt(b),x=N.charCodeAt(0);if(n[x]!==255)throw new TypeError(N+" is ambiguous");n[x]=b}const r=t.length,e=t.charAt(0),u=Math.log(r)/Math.log(256),a=Math.log(256)/Math.log(r);function d(b){if(b instanceof Uint8Array||(ArrayBuffer.isView(b)?b=new Uint8Array(b.buffer,b.byteOffset,b.byteLength):Array.isArray(b)&&(b=Uint8Array.from(b))),!(b instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(b.length===0)return"";let N=0,x=0,T=0;const L=b.length;for(;T!==L&&b[T]===0;)T++,N++;const M=(L-T)*a+1>>>0,D=new Uint8Array(M);for(;T!==L;){let J=b[T],q=0;for(let ot=M-1;(J!==0||q<x)&&ot!==-1;ot--,q++)J+=256*D[ot]>>>0,D[ot]=J%r>>>0,J=J/r>>>0;if(J!==0)throw new Error("Non-zero carry");x=q,T++}let Y=M-x;for(;Y!==M&&D[Y]===0;)Y++;let z=e.repeat(N);for(;Y<M;++Y)z+=t.charAt(D[Y]);return z}function E(b){if(typeof b!="string")throw new TypeError("Expected String");if(b.length===0)return new Uint8Array;let N=0,x=0,T=0;for(;b[N]===e;)x++,N++;const L=(b.length-N)*u+1>>>0,M=new Uint8Array(L);for(;N<b.length;){const J=b.charCodeAt(N);if(J>255)return;let q=n[J];if(q===255)return;let ot=0;for(let pt=L-1;(q!==0||ot<T)&&pt!==-1;pt--,ot++)q+=r*M[pt]>>>0,M[pt]=q%256>>>0,q=q/256>>>0;if(q!==0)throw new Error("Non-zero carry");T=ot,N++}let D=L-T;for(;D!==L&&M[D]===0;)D++;const Y=new Uint8Array(x+(L-D));let z=x;for(;D!==L;)Y[z++]=M[D++];return Y}function l(b){const N=E(b);if(N)return N;throw new Error("Non-base"+r+" character")}return{encode:d,decodeUnsafe:E,decode:l}}var q3="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";const $3=X3(q3),Ho=K3,br=$3;var ca={exports:{}},Kc;function J3(){return Kc||(Kc=1,(function(t){var n=(function(){var r=String.fromCharCode,e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",a={};function d(l,b){if(!a[l]){a[l]={};for(var N=0;N<l.length;N++)a[l][l.charAt(N)]=N}return a[l][b]}var E={compressToBase64:function(l){if(l==null)return"";var b=E._compress(l,6,function(N){return e.charAt(N)});switch(b.length%4){default:case 0:return b;case 1:return b+"===";case 2:return b+"==";case 3:return b+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:E._decompress(l.length,32,function(b){return d(e,l.charAt(b))})},compressToUTF16:function(l){return l==null?"":E._compress(l,15,function(b){return r(b+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:E._decompress(l.length,16384,function(b){return l.charCodeAt(b)-32})},compressToUint8Array:function(l){for(var b=E.compress(l),N=new Uint8Array(b.length*2),x=0,T=b.length;x<T;x++){var L=b.charCodeAt(x);N[x*2]=L>>>8,N[x*2+1]=L%256}return N},decompressFromUint8Array:function(l){if(l==null)return E.decompress(l);for(var b=new Array(l.length/2),N=0,x=b.length;N<x;N++)b[N]=l[N*2]*256+l[N*2+1];var T=[];return b.forEach(function(L){T.push(r(L))}),E.decompress(T.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":E._compress(l,6,function(b){return u.charAt(b)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),E._decompress(l.length,32,function(b){return d(u,l.charAt(b))}))},compress:function(l){return E._compress(l,16,function(b){return r(b)})},_compress:function(l,b,N){if(l==null)return"";var x,T,L={},M={},D="",Y="",z="",J=2,q=3,ot=2,pt=[],ft=0,Rt=0,At;for(At=0;At<l.length;At+=1)if(D=l.charAt(At),Object.prototype.hasOwnProperty.call(L,D)||(L[D]=q++,M[D]=!0),Y=z+D,Object.prototype.hasOwnProperty.call(L,Y))z=Y;else{if(Object.prototype.hasOwnProperty.call(M,z)){if(z.charCodeAt(0)<256){for(x=0;x<ot;x++)ft=ft<<1,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++;for(T=z.charCodeAt(0),x=0;x<8;x++)ft=ft<<1|T&1,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++,T=T>>1}else{for(T=1,x=0;x<ot;x++)ft=ft<<1|T,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++,T=0;for(T=z.charCodeAt(0),x=0;x<16;x++)ft=ft<<1|T&1,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++,T=T>>1}J--,J==0&&(J=Math.pow(2,ot),ot++),delete M[z]}else for(T=L[z],x=0;x<ot;x++)ft=ft<<1|T&1,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++,T=T>>1;J--,J==0&&(J=Math.pow(2,ot),ot++),L[Y]=q++,z=String(D)}if(z!==""){if(Object.prototype.hasOwnProperty.call(M,z)){if(z.charCodeAt(0)<256){for(x=0;x<ot;x++)ft=ft<<1,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++;for(T=z.charCodeAt(0),x=0;x<8;x++)ft=ft<<1|T&1,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++,T=T>>1}else{for(T=1,x=0;x<ot;x++)ft=ft<<1|T,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++,T=0;for(T=z.charCodeAt(0),x=0;x<16;x++)ft=ft<<1|T&1,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++,T=T>>1}J--,J==0&&(J=Math.pow(2,ot),ot++),delete M[z]}else for(T=L[z],x=0;x<ot;x++)ft=ft<<1|T&1,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++,T=T>>1;J--,J==0&&(J=Math.pow(2,ot),ot++)}for(T=2,x=0;x<ot;x++)ft=ft<<1|T&1,Rt==b-1?(Rt=0,pt.push(N(ft)),ft=0):Rt++,T=T>>1;for(;;)if(ft=ft<<1,Rt==b-1){pt.push(N(ft));break}else Rt++;return pt.join("")},decompress:function(l){return l==null?"":l==""?null:E._decompress(l.length,32768,function(b){return l.charCodeAt(b)})},_decompress:function(l,b,N){var x=[],T=4,L=4,M=3,D="",Y=[],z,J,q,ot,pt,ft,Rt,At={val:N(0),position:b,index:1};for(z=0;z<3;z+=1)x[z]=z;for(q=0,pt=Math.pow(2,2),ft=1;ft!=pt;)ot=At.val&At.position,At.position>>=1,At.position==0&&(At.position=b,At.val=N(At.index++)),q|=(ot>0?1:0)*ft,ft<<=1;switch(q){case 0:for(q=0,pt=Math.pow(2,8),ft=1;ft!=pt;)ot=At.val&At.position,At.position>>=1,At.position==0&&(At.position=b,At.val=N(At.index++)),q|=(ot>0?1:0)*ft,ft<<=1;Rt=r(q);break;case 1:for(q=0,pt=Math.pow(2,16),ft=1;ft!=pt;)ot=At.val&At.position,At.position>>=1,At.position==0&&(At.position=b,At.val=N(At.index++)),q|=(ot>0?1:0)*ft,ft<<=1;Rt=r(q);break;case 2:return""}for(x[3]=Rt,J=Rt,Y.push(Rt);;){if(At.index>l)return"";for(q=0,pt=Math.pow(2,M),ft=1;ft!=pt;)ot=At.val&At.position,At.position>>=1,At.position==0&&(At.position=b,At.val=N(At.index++)),q|=(ot>0?1:0)*ft,ft<<=1;switch(Rt=q){case 0:for(q=0,pt=Math.pow(2,8),ft=1;ft!=pt;)ot=At.val&At.position,At.position>>=1,At.position==0&&(At.position=b,At.val=N(At.index++)),q|=(ot>0?1:0)*ft,ft<<=1;x[L++]=r(q),Rt=L-1,T--;break;case 1:for(q=0,pt=Math.pow(2,16),ft=1;ft!=pt;)ot=At.val&At.position,At.position>>=1,At.position==0&&(At.position=b,At.val=N(At.index++)),q|=(ot>0?1:0)*ft,ft<<=1;x[L++]=r(q),Rt=L-1,T--;break;case 2:return Y.join("")}if(T==0&&(T=Math.pow(2,M),M++),x[Rt])D=x[Rt];else if(Rt===L)D=J+J.charAt(0);else return null;Y.push(D),x[L++]=J+D.charAt(0),T--,J=D,T==0&&(T=Math.pow(2,M),M++)}}};return E})();t!=null?t.exports=n:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return n})})(ca)),ca.exports}var Q3=J3();const Rn=ds(Q3);var fa=(t=>(t.USD="USD",t.AED="AED",t.AFN="AFN",t.ALL="ALL",t.AMD="AMD",t.ANG="ANG",t.AOA="AOA",t.ARS="ARS",t.AUD="AUD",t.AWG="AWG",t.AZN="AZN",t.BAM="BAM",t.BBD="BBD",t.BDT="BDT",t.BGN="BGN",t.BHD="BHD",t.BIF="BIF",t.BMD="BMD",t.BND="BND",t.BOB="BOB",t.BRL="BRL",t.BSD="BSD",t.BTN="BTN",t.BWP="BWP",t.BYN="BYN",t.BZD="BZD",t.CAD="CAD",t.CHF="CHF",t.CLF="CLF",t.CLP="CLP",t.CNY="CNY",t.COP="COP",t.CRC="CRC",t.CUP="CUP",t.CVE="CVE",t.CZK="CZK",t.DJF="DJF",t.DKK="DKK",t.DOP="DOP",t.DZD="DZD",t.EGP="EGP",t.ETB="ETB",t.EUR="EUR",t.FJD="FJD",t.GBP="GBP",t.GEL="GEL",t.GHS="GHS",t.GMD="GMD",t.GNF="GNF",t.GTQ="GTQ",t.GYD="GYD",t.HKD="HKD",t.HNL="HNL",t.HTG="HTG",t.HUF="HUF",t.IDR="IDR",t.ILS="ILS",t.INR="INR",t.IQD="IQD",t.IRR="IRR",t.ISK="ISK",t.JMD="JMD",t.JOD="JOD",t.JPY="JPY",t.KES="KES",t.KGS="KGS",t.KHR="KHR",t.KMF="KMF",t.KRW="KRW",t.KWD="KWD",t.KYD="KYD",t.KZT="KZT",t.LAK="LAK",t.LBP="LBP",t.LKR="LKR",t.LRD="LRD",t.LSL="LSL",t.LYD="LYD",t.MAD="MAD",t.MDL="MDL",t.MGA="MGA",t.MKD="MKD",t.MMK="MMK",t.MNT="MNT",t.MOP="MOP",t.MRU="MRU",t.MUR="MUR",t.MWK="MWK",t.MVR="MVR",t.MXN="MXN",t.MYR="MYR",t.MZN="MZN",t.NAD="NAD",t.NGN="NGN",t.NIO="NIO",t.NOK="NOK",t.NPR="NPR",t.NZD="NZD",t.OMR="OMR",t.PAB="PAB",t.PEN="PEN",t.PGK="PGK",t.PHP="PHP",t.PKR="PKR",t.PLN="PLN",t.PYG="PYG",t.QAR="QAR",t.RON="RON",t.RSD="RSD",t.RWF="RWF",t.SAR="SAR",t.SCR="SCR",t.SDG="SDG",t.SEK="SEK",t.SGD="SGD",t.SLE="SLE",t.SLL="SLL",t.SOS="SOS",t.SRD="SRD",t.STN="STN",t.SVC="SVC",t.SYP="SYP",t.SZL="SZL",t.THB="THB",t.TJS="TJS",t.TMT="TMT",t.TND="TND",t.TOP="TOP",t.TRY="TRY",t.TTD="TTD",t.TWD="TWD",t.TZS="TZS",t.UAH="UAH",t.UGX="UGX",t.UYU="UYU",t.UZS="UZS",t.VND="VND",t.VUV="VUV",t.WST="WST",t.XAF="XAF",t.XCD="XCD",t.XOF="XOF",t.XPF="XPF",t.YER="YER",t.ZAR="ZAR",t.ZMW="ZMW",t.ZWL="ZWL",t.CDF="CDF",t.ERN="ERN",t.FKP="FKP",t.KPW="KPW",t.RUB="RUB",t.SBD="SBD",t.SHP="SHP",t.SSP="SSP",t.VES="VES",t))(fa||{});const tg={AED:"784",AFN:"971",ALL:"008",AMD:"051",ANG:"532",AOA:"973",AUD:"036",AWG:"533",AZN:"944",BAM:"977",BBD:"052",BDT:"050",BGN:"975",BHD:"048",BIF:"108",BND:"096",BOB:"068",BRL:"986",BTN:"064",BWP:"072",BZD:"084",CAD:"124",CHF:"756",CLP:"152",CNY:"156",COP:"170",CRC:"188",CVE:"132",CZK:"203",DJF:"262",DKK:"208",DOP:"214",DZD:"012",EGP:"818",ETB:"230",EUR:"978",GBP:"826",GEL:"981",GHS:"936",GMD:"270",GNF:"324",GTQ:"320",GYD:"328",HKD:"344",HNL:"340",HTG:"332",HUF:"348",IDR:"360",INR:"356",IQD:"368",IRR:"364",ISK:"352",JMD:"388",JOD:"400",JPY:"392",KES:"404",KGS:"417",KHR:"116",KMF:"174",KRW:"410",KWD:"414",KYD:"136",KZT:"398",LKR:"144",LRD:"430",LSL:"426",LYD:"434",MAD:"504",MDL:"498",MGA:"969",MKD:"807",MMK:"104",MNT:"496",MOP:"446",MRU:"929",MUR:"480",MVR:"462",MXN:"484",MYR:"458",NAD:"516",NGN:"566",NIO:"558",NOK:"578",NPR:"524",NZD:"554",OMR:"512",PAB:"590",PEN:"604",PHP:"608",PKR:"586",PLN:"985",PYG:"600",QAR:"634",RON:"946",RSD:"941",RWF:"646",SAR:"682",SCR:"690",SDG:"938",SEK:"752",SGD:"702",SLE:"925",SLL:"694",SOS:"706",STN:"930",SVC:"222",SYP:"760",SZL:"748",THB:"764",TJS:"972",TMT:"934",TND:"788",TRY:"949",TTD:"780",TWD:"901",TZS:"834",UAH:"980",UGX:"800",USD:"840",UYU:"858",UZS:"860",VND:"704",XAF:"950",XCD:"951",XOF:"952",XPF:"953",YER:"886",ZAR:"710",ZMW:"967",ARS:"032",BMD:"060",BSD:"044",BYN:"933",CUP:"192",FJD:"242",ILS:"376",LAK:"418",LBP:"422",MWK:"454",MZN:"943",PGK:"598",SRD:"968",TOP:"776",VUV:"548",WST:"882",ZWL:"932",CLF:"990",CDF:"976",ERN:"232",FKP:"238",KPW:"408",RUB:"643",SBD:"090",SHP:"654",SSP:"728",VES:"928"},Xc={USD:"USD",EUR:"EUR",GBP:"GBP",BRL:"BRL",CAD:"CAD"};function eg(t){return t in Xc}const qc={USD:"USD",EUR:"EUR",GBP:"GBP",CAD:"CAD",BRL:"BRL"};function ng(t){return t in qc}const rg=new Set(["CLF"]),ig=new Set(["BHD","IQD","JOD","KWD","LYD","OMR","TND"]),og=new Set(["BIF","CLP","DJF","GNF","ISK","JPY","KMF","PYG","RWF","UGX","VND","VUV","XAF","XOF","XPF"]);function sg(t){return rg.has(t)?4:ig.has(t)?3:og.has(t)?0:2}function ag(t,n){return t.currency===n}function ug(t){return{base:t.to,rate:1/t.rate,to:t.base}}var cg={269:function(t,n,r){r.r(n),r.d(n,{ERROR_API_KEY_EXPIRED:function(){return ls},ERROR_API_KEY_INVALID:function(){return fs},ERROR_API_KEY_MISSING:function(){return cs},ERROR_BAD_REQUEST_FORMAT:function(){return Ul},ERROR_BAD_RESPONSE_FORMAT:function(){return Ca},ERROR_CLIENT_TIMEOUT:function(){return Ta},ERROR_CSP_BLOCK:function(){return Ba},ERROR_FORBIDDEN_ENDPOINT:function(){return Jf},ERROR_FORBIDDEN_HEADER:function(){return Hl},ERROR_FORBIDDEN_ORIGIN:function(){return Vl},ERROR_GENERAL_SERVER_FAILURE:function(){return Dl},ERROR_INSTALLATION_METHOD_RESTRICTED:function(){return $f},ERROR_INTEGRATION_FAILURE:function(){return Qf},ERROR_INVALID_ENDPOINT:function(){return Ma},ERROR_INVALID_PROXY_INTEGRATION_HEADERS:function(){return r0},ERROR_INVALID_PROXY_INTEGRATION_SECRET:function(){return n0},ERROR_NETWORK_ABORT:function(){return La},ERROR_NETWORK_CONNECTION:function(){return xa},ERROR_NETWORK_RESTRICTED:function(){return e0},ERROR_RATE_LIMIT:function(){return Fl},ERROR_SERVER_TIMEOUT:function(){return Pl},ERROR_SUBSCRIPTION_NOT_ACTIVE:function(){return Xf},ERROR_TOKEN_EXPIRED:function(){return p8},ERROR_TOKEN_INVALID:function(){return h8},ERROR_TOKEN_MISSING:function(){return d8},ERROR_UNSUPPORTED_VERSION:function(){return qf},ERROR_WRONG_REGION:function(){return Kf},default:function(){return v8},defaultEndpoint:function(){return ts},defaultTlsEndpoint:function(){return es},load:function(){return C0},makeBotdModule:function(){return e8},makeConsoleDebugModule:function(){return f8},makeIdentificationModule:function(){return a8},makeLatencyReportModule:function(){return c8},makeRemoteDebugModule:function(){return l8},makeValidationModule:function(){return u8}});var e=r(635);function u(i,s){return new Promise((function(o){return setTimeout(o,i,s)}))}function a(i){return!!i&&typeof i.then=="function"}function d(i,s){try{var o=i();a(o)?o.then((function(c){return s(!0,c)}),(function(c){return s(!1,c)})):s(!0,o)}catch(c){s(!1,c)}}function E(i,s,o){return o===void 0&&(o=16),(0,e.sH)(this,void 0,void 0,(function(){var c,p,m,y;return(0,e.YH)(this,(function(w){switch(w.label){case 0:c=Array(i.length),p=Date.now(),m=0,w.label=1;case 1:return m<i.length?(c[m]=s(i[m],m),(y=Date.now())>=p+o?(p=y,[4,new Promise((function(v){var I=new MessageChannel;I.port1.onmessage=function(){return v()},I.port2.postMessage(null)}))]):[3,3]):[3,4];case 2:w.sent(),w.label=3;case 3:return++m,[3,1];case 4:return[2,c]}}))}))}function l(i){return i.then(void 0,(function(){})),i}function b(i){return parseInt(i)}function N(i){return parseFloat(i)}function x(i,s){return typeof i=="number"&&isNaN(i)?s:i}function T(i){return i.reduce((function(s,o){return s+(o?1:0)}),0)}function L(i,s){var o=i[0]>>>16,c=65535&i[0],p=i[1]>>>16,m=65535&i[1],y=s[0]>>>16,w=65535&s[0],v=s[1]>>>16,I=0,B=0,C=0,X=0;C+=(X+=m+(65535&s[1]))>>>16,X&=65535,B+=(C+=p+v)>>>16,C&=65535,I+=(B+=c+w)>>>16,B&=65535,I+=o+y,I&=65535,i[0]=I<<16|B,i[1]=C<<16|X}function M(i,s){var o=i[0]>>>16,c=65535&i[0],p=i[1]>>>16,m=65535&i[1],y=s[0]>>>16,w=65535&s[0],v=s[1]>>>16,I=65535&s[1],B=0,C=0,X=0,Q=0;X+=(Q+=m*I)>>>16,Q&=65535,C+=(X+=p*I)>>>16,X&=65535,C+=(X+=m*v)>>>16,X&=65535,B+=(C+=c*I)>>>16,C&=65535,B+=(C+=p*v)>>>16,C&=65535,B+=(C+=m*w)>>>16,C&=65535,B+=o*I+c*v+p*w+m*y,B&=65535,i[0]=B<<16|C,i[1]=X<<16|Q}function D(i,s){var o=i[0];(s%=64)==32?(i[0]=i[1],i[1]=o):s<32?(i[0]=o<<s|i[1]>>>32-s,i[1]=i[1]<<s|o>>>32-s):(s-=32,i[0]=i[1]<<s|o>>>32-s,i[1]=o<<s|i[1]>>>32-s)}function Y(i,s){(s%=64)!=0&&(s<32?(i[0]=i[1]>>>32-s,i[1]=i[1]<<s):(i[0]=i[1]<<s-32,i[1]=0))}function z(i,s){i[0]^=s[0],i[1]^=s[1]}var J=[4283543511,3981806797],q=[3301882366,444984403];function ot(i){var s=[0,i[0]>>>1];z(i,s),M(i,J),s[1]=i[0]>>>1,z(i,s),M(i,q),s[1]=i[0]>>>1,z(i,s)}var pt=[2277735313,289559509],ft=[1291169091,658871167],Rt=[0,5],At=[0,1390208809],st=[0,944331445];function lt(i){return typeof i!="function"}function mt(i,s,o,c){var p=Object.keys(i).filter((function(y){return!(function(w,v){for(var I=0,B=w.length;I<B;++I)if(w[I]===v)return!0;return!1})(o,y)})),m=l(E(p,(function(y){return(function(w,v){var I=l(new Promise((function(B){var C=Date.now();d(w.bind(null,v),(function(){for(var X=[],Q=0;Q<arguments.length;Q++)X[Q]=arguments[Q];var tt=Date.now()-C;if(!X[0])return B((function(){return{error:X[1],duration:tt}}));var nt=X[1];if(lt(nt))return B((function(){return{value:nt,duration:tt}}));B((function(){return new Promise((function(at){var gt=Date.now();d(nt,(function(){for(var _t=[],vt=0;vt<arguments.length;vt++)_t[vt]=arguments[vt];var bt=tt+Date.now()-gt;if(!_t[0])return at({error:_t[1],duration:bt});at({value:_t[1],duration:bt})}))}))}))}))})));return function(){return I.then((function(B){return B()}))}})(i[y],s)}),c));return function(){return(0,e.sH)(this,void 0,void 0,(function(){var y,w,v,I;return(0,e.YH)(this,(function(B){switch(B.label){case 0:return[4,m];case 1:return[4,E(B.sent(),(function(C){return l(C())}),c)];case 2:return y=B.sent(),[4,Promise.all(y)];case 3:for(w=B.sent(),v={},I=0;I<p.length;++I)v[p[I]]=w[I];return[2,v]}}))}))}}function wt(i,s){var o=function(c){return lt(c)?s(c):function(){var p=c();return a(p)?p.then(s):s(p)}};return function(c){var p=i(c);return a(p)?p.then(o):o(p)}}function P(){var i=window,s=navigator;return T(["MSCSSMatrix"in i,"msSetImmediate"in i,"msIndexedDB"in i,"msMaxTouchPoints"in s,"msPointerEnabled"in s])>=4}function f(){var i=window,s=navigator;return T(["msWriteProfilerMark"in i,"MSStream"in i,"msLaunchUri"in s,"msSaveBlob"in s])>=3&&!P()}function S(){var i=window,s=navigator;return T(["webkitPersistentStorage"in s,"webkitTemporaryStorage"in s,(s.vendor||"").indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in i,"BatteryManager"in i,"webkitMediaStream"in i,"webkitSpeechGrammar"in i])>=5}function U(){var i=window;return T(["ApplePayError"in i,"CSSPrimitiveValue"in i,"Counter"in i,navigator.vendor.indexOf("Apple")===0,"RGBColor"in i,"WebKitMediaKeys"in i])>=4}function W(){var i=window,s=i.HTMLElement,o=i.Document;return T(["safari"in i,!("ongestureend"in i),!("TouchEvent"in i),!("orientation"in i),s&&!("autocapitalize"in s.prototype),o&&"pointerLockElement"in o.prototype])>=4}function $(){var i,s,o=window;return T(["buildID"in navigator,"MozAppearance"in((s=(i=document.documentElement)===null||i===void 0?void 0:i.style)!==null&&s!==void 0?s:{}),"onmozfullscreenchange"in o,"mozInnerScreenX"in o,"CSSMozDocumentRule"in o,"CanvasCaptureMediaStream"in o])>=4}function et(){var i=document;return i.fullscreenElement||i.msFullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||null}function ut(){var i=S(),s=$(),o=window,c=navigator,p="connection";return i?T([!("SharedWorker"in o),c[p]&&"ontypechange"in c[p],!("sinkId"in new Audio)])>=2:!!s&&T(["onorientationchange"in o,"orientation"in o,/android/i.test(c.appVersion)])>=2}function Z(){var i=navigator,s=window,o=Audio.prototype,c=s.visualViewport;return T(["srLatency"in o,"srChannelCount"in o,"devicePosture"in i,c&&"segments"in c,"getTextInformation"in Image.prototype])>=3}function h(){var i=window,s=i.OfflineAudioContext||i.webkitOfflineAudioContext;if(!s)return-2;if(U()&&!W()&&!(function(){var I=window;return T(["DOMRectList"in I,"RTCPeerConnectionIceEvent"in I,"SVGGeometryElement"in I,"ontransitioncancel"in I])>=3})())return-1;var o=new s(1,5e3,44100),c=o.createOscillator();c.type="triangle",c.frequency.value=1e4;var p=o.createDynamicsCompressor();p.threshold.value=-50,p.knee.value=40,p.ratio.value=12,p.attack.value=0,p.release.value=.25,c.connect(p),p.connect(o.destination),c.start(0);var m=(function(I){var B=function(){};return[new Promise((function(C,X){var Q=!1,tt=0,nt=0;I.oncomplete=function(_t){return C(_t.renderedBuffer)};var at=function(){setTimeout((function(){return X(_("timeout"))}),Math.min(500,nt+5e3-Date.now()))},gt=function(){try{var _t=I.startRendering();switch(a(_t)&&l(_t),I.state){case"running":nt=Date.now(),Q&&at();break;case"suspended":document.hidden||tt++,Q&&tt>=3?X(_("suspended")):setTimeout(gt,500)}}catch(vt){X(vt)}};gt(),B=function(){Q||(Q=!0,nt>0&&at())}})),B]})(o),y=m[0],w=m[1],v=l(y.then((function(I){return(function(B){for(var C=0,X=0;X<B.length;++X)C+=Math.abs(B[X]);return C})(I.getChannelData(0).subarray(4500))}),(function(I){if(I.name==="timeout"||I.name==="suspended")return-3;throw I})));return function(){return w(),v}}function _(i){var s=new Error(i);return s.name=i,s}function j(i,s,o){var c,p,m;return o===void 0&&(o=50),(0,e.sH)(this,void 0,void 0,(function(){var y,w;return(0,e.YH)(this,(function(v){switch(v.label){case 0:y=document,v.label=1;case 1:return y.body?[3,3]:[4,u(o)];case 2:return v.sent(),[3,1];case 3:w=y.createElement("iframe"),v.label=4;case 4:return v.trys.push([4,,10,11]),[4,new Promise((function(I,B){var C=!1,X=function(){C=!0,I()};w.onload=X,w.onerror=function(nt){C=!0,B(nt)};var Q=w.style;Q.setProperty("display","block","important"),Q.position="absolute",Q.top="0",Q.left="0",Q.visibility="hidden",s&&"srcdoc"in w?w.srcdoc=s:w.src="about:blank",y.body.appendChild(w);var tt=function(){var nt,at;C||(((at=(nt=w.contentWindow)===null||nt===void 0?void 0:nt.document)===null||at===void 0?void 0:at.readyState)==="complete"?X():setTimeout(tt,10))};tt()}))];case 5:v.sent(),v.label=6;case 6:return!((p=(c=w.contentWindow)===null||c===void 0?void 0:c.document)===null||p===void 0)&&p.body?[3,8]:[4,u(o)];case 7:return v.sent(),[3,6];case 8:return[4,i(w,w.contentWindow)];case 9:return[2,v.sent()];case 10:return(m=w.parentNode)===null||m===void 0||m.removeChild(w),[7];case 11:return[2]}}))}))}function K(i){for(var s=(function(I){for(var B,C,X="Unexpected syntax '".concat(I,"'"),Q=/^\s*([a-z-]*)(.*)$/i.exec(I),tt=Q[1]||void 0,nt={},at=/([.:#][\w-]+|\[.+?\])/gi,gt=function(Vt,Ht){nt[Vt]=nt[Vt]||[],nt[Vt].push(Ht)};;){var _t=at.exec(Q[2]);if(!_t)break;var vt=_t[0];switch(vt[0]){case".":gt("class",vt.slice(1));break;case"#":gt("id",vt.slice(1));break;case"[":var bt=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(vt);if(!bt)throw new Error(X);gt(bt[1],(C=(B=bt[4])!==null&&B!==void 0?B:bt[5])!==null&&C!==void 0?C:"");break;default:throw new Error(X)}}return[tt,nt]})(i),o=s[0],c=s[1],p=document.createElement(o??"div"),m=0,y=Object.keys(c);m<y.length;m++){var w=y[m],v=c[w].join(" ");w==="style"?ht(p.style,v):p.setAttribute(w,v)}return p}function ht(i,s){for(var o=0,c=s.split(";");o<c.length;o++){var p=c[o],m=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(p);if(m){var y=m[1],w=m[2],v=m[4];i.setProperty(y,w,v||"")}}}var St=["monospace","sans-serif","serif"],Ft=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function Zt(i){var s,o,c,p=!1,m=(function(){var v=document.createElement("canvas");return v.width=1,v.height=1,[v,v.getContext("2d")]})(),y=m[0],w=m[1];return(function(v,I){return!(!I||!v.toDataURL)})(y,w)?(p=(function(v){return v.rect(0,0,10,10),v.rect(2,2,6,6),!v.isPointInPath(5,5,"evenodd")})(w),s=(function(v,I){(function(C,X){C.width=240,C.height=60,X.textBaseline="alphabetic",X.fillStyle="#f60",X.fillRect(100,1,62,20),X.fillStyle="#069",X.font='11pt "Times New Roman"';var Q="Cwm fjordbank gly ".concat("😃");X.fillText(Q,2,15),X.fillStyle="rgba(102, 204, 0, 0.2)",X.font="18pt Arial",X.fillText(Q,4,45)})(v,I);var B=de(v);return B!==de(v)?["unstable","unstable"]:((function(C,X){C.width=122,C.height=110,X.globalCompositeOperation="multiply";for(var Q=0,tt=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];Q<tt.length;Q++){var nt=tt[Q],at=nt[0],gt=nt[1],_t=nt[2];X.fillStyle=at,X.beginPath(),X.arc(gt,_t,40,0,2*Math.PI,!0),X.closePath(),X.fill()}X.fillStyle="#f9c",X.arc(60,60,60,0,2*Math.PI,!0),X.arc(60,60,20,0,2*Math.PI,!0),X.fill("evenodd")})(v,I),[de(v),B])})(y,w),o=s[0],c=s[1]):o=c="unsupported",{winding:p,geometry:o,text:c}}function de(i){return i.toDataURL()}function me(){var i=screen,s=function(c){return x(b(c),null)},o=[s(i.width),s(i.height)];return o.sort().reverse(),o}var ye,Oe;function Kt(){var i=this;return(function(){if(Oe===void 0){var s=function(){var o=be();Ye(o)?Oe=setTimeout(s,2500):(ye=o,Oe=void 0)};s()}})(),function(){return(0,e.sH)(i,void 0,void 0,(function(){var s;return(0,e.YH)(this,(function(o){switch(o.label){case 0:return Ye(s=be())?ye?[2,(0,e.fX)([],ye,!0)]:et()?[4,(c=document,(c.exitFullscreen||c.msExitFullscreen||c.mozCancelFullScreen||c.webkitExitFullscreen).call(c))]:[3,2]:[3,2];case 1:o.sent(),s=be(),o.label=2;case 2:return Ye(s)||(ye=s),[2,s]}var c}))}))}}function be(){var i=screen;return[x(N(i.availTop),null),x(N(i.width)-N(i.availWidth)-x(N(i.availLeft),0),null),x(N(i.height)-N(i.availHeight)-x(N(i.availTop),0),null),x(N(i.availLeft),null)]}function Ye(i){for(var s=0;s<4;++s)if(i[s])return!1;return!0}function Te(i){var s;return(0,e.sH)(this,void 0,void 0,(function(){var o,c,p,m,y,w,v;return(0,e.YH)(this,(function(I){switch(I.label){case 0:for(o=document,c=o.createElement("div"),p=new Array(i.length),m={},g(c),v=0;v<i.length;++v)(y=K(i[v])).tagName==="DIALOG"&&y.show(),g(w=o.createElement("div")),w.appendChild(y),c.appendChild(w),p[v]=y;I.label=1;case 1:return o.body?[3,3]:[4,u(50)];case 2:return I.sent(),[3,1];case 3:o.body.appendChild(c);try{for(v=0;v<i.length;++v)p[v].offsetParent||(m[i[v]]=!0)}finally{(s=c.parentNode)===null||s===void 0||s.removeChild(c)}return[2,m]}}))}))}function g(i){i.style.setProperty("visibility","hidden","important"),i.style.setProperty("display","block","important")}function k(i){return matchMedia("(inverted-colors: ".concat(i,")")).matches}function V(i){return matchMedia("(forced-colors: ".concat(i,")")).matches}function ct(i){return matchMedia("(prefers-contrast: ".concat(i,")")).matches}function yt(i){return matchMedia("(prefers-reduced-motion: ".concat(i,")")).matches}function Et(i){return matchMedia("(prefers-reduced-transparency: ".concat(i,")")).matches}function Lt(i){return matchMedia("(dynamic-range: ".concat(i,")")).matches}var Yt=Math,te=function(){return 0},F={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]},R=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),O=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),A=["FRAGMENT_SHADER","VERTEX_SHADER"],H=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],G="WEBGL_debug_renderer_info";function it(i){if(i.webgl)return i.webgl.context;var s,o=document.createElement("canvas");o.addEventListener("webglCreateContextError",(function(){return s=void 0}));for(var c=0,p=["webgl","experimental-webgl"];c<p.length;c++){var m=p[c];try{s=o.getContext(m)}catch{}if(s)break}return i.webgl={context:s},s}function Ct(i,s,o){var c=i.getShaderPrecisionFormat(i[s],i[o]);return c?[c.rangeMin,c.rangeMax,c.precision]:[]}function Bt(i){return Object.keys(i.__proto__).filter(Ut)}function Ut(i){return typeof i=="string"&&!i.match(/[^A-Z0-9_x]/)}function kt(){return $()}function rt(i){return typeof i.getParameter=="function"}var zt=function(){var i=this;return j((function(s,o){var c=o.document;return(0,e.sH)(i,void 0,void 0,(function(){var p,m,y,w,v,I,B,C,X,Q,tt;return(0,e.YH)(this,(function(nt){for((p=c.body).style.fontSize="48px",(m=c.createElement("div")).style.setProperty("visibility","hidden","important"),y={},w={},v=function(at){var gt=c.createElement("span"),_t=gt.style;return _t.position="absolute",_t.top="0",_t.left="0",_t.fontFamily=at,gt.textContent="mmMwWLliI0O&1",m.appendChild(gt),gt},I=function(at,gt){return v("'".concat(at,"',").concat(gt))},B=function(){for(var at={},gt=function(bt){at[bt]=St.map((function(Vt){return I(bt,Vt)}))},_t=0,vt=Ft;_t<vt.length;_t++)gt(vt[_t]);return at},C=function(at){return St.some((function(gt,_t){return at[_t].offsetWidth!==y[gt]||at[_t].offsetHeight!==w[gt]}))},X=St.map(v),Q=B(),p.appendChild(m),tt=0;tt<St.length;tt++)y[St[tt]]=X[tt].offsetWidth,w[St[tt]]=X[tt].offsetHeight;return[2,Ft.filter((function(at){return C(Q[at])}))]}))}))}))},pe=function(i){var s=(i===void 0?{}:i).debug;return(0,e.sH)(this,void 0,void 0,(function(){var o,c,p,m,y;return(0,e.YH)(this,(function(w){switch(w.label){case 0:return U()||ut()?(v=atob,o={abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',v("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",v("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",v("LnNwb25zb3JpdA=="),".ylamainos",v("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),v("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",v("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",v("LmhlYWRlci1ibG9ja2VkLWFk"),v("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",v("I2FkXzMwMFgyNTA="),v("I2Jhbm5lcmZsb2F0MjI="),v("I2NhbXBhaWduLWJhbm5lcg=="),v("I0FkLUNvbnRlbnQ=")],adGuardChinese:[v("LlppX2FkX2FfSA=="),v("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",v("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),v("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",v("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",v("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",v("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),v("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),v("LmFkZ29vZ2xl"),v("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[v("YW1wLWF1dG8tYWRz"),v("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",v("I2FkX2ludmlld19hcmVh")],adGuardRussian:[v("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),v("LnJlY2xhbWE="),'div[id^="smi2adblock"]',v("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[v("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),v("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",v("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),v("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),v("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",v("I3Jla2xhbWk="),v("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),v("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),v("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[v("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",v("LndpZGdldF9wb19hZHNfd2lkZ2V0"),v("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",v("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[v("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),v("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",v("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",v("I3Jla2xhbW5pLWJveA=="),v("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",v("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[v("I2FkdmVydGVudGll"),v("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",v("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",v("LnNwb25zb3JsaW5rZ3J1ZW4="),v("I3dlcmJ1bmdza3k="),v("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),v("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[v("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",v("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),v("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),v("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[v("LnJla2xhbW9zX3RhcnBhcw=="),v("LnJla2xhbW9zX251b3JvZG9z"),v("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),v("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),v("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[v("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[v("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),v("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",v("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[v("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),v("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),v("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",v("LmFkX19tYWlu"),v("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[v("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[v("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),v("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[v("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),v("I2xpdmVyZUFkV3JhcHBlcg=="),v("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),v("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[v("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",v("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),v("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),v("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[v("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),v("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),v("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",v("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),v("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),v("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),v("ZGl2I3NrYXBpZWNfYWQ=")],ro:[v("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),v("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),v("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),v("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[v("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),v("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),v("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",v("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),v("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",v("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]},c=Object.keys(o),[4,Te((y=[]).concat.apply(y,c.map((function(I){return o[I]}))))]):[2,void 0];case 1:return p=w.sent(),s&&(function(I,B){for(var C="DOM blockers debug:\n```",X=0,Q=Object.keys(I);X<Q.length;X++){var tt=Q[X];C+=`
8
8
  `.concat(tt,":");for(var nt=0,at=I[tt];nt<at.length;nt++){var gt=at[nt];C+=`
9
- `.concat(B[gt]?"🚫":"➡️"," ").concat(gt)}}console.log("".concat(C,"\n```"))})(o,p),(m=c.filter((function(I){var B=o[I];return T(B.map((function(C){return p[C]})))>.6*B.length}))).sort(),[2,m]}var v}))}))},ee=function(){return i===void 0&&(i=4e3),j((function(s,o){var c=o.document,p=c.body,m=p.style;m.width="".concat(i,"px"),m.webkitTextSizeAdjust=m.textSizeAdjust="none",S()?p.style.zoom="".concat(1/o.devicePixelRatio):U()&&(p.style.zoom="reset");var w=c.createElement("div");return w.textContent=(0,e.fX)([],Array(i/20|0),!0).map((function(){return"word"})).join(" "),p.appendChild(w),(function(E,v){for(var I={},B={},C=0,X=Object.keys(F);C<X.length;C++){var Q=X[C],tt=F[Q],nt=tt[0],at=nt===void 0?{}:nt,gt=tt[1],_t=gt===void 0?"mmMwWLliI0fiflO&1":gt,vt=E.createElement("span");vt.textContent=_t,vt.style.whiteSpace="nowrap";for(var bt=0,Vt=Object.keys(at);bt<Vt.length;bt++){var Ht=Vt[bt],Kt=at[Ht];Kt!==void 0&&(vt.style[Ht]=Kt)}I[Q]=vt,v.append(E.createElement("br"),vt)}for(var Tt=0,Dt=Object.keys(F);Tt<Dt.length;Tt++)B[Q=Dt[Tt]]=I[Q].getBoundingClientRect().width;return B})(c,p)}),'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">');var i},se=function(){return navigator.oscpu},he=function(){var i,s=navigator,o=[],c=s.language||s.userLanguage||s.browserLanguage||s.systemLanguage;if(c!==void 0&&o.push([c]),Array.isArray(s.languages))S()&&T([!("MediaSettingsRange"in(i=window)),"RTCEncodedAudioFrame"in i,""+i.Intl=="[object Intl]",""+i.Reflect=="[object Reflect]"])>=3||o.push(s.languages);else if(typeof s.languages=="string"){var p=s.languages;p&&o.push(p.split(","))}return o},le=function(){return window.screen.colorDepth},ue=function(){return L(N(navigator.deviceMemory),void 0)},ze=function(){return L(b(navigator.hardwareConcurrency),void 0)},we=function(){var i,s=(i=window.Intl)===null||i===void 0?void 0:i.DateTimeFormat;if(s){var o=new s().resolvedOptions().timeZone;if(o)return o}var c,p=(c=new Date().getFullYear(),-Math.max(N(new Date(c,0,1).getTimezoneOffset()),N(new Date(c,6,1).getTimezoneOffset())));return"UTC".concat(p>=0?"+":"").concat(p)},_e=function(){try{return!!window.sessionStorage}catch{return!0}},an=function(){try{return!!window.localStorage}catch{return!0}},Be=function(){return!!window.openDatabase},De=function(){return navigator.cpuClass},lr=function(){var i=navigator.platform;return i==="MacIntel"&&U()&&!W()?(function(){if(navigator.platform==="iPad")return!0;var s=screen,o=s.width/s.height;return T(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,o>.65&&o<1.53])>=2})()?"iPad":"iPhone":i},Ge=function(){var i=navigator.plugins;if(i){for(var s=[],o=0;o<i.length;++o){var c=i[o];if(c){for(var p=[],m=0;m<c.length;++m){var w=c[m];p.push({type:w.type,suffixes:w.suffixes})}s.push({name:c.name,description:c.description,mimeTypes:p})}}return s}},He=function(){var i,s=navigator,o=0;s.maxTouchPoints!==void 0?o=b(s.maxTouchPoints):s.msMaxTouchPoints!==void 0&&(o=s.msMaxTouchPoints);try{document.createEvent("TouchEvent"),i=!0}catch{i=!1}return{maxTouchPoints:o,touchEvent:i,touchStart:"ontouchstart"in window}},Yr=function(){return navigator.vendor||""},qe=function(){for(var i=[],s=0,o=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];s<o.length;s++){var c=o[s],p=window[c];p&&typeof p=="object"&&i.push(c)}return i.sort()},$e=function(){var i=document;try{i.cookie="cookietest=1; SameSite=Strict;";var s=i.cookie.indexOf("cookietest=")!==-1;return i.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",s}catch{return!1}},Wo=function(){for(var i=0,s=["rec2020","p3","srgb"];i<s.length;i++){var o=s[i];if(matchMedia("(color-gamut: ".concat(o,")")).matches)return o}},Je=function(){return!!k("inverted")||!k("none")&&void 0},Qe=function(){return!!V("active")||!V("none")&&void 0},Zo=function(){if(matchMedia("(min-monochrome: 0)").matches){for(var i=0;i<=100;++i)if(matchMedia("(max-monochrome: ".concat(i,")")).matches)return i;throw new Error("Too high value")}},tn=function(){return ct("no-preference")?0:ct("high")||ct("more")?1:ct("low")||ct("less")?-1:ct("forced")?10:void 0},en=function(){return!!yt("reduce")||!yt("no-preference")&&void 0},Pi=function(){return!!Et("reduce")||!Et("no-preference")&&void 0},Fi=function(){return!!Lt("high")||!Lt("standard")&&void 0},Vi=function(){var i,s=zt.acos||te,o=zt.acosh||te,c=zt.asin||te,p=zt.asinh||te,m=zt.atanh||te,w=zt.atan||te,E=zt.sin||te,v=zt.sinh||te,I=zt.cos||te,B=zt.cosh||te,C=zt.tan||te,X=zt.tanh||te,Q=zt.exp||te,tt=zt.expm1||te,nt=zt.log1p||te;return{acos:s(.12312423423423424),acosh:o(1e308),acoshPf:(i=1e154,zt.log(i+zt.sqrt(i*i-1))),asin:c(.12312423423423424),asinh:p(1),asinhPf:zt.log(1+zt.sqrt(2)),atanh:m(.5),atanhPf:zt.log(3)/2,atan:w(.5),sin:E(-1e300),sinh:v(1),sinhPf:zt.exp(1)-1/zt.exp(1)/2,cos:I(10.000000000123),cosh:B(1),coshPf:(zt.exp(1)+1/zt.exp(1))/2,tan:C(-1e300),tanh:X(1),tanhPf:(zt.exp(2)-1)/(zt.exp(2)+1),exp:Q(1),expm1:tt(1),expm1Pf:zt.exp(1)-1,log1p:nt(10),log1pPf:zt.log(11),powPI:zt.pow(zt.PI,-100)}},Hi=function(){return navigator.pdfViewerEnabled},Gi=function(){var i=new Float32Array(1),s=new Uint8Array(i.buffer);return i[0]=1/0,i[0]=i[0]-i[0],s[3]},ji=function(){var i,s=document.createElement("a"),o=(i=s.attributionSourceId)!==null&&i!==void 0?i:s.attributionsourceid;return o===void 0?void 0:String(o)},Yi=function(){if(!ut()&&!U())return-2;if(!window.AudioContext)return-1;var i=new AudioContext().baseLatency;return i==null?-1:isFinite(i)?i:-3},zi=function(){if(!window.Intl)return-1;var i=window.Intl.DateTimeFormat;if(!i)return-2;var s=i().resolvedOptions().locale;return s||s===""?s:-3},Wi=function(i){var s,o,c,p,m,w,E=it(i.cache);if(!E)return-1;if(!rt(E))return-2;var v=kt()?null:E.getExtension(G);return{version:((s=E.getParameter(E.VERSION))===null||s===void 0?void 0:s.toString())||"",vendor:((o=E.getParameter(E.VENDOR))===null||o===void 0?void 0:o.toString())||"",vendorUnmasked:v?(c=E.getParameter(v.UNMASKED_VENDOR_WEBGL))===null||c===void 0?void 0:c.toString():"",renderer:((p=E.getParameter(E.RENDERER))===null||p===void 0?void 0:p.toString())||"",rendererUnmasked:v?(m=E.getParameter(v.UNMASKED_RENDERER_WEBGL))===null||m===void 0?void 0:m.toString():"",shadingLanguageVersion:((w=E.getParameter(E.SHADING_LANGUAGE_VERSION))===null||w===void 0?void 0:w.toString())||""}},Zi=function(i){var s=it(i.cache);if(!s)return-1;if(!rt(s))return-2;var o=s.getSupportedExtensions(),c=s.getContextAttributes(),p=[],m=[],w=[],E=[],v=[];if(c)for(var I=0,B=Object.keys(c);I<B.length;I++){var C=B[I];m.push("".concat(C,"=").concat(c[C]))}for(var X=0,Q=Bt(s);X<Q.length;X++){var tt=s[Vt=Q[X]];w.push("".concat(Vt,"=").concat(tt).concat(R.has(tt)?"=".concat(s.getParameter(tt)):""))}if(o)for(var nt=0,at=o;nt<at.length;nt++){var gt=at[nt];if(!(gt===G&&kt()||gt==="WEBGL_polygon_mode"&&(S()||U()))){var _t=s.getExtension(gt);if(_t)for(var vt=0,bt=Bt(_t);vt<bt.length;vt++){var Vt;tt=_t[Vt=bt[vt]],E.push("".concat(Vt,"=").concat(tt).concat(O.has(tt)?"=".concat(s.getParameter(tt)):""))}else p.push(gt)}}for(var Ht=0,Kt=A;Ht<Kt.length;Ht++)for(var Tt=Kt[Ht],Dt=0,Xt=H;Dt<Xt.length;Dt++){var Qt=Xt[Dt],ne=Ct(s,Tt,Qt);v.push("".concat(Tt,".").concat(Qt,"=").concat(ne.join(",")))}return E.sort(),w.sort(),{contextAttributes:m,parameters:w,shaderPrecisions:v,extensions:o,extensionParameters:E,unsupportedExtensions:p}},dn=function(i,s){var o=(function(X){for(var Q=new Uint8Array(X.length),tt=0;tt<X.length;tt++){var nt=X.charCodeAt(tt);if(nt>127)return new TextEncoder().encode(X);Q[tt]=nt}return Q})(i);s=s||0;var c,p=[0,o.length],m=p[1]%16,w=p[1]-m,E=[0,s],v=[0,s],I=[0,0],B=[0,0];for(c=0;c<w;c+=16)I[0]=o[c+4]|o[c+5]<<8|o[c+6]<<16|o[c+7]<<24,I[1]=o[c]|o[c+1]<<8|o[c+2]<<16|o[c+3]<<24,B[0]=o[c+12]|o[c+13]<<8|o[c+14]<<16|o[c+15]<<24,B[1]=o[c+8]|o[c+9]<<8|o[c+10]<<16|o[c+11]<<24,M(I,pt),D(I,31),M(I,ft),z(E,I),D(E,27),x(E,v),M(E,Rt),x(E,At),M(B,ft),D(B,33),M(B,pt),z(v,B),D(v,31),x(v,E),M(v,Rt),x(v,st);I[0]=0,I[1]=0,B[0]=0,B[1]=0;var C=[0,0];switch(m){case 15:C[1]=o[c+14],Y(C,48),z(B,C);case 14:C[1]=o[c+13],Y(C,40),z(B,C);case 13:C[1]=o[c+12],Y(C,32),z(B,C);case 12:C[1]=o[c+11],Y(C,24),z(B,C);case 11:C[1]=o[c+10],Y(C,16),z(B,C);case 10:C[1]=o[c+9],Y(C,8),z(B,C);case 9:C[1]=o[c+8],z(B,C),M(B,ft),D(B,33),M(B,pt),z(v,B);case 8:C[1]=o[c+7],Y(C,56),z(I,C);case 7:C[1]=o[c+6],Y(C,48),z(I,C);case 6:C[1]=o[c+5],Y(C,40),z(I,C);case 5:C[1]=o[c+4],Y(C,32),z(I,C);case 4:C[1]=o[c+3],Y(C,24),z(I,C);case 3:C[1]=o[c+2],Y(C,16),z(I,C);case 2:C[1]=o[c+1],Y(C,8),z(I,C);case 1:C[1]=o[c],z(I,C),M(I,pt),D(I,31),M(I,ft),z(E,I)}return z(E,p),z(v,p),x(E,v),x(v,E),ot(E),ot(v),x(E,v),x(v,E),("00000000"+(E[0]>>>0).toString(16)).slice(-8)+("00000000"+(E[1]>>>0).toString(16)).slice(-8)+("00000000"+(v[0]>>>0).toString(16)).slice(-8)+("00000000"+(v[1]>>>0).toString(16)).slice(-8)},Ki="phantomjs",Xi="selenium",qi="headless_chrome",Me=(function(i){function s(o,c){var p=i.call(this,c)||this;return p.state=o,p.name="BotdError",Object.setPrototypeOf(p,s.prototype),p}return(0,e.C6)(s,i),s})(Error);function $i(i,s){return i.indexOf(s)!==-1}function Un(i,s){return i.indexOf(s)!==-1}function vi(i){return Object.getOwnPropertyNames(i)}function gi(i){for(var s=[],o=1;o<arguments.length;o++)s[o-1]=arguments[o];for(var c=function(E){if(typeof E=="string"){if($i(i,E))return{value:!0}}else if((function(v,I){if("find"in v)return v.find(I);for(var B=0;B<v.length;B++)if(I(v[B]))return v[B]})(i,(function(v){return E.test(v)}))!=null)return{value:!0}},p=0,m=s;p<m.length;p++){var w=c(m[p]);if(typeof w=="object")return w.value}return!1}function Ji(i){return i.reduce((function(s,o){return s+(o?1:0)}),0)}function ma(){var i,s,o=window,c=navigator;return Ji(["webkitPersistentStorage"in c,"webkitTemporaryStorage"in c,c.vendor.indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in o,"BatteryManager"in o,"webkitMediaStream"in o,"webkitSpeechGrammar"in o])>=5?"chromium":Ji(["ApplePayError"in o,"CSSPrimitiveValue"in o,"Counter"in o,c.vendor.indexOf("Apple")===0,"getStorageUpdates"in c,"WebKitMediaKeys"in o])>=4?"webkit":Ji(["buildID"in navigator,"MozAppearance"in((s=(i=document.documentElement)===null||i===void 0?void 0:i.style)!==null&&s!==void 0?s:{}),"onmozfullscreenchange"in o,"mozInnerScreenX"in o,"CSSMozDocumentRule"in o,"CanvasCaptureMediaStream"in o])>=4?"gecko":"unknown"}var Ln={android:function(){var i=ma(),s=i==="chromium",o=i==="gecko";if(!s&&!o)return!1;var c=window;return Ji(["onorientationchange"in c,"orientation"in c,s&&!("SharedWorker"in c),o&&/android/i.test(navigator.appVersion)])>=2},browserKind:function(){var i,s=(i=navigator.userAgent)===null||i===void 0?void 0:i.toLowerCase();return Un(s,"edg/")?"edge":Un(s,"trident")||Un(s,"msie")?"internet_explorer":Un(s,"wechat")?"wechat":Un(s,"firefox")?"firefox":Un(s,"opera")||Un(s,"opr")?"opera":Un(s,"chrome")?"chrome":Un(s,"safari")?"safari":"unknown"},browserEngineKind:ma,documentFocus:function(){return document.hasFocus!==void 0&&document.hasFocus()},userAgent:function(){return navigator.userAgent},appVersion:function(){var i=navigator.appVersion;if(i==null)throw new Me(-1,"navigator.appVersion is undefined");return i},rtt:function(){if(navigator.connection===void 0)throw new Me(-1,"navigator.connection is undefined");if(navigator.connection.rtt===void 0)throw new Me(-1,"navigator.connection.rtt is undefined");return navigator.connection.rtt},windowSize:function(){return{outerWidth:window.outerWidth,outerHeight:window.outerHeight,innerWidth:window.innerWidth,innerHeight:window.innerHeight}},pluginsLength:function(){if(navigator.plugins===void 0)throw new Me(-1,"navigator.plugins is undefined");if(navigator.plugins.length===void 0)throw new Me(-3,"navigator.plugins.length is undefined");return navigator.plugins.length},pluginsArray:function(){if(navigator.plugins===void 0)throw new Me(-1,"navigator.plugins is undefined");if(window.PluginArray===void 0)throw new Me(-1,"window.PluginArray is undefined");return navigator.plugins instanceof PluginArray},errorTrace:function(){try{null[0]()}catch(i){if(i instanceof Error&&i.stack!=null)return i.stack.toString()}throw new Me(-3,"errorTrace signal unexpected behaviour")},productSub:function(){var i=navigator.productSub;if(i===void 0)throw new Me(-1,"navigator.productSub is undefined");return i},windowExternal:function(){if(window.external===void 0)throw new Me(-1,"window.external is undefined");var i=window.external;if(typeof i.toString!="function")throw new Me(-2,"window.external.toString is not a function");return i.toString()},mimeTypesConsistent:function(){if(navigator.mimeTypes===void 0)throw new Me(-1,"navigator.mimeTypes is undefined");for(var i=navigator.mimeTypes,s=Object.getPrototypeOf(i)===MimeTypeArray.prototype,o=0;o<i.length;o++)s&&(s=Object.getPrototypeOf(i[o])===MimeType.prototype);return s},evalLength:function(){return eval.toString().length},webGL:function(){var i=document.createElement("canvas");if(typeof i.getContext!="function")throw new Me(-2,"HTMLCanvasElement.getContext is not a function");var s=i.getContext("webgl");if(s===null)throw new Me(-4,"WebGLRenderingContext is null");if(typeof s.getParameter!="function")throw new Me(-2,"WebGLRenderingContext.getParameter is not a function");return{vendor:s.getParameter(s.VENDOR),renderer:s.getParameter(s.RENDERER)}},webDriver:function(){if(navigator.webdriver==null)throw new Me(-1,"navigator.webdriver is undefined");return navigator.webdriver},languages:function(){var i,s=navigator,o=[],c=s.language||s.userLanguage||s.browserLanguage||s.systemLanguage;if(c!==void 0&&o.push([c]),Array.isArray(s.languages))ma()==="chromium"&&Ji([!("MediaSettingsRange"in(i=window)),"RTCEncodedAudioFrame"in i,""+i.Intl=="[object Intl]",""+i.Reflect=="[object Reflect]"])>=3||o.push(s.languages);else if(typeof s.languages=="string"){var p=s.languages;p&&o.push(p.split(","))}return o},notificationPermissions:function(){return(0,e.sH)(this,void 0,void 0,(function(){var i,s;return(0,e.YH)(this,(function(o){switch(o.label){case 0:if(window.Notification===void 0)throw new Me(-1,"window.Notification is undefined");if(navigator.permissions===void 0)throw new Me(-1,"navigator.permissions is undefined");if(typeof(i=navigator.permissions).query!="function")throw new Me(-2,"navigator.permissions.query is not a function");o.label=1;case 1:return o.trys.push([1,3,,4]),[4,i.query({name:"notifications"})];case 2:return s=o.sent(),[2,window.Notification.permission==="denied"&&s.state==="prompt"];case 3:throw o.sent(),new Me(-3,"notificationPermissions signal unexpected behaviour");case 4:return[2]}}))}))},documentElementKeys:function(){if(document.documentElement===void 0)throw new Me(-1,"document.documentElement is undefined");var i=document.documentElement;if(typeof i.getAttributeNames!="function")throw new Me(-2,"document.documentElement.getAttributeNames is not a function");return i.getAttributeNames()},functionBind:function(){if(Function.prototype.bind===void 0)throw new Me(-2,"Function.prototype.bind is undefined");return Function.prototype.bind.toString()},process:function(){var i=window.process,s="window.process is";if(i===void 0)throw new Me(-1,"".concat(s," undefined"));if(i&&typeof i!="object")throw new Me(-3,"".concat(s," not an object"));return i},distinctiveProps:function(){var i,s,o=((i={}).awesomium={window:["awesomium"]},i.cef={window:["RunPerfTest"]},i.cefsharp={window:["CefSharp"]},i.coachjs={window:["emit"]},i.fminer={window:["fmget_targets"]},i.geb={window:["geb"]},i.nightmarejs={window:["__nightmare","nightmare"]},i.phantomas={window:["__phantomas"]},i[Ki]={window:["callPhantom","_phantom"]},i.rhino={window:["spawn"]},i[Xi]={window:["_Selenium_IDE_Recorder","_selenium","calledSelenium",/^([a-z]){3}_.*_(Array|Promise|Symbol)$/],document:["__selenium_evaluate","selenium-evaluate","__selenium_unwrapped"]},i.webdriverio={window:["wdioElectron"]},i.webdriver={window:["webdriver","__webdriverFunc","__lastWatirAlert","__lastWatirConfirm","__lastWatirPrompt","_WEBDRIVER_ELEM_CACHE","ChromeDriverw"],document:["__webdriver_script_fn","__driver_evaluate","__webdriver_evaluate","__fxdriver_evaluate","__driver_unwrapped","__webdriver_unwrapped","__fxdriver_unwrapped","__webdriver_script_fn","__webdriver_script_func","__webdriver_script_function","$cdc_asdjflasutopfhvcZLmcf","$cdc_asdjflasutopfhvcZLmcfl_","$chrome_asyncScriptInfo","__$webdriverAsyncExecutor"]},i[qi]={window:["domAutomation","domAutomationController"]},i),c={},p=vi(window),m=[];for(s in window.document!==void 0&&(m=vi(window.document)),o){var w=o[s];if(w!==void 0){var E=w.window!==void 0&&gi.apply(void 0,(0,e.fX)([p],w.window,!1)),v=!(w.document===void 0||!m.length)&&gi.apply(void 0,(0,e.fX)([m],w.document,!1));c[s]=E||v}}return c}};function Qi(i,s){return new Promise((function(o){return ya(o,i,s)}))}function ya(i,s){for(var o=[],c=2;c<arguments.length;c++)o[c-2]=arguments[c];var p=Date.now()+s,m=0,w=function(){m=setTimeout((function(){Date.now()<p?w():i.apply(void 0,o)}),p-Date.now())};return w(),function(){return clearTimeout(m)}}function Ko(i,s){for(var o=[],c=2;c<arguments.length;c++)o[c-2]=arguments[c];var p=document,m="visibilitychange",w=function(){return p.hidden?I():v()},E=(function(B,C,X){for(var Q=[],tt=3;tt<arguments.length;tt++)Q[tt-3]=arguments[tt];var nt,at=!1,gt=B,_t=0,vt=function(){at||nt||(_t=Date.now(),nt=ya((function(){at=!0,X.apply(void 0,Q)}),gt))};return C&&vt(),{start:vt,stop:function(){!at&&nt&&(nt(),nt=void 0,gt-=Date.now()-_t)}}})(s,!p.hidden,(function(){p.removeEventListener(m,w),i.apply(void 0,o)})),v=E.start,I=E.stop;return p.addEventListener(m,w),function(){p.removeEventListener(m,w),I()}}function Dn(i,s){return new Promise((function(o){return Ko(o,i,s)}))}function wf(i,s){return(0,e.sH)(this,void 0,void 0,(function(){var o;return(0,e.YH)(this,(function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),[4,i()];case 1:return[2,c.sent()];case 2:return o=c.sent(),console.error(o),[2,s];case 3:return[2]}}))}))}function wa(i,s){return new Promise((function(o,c){var p=!1;s?.then((function(){return p=!0}),(function(){return p=!0})),(typeof i=="function"?wa(Promise.resolve(),s).then(i):i).then((function(m){p||o(m)}),(function(m){p||c(m)}))}))}function to(i){return i.then(void 0,(function(){})),i}function jn(i,s){return(0,e.sH)(this,void 0,void 0,(function(){var o,c,p,m;return(0,e.YH)(this,(function(w){switch(w.label){case 0:try{o=s().then((function(E){return c=[!0,E]}),(function(E){return c=[!1,E]}))}catch(E){c=[!1,E]}return m=i.then((function(E){return p=[!0,E]}),(function(E){return p=[!1,E]})),[4,Promise.race([o,m])];case 1:return w.sent(),[2,function(){if(c){if(c[0])return c[1];throw c[1]}if(p){if(p[0])return p[1];throw p[1]}throw new Error("96375")}]}}))}))}function Ef(){var i,s,o=new Promise((function(c,p){i=c,s=p}));return o.resolve=i,o.reject=s,o}function Xo(i){return i instanceof Error||i!==null&&typeof i=="object"&&"name"in i}function bf(i,s){var o=0;return function(){return Math.random()*Math.min(s,i*Math.pow(2,o++))}}function zr(i){return i instanceof ArrayBuffer?new Uint8Array(i):new Uint8Array(i.buffer,i.byteOffset,i.byteLength)}function em(i,s){return Object.prototype.hasOwnProperty.call(i,s)}function mi(i,s,o,c){return i.addEventListener(s,o,c),function(){return i.removeEventListener(s,o,c)}}var Ea,ba="0123456789abcdef";function _f(i,s){if(s.length==0||s.length>i.length)return-1;for(var o=0;o<i.length;o++){for(var c=0,p=0;p<s.length;p++){if(i[o+p]!==s[p]){c=0;break}c++}if(c==s.length)return o}return-1}function Ar(i){for(var s=new Uint8Array(i.length),o=0;o<i.length;o++){var c=i.charCodeAt(o);if(c>127)return new TextEncoder().encode(i);s[o]=c}return s}function qo(i){if(typeof TextDecoder=="function"){var s=new TextDecoder().decode(i);if(s)return s}var o=zr(i);return decodeURIComponent(escape(String.fromCharCode.apply(null,o)))}function yi(i){return i.reduce((function(s,o){return s+(o?1:0)}),0)}function Rf(i,s){return(i-s+256)%256}function Qn(i){var s=zr(i);return btoa(String.fromCharCode.apply(null,s))}function $o(i){for(var s=atob(i),o=s.length,c=new Uint8Array(o),p=0;p<o;p++)c[p]=s.charCodeAt(p);return c}function tr(i){return Af(Ar(i))}function Af(i){var s=zr(i);Ea=Ea||(function(){for(var p,m=new Uint32Array(256),w=0;w<256;w++){p=w;for(var E=0;E<8;E++)p=1&p?3988292384^p>>>1:p>>>1;m[w]=p}return m})();for(var o=-1,c=0;c<s.length;c++)o=o>>>8^Ea[255&(o^s[c])];return~o>>>0}function Sf(i){return i===void 0?void 0:"".concat(i)}function nm(i,s){if(i!==void 0){if(!Array.isArray(i))throw new TypeError("Expected ".concat(s," to be an array, a ").concat((function(o){return typeof o=="object"?o?Object.prototype.toString.call(o):"null":typeof o})(i)," is given"));return i.map(String)}}function rm(i){for(var s=new Uint8Array(i.length/2),o=0;o<i.length;o+=2)s[o/2]=parseInt(i[o]+i[o+1],16);return s}function Jo(i){if(i instanceof Array)return i.map(Jo);if(i&&typeof i=="object"){for(var s={},o=0,c=Object.keys(i);o<c.length;o++){var p=c[o];s[p]=Jo(i[p])}return s}return i}function im(i,s){for(var o=[],c=Object.getOwnPropertyNames(i),p=0;p<c.length;p++){var m=c[p],w=tr(m);s.has(w)&&o.push({i:p,n:m})}return{l:c.length,p:o}}var _a=new Uint32Array(2);function Qo(){return crypto?(crypto.getRandomValues(_a),(1048576*_a[0]+(1048575&_a[1]))/4503599627370496):Math.random()}function If(i,s,o){o===void 0&&(o=Qo);for(var c="",p=0;p<i;p++)c+=s.charAt(o()*s.length);return c}function eo(i){return If(i,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")}function Of(){return[8,4,4,4,12].map((function(i){return If(i,ba)})).join("-")}var Nf=new Uint8Array(1);function om(){return crypto.getRandomValues(Nf),Nf[0]}function Tf(){return new TypeError("Can't pick from nothing")}function sm(i,s){return Math.floor(Qo()*(s-i+1))+i}function xf(i){return am(i)?(function(s){if(s.length===0)throw Tf();return s[Math.floor(Qo()*s.length)]})(i):(function(s){for(var o=Qo(),c=0,p=0,m=0,w=s;m<w.length;m++)c+=C=w[m][1];for(var E=0,v=s;E<v.length;E++){var I=v[E],B=I[0],C=I[1];if(o>=p/c&&o<(p+C)/c)return B;p+=C}throw Tf()})(Object.entries(i))}var am=Array.isArray,Ra="3.11.11",ts={default:"endpoint"},Lf={default:"tEndpoint"},es={default:"tlsEndpoint"};function Cf(i){return i?{query:!0,fragment:!0}:void 0}var Bf="_vid";function Mf(i){switch(i){case 0:return"load() start";case 1:return"load() success";case 2:return"load() fail";case 3:return"get() start";case 4:return"get() success";case 5:return"get() fail";case 6:return"TLS start";case 7:return"TLS success";case 8:return"TLS fail";case 9:return"TLS attempt start";case 10:return"TLS attempt success";case 11:return"TLS attempt fail";case 12:return"Signals start";case 13:return"Signals success";case 14:return"Signals fail";case 15:return"Ingress start";case 16:return"Ingress success";case 17:return"Ingress fail";case 18:return"Ingress attempt start";case 19:return"Ingress attempt success";case 20:return"Ingress attempt fail"}}function kf(){return{len:0,arr:new Uint8Array(128)}}function er(i,s){Df(i,i.len+1),i.arr[i.len++]=s}function ns(i,s){Df(i,i.len+s.length),i.arr.set(s,i.len),i.len+=s.length}function Uf(i){return i.arr.subarray(0,i.len)}function Df(i,s){if(i.arr.length<s){var o=new Uint8Array(Math.max(2*i.arr.length,s));o.set(i.arr),i.arr=o}}function Pf(i){var s=kf(),o=new WeakSet,c=function(p){if(typeof p=="string"){var m=p.replace(wm,(function(at){return"\\"+(Kf[at]||"u"+at.charCodeAt(0).toString(16).padStart(4,"0"))}));return er(s,no),ns(s,Ar(m)),void er(s,no)}if(typeof p=="number"||p===!0||p===!1)return(Number.isNaN(p)||p===1/0||p===-1/0)&&(p=null),void ns(s,Ar(String(p)));if(typeof p=="object"&&p){if(o.has(p))throw new TypeError("Recursive input");o.add(p);var w=p.toJSON;if(typeof w=="function")return void c(w.call(p));if(p instanceof Number||p instanceof String)return void c(p.valueOf());var E=!0,v=function(){E?E=!1:er(s,Aa)};if(Array.isArray(p)){er(s,Gf);for(var I=0,B=p;I<B.length;I++){var C=B[I];v(),c(C)}er(s,jf)}else{er(s,Yf);for(var X=0,Q=Object.entries(p);X<Q.length;X++){var tt=Q[X],nt=tt[0];um(C=tt[1])||(v(),c(nt),er(s,Vf),c(C))}er(s,zf)}o.delete(p)}else ns(s,Oa)};return c(i),Uf(s)}function rs(i){var s=kf(),o=zr(i),c=0,p=function(){return I(),o[c]===no?m():Ff(o[c])?w():B(Oa)?(c+=Oa.length,null):B(Wf)?(c+=Wf.length,!0):B(Zf)?(c+=Zf.length,!1):o[c]===Gf?E():o[c]===Yf?v():C()},m=function(){for(s.len=0;c++,o[c]!==no;){if(o[c]===hm){if(c++,o[c]===Ia){var Q=parseInt(qo(o.subarray(c+1,c+5)),16);ns(s,Ar(String.fromCharCode(Q))),c+=4;continue}var tt=ym[o[c]];if(tt){er(s,tt);continue}return C()}if(o[c]===void 0)return C();er(s,o[c])}return c++,qo(Uf(s))},w=function(){for(var Q=c;o[c]===mm||o[c]===Sa||o[c]===pm||o[c]===vm||Ff(o[c]);)c++;return Number(qo(o.subarray(Q,c)))},E=function(){var Q=[];for(c++;;){if(I(),o[c]===jf){c++;break}if(Q.length){if(o[c]!==Aa)return C();c++}Q.push(p())}return Q},v=function(){var Q={},tt=!0;for(c++;;){if(I(),o[c]===zf){c++;break}if(!tt){if(o[c]!==Aa)return C();c++,I()}if(o[c]!==no)return C();var nt=m();if(I(),o[c]!==Vf)return C();c++,Object.defineProperty(Q,nt,{value:p(),configurable:!0,enumerable:!0,writable:!0}),tt=!1}return Q},I=function(){for(;o[c]===cm||o[c]===dm||o[c]===lm||o[c]===fm;)c++},B=function(Q){for(var tt=0;tt<Q.length;tt++)if(o[c+tt]!==Q[tt])return!1;return!0},C=function(){throw new SyntaxError("Unexpected ".concat(c<o.length?"byte ".concat(c):"end"))},X=p();return I(),o[c]!==void 0&&C(),X}function um(i){return i===void 0||typeof i=="function"||typeof i=="symbol"}function Ff(i){return i>=Hf&&i<Hf+10||i===gm}var no=34,Aa=44,Vf=58,cm=32,fm=9,lm=13,dm=10,hm=92,Hf=48,Sa=101,Ia=117,pm=69,vm=43,gm=45,mm=46,Gf=91,jf=93,Yf=123,zf=125,Oa=new Uint8Array([110,Ia,108,108]),Wf=new Uint8Array([116,114,Ia,Sa]),Zf=new Uint8Array([102,97,108,115,Sa]),Kf={'"':'"',"\\":"\\","\b":"b","\f":"f","\n":"n","\r":"r"," ":"t"},ym=(function(){for(var i=new Uint8Array(128),s=0,o=Object.entries(Kf);s<o.length;s++){var c=o[s],p=c[0];i[c[1].charCodeAt(0)]=p.charCodeAt(0)}return i})(),wm=/[\x00-\x1F"\\]/g,Na="Client timeout",Ta="Network connection error",xa="Network request aborted",La="Response cannot be parsed",Ca="Blocked by CSP",Ba="The endpoint parameter is not a valid URL";function Wr(i,s,o){return o===void 0&&(o="..."),i.length<=s?i:"".concat(i.slice(0,Math.max(0,s-o.length))).concat(o)}function Yn(i){for(var s="",o=0;o<i.length;++o)if(o>0){var c=i[o].toLowerCase();c!==i[o]?s+=" ".concat(c):s+=i[o]}else s+=i[o].toUpperCase();return s}var Xf=Yn("WrongRegion"),qf=Yn("SubscriptionNotActive"),$f=Yn("UnsupportedVersion"),Jf=Yn("InstallationMethodRestricted"),Qf=Yn("HostnameRestricted"),t0=Yn("IntegrationFailed"),e0=Yn("VisitorNotFound"),n0=Yn("NetworkRestricted"),r0=Yn("InvalidProxyIntegrationSecret"),i0=Yn("InvalidProxyIntegrationHeaders");function Em(i){var s;try{s=rs(i.body)}catch{}return(0,e.Cl)((0,e.Cl)({},i),{bodyData:s})}function bm(i,s,o,c){var p=c.bodyData;return p===void 0?f0(c):(function(m){return m instanceof Object&&m.v==="2"&&m.products instanceof Object})(p)?(function(m,w,E,v){var I,B=m.notifications,C=m.requestId,X=m.sealedResult,Q=m.error,tt=m.products,nt=(function(Ht){for(var Kt=[],Tt=0,Dt=Object.keys(Ht);Tt<Dt.length;Tt++){var Xt=Ht[Dt[Tt]];Xt&&Kt.push(Xt)}return Kt})(tt);c0(B);for(var at=0,gt=nt;at<gt.length;at++)c0(gt[at].notifications);if(Q)return o0(Q,C,X,E);for(var _t=0,vt=nt;_t<vt.length;_t++){var bt=vt[_t].error;if(bt)return o0(bt,C,X,E)}(function(Ht,Kt,Tt){for(var Dt,Xt=0,Qt=Kt;Xt<Qt.length;Xt++){var ne=Qt[Xt];(Dt=ne.onResponse)===null||Dt===void 0||Dt.call(ne,Ht,Tt)}})(m,w,v);var Vt=(I=tt.identification)===null||I===void 0?void 0:I.data;return{result:Vt?(0,e.Cl)((0,e.Cl)({requestId:C},X===void 0?{}:{sealedResult:X}),Vt.result):s0(C,X,E)}})(p,i,s,o):f0(c)}function o0(i,s,o,c){switch(i.code){case"NotAvailableForCrawlBots":case"NotAvailableForAIBots":return a0(s,o,!0,c);case"NotAvailableWithoutUA":return a0(s,o,void 0,c);default:return{error:u0(_m(i),s,i),stop:i.code==="VisitorNotFound"}}}function _m(i){var s,o=i.code,c=i.message;return o===void 0?c:(s=(function(p){switch(p){case"TokenRequired":return"API key required";case"TokenNotFound":return"API key not found";case"TokenExpired":return"API key expired";case"RequestCannotBeParsed":return"Request cannot be parsed";case"Failed":return"Request failed";case"RequestTimeout":return"Request failed to process";case"TooManyRequests":return"Too many requests, rate limit exceeded";case"OriginNotAvailable":return"Not available for this origin";case"HeaderRestricted":return"Not available with restricted header";case"NotAvailableForCrawlBots":return"Not available for crawl bots";case"NotAvailableForAIBots":return"Not available for AI bots";case"NotAvailableWithoutUA":return"Not available when User-Agent is unspecified"}})(o))!==null&&s!==void 0?s:Yn(o)}function s0(i,s,o){var c={requestId:i,visitorFound:!1,visitorId:"",confidence:{score:.5,comment:"The real score is unknown"}};if(s!==void 0&&(c.sealedResult=s),!o)return c;var p="n/a";return(0,e.Cl)((0,e.Cl)({},c),{incognito:!1,browserName:p,browserVersion:p,device:p,ip:p,os:p,osVersion:p,firstSeenAt:{subscription:null,global:null},lastSeenAt:{subscription:null,global:null}})}function a0(i,s,o,c){return{result:(0,e.Cl)((0,e.Cl)({},s0(i,s,c)),{bot:(0,e.Cl)({probability:1},o===void 0?void 0:{safe:o})})}}function u0(i,s,o){var c=new Error(i);return s!==void 0&&(c.requestId=s),o!==void 0&&(c.raw=o),c}function c0(i){i?.forEach(Rm)}function Rm(i){var s=i.level,o=i.message;s==="error"?console.error(o):s==="warning"?console.warn(o):console.log(o)}function f0(i){return{error:u0(La,void 0,{httpStatusCode:i.status,bodyBase64:Qn(i.body)})}}var l0="[Fingerprint Pro]";function Am(i){return i===void 0&&(i=l0),function(s){var o=console.log;switch(s.e){case 2:case 5:case 8:case 11:case 14:case 20:o=console.error;break;case 13:var c=s.result;Object.keys(c).some((function(m){return"error"in c[m]}))&&(o=console.warn);break;case 17:var p=s.error;o=s.stage===0&&Xo(p)&&p.message===e0?console.log:console.error}o.apply(console,(function(m,w){var E=w.e,v=w.stage,I=(0,e.Tt)(w,["e","stage"]),B=[m,new Date().toISOString().slice(11),Mf(E)];if(v!==void 0)switch(v){case 0:B.push("(fast)");break;case 1:B.push("(final)");break;default:I.stage=v}return B.push(I),B})(i,s))}}function Sm(i){i===void 0&&(i="".concat(l0," "));var s={};return function(o){switch(o.e){case 15:s[o.getCallId]=o.body;break;case 18:console.log("".concat(i,"Visitor id request"),s[o.getCallId]);break;case 19:console.log("".concat(i,"Visitor id response"),o.body);break;case 16:case 17:delete s[o.getCallId]}}}var d0="__fpjs_pvid";function h0(){var i=window,s=i[d0];return i[d0]=typeof s=="string"?s:eo(10)}function Im(){var i=window;try{return i.self!==i.top}catch{return!0}}function Ma(){return!document.hidden}var p0="stripped",ka=["path","query","fragment"];function is(i,s){return(0,e.sH)(this,void 0,void 0,(function(){var o,c=this;return(0,e.YH)(this,(function(p){switch(p.label){case 0:return v0(s)?[2,i]:(o=os(i),[4,Promise.all(ka.map((function(m){return(0,e.sH)(c,void 0,void 0,(function(){var w,E,v;return(0,e.YH)(this,(function(I){switch(I.label){case 0:return w=o[m],s[m]&&w?(E=o,v=m,[4,Om(m==="query"?(B=w,B.split("&").sort().join("&")):w)]):[3,2];case 1:E[v]=I.sent(),I.label=2;case 2:return[2]}var B}))}))})))]);case 1:return p.sent(),[2,ss(o)]}}))}))}function v0(i){return!(i&&ka.some((function(s){return i[s]})))}function os(i){var s,o,c=i.split("#"),p=c[0],m=c.slice(1),w=p.split("?"),E=w[0],v=w.slice(1),I=/^((\w+:)?\/\/[^/]*)?((\/)(.*)|$)$/.exec(E);return I?(s=(I[1]||"")+(I[4]||""),o=I[5]||""):(s="",o=E),{origin:s,path:o,query:v.length?v.join("?"):null,fragment:m.length?m.join("#"):null}}function ss(i){var s=i.origin,o=i.path,c=i.query,p=i.fragment;return s+o+(c===null?"":"?".concat(c))+(p===null?"":"#".concat(p))}function Om(i){var s;return(0,e.sH)(this,void 0,void 0,(function(){var o;return(0,e.YH)(this,(function(c){switch(c.label){case 0:return i===""?[2,""]:(o=(s=window.crypto)===null||s===void 0?void 0:s.subtle)!=null&&o.digest?[4,o.digest("SHA-256",Ar(i))]:[2,p0];case 1:return[2,Qn(c.sent()).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")]}}))}))}function Nm(i,s){var o=os(i),c=o.origin+o.path;return c&&!c.endsWith("/")&&(c+="/"),c+=s,o.origin="",o.path=c,ss(o)}function Ua(i,s){for(var o=os(i),c=o.query,p=0,m=Object.entries(s);p<m.length;p++)for(var w=m[p],E=w[0],v=w[1],I=0,B=Array.isArray(v)?v:[v];I<B.length;I++){var C=B[I];c="".concat(c?"".concat(c,"&"):"").concat(E,"=").concat(Tm(C))}return o.query=c,ss(o)}function Tm(i){return i.split("/").map(encodeURIComponent).join("/")}function xm(i){return function(s){var o=[],c=new Map,p=window.setInterval((function(){var w=o.shift();if(w){var E=w[0],v=w[1],I=to(i(v));c.set(E,I)}}),1);function m(){window.clearInterval(p)}return s.then(m,m),[o,c,s]}}function g0(i){var s,o,c=Math.random();return s=c,o=i,i.container[0].push([s,o]),(function(p,m,w){var E;function v(){window.clearInterval(E)}var I=p[1],B=p[2],C=new Promise((function(X,Q){E=window.setInterval((function(){var tt=I.get(m);if(tt)return I.delete(m),tt.then(X,Q)}),1)}));return C.then(v,v),w?.then(v,v),B.then(v,v),C})(i.container,c,i.abort)}var m0=xm(Lm);function Lm(i){return(function(s,o,c,p){var m,w=document,E="securitypolicyviolation",v=function(B){var C=new URL(s,location.href),X=B.blockedURI;X!==C.href&&X!==C.protocol.slice(0,-1)&&X!==C.origin||(m=B,I())};w.addEventListener(E,v);var I=function(){return w.removeEventListener(E,v)};return p?.then(I,I),Promise.resolve().then(o).then((function(B){return I(),B}),(function(B){return new Promise((function(C){var X=new MessageChannel;X.port1.onmessage=function(){return C()},X.port2.postMessage(null)})).then((function(){if(I(),m)return(function(){throw y0()})();throw B}))}))})(i.url,(function(){return o=(s=i).url,c=s.method,p=c===void 0?"get":c,m=s.body,w=s.headers,E=s.withCredentials,v=E!==void 0&&E,I=s.timeout,B=s.responseFormat,C=s.abort,new Promise((function(X,Q){if((function(_t){if(URL.prototype)try{return new URL(_t,location.href),!1}catch(vt){if(vt instanceof Error&&vt.name==="TypeError")return!0;throw vt}})(o))throw ro("InvalidURLError","Invalid URL");var tt=new XMLHttpRequest;try{tt.open(p,o,!0)}catch(_t){throw _t instanceof Error&&/violate.+content security policy/i.test(_t.message)?y0():_t}if(tt.withCredentials=v,tt.timeout=I===void 0?0:Math.max(I,1),B==="binary"&&(tt.responseType="arraybuffer"),w)for(var nt=0,at=Object.keys(w);nt<at.length;nt++){var gt=at[nt];tt.setRequestHeader(gt,w[gt])}tt.onload=function(){return X((function(_t){return{body:_t.response,status:_t.status,statusText:_t.statusText,getHeader:function(vt){return(function(bt,Vt){var Ht,Kt=new RegExp("^".concat((Ht=Vt,Ht.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")),": (.*)$"),"im").exec(bt);return Kt?Kt[1]:void 0})(_t.getAllResponseHeaders(),vt)}}})(tt))},tt.ontimeout=function(){return Q(ro("TimeoutError","The request timed out"))},tt.onabort=function(){return Q(ro("AbortError","The request is aborted"))},tt.onerror=function(){return Q(ro("TypeError",navigator.onLine?"Connection error":"Network offline"))},tt.send((function(_t){var vt=function(){try{return new Blob([]),!1}catch{return!0}};if(_t instanceof ArrayBuffer){if(!vt())return new Uint8Array(_t)}else if(_t?.buffer instanceof ArrayBuffer&&vt())return _t.buffer;return _t})(m)),C?.catch((function(){})).then((function(){tt.onabort=null,tt.abort()}))}));var s,o,c,p,m,w,E,v,I,B,C}),0,i.abort)}function ro(i,s){var o=new Error(s);return o.name=i,o}function y0(){return ro("CSPError","The request is blocked by the CSP")}function dr(i,s){for(var o=[],c=2;c<arguments.length;c++)o[c-2]=arguments[c];i&&wf((function(){var p=s.apply(void 0,o);p!==void 0&&i(p)}))}function io(i,s,o,c,p){return(0,e.sH)(this,void 0,void 0,(function(){var m,w;return(0,e.YH)(this,(function(E){switch(E.label){case 0:dr(i,s),E.label=1;case 1:return E.trys.push([1,3,,4]),[4,p()];case 2:return m=E.sent(),[3,4];case 3:throw w=E.sent(),dr(i,c,w),w;case 4:return dr(i,o,m),[2,m]}}))}))}function Cm(i){for(var s={},o=0,c=Object.keys(i);o<c.length;o++){var p=c[o],m=i[p];if("value"in m){m.value;var w=(0,e.Tt)(m,["value"]);s[p]=w}else s[p]=m}return s}function w0(i){return typeof i.getCallId=="string"}function Bm(i){if(typeof i!="object"||!i)return i;var s=i.modules;return s instanceof Array?(0,e.Cl)((0,e.Cl)({},i),{modules:s.map((function(o){if(typeof o!="object"||!o)return o;var c=o.key;return typeof c=="string"?{key:c}:o}))}):i}function Mm(){var i=window,s=navigator;return yi(["maxTouchPoints"in s,"mediaCapabilities"in s,"PointerEvent"in i,"visualViewport"in i,"onafterprint"in i])>=4}function km(){var i=window;return yi(["mediaSession"in navigator,"BigInt64Array"in i,"FormDataEvent"in i,"ImageBitmap"in i,"WebGL2RenderingContext"in i,"onclose"in i])>=4}function Um(){var i=window;return yi(["fromAsync"in Array,"OffscreenCanvas"in i,"CompressionStream"in i,"isWellFormed"in String.prototype])>=3}function Dm(){var i,s=window;return yi(["Iterator"in s,s.Error&&"isError"in s.Error,s.Atomics&&"pause"in s.Atomics,((i=s.Document)===null||i===void 0?void 0:i.prototype)&&"fragmentDirective"in s.Document.prototype,s.CSSRule&&!("UNKNOWN_RULE"in s.CSSRule),!("SVGDocument"in s)])>=4}function E0(){var i=window;return yi([!("PushManager"in i),!("AudioBuffer"in i),!("RTCPeerConnection"in i),!("geolocation"in navigator),!("ServiceWorker"in i)])>=3}function Pm(){var i=window;return yi(["ClipboardItem"in i,"PerformanceEventTiming"in i,"RTCSctpTransport"in i])>=2}var Fm=(function(){function i(s){var o=this;this.onReportReady=s,this.isStopped=!1,this.pageStartTimestamp=(function(){var tt,nt,at=performance;if(at.timeOrigin){var gt=(nt=(tt=at.getEntriesByType)===null||tt===void 0?void 0:tt.call(at,"navigation"))===null||nt===void 0?void 0:nt[0];if(gt)return at.timeOrigin+(gt.responseStart||gt.unloadEventEnd)}return at.timing.domLoading||at.timing.responseStart||at.timing.unloadEventEnd})(),this.events={};for(var c=window,p=document,m=[[p,"readystatechange",function(){return o.handleDocumentReadyStateChange()}],[p,"visibilitychange",function(){return o.handleVisibilityChange()}],[p,"pageshow",function(){return o.handlePageTransition(!0)}],[p,"pagehide",function(){return o.handlePageTransition(!1)}],[c,"unload",function(){return o.handlePageUnload()}]],w=0,E=m;w<E.length;w++){var v=E[w],I=v[0],B=v[1],C=v[2];I.addEventListener(B,C)}var X=(function(tt){var nt=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange"].map((function(at){return mi(document,at,tt,void 0)}));return function(){for(var at=0,gt=nt;at<gt.length;at++)(0,gt[at])()}})((function(){return o.handleFullscreenChange()})),Q=(function(tt){var nt=window,at=navigator.connection;if(at)return mi(at,"change",tt);var gt=mi(nt,"online",tt),_t=mi(nt,"offline",tt);return function(){gt(),_t()}})((function(){return o.handleNetworkConnectionChange()}));this.stop=function(){o.isStopped=!0;for(var tt=0,nt=m;tt<nt.length;tt++){var at=nt[tt],gt=at[0],_t=at[1],vt=at[2];gt.removeEventListener(_t,vt)}X(),Q()}}return i.prototype.addEvent=function(s){var o;if(!this.isStopped){var c={time:new Date,type:"agentEvent",event:s};if(s.e===0){var p=s.options;this.urlHashing=(o=p?.urlHashing)!==null&&o!==void 0?o:Cf(p?.stripUrlParams),c.documentReadyState=document.readyState,c.isPageVisible=Ma(),c.isFullscreen=b0(),c.network=_0()}switch(this.storeAgentEvent(c),s.e){case 2:this.submitReport(s.agentId,void 0);break;case 4:case 5:this.submitReport(s.agentId,s.getCallId)}}},i.prototype.handleDocumentReadyStateChange=function(){this.storeEnvironmentEvent({time:new Date,type:"documentReadyState",state:document.readyState})},i.prototype.handleVisibilityChange=function(){this.storeEnvironmentEvent({time:new Date,type:"pageVisibilityToggle",isVisible:Ma()})},i.prototype.handlePageTransition=function(s){this.storeEnvironmentEvent({time:new Date,type:"pageTransition",isShown:s})},i.prototype.handleFullscreenChange=function(){this.storeEnvironmentEvent({time:new Date,type:"fullscreenToggle",isFullscreen:b0()})},i.prototype.handleNetworkConnectionChange=function(){this.storeEnvironmentEvent({time:new Date,type:"networkChange",network:_0()})},i.prototype.handlePageUnload=function(){this.storeEnvironmentEvent({time:new Date,type:"pageUnload"});for(var s=0,o=Object.keys(this.events);s<o.length;s++){var c=o[s],p=this.events[c];if(Object.keys(p.getCalls).length===0)this.submitReport(c,void 0);else for(var m=0,w=Object.keys(p.getCalls);m<w.length;m++){var E=w[m];Vm(p.getCalls[E])||this.submitReport(c,E)}}this.stop()},i.prototype.storeAgentEvent=function(s){var o=s.event,c=o.agentId;if(this.events[c]||(this.events[c]={commonEvents:[],getCalls:{}}),w0(o)){var p=o.getCallId;this.events[c].getCalls[p]||(this.events[c].getCalls[p]=[]),this.events[c].getCalls[p].push(s)}else this.events[c].commonEvents.push(s)},i.prototype.storeEnvironmentEvent=function(s){for(var o=0,c=Object.keys(this.events);o<c.length;o++){var p=c[o];this.events[p].commonEvents.push(s)}},i.prototype.submitReport=function(s,o){var c=(function(m,w,E){var v=[];return m[w]&&(v.push.apply(v,m[w].commonEvents),E!==void 0&&v.push.apply(v,m[w].getCalls[E]||[])),v.sort((function(I,B){return I.time.getTime()-B.time.getTime()})),v})(this.events,s,o),p=(function(m,w,E){for(var v,I,B,C,X,Q,tt,nt,at,gt=(function(Tt){for(var Dt={},Xt=0,Qt=Tt;Xt<Qt.length;Xt++){var ne=Qt[Xt];ne.type==="agentEvent"&&(Dt[ne.event.e]=ne)}return Dt})(m),_t="null",vt=0,bt=[[4,"getSuccess"],[5,"getFail"],[3,"getting"],[1,"loadSuccess"],[2,"loadFail"],[0,"loading"]];vt<bt.length;vt++){var Vt=bt[vt],Ht=Vt[0],Kt=Vt[1];if(gt[Ht]){_t=Kt;break}}return{time:((v=m[m.length-1])===null||v===void 0?void 0:v.time)||new Date,pageUrl:location.href,pageStartTime:new Date(w),isInIframe:Im(),agentVersion:(I=gt[0])===null||I===void 0?void 0:I.event.version,userAgent:navigator.userAgent,pageViewId:h0(),agentId:(B=gt[0])===null||B===void 0?void 0:B.event.agentId,getCallId:(C=gt[3])===null||C===void 0?void 0:C.event.getCallId,requestId:(Q=(X=gt[4])===null||X===void 0?void 0:X.event.result.requestId)!==null&&Q!==void 0?Q:(nt=(tt=gt[5])===null||tt===void 0?void 0:tt.event.error)===null||nt===void 0?void 0:nt.requestId,visitorId:(at=gt[4])===null||at===void 0?void 0:at.event.result.visitorId,identificationState:_t,events:m,urlHashing:E}})(c,this.pageStartTimestamp,this.urlHashing);try{this.onReportReady(p)}catch(m){console.error(m)}},i})();function Vm(i){return i.some((function(s){return s.type==="agentEvent"&&(s.event.e===4||s.event.e===5)}))}function b0(){return!!et()}function _0(){var i=navigator.connection;return{online:navigator.onLine,downlink:i?.downlink,downlinkMax:i?.downlinkMax,effectiveType:i?.effectiveType,roundTrip:i?.rtt,saveData:i?.saveData,type:i?.type}}function Hm(i){var s=this,o=i.clientId,c=i.token,p=i.endpoint,m=p===void 0?"https://api.rollbar.com/api/1/item/":p,w=new Fm((function(E){return(0,e.sH)(s,void 0,void 0,(function(){var v;return(0,e.YH)(this,(function(I){switch(I.label){case 0:return v=(function(B,C,X){return{access_token:X,data:Gm(B,C,void 0)}})(E,o,c),[4,zm(m,v)];case 1:return I.sent(),[2]}}))}))}));return w.addEvent.bind(w)}function Gm(i,s,o){var c;o===void 0&&(o=Of());var p=jm[i.identificationState],m=p.level,w=p.message,E=(function(v,I){if(v0(I))return v;for(var B=os(v),C=0,X=ka;C<X.length;C++){var Q=X[C];I[Q]&&B[Q]&&(B[Q]=p0)}return ss(B)})(i.pageUrl,i.urlHashing);return{environment:s,level:m,timestamp:Math.round(i.time.getTime()/1e3),platform:"browser",framework:"Fingerprint Pro",language:"javascript",uuid:o,notifier:{name:"Fingerprint Pro monitoring",version:Ra},request:{url:E,query_string:((c=/\?.*$/.exec(E))!==null&&c!==void 0?c:[""])[0],user_ip:"$remote_ip"},client:{javascript:{browser:i.userAgent,code_version:i.agentVersion}},person:i.visitorId===void 0?void 0:{id:"visitorId:".concat(i.visitorId)},body:{telemetry:(0,e.fX)([{level:"debug",source:"client",timestamp_ms:i.pageStartTime.getTime(),type:"manual",body:{message:"Page starts"}}],i.events.map(Ym),!0),message:{body:w}},custom:{isInIframe:i.isInIframe,pageViewId:i.pageViewId,agentId:i.agentId,getCallId:i.getCallId,requestId:i.requestId,identificationState:i.identificationState}}}var jm={null:{level:"info",message:"Load() wasn't called"},loading:{level:"warning",message:"Load() incomplete"},loadSuccess:{level:"info",message:"Load() succeeded, get() wasn't called"},loadFail:{level:"error",message:"Load() failed"},getting:{level:"warning",message:"Get() incomplete"},getSuccess:{level:"info",message:"Get() succeeded"},getFail:{level:"error",message:"Get() failed"}};function Ym(i){var s={type:"manual",level:"debug",source:"client",timestamp_ms:i.time.getTime()};switch(i.type){case"documentReadyState":return(0,e.Cl)((0,e.Cl)({},s),{body:{message:'Document ready state becomes "'.concat(i.state,'"')}});case"pageVisibilityToggle":return(0,e.Cl)((0,e.Cl)({},s),{body:{message:"Page becomes ".concat(i.isVisible?"visible (in foreground)":"invisible (in background)")}});case"pageTransition":return(0,e.Cl)((0,e.Cl)({},s),{body:{message:i.isShown?"Page is restored from browser history":"Page is about to go to browser history"}});case"fullscreenToggle":return(0,e.Cl)((0,e.Cl)({},s),{body:{message:"Programmatic fullscreen ".concat(i.isFullscreen?"on":"off")}});case"networkChange":return(0,e.Cl)((0,e.Cl)({},s),{body:(0,e.Cl)((0,e.Cl)({},i.network),{message:"Network connection changes"})});case"pageUnload":return(0,e.Cl)((0,e.Cl)({},s),{body:{message:"Page is about to unload (terminate)"}})}var o=i.event,c=function(I,B){B===void 0&&(B="info");var C=I;C.e,C.agentId,C.getCallId;for(var X=(0,e.Tt)(C,["e","agentId","getCallId"]),Q=(0,e.Cl)((0,e.Cl)({},s),{level:B,body:(0,e.Cl)({message:Mf(o.e)},X)}),tt=0,nt=["documentReadyState","isPageVisible","isFullscreen","network"];tt<nt.length;tt++){var at=nt[tt];i[at]!==void 0&&(Q.body[at]=i[at])}return Q};switch(o.e){case 0:o.version;var p=o.options,m=(0,e.Tt)(o,["version","options"]);return c((0,e.Cl)((0,e.Cl)({},m),{options:Bm(p)}));case 1:case 3:case 4:case 6:case 9:case 12:case 15:case 16:case 18:return c(o);case 2:case 5:case 8:case 11:case 14:case 17:case 20:return c(o,"error");case 7:var w=o.result;return c((0,e.Cl)((0,e.Cl)({},o),{result:(0,e.Cl)((0,e.Cl)({},w),{v:"v"in w?w.v&&Wr(w.v,1e3):void 0})}));case 10:return c((0,e.Cl)((0,e.Cl)({},o),{body:Wr(o.body,1e3)}));case 13:var E=c((0,e.Cl)((0,e.Cl)({},o),{result:Cm(o.result)}));return E.body.message+=" (the values are omitted)",E;case 19:var v=o.body;return v instanceof ArrayBuffer&&(v="(base64) ".concat(v.byteLength>1800?"".concat(Qn(new Uint8Array(v,0,1800)),"..."):Qn(v))),c((0,e.Cl)((0,e.Cl)({},o),{body:v}))}}function zm(i,s){return(0,e.sH)(this,void 0,void 0,(function(){var o,c;return(0,e.YH)(this,(function(p){switch(p.label){case 0:o=(function(m){return JSON.stringify(m,(function(w,E){if(E instanceof Error){var v=(function(I,B){var C;return B===void 0&&(B=!1),(0,e.Cl)({name:I.name,message:I.message,stack:B?(C=I.stack)===null||C===void 0?void 0:C.split(`
10
- `):I.stack},I)})(E);return typeof v.stack=="string"&&(v.stack=Wr(v.stack,1e3)),v}return E}))})(s),c=bf(1e3,1e4),p.label=1;case 1:return navigator.onLine&&(function(m){var w,E=m.url,v=m.body,I=(function(){var C,X=(C=window.event)===null||C===void 0?void 0:C.type;return X==="pagehide"||X==="unload"})();if(I)try{if(!((w=navigator.sendBeacon)===null||w===void 0)&&w.call(navigator,E,v))return!0}catch(C){if(!(C instanceof Error&&C.message==="Illegal invocation"))throw C}var B=new XMLHttpRequest;B.open("POST",E,!I),v instanceof Blob&&B.setRequestHeader("Content-Type",v.type);try{B.send(v)}catch{return!1}return!0})({url:i,body:o})?[3,4]:[4,Qi(c())];case 2:p.sent(),p.label=3;case 3:return[3,1];case 4:return[2]}}))}))}function R0(i,s,o,c,p){c===void 0&&(c=1/0);var m,w={failedAttempts:[]},E=(function(C){var X=(function(nt){var at=(0,e.fX)([],nt,!0);return{current:function(){return at[0]},postpone:function(){var gt=at.shift();gt!==void 0&&at.push(gt)},exclude:function(){at.shift()}}})(C),Q=bf(200,1e4),tt=new Set;return[X.current(),function(nt,at,gt){var _t;if(at)_t=(function(Ht){var Kt=Ht.getHeader("retry-after");if(Kt){if(/^\s*\d+(\.\d+)?\s*$/.test(Kt))return 1e3*parseFloat(Kt);var Tt=new Date(Kt);return isNaN(Tt)?void 0:Tt.getTime()-Date.now()}})(at),_t!==void 0?X.postpone():X.exclude();else if(gt instanceof Error&&(gt.name==="CSPError"||gt.name==="InvalidURLError"))X.exclude(),_t=0;else{var vt=Date.now()-nt.getTime()<50,bt=X.current();bt&&vt&&!tt.has(bt)&&(tt.add(bt),_t=0),X.postpone()}var Vt=X.current();return Vt===void 0?void 0:[Vt,_t??nt.getTime()+Q()-Date.now()]}]})(i),v=E[0],I=E[1],B=(m=[p?.then((function(C){return w.aborted={resolve:!0,value:C}}),(function(C){return w.aborted={resolve:!1,error:C}})),(0,e.sH)(this,void 0,void 0,(function(){var C,X,Q;return(0,e.YH)(this,(function(tt){switch(tt.label){case 0:if(v===void 0)return[2];C=v,X=function(nt){var at,gt,_t,vt,bt,Vt;return(0,e.YH)(this,(function(Ht){switch(Ht.label){case 0:at=new Date,gt=void 0,_t=void 0,Ht.label=1;case 1:return Ht.trys.push([1,3,,4]),[4,wa((function(){return s(C,nt,p)}),p)];case 2:return gt=Ht.sent(),[3,4];case 3:return vt=Ht.sent(),_t=vt,w.failedAttempts.push({level:0,endpoint:C,error:vt}),[3,4];case 4:if(gt){if("result"in(bt=o(gt)))return w.result=bt.result,[2,"break"];if(w.failedAttempts.push({level:1,endpoint:C,error:bt.error}),bt.stop)return[2,"break"]}return(Vt=I(at,gt,_t))?[4,wa(Qi(Vt[1]),p)]:[2,"break"];case 5:return Ht.sent(),C=Vt[0],[2]}}))},Q=0,tt.label=1;case 1:return Q<c?[5,X(Q)]:[3,4];case 2:if(tt.sent()==="break")return[3,4];tt.label=3;case 3:return++Q,[3,1];case 4:return[2]}}))}))],Promise.race(m.filter((function(C){return!!C})))).then((function(){return w}));return{then:B.then.bind(B),current:w}}function A0(){return"js/".concat(Ra)}var Wm=/\(([^(^\s^}]+):(\d)+:(\d)+\)/i,Zm=/@([^(^\s^}]+):(\d)+:(\d)+/i;function S0(i){return{e:Km(i)}}function Km(i){var s;try{i&&typeof i=="object"&&"message"in i?(s=String(i.message),"name"in i&&(s="".concat(i.name,": ").concat(s))):s=String(i)}catch(o){s="Code 3017: ".concat(o)}return Wr(s,500)}function rn(i){return wt(i,(function(s){return{s:0,v:s}}))}function hn(i,s){return wt(i,(function(o){return{s:o==null?s:0,v:o??null}}))}function I0(i){return wt(i,(function(s){return typeof s=="number"?{s,v:null}:{s:0,v:s}}))}function Cn(i){var s=function(c){return{s:0,v:c}},o=function(c){if(!(c instanceof Me))throw c;var p=c.state;if(typeof p!="number")throw new Error("Unexpected non-numeric error state ".concat(JSON.stringify(p),". Error message: ").concat(c.message));return{s:p,v:null}};return function(){try{var c=i();return(function(p){return!!p&&typeof p.then=="function"})(c)?c.then(s,o):s(c)}catch(p){return o(p)}}}function Xm(i){var s=i.modules,o=i.components,c=o===void 0?{}:o,p=i.customComponent,m=i.apiKey,w=i.tls,E=i.tag,v=i.extendedResult,I=i.exposeComponents,B=i.linkedId,C=i.algorithm,X=i.imi,Q=i.storageKey,tt=i.products,nt=i.urlHashing,at=i.ab,gt=i.fast,_t=i.requestId;return(0,e.sH)(this,void 0,void 0,(function(){var vt,bt,Vt=this;return(0,e.YH)(this,(function(Ht){switch(Ht.label){case 0:return vt=(0,e.Cl)(((bt={}).c=m,bt.t=(Kt=E)&&typeof Kt=="object"?Kt:Kt!=null?{tag:Kt}:void 0,bt.cbd=v?1:void 0,bt.lid=B,bt.a=C,bt.m=X.m,bt.l=X.l,bt.ec=I?1:void 0,bt.mo=s.map((function(Tt){return Tt.key})).filter((function(Tt){return!!Tt})),bt.pr=tt,bt.s56=w,bt.s67=p?{s:0,v:p}:{s:-1,v:null},bt.sc=(function(){var Tt,Dt=(function(){var Xt,Qt,ne,ce,Ee,ve=new Error,Se=(Xt=ve).fileName?Xt.fileName.split(" ")[0]:Xt.sourceURL?Xt.sourceURL:null;if(Se)return Se;if(ve.stack){var Le=(ne=(Qt=ve.stack.split(`
11
- `))[0],ce=Qt[1],(Ee=Wm.exec(ce)||Zm.exec(ne))?Ee[1]:void 0);if(Le)return Le}return null})();return(Tt={}).u=Dt?Wr(Dt,1e3):null,Tt})(),bt.uh=(function(Tt){var Dt;if(Tt)return(Dt={}).p=Tt.path?1:void 0,Dt.q=Tt.query?1:void 0,Dt.f=Tt.fragment?1:void 0,Dt})(nt),bt.gt=1,bt.ab=at,bt.hu=gt?0:_t?1:void 0,bt.ri=_t,bt),(function(Tt){for(var Dt={},Xt=0,Qt=Object.keys(Tt);Xt<Qt.length;Xt++){var ne=Qt[Xt],ce=Tt[ne];if(ce){var Ee="error"in ce?S0(ce.error):ce.value;Dt[ne]=Ee}}return Dt})(c)),[4,Promise.all(s.map((function(Tt){var Dt=Tt.toRequest;return(0,e.sH)(Vt,void 0,void 0,(function(){var Xt,Qt,ne;return(0,e.YH)(this,(function(ce){switch(ce.label){case 0:return Dt?(Qt=(Xt=Object).assign,ne=[vt],[4,Dt(Q,nt)]):[3,2];case 1:Qt.apply(Xt,ne.concat([ce.sent()])),ce.label=2;case 2:return[2]}}))}))})))];case 1:return Ht.sent(),[2,vt]}var Kt}))}))}function O0(i,s,o,c,p){p===void 0&&(p=om);var m=p()%(o+1),w=zr(i),E=1+s.length+1+m+c+w.length,v=new ArrayBuffer(E),I=new Uint8Array(v),B=0,C=p();I[B++]=C;for(var X=0,Q=s;X<Q.length;X++){var tt=Q[X];I[B++]=C+tt}I[B++]=C+m;for(var nt=0;nt<m;++nt)I[B++]=p();var at=new Uint8Array(c);for(nt=0;nt<c;++nt)at[nt]=p(),I[B++]=at[nt];for(nt=0;nt<w.length;++nt)I[B++]=w[nt]^at[nt%c];return v}function Da(i,s,o){var c=function(){throw new Error("Invalid data")},p=zr(i);p.length<s.length+2&&c();for(var m=0;m<s.length;++m)Rf(p[1+m],p[0])!==s[m]&&c();var w=1+s.length,E=Rf(p[w],p[0]);p.length<w+1+E+o&&c();var v=w+1+E,I=v+o,B=new ArrayBuffer(p.length-I),C=new Uint8Array(B);for(m=0;m<C.length;++m)C[m]=p[I+m]^p[v+m%o];return B}function qm(i){return(0,e.sH)(this,void 0,void 0,(function(){var s,o,c,p,m;return(0,e.YH)(this,(function(w){switch(w.label){case 0:return N0()?(s=(function(){try{return[!0,new CompressionStream("deflate-raw")]}catch{return[!1,new CompressionStream("deflate")]}})(),o=s[0],c=s[1],[4,$m(i,c)]):[2,[!1,i]];case 1:return p=w.sent(),m=o?p:(function(E){return new Uint8Array(E.buffer,E.byteOffset+2,E.byteLength-6)})(p),[2,[!0,m]]}}))}))}function N0(){return typeof CompressionStream<"u"}function $m(i,s){return(0,e.sH)(this,void 0,void 0,(function(){var o,c,p,m,w,E,v,I,B,C,X;return(0,e.YH)(this,(function(Q){switch(Q.label){case 0:(o=s.writable.getWriter()).write(i),o.close(),c=s.readable.getReader(),p=[],m=0,Q.label=1;case 1:return[4,c.read()];case 2:if(w=Q.sent(),E=w.value,w.done)return[3,4];p.push(E),m+=E.byteLength,Q.label=3;case 3:return[3,1];case 4:if(p.length===1)return[2,p[0]];for(v=new Uint8Array(m),I=0,B=0,C=p;B<C.length;B++)X=C[B],v.set(X,I),I+=X.byteLength;return[2,v]}}))}))}var T0=[3,13],Jm=[3,14];function Qm(i,s){return O0(i,s?Jm:T0,3,9)}function t4(i){var s=i.body,o=(0,e.Tt)(i,["body"]);return(0,e.sH)(this,void 0,void 0,(function(){var c,p,m,w,E,v,I;return(0,e.YH)(this,(function(B){switch(B.label){case 0:return x0(s)?[4,qm(s)]:[3,2];case 1:return w=B.sent(),[3,3];case 2:w=[!1,s],B.label=3;case 3:return p=(c=w)[0],m=c[1],[4,g0((0,e.Cl)((0,e.Cl)({},o),{body:Qm(m,p),responseFormat:"binary"}))];case 4:E=B.sent(),v=E.body,I=!1;try{v=Da(v,T0,9),I=!0}catch{}return[2,(0,e.Cl)((0,e.Cl)({},E),{body:v,wasSecret:I})]}}))}))}function x0(i){return i.byteLength>1024&&N0()}function L0(i,s,o,c,p){return(0,e.sH)(this,void 0,void 0,(function(){var m,w,E,v,I=this;return(0,e.YH)(this,(function(B){switch(B.label){case 0:if(i.length===0)throw new TypeError("The list of endpoints is empty");return m=i.map((function(C){return(function(X,Q){var tt=Q.apiKey,nt=Q.integrations,at=nt===void 0?[]:nt;return Ua(X,{ci:A0(),q:tt,ii:at})})(C,s)})),[4,Xm(s)];case 1:return w=B.sent(),E=Pf(w),v=s.fast?0:1,[4,io(p,(function(){return{e:15,stage:v,body:w,isCompressed:x0(E)}}),(function(C){return{e:16,stage:v,result:C}}),(function(C){return{e:17,stage:v,error:C}}),(function(){return(0,e.sH)(I,void 0,void 0,(function(){return(0,e.YH)(this,(function(C){switch(C.label){case 0:return[4,R0(m,e4.bind(null,E,p,v,o),bm.bind(null,s.modules,!!s.extendedResult,s.storageKey),1/0,c)];case 1:return[2,n4(C.sent())]}}))}))}))];case 2:return[2,B.sent()]}}))}))}function e4(i,s,o,c,p,m,w){var E=this;return io(s,(function(){return{e:18,stage:o,tryNumber:m,url:p}}),(function(v){var I=v.status,B=v.getHeader,C=v.body,X=v.bodyData,Q=v.wasSecret;return{e:19,stage:o,tryNumber:m,status:I,retryAfter:B("retry-after"),body:X??C,wasSecret:Q}}),(function(v){return{e:20,stage:o,tryNumber:m,error:v}}),(function(){return(0,e.sH)(E,void 0,void 0,(function(){return(0,e.YH)(this,(function(v){switch(v.label){case 0:return[4,t4({url:p,method:"post",headers:{"Content-Type":"text/plain"},body:i,withCredentials:!0,abort:w,container:c})];case 1:return[2,Em(v.sent())]}}))}))}))}function n4(i){var s=i.result,o=i.failedAttempts,c=i.aborted;if(s)return s;var p=o[0];if(!p)throw c&&!c.resolve?c.error:new Error("aborted");var m=p.level,w=p.error;if(m===0&&w instanceof Error){switch(w.name){case"CSPError":throw new Error(Ca);case"InvalidURLError":throw new Error(Ba);case"AbortError":throw new Error(xa)}throw new Error(Ta)}throw w}function r4(i,s,o){var c,p=this,m=(0,e.Cl)((0,e.Cl)({},o),{cache:{}}),w=(function(X){for(var Q={},tt={},nt={},at=0,gt=X;at<gt.length;at++){var _t=gt[at].sources;_t&&(Object.assign(Q,_t.stage1),Object.assign(tt,_t.stage2),Object.assign(nt,_t.stage3))}var vt=tt;return Object.assign(vt,nt),[Q,vt]})(i),E=w[0],v=w[1],I=s?1e5:50,B=mt(E,m,[],I),C=to((c=8,c===void 0&&(c=50),(function(X,Q){Q===void 0&&(Q=1/0);var tt=window.requestIdleCallback;return tt?new Promise((function(nt){return tt.call(window,(function(){return nt()}),{timeout:Q})})):u(Math.min(X,Q))})(c,2*c)).then((function(){return mt(v,m,[],I)})));return function(){return(0,e.sH)(p,void 0,void 0,(function(){var X,Q,tt,nt;return(0,e.YH)(this,(function(at){switch(at.label){case 0:return[4,Promise.all([B(),C.then((function(gt){return gt()}))])];case 1:return X=at.sent(),Q=X[0],tt=X[1],nt=tt,Object.assign(nt,Q),[2,nt]}}))}))}}function Sr(i,s){for(var o=i;o;){for(var c=Object.getOwnPropertyNames(o),p=0;p<c.length;p++){var m=c[p];if(tr(m)==s)return m}o=Object.getPrototypeOf(o)}return""}function qt(i,s){var o=i[Sr(i,s)];return typeof o=="function"?o.bind(i):o}function On(i,s){var o;return function(c){return o||(o=(function(p,m){return rs(Da(new Uint32Array(p),[],m))})(i,s)),Jo(o[c])}}function oo(i,s,o){var c;return function(p){return c===null?c:(c||(c=(function(m,w,E){var v=Ar(w());try{return rs((function(I,B,C){for(var X=zr(I),Q=new ArrayBuffer(X.length-C),tt=new Uint8Array(Q),nt=0;nt<X.length;++nt)tt[nt]=X[nt]^B[nt%B.length];return Q})(new Uint32Array(m),v,E))}catch(I){if(Xo(I)&&I.name==="SyntaxError")return null;throw I}})(i,s,o)),Jo(c&&c[p]))}}var Zr=On([3237452699,2611787672,3045311674,2962332150,4003383289,4090353905,3805249708,3028587956,2899958253,2946027702,4002601983,4204452091,4039413417,3970602410,3953912762,2631244730,3973421252,2844251834,2861027766,2946406891,3050675130,3806041579,2961425392,4023946731,3800865722,4208313581,2776941242,3806041513,4208313085,2743259834,3806041513,4208314361,3012023994,3968505257,3045300922,2799294954,4001684968,2648037617],4),i4=[202,206];function o4(i){for(var s={uAVXy:"9|5|11|0|3|6|7|2|10|8|4|1",FInQd:function(nt,at){return nt(at)},kpZRq:function(nt,at,gt){return nt(at,gt)},UoPyk:function(nt,at){return nt(at)},UpGPH:function(nt,at,gt){return nt(at,gt)},ZuRYV:function(nt,at){return nt-at},VnFXf:function(nt,at,gt,_t){return nt(at,gt,_t)},fDQiC:function(nt,at){return nt(at)},eKHGy:function(nt,at){return nt<at},AkgUE:function(nt,at){return nt/at},iBJKB:function(nt,at,gt){return nt(at,gt)},lIinn:function(nt,at){return nt+at}},o=s.uAVXy.split("|"),c=0;;){switch(o[c++]){case"0":var p=s.FInQd(Qn,v);continue;case"1":return s.kpZRq(Nm,i,E);case"2":var m=s.kpZRq(a4,s.UoPyk(Ar,B),i4);continue;case"3":var w=s.UpGPH(parseInt,X[s.ZuRYV(X.length,1)],16);continue;case"4":var E=s.kpZRq(s4,C,v);continue;case"5":var v=new Uint8Array(16);continue;case"6":var I=s.VnFXf(C0,v[w],8,22);continue;case"7":var B=p.slice(0,Math.min(s.ZuRYV(p.length,2),I));continue;case"8":var C="".concat(B).concat(Q).replace(new RegExp(s.fDQiC(Zr,1),"g"),"-").replace(new RegExp(s.fDQiC(Zr,2),"g"),"_");continue;case"9":var X=s.UoPyk(dn,i);continue;case"10":var Q=s.FInQd(Qn,s.FInQd(u4,s.FInQd(Af,m))).slice(0,2);continue;case"11":for(var tt=0;s.eKHGy(tt,X.length);tt+=2)v[s.AkgUE(tt,2)]=s.iBJKB(parseInt,"".concat(X[tt]).concat(X[s.lIinn(tt,1)]),16);continue}break}}function s4(i,s){for(var o={goMxK:"2|4|1|0|3",lnlOq:function(v,I){return v<I},RltcK:function(v,I,B,C){return v(I,B,C)},cVMXe:function(v,I){return v&I},SclSa:function(v,I){return v+I}},c=o.goMxK.split("|"),p=0;;){switch(c[p++]){case"0":for(;o.lnlOq(w,i.length);)E=o.RltcK(C0,s[o.cVMXe(w,15)],4,7),m+=i.slice(w,o.SclSa(w,E)),m+="/",w+=E;continue;case"1":var m="";continue;case"2":var w=0;continue;case"3":return m.slice(0,-1);case"4":var E=0;continue}break}}function C0(i,s,o){return(function(c,p){return c+p})(s,Math.floor((function(c,p){return c*p})((function(c){return c/256})(i),(function(c){return c+1})((function(c,p){return c-p})(o,s)))))}function a4(i,s){for(var o={toGYz:"0|3|4|1|2",OGfKZ:function(v,I){return v+I},ENgdo:function(v,I){return v<I},oVWhZ:function(v,I){return v+I}},c=o.toGYz.split("|"),p=0;;){switch(c[p++]){case"0":var m=o.OGfKZ(i.length,s.length);continue;case"1":for(var w=0;o.ENgdo(w,s.length);w++)E[o.oVWhZ(w,i.length)]=s[w];continue;case"2":return E;case"3":var E=new Uint8Array(m);continue;case"4":for(w=0;o.ENgdo(w,i.length);w++)E[w]=i[w];continue}break}}function u4(i){var s=function(o,c){return o>>c};return new Uint8Array([s(i,24),s(i,16),(function(o){return o>>8})(i),i])}function Pa(i,s){return!!i&&(function(o,c){return o===c})((function(o,c){return o(c,3814588639)})(qt,i),(function(o,c){return o(c,3814588639)})(qt,s))}function c4(i){var s=function(c,p){return c(p)},o=(function(c){return c(3)})(Zr);return(function(c,p){return c!==p})(i,s(Zr,4))&&(o="".concat(i,".").concat(o)),s(Zr,5).concat(o,"/")}function f4(i){var s=(function(o){return o(6)})(Zr)[i];return"".concat(s,(function(o){return o(7)})(Zr))}var l4=(function(){var i;return(i={}).noop=["a","b"],i})();function d4(i,s,o,c,p,m,w,E,v,I,B,C,X){var Q=this,tt={modules:i,apiKey:c,integrations:E,imi:v,storageKey:w,ab:B,urlHashing:I},nt=function(bt,Vt,Ht){return(0,e.sH)(Q,void 0,void 0,(function(){var Kt,Tt,Dt;return(0,e.YH)(this,(function(Xt){switch(Xt.label){case 0:return C?[4,gt()]:[2,void 0];case 1:Kt=Xt.sent(),Tt=!1,Vt.catch((function(){return Tt=!0})),Xt.label=2;case 2:return Xt.trys.push([2,4,,5]),[4,L0(p,(0,e.Cl)((0,e.Cl)({},tt),{tls:Kt,fast:!0}),bt,Vt,Ht)];case 3:return[2,Xt.sent()];case 4:if(Dt=Xt.sent(),Tt)throw Dt;return Xo(Dt)&&Dt.message===e0||console.warn(Dt),[2,void 0];case 5:return[2]}}))}))},at=function(bt,Vt,Ht){var Kt=bt.timeout,Tt=Kt===void 0?1e4:Kt,Dt=bt.tag,Xt=bt.linkedId,Qt=bt.disableTls,ne=bt.extendedResult,ce=bt.exposeComponents,Ee=bt.environment,ve=bt.products,Se=to(Promise.all([vt(Ht),_t(Tt,Qt,Ht)]));return function(Le,Ce){return(0,e.sH)(Q,void 0,void 0,(function(){var Ne,nn,Rn;return(0,e.YH)(this,(function(pn){switch(pn.label){case 0:return[4,Promise.race([Ce,Se])];case 1:return Ne=pn.sent(),nn=Ne[0],Rn=Ne[1],[4,L0(p,(0,e.Cl)((0,e.Cl)({},tt),{components:nn,customComponent:Ee,tag:Dt,tls:Rn,linkedId:Sf(Xt),extendedResult:ne,exposeComponents:ce,algorithm:m,products:nm(ve,"products"),requestId:Le}),Vt,Ce,Ht)];case 2:return[2,pn.sent()]}}))}))}},gt=function(){return o?.(0,50,!1,void 0)},_t=function(bt,Vt,Ht){return o?.(.1*bt,.4*bt,Vt,Ht)},vt=function(bt){return(0,e.sH)(Q,void 0,void 0,(function(){var Vt,Ht;return(0,e.YH)(this,(function(Kt){switch(Kt.label){case 0:return Kt.trys.push([0,2,,3]),[4,s()];case 1:return Vt=Kt.sent(),dr(bt,(function(){return{e:13,result:Vt}})),[2,Vt];case 2:throw Ht=Kt.sent(),dr(bt,(function(){return{e:14,error:Ht}})),Ht;case 3:return[2]}}))}))};return{get:function(bt){bt===void 0&&(bt={});var Vt=X&&(function(Ht,Kt){return function(Tt){return Ht((0,e.Cl)((0,e.Cl)({},Tt),{getCallId:Kt}))}})(X,eo(8));return io(Vt,(function(){return{e:3,options:bt}}),(function(Ht){return{e:4,result:Ht}}),(function(Ht){return{e:5,error:Ht}}),(function(){return Ht=function(Kt){return(function(Tt,Dt,Xt){return(0,e.sH)(Q,void 0,void 0,(function(){var Qt,ne,ce,Ee,ve,Se,Le;return(0,e.YH)(this,(function(Ce){switch(Ce.label){case 0:Qt=Ef(),Ce.label=1;case 1:return Ce.trys.push([1,,7,8]),ne=m0(Qt),ce=Dn((Le=Tt.timeout)!==null&&Le!==void 0?Le:1e4).then((function(){return Promise.reject(new Error(Na))})),Ee=at(Tt,ne,Dt),[4,nt(ne,ce,Dt)];case 2:return(ve=Ce.sent())?(Xt(ve),[4,Ee(ve.requestId,ce)]):[3,4];case 3:return Ce.sent(),[3,6];case 4:return Se=Xt,[4,Ee(void 0,ce)];case 5:Se.apply(void 0,[Ce.sent()]),Ce.label=6;case 6:return[3,8];case 7:return Qt.resolve(),[7];case 8:return[2]}}))}))})(bt,Vt,Kt)},new Promise((function(Kt,Tt){Ht(Kt).then((function(){return Tt(new Error("Action didn't call `resolve` or `reject`"))}),Tt)}));var Ht}))}}}var B0=function(i){return(0,e.sH)(this,void 0,void 0,(function(){var s,o;return(0,e.YH)(this,(function(c){switch(c.label){case 0:return p=(0,e.fX)([(w=/{(.*?)}/.exec(location.hash),!!w&&tr(w[1])===3025844545&&Sm())],(i?.modules||[]).map((function(E){return E.addEvent})),!0),m=p.filter((function(E){return!!E})),s=m.length?function(){for(var E=[],v=0;v<arguments.length;v++)E[v]=arguments[v];for(var I=function(X){wf((function(){return X.apply(void 0,E)}))},B=0,C=m;B<C.length;B++)I(C[B])}:void 0,o=s&&(function(E,v){return function(I){return E((0,e.Cl)((0,e.Cl)({},I),{agentId:v}))}})(s,eo(8)),[4,io(o,(function(){return{e:0,version:Ra,options:i}}),(function(E){return{e:1,ab:E[1]}}),(function(E){return{e:2,error:E}}),(function(){var E,v,I=i.token,B=i.apiKey,C=B===void 0?I:B,X=i.region,Q=X===void 0?"us":X,tt=i.tlsEndpoint,nt=tt===void 0?es:tt,at=i.disableTls,gt=i.storageKey,_t=gt===void 0?Bf:gt,vt=i.endpoint,bt=vt===void 0?ts:vt,Vt=i.te,Ht=Vt===void 0?Lf:Vt,Kt=i.integrationInfo,Tt=Kt===void 0?[]:Kt,Dt=i.algorithm,Xt=i.imi,Qt=Xt===void 0?((E={}).m="s",E):Xt,ne=i.stripUrlParams,ce=i.urlHashing,Ee=ce===void 0?Cf(ne):ce,ve=i.modules,Se=i.abTests,Le=Se===void 0?{}:Se,Ce=i.externalABSelections,Ne=Ce===void 0?{}:Ce,nn=i.optimizeRepeatedVisits,Rn=nn!==void 0&&nn,pn=i.aggressiveOptimization,Fn=pn!==void 0&&pn;if(!C||typeof C!="string")throw new Error("API key required");var zn,Wn,Nr,Xr,nr,fn,Mt,Nt,xt,Jt=(function(Ie,ke,We){for(var mn=(0,e.Cl)({},We),Tr=0,uo=Object.entries(Ie);Tr<uo.length;Tr++){var bi=uo[Tr],_i=bi[0],co=bi[1],Nn=ke[_i];if(Nn)try{mn[_i]=xf(Nn);continue}catch(Zn){console.error(Zn)}mn[_i]=xf(co)}return mn})((function(Ie){for(var ke=(0,e.Cl)({},l4),We=0,mn=Ie;We<mn.length;We++){var Tr=mn[We];Object.assign(ke,Tr.ab)}return ke})(ve),Le,Ne),ae=(zn=bt,Wn=Q,Nr=function(Ie,ke,We){return Ie(ke,We)},Xr=function(Ie,ke){return Ie(ke)},nr=function(Ie,ke){return Ie(ke)},(Array.isArray(zn)?zn:[zn]).map((function(Ie){return Nr(Pa,Ie,ts)?Xr(c4,Wn):nr(String,Ie)}))),un=(v=(function(Ie){for(var ke=0,We=Ie;ke<We.length;ke++){var mn=We[ke];if(mn.tls)return mn.tls}})(ve))===null||v===void 0?void 0:v(nt,ae,C,at,void 0,o);return dr(o,(function(){return{e:12}})),[d4(ve,r4(ve,Fn,{urlHashing:Ee,ab:Jt,te:(Mt=Q,Nt=function(Ie,ke){return Ie(ke)},xt=function(Ie,ke){return Ie(ke)},Pa(fn=Ht,Lf)?Nt(f4,Mt):xt(String,fn))}),un,C,ae,Sf(Dt),_t,Tt,Qt,Ee,Jt,Rn,o),Jt]}))];case 1:return[2,c.sent()[0]]}var p,m,w}))}))},h4=rn(Wt),p4=hn(pe,-1),v4=rn(ee),g4=wt(h,(function(i){return i===-1||i===-2||i===-3?{s:i,v:null}:{s:0,v:i}})),m4=wt(be,(function(i){return{s:0,v:i.map((function(s){return s===null?-1:s}))}})),M0=hn(se,-1),k0=rn(he),y4=hn(le,-1),U0=hn(ue,-1),D0=wt(ye,(function(i){return{s:0,v:i.map((function(s){return s===null?-1:s}))}})),P0=hn(ze,-1),w4=rn(we),E4=rn(_e),b4=rn(an),_4=rn(Be),R4=hn(De,-1),F0=hn(lr,-1),A4=hn(Ge,-1),S4=wt((function(){return Zt()}),(function(i){var s=i.geometry,o=i.text,c=s==="unsupported"?-1:s==="unstable"?-2:0;return{s:c,v:(0,e.Cl)((0,e.Cl)({},i),{geometry:c===0?dn(s):"",text:c===0?dn(o):""})}})),V0=rn(He),H0=rn(Yr),I4=rn(qe),O4=rn($e),N4=hn(Wo,-1),T4=hn(Je,-1),x4=hn(Qe,-1),L4=hn(Zo,-1),C4=hn(tn,-1),B4=hn(en,-1),M4=hn(Pi,-1),k4=hn(Fi,-1),U4=wt(Vi,(function(i){return{s:0,v:dn(Object.keys(i).map((function(s){return"".concat(s,"=").concat(i[s])})).join(","))}})),D4=hn(Hi,-1),P4=rn(Gi),F4=hn(ji,-1),V4=wt(Yi,(function(i){return i===-1||i===-2||i===-3?{s:i,v:null}:{s:0,v:i}})),G0=I0(Wi),j0=wt(Zi,(function(i){var s;if(typeof i=="number")return{s:i,v:null};var o=["32926","32928"],c=i.parameters.map((function(m){var w=m.split("=",3),E=w[0],v=w[1];return w[2]!==void 0||o.includes(v)?"".concat(E,"(").concat(v,")=null"):"".concat(E,"=").concat(v)})),p=i.extensionParameters.map((function(m){var w=m.split("=",3),E=w[0],v=w[1],I=w[2];return I!==void 0&&v!=="34047"?"".concat(E,"(").concat(v,")=").concat(I):"".concat(E,"=").concat(v)}));return{s:0,v:{contextAttributes:dn(i.contextAttributes.join("&")),parameters:dn(c.join("&")),parameters2:dn(i.parameters.join("&")),shaderPrecisions:dn(i.shaderPrecisions.join("&")),extensions:dn(((s=i.extensions)===null||s===void 0?void 0:s.join(","))||""),extensionParameters:dn(p.join(",")),extensionParameters2:dn(i.extensionParameters.join("&")),unsupportedExtensions:i.unsupportedExtensions}}})),H4=I0(zi),G4=Cn(Ln.userAgent),j4=Cn(Ln.appVersion),Y4=Cn(Ln.rtt),z4=Cn(Ln.notificationPermissions),W4=Cn(Ln.pluginsLength),Z4=Cn(Ln.errorTrace),K4=Cn(Ln.productSub),X4=Cn(Ln.documentElementKeys),q4=Cn(Ln.windowExternal),$4=Cn(Ln.mimeTypesConsistent),J4=Cn(Ln.functionBind),Q4=Cn(Ln.process),t5=Cn(Ln.windowSize),e5=Cn(Ln.distinctiveProps),Y0=rn(P),z0=rn(f),W0=rn(S),Z0=rn(U),K0=rn(W),X0=rn($),q0=rn(ut),$0=rn(E0),n5=rn(Z);function r5(){var i=window;if(!S())return wi(!1);try{if([66,114,97,118,101].map((function(w){return String.fromCharCode(w)})).join("")in i)return wi(!0);var s=document.createElement("canvas");s.width=4,s.height=4,s.style.display="inline";var o=s.toDataURL();if(o==="")return wi(!0);var c=$o(o.split(",")[1]),p=_f(c,[73,68,65,84,24]);if(p===-1)return wi(!1);var m=_f(c,[73,69,78,68]);return wi(m!==-1&&c.slice(p+5,m).reduce((function(w,E){return w+E}),0)!==1321)}catch{return wi(!1)}}function wi(i){return{s:0,v:i}}function J0(){return Q0("dark")?{s:0,v:!0}:Q0("light")?{s:0,v:!1}:{s:-1,v:null}}function Q0(i){return matchMedia("(prefers-color-scheme: ".concat(i,")")).matches}function tl(){var i=Date.now();return{s:0,v:[el(i),el(i-6e4*new Date().getTimezoneOffset())]}}function el(i){var s=Number(i);return isNaN(s)?-1:s}function i5(){var i=window.performance;if(!i?.now)return{s:-1,v:null};for(var s=1,o=1,c=i.now(),p=c,m=0;m<5e4;m++)if((c=p)<(p=i.now())){var w=p-c;w>s?w<o&&(o=w):w<s&&(o=s,s=w)}return{s:0,v:[s,o]}}var o5=On([1910186786,4206938268,3099470367,511281317,2493621742,2512262268],6);function s5(){var i,s,o=function(m,w){return m===w},c=function(m,w,E){return m(w,E)},p=o(s=(function(m){return m===null})(i=window[(function(m){return m(0)})(o5)])||o(i,void 0)?void 0:c(qt,i,3933025333),null)||(function(m){return m===void 0})(s)?void 0:c(qt,s,3098533860);return(function(m){return m===null})(p)||o(p,void 0)?{s:-1,v:null}:{s:0,v:p}}function a5(i){var s=it(i.cache);return s?((function(o){o.clearColor(0,0,1,1);var c=o.createProgram();if(c){w(0,"attribute vec2 p;uniform float t;void main(){float s=sin(t);float c=cos(t);gl_Position=vec4(p*mat2(c,s,-s,c),1,1);}"),w(1,"void main(){gl_FragColor=vec4(1,0,0,1);}"),o.linkProgram(c),o.useProgram(c),o.enableVertexAttribArray(0);var p=o.getUniformLocation(c,"t"),m=o.createBuffer();o.bindBuffer(34962,m),o.bufferData(34962,new Float32Array([0,1,-1,-1,1,-1]),35044),o.vertexAttribPointer(0,2,5126,!1,0,0),o.clear(16384),o.uniform1f(p,3.65),o.drawArrays(4,0,3)}function w(E,v){var I=o.createShader(35633-E);c&&I&&(o.shaderSource(I,v),o.compileShader(I),o.attachShader(c,I))}})(s),{s:0,v:dn(s.canvas.toDataURL())}):{s:-1,v:null}}function u5(i){return nl(i,f5)}function c5(i){return nl(i,l5)}function nl(i,s){var o=i.cache;return(0,e.sH)(this,void 0,void 0,(function(){var c,p;return(0,e.YH)(this,(function(m){switch(m.label){case 0:return typeof((c=window.speechSynthesis)==null?void 0:c.getVoices)!="function"?[2,{s:-1,v:null}]:(o.tts||(o.tts=(function(w){return(0,e.sH)(this,void 0,void 0,(function(){var E,v,I;return(0,e.YH)(this,(function(B){switch(B.label){case 0:if(E=function(){return w.getVoices()},(function(C){return!C.addEventListener||$()&&E0()})(w))return[2,{v:E()}];v={v:null},B.label=1;case 1:return B.trys.push([1,,3,4]),[4,new Promise((function(C,X){var Q,tt=function(){var nt=E();nt.length?(v.v=nt,Q?.(),Q=ya(C,50)):Q||(Q=Ko(C,600))};I=mi(w,"voiceschanged",(function(){try{tt()}catch(nt){X(nt)}})),tt()}))];case 2:return B.sent(),[3,4];case 3:return I&&Ko(I,1e4),[7];case 4:return[2,v]}}))}))})(c)),[4,o.tts]);case 1:return p=m.sent(),[2,function(){return p.v?s(p.v):{s:-2,v:null}}]}}))}))}function f5(i){var s=function(c){return c.replace(/([,\\])/g,"\\$1")},o=i.map((function(c){return[s(c.voiceURI),s(c.name),s(c.lang),c.localService?"1":"0",c.default?"1":"0"].join(",")})).sort();return{s:i.length?0:1,v:dn(JSON.stringify(o))}}function l5(i){var s=i.some((function(o){return tr(o.name.slice(0,6))===1655763047}));return{s:i.length?0:1,v:s}}var d5=["brands","mobile","platform","platformVersion","architecture","bitness","model","uaFullVersion","fullVersionList"];function h5(){var i;return(0,e.sH)(this,void 0,void 0,(function(){var s,o,c,p=this;return(0,e.YH)(this,(function(m){switch(m.label){case 0:return(s=navigator.userAgentData)&&typeof s=="object"?(o={},c=[],typeof s.getHighEntropyValues!="function"?[3,2]:[4,Promise.all(d5.map((function(w){return(0,e.sH)(p,void 0,void 0,(function(){var E,v;return(0,e.YH)(this,(function(I){switch(I.label){case 0:return I.trys.push([0,2,,3]),[4,s.getHighEntropyValues([w])];case 1:return(E=I.sent()[w])!==void 0&&(o[w]=typeof E=="string"?E:JSON.stringify(E)),[3,3];case 2:if(!((v=I.sent())instanceof Error&&v.name==="NotAllowedError"))throw v;return c.push(w),[3,3];case 3:return[2]}}))}))})))]):[2,{s:-1,v:null}];case 1:m.sent(),m.label=2;case 2:return[2,{s:0,v:{b:s.brands.map((function(w){return{b:w.brand,v:w.version}})),m:s.mobile,p:(i=s.platform)!==null&&i!==void 0?i:null,h:o,nah:c}}]}}))}))}function rl(i){var s=i.urlHashing;return(0,e.sH)(this,void 0,void 0,(function(){var o,c,p;return(0,e.YH)(this,(function(m){switch(m.label){case 0:return o=(function(){for(var w,E,v=[],I=window;;)try{var B=(w=I.location)===null||w===void 0?void 0:w.href,C=(E=I.document)===null||E===void 0?void 0:E.referrer;if(B===void 0||C===void 0)return{s:1,v};v.push({l:B,f:C});var X=I.parent;if(!X||X===I)return{s:0,v};I=X}catch(Q){if(v5(Q))return{s:1,v};throw Q}})(),c=[(0,e.Cl)({},o)],p={},[4,p5(o.v,s)];case 1:return[2,e.Cl.apply(void 0,c.concat([(p.v=m.sent(),p)]))]}}))}))}function p5(i,s){return(0,e.sH)(this,void 0,void 0,(function(){var o=this;return(0,e.YH)(this,(function(c){return[2,Promise.all(i.map((function(p){return(0,e.sH)(o,void 0,void 0,(function(){var m,w,E;return(0,e.YH)(this,(function(v){switch(v.label){case 0:return[4,Promise.all([is(p.l,s),is(p.f,s)])];case 1:return m=v.sent(),w=m[0],E=m[1],[2,{l:w,f:E}]}}))}))})))]}))}))}function v5(i){if(!i||typeof i!="object")return!1;var s=i;return!(!P()&&!f()||s.name!=="Error"&&s.name!=="TypeError"||s.message!=="Permission denied")||s.name==="SecurityError"}function g5(){return(function(i){var s=i.location,o=i.origin,c=s.origin,p=s.ancestorOrigins,m=null;if(p){m=new Array(p.length);for(var w=0;w<p.length;++w)m[w]=p[w]}return{s:0,v:{w:o??null,l:c??null,a:m}}})(window)}function il(){return{s:0,v:eval.toString().length}}function ol(){var i=navigator.webdriver;return i===null?{s:-1,v:null}:i===void 0?{s:-2,v:null}:{s:0,v:i}}function m5(){var i=function(o,c,p){return o(c,p)},s=this;return i(jn,Dn(250,{s:-2,v:null}),(function(){var o,c,p=function(m,w,E){return i(m,w,E)};return o=e.sH,c=function(){var m,w=function(E,v,I){return i(E,v,I)};return(function(E,v,I){return E(v,I)})(e.YH,this,(function(E){switch(E.label){case 0:return!((function(v,I){return(function(B,C){return B===C})(v,I)})(m=p(qt,navigator,1417288500),null)||(function(v){return(function(I){return I===void 0})(v)})(m))&&p(qt,m,3686698663)?[4,p(qt,m,3686698663)().then((function(){return{s:0,v:""}}),(function(v){return{s:0,v:w(qt,v,3065852031)}}))]:[2,{s:-1,v:null}];case 1:return[2,E.sent()]}}))},o(s,void 0,void 0,c)}))}function Fa(){var i;return Va([Sr(i=new Image().style,2882756133),Sr(i,3858258232)],[18,23,22,11,23,17,3,20,4,22,19,11,25,13,23,22,7,7,17,18,4,18,11,8,11,8,3,5,2,4,3,3,5,6,5,3,1,2,2,0,0])}function y5(){var i;return Va([Sr(i=new Image().style,2487676862),Sr(i,41374024)],[5,23,47,9,35,9,44,7,37,41,19,25,32,26,30,32,8,31,12,15,40,18,15,20,9,4,2,13,21,17,18,34,40,2,48])}function w5(){return i=navigator,s=document.createElement("frameset"),o=qt(i,704082790),Va([Sr(s,3017323393),sl(i,859837811,"QjslADtOBipACA")||sl(o,72906005,"Tjo/DSpIETFCCQ")],[20,1,24,23,23,21,14,8,11,8,6,13,1,1,12,4,9,10,6,2,1,2,0,1,2,1,1]);var i,s,o}function sl(i,s,o){var c=Sr(i,s);if(!c)return"";for(var p=$o(o),m=Array(p.length),w=0;w<p.length;w++)m[w]=p[w]^c.charCodeAt(w%c.length);return String.fromCharCode.apply(null,m)}function Va(i,s){for(var o=i.join(""),c=o.split(""),p=Array(o.length),m=0;m<p.length;++m)p[m]=c.splice(s[m%s.length],1);return p.join("")}var je=oo([290799128,256122120,104421910,67116302,755371265,505093152,152897830,504707661,470222364,504898635,1531393810,35461445,285283613,151395398,386279171,454440300,1259148302,67715140,117915663,1445400833,70599515,280581,270008841,369435995,272236574,119803980,704973062,135268614,184563807,1026755337,824180753,521019142,404440330,1310525212,689393240,992889883,118162967,75079,371069214,14400,67440946,336725549,100928582,419697754,37884160,822483751,151655985,440867606,34934535,1544297499,69023765,1530421525,521022789,352788490,152182535,1095068179,168111383,102371362,1379942426,218301962,410405200,674697750,150995736,1460669954,289295192,422585355,276197185,1241580055,503401029,169544981,956309037,1628772625,269702473,1481182751,12887,860704273,607786827,1079856400,370150428,234881091,407897606,354309752,1157892134,252333381,1264080656,304025857,1627786793,302143352,172563473,34688007,17172047,337261841,285893380,117845831,1448695310,152569103,1095068178,68628788,120395278,352653340,1245924639,288361223,2951185,3425555],Fa,1);function al(){if(!(function(s){return s in window})((i=je,i(1))))return!1;var i;try{return new window[(function(s){return s(1)})(je)],!0}catch(s){if((function(o){return o instanceof Error})(s)&&(function(o,c){return o===c})(s.name,(function(o){return o(2)})(je)))return!1;throw s}}function E5(i){return s=e.sH,o=function(){var c,p,m,w,E=function(v,I){return(function(B,C){return B(C)})(v,I)};return(function(v,I,B){return v(I,B)})(e.YH,this,(function(v){var I=function(B,C){return E(B,C)};switch(v.label){case 0:return c=E(Ha,i),p=c[0],m=c[1],w=c[2],(function(B){return(function(C){return C!==0})(B)})(m)?[2,{n:p,l:m}]:[4,new Promise((function(B){var C=function(X,Q){return I(X,Q)};w[I(je,3)]((function(X){C(B,{n:p,l:X[C(je,4)]})}),(function(){C(B,{n:p,l:-1})}))}))];case 1:return[2,v.sent()]}}))},s(this,void 0,void 0,o);var s,o}function Ha(i){for(var s={WceTb:"5|3|7|0|9|10|6|2|8|1|11|4",YXrDm:function(B,C,X){return B(C,X)},JsRES:function(B,C){return B(C)},WmCxs:function(B,C){return B(C)},kyiGc:function(B,C){return B===C},xozCJ:function(B,C){return B(C)},oRPyT:function(B,C){return B(C)},Unnxw:function(B,C){return B instanceof C},ZXJxt:function(B,C){return B===C},hAXYn:function(B,C){return B(C)},rrdYU:function(B,C){return B!==C},IPLsn:function(B,C){return B===C},qpBPk:function(B,C){return B(C)},tTnsV:function(B,C){return B===C},UBZPU:function(B,C){return B(C)},ijSLc:function(B,C){return B(C)},azIFr:function(B,C){return B(C)},axwYs:function(B,C){return B(C)},eKSOZ:function(B,C){return B===C}},o=s.WceTb.split("|"),c=0;;){switch(o[c++]){case"0":var p=s.YXrDm(Sr,new window[s.JsRES(je,5)]("")[s.WmCxs(je,6)](""),3626513111);continue;case"1":if(s.kyiGc(typeof I[s.WmCxs(je,16)],s.xozCJ(je,17)))return[m,-4,null];continue;case"2":try{v[s.oRPyT(je,11)][s.JsRES(je,12)](E)}catch(B){if(s.Unnxw(B,Error)&&s.ZXJxt(B.name,s.hAXYn(je,2))&&s.rrdYU(s.IPLsn(w=B[s.qpBPk(je,13)],null)||s.tTnsV(w,void 0)?void 0:w.indexOf(s.UBZPU(je,14)),-1))return[m,-3,null];throw B}continue;case"3":var m=i.split("/").slice(-1)[0];continue;case"4":return[m,0,I[s.ijSLc(je,16)][0]];case"5":var w;continue;case"6":var E=new window[s.WmCxs(je,9)]([],i,s.oRPyT(je,10));continue;case"7":var v=new window[s.qpBPk(je,1)];continue;case"8":I[s.azIFr(je,15)]=v[s.qpBPk(je,15)];continue;case"9":var I=document[s.oRPyT(je,7)](p);continue;case"10":I[s.JsRES(je,8)]=s.axwYs(je,3);continue;case"11":if(s.eKSOZ(I[s.qpBPk(je,16)].length,0))return[m,-2,null];continue}break}}var Ir=On([752472786,243421427,250966661,1304376727,44907654,246431386,1168077535,16463263,1619723729,1257995473,1606171802,1236083594,66480798,250966748,1912304588],4);function b5(){var i,s,o=function(E){return E()},c=function(E,v,I){return E(v,I)},p=function(E,v,I){return E(v,I)},m=function(E,v,I){return E(v,I)},w=function(E,v,I){return E(v,I)};return i=e.sH,s=function(){var E,v=this;return(0,e.YH)(this,(function(I){var B=function(tt,nt,at){return(function(gt,_t,vt){return gt(_t,vt)})(tt,nt,at)},C=function(tt){return o(tt)},X=function(tt,nt,at,gt,_t){return(function(vt,bt,Vt,Ht,Kt){return vt(bt,Vt,Ht,Kt)})(tt,nt,at,gt,_t)},Q=function(tt,nt){return(function(at,gt){return at(gt)})(tt,nt)};switch(I.label){case 0:return(E=je(0))?[3,2]:[4,c(jn,c(Dn,350,{s:-3,v:null}),(function(){var tt=function(at){return C(at)},nt=function(at,gt){return(function(_t,vt){return(function(bt,Vt){return bt(Vt)})(_t,vt)})(at,gt)};return X(e.sH,v,void 0,void 0,(function(){var at;return B(e.YH,this,(function(gt){switch(gt.label){case 0:return at={s:-3},[4,Promise.all([tt(ul)])];case 1:return[2,(at[nt(Ir,0)]=gt.sent(),at)]}}))}))}))];case 1:case 3:case 5:return[2,I.sent()];case 2:return o(al)?[3,4]:[4,p(jn,m(Dn,350,{s:-1,v:null}),(function(){var tt=function(at,gt){return(function(_t,vt){return(function(bt,Vt){return bt(Vt)})(_t,vt)})(at,gt)},nt=function(at,gt){return Q(at,gt)};return X(e.sH,v,void 0,void 0,(function(){var at;return(function(gt,_t,vt){return B(gt,_t,vt)})(e.YH,this,(function(gt){switch(gt.label){case 0:return at={s:-1},[4,Promise.all([tt(ul,E[0])])];case 1:return[2,(at[nt(Ir,0)]=gt.sent(),at)]}}))}))}))];case 4:return[4,m(jn,w(Dn,350,{s:-2,v:null}),(function(){var tt=function(nt,at){return Q(nt,at)};return X(e.sH,v,void 0,void 0,(function(){var nt;return(function(at,gt,_t){return B(at,gt,_t)})(e.YH,this,(function(at){switch(at.label){case 0:return nt={s:0},[4,Promise.all(E.map(E5))];case 1:return[2,(nt[tt(Ir,0)]=at.sent(),nt)]}}))}))}))]}}))},i(this,void 0,void 0,s)}function ul(i){var s,o,c=function(v,I){return v(I)},p=function(v,I){return v(I)},m=function(v,I,B){return v(I,B)},w=function(v,I){return v===I},E=function(v,I){return v===I};return i===void 0&&(i=p(Ir,1)),(function(v,I,B,C,X){return v(I,void 0,void 0,X)})(e.sH,this,0,0,(function(){var v,I,B;return m(e.YH,this,(function(C){v=i.split("/").slice(-1)[0];try{return I=new window[c(Ir,2)]([],i),B=new window[c(Ir,3)](p(Ir,4).concat(m(qt,I,4081332993)||"").concat(v,c(Ir,5)).concat(m(qt,I,3034174415))),(function(X){return X===""})(w(s=m(qt,B,3518522040),null)||(function(X){return X===void 0})(s)?void 0:s.substring(1))?[2,{n:v,l:-2}]:[2,{n:v,l:p(tr,E(o=m(qt,B,3518522040),null)||w(o,void 0)?void 0:o.substring(1))}]}catch{return[2,{n:v,l:-1}]}return[2]}))}))}var _5=On([2072691393,3531177868,682500123,140161052,2954107647,581829239],6);function R5(){var i=function(o,c){return o===c},s=(function(o){return o(navigator,3087401394)})(qt);return i(s,void 0)||i(s,null)?{s:-1,v:null}:{s:0,v:s}}function A5(){for(var i={pCQFw:"0|5|1|3|6|4|2",QPheb:function(B,C){return B(C)},cvtRQ:function(B,C){return B<C},obwRn:function(B,C,X){return B(C,X)},zLaAT:function(B,C,X,Q){return B(C,X,Q)},BBhKA:function(B,C){return B===C},dlsEs:function(B,C,X){return B(C,X)}},s=i.pCQFw.split("|"),o=0;;){switch(s[o++]){case"0":var c=window[i.QPheb(_5,0)];continue;case"1":var p=[0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10];continue;case"2":return{s:0,v:I};case"3":var m=[[9,1,7,0,65,0,253,15,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[240,67,0,0,0,12,1,10,0,252,2,3,1,1,0,0,110,26,11,161,10],[6,1,4,0,18,0,11,0,10,4,110,97,109,101,2,3,1,0,0],[8,1,6,0,65,0,192,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[7,1,5,0,208,112,26,11,0,10,4,110,97,109,101,2,3,1,0,0]];continue;case"4":for(var w=0,E=m;i.cvtRQ(w,E.length);w++){var v=E[w];I<<=1,I|=i.obwRn(qt,c,1108488788)(Uint8Array.of.apply(Uint8Array,i.zLaAT(e.fX,i.zLaAT(e.fX,[],p,!1),v,!1)))?1:0}continue;case"5":if(!(!(i.BBhKA(c,null)||i.BBhKA(c,void 0))&&i.dlsEs(qt,c,1108488788)))return{s:-1,v:null};continue;case"6":var I=0;continue}break}}function S5(){for(var i={tzfkk:"3|4|0|2|1|5",hnlPn:function(I,B){return I-B},YETaQ:function(I,B){return I*B},zzipR:function(I,B){return I>=B},QPpiL:function(I,B){return I===B},YposS:function(I,B){return I%B},FPDfz:function(I,B){return I|B}},s=i.tzfkk.split("|"),o=0;;){switch(s[o++]){case"0":var c=4096;continue;case"1":for(var p=i.hnlPn(i.YETaQ(v,c),1);i.zzipR(p,0);--p)if(i.QPpiL(i.YposS(p,c),0)){var m=Math.random();E.push(i.FPDfz(i.YETaQ(i.hnlPn(w,m),Math.pow(2,31)),0)),w=m}continue;case"2":var w=Math.random();continue;case"3":var E=[];continue;case"4":var v=6;continue;case"5":return{s:0,v:E}}break}}function cl(){var i=window.devicePixelRatio;return i==null?{s:-1,v:null}:{s:0,v:i}}function I5(){for(var i=navigator,s=["webkitPersistentStorage","connectionSpeed","xr","hid"],o=[],c=0,p=Object.getOwnPropertyNames(Object.getPrototypeOf(i));c<p.length;c++){var m=p[c];if(!s.includes(m)){var w=i[m];typeof w=="function"&&w.name!==void 0&&o.push(w.name)}}return{s:0,v:o}}function O5(){try{return objectToInspect,{s:0,v:!0}}catch{return{s:0,v:!1}}}function N5(){return typeof CSS>"u"?{s:-1,v:null}:{s:0,v:CSS.supports("backdrop-filter","blur(2px)")}}function T5(){if(typeof window.SharedArrayBuffer!="function")return{s:-2,v:null};var i=new window.SharedArrayBuffer(1);return i.byteLength===void 0?{s:-1,v:null}:{s:0,v:i.byteLength}}function x5(){if(typeof window.matchMedia!="function")return{s:-2,v:null};var i=window.matchMedia("(-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2), (min-resolution: 192dpi)");return i.matches===void 0?{s:-1,v:null}:{s:0,v:i.matches}}function L5(){try{throw"a"}catch(i){try{return i.toSource(),{s:0,v:!0}}catch{return{s:0,v:!1}}}}function C5(){return(0,e.sH)(this,void 0,void 0,(function(){return(0,e.YH)(this,(function(i){return[2,j((function(s,o){var c=o.document.createElement("div");return c.style.border=".5px dotted transparent",o.document.body.appendChild(c),{s:0,v:c.offsetHeight}}))]}))}))}function B5(){return navigator.mimeTypes===void 0?{s:-1,v:null}:navigator.mimeTypes.length===void 0?{s:-3,v:null}:{s:0,v:navigator.mimeTypes.length}}function M5(){return{s:0,v:!(!navigator.userAgentData||typeof navigator.userAgentData!="object")}}function k5(){if(navigator.plugins===void 0)return{s:-1,v:null};for(var i=navigator.plugins,s=Object.getPrototypeOf(i)===PluginArray.prototype,o=0;o<i.length;o++)s&&(s=Object.getPrototypeOf(i[o])===Plugin.prototype);return{s:0,v:s}}function U5(){return{s:0,v:[typeof SourceBuffer,typeof SourceBufferList]}}function D5(){return window.close===void 0?{s:-1,v:null}:{s:0,v:window.close.toString()}}function fl(){var i=navigator.language;return i?{s:0,v:i}:{s:-1,v:null}}function ll(){var i=navigator.languages;return i?{s:0,v:i}:{s:-1,v:null}}function P5(){var i,s,o=function(p,m,w){return p(m,w)},c=function(p,m,w){return p(m,w)};return i=e.sH,s=function(){var p,m,w,E;return(function(v,I,B){return v(I,B)})(e.YH,this,(function(v){switch(v.label){case 0:return p=navigator,m=o(qt,p,1417288500),(w=o(qt,p,2706846255))||!((function(I){return I===null})(m)||(function(I){return I===void 0})(m))&&o(qt,m,3538568711)?w?[4,Promise.race([o(Qi,250,void 0),new Promise((function(I){(function(B,C){return o(B,C,1291883197)})(qt,w)((function(B,C){return(function(X,Q){return(function(tt,nt){return tt(nt)})(X,Q)})(I,C)}))}))])]:[3,2]:[2,{s:-1,v:null}];case 1:if((function(I){return I!==void 0})(E=v.sent()))return[2,{s:0,v:E}];v.label=2;case 2:return!((function(I){return I===null})(m)||(function(I){return I===void 0})(m))&&c(qt,m,3538568711)?[4,Promise.race([o(Qi,250,void 0),c(qt,m,3538568711)().then((function(I){return(function(B,C){return o(B,C,1813778413)})(qt,I)}))])]:[3,4];case 3:if((function(I){return I!==void 0})(E=v.sent()))return[2,{s:1,v:E}];v.label=4;case 4:return[2,{s:-2,v:null}]}}))},i(this,void 0,void 0,s)}var F5=On([3158227384,2888664152,4084918174,3589656136,3712538156,4029405675,3656566123,3630103819,3648705019],6);function V5(){var i=function(s,o){return s===o};return(0,e.sH)(this,void 0,void 0,(function(){var s,o=function(m){return(function(w){return w()})(m)},c=function(m,w,E){return(function(v,I,B){return v(I,B)})(m,w,E)},p=function(m){return(function(w){return w()})(m)};return(function(m,w,E){return m(w,E)})(e.YH,this,(function(m){switch(m.label){case 0:return o(S)&&o(Pm)?[2,{s:-3,v:null}]:[4,Promise.race([c(Qi,100,null),p(H5)])];case 1:return(function(w){return i(w,null)})(s=m.sent())?[2,{s:-2,v:null}]:(function(w){return i(w,void 0)})(s)?[2,{s:-1,v:null}]:[2,{s:0,v:s}]}}))}))}function H5(){var i=function(o,c){return o(c)},s=function(o,c,p,m,w){return o(c,p,m,w)};return s(e.sH,this,void 0,void 0,(function(){var o,c=function(p,m){return i(p,m)};return(function(p,m,w){return p(m,w)})(e.YH,this,(function(p){return(o=window[(function(m,w){return i(m,w)})(F5,0)])?[2,new Promise((function(m){(function(w,E,v,I,B){s(w,E,v,I,B)})(o,0,1,(function(){return(function(w){return c(w,!0)})(m)}),(function(){return(function(w){return c(w,!1)})(m)}))}))]:[2,void 0]}))}))}function G5(){return j((function(i,s){var o=s.screen,c=function(p){var m=parseInt(p);return typeof m=="number"&&isNaN(m)?-1:m};return{s:0,v:{w:c(o.width),h:c(o.height)}}}))}var Kr=On([3924185679,3632893699,2980828376,2699881398,2597186493,3081479162,2868636342,4104912311,2917654778,3120294056,3186092732,3169643453,4210205690,3086875321,2867519889,3068977853,2897456556,2783771306,3033247220,4104908215,3152862458,2900426157,2868628129,2242641335],4);function j5(){try{return(function(s,o){return s(o)})(dl,!!window[i=Kr,i(0)])}catch{return(function(o){return o(!0)})(dl)}var i}function dl(i){return{s:0,v:i}}function Y5(){var i=function(c){return c()},s=function(c,p,m){return c(p,m)},o=this;return s(jn,Dn(250,{s:-3,v:null}),(function(){return c=e.sH,p=function(){var m=function(w){return i(w)};return s(e.YH,this,(function(w){return m(U)||(function(E){return i(E)})($)?[2,m(z5)]:[2,{s:-1,v:null}]}))},c(o,void 0,void 0,p);var c,p}))}function z5(){var i,s,o=function(c,p){return c(p)};return i=e.sH,s=function(){var c,p,m={BQeod:function(w,E){return o(w,E)},iOflQ:function(w,E,v){return(function(I,B,C){return I(B,C)})(w,E,v)},uZYOC:function(w,E){return o(w,E)},DssqK:function(w){return(function(E){return E()})(w)},FbFdf:function(w,E){return(function(v,I){return v(I)})(w,E)},TWEdd:function(w,E){return(function(v,I){return v instanceof I})(w,E)},NPofR:function(w,E){return(function(v,I){return v===I})(w,E)},saNhW:"4|2|0|3|1",ywkCU:function(w,E){return(function(v,I){return v(I)})(w,E)},tYhgW:function(w,E,v){return(function(I,B,C){return I(B,C)})(w,E,v)}};return(function(w,E,v){return w(E,v)})(e.YH,this,(function(w){for(var E=m.saNhW.split("|"),v=0;;){switch(E[v++]){case"0":if(!c)return[2,{s:-2,v:null}];continue;case"1":return[2,new Promise((function(B,C){try{var X=m.iOflQ(qt,c,2758837156)(p,1);X[m.BQeod(Kr,1)]=function(){(function(Q){m.BQeod(Q,{s:-5,v:null})})(B)},X[m.uZYOC(Kr,2)]=function(Q){var tt=I.Qxjcv(qt,I.Qxjcv(qt,Q,1181691900),325763347);try{return I.Qxjcv(qt,I.ehgXq(qt,tt,138212912)("-",I.zaFXk(Kr,3)),2928708052)(new window[I.zaFXk(Kr,4)]),void I.zaFXk(B,{s:0,v:""})}catch(nt){if(I.pOfaM(nt,Error))return void I.zaFXk(B,{s:0,v:I.ehgXq(qt,nt,3065852031)});I.zaFXk(C,nt)}finally{I.tUivq(qt,tt,318865860)(),I.tUivq(qt,c,3885781331)(p)}}}catch(Q){if(!m.DssqK(U))return void m.FbFdf(B,{s:-5,v:null});if(m.TWEdd(Q,Error)&&m.NPofR(Q.name,m.FbFdf(Kr,5)))return void m.uZYOC(B,{s:-4,v:null});m.FbFdf(C,Q)}}))];case"2":c=window[m.FbFdf(Kr,0)];continue;case"3":p="".concat(m.ywkCU(eo,16));continue;case"4":var I={Qxjcv:function(B,C,X){return m.tYhgW(B,C,X)},ehgXq:function(B,C,X){return m.iOflQ(B,C,X)},zaFXk:function(B,C){return m.BQeod(B,C)},pOfaM:function(B,C){return m.TWEdd(B,C)},tUivq:function(B,C,X){return m.tYhgW(B,C,X)}};continue}break}}))},i(this,void 0,void 0,s)}var hl=On([3374490785,3473914354,2687361672,2338446584,2909720041,3983198953,2690882468,2623789291,2927482620,2452479215],4);function W5(){var i=function(p,m,w){return p(m,w)},s="test";if(!U()||(function(p){return p()})(Mm))return{s:-1,v:null};var o=window[(function(p){return p(0)})(hl)],c=window[(function(p){return p(1)})(hl)];try{(function(p){p(null,null,null,null)})(o)}catch{return{s:0,v:!0}}try{return i(qt,c,2330630162)(s,"1"),i(qt,c,588657539)(s),{s:0,v:!1}}catch{return{s:0,v:!0}}}function Z5(){var i=Object.getOwnPropertyDescriptor(document,"createElement");return i?{s:0,v:!("writeable"in i)}:{s:-1,v:null}}function K5(){return{s:0,v:!!navigator.onLine}}var xe=On([2051009255,196400063,2525527446,4044416111,199305624,3777599729,664183563,2527137204,2959068455,280520411,4185511866,2144517134,3586067896,2987975794,1370780368,4217690097,2128325203,3518040290,2987517477,485718477,3408514487,1624764753,2525516212,3089101692,314277853,3777352609,1742208334,3751877875,4284477294,451175574,3090727933,1792130846,3451262692,4048669481,1370783684,4184381064,1876294928,2595627001,3189040251,285179857,3022493366,635026462,3602651639,2954672238,249917143,3022514673,664183579,3685769165,2736568422,1408460740,3831682485,1926610701,2533302452,3122262854,83050709,3022493344,1087813162,3516795391,2552037231,1608872657,3309737727,1657845296,3451270903,4048663672,149384902,3682584502,1792915224,3886684381,3054101874,519391961,3027814326,1859318097,3332770295,3205678702,1609525469,4167997183,2077073694,2578913506,3122262886,1606035925,4285518270,2077593628,3636076535,3054821986,1606035911,4184396215,1826273817,3686077407,2959063593,179857115,3765358778,634502420,3701674487,4048663658,351432409,4185430450,1859625224,2527613364,2803104104,702703057,3027158186,2127950151,2612794610,3897157222,435775636,2876823478,2077880609,2164071586,2404366395,1374366102,4184381096,1708238611,3299486178,4048008302,418538178,3865484220,1754589257,3619035641,4045515640,1291156949,3543761149,1475469901,2533318580,2701786985,1609793493,2788918761,697885517,3652325360,2803688558,1319905745,4264138979,1674820120,2162778082,4048660019,166879939,2687604411,667542345,3684786157,2802770793,249917146,3307835121,1323797546,4051773653,2318390612,1608081380,4247361710,1927784984,3652585957,3055482186,1370781895,4151957233,664188427,3602649012,3171542398,1608874193,3243808511,1223786530,3952488387,2200224840,1370768608,3849242609,1708898830,3517121730,2287055992,267615126,3799571872,650165528,3517977850,4044940645,1609377769,3798129338,1791013433,3517121730,2286400632,334719126,3126236848,1874965087,3582989055,3122657147,350380760,2888419254,1754703910,3517387769,2854871653,1203007172,4068398577,1721482260,3622324710,2954424932,1607087815,4148151486,629466963,2532385188,2382416758],5);function X5(i){return(function(s,o){return s(o,2660613247)})(qt,i)||(i[(function(s){return s(0)})(xe)]={})}var q5=[[xe(1),function(i){return vl(!1,i)}],[xe(2),function(){return vl(!0)}],[xe(3),function(){return i=so,s=xe(4),i(s);var i,s}],[xe(5),function(){var i=function(s,o){return s(o)};return i(so,i(xe,6))}],[xe(7),function(){var i=function(s,o){return s(o)};return i(so,i(xe,8))}],[xe(9),function(){var i=function(s,o){return s(o)};return i(so,i(xe,10))}]];function $5(){var i=function(o,c){return o(c)},s=function(o,c){return o in c};return((function(o){return o in window})(i(xe,11))||(function(o){return o in window})(i(xe,12))||s((function(o){return o(13)})(xe),window))&&s((function(o){return o(14)})(xe),navigator)}function J5(){var i,s=function(o,c){return o(c)};return!(function(o){return o()})(S)||!(function(o){return o in document})(s(xe,15))||((function(o){return o===null})(i=document[s(xe,15)])||(function(o){return o===void 0})(i)?void 0:(function(o,c){return o(c,2256349940)})(qt,i)().includes(s(xe,16)))}function Q5(){return(function(i){return i in navigator})(xe(17))&&(function(i,s){return i in s})((function(i){return i(18)})(xe),(function(i){return i(navigator,2900309608)})(qt))}function t6(i,s,o){var c,p=function(w,E){return w!==E},m=function(w,E){return w!==E};return(function(w){return w===void 0})(s)&&(s={}),p(o,null)&&p(o,void 0)||(o=[(function(w){return w()})(gl)]),m(c=s[i],null)&&m(c,void 0)?c:s[i]=(function(w){return w(navigator,3994889901)})(qt)(i,o)}function so(i,s,o){var c=function(p,m,w,E){return p(m,w,E)};return(function(p,m,w,E,v){return p(m,void 0,void 0,v)})(e.sH,this,0,0,(function(){var p,m,w;return(function(E,v,I){return E(v,I)})(e.YH,this,(function(E){switch(E.label){case 0:p=0,m=i,E.label=1;case 1:if(!(function(v,I){return v<I})(p,m.length))return[3,6];w=m[p],E.label=2;case 2:return E.trys.push([2,4,,5]),[4,c(t6,w,s,o)];case 3:return[2,!!E.sent()];case 4:return E.sent(),[3,5];case 5:return p++,[3,1];case 6:return[2,!1]}}))}))}var pl=xe(19);function e6(){var i=function(E,v){return E(v)},s=function(E,v){return E(v)},o=function(E,v){return E(v)},c=function(E,v,I){return E(v,I)},p=function(E,v){return E in v},m=function(E,v){return E(v)},w=function(E){return E()};return(0,e.sH)(this,void 0,void 0,(function(){var E,v,I;return c(e.YH,this,(function(B){switch(B.label){case 0:return(function(C){return C()})($)||(function(C){return C()})(ut)?[2,!1]:(E=!1,(function(C){return C()})(Q5)?(v={type:i(xe,20),audio:s(xe,21),video:o(xe,22),keySystemConfiguration:{keySystem:pl,video:o(xe,23)}},[4,c(qt,c(qt,navigator,2900309608),3516168465)(v)]):[3,2]);case 1:I=B.sent(),E=(function(C,X,Q){return C(X,Q)})(em,I,(function(C){return C(24)})(xe))&&I[(function(C){return C(24)})(xe)],B.label=2;case 2:return[2,E&&!p(m(xe,25),navigator)||!w(S)]}}))}))}function n6(i){for(var s={HkMtb:"3|2|0|4|1",pPhzD:function(m,w,E){return m(w,E)},EAQNq:function(m,w){return m(w)},cWdUy:function(m,w){return m(w)},NbRpv:function(m){return m()},dFENT:function(m,w){return m===w},npgEB:function(m,w){return m(w)}},o=s.HkMtb.split("|"),c=0;;){switch(o[c++]){case"0":s.pPhzD(qt,p,621177879)&&(s.pPhzD(qt,p,621177879)[0][s.EAQNq(xe,26)]=s.cWdUy(xe,27));continue;case"1":return p;case"2":var p=s.NbRpv(gl);continue;case"3":s.dFENT(i,void 0)&&(i=!1);continue;case"4":i&&(p[s.cWdUy(xe,28)]=s.npgEB(xe,29));continue}break}}function vl(i,s){return i===void 0&&(i=!1),o=e.sH,c=function(){var p,m=function(E){return(function(v){return v()})(E)},w=function(E,v,I,B){return(function(C,X,Q,tt){return C(X,Q,tt)})(E,v,I,B)};return(function(E,v,I){return E(v,I)})(e.YH,this,(function(E){switch(E.label){case 0:return[4,m(e6)];case 1:return E.sent()?(p=(function(v,I){return(function(B,C){return B(C)})(v,I)})(n6,i),[4,w(so,[pl],s,[p])]):[2,!1];case 2:return[2,E.sent()]}}))},o(this,void 0,void 0,c);var o,c}function gl(){return xe(30)}function r6(i){var s=function(m,w,E){return m(w,E)},o=function(m,w,E,v,I){return m(w,E,v,I)},c=function(m,w,E){return m(w,E)},p=c(qt,i,1095199719);return o(e.sH,this,void 0,void 0,(function(){var m,w=function(Q,tt){return(function(nt,at){return nt(at)})(Q,tt)},E=function(Q,tt,nt){return s(Q,tt,nt)},v=function(Q,tt,nt,at,gt){return o(Q,tt,nt,at,gt)},I=function(Q){return(function(tt){return tt()})(Q)},B=function(Q,tt,nt){return s(Q,tt,nt)},C=function(Q,tt,nt){return s(Q,tt,nt)},X=this;return c(e.YH,this,(function(Q){return I($5)&&I(J5)?I(ut)?[2,function(){return{s:-3,v:null}}]:(m=w(X5,p),[2,B(jn,C(Dn,250,{s:-2,v:null}),(function(){var tt=function(_t,vt){return(function(bt,Vt){return(function(Ht,Kt){return Ht<Kt})(bt,Vt)})(_t,vt)},nt=function(_t,vt){return w(_t,vt)},at=function(_t,vt,bt){return E(_t,vt,bt)},gt=function(_t,vt,bt,Vt,Ht){return v(_t,vt,bt,Vt,Ht)};return v(e.sH,X,void 0,void 0,(function(){var _t,vt,bt,Vt,Ht,Kt,Tt,Dt=function(Qt,ne){return nt(Qt,ne)},Xt=this;return at(e.YH,this,(function(Qt){switch(Qt.label){case 0:return[4,Promise.all(q5.map((function(ne){var ce=function(Ee,ve){return Dt(Ee,ve)};return(function(Ee,ve,Se,Le,Ce){return gt(Ee,ve,void 0,void 0,Ce)})(e.sH,Xt,0,0,(function(){var Ee,ve,Se;return(function(Le,Ce,Ne){return(function(nn,Rn,pn){return at(nn,Rn,pn)})(Le,Ce,Ne)})(e.YH,this,(function(Le){switch(Le.label){case 0:return Ee=ne[0],ve=ne[1],Se=[Ee],[4,ce(ve,m)];case 1:return[2,Se.concat([Le.sent()])]}}))}))})))];case 1:for(_t=Qt.sent(),vt={},bt=0,Vt=_t;tt(bt,Vt.length);bt++)Ht=Vt[bt],Kt=Ht[0],Tt=Ht[1],vt[Kt]=Tt;return[2,{s:0,v:vt}]}}))}))}))]):[2,function(){return{s:-1,v:null}}]}))}))}var i6=On([1348463336,3803023018,4141740428,4039893696,3740108228,2696994793,2396890353,3287272953,2760289937,3639185880,3800550087,3229721822,3655845628,3956859780,3417230991,3987529206,3465536455,3286746798,3788241285,4155412936,2931392987,2279597529,2175059177,4024282809,2296682185,4202925994,3049385931,3321024229,4001931456,3270216648,2932772850,2345464011,3303269088,2766070917,4157718512],5);function o6(){for(var i,s,o={},c=0,p=i6(0);c<p.length;c++)for(var m=p[c],w=m[0],E=0,v=m[1];E<v.length;E++){var I=v[E],B=(s=(i=Object.getOwnPropertyDescriptor(window[w],I))===null||i===void 0?void 0:i.get)===null||s===void 0?void 0:s.toString();B!==void 0&&(o["".concat(w,".").concat(I)]=B)}return{s:0,v:o}}var ml=4191585516,s6=new Set([4106781067,3209949814,2612078219,2382064880,3225112721,1018714844,2899793226,2094258580,3169460974,3079760821,392195965,3461410589,3582327722,1731918890,1767246934,3419607467,1110225616,1455947556,450291099,176445009,1998723369,2961538051,3413933903,2299562828,3945560591,485550147,3336694844,3737152292,2669437517,3860417393,ml]);function a6(){for(var i=[],s=Object.getOwnPropertyNames(window),o=0;o<s.length;o++){var c=s[o],p=tr(c);if(s6.has(p)&&i.push(c),p===ml){var m=s[o+1]||"";i.push(m)}}return{s:0,v:i}}function u6(){return j((function(i,s){var o={},c=s.document.createElement("div");s.document.body.appendChild(c);for(var p,m={AccentColor:"ac",AccentColorText:"act",ActiveText:"at",ActiveBorder:"ab",ActiveCaption:"aca",AppWorkspace:"aw",Background:"b",ButtonHighlight:"bh",ButtonShadow:"bs",ButtonBorder:"bb",ButtonFace:"bf",ButtonText:"bt",FieldText:"ft",GrayText:"gt",Highlight:"h",HighlightText:"ht",InactiveBorder:"ib",InactiveCaption:"ic",InactiveCaptionText:"ict",InfoBackground:"ib",InfoText:"it",LinkText:"lt",Mark:"m",Menu:"me",Scrollbar:"s",ThreeDDarkShadow:"tdds",ThreeDFace:"tdf",ThreeDHighlight:"tdh",ThreeDLightShadow:"tdls",ThreeDShadow:"tds",VisitedText:"vt",Window:"w",WindowFrame:"wf",WindowText:"wt",Selecteditem:"si",Selecteditemtext:"sit"},w=0,E=Object.keys(m);w<E.length;w++){var v=E[w];o[m[v]]=(p=v,c.style.color=p,s.getComputedStyle(c).color)}return{s:0,v:o}}))}function c6(){return j((function(i,s){var o=s.navigator.webdriver;return o===null?{s:-1,v:null}:o===void 0?{s:-2,v:null}:{s:0,v:o}}))}function f6(){return(function(i){var s=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(i),"hardwareConcurrency");if(!s||!s.get)return{s:-1,v:null};var o=window.Function,c=window.Object,p=!1;try{p=delete window.Function&&delete window.Object}catch{p=!1}if(!p)return m(),{s:-2,v:null};try{return s.get.toString(),{s:0,v:!1}}catch{return{s:0,v:!0}}finally{m()}function m(){try{window.Function=o,window.Object=c}catch{}}})(navigator)}function yl(i,s){for(var o={},c=i.getBoundingClientRect(),p=0,m=["x","y","left","right","bottom","height","top","width"];p<m.length;p++){var w=m[p];w in c&&(o[w]=c[w])}var E=s.getComputedStyle(i,null).getPropertyValue("font-family");return o.font=E,o}function l6(){for(var i="",s=128512;s<=128591;s++){var o=String.fromCodePoint(s);i+=o}return j((function(c,p){var m=p.document.createElement("span");return m.style.whiteSpace="nowrap",m.innerHTML=i,p.document.body.append(m),{s:0,v:yl(m,p)}}))}function d6(){var i="<mrow><munderover><mmultiscripts><mo>∏</mo>";function s(w,E,v,I,B){return"<mmultiscripts><mi>".concat(w,"</mi><mi>").concat(E,"</mi><mi>").concat(v,"</mi>")+"<mprescripts></mprescripts><mi>".concat(I,"</mi><mi>").concat(B,"</mi></mmultiscripts>")}for(var o=0,c=[["𝔈","υ","τ","ρ","σ"],["𝔇","π","ο","ν","ξ"],["𝔄","δ","γ","α","β"],["𝔅","θ","η","ε","ζ"],["𝔉","ω","ψ","ϕ","χ"],["ℭ","μ","λ","ι","κ"]];o<c.length;o++){var p=c[o],m=s.apply(void 0,p);i+=m}return i+="</munderover></mrow>",j((function(w,E){var v=E.document.createElement("math");return v.style.whiteSpace="nowrap",v.innerHTML=i,E.document.body.append(v),{s:0,v:yl(v,E)}}))}var h6=On([1024705730,641842159,2578743392,3876471597,2070139803],6);function p6(){var i=qt(navigator,2698072953);return i?{s:0,v:(function(s,o){return s(o)})(v6,i)}:{s:-1,v:null}}function v6(i){var s=function(E,v){return E<v},o=function(E,v,I){return E(v,I)},c=function(E,v,I){return E(v,I)},p=(function(E){return E(Object,1110892003)})(qt)(i,(function(E){return E(0)})(h6));if(p&&(function(E,v){return E(v,2813370411)})(qt,p))return!0;for(var m=0;s(m,i.length);m++){var w=o(qt,Object,1110892003)(i,m);if(w&&(c(qt,w,2813370411)||o(qt,w,1651707638)))return!0}return!1}var Pe=oo([855787288,642990106,254096950,926556982,87375404,1278677006,408486424,1479671850,1785924,253259062,240523559,673514752,658445118,1391164,607131925,722936367,271014668,151655183,36375323,656347974,1445350919,353197617,423242801,1160005147,1512002869,420283957,536958245,86705444,656408603,100677635,20185122,556090667,202191150,724518191,792405557,102894606,623247373,587992400,658457902,186065947,138173228,910037367,2368541,1529157659,892869409,976305177,203760670,1010441050,942083341,505880599,858547496,472786520,104733226,488840738,977151779,154821378,1044189198,942025224,606622265,960446235,537939522,1427451664,1594829109,757486355,521087014,119085350,638781191,792409347,3607069,137245730,740307761,975647282,992231996,556677182,121255207,522468654,103100716,805591826,205345105,352982566,809188375,538263045,590744875,204342828,87438137,657730594,355141642,1430208096,990394680,70993686,825163804,1060643342,419658253,86454317,808395603,960181563,1394880291,723543328,1059455265,422468123,1512636726,523643153,874654019,741018648,472326400,438382882,19791956,101085447,788741643,117637695,134556468,576544002,1817775652,828261639,390094395,253639961,1880502074,370026788,807930146,3016495,1527136534,71514660,945292548,304222e3,1580941075,2110514,203960841,321666847,858338073,408755024,134358831,521999910,104796679,1141842004,1376664580,355614474,1581667629,1510485767,671100941,1062295126,370957148,254414105,1535071780,561394448,1494427185,539892273,120535346,203499292,522594859,471863338,775098909,1597979140,907887673,758332434,655825187,758207319,419572773,2133349379,909508638,122886204,123473464,1463621412,641018151,1376126269,1462121850,472787007,725356864,341384543,206715932,20988416,404560468,236535349,136583426,654445841,943666452,840316960,1027350080,674639121,153557559,1510280726,961623300,1008474660,973157633,443359752,656934418,1461592383,472779801,238290498,1058027540,644034587,68093212,1597246981,1544182280,469976413,238374721,1174618196,1194143029,336400700,2066110510,34473564,1344553036,873275941,372524551,591344222,623860493,641412978,288168465,742072848,958995498,604449289,221971308,1495672659,723588667,355544366,808599331,459040,943462687,908866865,942887995,908264973,36774146,503972959,657396518,255140875,922816319,1426597669,724636239,873869836,422207e3,738338618,403715596,687875167,874774529,1040791559,120850268,604126999,775167011,470361864,992484109,419635991,743185,154018116,641337180,755635292,254040613,222176514,857754138,2505515,707068717,101333848,757538096,621551931,37443895,1547319336,456857894,3999031,908491345,775432019,439162173,706096427,358119961,1058025846,437977936,102439689,574895878,356259076,372648449,1142819334,742401113,1058341645,1362637919,70005800,202582592,1192122395,236594727,839523131,1750337312,207570485,590873144,123355928,22029379,67645968,269812016,638015583,757087233,657734424,1345271600,740439809,1561926978,1560608781,285688601,387387163,910180890,959256594,456272657,573188414,943880979,1029446156,1073890833,1029574938,1007884807,693115144,222574848,436674607,1174818049,1545405479,1275535655,823416647,86462535,523833608,974464036,658321980,1114075158,185861637,487922498,471600394,639451455,537999451,520699919,1079979324,236797980,168450619,393283123,456001101,186713889,1493375013,488440356,923600390,756164122,655898448,825951036,1411784533,34609698,1208103527,1128159247,253245995,940584251,573441833,19400266,993726249,18425437,139266084,137047810,190711400,1527646996,36582975,978979125,287314201,108201025,1057162756,1583308301,489622303,293476447,840836395,406279465,554701144,471161609,861221689,722419267,1360213011,1143874879,909322020,2035428162,438440025,106244122,322058780,891553820,1360617229,860762642,723856384,322969613,238895933,842924835,1879190897,52179258,453527317,643782993,169476647,858128388,1091178016,453267755,1179072280,1511742509,1364295471,894177538,1547456852,339630853,942212098,640433433,930292802,1599102517,1279285263,1160643877,829502250,1143043844,1530134532,559155459,188100392,1815413542,890521399,220333865,1042559767,520753679,1899432762,369635096,825252367,186328081,1513044992,104291868,842078054,537864570,823793936,1163282459,453314382,1632586541,1159401523,151472718,219612436,1343881243,302413385,67122704,252322835,289281282,520961808,570699029,470824736,843333652,387845450,1180440642,355535121,472254981,206261077,341444100,285219076,439879490,1158377805,188762957,457966854,420087833,2046827521,722541333,1263228164,1510343692,503979288,772677403,942886173,118822420,1074859273,339172401,203161933,353775648,386806050,1363745804,34035503,1295078920,654974826,103553585,17500434,84149518,1212816394,341192510,303115534,305863945,1314328859,136125003,239478532,1129799731,185012293,504893725,1243356169,158746440,1226710058,169542741,940646154,352652561,439419943,376860481,469959197,520567564,16778499,994532938,805575194,201332246,424232781,219809552,825559315,2019624473,285350999,201785371,1129190437,352980301,353764925,1159268906,235294021,236258823,1128289801,269945915,35194673,437005072,85329174,387714572,274102343,83897604,956964102,285213966,1079384090,117586755,995588193,739054110,33755162,289099606,292814850,388764421,575359829,254878242,892283406,674169947,873859604,690695688,556934411,1532961317,269620487,137047589,19803402,891619353,774844708,773205285,420423187,589300788,539835481,959397124,537535801,589641006,622930724,673579048,167981855,671091755,437650701,756498733,704784648,774251013,975510574,335745584,1040792358,134424354,772089349,891158532,18422329,1041391729,139998271,286612271,626670900,958605350,856111142,724383270,372644648,773794620,855909183,540223547,203108701,906494980,1040720168,807150682,571218739,219101490,371001128,137049628,705576492,808659290,705692733,791022080,538653958,671624507,739063102,809906233,639962113,637745182,744239416,236529698,811540526,626862600,788995891,606877246,842204468,573770006,638135325,892486697,791755096,842940166,218240539,974075680,1007048511,555429381,388115255,1057830682,907621664,941633087,892021814,705508445,656356372,641149279,592446271,960046629,421476140,36057648,673325652,639245336,253309464,286404120,19138609,941505862,52178751,537019707,103819782,990131740,87893776,572400132,940786999,991251806,420435997,705108243,621752107,792157219,556736060,860304940,908527152,707673142,893072223,87437101,69927728,540938258,421737780,56494849,220529437,637555989,587807551,201721412,1293836041,809393727,2165761,119747921,760221964,942670122,523578142,1023565147,1946881594,1495147345,302056256,118113602,33882179,1024137755,1462240834,138296332,33948685,202726697,185470982,1577530626,18037005,758717254,857941269,959654443,858460691,640372776,555703830,321330014,1482629131,492570962,473434659,589234776,1042363916,725122873,521305974,1495996214,824716089,120401469,1175858246,603988531,723400211,590361130,892885286,728181053,874711586,704914987,607397390,673849635,858927916,1980441910,271717152,588463451,186264864,439096898,237511981,336863746,1445603842,958933259,655710269,739654685,707734794,691939104,17112595,1479220487,17311610,1585157,253636865,792142081,858725420,892469556,975571478,794635822,554644258,218577412,974917174,219283825,219108949,320604719,839200021,358887210,1009990432,895033669,270346552,369371943,170854914,288163108,822414375,135800369,201547047,218968081,537737542,185541933,1023878402,621038898,302923324,896737594,722614578,18820911,907806763,119221853,34611475,85931888,134429956,219358233,51716651,436478992,772030467,169813541,134233615,270402344,353573131,318904915,654518079,773797416,222570033,974721590,893719153,186589236,689707610,822608991,1027559461,103755568,890844441,740165382,370948908,170874206,742132011,823276892,252001627,185024067,236004399,542196259,655377180,573518398,772752423,68573239,993141293,671090230,50540551,207364644,688129835,51264102,69160960,823668001,186531879,1721438,542523258,51782502,839058447,889528634,1058743644,909337639,855709264,691550208,1111303721,908535824,639830843,437662578,4131881,639639610,404095542,907748360,756363024,774594342,925979405,909059125,574562367,1041766962,2833664,906497055,773928241,354893625,86265618,186593554,771772968,911815229,705440282,237767514,22363698,991902554,576651358,641030188,842007853,1044645642,791428699,674312229,591608893,572594698,102513465,838863909,236594769,324688386,336408621,371011385,823482709,772604988,671293188,673386800,121376300,673579281,841623353,254488125,890642453,359400763,171709191,1077742878,1158229763,942290951,761559636,808342563,1529619006,73138759,371406637,924855586,489358620,823667740,773799490,2118792263,510668586,50463006,979182891,56492606,1308764941,205980450,855642373,121183505,674956826,605370372,67440411,1277167410,573652306,1594245935,375074050,1194403380,555890965,255144200,1194992947,136513541,875576142,1024269850,1510682155,1042688287,168629537,354423099,369503541,355479608,21052219,855835153,1345463855,1042756404,190065709,973626116,761204497,123093823,1915165206,459220566,370027800,1580407058,506730774,1025124126,1510744383,387514687,1141319970,1565204261,1359103771,185995575,35596554,84096006,672404008,857878564,3032093,207364681,555304731,488660742,557915986,861239815,1074597388,372852262,506478175,755175171,2581879,100939293,537605408,956701468,1060906552,202447182,84023075,925892957,1448158238,455885632,456995842,236397832,789581071,486539295,923009595,1632458001,772084274,288971043,504107035,184943133,825691398,1313151757,219814218,370679576,1229983007,134546550,33752117,420092230,101057883,353308952,927730989,320602150,437864198,403773963,3948554,603989776,303508501,119413321,1192230914,441860171,122042880,471431969,101403907,871429,1175061276,438371390,1050900,201330949,1079580686,1498700612,174478106,438317072,1145045533,403514955,18481974,639055628,1866663195,486674503,286853695,826998811],Fa,0);function g6(){for(var i={YQAxx:"0|2|4|1|3",NxnUc:"1|2|0|3|4|5",dRZXE:function(w,E){return w!==E},arEiG:function(w,E){return w(E)},FEyAC:function(w,E){return w|E},cUIUX:function(w,E){return w&E},vaJLl:function(w,E){return w&E},osTKi:function(w,E){return w(E)},vuPdB:function(w,E){return w+E},euenK:function(w,E){return w(E)}},s=i.YQAxx.split("|"),o=0;;){switch(s[o++]){case"0":var c={nkHEv:i.NxnUc,yPbQz:function(w,E){return i.dRZXE(w,E)},cIFeZ:function(w,E){return i.arEiG(w,E)},kGvFR:function(w,E){return i.FEyAC(w,E)},eFyAy:function(w,E){return i.cUIUX(w,E)},WLFtS:function(w,E){return i.vaJLl(w,E)},uzqnn:function(w,E){return i.osTKi(w,E)},rqcBN:function(w,E){return i.vuPdB(w,E)}};continue;case"1":Object.defineProperty(p,i.osTKi(Pe,2),{value:m});continue;case"2":var p=i.euenK($o,i.arEiG(Pe,0));continue;case"3":return p;case"4":var m=function(w){for(var E=c.nkHEv.split("|"),v=0;;){switch(E[v++]){case"0":var I=this[C];continue;case"1":var B;continue;case"2":var C=c.yPbQz(B=this[c.cIFeZ(Pe,1)],null)&&c.yPbQz(B,void 0)?B:0;continue;case"3":this[C]=c.kGvFR(c.eFyAy(I,~w),c.WLFtS(~I,w));continue;case"4":this[c.uzqnn(Pe,1)]=c.rqcBN(C,1);continue;case"5":return I}break}};continue}break}}function m6(i){var s,o,c,p=function(E,v){return E(v)},m=function(E,v){return E===v},w=function(E,v){return E(v)};return o=e.sH,c=function(){var E,v,I,B,C,X,Q=function(vt,bt){return p(vt,bt)},tt=function(vt,bt){return w(vt,bt)},nt=function(vt,bt,Vt,Ht,Kt){return(function(Tt,Dt,Xt,Qt,ne){return Tt(Dt,Xt,Qt,ne)})(vt,bt,Vt,Ht,Kt)},at=function(vt,bt){return p(vt,bt)},gt=function(vt,bt){return p(vt,bt)},_t=this;return(function(vt,bt,Vt){return vt(bt,Vt)})(e.YH,this,(function(vt){switch(vt.label){case 0:return E=window[p(Pe,3)],(v=m(s=E[p(Pe,4)],null)||m(s,void 0)?void 0:s.bind(E))?(I=w(Pe,5),B=p(Pe,6),C={},[4,Promise.all(I.map((function(bt){var Vt=function(Qt,ne,ce){return(function(Ee,ve,Se){return(function(Le,Ce,Ne){return Le(Ce,Ne)})(Ee,ve,Se)})(Qt,ne,ce)},Ht=function(Qt,ne){return Q(Qt,ne)},Kt=function(Qt,ne){return tt(Qt,ne)},Tt=function(Qt,ne){return(function(ce,Ee){return(function(ve,Se){return ve<Se})(ce,Ee)})(Qt,ne)},Dt=function(Qt,ne,ce,Ee,ve){return nt(Qt,ne,ce,Ee,ve)},Xt=function(Qt,ne){return gt(Qt,ne)};return nt(e.sH,_t,void 0,void 0,(function(){var Qt,ne,ce,Ee,ve,Se,Le,Ce;return(function(Ne,nn,Rn){return(function(pn,Fn,zn){return pn(Fn,zn)})(Ne,nn,Rn)})(e.YH,this,(function(Ne){switch(Ne.label){case 0:return Ne.trys.push([0,9,,10]),[4,Vt(v,bt,B)];case 1:return[4,Ne.sent()[Ht(Pe,7)]()];case 2:Qt=Ne.sent(),ne=Qt[Kt(Pe,8)](),ce=[92,189,203],Ee=0,Ne.label=3;case 3:if(!Tt(Ee,3))return[3,8];Ne.label=4;case 4:return Ne.trys.push([4,6,,7]),ve=C,Se=Kt(tr,bt),[4,Dt(y6,Qt,ne,i,ce)];case 5:return ve[Se]=Ne.sent(),[2];case 6:if((function(nn,Rn){return at(nn,Rn)})(b6,Le=Ne.sent()))return ce=Xt(w6,i),[3,7];throw Xt(E6,ce),Le;case 7:return Ee++,[3,3];case 8:return[3,10];case 9:return Ce=Ne.sent(),X=Ce,[3,10];case 10:return[2]}}))}))})))]):[2,null];case 1:if(vt.sent(),X&&m(Object.keys(C).length,0))throw X;return[2,C]}}))},o(this,void 0,void 0,c)}function y6(i,s,o,c){var p=function(I,B){return I(B)},m=function(I,B){return I(B)},w=function(I,B){return I(B)},E=function(I,B){return I(B)},v=function(I,B){return I(B)};return new Promise((function(I,B){s[E(Pe,9)]=function(C){return p(I,{i:m(qo,c),t:p(tr,C[m(Pe,10)]),s:s[m(Pe,11)],e:s[w(Pe,12)],p:E(Qn,C[v(Pe,13)])})},i[E(Pe,14)](o),s[(function(C){return C(15)})(Pe)]((function(C){return C(16)})(Pe),c).catch(B)}))}function w6(i){for(var s={UtaFw:"4|0|1|2|3",ulOIn:function(I,B){return I-B},pxHuO:function(I,B){return I>=B},pGlZB:function(I,B){return I(B)},ooLWC:function(I,B){return I+B},buezi:function(I,B){return I<<B},btVnF:function(I,B){return I%B},wSoGJ:function(I,B){return I*B},lowup:function(I,B){return I%B},hsYMn:function(I,B){return I*B}},o=s.UtaFw.split("|"),c=0;;){switch(o[c++]){case"0":var p=v.length;continue;case"1":var m=137;continue;case"2":for(var w=s.ulOIn(i.length,1);s.pxHuO(w,0);w--){var E=i[s.pGlZB(Pe,2)](s.ooLWC(s.buezi(w,8),m));v[s.btVnF(w,p)]^=s.ooLWC(E,s.wSoGJ(v[s.btVnF(s.ooLWC(w,1),p)],17)),m=E}continue;case"3":return s.pGlZB(Ar,s.pGlZB(Qn,v).slice(0,3));case"4":var v=new Uint8Array([s.lowup(Date.now(),1024),s.hsYMn(Math.random(),65536)]);continue}break}}function E6(i){for(var s=function(E,v){return E<v},o=function(E,v){return E+v},c=function(E,v){return E%v},p=function(E,v){return E-v},m=0;s(m,i.length);m++){var w=65;i[m]=o(w,c(i[m],p(122,w)))}}function b6(i){return(function(s,o){return s(o)})(Xo,i)&&(function(s,o){return s===o})("".concat(i),(function(s){return s(17)})(Pe))}function _6(){var i=function(s,o){return s(o)};return(function(s,o,c,p,m){return s(o,void 0,void 0,m)})(e.sH,this,0,0,(function(){var s,o,c,p=function(Q,tt){return i(Q,tt)},m=function(Q){return(function(tt){return tt()})(Q)},w=function(Q,tt){return(function(nt,at){return nt in at})(Q,tt)},E=function(Q,tt){return(function(nt,at){return nt(at)})(Q,tt)},v=function(Q,tt,nt,at){return(function(gt,_t,vt,bt){return gt(_t,vt,bt)})(Q,tt,nt,at)},I=function(Q,tt){return i(Q,tt)},B=function(Q,tt,nt,at){return(function(gt,_t,vt,bt){return gt(_t,vt,bt)})(Q,tt,nt,at)},C=function(Q,tt){return(function(nt,at){return nt(at)})(Q,tt)},X=function(Q,tt){return(function(nt,at){return nt&&at})(Q,tt)};return(function(Q,tt,nt){return Q(tt,nt)})(e.YH,this,(function(Q){switch(Q.label){case 0:return m(Um)?[2,!w(p(Pe,19),window[E(Pe,20)][p(Pe,21)])]:m(km)?[4,Promise.all([v(wl,I(Pe,22),(function(){return!0}),(function(){return!1})),B(wl,C(Pe,23),(function(){return!1}),(function(tt){return(function(nt){return(function(at,gt){return at instanceof gt})(nt,Error)})(tt)&&(function(nt,at){return(function(gt,_t){return gt===_t})(nt,at)})(tt.name,p(Pe,24))}))])]:[3,2];case 1:return s=Q.sent(),o=s[0],c=s[1],[2,X(o,c)];case 2:return[2,!1]}}))}))}function wl(i,s,o){var c=function(p,m){return p(m)};return new Promise((function(p){var m=function(I,B){return c(I,B)},w=c(Ha,i),E=w[1],v=w[2];if((function(I){return I!==0})(E))return(function(I){return I(!1)})(p);v[c(Pe,25)]((function(){return(function(I,B){return(function(C,X){return C(X)})(I,B)})(p,(function(I){return(function(B){return B()})(I)})(s))}),(function(I){return m(p,m(o,I))}))}))}var R6=On([229858650,783927519,3141207808,1645003411,2911373879,2084179082,2213201945,422262047,444852958,2568452659,961273073,4070116913,628296898,2516094721,19227916,46464143,2382904866,572186108,3147382845,1043469467,2611845399,171192596,1251730630,2338154040,2064948222,4070131749,623646351,2180159838,1719303453],7);function A6(){var i=function(s,o,c){return s(o,c)};return i(jn,i(Dn,2e3,{s:-2,v:null}),S6)}function S6(){var i,s=function(B){return B()},o=function(B,C){return B(C)},c=function(B,C){return B(C)},p=function(B,C){return B<C},m=function(B,C){return B===C},w=function(B,C,X){return B(C,X)},E=function(B,C,X){return B(C,X)},v=function(B,C){return B(C)},I=function(B,C){return B(C)};return(function(B,C,X,Q,tt){return B(C,void 0,void 0,tt)})(e.sH,this,0,0,(function(){var B,C,X,Q,tt,nt,at,gt,_t,vt,bt,Vt,Ht;return E(e.YH,this,(function(Kt){switch(Kt.label){case 0:B=window,C=s(g6),X=o(R6,0),Kt.label=1;case 1:for(Kt.trys.push([1,2,,5]),Q="".concat(c(Ga,C[0])).concat(c(Ga,C[1])).concat(o(Ga,C[2])),tt=X[Q],nt=Object.values(tt),at={},gt=0,_t=(Ht=Object.keys(B)).slice.apply(Ht,nt);p(gt,_t.length);gt++)vt=_t[gt],bt=m(i=w(qt,Object,1110892003)(B,vt),null)||m(i,void 0)?void 0:E(qt,i,494360628),at[o(tr,vt)]={i:!0,t:null,s:vt.slice(-3),e:12,p:v(String,bt).slice(0,50)};return[2,{s:-3,v:at}];case 2:return Kt.sent(),[4,s(_6)];case 3:return Kt.sent()?[2,{s:-4,v:null}]:[4,I(m6,C)];case 4:return(Vt=Kt.sent())?[2,{s:0,v:Vt}]:[2,{s:-1,v:null}];case 5:return[2]}}))}))}function Ga(i){return"".concat(ba[(function(s){return s>>4})(i)]).concat(ba[(function(s){return s%16})(i)])}var on=On([2849665133,3102332852,3030028940,2360597915,3649086422,4118989755,2159729800,2492790230,3150617845,3422263962,3398214861,3000338617,2163578059,3720000219,2782764965,3422263962,3600523980,2895432685,2292567243,3617170646,3986333093,2578762955,2596645530,2227996313,2259142812,3700204490,3100285842,3422263963,3903489002,2496302258,2360989318,3615531995,4120169401,2192956830,3971720145,3000875412,2277047195,3431641814,4124477118,2273483461,3481713107,2781523129,3321219718,3599275162,4157376185,2293418634,3418993356,3067464120,3120021895,4221285085,3000403896,2260651146,2496373974,3051664885,2293418634,3735466700,2345307313,3287931573,3669330832,3151268020,2192890251,2525727716,3051664893,3382957959,3448764377,3201075897,3045840518,3837111258,2966063285,2276644252,3402212556,3201145010,3048463771,2462561764,2816128395,2359614875,3837109206,4221223093,2209732555,2594026717,2782776315,2862995355,2592912343,2781727739,3422263941,3683431633,3202123702,2359548301,3617301981,4120169381,2595804298,2496377821,3100936949,2257903002,3683432918,3117908131,2331350219,3431510730,2748951986,2294283144,3565992406,2564589462,2612190863,3687578522,2999682747,2277103530,3516773597,3220146104,2625885836,3601643978,2325387955],3);function El(i){var s=function(c,p,m){return c(p,m)},o=qt(i,928136154);return(0,e.sH)(this,void 0,void 0,(function(){var c,p,m=function(I){return(function(B){return B()})(I)},w=function(I,B){return(function(C,X){return C===X})(I,B)},E=function(I,B,C){return s(I,B,C)},v=function(I,B,C){return(function(X,Q,tt){return X(Q,tt)})(I,B,C)};return s(e.YH,this,(function(I){switch(I.label){case 0:return c=m(Of),[4,E(jn,v(Dn,300,-4),I6.bind(null,c,o))];case 1:return p=I.sent(),[2,function(){var B=(function(C){return m(C)})(p);return(function(C){return w(C,0)})(B)||(function(C){return w(C,-4)})(B)?{s:B,v:{u:c,e:[],s:[]}}:{s:B,v:null}}]}}))}))}function I6(i,s){var o=function(p,m,w){return p(m,w)},c=function(p,m,w){return p(m,w)};return(function(p,m,w,E,v){return p(m,void 0,void 0,v)})(e.sH,this,0,0,(function(){var p,m,w,E,v,I,B,C,X=function(gt,_t,vt){return o(gt,_t,vt)},Q=function(gt,_t,vt){return c(gt,_t,vt)},tt=function(gt,_t){return(function(vt,bt){return vt!==bt})(gt,_t)},nt=function(gt,_t,vt){return c(gt,_t,vt)},at=function(gt,_t,vt){return(function(bt,Vt,Ht){return bt(Vt,Ht)})(gt,_t,vt)};return(function(gt,_t,vt){return gt(_t,vt)})(e.YH,this,(function(gt){switch(gt.label){case 0:if(p=X(O6,i,s),m=X(T6,p,!0),w=Q(qt,m,453955339),E=Q(qt,m,1801730948),tt(w,0))return[2,w];v=X(B6,E,s),gt.label=1;case 1:return gt.trys.push([1,,4,5]),[4,nt(qt,v,142982734)()];case 2:return I=gt.sent(),B=Q(qt,I,453955339),C=Q(qt,I,1801730948),tt(B,0)?[2,B]:[4,at(qt,E,76151562)(C)];case 3:return gt.sent(),[2,0];case 4:return(function(_t,vt){return o(_t,vt,107910612)})(qt,v)(),[7];case 5:return[2]}}))}))}function O6(i,s){for(var o={AvCwh:"2|1|5|0|3|4",sALZI:function(E,v){return E(v)}},c=o.AvCwh.split("|"),p=0;;){switch(c[p++]){case"0":var m={};continue;case"1":w[o.sALZI(on,1)]=o.sALZI(N6,s);continue;case"2":var w=o.sALZI(on,0);continue;case"3":m[o.sALZI(on,3)]=[w];continue;case"4":return m;case"5":w[o.sALZI(on,2)]=i;continue}break}}function N6(i){var s=function(o,c){return o(c)};return s(on,4).concat((function(o,c,p){return o(c,p)})(Ua,i,s(on,5)))}var bl=on(6);function T6(i,s){for(var o={xqmnO:"4|3|0|2|1",SaOtC:function(E,v){return E instanceof v},xPGBK:function(E,v){return E===v},DCAVD:function(E,v){return E(v)},fgKXx:function(E,v){return E(v)}},c=o.xqmnO.split("|"),p=0;;){switch(c[p++]){case"0":var m;continue;case"1":return{s:0,v:m};case"2":try{m=new w(i)}catch(E){if(o.SaOtC(E,Error)){if(o.xPGBK(E.name,bl))return{s:-6,v:null};if(o.DCAVD(L6,E))return{s:-9,v:null}}throw E}continue;case"3":if(!w)return{s:-3,v:null};continue;case"4":var w=s?window[o.fgKXx(on,7)]||window[o.DCAVD(on,8)]:window[o.DCAVD(on,7)];continue}break}}function x6(i,s){var o,c=function(p,m){return p===m};try{return c(o=(function(p,m){return p(m,34843658)})(qt,i),null)||c(o,void 0)||o.call(i,s||Math.random().toString()),0}catch(p){if((function(m){return m instanceof Error})(p)&&c(p.name,bl))return-7;throw p}}function L6(i){return(function(s,o){return s===o})(i.name,(function(s){return s(9)})(on))&&(function(s,o){return s(o,3632233996)})(qt,new RegExp((function(s){return s(10)})(on)))((function(s,o){return s(o,3065852031)})(qt,i))}function ao(i){try{qt(i,318865860)()}catch{}}function C6(i,s){var o=function(c,p,m){return c(p,m)};return(function(c,p,m,w,E){return c(p,void 0,void 0,E)})(e.sH,this,0,0,(function(){var c,p;return(function(m,w,E){return m(w,E)})(e.YH,this,(function(m){switch(m.label){case 0:try{c=(function(w,E,v){return o(w,E,v)})(qt,i,882066760)(s)}catch(w){if(!(function(E,v){return(function(I,B){return I instanceof B})(E,v)})(w,Error)||!(function(E,v,I){return o(E,v,I)})(qt,new RegExp((function(E){return(function(v){return v(11)})(E)})(on),"i"),3632233996)((function(E,v,I){return o(E,v,I)})(qt,w,3065852031)))throw w;c=new Promise((function(E,v){(function(I,B){return(function(C,X,Q){return o(C,X,Q)})(I,B,882066760)})(qt,i)(E,v,s)}))}return[4,c];case 1:return(function(w){return(function(E,v){return E===v})(w,void 0)})(p=m.sent())?[2,{s:-8,v:null}]:[2,{s:0,v:p}]}}))}))}function B6(i,s){var o,c,p=function(Tt,Dt){return Tt(Dt)},m=function(Tt,Dt){return Tt===Dt},w=function(Tt,Dt,Xt){return Tt(Dt,Xt)},E=function(Tt,Dt){return Tt(Dt)},v=function(Tt,Dt){return Tt!==Dt},I=function(Tt,Dt){return Tt in Dt},B=function(Tt,Dt){return Tt in Dt},C=function(Tt){return Tt()},X=function(Tt,Dt){return Tt(Dt)},Q=function(Tt,Dt,Xt){return Tt(Dt,Xt)},tt=function(Tt,Dt,Xt){return Tt(Dt,Xt)},nt=function(Tt,Dt,Xt,Qt,ne){return Tt(Dt,Xt,Qt,ne)},at=this;function gt(Tt,Dt){return p(_t,Tt)&&m(w(qt,Tt,3920415024),400)&&w(qt,Tt,4101391790).includes(Dt)}function _t(Tt){return m(typeof Tt,E(on,12))&&v(Tt,null)&&I(p(on,13),Tt)&&B(E(on,14),Tt)}var vt=null,bt=!1;function Vt(){var Tt=function(Xt,Qt){return(function(ne,ce){return ne!==ce})(Xt,Qt)},Dt=function(Xt,Qt){return E(Xt,Qt)};return nt(e.sH,this,void 0,void 0,(function(){var Xt,Qt,ne,ce;return(function(Ee,ve,Se){return tt(Ee,ve,Se)})(e.YH,this,(function(Ee){switch(Ee.label){case 0:return Xt=(function(ve,Se){return X(ve,Se)})(x6,i),Tt(Xt,0)?[2,{s:Xt,v:null}]:[4,Dt(C6,i)];case 1:return Qt=Ee.sent(),ne=(function(ve,Se){return Q(ve,Se,453955339)})(qt,Qt),ce=(function(ve,Se){return(function(Le,Ce,Ne){return Le(Ce,Ne)})(ve,Se,1801730948)})(qt,Qt),Tt(ne,0)?[2,{s:ne,v:null}]:[2,{s:0,v:ce}]}}))}))}s&&tt(qt,i,123626528)(on(15),(function(Tt){w(gt,Tt,s)&&(vt?(C(vt),vt=null,X(ao,i)):bt=!0)}));var Ht,Kt=((o={})[Ht=on,Ht(17)]=function(){return(function(Tt,Dt){return Tt(Dt)})(ao,i)},o[(function(Tt){return Tt(18)})(on)]=function(){var Tt=function(Xt){return C(Xt)},Dt=function(Xt,Qt,ne){return(function(ce,Ee,ve){return ce(Ee,ve)})(Xt,Qt,ne)};return nt(e.sH,at,void 0,void 0,(function(){var Xt;return Dt(e.YH,this,(function(Qt){switch(Qt.label){case 0:return[4,Tt(Vt)];case 1:return Xt=Qt.sent(),(function(ne){return v(ne,0)})(Dt(qt,Xt,453955339))&&(function(ne,ce){p(ne,ce)})(ao,i),[2,Xt]}}))}))},o);return s?Q(qt,Object,1914874273)(Kt,((c={})[(function(Tt){return Tt(19)})(on)]=function(){m((function(Tt,Dt){return Tt(Dt,4184312542)})(qt,i),p(on,16))||(bt?(function(Tt,Dt){Tt(Dt)})(ao,i):vt=(function(Tt,Dt,Xt,Qt){return Tt(Dt,5e3,Qt)})(Ko,ao,0,i))},c)):Kt}var Pn=oo([1158230590,352328197,922751784,234887733,1045777409,235013451,1077693209,86185296,321396490,462366,488115742,1213075980,4402479,184943903,188551425,1398147351,268897603,491523647,306988571,1261376568,269223502,570890009,34866732,470426899,403966778,253756433,304419089,491347009,508233756,403654977,421396492,1329803025,184551506,1057755406,136120322,118163754,373378420,453843998,1159464460,319444544,855642889,402851378,1191248155,151015493,219352090,67375366,17696018,1263095066,420348421,21908811,168961297,171640095,14413],y5,2);function M6(){var i=function(w,E){return w(E)},s=function(w,E){return w(E)},o=function(w,E,v){return w(E,v)},c=function(w,E){return w<E},p=function(w,E,v){return w(E,v)},m=function(w,E,v){return w(E,v)};return(function(w,E,v,I,B){return w(E,void 0,void 0,B)})(e.sH,this,0,0,(function(){var w,E,v,I,B,C,X,Q;return o(e.YH,this,(function(tt){switch(tt.label){case 0:return(function(nt){return nt()})(Dm)?[2,[-1,NaN]]:(w=new Uint8Array([0]),E=i(Pn,0),[4,navigator[i(Pn,1)](s(Pn,2),E)]);case 1:return[4,tt.sent()[s(Pn,3)]()];case 2:return v=tt.sent(),[4,o(_l,v,w)];case 3:if(I=tt.sent(),!(B=c(I,10)))return[3,5];for(C=o(sm,10,2500),X=(function(nt){return nt-1})((function(nt,at){return nt-at})(C,I)),Q=0;c(Q,X);Q++)p(U6,v,w);return[4,m(_l,v,w)];case 4:I=tt.sent(),tt.label=5;case 5:return[2,[B?1:0,I]]}}))}))}function k6(){return(function(s,o){return s==o})(typeof navigator[i=Pn,i(1)],(function(s){return s(4)})(Pn));var i}function _l(i,s){var o=function(c,p){return c(p)};return(function(c,p,m,w,E){return c(p,void 0,void 0,E)})(e.sH,this,0,0,(function(){var c,p=function(v,I){return o(v,I)},m=function(v,I){return o(v,I)},w=function(v,I){return o(v,I)},E=function(v,I){return o(v,I)};return(function(v,I,B){return v(I,B)})(e.YH,this,(function(v){switch(v.label){case 0:return[4,(c=i[p(Pn,5)]())[p(Pn,6)](m(Pn,7),s)];case 1:return v.sent(),[2,w(Number,c[E(Pn,8)])]}}))}))}function U6(i,s){var o=function(p,m){return p(m)},c=i[o(Pn,5)]();o(to,c[o(Pn,6)]((function(p){return p(7)})(Pn),s))}function D6(){var i=function(s,o,c){return s(o,c)};return(function(s,o,c,p,m){return s(o,void 0,void 0,m)})(e.sH,this,0,0,(function(){var s=function(w){return(function(E){return E()})(w)},o=function(w,E,v){return i(w,E,v)},c=function(w,E,v){return i(w,E,v)},p=function(w,E,v){return i(w,E,v)},m=this;return(0,e.YH)(this,(function(w){var E=function(I){return s(I)},v=function(I,B){return(function(C,X){return(function(Q,tt){return Q===tt})(C,X)})(I,B)};return s(k6)?[2,c(jn,p(Dn,500,{s:-2,v:null}),(function(){var I=function(X){return E(X)},B=function(X,Q){return v(X,Q)},C=function(X,Q,tt){return(function(nt,at,gt){return o(nt,at,gt)})(X,Q,tt)};return(function(X,Q,tt,nt,at){return(function(gt,_t,vt,bt,Vt){return(function(Ht,Kt,Tt,Dt,Xt){return Ht(Kt,Tt,Dt,Xt)})(gt,_t,vt,bt,Vt)})(X,Q,void 0,void 0,at)})(e.sH,m,0,0,(function(){var X,Q=function(tt){return I(tt)};return C(e.YH,this,(function(tt){switch(tt.label){case 0:return[4,Q(M6)];case 1:return(function(nt){return B(nt,-1)})((X=tt.sent())[0])?[2,{s:-3,v:null}]:[2,{s:0,v:X}]}}))}))}))]:[2,function(){return{s:-1,v:null}}]}))}))}var as=oo([89472536,67911963,202988290,386077465,1866537770,1224742518,488243476,419627011,184819487,437598027,340225859,172033032,437716482,471155211,1095068177,1092107040,419499526,423762697,100665116,490210839,1194790674,673115,85280006,1510540548,2756129,939992591,1246643516,1108281098,52370449,641031181,822350097,201595136,1447512348,1107565334,605101077,923815180,201460231,369557787,421401919,370608902,386208007,1158809130,67652933,420829977,1325996060,705104933,100734005,18485518,1079117841,520555597,117716299,441132557,117836552,454886414,1079380231,235285315,167851373,438045445,354104902,218503945,1450723136,1261309460,853525,339100932,1443038736,103498560,3566862,1175192861,252709131,16777237,1984516105,1829509143,185926151,436356353,185073670,1779174662,991969605,50610456,1275666182,419565839,202771726,1124408096,135546735,168313092,253563142,135813653,822480166,72178038,222758157,52298251,454823449,56244746,1427123716,67914571,353589766,51775754,625419022,219166498,1258491144,521093188,151601409,456523793,678234648,169481234,118557701,391005526,241568771,422784012,438716682,1309089280,806492,990010373,638390299,134885451,1481180934,17176407,655231834,2049314574,84410418,220531716,167778574,105923661,106502459,185600556,170279180,1046087172,151977997,35061763,1263338788,84282176,52366156,1544356616,420816433,50605842,1229146882,1511529224,186319630,4664589,35268139,100748290,1379942427,1174536207,322636309,208471067,373756952,7684,1481509910,69665358,440083533,1174866696,403505177,1129127711,956961098,571674714,285606663,67257606,151460637,725827670,862785030,168106503,289803037,203297033,1197361671,1327110967,169477163,84548876,1840656,1325404447,537919532,1158350651,118114894,454640143,269026054,471146315,372321280,1196229131,421140297,17891399,256321038,167983925,135074069,1379942427,1174536207,523897886,187303186,16788313,1007685120,1447054106,1193610767,121055758,235738112,118572573,1091181577,956569372,1632457991,1191843846,387122178,420174362,755830297,929124171,222888474,50727960,118447621,1229986830,202905462,51517293,1159661069,219156518,1296957445,772541034,285869946,471598093,437591628,102564608,341211207,72035854,453396244,286989059,252909895,100927823,207059041,440798984,347163,218169348,389222492,3416153,1128989210,404424777,102242906,1193875213,338048784,17827353,1077939469,33558354,973080134,923734551,118361931,390678349,407312666,756351505,606227719,1078676741,1275397643,369236248,102176796,152328767,505090338,1195966464,68884054,402849858,604117287,387586598,184555596,52366851,290079565,39467274,337061379,1044450054,822546697,1309087752,202009165,100891182,1259996933,521093188,51986689,390009692,187041819,1296385283,1528366088,1539,1194856717,20458516,188762957,374080774,100861208,604249353,906778884,134487574,1444022019,51205721,688201243,275581722,638910490,553654793,438246915,1191185666,68310648,100862061,1157897218,203233559,1296957442,1829962602,35198010,17122832,1079118092,101515597,370942795,117714965,54019863,889585674,1079385113,386672195,236790637,420024595,406539288,689707789,956765442,1198474037,1091441944,102564636,119409668,205263381,108670990,151781382,1313753605,457245696,855645709,391058950,235019008,471534109,474699863,756351517,540018203,272974679,51463965,386470914,67506497,1297423660,1224806753,520230941,878058775,289625664,571801658,289411104,88480259,1641997,388317194,1477786881,50998065,521022728,202398474,33949981,1095115776,1582986863,239750725,289150477,469830174,14416],Fa,2);function Rl(){return as(0)}function P6(){return(0,e.sH)(this,void 0,void 0,(function(){var i,s,o;return(function(c,p,m){return c(p,m)})(e.YH,this,(function(c){var p=function(m,w){return(function(E,v){return E(v)})(m,w)};switch(c.label){case 0:return i=(function(m){return m()})(Rl),[4,Promise.all(i.map(F6))];case 1:return s=c.sent(),o={},i.forEach((function(m,w){var E=p(tr,m).toString(16);o[E]=s[w]})),[2,o]}}))}))}function F6(i){var s=function(o,c){return o(c)};return new Promise((function(o){var c=s(as,1).concat(i,s(as,2));try{var p=(function(E,v){return E(v)})(Ha,c),m=p[1],w=p[2];if((function(E){return E!==0})(m))return void(function(E,v){E(v)})(o,m);w[(function(E){return E(3)})(as)]((function(){return s(o,0)}),(function(){return(function(E){return s(E,-1)})(o)}))}catch{s(o,-2)}}))}var V6=On([4291220175,857170018,1001396817,1198736693],6);function Al(){var i=function(s,o,c){return s(o,c)};return(0,e.sH)(this,void 0,void 0,(function(){var s=function(v){return(function(I){return I()})(v)},o=function(v,I){return(function(B,C){return B(C)})(v,I)},c=function(v,I,B){return(function(C,X,Q){return C(X,Q)})(v,I,B)},p=function(v,I,B,C,X){return(function(Q,tt,nt,at,gt){return Q(tt,nt,at,gt)})(v,I,B,C,X)},m=function(v,I,B){return(function(C,X,Q){return C(X,Q)})(v,I,B)},w=function(v,I,B){return i(v,I,B)},E=this;return i(e.YH,this,(function(v){var I=function(tt){return s(tt)},B=function(tt){return s(tt)},C=function(tt,nt){return o(tt,nt)},X=function(tt,nt,at){return c(tt,nt,at)},Q=function(tt,nt,at,gt,_t){return p(tt,nt,at,gt,_t)};switch(v.label){case 0:return[4,m(jn,w(Dn,500,{s:-2,v:null}),(function(){var tt=function(at){return B(at)},nt=function(at,gt){return C(at,gt)};return Q(e.sH,E,void 0,void 0,(function(){var at;return(function(gt,_t,vt){return X(gt,_t,vt)})(e.YH,this,(function(gt){switch(gt.label){case 0:return(function(_t){return I(_t)})(Rl)?(function(_t){return I(_t)})(al)?(at={s:0},[4,tt(P6)]):[2,{s:-1,v:null}]:[2,{s:-3,v:null}];case 1:return[2,(at[nt(V6,0)]=gt.sent(),at)]}}))}))}))];case 1:return[2,v.sent()]}}))}))}function H6(){return{s:0,v:"serviceWorker"in Navigator.prototype}}function Sl(){return{s:0,v:!!window.isSecureContext}}var Gt=oo([37637135,1447917654,1074862848,221320987,185417728,1279479069,287641348,1585126709,277761,1427768864,1124076042,2035529,455018507,23675461,120393521,1444036433,1141263183,303105822,319645969,1275726848,36457547,388709920,101924677,1077349638,303367169,135938595,1112349448,153357637,121505586,1480802129,1141246529,839976462,805901,167780891,1160643090,511382904,402929730,1381389121,68162311,1195642647,185270282,342447173,288103456,254704215,1208027939,253560323,369581389,17177344,138102537,455935783,39531596,1195379206,236466755,203181062,1581711622,523115086,3539255,286744647,1544706816,324279305,285825290,1174470656,37573638,1530878519,353133582,353131799,133385,1476726039,1511722500,1328372255,321869181,1226406481,437012226,1090917145,1258885148,253318160,1513180693,1227046965,1410678607,1342657549,425461277,474174799,340006467,1549931597,476332332,1229857560,235819533,223288402,491280640,1142379025,36132127,186666528,223027998,1427178840,1544423503,1578239775,1310394885,136860420,1547191847,408580948,1381244166,253559122,306596941,184767552,1512328723,1228555109,693174606,1108418398,425464923,1413482013,1192695620,526847309,494081918,122363912,1532891471,408493381,1430543951,889345088,292959062,342691121,223027723,1532560969,408420677,1413482012,1192629828,510070093,494081150,122364424,442325327,1011230978,101538648,373754205,140579917,24319871,239805199,1499006537,458752325,1413482015,1192564036,1466371405,691295613,39585552,1195379206,1364738631,1413750089,186471488,154737427,321591924,454109517,1281100816,554256710,268918530,1197360921,237579847,472910394,1565618756,1393893187,135923539,135938563,370036567,37573653,1228888631,100936803,17566743,391388169,120063254,436405788,291700750,388832305,436733275,135007239,340663119,1212227414,34873431,158013954,289151081,1497971729,222381907,1212243039,286081374,408027209,24710402,1115119484,1146055183,1142444618,1543655963,68837124,1073825552,1261573663,169885754,1510962778,218959899,403528705,1258684700,1108809489,523386889,1547125292,1478042459,1477265165,223304471,289954048,471666260,1466111750,1098210424,1196255759,358111311,1448625219,1380194633,1581472325,1365728331,1148542584,1162702351,374889039,1448624963,1464080457,1497585989,1348951115,1114987896,1095593487,341334351,1516061507,1159481353,470700572,1328680725,169885755,223294735,253445402,240651031,1225806923,387399942,526713163,73549612,104933442,1397696089,303759937,167860492,18698759,239013651,326172731,1581787227,353831957,973232649,939619857,1197359924,325393500,490346033,1225074764,69022230,323956569,387799296,1427984135,355216922,1512643387,876704531,1159331841,1225989126,323486805,491724040,170532189,3932708,101063192,151264268,559176543,17187847,1174929664,292243286,108600373,201600537,1141251095,1561346096,1532632579,470363986,36047110,343480890,117930573,1850605643,558522182,67846665,1565,1197629007,1178209058,286466373,1325800471,420546127,1726481,503451194,325257995,460660088,201600525,1394279936,474962699,1195659335,252321034,35195667,3934778,286339955,1142554639,290872909,151870732,1275724032,304761931,1585119520,16939096,1312359695,1532368651,185025351,1108495628,37293381,641473077,18162246,223742993,68948301,386745862,1112345356,86776901,472667701,1443637324,1899187023,420554298,1726481,151919676,1164397570,637610752,723781750,1698308129,1127431206,707465033,707802681,1265187380,388767606,1480802134,1208360513,69211931,387799325,1279479052,103685124,319425312,286075470,1515735825,102047565,285492259,1414339852,103678021,103418662,1447896833,1074862848,137762587,388974859,1277106694,36457547,472919072,454237511,1077418262,352394518,105513287,437127707,35796994,1349864483,352593984,1412828183,319886345,71958855,1276910865,1040796747,755641088,724770675,1815160102,1126186026,892276553,135933244,842599169,389943079,558069249,1848778797,1297497917,286083655,505351716,102304258,1346111802,286423055,56118039,1645594,1195642645,252321034,303696659,555752497,1480797766,1476414232,1532368671,134306119,253434892,1265180170,120982902,1313025613,56104017,251731212,1195642641,1009400376,572076350,605364487,1447917670,2015634976,572924208,373948743,1275729152,637946955,923480324,1480793698,1326521153,822482699,1192975876,1276392517,103678468,507000870,1313029974,307910968,1381646915,1447435593,1110597189,103023173,1344872752,402815001,50726918,352800835,705519370,1280658713,354687508,790907953,453146639,1611007503,34932251,185417741,1112349725,35788869,1349864483,924139332,1141250838,69207553,387799325,1279479052,103685124,488246048,436221774,1109011463,319886848,1192427847,185404933,1165052939,490340401,1444101959,1129727262,253564170,17188919,255794444,1265179924,104602998,286339955,1142554639,307650125,204101888,472386311,1161501448,388582520,101596241,1109002254,1129861130,1193230859,470502725,1265178886,372706166,105084417,1293621766,337975065,907108096,1112349452,388629317,104339975,1447917638,1075382038,85000735,105513287,739647238,36505618,808860198,285686870,56118033,135928585,1229604118,203037771,1161758474,121326712,100940869,1280722241,305463822,1191920412,1042828613,388637490,389873945,641955329,53487654,336023619,387599367,1112348168,589568581,657988149,1480791665,1192886337,1129861120,270092311,790305804,322637571,470817841,692270405],w5,0);function G6(){var i=function(s,o){return s(o)};return i(Gt,0)&&navigator[i(Gt,0)]}function j6(){var i=function(s,o){return s(o)};return document[i(Gt,1)](i(Gt,2))[i(Gt,3)](i(Gt,4))}function Y6(i,s){return o=e.sH,c=function(){var p,m,w,E,v=function(B,C){return(function(X,Q){return X(Q)})(B,C)},I=function(B,C,X,Q){return(function(tt,nt,at,gt){return tt(nt,at,gt)})(B,C,X,Q)};return(function(B,C,X){return B(C,X)})(e.YH,this,(function(B){switch(B.label){case 0:return p=Array.from((function(C){return(function(X){return X===null})(C)})(i)||(function(C){return(function(X){return X===void 0})(C)})(i)?void 0:i[v(Gt,5)].values()),[4,Promise.all([I(z6,i,p,s),v(Z6,i)])];case 1:return m=B.sent(),w=m[0],E=m[1],[2,[w,E,p]]}}))},o(this,void 0,void 0,c);var o,c}var Ei=16;function z6(i,s,o){var c=function(vt,bt){return vt(bt)},p=function(vt,bt){return vt*bt},m=function(vt,bt){return vt(bt)},w=function(vt,bt){return vt(bt)},E=function(vt,bt){return vt+bt},v=function(vt,bt){return vt(bt)},I=function(vt,bt){return vt(bt)},B=function(vt,bt){return vt(bt)},C=function(vt,bt){return vt(bt)},X=function(vt,bt){return vt(bt)},Q=function(vt,bt){return vt(bt)},tt=function(vt,bt){return vt(bt)},nt=function(vt,bt){return vt(bt)},at=function(vt,bt){return vt(bt)},gt=function(vt,bt){return vt+bt},_t=function(vt,bt){return vt+bt};return(function(vt,bt,Vt,Ht,Kt){return vt(bt,void 0,void 0,Kt)})(e.sH,this,0,0,(function(){var vt,bt,Vt,Ht,Kt,Tt,Dt,Xt,Qt,ne,ce,Ee,ve,Se,Le,Ce,Ne,nn,Rn,pn,Fn,zn,Wn,Nr,Xr,nr,fn,Mt={LIcVF:"1|3|2|0|4",CVGyL:function(Nt,xt){return c(Nt,xt)},NQGua:function(Nt,xt){return p(Nt,xt)},IxGbO:function(Nt,xt){return m(Nt,xt)},qQoQh:function(Nt,xt){return c(Nt,xt)},eRsOG:function(Nt,xt){return(function(Jt,ae){return Jt%ae})(Nt,xt)},sTGJP:function(Nt,xt){return w(Nt,xt)},bLKEM:function(Nt,xt){return(function(Jt,ae){return Jt/ae})(Nt,xt)},BfmPO:function(Nt,xt){return(function(Jt,ae){return Jt/ae})(Nt,xt)},qiUeQ:function(Nt,xt){return(function(Jt,ae){return Jt/ae})(Nt,xt)},QCXCI:function(Nt,xt){return(function(Jt,ae){return Jt*ae})(Nt,xt)},YuwoT:function(Nt,xt){return E(Nt,xt)},NzoFK:function(Nt,xt){return w(Nt,xt)},nStre:function(Nt,xt){return v(Nt,xt)},cgngL:function(Nt,xt){return I(Nt,xt)},lnSsO:function(Nt,xt){return B(Nt,xt)},LWtIu:function(Nt,xt){return I(Nt,xt)},rnbTq:function(Nt,xt){return B(Nt,xt)},vXgTw:function(Nt,xt){return(function(Jt,ae){return Jt|ae})(Nt,xt)},SGWhR:function(Nt,xt){return w(Nt,xt)},tJskz:function(Nt,xt){return v(Nt,xt)},WwBMK:function(Nt,xt){return w(Nt,xt)},XvGWM:function(Nt,xt){return I(Nt,xt)},Czazt:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)},TcuLX:function(Nt,xt){return C(Nt,xt)},qmLme:function(Nt,xt){return X(Nt,xt)},DHpBv:function(Nt,xt){return c(Nt,xt)},GXSjU:function(Nt,xt){return I(Nt,xt)},lZchU:function(Nt,xt){return(function(Jt,ae){return Jt|ae})(Nt,xt)},kdFZM:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)},fjLlD:function(Nt,xt){return Q(Nt,xt)},NZEUH:function(Nt,xt){return B(Nt,xt)},rMQcE:function(Nt,xt){return X(Nt,xt)},cmdDW:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)},fMGTS:function(Nt,xt){return v(Nt,xt)},Megnu:function(Nt,xt){return tt(Nt,xt)},dwDBV:function(Nt,xt){return(function(Jt,ae){return Jt<ae})(Nt,xt)},UStju:"16|13|12|14|1|11|3|2|15|6|5|0|7|8|4|10|9",yPtzU:function(Nt,xt){return(function(Jt,ae){return Jt===ae})(Nt,xt)},hIuvn:function(Nt,xt){return tt(Nt,xt)},LUaAI:function(Nt,xt){return nt(Nt,xt)},KBsRE:function(Nt,xt){return c(Nt,xt)},eiLib:function(Nt,xt){return p(Nt,xt)},gsIFj:function(Nt,xt){return C(Nt,xt)},ymkbA:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)},RTTay:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)},SXGAR:function(Nt,xt){return at(Nt,xt)},rLyth:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)},lnNJb:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)},HtEmG:function(Nt,xt){return p(Nt,xt)},kEERD:function(Nt,xt){return(function(Jt,ae){return Jt+ae})(Nt,xt)},lEDdr:function(Nt,xt){return gt(Nt,xt)},VfkAG:function(Nt,xt){return E(Nt,xt)},FQVYm:function(Nt,xt){return nt(Nt,xt)},rjquO:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)},zCjNE:function(Nt,xt){return at(Nt,xt)},HfSqy:function(Nt,xt){return Q(Nt,xt)},xEOfR:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)},CsGxJ:function(Nt,xt){return w(Nt,xt)},CPukW:function(Nt,xt){return m(Nt,xt)},uiTcO:function(Nt,xt){return(function(Jt,ae){return Jt*ae})(Nt,xt)},gvEcj:function(Nt,xt){return _t(Nt,xt)},qonBa:function(Nt,xt){return _t(Nt,xt)},SQuSM:function(Nt,xt){return(function(Jt,ae){return Jt+ae})(Nt,xt)},qLjkZ:function(Nt,xt){return(function(Jt,ae){return Jt*ae})(Nt,xt)},XMYnt:function(Nt,xt){return gt(Nt,xt)},YtxIQ:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)}};return(function(Nt,xt,Jt){return Nt(xt,Jt)})(e.YH,this,(function(Nt){switch(Nt.label){case 0:return[4,i[Mt.sTGJP(Gt,6)]({requiredFeatures:s})];case 1:for(vt=Nt.sent(),bt=Math.PI,Vt=[[0,1,0,Mt.bLKEM(bt,7)],[1,0,0,Mt.bLKEM(bt,8)],[0,1,1,Mt.BfmPO(bt,4)],[1,2,1,Mt.qiUeQ(bt,8)]],Ht=Vt.length,Kt=new Uint8Array(Mt.QCXCI(Ht,Mt.YuwoT(Mt.YuwoT(16,Ei),8))),Tt=navigator[Mt.IxGbO(Gt,0)][Mt.NzoFK(Gt,7)](),o[Mt.nStre(Gt,8)]({device:vt,format:Tt}),Dt=vt[Mt.cgngL(Gt,9)](Mt.IxGbO(Gt,10)),Xt=vt[Mt.CVGyL(Gt,11)]({label:Mt.IxGbO(Gt,12),layout:Mt.cgngL(Gt,13),vertex:{module:Dt},fragment:{module:Dt,targets:[{format:Tt}]},primitive:Mt.lnSsO(Gt,14)}),Qt=[[255,0,0,255],[0,255,0,255],[0,0,255,255]],ne=new Uint8Array(Mt.cgngL(Array,Mt.NQGua(7,9)).fill(void 0).map((function(ae,un){return Qt[(function(Ie){return Mt.eRsOG(Ie,3)})(un)]})).flat()),ce=vt[Mt.CVGyL(Gt,15)]({label:Mt.LWtIu(Gt,16),size:[7,9],format:Mt.rnbTq(Gt,17),usage:Mt.vXgTw(window[Mt.SGWhR(Gt,18)][Mt.IxGbO(Gt,19)],window[Mt.tJskz(Gt,18)][Mt.WwBMK(Gt,20)])}),vt[Mt.LWtIu(Gt,21)][Mt.XvGWM(Gt,22)]({texture:ce},ne,{bytesPerRow:Mt.NQGua(7,4)},{width:7,height:9}),Ee=vt[Mt.SGWhR(Gt,23)](Mt.Czazt(Gt,24)),ve=vt[Mt.XvGWM(Gt,25)]({layout:Xt[Mt.TcuLX(Gt,26)](0),entries:[{binding:0,resource:Ee},{binding:1,resource:ce[Mt.qmLme(Gt,27)]()}]}),Se=Vt.map((function(ae){for(var un=Mt.LIcVF.split("|"),Ie=0;;){switch(un[Ie++]){case"0":ke[Mt.CVGyL(Gt,35)]();continue;case"1":var ke=vt[Mt.CVGyL(Gt,28)]({label:Mt.CVGyL(Gt,29),size:Mt.NQGua(4,Float32Array[Mt.IxGbO(Gt,30)]),usage:window[Mt.IxGbO(Gt,31)][Mt.CVGyL(Gt,32)],mappedAtCreation:!0});continue;case"2":We[Mt.CVGyL(Gt,34)](ae);continue;case"3":var We=new Float32Array(ke[Mt.IxGbO(Gt,33)]());continue;case"4":return vt[Mt.CVGyL(Gt,25)]({layout:Xt[Mt.qQoQh(Gt,26)](1),entries:[{binding:0,resource:{buffer:ke}}]})}break}})),Le=vt[Mt.DHpBv(Gt,36)](Mt.Czazt(Gt,37)),Ce=vt[Mt.qQoQh(Gt,28)]({size:Mt.QCXCI(Le[Mt.GXSjU(Gt,38)],8),usage:Mt.lZchU(window[Mt.kdFZM(Gt,31)][Mt.tJskz(Gt,39)],window[Mt.fjLlD(Gt,31)][Mt.qmLme(Gt,40)])}),Ne=vt[Mt.LWtIu(Gt,28)]({size:Mt.NQGua(Ce[Mt.NZEUH(Gt,41)],Ht),usage:Mt.vXgTw(window[Mt.rMQcE(Gt,31)][Mt.XvGWM(Gt,20)],window[Mt.cmdDW(Gt,31)][Mt.fMGTS(Gt,42)])}),nn={label:Mt.Megnu(Gt,43),colorAttachments:Mt.qmLme(Gt,44),timestampWrites:{querySet:Le,beginningOfPassWriteIndex:0,endOfPassWriteIndex:1}},fn=0;Mt.dwDBV(fn,Se.length);fn++)for(var xt=Mt.UStju.split("|"),Jt=0;;){switch(xt[Jt++]){case"0":Mt.yPtzU(Ne[Mt.hIuvn(Gt,58)],Mt.LUaAI(Gt,59))&&pn[Mt.KBsRE(Gt,60)](Ce,0,Ne,Mt.eiLib(fn,16),Ce[Mt.qQoQh(Gt,41)]);continue;case"1":Fn[Mt.gsIFj(Gt,51)](Xt);continue;case"2":zn=window[Mt.ymkbA(Gt,53)][Mt.qQoQh(Gt,54)]();continue;case"3":Fn[Mt.sTGJP(Gt,52)](1,Rn);continue;case"4":Nr=Mt.RTTay(W6,o[Mt.qmLme(Gt,2)]);continue;case"5":pn[Mt.cmdDW(Gt,57)](Le,0,Le[Mt.hIuvn(Gt,38)],Ce,0);continue;case"6":Fn[Mt.SXGAR(Gt,56)]();continue;case"7":Wn=pn[Mt.rLyth(Gt,61)]();continue;case"8":vt[Mt.Megnu(Gt,21)][Mt.RTTay(Gt,62)]([Wn]);continue;case"9":Kt[Mt.lnNJb(Gt,34)](new Uint8Array(new Float64Array([zn])[Mt.XvGWM(Gt,63)]),Mt.HtEmG(fn,Mt.YuwoT(Mt.kEERD(16,Ei),8)));continue;case"10":Kt[Mt.cgngL(Gt,34)](Nr,Mt.lEDdr(8,Mt.NQGua(fn,Mt.VfkAG(Mt.lEDdr(16,Ei),8))));continue;case"11":Fn[Mt.FQVYm(Gt,52)](0,ve);continue;case"12":pn=vt[Mt.SGWhR(Gt,48)](Mt.kdFZM(Gt,49));continue;case"13":nn[Mt.rjquO(Gt,45)][0][Mt.hIuvn(Gt,46)]=o[Mt.CVGyL(Gt,47)]()[Mt.zCjNE(Gt,27)]();continue;case"14":Fn=pn[Mt.FQVYm(Gt,50)](nn);continue;case"15":Fn[Mt.HfSqy(Gt,55)](48);continue;case"16":Rn=Se[fn];continue}break}return Mt.yPtzU(Ne[Mt.xEOfR(Gt,58)],Mt.CsGxJ(Gt,59))?[4,Ne[Mt.DHpBv(Gt,64)](window[Mt.WwBMK(Gt,65)][Mt.CPukW(Gt,66)])]:[3,3];case 2:for(Nt.sent(),Xr=Ne[Mt.cmdDW(Gt,33)](),nr=new Uint8Array(Xr),fn=0;Mt.dwDBV(fn,Ht);fn++)Kt[Mt.TcuLX(Gt,34)](nr[Mt.sTGJP(Gt,67)](Mt.NQGua(fn,Ei),Mt.uiTcO(Mt.gvEcj(fn,1),Ei)),Mt.qonBa(Mt.SQuSM(8,16),Mt.qLjkZ(fn,Mt.gvEcj(Mt.XMYnt(16,Ei),8))));Ne[Mt.YtxIQ(Gt,35)](),Nt.label=3;case 3:return[2,Mt.GXSjU(Qn,Kt)]}}))}))}function W6(i){var s=function(o,c){return o(c)};return s(rm,s(dn,i[s(Gt,68)]()))}function Z6(i){var s,o=function(p,m){return p!==m},c=function(p,m){return p(m)};return(function(p,m,w,E,v){return p(m,void 0,void 0,v)})(e.sH,this,0,0,(function(){var p;return(function(m,w,E){return m(w,E)})(e.YH,this,(function(m){switch(m.label){case 0:return o(s=i[c(Gt,69)],null)&&o(s,void 0)?(p=s,[3,3]):[3,1];case 1:return[4,i[c(Gt,70)]()];case 2:p=m.sent(),m.label=3;case 3:return[2,p]}}))}))}function Il(){var i=function(o,c,p){return o(c,p)},s=this;return i(jn,Dn(1e3,{s:-2,v:null}),(function(){var o,c,p=function(v){return(function(I){return I()})(v)},m=function(v,I,B){return i(v,I,B)},w=function(v,I,B){return(function(C,X,Q){return C(X,Q)})(v,I,B)},E=function(v,I,B){return(function(C,X,Q){return C(X,Q)})(v,I,B)};return o=e.sH,c=function(){var v,I,B,C,X,Q,tt;return i(e.YH,this,(function(nt){switch(nt.label){case 0:return[4,p(K6)];case 1:return v=nt.sent(),(function(at,gt){return(function(_t,vt){return _t!==vt})(at,gt)})(m(qt,v,453955339),0)?[2,v]:(I=(function(at,gt){return i(at,gt,1801730948)})(qt,v),B=I[0],C=I[1],[4,w(Y6,B,C)]);case 2:return X=nt.sent(),Q=X[0],tt=X[1],[2,{s:0,v:{s:X[2],f:Q,v:m(qt,tt,4112659446),a:E(qt,tt,1956208378)}}]}}))},o(s,void 0,void 0,c)}))}function K6(){var i,s,o=function(p,m,w){return p(m,w)},c=function(p,m,w){return p(m,w)};return i=e.sH,s=function(){var p,m,w,E,v=function(C,X,Q){return c(C,X,Q)},I=function(C){return(function(X){return X()})(C)},B=function(C,X,Q){return c(C,X,Q)};return o(e.YH,this,(function(C){switch(C.label){case 0:if(!(p=(function(X,Q){return o(X,Q,3179935986)})(qt,navigator)))return[2,{s:-3,v:null}];m=null,C.label=1;case 1:return C.trys.push([1,3,,4]),[4,v(qt,p,1678473624)()];case 2:return m=C.sent(),[3,4];case 3:if((function(X){return(function(Q,tt){return Q instanceof tt})(X,Error)})(w=C.sent())&&I($))return[2,{s:-3,v:B(qt,w,3065852031)}];throw w;case 4:return m?I(G6)?(E=(function(X){return(function(Q){return Q()})(X)})(j6))?[2,{s:0,v:[m,E]}]:[2,{s:-5,v:null}]:[2,{s:-1,v:null}]:[2,{s:-4,v:null}]}}))},i(this,void 0,void 0,s)}function X6(){var i;return{s:0,v:(i=performance.timeOrigin)!==null&&i!==void 0?i:Date.now()-performance.now()}}var Or=On([1058085656,755065913,591387725,1190162267,3207354738,1862345487,1482820536,1963637024,16670991,4033829736,1867081798,1215448816,1812826169,279519816,3211723043,576614155,1881342384],5);function q6(){var i,s,o=function(c){return c()};return i=e.sH,s=function(){var c,p=function(w){return o(w)},m=function(w,E){return(function(v,I){return v(I)})(w,E)};return(function(w,E,v){return w(E,v)})(e.YH,this,(function(w){switch(w.label){case 0:return p(S)||(function(E){return o(E)})(U)?(c={s:0},[4,p($6)]):[3,2];case 1:return[2,(c[m(Or,0)]=w.sent(),c)];case 2:return[2,{s:-1,v:null}]}}))},i(this,void 0,void 0,s)}function $6(){var i={Blqbz:function(o,c){return o(c)},xZHoB:"2|1|3|0|4",dJhbP:function(o,c){return o(c)},SkSjD:function(o){return o()},KqpSs:function(o,c,p){return o(c,p)},hsbcg:function(o,c,p){return o(c,p)},QsyLE:function(o,c){return o(c)},BRhvx:function(o,c,p){return o(c,p)},FbvWI:function(o,c){return o(c)},iDelp:function(o,c){return o(c)}},s=new Promise((function(o){for(var c=i.xZHoB.split("|"),p=0;;){switch(c[p++]){case"0":window[i.Blqbz(Or,5)](window[i.dJhbP(Or,6)].debug,0,m);continue;case"1":var m;continue;case"2":var w={mXScH:function(E,v){return i.dJhbP(E,v)}};continue;case"3":i.SkSjD(S)?((m=new Error).name=" ",i.KqpSs(qt,Object,1973166116)(m,i.dJhbP(Or,1),{get:o.bind(null,!0)})):(m=i.hsbcg(qt,window[i.dJhbP(Or,2)],1297038992)(i.QsyLE(Or,3)),i.BRhvx(qt,Object,1973166116)(m,i.FbvWI(Or,4),{get:function(){w.mXScH(o,!0);var E=new Error;throw E.name="",E}}));continue;case"4":window[i.iDelp(Or,5)]((function(){i.Blqbz(o,!1)}));continue}break}}));return i.FbvWI(to,s)}var J6=new Set([2882888216,2306836488,1040191956,1447924955]);function Q6(){return{s:0,v:im(Navigator.prototype,J6)}}var Ol=On([337235919,2760532337,875971243,3754618647,55785531,2093468645,3611500405],7);function t8(){var i,s=(function(o,c){return o(c,3966979758)})(qt,new window[i=Ol,i(0)](""));return(function(o,c){return o!==c})(typeof s,(function(o){return o(1)})(Ol))?{s:-1,v:null}:{s:0,v:{isTrusted:s}}}var e8=function(){return{key:"bd",sources:{stage1:(i={},i.s94=El,i),stage2:(s={},s.s106=z4,s.s154=r6,s.s158=c6,s.s160=c5,s.s97=Al,s.s70=Il,s.s152=C5,s),stage3:(o={},o.s1=M0,o.s2=k0,o.s4=U0,o.s5=D0,o.s7=P0,o.s15=F0,o.s19=V0,o.s27=H0,o.s74=G0,o.s75=j0,o.s24=il,o.s44=J0,o.s45=tl,o.s57=cl,o.s59=Y0,o.s60=z0,o.s61=W0,o.s62=Z0,o.s63=K0,o.s64=X0,o.s65=q0,o.s68=$0,o.s69=rl,o.s72=ol,o.s82=fl,o.s83=ll,o.s99=Sl,o.s101=G4,o.s103=j4,o.s104=Y4,o.s117=W4,o.s119=Z4,o.s123=K4,o.s131=X4,o.s133=q4,o.s136=$4,o.s148=J4,o.s149=Q4,o.s150=t5,o.s157=e5,o.s102=M5,o.s118=k5,o.s120=L5,o.s130=U5,o.s132=D5,o.s135=B5,o.s139=N5,o.s142=x5,o.s144=T5,o.s145=I5,o.s146=O5,o.s151=Z5,o.s153=K5,o.s155=o6,o.s156=a6,o.s159=f6,o.s162=p6,o.s163=q6,o.s165=t8,o.s166=Q6,o)}};var i,s,o};function n8(i,s,o,c,p,m){var w=c?[]:(function(C,X,Q){return(function(tt,nt){for(var at=function(Xt,Qt){return Xt<Qt},gt=function(Xt,Qt,ne){return Xt(Qt,ne)},_t=function(Xt,Qt){return Xt(Qt)},vt=[],bt=0,Vt=Array.isArray(tt)?tt:[tt];at(bt,Vt.length);bt++){var Ht=Vt[bt];if(gt(Pa,Ht,es))for(var Kt=0,Tt=nt;at(Kt,Tt.length);Kt++){var Dt=Tt[Kt];vt.push(_t(o4,Dt))}else vt.push(_t(String,Ht))}return vt})(C,X).map((function(tt){return Ua(tt,{q:Q})}))})(i,s,o);if(w.length===0)return function(){return Promise.resolve({s:-1,v:null})};dr(m,(function(){return{e:6}}));var E=Ef(),v=m0(E),I=Date.now(),B=R0(w,r8.bind(null,5e3,m,v),i8,Math.max(10,w.length),p);return B.then((function(){return E.resolve()}),(function(){return E.resolve()})),function(C,X,Q,tt){return(0,e.sH)(this,void 0,void 0,(function(){var nt,at;return(0,e.YH)(this,(function(gt){switch(gt.label){case 0:if(Q)return[2,{s:-1,v:null}];gt.label=1;case 1:return gt.trys.push([1,3,,4]),[4,Promise.race([B,o8(I,C,X)])];case 2:return gt.sent(),nt=(function(_t){var vt=_t.result,bt=_t.failedAttempts;if(vt!==void 0)return vt;var Vt=bt[0];if(!Vt)return{s:-3,v:null};if(Vt.level===1)return Vt.error;var Ht=Vt.error,Kt=Vt.endpoint;if(Ht instanceof Error){var Tt=Ht.name,Dt=Ht.message;switch(Tt){case"AbortError":return{s:-2,v:Dt};case"TimeoutError":return{s:-3,v:Dt};case"CSPError":return{s:-6,v:Dt};case"InvalidURLError":return{s:-7,v:"Invalid URL: ".concat(Wr(Kt,255))};case"TypeError":return{s:-4,v:Dt}}}return S0(Ht)})(B.current),dr(tt,(function(){return{e:7,result:nt}})),[2,nt];case 3:throw at=gt.sent(),dr(tt,(function(){return{e:8,error:at}})),at;case 4:return[2]}}))}))}}function r8(i,s,o,c,p,m){return io(s,(function(){return{e:9,tryNumber:p,url:c,timeout:i}}),(function(w){var E=w.status,v=w.getHeader,I=w.body;return{e:10,tryNumber:p,status:E,retryAfter:v("retry-after"),body:I}}),(function(w){return{e:11,tryNumber:p,error:w}}),(function(){return g0({url:c,timeout:i,abort:m,container:o})}))}function i8(i){var s=i.status,o=i.body;return s===200&&/^[a-zA-Z0-9+/]{1,1022}={0,2}$/.test(o)?{result:{s:0,v:o}}:{error:{s:-5,v:Wr("".concat(s,": ").concat(o),255)}}}function o8(i,s,o){return Dn(Math.min(Math.max(s,i+1e4-Date.now()),o))}function Nl(i){for(var s="".concat(i,"="),o=0,c=document.cookie.split(";");o<c.length;o++){for(var p=c[o],m=0;p[m]===" "&&m<p.length;)++m;if(p.indexOf(s)===m)return p.slice(m+s.length)}}function Tl(i,s,o,c){var p="".concat(i,"=").concat(s),m=new Date(Date.now()+24*o*60*60*1e3),w="expires=".concat(m.toUTCString()),E=c?"domain=".concat(c):"";document.cookie=[p,"path=/",w,E,"SameSite=Lax"].join("; ")}function xl(i){var s=location.hostname,o=$();(function(c,p){var m=c.length-(c.slice(-1)==="."?1:0);do if(m=m>0?c.lastIndexOf(".",m-1):-1,p(c.slice(m+1))===!0)return!0;while(m>=0);return!1})(s,(function(c){if(!o||!/^([^.]{1,3}\.)*[^.]+\.?$/.test(c)||c===s)return i(c)}))||i()}function Ll(i){return"".concat(i,"_t")}function ja(i){return"".concat(i,"_lr")}function Cl(i){var s,o;try{return(o=(s=localStorage==null?void 0:localStorage.getItem)===null||s===void 0?void 0:s.call(localStorage,i))!==null&&o!==void 0?o:void 0}catch{}}function Ya(i,s){var o;try{(o=localStorage==null?void 0:localStorage.setItem)===null||o===void 0||o.call(localStorage,i,s)}catch{}}function s8(i){var s=(function(p){return[Nl(p),Cl(p)]})(Ll(i)),o=s[0],c=s[1];return o=Bl(o),c=Bl(c),o!==void 0&&c!==void 0?{s:0,v:o||c}:o!==void 0?{s:1,v:o}:c!==void 0?{s:2,v:c}:{s:-1,v:null}}function Bl(i){return i&&i.length<=1e3?i:void 0}var a8=function(){return{key:"id",sources:{stage1:(i={},i.s94=El,i),stage2:(s={},s.s52=u5,s.s6=m4,s.s58=h5,s.s20=h4,s.s36=p4,s.s51=v4,s.s21=g4,s.s79=b5,s.s69=rl,s.s23=V5,s.s29=P5,s.s84=G5,s.s85=Y5,s.s89=m5,s.s17=S4,s.s87=u6,s.s92=d6,s.s93=l6,s.s95=D6,s.s97=Al,s.s70=Il,s),stage3:(o={},o.s22=A5,o.s30=R5,o.s33=r5,o.s44=J0,o.s45=tl,o.s49=i5,o.s50=s5,o.s57=cl,o.s59=Y0,o.s60=z0,o.s61=W0,o.s62=Z0,o.s63=K0,o.s64=X0,o.s65=q0,o.s66=F4,o.s68=$0,o.s71=g5,o.s24=il,o.s72=ol,o.s1=M0,o.s2=k0,o.s3=y4,o.s4=U0,o.s5=D0,o.s7=P0,o.s9=w4,o.s10=E4,o.s11=b4,o.s12=j5,o.s13=_4,o.s14=R4,o.s15=F0,o.s16=A4,o.s19=V0,o.s27=H0,o.s28=I4,o.s32=O4,o.s37=N4,o.s41=T4,o.s39=x4,o.s42=L4,o.s38=C4,o.s43=B4,o.s40=k4,o.s46=U4,o.s80=D4,o.s81=P4,o.s82=fl,o.s83=ll,o.s86=W5,o.s91=M4,o.s96=V4,o.s98=H6,o.s99=Sl,o.s200=X6,o.s201=n5,o.s202=H4,o.s74=G0,o.s75=j0,o.s76=a5,o)},tls:n8,toRequest:function(c,p){return(0,e.sH)(this,void 0,void 0,(function(){var m,w,E,v,I,B;return(0,e.YH)(this,(function(C){switch(C.label){case 0:return m=location.href,w=document.referrer,[4,Promise.all([m&&is(m,p),w&&is(w,p)])];case 1:return E=C.sent(),v=E[0],I=E[1],[2,(B={},B.url=v,B.cr=I||void 0,B.s55=s8(c),B.s48=S5(),B)]}}))}))},onResponse:function(c,p){var m,w,E;(function(v,I){var B=Ll(v);I&&(function(C,X){(function(Q,tt){xl((function(nt){(function(at,gt){Tl(at,"",-1,gt)})(Q,nt)})),xl((function(nt){return Tl(Q,tt,365,nt),Nl(Q)===tt}))})(X,C),Ya(X,C)})(I,B)})(p,(E=(w=(m=c.products)===null||m===void 0?void 0:m.identification)===null||w===void 0?void 0:w.data)===null||E===void 0?void 0:E.visitorToken)}};var i,s,o},u8=function(){return{key:"si",sources:{stage2:(i={},i.s77=A6,i)}};var i},Ml=[3,7];function za(i){var s=Cl(i);if(!s)return[];try{var o=s?JSON.parse(s):[];return Array.isArray(o)?o:[]}catch{return[]}}function kl(i){var s={};return new Set(i).forEach((function(o){var c=(function(m){if(!URL.prototype)return m;try{return new URL(m,window.location.origin).toString()}catch{return m}})(o),p=performance.getEntriesByName(c,"resource");s[o]=p})),s}function Wa(i,s,o,c,p,m){for(var w,E=[],v=0,I=i;v<I.length;v++){var B=I[v],C=B.event;C.e!==o&&C.e!==c&&C.e!==p||C.stage===m&&((E[w=C.tryNumber]||(E[w]={}))[C.e]=B)}return E.map((function(X){var Q,tt,nt,at,gt,_t,vt=(Q=X[o])===null||Q===void 0?void 0:Q.timestamp,bt=(nt=(tt=X[c])===null||tt===void 0?void 0:tt.timestamp)!==null&&nt!==void 0?nt:(at=X[p])===null||at===void 0?void 0:at.timestamp,Vt=(gt=X[o])===null||gt===void 0?void 0:gt.event.url,Ht=(_t=X[p])===null||_t===void 0?void 0:_t.event.error;return vt&&bt&&Vt?Ul(Vt,vt,bt,Ht,s[Vt]):null})).filter((function(X){return!!X}))}function Ul(i,s,o,c,p){var m,w=(function(E,v,I){if(E){for(var B,C=E.length-1;C>=0;C--){var X=E[C];if(X.startTime<v-1)break;X.responseEnd<=I+1&&(B=X)}return B}})(p,s,o);return(m={}).s=hr(w?.startTime)||Math.round(s),m.e=hr(w?.responseEnd)||Math.round(o),m.u=i||null,m.er=c?String(c):null,m.ds=hr(w?.domainLookupStart),m.de=hr(w?.domainLookupEnd),m.cs=hr(w?.connectStart),m.css=hr(w?.secureConnectionStart),m.ce=hr(w?.connectEnd),m.qs=hr(w?.requestStart),m.ss=hr(w?.responseStart),m}function hr(i){return typeof i=="number"?i===0?null:Math.round(i):null}function us(i){var s,o=(s=performance.timeOrigin)!==null&&s!==void 0?s:Date.now()-performance.now();return Math.round(i.getTime()-o)}var c8=function(){var i=(function(){var o={},c=[],p=[],m=!1,w=mi(document,"visibilitychange",E);function E(){var I;p.push(((I={}).t=Math.round(performance.now()),I.s=Ma()?"v":"h",I))}function v(I,B){for(var C,X,Q,tt,nt,at,gt,_t,vt,bt,Vt,Ht,Kt=(function(Jt,ae,un){var Ie=[];return Jt[ae]&&(Ie.push.apply(Ie,Jt[ae].commonEvents),un!==void 0&&Ie.push.apply(Ie,Jt[ae].getCalls[un]||[])),Ie})(o,I,B),Tt={},Dt=0,Xt=Kt;Dt<Xt.length;Dt++){var Qt=Xt[Dt];Tt[Qt.event.e]=Qt}var ne=(X=Tt[4])!==null&&X!==void 0?X:Tt[5];if(Tt[0]&&Tt[1]&&Tt[3]&&Tt[12]&&ne){var ce=Tt[0].event.options,Ee=ce.token,ve=ce.apiKey,Se=ve===void 0?Ee:ve,Le=ce.storageKey,Ce=Le===void 0?Bf:Le,Ne=ce.modules,nn=ce.ldi,Rn=ce.aggressiveOptimization,pn=Rn!==void 0&&Rn,Fn=ce.optimizeRepeatedVisits,zn=Fn!==void 0&&Fn;if(Se){var Wn,Nr,Xr=Math.min(Tt[0].timestamp,us((Q=nn?.attempts[0].startedAt)!==null&&Q!==void 0?Q:new Date("8524-04-28"))),nr=(tt=Tt[5])===null||tt===void 0?void 0:tt.event.error,fn=(nt=Tt[4])===null||nt===void 0?void 0:nt.event.result,Mt=(at=Tt[13])!==null&&at!==void 0?at:Tt[14],Nt=kl(c),xt=((C={}).v="1",C.dt=new Date().toISOString(),C.ci=A0(),C.pi=h0(),C.ai=I,C.ri=eo(12),C.c=Se,C.rid=(_t=(gt=fn?.requestId)!==null&&gt!==void 0?gt:nr?.requestId)!==null&&_t!==void 0?_t:null,C.er=(vt=nr?.message)!==null&&vt!==void 0?vt:null,C.mo=Ne.map((function(Jt){return Jt.key})).filter((function(Jt){return!!Jt})),C.sa=(Wn=(bt=nn?.attempts)!==null&&bt!==void 0?bt:[],Nr=kl(Wn.map((function(Jt){return Jt.url})).filter((function(Jt){return!!Jt}))),Wn.map((function(Jt,ae){var un=Wn.length>1&&ae<Wn.length-1&&!("error"in Jt);return Ul(Jt.url,us(Jt.startedAt),us(Jt.finishedAt),un?"Unknown":Jt.error,Nr[Jt.url])}))),C.ls=Tt[0].timestamp,C.le=Tt[1].timestamp,C.ca=Wa(Kt,Nt,9,10,11),C.ss=Tt[12].timestamp,C.se=(Vt=Mt?.timestamp)!==null&&Vt!==void 0?Vt:null,C.sd=(function(Jt){var ae,un=(ae=Jt[13])===null||ae===void 0?void 0:ae.event.result;if(!un)return{};var Ie={};for(var ke in un)Ie[ke]=Math.round(un[ke].duration);return Ie})(Tt),C.gs=Tt[3].timestamp,C.ge=ne.timestamp,C.fa=Wa(Kt,Nt,18,19,20,0),C.ia=Wa(Kt,Nt,18,19,20,1),C.vs=(function(Jt,ae,un,Ie){for(var ke=(function(Nn,Zn){var xr,Lr;return(0,e.YH)(this,(function(pr){switch(pr.label){case 0:xr=0,Lr=0,pr.label=1;case 1:return xr<Nn.length&&Lr<Zn.length?(function(g8,m8){return g8.t<m8.t})(Nn[xr],Zn[Lr])?[4,Nn[xr]]:[3,3]:[3,6];case 2:return pr.sent(),xr++,[3,5];case 3:return[4,Zn[Lr]];case 4:pr.sent(),Lr++,pr.label=5;case 5:return[3,1];case 6:return xr<Nn.length?[4,Nn[xr]]:[3,9];case 7:pr.sent(),pr.label=8;case 8:return xr++,[3,6];case 9:return Lr<Zn.length?[4,Zn[Lr]]:[3,12];case 10:pr.sent(),pr.label=11;case 11:return Lr++,[3,9];case 12:return[2]}}))})(Jt.map((function(Nn){var Zn;return(Zn={}).t=us(Nn.time),Zn.s=Nn.state==="visible"?"v":"h",Zn})),ae),We=[],mn=void 0,Tr=function(){var Nn;We.length===0&&mn!==void 0&&We.push(((Nn={}).t=un,Nn.s=mn,Nn))};We.length<100;){var uo=ke.next();if(uo.done)break;var bi=uo.value,_i=bi.t,co=bi.s;if(_i>Ie)break;_i<un?mn=co:co!==mn&&(Tr(),We.push(bi),mn=co)}return Tr(),We})((Ht=nn?.visibilityStates)!==null&&Ht!==void 0?Ht:[],p,Xr,ne.timestamp),C.ab=Tt[1].event.ab,C.ao=pn,C.or=zn,C);(function(Jt,ae){(function(un,Ie){var ke=ja(Ie),We=za(ke)||[];We.splice(0,We.length-2);var mn=O0(Pf(un),Ml,3,7);We.push([un.ri,Qn(mn)]),Ya(ke,JSON.stringify(We))})(Jt,ae)})(xt,Ce)}}}return E(),{addEvent:function(I){if(!m)switch((function(B){var C=B.event,X=C.agentId;if(o[X]||(o[X]={commonEvents:[],getCalls:{}}),w0(C)){var Q=C.getCallId;o[X].getCalls[Q]||(o[X].getCalls[Q]=[]),o[X].getCalls[Q].push(B)}else o[X].commonEvents.push(B)})({timestamp:Math.round(performance.now()),event:I}),I.e){case 9:case 18:c.push(I.url);break;case 4:case 5:v(I.agentId,I.getCallId)}},destroy:function(){m=!0,w()}}})(),s=new Set;return{toRequest:function(o){var c,p=(function(m){var w=za(ja(m))||[],E=[];return w.forEach((function(v){try{var I=rs(Da($o(v[1]),Ml,7));E.push(I)}catch{}})),E})(o);return s=new Set(p.map((function(m){return m.ri}))),(c={}).lr=p,c},onResponse:function(o,c){(function(p,m){var w=ja(p);if(m.size!==0){var E=za(w).filter((function(v){return!m.has(v[0])}));E.length!==0?Ya(w,JSON.stringify(E)):(function(v){var I;try{(I=localStorage==null?void 0:localStorage.removeItem)===null||I===void 0||I.call(localStorage,v)}catch{}})(w)}})(c,s)},addEvent:i.addEvent,destroy:i.destroy}},f8=function(i){return{addEvent:Am(i)}},l8=function(i){return{addEvent:Hm(i)}},cs="API key required",fs="API key not found",ls="API key expired",Dl="Request cannot be parsed",Pl="Request failed",Fl="Request failed to process",Vl="Too many requests, rate limit exceeded",Hl="Not available for this origin",Gl="Not available with restricted header",d8=cs,h8=fs,p8=ls,v8={load:B0,defaultEndpoint:ts,defaultTlsEndpoint:es,ERROR_CLIENT_TIMEOUT:Na,ERROR_NETWORK_CONNECTION:Ta,ERROR_NETWORK_ABORT:xa,ERROR_WRONG_REGION:Xf,ERROR_SUBSCRIPTION_NOT_ACTIVE:qf,ERROR_API_KEY_MISSING:cs,ERROR_API_KEY_INVALID:fs,ERROR_API_KEY_EXPIRED:ls,ERROR_BAD_REQUEST_FORMAT:Dl,ERROR_BAD_RESPONSE_FORMAT:La,ERROR_GENERAL_SERVER_FAILURE:Pl,ERROR_SERVER_TIMEOUT:Fl,ERROR_RATE_LIMIT:Vl,ERROR_FORBIDDEN_ORIGIN:Hl,ERROR_FORBIDDEN_HEADER:Gl,ERROR_UNSUPPORTED_VERSION:$f,ERROR_INSTALLATION_METHOD_RESTRICTED:Jf,ERROR_FORBIDDEN_ENDPOINT:Qf,ERROR_CSP_BLOCK:Ca,ERROR_INTEGRATION_FAILURE:t0,ERROR_INVALID_ENDPOINT:Ba,ERROR_NETWORK_RESTRICTED:n0,ERROR_INVALID_PROXY_INTEGRATION_SECRET:r0,ERROR_INVALID_PROXY_INTEGRATION_HEADERS:i0,ERROR_TOKEN_MISSING:cs,ERROR_TOKEN_INVALID:fs,ERROR_TOKEN_EXPIRED:ls}},568:function(t,r,n){n.r(r),n.d(r,{componentsToDebugString:function(){return Et},default:function(){return R},getFullscreenElement:function(){return U},getScreenFrame:function(){return Ft},hashComponents:function(){return Lt},isAndroid:function(){return W},isChromium:function(){return wt},isDesktopSafari:function(){return f},isEdgeHTML:function(){return mt},isGecko:function(){return S},isTrident:function(){return dt},isWebKit:function(){return P},load:function(){return F},loadSources:function(){return At},murmurX64Hash128:function(){return O},prepareForSources:function(){return zt},sources:function(){return ct},transformSource:function(){return st},withIframe:function(){return et}});var e=n(635),u="3.4.2";function a(A,H){return new Promise((function(G){return setTimeout(G,A,H)}))}function d(A){return!!A&&typeof A.then=="function"}function y(A,H){try{var G=A();d(G)?G.then((function(it){return H(!0,it)}),(function(it){return H(!1,it)})):H(!0,G)}catch(it){H(!1,it)}}function l(A,H,G){return G===void 0&&(G=16),(0,e.sH)(this,void 0,void 0,(function(){var it,Ct,Bt,Ut;return(0,e.YH)(this,(function(kt){switch(kt.label){case 0:it=Array(A.length),Ct=Date.now(),Bt=0,kt.label=1;case 1:return Bt<A.length?(it[Bt]=H(A[Bt],Bt),(Ut=Date.now())>=Ct+G?(Ct=Ut,[4,a(0)]):[3,3]):[3,4];case 2:kt.sent(),kt.label=3;case 3:return++Bt,[3,1];case 4:return[2,it]}}))}))}function b(A){A.then(void 0,(function(){}))}function N(A,H){A=[A[0]>>>16,65535&A[0],A[1]>>>16,65535&A[1]],H=[H[0]>>>16,65535&H[0],H[1]>>>16,65535&H[1]];var G=[0,0,0,0];return G[3]+=A[3]+H[3],G[2]+=G[3]>>>16,G[3]&=65535,G[2]+=A[2]+H[2],G[1]+=G[2]>>>16,G[2]&=65535,G[1]+=A[1]+H[1],G[0]+=G[1]>>>16,G[1]&=65535,G[0]+=A[0]+H[0],G[0]&=65535,[G[0]<<16|G[1],G[2]<<16|G[3]]}function L(A,H){A=[A[0]>>>16,65535&A[0],A[1]>>>16,65535&A[1]],H=[H[0]>>>16,65535&H[0],H[1]>>>16,65535&H[1]];var G=[0,0,0,0];return G[3]+=A[3]*H[3],G[2]+=G[3]>>>16,G[3]&=65535,G[2]+=A[2]*H[3],G[1]+=G[2]>>>16,G[2]&=65535,G[2]+=A[3]*H[2],G[1]+=G[2]>>>16,G[2]&=65535,G[1]+=A[1]*H[3],G[0]+=G[1]>>>16,G[1]&=65535,G[1]+=A[2]*H[2],G[0]+=G[1]>>>16,G[1]&=65535,G[1]+=A[3]*H[1],G[0]+=G[1]>>>16,G[1]&=65535,G[0]+=A[0]*H[3]+A[1]*H[2]+A[2]*H[1]+A[3]*H[0],G[0]&=65535,[G[0]<<16|G[1],G[2]<<16|G[3]]}function T(A,H){return(H%=64)==32?[A[1],A[0]]:H<32?[A[0]<<H|A[1]>>>32-H,A[1]<<H|A[0]>>>32-H]:(H-=32,[A[1]<<H|A[0]>>>32-H,A[0]<<H|A[1]>>>32-H])}function x(A,H){return(H%=64)==0?A:H<32?[A[0]<<H|A[1]>>>32-H,A[1]<<H]:[A[1]<<H-32,0]}function M(A,H){return[A[0]^H[0],A[1]^H[1]]}function D(A){return A=M(A,[0,A[0]>>>1]),A=M(A=L(A,[4283543511,3981806797]),[0,A[0]>>>1]),M(A=L(A,[3301882366,444984403]),[0,A[0]>>>1])}function Y(A,H){H=H||0;var G,it=(A=A||"").length%16,Ct=A.length-it,Bt=[0,H],Ut=[0,H],kt=[0,0],rt=[0,0],Wt=[2277735313,289559509],pe=[1291169091,658871167];for(G=0;G<Ct;G+=16)kt=[255&A.charCodeAt(G+4)|(255&A.charCodeAt(G+5))<<8|(255&A.charCodeAt(G+6))<<16|(255&A.charCodeAt(G+7))<<24,255&A.charCodeAt(G)|(255&A.charCodeAt(G+1))<<8|(255&A.charCodeAt(G+2))<<16|(255&A.charCodeAt(G+3))<<24],rt=[255&A.charCodeAt(G+12)|(255&A.charCodeAt(G+13))<<8|(255&A.charCodeAt(G+14))<<16|(255&A.charCodeAt(G+15))<<24,255&A.charCodeAt(G+8)|(255&A.charCodeAt(G+9))<<8|(255&A.charCodeAt(G+10))<<16|(255&A.charCodeAt(G+11))<<24],kt=T(kt=L(kt,Wt),31),Bt=N(Bt=T(Bt=M(Bt,kt=L(kt,pe)),27),Ut),Bt=N(L(Bt,[0,5]),[0,1390208809]),rt=T(rt=L(rt,pe),33),Ut=N(Ut=T(Ut=M(Ut,rt=L(rt,Wt)),31),Bt),Ut=N(L(Ut,[0,5]),[0,944331445]);switch(kt=[0,0],rt=[0,0],it){case 15:rt=M(rt,x([0,A.charCodeAt(G+14)],48));case 14:rt=M(rt,x([0,A.charCodeAt(G+13)],40));case 13:rt=M(rt,x([0,A.charCodeAt(G+12)],32));case 12:rt=M(rt,x([0,A.charCodeAt(G+11)],24));case 11:rt=M(rt,x([0,A.charCodeAt(G+10)],16));case 10:rt=M(rt,x([0,A.charCodeAt(G+9)],8));case 9:rt=L(rt=M(rt,[0,A.charCodeAt(G+8)]),pe),Ut=M(Ut,rt=L(rt=T(rt,33),Wt));case 8:kt=M(kt,x([0,A.charCodeAt(G+7)],56));case 7:kt=M(kt,x([0,A.charCodeAt(G+6)],48));case 6:kt=M(kt,x([0,A.charCodeAt(G+5)],40));case 5:kt=M(kt,x([0,A.charCodeAt(G+4)],32));case 4:kt=M(kt,x([0,A.charCodeAt(G+3)],24));case 3:kt=M(kt,x([0,A.charCodeAt(G+2)],16));case 2:kt=M(kt,x([0,A.charCodeAt(G+1)],8));case 1:kt=L(kt=M(kt,[0,A.charCodeAt(G)]),Wt),Bt=M(Bt,kt=L(kt=T(kt,31),pe))}return Bt=N(Bt=M(Bt,[0,A.length]),Ut=M(Ut,[0,A.length])),Ut=N(Ut,Bt),Bt=N(Bt=D(Bt),Ut=D(Ut)),Ut=N(Ut,Bt),("00000000"+(Bt[0]>>>0).toString(16)).slice(-8)+("00000000"+(Bt[1]>>>0).toString(16)).slice(-8)+("00000000"+(Ut[0]>>>0).toString(16)).slice(-8)+("00000000"+(Ut[1]>>>0).toString(16)).slice(-8)}function z(A){return parseInt(A)}function J(A){return parseFloat(A)}function q(A,H){return typeof A=="number"&&isNaN(A)?H:A}function ot(A){return A.reduce((function(H,G){return H+(G?1:0)}),0)}function pt(A,H){if(H===void 0&&(H=1),Math.abs(H)>=1)return Math.round(A/H)*H;var G=1/H;return Math.round(A*G)/G}function ft(A){return A&&typeof A=="object"&&"message"in A?A:{message:A}}function Rt(A){return typeof A!="function"}function At(A,H,G){var it=Object.keys(A).filter((function(Bt){return!(function(Ut,kt){for(var rt=0,Wt=Ut.length;rt<Wt;++rt)if(Ut[rt]===kt)return!0;return!1})(G,Bt)})),Ct=l(it,(function(Bt){return(function(Ut,kt){var rt=new Promise((function(Wt){var pe=Date.now();y(Ut.bind(null,kt),(function(){for(var ee=[],se=0;se<arguments.length;se++)ee[se]=arguments[se];var he=Date.now()-pe;if(!ee[0])return Wt((function(){return{error:ft(ee[1]),duration:he}}));var le=ee[1];if(Rt(le))return Wt((function(){return{value:le,duration:he}}));Wt((function(){return new Promise((function(ue){var ze=Date.now();y(le,(function(){for(var we=[],_e=0;_e<arguments.length;_e++)we[_e]=arguments[_e];var an=he+Date.now()-ze;if(!we[0])return ue({error:ft(we[1]),duration:an});ue({value:we[1],duration:an})}))}))}))}))}));return b(rt),function(){return rt.then((function(Wt){return Wt()}))}})(A[Bt],H)}));return b(Ct),function(){return(0,e.sH)(this,void 0,void 0,(function(){var Bt,Ut,kt,rt;return(0,e.YH)(this,(function(Wt){switch(Wt.label){case 0:return[4,Ct];case 1:return[4,l(Wt.sent(),(function(pe){var ee=pe();return b(ee),ee}))];case 2:return Bt=Wt.sent(),[4,Promise.all(Bt)];case 3:for(Ut=Wt.sent(),kt={},rt=0;rt<it.length;++rt)kt[it[rt]]=Ut[rt];return[2,kt]}}))}))}}function st(A,H){var G=function(it){return Rt(it)?H(it):function(){var Ct=it();return d(Ct)?Ct.then(H):H(Ct)}};return function(it){var Ct=A(it);return d(Ct)?Ct.then(G):G(Ct)}}function dt(){var A=window,H=navigator;return ot(["MSCSSMatrix"in A,"msSetImmediate"in A,"msIndexedDB"in A,"msMaxTouchPoints"in H,"msPointerEnabled"in H])>=4}function mt(){var A=window,H=navigator;return ot(["msWriteProfilerMark"in A,"MSStream"in A,"msLaunchUri"in H,"msSaveBlob"in H])>=3&&!dt()}function wt(){var A=window,H=navigator;return ot(["webkitPersistentStorage"in H,"webkitTemporaryStorage"in H,H.vendor.indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in A,"BatteryManager"in A,"webkitMediaStream"in A,"webkitSpeechGrammar"in A])>=5}function P(){var A=window,H=navigator;return ot(["ApplePayError"in A,"CSSPrimitiveValue"in A,"Counter"in A,H.vendor.indexOf("Apple")===0,"getStorageUpdates"in H,"WebKitMediaKeys"in A])>=4}function f(){var A=window;return ot(["safari"in A,!("DeviceMotionEvent"in A),!("ongestureend"in A),!("standalone"in navigator)])>=3}function S(){var A,H,G=window;return ot(["buildID"in navigator,"MozAppearance"in((H=(A=document.documentElement)===null||A===void 0?void 0:A.style)!==null&&H!==void 0?H:{}),"onmozfullscreenchange"in G,"mozInnerScreenX"in G,"CSSMozDocumentRule"in G,"CanvasCaptureMediaStream"in G])>=4}function U(){var A=document;return A.fullscreenElement||A.msFullscreenElement||A.mozFullScreenElement||A.webkitFullscreenElement||null}function W(){var A=wt(),H=S();if(!A&&!H)return!1;var G=window;return ot(["onorientationchange"in G,"orientation"in G,A&&!("SharedWorker"in G),H&&/android/i.test(navigator.appVersion)])>=2}function $(A){var H=new Error(A);return H.name=A,H}function et(A,H,G){var it,Ct,Bt;return G===void 0&&(G=50),(0,e.sH)(this,void 0,void 0,(function(){var Ut,kt;return(0,e.YH)(this,(function(rt){switch(rt.label){case 0:Ut=document,rt.label=1;case 1:return Ut.body?[3,3]:[4,a(G)];case 2:return rt.sent(),[3,1];case 3:kt=Ut.createElement("iframe"),rt.label=4;case 4:return rt.trys.push([4,,10,11]),[4,new Promise((function(Wt,pe){var ee=!1,se=function(){ee=!0,Wt()};kt.onload=se,kt.onerror=function(ue){ee=!0,pe(ue)};var he=kt.style;he.setProperty("display","block","important"),he.position="absolute",he.top="0",he.left="0",he.visibility="hidden",H&&"srcdoc"in kt?kt.srcdoc=H:kt.src="about:blank",Ut.body.appendChild(kt);var le=function(){var ue,ze;ee||(((ze=(ue=kt.contentWindow)===null||ue===void 0?void 0:ue.document)===null||ze===void 0?void 0:ze.readyState)==="complete"?se():setTimeout(le,10))};le()}))];case 5:rt.sent(),rt.label=6;case 6:return!((Ct=(it=kt.contentWindow)===null||it===void 0?void 0:it.document)===null||Ct===void 0)&&Ct.body?[3,8]:[4,a(G)];case 7:return rt.sent(),[3,6];case 8:return[4,A(kt,kt.contentWindow)];case 9:return[2,rt.sent()];case 10:return(Bt=kt.parentNode)===null||Bt===void 0||Bt.removeChild(kt),[7];case 11:return[2]}}))}))}function ut(A){for(var H=(function(Wt){for(var pe,ee,se="Unexpected syntax '".concat(Wt,"'"),he=/^\s*([a-z-]*)(.*)$/i.exec(Wt),le=he[1]||void 0,ue={},ze=/([.:#][\w-]+|\[.+?\])/gi,we=function(De,lr){ue[De]=ue[De]||[],ue[De].push(lr)};;){var _e=ze.exec(he[2]);if(!_e)break;var an=_e[0];switch(an[0]){case".":we("class",an.slice(1));break;case"#":we("id",an.slice(1));break;case"[":var Be=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(an);if(!Be)throw new Error(se);we(Be[1],(ee=(pe=Be[4])!==null&&pe!==void 0?pe:Be[5])!==null&&ee!==void 0?ee:"");break;default:throw new Error(se)}}return[le,ue]})(A),G=H[0],it=H[1],Ct=document.createElement(G??"div"),Bt=0,Ut=Object.keys(it);Bt<Ut.length;Bt++){var kt=Ut[Bt],rt=it[kt].join(" ");kt==="style"?Z(Ct.style,rt):Ct.setAttribute(kt,rt)}return Ct}function Z(A,H){for(var G=0,it=H.split(";");G<it.length;G++){var Ct=it[G],Bt=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(Ct);if(Bt){var Ut=Bt[1],kt=Bt[2],rt=Bt[4];A.setProperty(Ut,kt,rt||"")}}}var h=["monospace","sans-serif","serif"],_=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function j(A){return A.toDataURL()}var K,ht,St=2500;function Ft(){var A=this;return(function(){if(ht===void 0){var H=function(){var G=Zt();de(G)?ht=setTimeout(H,St):(K=G,ht=void 0)};H()}})(),function(){return(0,e.sH)(A,void 0,void 0,(function(){var H;return(0,e.YH)(this,(function(G){switch(G.label){case 0:return de(H=Zt())?K?[2,(0,e.fX)([],K,!0)]:U()?[4,(it=document,(it.exitFullscreen||it.msExitFullscreen||it.mozCancelFullScreen||it.webkitExitFullscreen).call(it))]:[3,2]:[3,2];case 1:G.sent(),H=Zt(),G.label=2;case 2:return de(H)||(K=H),[2,H]}var it}))}))}}function Zt(){var A=screen;return[q(J(A.availTop),null),q(J(A.width)-J(A.availWidth)-q(J(A.availLeft),0),null),q(J(A.height)-J(A.availHeight)-q(J(A.availTop),0),null),q(J(A.availLeft),null)]}function de(A){for(var H=0;H<4;++H)if(A[H])return!1;return!0}function ye(A){var H;return(0,e.sH)(this,void 0,void 0,(function(){var G,it,Ct,Bt,Ut,kt,rt;return(0,e.YH)(this,(function(Wt){switch(Wt.label){case 0:for(G=document,it=G.createElement("div"),Ct=new Array(A.length),Bt={},ge(it),rt=0;rt<A.length;++rt)(Ut=ut(A[rt])).tagName==="DIALOG"&&Ut.show(),ge(kt=G.createElement("div")),kt.appendChild(Ut),it.appendChild(kt),Ct[rt]=Ut;Wt.label=1;case 1:return G.body?[3,3]:[4,a(50)];case 2:return Wt.sent(),[3,1];case 3:G.body.appendChild(it);try{for(rt=0;rt<A.length;++rt)Ct[rt].offsetParent||(Bt[A[rt]]=!0)}finally{(H=it.parentNode)===null||H===void 0||H.removeChild(it)}return[2,Bt]}}))}))}function ge(A){A.style.setProperty("display","block","important")}function Oe(A){return matchMedia("(inverted-colors: ".concat(A,")")).matches}function be(A){return matchMedia("(forced-colors: ".concat(A,")")).matches}function Yt(A){return matchMedia("(prefers-contrast: ".concat(A,")")).matches}function Ve(A){return matchMedia("(prefers-reduced-motion: ".concat(A,")")).matches}function Te(A){return matchMedia("(dynamic-range: ".concat(A,")")).matches}var g=Math,k=function(){return 0},V={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]},ct={fonts:function(){return et((function(A,H){var G=H.document,it=G.body;it.style.fontSize="48px";var Ct=G.createElement("div"),Bt={},Ut={},kt=function(ee){var se=G.createElement("span"),he=se.style;return he.position="absolute",he.top="0",he.left="0",he.fontFamily=ee,se.textContent="mmMwWLliI0O&1",Ct.appendChild(se),se},rt=h.map(kt),Wt=(function(){for(var ee={},se=function(ue){ee[ue]=h.map((function(ze){return(function(we,_e){return kt("'".concat(we,"',").concat(_e))})(ue,ze)}))},he=0,le=_;he<le.length;he++)se(le[he]);return ee})();it.appendChild(Ct);for(var pe=0;pe<h.length;pe++)Bt[h[pe]]=rt[pe].offsetWidth,Ut[h[pe]]=rt[pe].offsetHeight;return _.filter((function(ee){return se=Wt[ee],h.some((function(he,le){return se[le].offsetWidth!==Bt[he]||se[le].offsetHeight!==Ut[he]}));var se}))}))},domBlockers:function(A){var H=(A===void 0?{}:A).debug;return(0,e.sH)(this,void 0,void 0,(function(){var G,it,Ct,Bt,Ut;return(0,e.YH)(this,(function(kt){switch(kt.label){case 0:return P()||W()?(rt=atob,G={abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',rt("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",rt("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",rt("LnNwb25zb3JpdA=="),".ylamainos",rt("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),rt("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",rt("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",rt("LmhlYWRlci1ibG9ja2VkLWFk"),rt("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",rt("I2FkXzMwMFgyNTA="),rt("I2Jhbm5lcmZsb2F0MjI="),rt("I2NhbXBhaWduLWJhbm5lcg=="),rt("I0FkLUNvbnRlbnQ=")],adGuardChinese:[rt("LlppX2FkX2FfSA=="),rt("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",rt("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),rt("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",rt("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",rt("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",rt("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),rt("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),rt("LmFkZ29vZ2xl"),rt("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[rt("YW1wLWF1dG8tYWRz"),rt("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",rt("I2FkX2ludmlld19hcmVh")],adGuardRussian:[rt("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),rt("LnJlY2xhbWE="),'div[id^="smi2adblock"]',rt("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[rt("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),rt("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",rt("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),rt("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),rt("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",rt("I3Jla2xhbWk="),rt("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),rt("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),rt("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[rt("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",rt("LndpZGdldF9wb19hZHNfd2lkZ2V0"),rt("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",rt("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[rt("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),rt("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",rt("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",rt("I3Jla2xhbW5pLWJveA=="),rt("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",rt("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[rt("I2FkdmVydGVudGll"),rt("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",rt("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",rt("LnNwb25zb3JsaW5rZ3J1ZW4="),rt("I3dlcmJ1bmdza3k="),rt("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),rt("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[rt("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",rt("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),rt("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),rt("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[rt("LnJla2xhbW9zX3RhcnBhcw=="),rt("LnJla2xhbW9zX251b3JvZG9z"),rt("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),rt("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),rt("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[rt("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[rt("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),rt("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",rt("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[rt("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),rt("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),rt("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",rt("LmFkX19tYWlu"),rt("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[rt("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[rt("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),rt("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[rt("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),rt("I2xpdmVyZUFkV3JhcHBlcg=="),rt("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),rt("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[rt("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",rt("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),rt("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),rt("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[rt("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),rt("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),rt("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",rt("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),rt("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),rt("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),rt("ZGl2I3NrYXBpZWNfYWQ=")],ro:[rt("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),rt("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),rt("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),rt("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[rt("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),rt("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),rt("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",rt("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),rt("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",rt("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]},it=Object.keys(G),[4,ye((Ut=[]).concat.apply(Ut,it.map((function(Wt){return G[Wt]}))))]):[2,void 0];case 1:return Ct=kt.sent(),H&&(function(Wt,pe){for(var ee="DOM blockers debug:\n```",se=0,he=Object.keys(Wt);se<he.length;se++){var le=he[se];ee+=`
12
- `.concat(le,":");for(var ue=0,ze=Wt[le];ue<ze.length;ue++){var we=ze[ue];ee+=`
13
- `.concat(pe[we]?"🚫":"➡️"," ").concat(we)}}console.log("".concat(ee,"\n```"))})(G,Ct),(Bt=it.filter((function(Wt){var pe=G[Wt];return ot(pe.map((function(ee){return Ct[ee]})))>.6*pe.length}))).sort(),[2,Bt]}var rt}))}))},fontPreferences:function(){return A===void 0&&(A=4e3),et((function(H,G){var it=G.document,Ct=it.body,Bt=Ct.style;Bt.width="".concat(A,"px"),Bt.webkitTextSizeAdjust=Bt.textSizeAdjust="none",wt()?Ct.style.zoom="".concat(1/G.devicePixelRatio):P()&&(Ct.style.zoom="reset");var Ut=it.createElement("div");return Ut.textContent=(0,e.fX)([],Array(A/20|0),!0).map((function(){return"word"})).join(" "),Ct.appendChild(Ut),(function(kt,rt){for(var Wt={},pe={},ee=0,se=Object.keys(V);ee<se.length;ee++){var he=se[ee],le=V[he],ue=le[0],ze=ue===void 0?{}:ue,we=le[1],_e=we===void 0?"mmMwWLliI0fiflO&1":we,an=kt.createElement("span");an.textContent=_e,an.style.whiteSpace="nowrap";for(var Be=0,De=Object.keys(ze);Be<De.length;Be++){var lr=De[Be],Ge=ze[lr];Ge!==void 0&&(an.style[lr]=Ge)}Wt[he]=an,rt.appendChild(kt.createElement("br")),rt.appendChild(an)}for(var He=0,Yr=Object.keys(V);He<Yr.length;He++)pe[he=Yr[He]]=Wt[he].getBoundingClientRect().width;return pe})(it,Ct)}),'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">');var A},audio:function(){var A=window,H=A.OfflineAudioContext||A.webkitOfflineAudioContext;if(!H)return-2;if(P()&&!f()&&!(function(){var Wt=window;return ot(["DOMRectList"in Wt,"RTCPeerConnectionIceEvent"in Wt,"SVGGeometryElement"in Wt,"ontransitioncancel"in Wt])>=3})())return-1;var G=new H(1,5e3,44100),it=G.createOscillator();it.type="triangle",it.frequency.value=1e4;var Ct=G.createDynamicsCompressor();Ct.threshold.value=-50,Ct.knee.value=40,Ct.ratio.value=12,Ct.attack.value=0,Ct.release.value=.25,it.connect(Ct),Ct.connect(G.destination),it.start(0);var Bt=(function(Wt){var pe=function(){};return[new Promise((function(ee,se){var he=!1,le=0,ue=0;Wt.oncomplete=function(_e){return ee(_e.renderedBuffer)};var ze=function(){setTimeout((function(){return se($("timeout"))}),Math.min(500,ue+5e3-Date.now()))},we=function(){try{var _e=Wt.startRendering();switch(d(_e)&&b(_e),Wt.state){case"running":ue=Date.now(),he&&ze();break;case"suspended":document.hidden||le++,he&&le>=3?se($("suspended")):setTimeout(we,500)}}catch(an){se(an)}};we(),pe=function(){he||(he=!0,ue>0&&ze())}})),pe]})(G),Ut=Bt[0],kt=Bt[1],rt=Ut.then((function(Wt){return(function(pe){for(var ee=0,se=0;se<pe.length;++se)ee+=Math.abs(pe[se]);return ee})(Wt.getChannelData(0).subarray(4500))}),(function(Wt){if(Wt.name==="timeout"||Wt.name==="suspended")return-3;throw Wt}));return b(rt),function(){return kt(),rt}},screenFrame:function(){var A=this,H=Ft();return function(){return(0,e.sH)(A,void 0,void 0,(function(){var G,it;return(0,e.YH)(this,(function(Ct){switch(Ct.label){case 0:return[4,H()];case 1:return G=Ct.sent(),[2,[(it=function(Bt){return Bt===null?null:pt(Bt,10)})(G[0]),it(G[1]),it(G[2]),it(G[3])]]}}))}))}},osCpu:function(){return navigator.oscpu},languages:function(){var A,H=navigator,G=[],it=H.language||H.userLanguage||H.browserLanguage||H.systemLanguage;if(it!==void 0&&G.push([it]),Array.isArray(H.languages))wt()&&ot([!("MediaSettingsRange"in(A=window)),"RTCEncodedAudioFrame"in A,""+A.Intl=="[object Intl]",""+A.Reflect=="[object Reflect]"])>=3||G.push(H.languages);else if(typeof H.languages=="string"){var Ct=H.languages;Ct&&G.push(Ct.split(","))}return G},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return q(J(navigator.deviceMemory),void 0)},screenResolution:function(){var A=screen,H=function(it){return q(z(it),null)},G=[H(A.width),H(A.height)];return G.sort().reverse(),G},hardwareConcurrency:function(){return q(z(navigator.hardwareConcurrency),void 0)},timezone:function(){var A,H=(A=window.Intl)===null||A===void 0?void 0:A.DateTimeFormat;if(H){var G=new H().resolvedOptions().timeZone;if(G)return G}var it,Ct=(it=new Date().getFullYear(),-Math.max(J(new Date(it,0,1).getTimezoneOffset()),J(new Date(it,6,1).getTimezoneOffset())));return"UTC".concat(Ct>=0?"+":"").concat(Math.abs(Ct))},sessionStorage:function(){try{return!!window.sessionStorage}catch{return!0}},localStorage:function(){try{return!!window.localStorage}catch{return!0}},indexedDB:function(){if(!dt()&&!mt())try{return!!window.indexedDB}catch{return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var A=navigator.platform;return A==="MacIntel"&&P()&&!f()?(function(){if(navigator.platform==="iPad")return!0;var H=screen,G=H.width/H.height;return ot(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,G>.65&&G<1.53])>=2})()?"iPad":"iPhone":A},plugins:function(){var A=navigator.plugins;if(A){for(var H=[],G=0;G<A.length;++G){var it=A[G];if(it){for(var Ct=[],Bt=0;Bt<it.length;++Bt){var Ut=it[Bt];Ct.push({type:Ut.type,suffixes:Ut.suffixes})}H.push({name:it.name,description:it.description,mimeTypes:Ct})}}return H}},canvas:function(){var A,H,G=!1,it=(function(){var kt=document.createElement("canvas");return kt.width=1,kt.height=1,[kt,kt.getContext("2d")]})(),Ct=it[0],Bt=it[1];if((function(kt,rt){return!(!rt||!kt.toDataURL)})(Ct,Bt)){G=(function(kt){return kt.rect(0,0,10,10),kt.rect(2,2,6,6),!kt.isPointInPath(5,5,"evenodd")})(Bt),(function(kt,rt){kt.width=240,kt.height=60,rt.textBaseline="alphabetic",rt.fillStyle="#f60",rt.fillRect(100,1,62,20),rt.fillStyle="#069",rt.font='11pt "Times New Roman"';var Wt="Cwm fjordbank gly ".concat("😃");rt.fillText(Wt,2,15),rt.fillStyle="rgba(102, 204, 0, 0.2)",rt.font="18pt Arial",rt.fillText(Wt,4,45)})(Ct,Bt);var Ut=j(Ct);Ut!==j(Ct)?A=H="unstable":(H=Ut,(function(kt,rt){kt.width=122,kt.height=110,rt.globalCompositeOperation="multiply";for(var Wt=0,pe=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];Wt<pe.length;Wt++){var ee=pe[Wt],se=ee[0],he=ee[1],le=ee[2];rt.fillStyle=se,rt.beginPath(),rt.arc(he,le,40,0,2*Math.PI,!0),rt.closePath(),rt.fill()}rt.fillStyle="#f9c",rt.arc(60,60,60,0,2*Math.PI,!0),rt.arc(60,60,20,0,2*Math.PI,!0),rt.fill("evenodd")})(Ct,Bt),A=j(Ct))}else A=H="";return{winding:G,geometry:A,text:H}},touchSupport:function(){var A,H=navigator,G=0;H.maxTouchPoints!==void 0?G=z(H.maxTouchPoints):H.msMaxTouchPoints!==void 0&&(G=H.msMaxTouchPoints);try{document.createEvent("TouchEvent"),A=!0}catch{A=!1}return{maxTouchPoints:G,touchEvent:A,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var A=[],H=0,G=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];H<G.length;H++){var it=G[H],Ct=window[it];Ct&&typeof Ct=="object"&&A.push(it)}return A.sort()},cookiesEnabled:function(){var A=document;try{A.cookie="cookietest=1; SameSite=Strict;";var H=A.cookie.indexOf("cookietest=")!==-1;return A.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",H}catch{return!1}},colorGamut:function(){for(var A=0,H=["rec2020","p3","srgb"];A<H.length;A++){var G=H[A];if(matchMedia("(color-gamut: ".concat(G,")")).matches)return G}},invertedColors:function(){return!!Oe("inverted")||!Oe("none")&&void 0},forcedColors:function(){return!!be("active")||!be("none")&&void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(var A=0;A<=100;++A)if(matchMedia("(max-monochrome: ".concat(A,")")).matches)return A;throw new Error("Too high value")}},contrast:function(){return Yt("no-preference")?0:Yt("high")||Yt("more")?1:Yt("low")||Yt("less")?-1:Yt("forced")?10:void 0},reducedMotion:function(){return!!Ve("reduce")||!Ve("no-preference")&&void 0},hdr:function(){return!!Te("high")||!Te("standard")&&void 0},math:function(){var A,H=g.acos||k,G=g.acosh||k,it=g.asin||k,Ct=g.asinh||k,Bt=g.atanh||k,Ut=g.atan||k,kt=g.sin||k,rt=g.sinh||k,Wt=g.cos||k,pe=g.cosh||k,ee=g.tan||k,se=g.tanh||k,he=g.exp||k,le=g.expm1||k,ue=g.log1p||k;return{acos:H(.12312423423423424),acosh:G(1e308),acoshPf:(A=1e154,g.log(A+g.sqrt(A*A-1))),asin:it(.12312423423423424),asinh:Ct(1),asinhPf:g.log(1+g.sqrt(2)),atanh:Bt(.5),atanhPf:g.log(3)/2,atan:Ut(.5),sin:kt(-1e300),sinh:rt(1),sinhPf:g.exp(1)-1/g.exp(1)/2,cos:Wt(10.000000000123),cosh:pe(1),coshPf:(g.exp(1)+1/g.exp(1))/2,tan:ee(-1e300),tanh:se(1),tanhPf:(g.exp(2)-1)/(g.exp(2)+1),exp:he(1),expm1:le(1),expm1Pf:g.exp(1)-1,log1p:ue(10),log1pPf:g.log(11),powPI:g.pow(g.PI,-100)}},videoCard:function(){var A,H=document.createElement("canvas"),G=(A=H.getContext("webgl"))!==null&&A!==void 0?A:H.getContext("experimental-webgl");if(G&&"getExtension"in G){var it=G.getExtension("WEBGL_debug_renderer_info");if(it)return{vendor:(G.getParameter(it.UNMASKED_VENDOR_WEBGL)||"").toString(),renderer:(G.getParameter(it.UNMASKED_RENDERER_WEBGL)||"").toString()}}},pdfViewerEnabled:function(){return navigator.pdfViewerEnabled},architecture:function(){var A=new Float32Array(1),H=new Uint8Array(A.buffer);return A[0]=1/0,A[0]=A[0]-A[0],H[3]}},yt="$ if upgrade to Pro: https://fpjs.dev/pro";function Et(A){return JSON.stringify(A,(function(H,G){return G instanceof Error?(it=G,(0,e.Cl)({name:it.name,message:it.message,stack:(Ct=it.stack)===null||Ct===void 0?void 0:Ct.split(`
14
- `)},it)):G;var it,Ct}),2)}function Lt(A){return Y((function(H){for(var G="",it=0,Ct=Object.keys(H).sort();it<Ct.length;it++){var Bt=Ct[it],Ut=H[Bt],kt=Ut.error?"error":JSON.stringify(Ut.value);G+="".concat(G?"|":"").concat(Bt.replace(/([:|\\])/g,"\\$1"),":").concat(kt)}return G})(A))}function zt(A){return A===void 0&&(A=50),(function(H,G){G===void 0&&(G=1/0);var it=window.requestIdleCallback;return it?new Promise((function(Ct){return it.call(window,(function(){return Ct()}),{timeout:G})})):a(Math.min(H,G))})(A,2*A)}function te(A,H){var G=Date.now();return{get:function(it){return(0,e.sH)(this,void 0,void 0,(function(){var Ct,Bt,Ut;return(0,e.YH)(this,(function(kt){switch(kt.label){case 0:return Ct=Date.now(),[4,A()];case 1:return Bt=kt.sent(),Ut=(function(rt){var Wt,pe=(function(ee){var se=(function(le){if(W())return .4;if(P())return f()?.5:.3;var ue=le.platform.value||"";return/^Win/.test(ue)?.6:/^Mac/.test(ue)?.5:.7})(ee),he=(function(le){return pt(.99+.01*le,1e-4)})(se);return{score:se,comment:yt.replace(/\$/g,"".concat(he))}})(rt);return{get visitorId(){return Wt===void 0&&(Wt=Lt(this.components)),Wt},set visitorId(ee){Wt=ee},confidence:pe,components:rt,version:u}})(Bt),(H||it?.debug)&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(Ut.version,`
9
+ `.concat(B[gt]?"🚫":"➡️"," ").concat(gt)}}console.log("".concat(C,"\n```"))})(o,p),(m=c.filter((function(I){var B=o[I];return T(B.map((function(C){return p[C]})))>.6*B.length}))).sort(),[2,m]}var v}))}))},ee=function(){return i===void 0&&(i=4e3),j((function(s,o){var c=o.document,p=c.body,m=p.style;m.width="".concat(i,"px"),m.webkitTextSizeAdjust=m.textSizeAdjust="none",S()?p.style.zoom="".concat(1/o.devicePixelRatio):U()&&(p.style.zoom="reset");var y=c.createElement("div");return y.textContent=(0,e.fX)([],Array(i/20|0),!0).map((function(){return"word"})).join(" "),p.appendChild(y),(function(w,v){for(var I={},B={},C=0,X=Object.keys(F);C<X.length;C++){var Q=X[C],tt=F[Q],nt=tt[0],at=nt===void 0?{}:nt,gt=tt[1],_t=gt===void 0?"mmMwWLliI0fiflO&1":gt,vt=w.createElement("span");vt.textContent=_t,vt.style.whiteSpace="nowrap";for(var bt=0,Vt=Object.keys(at);bt<Vt.length;bt++){var Ht=Vt[bt],Wt=at[Ht];Wt!==void 0&&(vt.style[Ht]=Wt)}I[Q]=vt,v.append(w.createElement("br"),vt)}for(var Tt=0,Dt=Object.keys(F);Tt<Dt.length;Tt++)B[Q=Dt[Tt]]=I[Q].getBoundingClientRect().width;return B})(c,p)}),'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">');var i},se=function(){return navigator.oscpu},he=function(){var i,s=navigator,o=[],c=s.language||s.userLanguage||s.browserLanguage||s.systemLanguage;if(c!==void 0&&o.push([c]),Array.isArray(s.languages))S()&&T([!("MediaSettingsRange"in(i=window)),"RTCEncodedAudioFrame"in i,""+i.Intl=="[object Intl]",""+i.Reflect=="[object Reflect]"])>=3||o.push(s.languages);else if(typeof s.languages=="string"){var p=s.languages;p&&o.push(p.split(","))}return o},le=function(){return window.screen.colorDepth},ue=function(){return x(N(navigator.deviceMemory),void 0)},ze=function(){return x(b(navigator.hardwareConcurrency),void 0)},we=function(){var i,s=(i=window.Intl)===null||i===void 0?void 0:i.DateTimeFormat;if(s){var o=new s().resolvedOptions().timeZone;if(o)return o}var c,p=(c=new Date().getFullYear(),-Math.max(N(new Date(c,0,1).getTimezoneOffset()),N(new Date(c,6,1).getTimezoneOffset())));return"UTC".concat(p>=0?"+":"").concat(p)},_e=function(){try{return!!window.sessionStorage}catch{return!0}},an=function(){try{return!!window.localStorage}catch{return!0}},Be=function(){return!!window.openDatabase},De=function(){return navigator.cpuClass},lr=function(){var i=navigator.platform;return i==="MacIntel"&&U()&&!W()?(function(){if(navigator.platform==="iPad")return!0;var s=screen,o=s.width/s.height;return T(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,o>.65&&o<1.53])>=2})()?"iPad":"iPhone":i},He=function(){var i=navigator.plugins;if(i){for(var s=[],o=0;o<i.length;++o){var c=i[o];if(c){for(var p=[],m=0;m<c.length;++m){var y=c[m];p.push({type:y.type,suffixes:y.suffixes})}s.push({name:c.name,description:c.description,mimeTypes:p})}}return s}},Ve=function(){var i,s=navigator,o=0;s.maxTouchPoints!==void 0?o=b(s.maxTouchPoints):s.msMaxTouchPoints!==void 0&&(o=s.msMaxTouchPoints);try{document.createEvent("TouchEvent"),i=!0}catch{i=!1}return{maxTouchPoints:o,touchEvent:i,touchStart:"ontouchstart"in window}},Yr=function(){return navigator.vendor||""},qe=function(){for(var i=[],s=0,o=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];s<o.length;s++){var c=o[s],p=window[c];p&&typeof p=="object"&&i.push(c)}return i.sort()},$e=function(){var i=document;try{i.cookie="cookietest=1; SameSite=Strict;";var s=i.cookie.indexOf("cookietest=")!==-1;return i.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",s}catch{return!1}},Wo=function(){for(var i=0,s=["rec2020","p3","srgb"];i<s.length;i++){var o=s[i];if(matchMedia("(color-gamut: ".concat(o,")")).matches)return o}},Je=function(){return!!k("inverted")||!k("none")&&void 0},Qe=function(){return!!V("active")||!V("none")&&void 0},Zo=function(){if(matchMedia("(min-monochrome: 0)").matches){for(var i=0;i<=100;++i)if(matchMedia("(max-monochrome: ".concat(i,")")).matches)return i;throw new Error("Too high value")}},tn=function(){return ct("no-preference")?0:ct("high")||ct("more")?1:ct("low")||ct("less")?-1:ct("forced")?10:void 0},en=function(){return!!yt("reduce")||!yt("no-preference")&&void 0},Fi=function(){return!!Et("reduce")||!Et("no-preference")&&void 0},Vi=function(){return!!Lt("high")||!Lt("standard")&&void 0},Hi=function(){var i,s=Yt.acos||te,o=Yt.acosh||te,c=Yt.asin||te,p=Yt.asinh||te,m=Yt.atanh||te,y=Yt.atan||te,w=Yt.sin||te,v=Yt.sinh||te,I=Yt.cos||te,B=Yt.cosh||te,C=Yt.tan||te,X=Yt.tanh||te,Q=Yt.exp||te,tt=Yt.expm1||te,nt=Yt.log1p||te;return{acos:s(.12312423423423424),acosh:o(1e308),acoshPf:(i=1e154,Yt.log(i+Yt.sqrt(i*i-1))),asin:c(.12312423423423424),asinh:p(1),asinhPf:Yt.log(1+Yt.sqrt(2)),atanh:m(.5),atanhPf:Yt.log(3)/2,atan:y(.5),sin:w(-1e300),sinh:v(1),sinhPf:Yt.exp(1)-1/Yt.exp(1)/2,cos:I(10.000000000123),cosh:B(1),coshPf:(Yt.exp(1)+1/Yt.exp(1))/2,tan:C(-1e300),tanh:X(1),tanhPf:(Yt.exp(2)-1)/(Yt.exp(2)+1),exp:Q(1),expm1:tt(1),expm1Pf:Yt.exp(1)-1,log1p:nt(10),log1pPf:Yt.log(11),powPI:Yt.pow(Yt.PI,-100)}},Gi=function(){return navigator.pdfViewerEnabled},ji=function(){var i=new Float32Array(1),s=new Uint8Array(i.buffer);return i[0]=1/0,i[0]=i[0]-i[0],s[3]},Yi=function(){var i,s=document.createElement("a"),o=(i=s.attributionSourceId)!==null&&i!==void 0?i:s.attributionsourceid;return o===void 0?void 0:String(o)},zi=function(){if(!ut()&&!U())return-2;if(!window.AudioContext)return-1;var i=new AudioContext().baseLatency;return i==null?-1:isFinite(i)?i:-3},Wi=function(){if(!window.Intl)return-1;var i=window.Intl.DateTimeFormat;if(!i)return-2;var s=i().resolvedOptions().locale;return s||s===""?s:-3},Zi=function(i){var s,o,c,p,m,y,w=it(i.cache);if(!w)return-1;if(!rt(w))return-2;var v=kt()?null:w.getExtension(G);return{version:((s=w.getParameter(w.VERSION))===null||s===void 0?void 0:s.toString())||"",vendor:((o=w.getParameter(w.VENDOR))===null||o===void 0?void 0:o.toString())||"",vendorUnmasked:v?(c=w.getParameter(v.UNMASKED_VENDOR_WEBGL))===null||c===void 0?void 0:c.toString():"",renderer:((p=w.getParameter(w.RENDERER))===null||p===void 0?void 0:p.toString())||"",rendererUnmasked:v?(m=w.getParameter(v.UNMASKED_RENDERER_WEBGL))===null||m===void 0?void 0:m.toString():"",shadingLanguageVersion:((y=w.getParameter(w.SHADING_LANGUAGE_VERSION))===null||y===void 0?void 0:y.toString())||""}},Ki=function(i){var s=it(i.cache);if(!s)return-1;if(!rt(s))return-2;var o=s.getSupportedExtensions(),c=s.getContextAttributes(),p=[],m=[],y=[],w=[],v=[];if(c)for(var I=0,B=Object.keys(c);I<B.length;I++){var C=B[I];m.push("".concat(C,"=").concat(c[C]))}for(var X=0,Q=Bt(s);X<Q.length;X++){var tt=s[Vt=Q[X]];y.push("".concat(Vt,"=").concat(tt).concat(R.has(tt)?"=".concat(s.getParameter(tt)):""))}if(o)for(var nt=0,at=o;nt<at.length;nt++){var gt=at[nt];if(!(gt===G&&kt()||gt==="WEBGL_polygon_mode"&&(S()||U()))){var _t=s.getExtension(gt);if(_t)for(var vt=0,bt=Bt(_t);vt<bt.length;vt++){var Vt;tt=_t[Vt=bt[vt]],w.push("".concat(Vt,"=").concat(tt).concat(O.has(tt)?"=".concat(s.getParameter(tt)):""))}else p.push(gt)}}for(var Ht=0,Wt=A;Ht<Wt.length;Ht++)for(var Tt=Wt[Ht],Dt=0,Xt=H;Dt<Xt.length;Dt++){var Qt=Xt[Dt],ne=Ct(s,Tt,Qt);v.push("".concat(Tt,".").concat(Qt,"=").concat(ne.join(",")))}return w.sort(),y.sort(),{contextAttributes:m,parameters:y,shaderPrecisions:v,extensions:o,extensionParameters:w,unsupportedExtensions:p}},dn=function(i,s){var o=(function(X){for(var Q=new Uint8Array(X.length),tt=0;tt<X.length;tt++){var nt=X.charCodeAt(tt);if(nt>127)return new TextEncoder().encode(X);Q[tt]=nt}return Q})(i);s=s||0;var c,p=[0,o.length],m=p[1]%16,y=p[1]-m,w=[0,s],v=[0,s],I=[0,0],B=[0,0];for(c=0;c<y;c+=16)I[0]=o[c+4]|o[c+5]<<8|o[c+6]<<16|o[c+7]<<24,I[1]=o[c]|o[c+1]<<8|o[c+2]<<16|o[c+3]<<24,B[0]=o[c+12]|o[c+13]<<8|o[c+14]<<16|o[c+15]<<24,B[1]=o[c+8]|o[c+9]<<8|o[c+10]<<16|o[c+11]<<24,M(I,pt),D(I,31),M(I,ft),z(w,I),D(w,27),L(w,v),M(w,Rt),L(w,At),M(B,ft),D(B,33),M(B,pt),z(v,B),D(v,31),L(v,w),M(v,Rt),L(v,st);I[0]=0,I[1]=0,B[0]=0,B[1]=0;var C=[0,0];switch(m){case 15:C[1]=o[c+14],Y(C,48),z(B,C);case 14:C[1]=o[c+13],Y(C,40),z(B,C);case 13:C[1]=o[c+12],Y(C,32),z(B,C);case 12:C[1]=o[c+11],Y(C,24),z(B,C);case 11:C[1]=o[c+10],Y(C,16),z(B,C);case 10:C[1]=o[c+9],Y(C,8),z(B,C);case 9:C[1]=o[c+8],z(B,C),M(B,ft),D(B,33),M(B,pt),z(v,B);case 8:C[1]=o[c+7],Y(C,56),z(I,C);case 7:C[1]=o[c+6],Y(C,48),z(I,C);case 6:C[1]=o[c+5],Y(C,40),z(I,C);case 5:C[1]=o[c+4],Y(C,32),z(I,C);case 4:C[1]=o[c+3],Y(C,24),z(I,C);case 3:C[1]=o[c+2],Y(C,16),z(I,C);case 2:C[1]=o[c+1],Y(C,8),z(I,C);case 1:C[1]=o[c],z(I,C),M(I,pt),D(I,31),M(I,ft),z(w,I)}return z(w,p),z(v,p),L(w,v),L(v,w),ot(w),ot(v),L(w,v),L(v,w),("00000000"+(w[0]>>>0).toString(16)).slice(-8)+("00000000"+(w[1]>>>0).toString(16)).slice(-8)+("00000000"+(v[0]>>>0).toString(16)).slice(-8)+("00000000"+(v[1]>>>0).toString(16)).slice(-8)},Xi="phantomjs",qi="selenium",$i="headless_chrome",Me=(function(i){function s(o,c){var p=i.call(this,c)||this;return p.state=o,p.name="BotdError",Object.setPrototypeOf(p,s.prototype),p}return(0,e.C6)(s,i),s})(Error);function Ji(i,s){return i.indexOf(s)!==-1}function Un(i,s){return i.indexOf(s)!==-1}function vi(i){return Object.getOwnPropertyNames(i)}function gi(i){for(var s=[],o=1;o<arguments.length;o++)s[o-1]=arguments[o];for(var c=function(w){if(typeof w=="string"){if(Ji(i,w))return{value:!0}}else if((function(v,I){if("find"in v)return v.find(I);for(var B=0;B<v.length;B++)if(I(v[B]))return v[B]})(i,(function(v){return w.test(v)}))!=null)return{value:!0}},p=0,m=s;p<m.length;p++){var y=c(m[p]);if(typeof y=="object")return y.value}return!1}function Qi(i){return i.reduce((function(s,o){return s+(o?1:0)}),0)}function ya(){var i,s,o=window,c=navigator;return Qi(["webkitPersistentStorage"in c,"webkitTemporaryStorage"in c,c.vendor.indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in o,"BatteryManager"in o,"webkitMediaStream"in o,"webkitSpeechGrammar"in o])>=5?"chromium":Qi(["ApplePayError"in o,"CSSPrimitiveValue"in o,"Counter"in o,c.vendor.indexOf("Apple")===0,"getStorageUpdates"in c,"WebKitMediaKeys"in o])>=4?"webkit":Qi(["buildID"in navigator,"MozAppearance"in((s=(i=document.documentElement)===null||i===void 0?void 0:i.style)!==null&&s!==void 0?s:{}),"onmozfullscreenchange"in o,"mozInnerScreenX"in o,"CSSMozDocumentRule"in o,"CanvasCaptureMediaStream"in o])>=4?"gecko":"unknown"}var Ln={android:function(){var i=ya(),s=i==="chromium",o=i==="gecko";if(!s&&!o)return!1;var c=window;return Qi(["onorientationchange"in c,"orientation"in c,s&&!("SharedWorker"in c),o&&/android/i.test(navigator.appVersion)])>=2},browserKind:function(){var i,s=(i=navigator.userAgent)===null||i===void 0?void 0:i.toLowerCase();return Un(s,"edg/")?"edge":Un(s,"trident")||Un(s,"msie")?"internet_explorer":Un(s,"wechat")?"wechat":Un(s,"firefox")?"firefox":Un(s,"opera")||Un(s,"opr")?"opera":Un(s,"chrome")?"chrome":Un(s,"safari")?"safari":"unknown"},browserEngineKind:ya,documentFocus:function(){return document.hasFocus!==void 0&&document.hasFocus()},userAgent:function(){return navigator.userAgent},appVersion:function(){var i=navigator.appVersion;if(i==null)throw new Me(-1,"navigator.appVersion is undefined");return i},rtt:function(){if(navigator.connection===void 0)throw new Me(-1,"navigator.connection is undefined");if(navigator.connection.rtt===void 0)throw new Me(-1,"navigator.connection.rtt is undefined");return navigator.connection.rtt},windowSize:function(){return{outerWidth:window.outerWidth,outerHeight:window.outerHeight,innerWidth:window.innerWidth,innerHeight:window.innerHeight}},pluginsLength:function(){if(navigator.plugins===void 0)throw new Me(-1,"navigator.plugins is undefined");if(navigator.plugins.length===void 0)throw new Me(-3,"navigator.plugins.length is undefined");return navigator.plugins.length},pluginsArray:function(){if(navigator.plugins===void 0)throw new Me(-1,"navigator.plugins is undefined");if(window.PluginArray===void 0)throw new Me(-1,"window.PluginArray is undefined");return navigator.plugins instanceof PluginArray},errorTrace:function(){try{null[0]()}catch(i){if(i instanceof Error&&i.stack!=null)return i.stack.toString()}throw new Me(-3,"errorTrace signal unexpected behaviour")},productSub:function(){var i=navigator.productSub;if(i===void 0)throw new Me(-1,"navigator.productSub is undefined");return i},windowExternal:function(){if(window.external===void 0)throw new Me(-1,"window.external is undefined");var i=window.external;if(typeof i.toString!="function")throw new Me(-2,"window.external.toString is not a function");return i.toString()},mimeTypesConsistent:function(){if(navigator.mimeTypes===void 0)throw new Me(-1,"navigator.mimeTypes is undefined");for(var i=navigator.mimeTypes,s=Object.getPrototypeOf(i)===MimeTypeArray.prototype,o=0;o<i.length;o++)s&&(s=Object.getPrototypeOf(i[o])===MimeType.prototype);return s},evalLength:function(){return eval.toString().length},webGL:function(){var i=document.createElement("canvas");if(typeof i.getContext!="function")throw new Me(-2,"HTMLCanvasElement.getContext is not a function");var s=i.getContext("webgl");if(s===null)throw new Me(-4,"WebGLRenderingContext is null");if(typeof s.getParameter!="function")throw new Me(-2,"WebGLRenderingContext.getParameter is not a function");return{vendor:s.getParameter(s.VENDOR),renderer:s.getParameter(s.RENDERER)}},webDriver:function(){if(navigator.webdriver==null)throw new Me(-1,"navigator.webdriver is undefined");return navigator.webdriver},languages:function(){var i,s=navigator,o=[],c=s.language||s.userLanguage||s.browserLanguage||s.systemLanguage;if(c!==void 0&&o.push([c]),Array.isArray(s.languages))ya()==="chromium"&&Qi([!("MediaSettingsRange"in(i=window)),"RTCEncodedAudioFrame"in i,""+i.Intl=="[object Intl]",""+i.Reflect=="[object Reflect]"])>=3||o.push(s.languages);else if(typeof s.languages=="string"){var p=s.languages;p&&o.push(p.split(","))}return o},notificationPermissions:function(){return(0,e.sH)(this,void 0,void 0,(function(){var i,s;return(0,e.YH)(this,(function(o){switch(o.label){case 0:if(window.Notification===void 0)throw new Me(-1,"window.Notification is undefined");if(navigator.permissions===void 0)throw new Me(-1,"navigator.permissions is undefined");if(typeof(i=navigator.permissions).query!="function")throw new Me(-2,"navigator.permissions.query is not a function");o.label=1;case 1:return o.trys.push([1,3,,4]),[4,i.query({name:"notifications"})];case 2:return s=o.sent(),[2,window.Notification.permission==="denied"&&s.state==="prompt"];case 3:throw o.sent(),new Me(-3,"notificationPermissions signal unexpected behaviour");case 4:return[2]}}))}))},documentElementKeys:function(){if(document.documentElement===void 0)throw new Me(-1,"document.documentElement is undefined");var i=document.documentElement;if(typeof i.getAttributeNames!="function")throw new Me(-2,"document.documentElement.getAttributeNames is not a function");return i.getAttributeNames()},functionBind:function(){if(Function.prototype.bind===void 0)throw new Me(-2,"Function.prototype.bind is undefined");return Function.prototype.bind.toString()},process:function(){var i=window.process,s="window.process is";if(i===void 0)throw new Me(-1,"".concat(s," undefined"));if(i&&typeof i!="object")throw new Me(-3,"".concat(s," not an object"));return i},distinctiveProps:function(){var i,s,o=((i={}).awesomium={window:["awesomium"]},i.cef={window:["RunPerfTest"]},i.cefsharp={window:["CefSharp"]},i.coachjs={window:["emit"]},i.fminer={window:["fmget_targets"]},i.geb={window:["geb"]},i.nightmarejs={window:["__nightmare","nightmare"]},i.phantomas={window:["__phantomas"]},i[Xi]={window:["callPhantom","_phantom"]},i.rhino={window:["spawn"]},i[qi]={window:["_Selenium_IDE_Recorder","_selenium","calledSelenium",/^([a-z]){3}_.*_(Array|Promise|Symbol)$/],document:["__selenium_evaluate","selenium-evaluate","__selenium_unwrapped"]},i.webdriverio={window:["wdioElectron"]},i.webdriver={window:["webdriver","__webdriverFunc","__lastWatirAlert","__lastWatirConfirm","__lastWatirPrompt","_WEBDRIVER_ELEM_CACHE","ChromeDriverw"],document:["__webdriver_script_fn","__driver_evaluate","__webdriver_evaluate","__fxdriver_evaluate","__driver_unwrapped","__webdriver_unwrapped","__fxdriver_unwrapped","__webdriver_script_fn","__webdriver_script_func","__webdriver_script_function","$cdc_asdjflasutopfhvcZLmcf","$cdc_asdjflasutopfhvcZLmcfl_","$chrome_asyncScriptInfo","__$webdriverAsyncExecutor"]},i[$i]={window:["domAutomation","domAutomationController"]},i),c={},p=vi(window),m=[];for(s in window.document!==void 0&&(m=vi(window.document)),o){var y=o[s];if(y!==void 0){var w=y.window!==void 0&&gi.apply(void 0,(0,e.fX)([p],y.window,!1)),v=!(y.document===void 0||!m.length)&&gi.apply(void 0,(0,e.fX)([m],y.document,!1));c[s]=w||v}}return c}};function to(i,s){return new Promise((function(o){return wa(o,i,s)}))}function wa(i,s){for(var o=[],c=2;c<arguments.length;c++)o[c-2]=arguments[c];var p=Date.now()+s,m=0,y=function(){m=setTimeout((function(){Date.now()<p?y():i.apply(void 0,o)}),p-Date.now())};return y(),function(){return clearTimeout(m)}}function Ko(i,s){for(var o=[],c=2;c<arguments.length;c++)o[c-2]=arguments[c];var p=document,m="visibilitychange",y=function(){return p.hidden?I():v()},w=(function(B,C,X){for(var Q=[],tt=3;tt<arguments.length;tt++)Q[tt-3]=arguments[tt];var nt,at=!1,gt=B,_t=0,vt=function(){at||nt||(_t=Date.now(),nt=wa((function(){at=!0,X.apply(void 0,Q)}),gt))};return C&&vt(),{start:vt,stop:function(){!at&&nt&&(nt(),nt=void 0,gt-=Date.now()-_t)}}})(s,!p.hidden,(function(){p.removeEventListener(m,y),i.apply(void 0,o)})),v=w.start,I=w.stop;return p.addEventListener(m,y),function(){p.removeEventListener(m,y),I()}}function Dn(i,s){return new Promise((function(o){return Ko(o,i,s)}))}function yf(i,s){return(0,e.sH)(this,void 0,void 0,(function(){var o;return(0,e.YH)(this,(function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),[4,i()];case 1:return[2,c.sent()];case 2:return o=c.sent(),console.error(o),[2,s];case 3:return[2]}}))}))}function Ea(i,s){return new Promise((function(o,c){var p=!1;s?.then((function(){return p=!0}),(function(){return p=!0})),(typeof i=="function"?Ea(Promise.resolve(),s).then(i):i).then((function(m){p||o(m)}),(function(m){p||c(m)}))}))}function eo(i){return i.then(void 0,(function(){})),i}function jn(i,s){return(0,e.sH)(this,void 0,void 0,(function(){var o,c,p,m;return(0,e.YH)(this,(function(y){switch(y.label){case 0:try{o=s().then((function(w){return c=[!0,w]}),(function(w){return c=[!1,w]}))}catch(w){c=[!1,w]}return m=i.then((function(w){return p=[!0,w]}),(function(w){return p=[!1,w]})),[4,Promise.race([o,m])];case 1:return y.sent(),[2,function(){if(c){if(c[0])return c[1];throw c[1]}if(p){if(p[0])return p[1];throw p[1]}throw new Error("96375")}]}}))}))}function wf(){var i,s,o=new Promise((function(c,p){i=c,s=p}));return o.resolve=i,o.reject=s,o}function Xo(i){return i instanceof Error||i!==null&&typeof i=="object"&&"name"in i}function Ef(i,s){var o=0;return function(){return Math.random()*Math.min(s,i*Math.pow(2,o++))}}function zr(i){return i instanceof ArrayBuffer?new Uint8Array(i):new Uint8Array(i.buffer,i.byteOffset,i.byteLength)}function em(i,s){return Object.prototype.hasOwnProperty.call(i,s)}function mi(i,s,o,c){return i.addEventListener(s,o,c),function(){return i.removeEventListener(s,o,c)}}var ba,_a="0123456789abcdef";function bf(i,s){if(s.length==0||s.length>i.length)return-1;for(var o=0;o<i.length;o++){for(var c=0,p=0;p<s.length;p++){if(i[o+p]!==s[p]){c=0;break}c++}if(c==s.length)return o}return-1}function Ar(i){for(var s=new Uint8Array(i.length),o=0;o<i.length;o++){var c=i.charCodeAt(o);if(c>127)return new TextEncoder().encode(i);s[o]=c}return s}function qo(i){if(typeof TextDecoder=="function"){var s=new TextDecoder().decode(i);if(s)return s}var o=zr(i);return decodeURIComponent(escape(String.fromCharCode.apply(null,o)))}function yi(i){return i.reduce((function(s,o){return s+(o?1:0)}),0)}function _f(i,s){return(i-s+256)%256}function Qn(i){var s=zr(i);return btoa(String.fromCharCode.apply(null,s))}function $o(i){for(var s=atob(i),o=s.length,c=new Uint8Array(o),p=0;p<o;p++)c[p]=s.charCodeAt(p);return c}function tr(i){return Rf(Ar(i))}function Rf(i){var s=zr(i);ba=ba||(function(){for(var p,m=new Uint32Array(256),y=0;y<256;y++){p=y;for(var w=0;w<8;w++)p=1&p?3988292384^p>>>1:p>>>1;m[y]=p}return m})();for(var o=-1,c=0;c<s.length;c++)o=o>>>8^ba[255&(o^s[c])];return~o>>>0}function Af(i){return i===void 0?void 0:"".concat(i)}function nm(i,s){if(i!==void 0){if(!Array.isArray(i))throw new TypeError("Expected ".concat(s," to be an array, a ").concat((function(o){return typeof o=="object"?o?Object.prototype.toString.call(o):"null":typeof o})(i)," is given"));return i.map(String)}}function rm(i){for(var s=new Uint8Array(i.length/2),o=0;o<i.length;o+=2)s[o/2]=parseInt(i[o]+i[o+1],16);return s}function Jo(i){if(i instanceof Array)return i.map(Jo);if(i&&typeof i=="object"){for(var s={},o=0,c=Object.keys(i);o<c.length;o++){var p=c[o];s[p]=Jo(i[p])}return s}return i}function im(i,s){for(var o=[],c=Object.getOwnPropertyNames(i),p=0;p<c.length;p++){var m=c[p],y=tr(m);s.has(y)&&o.push({i:p,n:m})}return{l:c.length,p:o}}var Ra=new Uint32Array(2);function Qo(){return crypto?(crypto.getRandomValues(Ra),(1048576*Ra[0]+(1048575&Ra[1]))/4503599627370496):Math.random()}function Sf(i,s,o){o===void 0&&(o=Qo);for(var c="",p=0;p<i;p++)c+=s.charAt(o()*s.length);return c}function no(i){return Sf(i,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")}function If(){return[8,4,4,4,12].map((function(i){return Sf(i,_a)})).join("-")}var Of=new Uint8Array(1);function om(){return crypto.getRandomValues(Of),Of[0]}function Nf(){return new TypeError("Can't pick from nothing")}function sm(i,s){return Math.floor(Qo()*(s-i+1))+i}function Tf(i){return am(i)?(function(s){if(s.length===0)throw Nf();return s[Math.floor(Qo()*s.length)]})(i):(function(s){for(var o=Qo(),c=0,p=0,m=0,y=s;m<y.length;m++)c+=C=y[m][1];for(var w=0,v=s;w<v.length;w++){var I=v[w],B=I[0],C=I[1];if(o>=p/c&&o<(p+C)/c)return B;p+=C}throw Nf()})(Object.entries(i))}var am=Array.isArray,Aa="3.11.11",ts={default:"endpoint"},xf={default:"tEndpoint"},es={default:"tlsEndpoint"};function Lf(i){return i?{query:!0,fragment:!0}:void 0}var Cf="_vid";function Bf(i){switch(i){case 0:return"load() start";case 1:return"load() success";case 2:return"load() fail";case 3:return"get() start";case 4:return"get() success";case 5:return"get() fail";case 6:return"TLS start";case 7:return"TLS success";case 8:return"TLS fail";case 9:return"TLS attempt start";case 10:return"TLS attempt success";case 11:return"TLS attempt fail";case 12:return"Signals start";case 13:return"Signals success";case 14:return"Signals fail";case 15:return"Ingress start";case 16:return"Ingress success";case 17:return"Ingress fail";case 18:return"Ingress attempt start";case 19:return"Ingress attempt success";case 20:return"Ingress attempt fail"}}function Mf(){return{len:0,arr:new Uint8Array(128)}}function er(i,s){Uf(i,i.len+1),i.arr[i.len++]=s}function ns(i,s){Uf(i,i.len+s.length),i.arr.set(s,i.len),i.len+=s.length}function kf(i){return i.arr.subarray(0,i.len)}function Uf(i,s){if(i.arr.length<s){var o=new Uint8Array(Math.max(2*i.arr.length,s));o.set(i.arr),i.arr=o}}function Df(i){var s=Mf(),o=new WeakSet,c=function(p){if(typeof p=="string"){var m=p.replace(wm,(function(at){return"\\"+(Zf[at]||"u"+at.charCodeAt(0).toString(16).padStart(4,"0"))}));return er(s,ro),ns(s,Ar(m)),void er(s,ro)}if(typeof p=="number"||p===!0||p===!1)return(Number.isNaN(p)||p===1/0||p===-1/0)&&(p=null),void ns(s,Ar(String(p)));if(typeof p=="object"&&p){if(o.has(p))throw new TypeError("Recursive input");o.add(p);var y=p.toJSON;if(typeof y=="function")return void c(y.call(p));if(p instanceof Number||p instanceof String)return void c(p.valueOf());var w=!0,v=function(){w?w=!1:er(s,Sa)};if(Array.isArray(p)){er(s,Hf);for(var I=0,B=p;I<B.length;I++){var C=B[I];v(),c(C)}er(s,Gf)}else{er(s,jf);for(var X=0,Q=Object.entries(p);X<Q.length;X++){var tt=Q[X],nt=tt[0];um(C=tt[1])||(v(),c(nt),er(s,Ff),c(C))}er(s,Yf)}o.delete(p)}else ns(s,Na)};return c(i),kf(s)}function rs(i){var s=Mf(),o=zr(i),c=0,p=function(){return I(),o[c]===ro?m():Pf(o[c])?y():B(Na)?(c+=Na.length,null):B(zf)?(c+=zf.length,!0):B(Wf)?(c+=Wf.length,!1):o[c]===Hf?w():o[c]===jf?v():C()},m=function(){for(s.len=0;c++,o[c]!==ro;){if(o[c]===hm){if(c++,o[c]===Oa){var Q=parseInt(qo(o.subarray(c+1,c+5)),16);ns(s,Ar(String.fromCharCode(Q))),c+=4;continue}var tt=ym[o[c]];if(tt){er(s,tt);continue}return C()}if(o[c]===void 0)return C();er(s,o[c])}return c++,qo(kf(s))},y=function(){for(var Q=c;o[c]===mm||o[c]===Ia||o[c]===pm||o[c]===vm||Pf(o[c]);)c++;return Number(qo(o.subarray(Q,c)))},w=function(){var Q=[];for(c++;;){if(I(),o[c]===Gf){c++;break}if(Q.length){if(o[c]!==Sa)return C();c++}Q.push(p())}return Q},v=function(){var Q={},tt=!0;for(c++;;){if(I(),o[c]===Yf){c++;break}if(!tt){if(o[c]!==Sa)return C();c++,I()}if(o[c]!==ro)return C();var nt=m();if(I(),o[c]!==Ff)return C();c++,Object.defineProperty(Q,nt,{value:p(),configurable:!0,enumerable:!0,writable:!0}),tt=!1}return Q},I=function(){for(;o[c]===cm||o[c]===dm||o[c]===lm||o[c]===fm;)c++},B=function(Q){for(var tt=0;tt<Q.length;tt++)if(o[c+tt]!==Q[tt])return!1;return!0},C=function(){throw new SyntaxError("Unexpected ".concat(c<o.length?"byte ".concat(c):"end"))},X=p();return I(),o[c]!==void 0&&C(),X}function um(i){return i===void 0||typeof i=="function"||typeof i=="symbol"}function Pf(i){return i>=Vf&&i<Vf+10||i===gm}var ro=34,Sa=44,Ff=58,cm=32,fm=9,lm=13,dm=10,hm=92,Vf=48,Ia=101,Oa=117,pm=69,vm=43,gm=45,mm=46,Hf=91,Gf=93,jf=123,Yf=125,Na=new Uint8Array([110,Oa,108,108]),zf=new Uint8Array([116,114,Oa,Ia]),Wf=new Uint8Array([102,97,108,115,Ia]),Zf={'"':'"',"\\":"\\","\b":"b","\f":"f","\n":"n","\r":"r"," ":"t"},ym=(function(){for(var i=new Uint8Array(128),s=0,o=Object.entries(Zf);s<o.length;s++){var c=o[s],p=c[0];i[c[1].charCodeAt(0)]=p.charCodeAt(0)}return i})(),wm=/[\x00-\x1F"\\]/g,Ta="Client timeout",xa="Network connection error",La="Network request aborted",Ca="Response cannot be parsed",Ba="Blocked by CSP",Ma="The endpoint parameter is not a valid URL";function Wr(i,s,o){return o===void 0&&(o="..."),i.length<=s?i:"".concat(i.slice(0,Math.max(0,s-o.length))).concat(o)}function Yn(i){for(var s="",o=0;o<i.length;++o)if(o>0){var c=i[o].toLowerCase();c!==i[o]?s+=" ".concat(c):s+=i[o]}else s+=i[o].toUpperCase();return s}var Kf=Yn("WrongRegion"),Xf=Yn("SubscriptionNotActive"),qf=Yn("UnsupportedVersion"),$f=Yn("InstallationMethodRestricted"),Jf=Yn("HostnameRestricted"),Qf=Yn("IntegrationFailed"),t0=Yn("VisitorNotFound"),e0=Yn("NetworkRestricted"),n0=Yn("InvalidProxyIntegrationSecret"),r0=Yn("InvalidProxyIntegrationHeaders");function Em(i){var s;try{s=rs(i.body)}catch{}return(0,e.Cl)((0,e.Cl)({},i),{bodyData:s})}function bm(i,s,o,c){var p=c.bodyData;return p===void 0?c0(c):(function(m){return m instanceof Object&&m.v==="2"&&m.products instanceof Object})(p)?(function(m,y,w,v){var I,B=m.notifications,C=m.requestId,X=m.sealedResult,Q=m.error,tt=m.products,nt=(function(Ht){for(var Wt=[],Tt=0,Dt=Object.keys(Ht);Tt<Dt.length;Tt++){var Xt=Ht[Dt[Tt]];Xt&&Wt.push(Xt)}return Wt})(tt);u0(B);for(var at=0,gt=nt;at<gt.length;at++)u0(gt[at].notifications);if(Q)return i0(Q,C,X,w);for(var _t=0,vt=nt;_t<vt.length;_t++){var bt=vt[_t].error;if(bt)return i0(bt,C,X,w)}(function(Ht,Wt,Tt){for(var Dt,Xt=0,Qt=Wt;Xt<Qt.length;Xt++){var ne=Qt[Xt];(Dt=ne.onResponse)===null||Dt===void 0||Dt.call(ne,Ht,Tt)}})(m,y,v);var Vt=(I=tt.identification)===null||I===void 0?void 0:I.data;return{result:Vt?(0,e.Cl)((0,e.Cl)({requestId:C},X===void 0?{}:{sealedResult:X}),Vt.result):o0(C,X,w)}})(p,i,s,o):c0(c)}function i0(i,s,o,c){switch(i.code){case"NotAvailableForCrawlBots":case"NotAvailableForAIBots":return s0(s,o,!0,c);case"NotAvailableWithoutUA":return s0(s,o,void 0,c);default:return{error:a0(_m(i),s,i),stop:i.code==="VisitorNotFound"}}}function _m(i){var s,o=i.code,c=i.message;return o===void 0?c:(s=(function(p){switch(p){case"TokenRequired":return"API key required";case"TokenNotFound":return"API key not found";case"TokenExpired":return"API key expired";case"RequestCannotBeParsed":return"Request cannot be parsed";case"Failed":return"Request failed";case"RequestTimeout":return"Request failed to process";case"TooManyRequests":return"Too many requests, rate limit exceeded";case"OriginNotAvailable":return"Not available for this origin";case"HeaderRestricted":return"Not available with restricted header";case"NotAvailableForCrawlBots":return"Not available for crawl bots";case"NotAvailableForAIBots":return"Not available for AI bots";case"NotAvailableWithoutUA":return"Not available when User-Agent is unspecified"}})(o))!==null&&s!==void 0?s:Yn(o)}function o0(i,s,o){var c={requestId:i,visitorFound:!1,visitorId:"",confidence:{score:.5,comment:"The real score is unknown"}};if(s!==void 0&&(c.sealedResult=s),!o)return c;var p="n/a";return(0,e.Cl)((0,e.Cl)({},c),{incognito:!1,browserName:p,browserVersion:p,device:p,ip:p,os:p,osVersion:p,firstSeenAt:{subscription:null,global:null},lastSeenAt:{subscription:null,global:null}})}function s0(i,s,o,c){return{result:(0,e.Cl)((0,e.Cl)({},o0(i,s,c)),{bot:(0,e.Cl)({probability:1},o===void 0?void 0:{safe:o})})}}function a0(i,s,o){var c=new Error(i);return s!==void 0&&(c.requestId=s),o!==void 0&&(c.raw=o),c}function u0(i){i?.forEach(Rm)}function Rm(i){var s=i.level,o=i.message;s==="error"?console.error(o):s==="warning"?console.warn(o):console.log(o)}function c0(i){return{error:a0(Ca,void 0,{httpStatusCode:i.status,bodyBase64:Qn(i.body)})}}var f0="[Fingerprint Pro]";function Am(i){return i===void 0&&(i=f0),function(s){var o=console.log;switch(s.e){case 2:case 5:case 8:case 11:case 14:case 20:o=console.error;break;case 13:var c=s.result;Object.keys(c).some((function(m){return"error"in c[m]}))&&(o=console.warn);break;case 17:var p=s.error;o=s.stage===0&&Xo(p)&&p.message===t0?console.log:console.error}o.apply(console,(function(m,y){var w=y.e,v=y.stage,I=(0,e.Tt)(y,["e","stage"]),B=[m,new Date().toISOString().slice(11),Bf(w)];if(v!==void 0)switch(v){case 0:B.push("(fast)");break;case 1:B.push("(final)");break;default:I.stage=v}return B.push(I),B})(i,s))}}function Sm(i){i===void 0&&(i="".concat(f0," "));var s={};return function(o){switch(o.e){case 15:s[o.getCallId]=o.body;break;case 18:console.log("".concat(i,"Visitor id request"),s[o.getCallId]);break;case 19:console.log("".concat(i,"Visitor id response"),o.body);break;case 16:case 17:delete s[o.getCallId]}}}var l0="__fpjs_pvid";function d0(){var i=window,s=i[l0];return i[l0]=typeof s=="string"?s:no(10)}function Im(){var i=window;try{return i.self!==i.top}catch{return!0}}function ka(){return!document.hidden}var h0="stripped",Ua=["path","query","fragment"];function is(i,s){return(0,e.sH)(this,void 0,void 0,(function(){var o,c=this;return(0,e.YH)(this,(function(p){switch(p.label){case 0:return p0(s)?[2,i]:(o=os(i),[4,Promise.all(Ua.map((function(m){return(0,e.sH)(c,void 0,void 0,(function(){var y,w,v;return(0,e.YH)(this,(function(I){switch(I.label){case 0:return y=o[m],s[m]&&y?(w=o,v=m,[4,Om(m==="query"?(B=y,B.split("&").sort().join("&")):y)]):[3,2];case 1:w[v]=I.sent(),I.label=2;case 2:return[2]}var B}))}))})))]);case 1:return p.sent(),[2,ss(o)]}}))}))}function p0(i){return!(i&&Ua.some((function(s){return i[s]})))}function os(i){var s,o,c=i.split("#"),p=c[0],m=c.slice(1),y=p.split("?"),w=y[0],v=y.slice(1),I=/^((\w+:)?\/\/[^/]*)?((\/)(.*)|$)$/.exec(w);return I?(s=(I[1]||"")+(I[4]||""),o=I[5]||""):(s="",o=w),{origin:s,path:o,query:v.length?v.join("?"):null,fragment:m.length?m.join("#"):null}}function ss(i){var s=i.origin,o=i.path,c=i.query,p=i.fragment;return s+o+(c===null?"":"?".concat(c))+(p===null?"":"#".concat(p))}function Om(i){var s;return(0,e.sH)(this,void 0,void 0,(function(){var o;return(0,e.YH)(this,(function(c){switch(c.label){case 0:return i===""?[2,""]:(o=(s=window.crypto)===null||s===void 0?void 0:s.subtle)!=null&&o.digest?[4,o.digest("SHA-256",Ar(i))]:[2,h0];case 1:return[2,Qn(c.sent()).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")]}}))}))}function Nm(i,s){var o=os(i),c=o.origin+o.path;return c&&!c.endsWith("/")&&(c+="/"),c+=s,o.origin="",o.path=c,ss(o)}function Da(i,s){for(var o=os(i),c=o.query,p=0,m=Object.entries(s);p<m.length;p++)for(var y=m[p],w=y[0],v=y[1],I=0,B=Array.isArray(v)?v:[v];I<B.length;I++){var C=B[I];c="".concat(c?"".concat(c,"&"):"").concat(w,"=").concat(Tm(C))}return o.query=c,ss(o)}function Tm(i){return i.split("/").map(encodeURIComponent).join("/")}function xm(i){return function(s){var o=[],c=new Map,p=window.setInterval((function(){var y=o.shift();if(y){var w=y[0],v=y[1],I=eo(i(v));c.set(w,I)}}),1);function m(){window.clearInterval(p)}return s.then(m,m),[o,c,s]}}function v0(i){var s,o,c=Math.random();return s=c,o=i,i.container[0].push([s,o]),(function(p,m,y){var w;function v(){window.clearInterval(w)}var I=p[1],B=p[2],C=new Promise((function(X,Q){w=window.setInterval((function(){var tt=I.get(m);if(tt)return I.delete(m),tt.then(X,Q)}),1)}));return C.then(v,v),y?.then(v,v),B.then(v,v),C})(i.container,c,i.abort)}var g0=xm(Lm);function Lm(i){return(function(s,o,c,p){var m,y=document,w="securitypolicyviolation",v=function(B){var C=new URL(s,location.href),X=B.blockedURI;X!==C.href&&X!==C.protocol.slice(0,-1)&&X!==C.origin||(m=B,I())};y.addEventListener(w,v);var I=function(){return y.removeEventListener(w,v)};return p?.then(I,I),Promise.resolve().then(o).then((function(B){return I(),B}),(function(B){return new Promise((function(C){var X=new MessageChannel;X.port1.onmessage=function(){return C()},X.port2.postMessage(null)})).then((function(){if(I(),m)return(function(){throw m0()})();throw B}))}))})(i.url,(function(){return o=(s=i).url,c=s.method,p=c===void 0?"get":c,m=s.body,y=s.headers,w=s.withCredentials,v=w!==void 0&&w,I=s.timeout,B=s.responseFormat,C=s.abort,new Promise((function(X,Q){if((function(_t){if(URL.prototype)try{return new URL(_t,location.href),!1}catch(vt){if(vt instanceof Error&&vt.name==="TypeError")return!0;throw vt}})(o))throw io("InvalidURLError","Invalid URL");var tt=new XMLHttpRequest;try{tt.open(p,o,!0)}catch(_t){throw _t instanceof Error&&/violate.+content security policy/i.test(_t.message)?m0():_t}if(tt.withCredentials=v,tt.timeout=I===void 0?0:Math.max(I,1),B==="binary"&&(tt.responseType="arraybuffer"),y)for(var nt=0,at=Object.keys(y);nt<at.length;nt++){var gt=at[nt];tt.setRequestHeader(gt,y[gt])}tt.onload=function(){return X((function(_t){return{body:_t.response,status:_t.status,statusText:_t.statusText,getHeader:function(vt){return(function(bt,Vt){var Ht,Wt=new RegExp("^".concat((Ht=Vt,Ht.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")),": (.*)$"),"im").exec(bt);return Wt?Wt[1]:void 0})(_t.getAllResponseHeaders(),vt)}}})(tt))},tt.ontimeout=function(){return Q(io("TimeoutError","The request timed out"))},tt.onabort=function(){return Q(io("AbortError","The request is aborted"))},tt.onerror=function(){return Q(io("TypeError",navigator.onLine?"Connection error":"Network offline"))},tt.send((function(_t){var vt=function(){try{return new Blob([]),!1}catch{return!0}};if(_t instanceof ArrayBuffer){if(!vt())return new Uint8Array(_t)}else if(_t?.buffer instanceof ArrayBuffer&&vt())return _t.buffer;return _t})(m)),C?.catch((function(){})).then((function(){tt.onabort=null,tt.abort()}))}));var s,o,c,p,m,y,w,v,I,B,C}),0,i.abort)}function io(i,s){var o=new Error(s);return o.name=i,o}function m0(){return io("CSPError","The request is blocked by the CSP")}function dr(i,s){for(var o=[],c=2;c<arguments.length;c++)o[c-2]=arguments[c];i&&yf((function(){var p=s.apply(void 0,o);p!==void 0&&i(p)}))}function oo(i,s,o,c,p){return(0,e.sH)(this,void 0,void 0,(function(){var m,y;return(0,e.YH)(this,(function(w){switch(w.label){case 0:dr(i,s),w.label=1;case 1:return w.trys.push([1,3,,4]),[4,p()];case 2:return m=w.sent(),[3,4];case 3:throw y=w.sent(),dr(i,c,y),y;case 4:return dr(i,o,m),[2,m]}}))}))}function Cm(i){for(var s={},o=0,c=Object.keys(i);o<c.length;o++){var p=c[o],m=i[p];if("value"in m){m.value;var y=(0,e.Tt)(m,["value"]);s[p]=y}else s[p]=m}return s}function y0(i){return typeof i.getCallId=="string"}function Bm(i){if(typeof i!="object"||!i)return i;var s=i.modules;return s instanceof Array?(0,e.Cl)((0,e.Cl)({},i),{modules:s.map((function(o){if(typeof o!="object"||!o)return o;var c=o.key;return typeof c=="string"?{key:c}:o}))}):i}function Mm(){var i=window,s=navigator;return yi(["maxTouchPoints"in s,"mediaCapabilities"in s,"PointerEvent"in i,"visualViewport"in i,"onafterprint"in i])>=4}function km(){var i=window;return yi(["mediaSession"in navigator,"BigInt64Array"in i,"FormDataEvent"in i,"ImageBitmap"in i,"WebGL2RenderingContext"in i,"onclose"in i])>=4}function Um(){var i=window;return yi(["fromAsync"in Array,"OffscreenCanvas"in i,"CompressionStream"in i,"isWellFormed"in String.prototype])>=3}function Dm(){var i,s=window;return yi(["Iterator"in s,s.Error&&"isError"in s.Error,s.Atomics&&"pause"in s.Atomics,((i=s.Document)===null||i===void 0?void 0:i.prototype)&&"fragmentDirective"in s.Document.prototype,s.CSSRule&&!("UNKNOWN_RULE"in s.CSSRule),!("SVGDocument"in s)])>=4}function w0(){var i=window;return yi([!("PushManager"in i),!("AudioBuffer"in i),!("RTCPeerConnection"in i),!("geolocation"in navigator),!("ServiceWorker"in i)])>=3}function Pm(){var i=window;return yi(["ClipboardItem"in i,"PerformanceEventTiming"in i,"RTCSctpTransport"in i])>=2}var Fm=(function(){function i(s){var o=this;this.onReportReady=s,this.isStopped=!1,this.pageStartTimestamp=(function(){var tt,nt,at=performance;if(at.timeOrigin){var gt=(nt=(tt=at.getEntriesByType)===null||tt===void 0?void 0:tt.call(at,"navigation"))===null||nt===void 0?void 0:nt[0];if(gt)return at.timeOrigin+(gt.responseStart||gt.unloadEventEnd)}return at.timing.domLoading||at.timing.responseStart||at.timing.unloadEventEnd})(),this.events={};for(var c=window,p=document,m=[[p,"readystatechange",function(){return o.handleDocumentReadyStateChange()}],[p,"visibilitychange",function(){return o.handleVisibilityChange()}],[p,"pageshow",function(){return o.handlePageTransition(!0)}],[p,"pagehide",function(){return o.handlePageTransition(!1)}],[c,"unload",function(){return o.handlePageUnload()}]],y=0,w=m;y<w.length;y++){var v=w[y],I=v[0],B=v[1],C=v[2];I.addEventListener(B,C)}var X=(function(tt){var nt=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange"].map((function(at){return mi(document,at,tt,void 0)}));return function(){for(var at=0,gt=nt;at<gt.length;at++)(0,gt[at])()}})((function(){return o.handleFullscreenChange()})),Q=(function(tt){var nt=window,at=navigator.connection;if(at)return mi(at,"change",tt);var gt=mi(nt,"online",tt),_t=mi(nt,"offline",tt);return function(){gt(),_t()}})((function(){return o.handleNetworkConnectionChange()}));this.stop=function(){o.isStopped=!0;for(var tt=0,nt=m;tt<nt.length;tt++){var at=nt[tt],gt=at[0],_t=at[1],vt=at[2];gt.removeEventListener(_t,vt)}X(),Q()}}return i.prototype.addEvent=function(s){var o;if(!this.isStopped){var c={time:new Date,type:"agentEvent",event:s};if(s.e===0){var p=s.options;this.urlHashing=(o=p?.urlHashing)!==null&&o!==void 0?o:Lf(p?.stripUrlParams),c.documentReadyState=document.readyState,c.isPageVisible=ka(),c.isFullscreen=E0(),c.network=b0()}switch(this.storeAgentEvent(c),s.e){case 2:this.submitReport(s.agentId,void 0);break;case 4:case 5:this.submitReport(s.agentId,s.getCallId)}}},i.prototype.handleDocumentReadyStateChange=function(){this.storeEnvironmentEvent({time:new Date,type:"documentReadyState",state:document.readyState})},i.prototype.handleVisibilityChange=function(){this.storeEnvironmentEvent({time:new Date,type:"pageVisibilityToggle",isVisible:ka()})},i.prototype.handlePageTransition=function(s){this.storeEnvironmentEvent({time:new Date,type:"pageTransition",isShown:s})},i.prototype.handleFullscreenChange=function(){this.storeEnvironmentEvent({time:new Date,type:"fullscreenToggle",isFullscreen:E0()})},i.prototype.handleNetworkConnectionChange=function(){this.storeEnvironmentEvent({time:new Date,type:"networkChange",network:b0()})},i.prototype.handlePageUnload=function(){this.storeEnvironmentEvent({time:new Date,type:"pageUnload"});for(var s=0,o=Object.keys(this.events);s<o.length;s++){var c=o[s],p=this.events[c];if(Object.keys(p.getCalls).length===0)this.submitReport(c,void 0);else for(var m=0,y=Object.keys(p.getCalls);m<y.length;m++){var w=y[m];Vm(p.getCalls[w])||this.submitReport(c,w)}}this.stop()},i.prototype.storeAgentEvent=function(s){var o=s.event,c=o.agentId;if(this.events[c]||(this.events[c]={commonEvents:[],getCalls:{}}),y0(o)){var p=o.getCallId;this.events[c].getCalls[p]||(this.events[c].getCalls[p]=[]),this.events[c].getCalls[p].push(s)}else this.events[c].commonEvents.push(s)},i.prototype.storeEnvironmentEvent=function(s){for(var o=0,c=Object.keys(this.events);o<c.length;o++){var p=c[o];this.events[p].commonEvents.push(s)}},i.prototype.submitReport=function(s,o){var c=(function(m,y,w){var v=[];return m[y]&&(v.push.apply(v,m[y].commonEvents),w!==void 0&&v.push.apply(v,m[y].getCalls[w]||[])),v.sort((function(I,B){return I.time.getTime()-B.time.getTime()})),v})(this.events,s,o),p=(function(m,y,w){for(var v,I,B,C,X,Q,tt,nt,at,gt=(function(Tt){for(var Dt={},Xt=0,Qt=Tt;Xt<Qt.length;Xt++){var ne=Qt[Xt];ne.type==="agentEvent"&&(Dt[ne.event.e]=ne)}return Dt})(m),_t="null",vt=0,bt=[[4,"getSuccess"],[5,"getFail"],[3,"getting"],[1,"loadSuccess"],[2,"loadFail"],[0,"loading"]];vt<bt.length;vt++){var Vt=bt[vt],Ht=Vt[0],Wt=Vt[1];if(gt[Ht]){_t=Wt;break}}return{time:((v=m[m.length-1])===null||v===void 0?void 0:v.time)||new Date,pageUrl:location.href,pageStartTime:new Date(y),isInIframe:Im(),agentVersion:(I=gt[0])===null||I===void 0?void 0:I.event.version,userAgent:navigator.userAgent,pageViewId:d0(),agentId:(B=gt[0])===null||B===void 0?void 0:B.event.agentId,getCallId:(C=gt[3])===null||C===void 0?void 0:C.event.getCallId,requestId:(Q=(X=gt[4])===null||X===void 0?void 0:X.event.result.requestId)!==null&&Q!==void 0?Q:(nt=(tt=gt[5])===null||tt===void 0?void 0:tt.event.error)===null||nt===void 0?void 0:nt.requestId,visitorId:(at=gt[4])===null||at===void 0?void 0:at.event.result.visitorId,identificationState:_t,events:m,urlHashing:w}})(c,this.pageStartTimestamp,this.urlHashing);try{this.onReportReady(p)}catch(m){console.error(m)}},i})();function Vm(i){return i.some((function(s){return s.type==="agentEvent"&&(s.event.e===4||s.event.e===5)}))}function E0(){return!!et()}function b0(){var i=navigator.connection;return{online:navigator.onLine,downlink:i?.downlink,downlinkMax:i?.downlinkMax,effectiveType:i?.effectiveType,roundTrip:i?.rtt,saveData:i?.saveData,type:i?.type}}function Hm(i){var s=this,o=i.clientId,c=i.token,p=i.endpoint,m=p===void 0?"https://api.rollbar.com/api/1/item/":p,y=new Fm((function(w){return(0,e.sH)(s,void 0,void 0,(function(){var v;return(0,e.YH)(this,(function(I){switch(I.label){case 0:return v=(function(B,C,X){return{access_token:X,data:Gm(B,C,void 0)}})(w,o,c),[4,zm(m,v)];case 1:return I.sent(),[2]}}))}))}));return y.addEvent.bind(y)}function Gm(i,s,o){var c;o===void 0&&(o=If());var p=jm[i.identificationState],m=p.level,y=p.message,w=(function(v,I){if(p0(I))return v;for(var B=os(v),C=0,X=Ua;C<X.length;C++){var Q=X[C];I[Q]&&B[Q]&&(B[Q]=h0)}return ss(B)})(i.pageUrl,i.urlHashing);return{environment:s,level:m,timestamp:Math.round(i.time.getTime()/1e3),platform:"browser",framework:"Fingerprint Pro",language:"javascript",uuid:o,notifier:{name:"Fingerprint Pro monitoring",version:Aa},request:{url:w,query_string:((c=/\?.*$/.exec(w))!==null&&c!==void 0?c:[""])[0],user_ip:"$remote_ip"},client:{javascript:{browser:i.userAgent,code_version:i.agentVersion}},person:i.visitorId===void 0?void 0:{id:"visitorId:".concat(i.visitorId)},body:{telemetry:(0,e.fX)([{level:"debug",source:"client",timestamp_ms:i.pageStartTime.getTime(),type:"manual",body:{message:"Page starts"}}],i.events.map(Ym),!0),message:{body:y}},custom:{isInIframe:i.isInIframe,pageViewId:i.pageViewId,agentId:i.agentId,getCallId:i.getCallId,requestId:i.requestId,identificationState:i.identificationState}}}var jm={null:{level:"info",message:"Load() wasn't called"},loading:{level:"warning",message:"Load() incomplete"},loadSuccess:{level:"info",message:"Load() succeeded, get() wasn't called"},loadFail:{level:"error",message:"Load() failed"},getting:{level:"warning",message:"Get() incomplete"},getSuccess:{level:"info",message:"Get() succeeded"},getFail:{level:"error",message:"Get() failed"}};function Ym(i){var s={type:"manual",level:"debug",source:"client",timestamp_ms:i.time.getTime()};switch(i.type){case"documentReadyState":return(0,e.Cl)((0,e.Cl)({},s),{body:{message:'Document ready state becomes "'.concat(i.state,'"')}});case"pageVisibilityToggle":return(0,e.Cl)((0,e.Cl)({},s),{body:{message:"Page becomes ".concat(i.isVisible?"visible (in foreground)":"invisible (in background)")}});case"pageTransition":return(0,e.Cl)((0,e.Cl)({},s),{body:{message:i.isShown?"Page is restored from browser history":"Page is about to go to browser history"}});case"fullscreenToggle":return(0,e.Cl)((0,e.Cl)({},s),{body:{message:"Programmatic fullscreen ".concat(i.isFullscreen?"on":"off")}});case"networkChange":return(0,e.Cl)((0,e.Cl)({},s),{body:(0,e.Cl)((0,e.Cl)({},i.network),{message:"Network connection changes"})});case"pageUnload":return(0,e.Cl)((0,e.Cl)({},s),{body:{message:"Page is about to unload (terminate)"}})}var o=i.event,c=function(I,B){B===void 0&&(B="info");var C=I;C.e,C.agentId,C.getCallId;for(var X=(0,e.Tt)(C,["e","agentId","getCallId"]),Q=(0,e.Cl)((0,e.Cl)({},s),{level:B,body:(0,e.Cl)({message:Bf(o.e)},X)}),tt=0,nt=["documentReadyState","isPageVisible","isFullscreen","network"];tt<nt.length;tt++){var at=nt[tt];i[at]!==void 0&&(Q.body[at]=i[at])}return Q};switch(o.e){case 0:o.version;var p=o.options,m=(0,e.Tt)(o,["version","options"]);return c((0,e.Cl)((0,e.Cl)({},m),{options:Bm(p)}));case 1:case 3:case 4:case 6:case 9:case 12:case 15:case 16:case 18:return c(o);case 2:case 5:case 8:case 11:case 14:case 17:case 20:return c(o,"error");case 7:var y=o.result;return c((0,e.Cl)((0,e.Cl)({},o),{result:(0,e.Cl)((0,e.Cl)({},y),{v:"v"in y?y.v&&Wr(y.v,1e3):void 0})}));case 10:return c((0,e.Cl)((0,e.Cl)({},o),{body:Wr(o.body,1e3)}));case 13:var w=c((0,e.Cl)((0,e.Cl)({},o),{result:Cm(o.result)}));return w.body.message+=" (the values are omitted)",w;case 19:var v=o.body;return v instanceof ArrayBuffer&&(v="(base64) ".concat(v.byteLength>1800?"".concat(Qn(new Uint8Array(v,0,1800)),"..."):Qn(v))),c((0,e.Cl)((0,e.Cl)({},o),{body:v}))}}function zm(i,s){return(0,e.sH)(this,void 0,void 0,(function(){var o,c;return(0,e.YH)(this,(function(p){switch(p.label){case 0:o=(function(m){return JSON.stringify(m,(function(y,w){if(w instanceof Error){var v=(function(I,B){var C;return B===void 0&&(B=!1),(0,e.Cl)({name:I.name,message:I.message,stack:B?(C=I.stack)===null||C===void 0?void 0:C.split(`
10
+ `):I.stack},I)})(w);return typeof v.stack=="string"&&(v.stack=Wr(v.stack,1e3)),v}return w}))})(s),c=Ef(1e3,1e4),p.label=1;case 1:return navigator.onLine&&(function(m){var y,w=m.url,v=m.body,I=(function(){var C,X=(C=window.event)===null||C===void 0?void 0:C.type;return X==="pagehide"||X==="unload"})();if(I)try{if(!((y=navigator.sendBeacon)===null||y===void 0)&&y.call(navigator,w,v))return!0}catch(C){if(!(C instanceof Error&&C.message==="Illegal invocation"))throw C}var B=new XMLHttpRequest;B.open("POST",w,!I),v instanceof Blob&&B.setRequestHeader("Content-Type",v.type);try{B.send(v)}catch{return!1}return!0})({url:i,body:o})?[3,4]:[4,to(c())];case 2:p.sent(),p.label=3;case 3:return[3,1];case 4:return[2]}}))}))}function _0(i,s,o,c,p){c===void 0&&(c=1/0);var m,y={failedAttempts:[]},w=(function(C){var X=(function(nt){var at=(0,e.fX)([],nt,!0);return{current:function(){return at[0]},postpone:function(){var gt=at.shift();gt!==void 0&&at.push(gt)},exclude:function(){at.shift()}}})(C),Q=Ef(200,1e4),tt=new Set;return[X.current(),function(nt,at,gt){var _t;if(at)_t=(function(Ht){var Wt=Ht.getHeader("retry-after");if(Wt){if(/^\s*\d+(\.\d+)?\s*$/.test(Wt))return 1e3*parseFloat(Wt);var Tt=new Date(Wt);return isNaN(Tt)?void 0:Tt.getTime()-Date.now()}})(at),_t!==void 0?X.postpone():X.exclude();else if(gt instanceof Error&&(gt.name==="CSPError"||gt.name==="InvalidURLError"))X.exclude(),_t=0;else{var vt=Date.now()-nt.getTime()<50,bt=X.current();bt&&vt&&!tt.has(bt)&&(tt.add(bt),_t=0),X.postpone()}var Vt=X.current();return Vt===void 0?void 0:[Vt,_t??nt.getTime()+Q()-Date.now()]}]})(i),v=w[0],I=w[1],B=(m=[p?.then((function(C){return y.aborted={resolve:!0,value:C}}),(function(C){return y.aborted={resolve:!1,error:C}})),(0,e.sH)(this,void 0,void 0,(function(){var C,X,Q;return(0,e.YH)(this,(function(tt){switch(tt.label){case 0:if(v===void 0)return[2];C=v,X=function(nt){var at,gt,_t,vt,bt,Vt;return(0,e.YH)(this,(function(Ht){switch(Ht.label){case 0:at=new Date,gt=void 0,_t=void 0,Ht.label=1;case 1:return Ht.trys.push([1,3,,4]),[4,Ea((function(){return s(C,nt,p)}),p)];case 2:return gt=Ht.sent(),[3,4];case 3:return vt=Ht.sent(),_t=vt,y.failedAttempts.push({level:0,endpoint:C,error:vt}),[3,4];case 4:if(gt){if("result"in(bt=o(gt)))return y.result=bt.result,[2,"break"];if(y.failedAttempts.push({level:1,endpoint:C,error:bt.error}),bt.stop)return[2,"break"]}return(Vt=I(at,gt,_t))?[4,Ea(to(Vt[1]),p)]:[2,"break"];case 5:return Ht.sent(),C=Vt[0],[2]}}))},Q=0,tt.label=1;case 1:return Q<c?[5,X(Q)]:[3,4];case 2:if(tt.sent()==="break")return[3,4];tt.label=3;case 3:return++Q,[3,1];case 4:return[2]}}))}))],Promise.race(m.filter((function(C){return!!C})))).then((function(){return y}));return{then:B.then.bind(B),current:y}}function R0(){return"js/".concat(Aa)}var Wm=/\(([^(^\s^}]+):(\d)+:(\d)+\)/i,Zm=/@([^(^\s^}]+):(\d)+:(\d)+/i;function A0(i){return{e:Km(i)}}function Km(i){var s;try{i&&typeof i=="object"&&"message"in i?(s=String(i.message),"name"in i&&(s="".concat(i.name,": ").concat(s))):s=String(i)}catch(o){s="Code 3017: ".concat(o)}return Wr(s,500)}function rn(i){return wt(i,(function(s){return{s:0,v:s}}))}function hn(i,s){return wt(i,(function(o){return{s:o==null?s:0,v:o??null}}))}function S0(i){return wt(i,(function(s){return typeof s=="number"?{s,v:null}:{s:0,v:s}}))}function Cn(i){var s=function(c){return{s:0,v:c}},o=function(c){if(!(c instanceof Me))throw c;var p=c.state;if(typeof p!="number")throw new Error("Unexpected non-numeric error state ".concat(JSON.stringify(p),". Error message: ").concat(c.message));return{s:p,v:null}};return function(){try{var c=i();return(function(p){return!!p&&typeof p.then=="function"})(c)?c.then(s,o):s(c)}catch(p){return o(p)}}}function Xm(i){var s=i.modules,o=i.components,c=o===void 0?{}:o,p=i.customComponent,m=i.apiKey,y=i.tls,w=i.tag,v=i.extendedResult,I=i.exposeComponents,B=i.linkedId,C=i.algorithm,X=i.imi,Q=i.storageKey,tt=i.products,nt=i.urlHashing,at=i.ab,gt=i.fast,_t=i.requestId;return(0,e.sH)(this,void 0,void 0,(function(){var vt,bt,Vt=this;return(0,e.YH)(this,(function(Ht){switch(Ht.label){case 0:return vt=(0,e.Cl)(((bt={}).c=m,bt.t=(Wt=w)&&typeof Wt=="object"?Wt:Wt!=null?{tag:Wt}:void 0,bt.cbd=v?1:void 0,bt.lid=B,bt.a=C,bt.m=X.m,bt.l=X.l,bt.ec=I?1:void 0,bt.mo=s.map((function(Tt){return Tt.key})).filter((function(Tt){return!!Tt})),bt.pr=tt,bt.s56=y,bt.s67=p?{s:0,v:p}:{s:-1,v:null},bt.sc=(function(){var Tt,Dt=(function(){var Xt,Qt,ne,ce,Ee,ve=new Error,Se=(Xt=ve).fileName?Xt.fileName.split(" ")[0]:Xt.sourceURL?Xt.sourceURL:null;if(Se)return Se;if(ve.stack){var Le=(ne=(Qt=ve.stack.split(`
11
+ `))[0],ce=Qt[1],(Ee=Wm.exec(ce)||Zm.exec(ne))?Ee[1]:void 0);if(Le)return Le}return null})();return(Tt={}).u=Dt?Wr(Dt,1e3):null,Tt})(),bt.uh=(function(Tt){var Dt;if(Tt)return(Dt={}).p=Tt.path?1:void 0,Dt.q=Tt.query?1:void 0,Dt.f=Tt.fragment?1:void 0,Dt})(nt),bt.gt=1,bt.ab=at,bt.hu=gt?0:_t?1:void 0,bt.ri=_t,bt),(function(Tt){for(var Dt={},Xt=0,Qt=Object.keys(Tt);Xt<Qt.length;Xt++){var ne=Qt[Xt],ce=Tt[ne];if(ce){var Ee="error"in ce?A0(ce.error):ce.value;Dt[ne]=Ee}}return Dt})(c)),[4,Promise.all(s.map((function(Tt){var Dt=Tt.toRequest;return(0,e.sH)(Vt,void 0,void 0,(function(){var Xt,Qt,ne;return(0,e.YH)(this,(function(ce){switch(ce.label){case 0:return Dt?(Qt=(Xt=Object).assign,ne=[vt],[4,Dt(Q,nt)]):[3,2];case 1:Qt.apply(Xt,ne.concat([ce.sent()])),ce.label=2;case 2:return[2]}}))}))})))];case 1:return Ht.sent(),[2,vt]}var Wt}))}))}function I0(i,s,o,c,p){p===void 0&&(p=om);var m=p()%(o+1),y=zr(i),w=1+s.length+1+m+c+y.length,v=new ArrayBuffer(w),I=new Uint8Array(v),B=0,C=p();I[B++]=C;for(var X=0,Q=s;X<Q.length;X++){var tt=Q[X];I[B++]=C+tt}I[B++]=C+m;for(var nt=0;nt<m;++nt)I[B++]=p();var at=new Uint8Array(c);for(nt=0;nt<c;++nt)at[nt]=p(),I[B++]=at[nt];for(nt=0;nt<y.length;++nt)I[B++]=y[nt]^at[nt%c];return v}function Pa(i,s,o){var c=function(){throw new Error("Invalid data")},p=zr(i);p.length<s.length+2&&c();for(var m=0;m<s.length;++m)_f(p[1+m],p[0])!==s[m]&&c();var y=1+s.length,w=_f(p[y],p[0]);p.length<y+1+w+o&&c();var v=y+1+w,I=v+o,B=new ArrayBuffer(p.length-I),C=new Uint8Array(B);for(m=0;m<C.length;++m)C[m]=p[I+m]^p[v+m%o];return B}function qm(i){return(0,e.sH)(this,void 0,void 0,(function(){var s,o,c,p,m;return(0,e.YH)(this,(function(y){switch(y.label){case 0:return O0()?(s=(function(){try{return[!0,new CompressionStream("deflate-raw")]}catch{return[!1,new CompressionStream("deflate")]}})(),o=s[0],c=s[1],[4,$m(i,c)]):[2,[!1,i]];case 1:return p=y.sent(),m=o?p:(function(w){return new Uint8Array(w.buffer,w.byteOffset+2,w.byteLength-6)})(p),[2,[!0,m]]}}))}))}function O0(){return typeof CompressionStream<"u"}function $m(i,s){return(0,e.sH)(this,void 0,void 0,(function(){var o,c,p,m,y,w,v,I,B,C,X;return(0,e.YH)(this,(function(Q){switch(Q.label){case 0:(o=s.writable.getWriter()).write(i),o.close(),c=s.readable.getReader(),p=[],m=0,Q.label=1;case 1:return[4,c.read()];case 2:if(y=Q.sent(),w=y.value,y.done)return[3,4];p.push(w),m+=w.byteLength,Q.label=3;case 3:return[3,1];case 4:if(p.length===1)return[2,p[0]];for(v=new Uint8Array(m),I=0,B=0,C=p;B<C.length;B++)X=C[B],v.set(X,I),I+=X.byteLength;return[2,v]}}))}))}var N0=[3,13],Jm=[3,14];function Qm(i,s){return I0(i,s?Jm:N0,3,9)}function t4(i){var s=i.body,o=(0,e.Tt)(i,["body"]);return(0,e.sH)(this,void 0,void 0,(function(){var c,p,m,y,w,v,I;return(0,e.YH)(this,(function(B){switch(B.label){case 0:return T0(s)?[4,qm(s)]:[3,2];case 1:return y=B.sent(),[3,3];case 2:y=[!1,s],B.label=3;case 3:return p=(c=y)[0],m=c[1],[4,v0((0,e.Cl)((0,e.Cl)({},o),{body:Qm(m,p),responseFormat:"binary"}))];case 4:w=B.sent(),v=w.body,I=!1;try{v=Pa(v,N0,9),I=!0}catch{}return[2,(0,e.Cl)((0,e.Cl)({},w),{body:v,wasSecret:I})]}}))}))}function T0(i){return i.byteLength>1024&&O0()}function x0(i,s,o,c,p){return(0,e.sH)(this,void 0,void 0,(function(){var m,y,w,v,I=this;return(0,e.YH)(this,(function(B){switch(B.label){case 0:if(i.length===0)throw new TypeError("The list of endpoints is empty");return m=i.map((function(C){return(function(X,Q){var tt=Q.apiKey,nt=Q.integrations,at=nt===void 0?[]:nt;return Da(X,{ci:R0(),q:tt,ii:at})})(C,s)})),[4,Xm(s)];case 1:return y=B.sent(),w=Df(y),v=s.fast?0:1,[4,oo(p,(function(){return{e:15,stage:v,body:y,isCompressed:T0(w)}}),(function(C){return{e:16,stage:v,result:C}}),(function(C){return{e:17,stage:v,error:C}}),(function(){return(0,e.sH)(I,void 0,void 0,(function(){return(0,e.YH)(this,(function(C){switch(C.label){case 0:return[4,_0(m,e4.bind(null,w,p,v,o),bm.bind(null,s.modules,!!s.extendedResult,s.storageKey),1/0,c)];case 1:return[2,n4(C.sent())]}}))}))}))];case 2:return[2,B.sent()]}}))}))}function e4(i,s,o,c,p,m,y){var w=this;return oo(s,(function(){return{e:18,stage:o,tryNumber:m,url:p}}),(function(v){var I=v.status,B=v.getHeader,C=v.body,X=v.bodyData,Q=v.wasSecret;return{e:19,stage:o,tryNumber:m,status:I,retryAfter:B("retry-after"),body:X??C,wasSecret:Q}}),(function(v){return{e:20,stage:o,tryNumber:m,error:v}}),(function(){return(0,e.sH)(w,void 0,void 0,(function(){return(0,e.YH)(this,(function(v){switch(v.label){case 0:return[4,t4({url:p,method:"post",headers:{"Content-Type":"text/plain"},body:i,withCredentials:!0,abort:y,container:c})];case 1:return[2,Em(v.sent())]}}))}))}))}function n4(i){var s=i.result,o=i.failedAttempts,c=i.aborted;if(s)return s;var p=o[0];if(!p)throw c&&!c.resolve?c.error:new Error("aborted");var m=p.level,y=p.error;if(m===0&&y instanceof Error){switch(y.name){case"CSPError":throw new Error(Ba);case"InvalidURLError":throw new Error(Ma);case"AbortError":throw new Error(La)}throw new Error(xa)}throw y}function r4(i,s,o){var c,p=this,m=(0,e.Cl)((0,e.Cl)({},o),{cache:{}}),y=(function(X){for(var Q={},tt={},nt={},at=0,gt=X;at<gt.length;at++){var _t=gt[at].sources;_t&&(Object.assign(Q,_t.stage1),Object.assign(tt,_t.stage2),Object.assign(nt,_t.stage3))}var vt=tt;return Object.assign(vt,nt),[Q,vt]})(i),w=y[0],v=y[1],I=s?1e5:50,B=mt(w,m,[],I),C=eo((c=8,c===void 0&&(c=50),(function(X,Q){Q===void 0&&(Q=1/0);var tt=window.requestIdleCallback;return tt?new Promise((function(nt){return tt.call(window,(function(){return nt()}),{timeout:Q})})):u(Math.min(X,Q))})(c,2*c)).then((function(){return mt(v,m,[],I)})));return function(){return(0,e.sH)(p,void 0,void 0,(function(){var X,Q,tt,nt;return(0,e.YH)(this,(function(at){switch(at.label){case 0:return[4,Promise.all([B(),C.then((function(gt){return gt()}))])];case 1:return X=at.sent(),Q=X[0],tt=X[1],nt=tt,Object.assign(nt,Q),[2,nt]}}))}))}}function Sr(i,s){for(var o=i;o;){for(var c=Object.getOwnPropertyNames(o),p=0;p<c.length;p++){var m=c[p];if(tr(m)==s)return m}o=Object.getPrototypeOf(o)}return""}function qt(i,s){var o=i[Sr(i,s)];return typeof o=="function"?o.bind(i):o}function Nn(i,s){var o;return function(c){return o||(o=(function(p,m){return rs(Pa(new Uint32Array(p),[],m))})(i,s)),Jo(o[c])}}function so(i,s,o){var c;return function(p){return c===null?c:(c||(c=(function(m,y,w){var v=Ar(y());try{return rs((function(I,B,C){for(var X=zr(I),Q=new ArrayBuffer(X.length-C),tt=new Uint8Array(Q),nt=0;nt<X.length;++nt)tt[nt]=X[nt]^B[nt%B.length];return Q})(new Uint32Array(m),v,w))}catch(I){if(Xo(I)&&I.name==="SyntaxError")return null;throw I}})(i,s,o)),Jo(c&&c[p]))}}var Zr=Nn([3237452699,2611787672,3045311674,2962332150,4003383289,4090353905,3805249708,3028587956,2899958253,2946027702,4002601983,4204452091,4039413417,3970602410,3953912762,2631244730,3973421252,2844251834,2861027766,2946406891,3050675130,3806041579,2961425392,4023946731,3800865722,4208313581,2776941242,3806041513,4208313085,2743259834,3806041513,4208314361,3012023994,3968505257,3045300922,2799294954,4001684968,2648037617],4),i4=[202,206];function o4(i){for(var s={uAVXy:"9|5|11|0|3|6|7|2|10|8|4|1",FInQd:function(nt,at){return nt(at)},kpZRq:function(nt,at,gt){return nt(at,gt)},UoPyk:function(nt,at){return nt(at)},UpGPH:function(nt,at,gt){return nt(at,gt)},ZuRYV:function(nt,at){return nt-at},VnFXf:function(nt,at,gt,_t){return nt(at,gt,_t)},fDQiC:function(nt,at){return nt(at)},eKHGy:function(nt,at){return nt<at},AkgUE:function(nt,at){return nt/at},iBJKB:function(nt,at,gt){return nt(at,gt)},lIinn:function(nt,at){return nt+at}},o=s.uAVXy.split("|"),c=0;;){switch(o[c++]){case"0":var p=s.FInQd(Qn,v);continue;case"1":return s.kpZRq(Nm,i,w);case"2":var m=s.kpZRq(a4,s.UoPyk(Ar,B),i4);continue;case"3":var y=s.UpGPH(parseInt,X[s.ZuRYV(X.length,1)],16);continue;case"4":var w=s.kpZRq(s4,C,v);continue;case"5":var v=new Uint8Array(16);continue;case"6":var I=s.VnFXf(L0,v[y],8,22);continue;case"7":var B=p.slice(0,Math.min(s.ZuRYV(p.length,2),I));continue;case"8":var C="".concat(B).concat(Q).replace(new RegExp(s.fDQiC(Zr,1),"g"),"-").replace(new RegExp(s.fDQiC(Zr,2),"g"),"_");continue;case"9":var X=s.UoPyk(dn,i);continue;case"10":var Q=s.FInQd(Qn,s.FInQd(u4,s.FInQd(Rf,m))).slice(0,2);continue;case"11":for(var tt=0;s.eKHGy(tt,X.length);tt+=2)v[s.AkgUE(tt,2)]=s.iBJKB(parseInt,"".concat(X[tt]).concat(X[s.lIinn(tt,1)]),16);continue}break}}function s4(i,s){for(var o={goMxK:"2|4|1|0|3",lnlOq:function(v,I){return v<I},RltcK:function(v,I,B,C){return v(I,B,C)},cVMXe:function(v,I){return v&I},SclSa:function(v,I){return v+I}},c=o.goMxK.split("|"),p=0;;){switch(c[p++]){case"0":for(;o.lnlOq(y,i.length);)w=o.RltcK(L0,s[o.cVMXe(y,15)],4,7),m+=i.slice(y,o.SclSa(y,w)),m+="/",y+=w;continue;case"1":var m="";continue;case"2":var y=0;continue;case"3":return m.slice(0,-1);case"4":var w=0;continue}break}}function L0(i,s,o){return(function(c,p){return c+p})(s,Math.floor((function(c,p){return c*p})((function(c){return c/256})(i),(function(c){return c+1})((function(c,p){return c-p})(o,s)))))}function a4(i,s){for(var o={toGYz:"0|3|4|1|2",OGfKZ:function(v,I){return v+I},ENgdo:function(v,I){return v<I},oVWhZ:function(v,I){return v+I}},c=o.toGYz.split("|"),p=0;;){switch(c[p++]){case"0":var m=o.OGfKZ(i.length,s.length);continue;case"1":for(var y=0;o.ENgdo(y,s.length);y++)w[o.oVWhZ(y,i.length)]=s[y];continue;case"2":return w;case"3":var w=new Uint8Array(m);continue;case"4":for(y=0;o.ENgdo(y,i.length);y++)w[y]=i[y];continue}break}}function u4(i){var s=function(o,c){return o>>c};return new Uint8Array([s(i,24),s(i,16),(function(o){return o>>8})(i),i])}function Fa(i,s){return!!i&&(function(o,c){return o===c})((function(o,c){return o(c,3814588639)})(qt,i),(function(o,c){return o(c,3814588639)})(qt,s))}function c4(i){var s=function(c,p){return c(p)},o=(function(c){return c(3)})(Zr);return(function(c,p){return c!==p})(i,s(Zr,4))&&(o="".concat(i,".").concat(o)),s(Zr,5).concat(o,"/")}function f4(i){var s=(function(o){return o(6)})(Zr)[i];return"".concat(s,(function(o){return o(7)})(Zr))}var l4=(function(){var i;return(i={}).noop=["a","b"],i})();function d4(i,s,o,c,p,m,y,w,v,I,B,C,X){var Q=this,tt={modules:i,apiKey:c,integrations:w,imi:v,storageKey:y,ab:B,urlHashing:I},nt=function(bt,Vt,Ht){return(0,e.sH)(Q,void 0,void 0,(function(){var Wt,Tt,Dt;return(0,e.YH)(this,(function(Xt){switch(Xt.label){case 0:return C?[4,gt()]:[2,void 0];case 1:Wt=Xt.sent(),Tt=!1,Vt.catch((function(){return Tt=!0})),Xt.label=2;case 2:return Xt.trys.push([2,4,,5]),[4,x0(p,(0,e.Cl)((0,e.Cl)({},tt),{tls:Wt,fast:!0}),bt,Vt,Ht)];case 3:return[2,Xt.sent()];case 4:if(Dt=Xt.sent(),Tt)throw Dt;return Xo(Dt)&&Dt.message===t0||console.warn(Dt),[2,void 0];case 5:return[2]}}))}))},at=function(bt,Vt,Ht){var Wt=bt.timeout,Tt=Wt===void 0?1e4:Wt,Dt=bt.tag,Xt=bt.linkedId,Qt=bt.disableTls,ne=bt.extendedResult,ce=bt.exposeComponents,Ee=bt.environment,ve=bt.products,Se=eo(Promise.all([vt(Ht),_t(Tt,Qt,Ht)]));return function(Le,Ce){return(0,e.sH)(Q,void 0,void 0,(function(){var Ne,nn,Sn;return(0,e.YH)(this,(function(pn){switch(pn.label){case 0:return[4,Promise.race([Ce,Se])];case 1:return Ne=pn.sent(),nn=Ne[0],Sn=Ne[1],[4,x0(p,(0,e.Cl)((0,e.Cl)({},tt),{components:nn,customComponent:Ee,tag:Dt,tls:Sn,linkedId:Af(Xt),extendedResult:ne,exposeComponents:ce,algorithm:m,products:nm(ve,"products"),requestId:Le}),Vt,Ce,Ht)];case 2:return[2,pn.sent()]}}))}))}},gt=function(){return o?.(0,50,!1,void 0)},_t=function(bt,Vt,Ht){return o?.(.1*bt,.4*bt,Vt,Ht)},vt=function(bt){return(0,e.sH)(Q,void 0,void 0,(function(){var Vt,Ht;return(0,e.YH)(this,(function(Wt){switch(Wt.label){case 0:return Wt.trys.push([0,2,,3]),[4,s()];case 1:return Vt=Wt.sent(),dr(bt,(function(){return{e:13,result:Vt}})),[2,Vt];case 2:throw Ht=Wt.sent(),dr(bt,(function(){return{e:14,error:Ht}})),Ht;case 3:return[2]}}))}))};return{get:function(bt){bt===void 0&&(bt={});var Vt=X&&(function(Ht,Wt){return function(Tt){return Ht((0,e.Cl)((0,e.Cl)({},Tt),{getCallId:Wt}))}})(X,no(8));return oo(Vt,(function(){return{e:3,options:bt}}),(function(Ht){return{e:4,result:Ht}}),(function(Ht){return{e:5,error:Ht}}),(function(){return Ht=function(Wt){return(function(Tt,Dt,Xt){return(0,e.sH)(Q,void 0,void 0,(function(){var Qt,ne,ce,Ee,ve,Se,Le;return(0,e.YH)(this,(function(Ce){switch(Ce.label){case 0:Qt=wf(),Ce.label=1;case 1:return Ce.trys.push([1,,7,8]),ne=g0(Qt),ce=Dn((Le=Tt.timeout)!==null&&Le!==void 0?Le:1e4).then((function(){return Promise.reject(new Error(Ta))})),Ee=at(Tt,ne,Dt),[4,nt(ne,ce,Dt)];case 2:return(ve=Ce.sent())?(Xt(ve),[4,Ee(ve.requestId,ce)]):[3,4];case 3:return Ce.sent(),[3,6];case 4:return Se=Xt,[4,Ee(void 0,ce)];case 5:Se.apply(void 0,[Ce.sent()]),Ce.label=6;case 6:return[3,8];case 7:return Qt.resolve(),[7];case 8:return[2]}}))}))})(bt,Vt,Wt)},new Promise((function(Wt,Tt){Ht(Wt).then((function(){return Tt(new Error("Action didn't call `resolve` or `reject`"))}),Tt)}));var Ht}))}}}var C0=function(i){return(0,e.sH)(this,void 0,void 0,(function(){var s,o;return(0,e.YH)(this,(function(c){switch(c.label){case 0:return p=(0,e.fX)([(y=/{(.*?)}/.exec(location.hash),!!y&&tr(y[1])===3025844545&&Sm())],(i?.modules||[]).map((function(w){return w.addEvent})),!0),m=p.filter((function(w){return!!w})),s=m.length?function(){for(var w=[],v=0;v<arguments.length;v++)w[v]=arguments[v];for(var I=function(X){yf((function(){return X.apply(void 0,w)}))},B=0,C=m;B<C.length;B++)I(C[B])}:void 0,o=s&&(function(w,v){return function(I){return w((0,e.Cl)((0,e.Cl)({},I),{agentId:v}))}})(s,no(8)),[4,oo(o,(function(){return{e:0,version:Aa,options:i}}),(function(w){return{e:1,ab:w[1]}}),(function(w){return{e:2,error:w}}),(function(){var w,v,I=i.token,B=i.apiKey,C=B===void 0?I:B,X=i.region,Q=X===void 0?"us":X,tt=i.tlsEndpoint,nt=tt===void 0?es:tt,at=i.disableTls,gt=i.storageKey,_t=gt===void 0?Cf:gt,vt=i.endpoint,bt=vt===void 0?ts:vt,Vt=i.te,Ht=Vt===void 0?xf:Vt,Wt=i.integrationInfo,Tt=Wt===void 0?[]:Wt,Dt=i.algorithm,Xt=i.imi,Qt=Xt===void 0?((w={}).m="s",w):Xt,ne=i.stripUrlParams,ce=i.urlHashing,Ee=ce===void 0?Lf(ne):ce,ve=i.modules,Se=i.abTests,Le=Se===void 0?{}:Se,Ce=i.externalABSelections,Ne=Ce===void 0?{}:Ce,nn=i.optimizeRepeatedVisits,Sn=nn!==void 0&&nn,pn=i.aggressiveOptimization,Fn=pn!==void 0&&pn;if(!C||typeof C!="string")throw new Error("API key required");var zn,Wn,Nr,Xr,nr,fn,Mt,Nt,xt,Jt=(function(Ie,ke,We){for(var mn=(0,e.Cl)({},We),Tr=0,co=Object.entries(Ie);Tr<co.length;Tr++){var bi=co[Tr],_i=bi[0],fo=bi[1],Tn=ke[_i];if(Tn)try{mn[_i]=Tf(Tn);continue}catch(Zn){console.error(Zn)}mn[_i]=Tf(fo)}return mn})((function(Ie){for(var ke=(0,e.Cl)({},l4),We=0,mn=Ie;We<mn.length;We++){var Tr=mn[We];Object.assign(ke,Tr.ab)}return ke})(ve),Le,Ne),ae=(zn=bt,Wn=Q,Nr=function(Ie,ke,We){return Ie(ke,We)},Xr=function(Ie,ke){return Ie(ke)},nr=function(Ie,ke){return Ie(ke)},(Array.isArray(zn)?zn:[zn]).map((function(Ie){return Nr(Fa,Ie,ts)?Xr(c4,Wn):nr(String,Ie)}))),un=(v=(function(Ie){for(var ke=0,We=Ie;ke<We.length;ke++){var mn=We[ke];if(mn.tls)return mn.tls}})(ve))===null||v===void 0?void 0:v(nt,ae,C,at,void 0,o);return dr(o,(function(){return{e:12}})),[d4(ve,r4(ve,Fn,{urlHashing:Ee,ab:Jt,te:(Mt=Q,Nt=function(Ie,ke){return Ie(ke)},xt=function(Ie,ke){return Ie(ke)},Fa(fn=Ht,xf)?Nt(f4,Mt):xt(String,fn))}),un,C,ae,Af(Dt),_t,Tt,Qt,Ee,Jt,Sn,o),Jt]}))];case 1:return[2,c.sent()[0]]}var p,m,y}))}))},h4=rn(zt),p4=hn(pe,-1),v4=rn(ee),g4=wt(h,(function(i){return i===-1||i===-2||i===-3?{s:i,v:null}:{s:0,v:i}})),m4=wt(Kt,(function(i){return{s:0,v:i.map((function(s){return s===null?-1:s}))}})),B0=hn(se,-1),M0=rn(he),y4=hn(le,-1),k0=hn(ue,-1),U0=wt(me,(function(i){return{s:0,v:i.map((function(s){return s===null?-1:s}))}})),D0=hn(ze,-1),w4=rn(we),E4=rn(_e),b4=rn(an),_4=rn(Be),R4=hn(De,-1),P0=hn(lr,-1),A4=hn(He,-1),S4=wt((function(){return Zt()}),(function(i){var s=i.geometry,o=i.text,c=s==="unsupported"?-1:s==="unstable"?-2:0;return{s:c,v:(0,e.Cl)((0,e.Cl)({},i),{geometry:c===0?dn(s):"",text:c===0?dn(o):""})}})),F0=rn(Ve),V0=rn(Yr),I4=rn(qe),O4=rn($e),N4=hn(Wo,-1),T4=hn(Je,-1),x4=hn(Qe,-1),L4=hn(Zo,-1),C4=hn(tn,-1),B4=hn(en,-1),M4=hn(Fi,-1),k4=hn(Vi,-1),U4=wt(Hi,(function(i){return{s:0,v:dn(Object.keys(i).map((function(s){return"".concat(s,"=").concat(i[s])})).join(","))}})),D4=hn(Gi,-1),P4=rn(ji),F4=hn(Yi,-1),V4=wt(zi,(function(i){return i===-1||i===-2||i===-3?{s:i,v:null}:{s:0,v:i}})),H0=S0(Zi),G0=wt(Ki,(function(i){var s;if(typeof i=="number")return{s:i,v:null};var o=["32926","32928"],c=i.parameters.map((function(m){var y=m.split("=",3),w=y[0],v=y[1];return y[2]!==void 0||o.includes(v)?"".concat(w,"(").concat(v,")=null"):"".concat(w,"=").concat(v)})),p=i.extensionParameters.map((function(m){var y=m.split("=",3),w=y[0],v=y[1],I=y[2];return I!==void 0&&v!=="34047"?"".concat(w,"(").concat(v,")=").concat(I):"".concat(w,"=").concat(v)}));return{s:0,v:{contextAttributes:dn(i.contextAttributes.join("&")),parameters:dn(c.join("&")),parameters2:dn(i.parameters.join("&")),shaderPrecisions:dn(i.shaderPrecisions.join("&")),extensions:dn(((s=i.extensions)===null||s===void 0?void 0:s.join(","))||""),extensionParameters:dn(p.join(",")),extensionParameters2:dn(i.extensionParameters.join("&")),unsupportedExtensions:i.unsupportedExtensions}}})),H4=S0(Wi),G4=Cn(Ln.userAgent),j4=Cn(Ln.appVersion),Y4=Cn(Ln.rtt),z4=Cn(Ln.notificationPermissions),W4=Cn(Ln.pluginsLength),Z4=Cn(Ln.errorTrace),K4=Cn(Ln.productSub),X4=Cn(Ln.documentElementKeys),q4=Cn(Ln.windowExternal),$4=Cn(Ln.mimeTypesConsistent),J4=Cn(Ln.functionBind),Q4=Cn(Ln.process),t5=Cn(Ln.windowSize),e5=Cn(Ln.distinctiveProps),j0=rn(P),Y0=rn(f),z0=rn(S),W0=rn(U),Z0=rn(W),K0=rn($),X0=rn(ut),q0=rn(w0),n5=rn(Z);function r5(){var i=window;if(!S())return wi(!1);try{if([66,114,97,118,101].map((function(y){return String.fromCharCode(y)})).join("")in i)return wi(!0);var s=document.createElement("canvas");s.width=4,s.height=4,s.style.display="inline";var o=s.toDataURL();if(o==="")return wi(!0);var c=$o(o.split(",")[1]),p=bf(c,[73,68,65,84,24]);if(p===-1)return wi(!1);var m=bf(c,[73,69,78,68]);return wi(m!==-1&&c.slice(p+5,m).reduce((function(y,w){return y+w}),0)!==1321)}catch{return wi(!1)}}function wi(i){return{s:0,v:i}}function $0(){return J0("dark")?{s:0,v:!0}:J0("light")?{s:0,v:!1}:{s:-1,v:null}}function J0(i){return matchMedia("(prefers-color-scheme: ".concat(i,")")).matches}function Q0(){var i=Date.now();return{s:0,v:[tl(i),tl(i-6e4*new Date().getTimezoneOffset())]}}function tl(i){var s=Number(i);return isNaN(s)?-1:s}function i5(){var i=window.performance;if(!i?.now)return{s:-1,v:null};for(var s=1,o=1,c=i.now(),p=c,m=0;m<5e4;m++)if((c=p)<(p=i.now())){var y=p-c;y>s?y<o&&(o=y):y<s&&(o=s,s=y)}return{s:0,v:[s,o]}}var o5=Nn([1910186786,4206938268,3099470367,511281317,2493621742,2512262268],6);function s5(){var i,s,o=function(m,y){return m===y},c=function(m,y,w){return m(y,w)},p=o(s=(function(m){return m===null})(i=window[(function(m){return m(0)})(o5)])||o(i,void 0)?void 0:c(qt,i,3933025333),null)||(function(m){return m===void 0})(s)?void 0:c(qt,s,3098533860);return(function(m){return m===null})(p)||o(p,void 0)?{s:-1,v:null}:{s:0,v:p}}function a5(i){var s=it(i.cache);return s?((function(o){o.clearColor(0,0,1,1);var c=o.createProgram();if(c){y(0,"attribute vec2 p;uniform float t;void main(){float s=sin(t);float c=cos(t);gl_Position=vec4(p*mat2(c,s,-s,c),1,1);}"),y(1,"void main(){gl_FragColor=vec4(1,0,0,1);}"),o.linkProgram(c),o.useProgram(c),o.enableVertexAttribArray(0);var p=o.getUniformLocation(c,"t"),m=o.createBuffer();o.bindBuffer(34962,m),o.bufferData(34962,new Float32Array([0,1,-1,-1,1,-1]),35044),o.vertexAttribPointer(0,2,5126,!1,0,0),o.clear(16384),o.uniform1f(p,3.65),o.drawArrays(4,0,3)}function y(w,v){var I=o.createShader(35633-w);c&&I&&(o.shaderSource(I,v),o.compileShader(I),o.attachShader(c,I))}})(s),{s:0,v:dn(s.canvas.toDataURL())}):{s:-1,v:null}}function u5(i){return el(i,f5)}function c5(i){return el(i,l5)}function el(i,s){var o=i.cache;return(0,e.sH)(this,void 0,void 0,(function(){var c,p;return(0,e.YH)(this,(function(m){switch(m.label){case 0:return typeof((c=window.speechSynthesis)==null?void 0:c.getVoices)!="function"?[2,{s:-1,v:null}]:(o.tts||(o.tts=(function(y){return(0,e.sH)(this,void 0,void 0,(function(){var w,v,I;return(0,e.YH)(this,(function(B){switch(B.label){case 0:if(w=function(){return y.getVoices()},(function(C){return!C.addEventListener||$()&&w0()})(y))return[2,{v:w()}];v={v:null},B.label=1;case 1:return B.trys.push([1,,3,4]),[4,new Promise((function(C,X){var Q,tt=function(){var nt=w();nt.length?(v.v=nt,Q?.(),Q=wa(C,50)):Q||(Q=Ko(C,600))};I=mi(y,"voiceschanged",(function(){try{tt()}catch(nt){X(nt)}})),tt()}))];case 2:return B.sent(),[3,4];case 3:return I&&Ko(I,1e4),[7];case 4:return[2,v]}}))}))})(c)),[4,o.tts]);case 1:return p=m.sent(),[2,function(){return p.v?s(p.v):{s:-2,v:null}}]}}))}))}function f5(i){var s=function(c){return c.replace(/([,\\])/g,"\\$1")},o=i.map((function(c){return[s(c.voiceURI),s(c.name),s(c.lang),c.localService?"1":"0",c.default?"1":"0"].join(",")})).sort();return{s:i.length?0:1,v:dn(JSON.stringify(o))}}function l5(i){var s=i.some((function(o){return tr(o.name.slice(0,6))===1655763047}));return{s:i.length?0:1,v:s}}var d5=["brands","mobile","platform","platformVersion","architecture","bitness","model","uaFullVersion","fullVersionList"];function h5(){var i;return(0,e.sH)(this,void 0,void 0,(function(){var s,o,c,p=this;return(0,e.YH)(this,(function(m){switch(m.label){case 0:return(s=navigator.userAgentData)&&typeof s=="object"?(o={},c=[],typeof s.getHighEntropyValues!="function"?[3,2]:[4,Promise.all(d5.map((function(y){return(0,e.sH)(p,void 0,void 0,(function(){var w,v;return(0,e.YH)(this,(function(I){switch(I.label){case 0:return I.trys.push([0,2,,3]),[4,s.getHighEntropyValues([y])];case 1:return(w=I.sent()[y])!==void 0&&(o[y]=typeof w=="string"?w:JSON.stringify(w)),[3,3];case 2:if(!((v=I.sent())instanceof Error&&v.name==="NotAllowedError"))throw v;return c.push(y),[3,3];case 3:return[2]}}))}))})))]):[2,{s:-1,v:null}];case 1:m.sent(),m.label=2;case 2:return[2,{s:0,v:{b:s.brands.map((function(y){return{b:y.brand,v:y.version}})),m:s.mobile,p:(i=s.platform)!==null&&i!==void 0?i:null,h:o,nah:c}}]}}))}))}function nl(i){var s=i.urlHashing;return(0,e.sH)(this,void 0,void 0,(function(){var o,c,p;return(0,e.YH)(this,(function(m){switch(m.label){case 0:return o=(function(){for(var y,w,v=[],I=window;;)try{var B=(y=I.location)===null||y===void 0?void 0:y.href,C=(w=I.document)===null||w===void 0?void 0:w.referrer;if(B===void 0||C===void 0)return{s:1,v};v.push({l:B,f:C});var X=I.parent;if(!X||X===I)return{s:0,v};I=X}catch(Q){if(v5(Q))return{s:1,v};throw Q}})(),c=[(0,e.Cl)({},o)],p={},[4,p5(o.v,s)];case 1:return[2,e.Cl.apply(void 0,c.concat([(p.v=m.sent(),p)]))]}}))}))}function p5(i,s){return(0,e.sH)(this,void 0,void 0,(function(){var o=this;return(0,e.YH)(this,(function(c){return[2,Promise.all(i.map((function(p){return(0,e.sH)(o,void 0,void 0,(function(){var m,y,w;return(0,e.YH)(this,(function(v){switch(v.label){case 0:return[4,Promise.all([is(p.l,s),is(p.f,s)])];case 1:return m=v.sent(),y=m[0],w=m[1],[2,{l:y,f:w}]}}))}))})))]}))}))}function v5(i){if(!i||typeof i!="object")return!1;var s=i;return!(!P()&&!f()||s.name!=="Error"&&s.name!=="TypeError"||s.message!=="Permission denied")||s.name==="SecurityError"}function g5(){return(function(i){var s=i.location,o=i.origin,c=s.origin,p=s.ancestorOrigins,m=null;if(p){m=new Array(p.length);for(var y=0;y<p.length;++y)m[y]=p[y]}return{s:0,v:{w:o??null,l:c??null,a:m}}})(window)}function rl(){return{s:0,v:eval.toString().length}}function il(){var i=navigator.webdriver;return i===null?{s:-1,v:null}:i===void 0?{s:-2,v:null}:{s:0,v:i}}function m5(){var i=function(o,c,p){return o(c,p)},s=this;return i(jn,Dn(250,{s:-2,v:null}),(function(){var o,c,p=function(m,y,w){return i(m,y,w)};return o=e.sH,c=function(){var m,y=function(w,v,I){return i(w,v,I)};return(function(w,v,I){return w(v,I)})(e.YH,this,(function(w){switch(w.label){case 0:return!((function(v,I){return(function(B,C){return B===C})(v,I)})(m=p(qt,navigator,1417288500),null)||(function(v){return(function(I){return I===void 0})(v)})(m))&&p(qt,m,3686698663)?[4,p(qt,m,3686698663)().then((function(){return{s:0,v:""}}),(function(v){return{s:0,v:y(qt,v,3065852031)}}))]:[2,{s:-1,v:null}];case 1:return[2,w.sent()]}}))},o(s,void 0,void 0,c)}))}function Va(){var i;return Ha([Sr(i=new Image().style,2882756133),Sr(i,3858258232)],[18,23,22,11,23,17,3,20,4,22,19,11,25,13,23,22,7,7,17,18,4,18,11,8,11,8,3,5,2,4,3,3,5,6,5,3,1,2,2,0,0])}function y5(){var i;return Ha([Sr(i=new Image().style,2487676862),Sr(i,41374024)],[5,23,47,9,35,9,44,7,37,41,19,25,32,26,30,32,8,31,12,15,40,18,15,20,9,4,2,13,21,17,18,34,40,2,48])}function w5(){return i=navigator,s=document.createElement("frameset"),o=qt(i,704082790),Ha([Sr(s,3017323393),ol(i,859837811,"QjslADtOBipACA")||ol(o,72906005,"Tjo/DSpIETFCCQ")],[20,1,24,23,23,21,14,8,11,8,6,13,1,1,12,4,9,10,6,2,1,2,0,1,2,1,1]);var i,s,o}function ol(i,s,o){var c=Sr(i,s);if(!c)return"";for(var p=$o(o),m=Array(p.length),y=0;y<p.length;y++)m[y]=p[y]^c.charCodeAt(y%c.length);return String.fromCharCode.apply(null,m)}function Ha(i,s){for(var o=i.join(""),c=o.split(""),p=Array(o.length),m=0;m<p.length;++m)p[m]=c.splice(s[m%s.length],1);return p.join("")}var Ge=so([290799128,256122120,104421910,67116302,755371265,505093152,152897830,504707661,470222364,504898635,1531393810,35461445,285283613,151395398,386279171,454440300,1259148302,67715140,117915663,1445400833,70599515,280581,270008841,369435995,272236574,119803980,704973062,135268614,184563807,1026755337,824180753,521019142,404440330,1310525212,689393240,992889883,118162967,75079,371069214,14400,67440946,336725549,100928582,419697754,37884160,822483751,151655985,440867606,34934535,1544297499,69023765,1530421525,521022789,352788490,152182535,1095068179,168111383,102371362,1379942426,218301962,410405200,674697750,150995736,1460669954,289295192,422585355,276197185,1241580055,503401029,169544981,956309037,1628772625,269702473,1481182751,12887,860704273,607786827,1079856400,370150428,234881091,407897606,354309752,1157892134,252333381,1264080656,304025857,1627786793,302143352,172563473,34688007,17172047,337261841,285893380,117845831,1448695310,152569103,1095068178,68628788,120395278,352653340,1245924639,288361223,2951185,3425555],Va,1);function sl(){if(!(function(s){return s in window})((i=Ge,i(1))))return!1;var i;try{return new window[(function(s){return s(1)})(Ge)],!0}catch(s){if((function(o){return o instanceof Error})(s)&&(function(o,c){return o===c})(s.name,(function(o){return o(2)})(Ge)))return!1;throw s}}function E5(i){return s=e.sH,o=function(){var c,p,m,y,w=function(v,I){return(function(B,C){return B(C)})(v,I)};return(function(v,I,B){return v(I,B)})(e.YH,this,(function(v){var I=function(B,C){return w(B,C)};switch(v.label){case 0:return c=w(Ga,i),p=c[0],m=c[1],y=c[2],(function(B){return(function(C){return C!==0})(B)})(m)?[2,{n:p,l:m}]:[4,new Promise((function(B){var C=function(X,Q){return I(X,Q)};y[I(Ge,3)]((function(X){C(B,{n:p,l:X[C(Ge,4)]})}),(function(){C(B,{n:p,l:-1})}))}))];case 1:return[2,v.sent()]}}))},s(this,void 0,void 0,o);var s,o}function Ga(i){for(var s={WceTb:"5|3|7|0|9|10|6|2|8|1|11|4",YXrDm:function(B,C,X){return B(C,X)},JsRES:function(B,C){return B(C)},WmCxs:function(B,C){return B(C)},kyiGc:function(B,C){return B===C},xozCJ:function(B,C){return B(C)},oRPyT:function(B,C){return B(C)},Unnxw:function(B,C){return B instanceof C},ZXJxt:function(B,C){return B===C},hAXYn:function(B,C){return B(C)},rrdYU:function(B,C){return B!==C},IPLsn:function(B,C){return B===C},qpBPk:function(B,C){return B(C)},tTnsV:function(B,C){return B===C},UBZPU:function(B,C){return B(C)},ijSLc:function(B,C){return B(C)},azIFr:function(B,C){return B(C)},axwYs:function(B,C){return B(C)},eKSOZ:function(B,C){return B===C}},o=s.WceTb.split("|"),c=0;;){switch(o[c++]){case"0":var p=s.YXrDm(Sr,new window[s.JsRES(Ge,5)]("")[s.WmCxs(Ge,6)](""),3626513111);continue;case"1":if(s.kyiGc(typeof I[s.WmCxs(Ge,16)],s.xozCJ(Ge,17)))return[m,-4,null];continue;case"2":try{v[s.oRPyT(Ge,11)][s.JsRES(Ge,12)](w)}catch(B){if(s.Unnxw(B,Error)&&s.ZXJxt(B.name,s.hAXYn(Ge,2))&&s.rrdYU(s.IPLsn(y=B[s.qpBPk(Ge,13)],null)||s.tTnsV(y,void 0)?void 0:y.indexOf(s.UBZPU(Ge,14)),-1))return[m,-3,null];throw B}continue;case"3":var m=i.split("/").slice(-1)[0];continue;case"4":return[m,0,I[s.ijSLc(Ge,16)][0]];case"5":var y;continue;case"6":var w=new window[s.WmCxs(Ge,9)]([],i,s.oRPyT(Ge,10));continue;case"7":var v=new window[s.qpBPk(Ge,1)];continue;case"8":I[s.azIFr(Ge,15)]=v[s.qpBPk(Ge,15)];continue;case"9":var I=document[s.oRPyT(Ge,7)](p);continue;case"10":I[s.JsRES(Ge,8)]=s.axwYs(Ge,3);continue;case"11":if(s.eKSOZ(I[s.qpBPk(Ge,16)].length,0))return[m,-2,null];continue}break}}var Ir=Nn([752472786,243421427,250966661,1304376727,44907654,246431386,1168077535,16463263,1619723729,1257995473,1606171802,1236083594,66480798,250966748,1912304588],4);function b5(){var i,s,o=function(w){return w()},c=function(w,v,I){return w(v,I)},p=function(w,v,I){return w(v,I)},m=function(w,v,I){return w(v,I)},y=function(w,v,I){return w(v,I)};return i=e.sH,s=function(){var w,v=this;return(0,e.YH)(this,(function(I){var B=function(tt,nt,at){return(function(gt,_t,vt){return gt(_t,vt)})(tt,nt,at)},C=function(tt){return o(tt)},X=function(tt,nt,at,gt,_t){return(function(vt,bt,Vt,Ht,Wt){return vt(bt,Vt,Ht,Wt)})(tt,nt,at,gt,_t)},Q=function(tt,nt){return(function(at,gt){return at(gt)})(tt,nt)};switch(I.label){case 0:return(w=Ge(0))?[3,2]:[4,c(jn,c(Dn,350,{s:-3,v:null}),(function(){var tt=function(at){return C(at)},nt=function(at,gt){return(function(_t,vt){return(function(bt,Vt){return bt(Vt)})(_t,vt)})(at,gt)};return X(e.sH,v,void 0,void 0,(function(){var at;return B(e.YH,this,(function(gt){switch(gt.label){case 0:return at={s:-3},[4,Promise.all([tt(al)])];case 1:return[2,(at[nt(Ir,0)]=gt.sent(),at)]}}))}))}))];case 1:case 3:case 5:return[2,I.sent()];case 2:return o(sl)?[3,4]:[4,p(jn,m(Dn,350,{s:-1,v:null}),(function(){var tt=function(at,gt){return(function(_t,vt){return(function(bt,Vt){return bt(Vt)})(_t,vt)})(at,gt)},nt=function(at,gt){return Q(at,gt)};return X(e.sH,v,void 0,void 0,(function(){var at;return(function(gt,_t,vt){return B(gt,_t,vt)})(e.YH,this,(function(gt){switch(gt.label){case 0:return at={s:-1},[4,Promise.all([tt(al,w[0])])];case 1:return[2,(at[nt(Ir,0)]=gt.sent(),at)]}}))}))}))];case 4:return[4,m(jn,y(Dn,350,{s:-2,v:null}),(function(){var tt=function(nt,at){return Q(nt,at)};return X(e.sH,v,void 0,void 0,(function(){var nt;return(function(at,gt,_t){return B(at,gt,_t)})(e.YH,this,(function(at){switch(at.label){case 0:return nt={s:0},[4,Promise.all(w.map(E5))];case 1:return[2,(nt[tt(Ir,0)]=at.sent(),nt)]}}))}))}))]}}))},i(this,void 0,void 0,s)}function al(i){var s,o,c=function(v,I){return v(I)},p=function(v,I){return v(I)},m=function(v,I,B){return v(I,B)},y=function(v,I){return v===I},w=function(v,I){return v===I};return i===void 0&&(i=p(Ir,1)),(function(v,I,B,C,X){return v(I,void 0,void 0,X)})(e.sH,this,0,0,(function(){var v,I,B;return m(e.YH,this,(function(C){v=i.split("/").slice(-1)[0];try{return I=new window[c(Ir,2)]([],i),B=new window[c(Ir,3)](p(Ir,4).concat(m(qt,I,4081332993)||"").concat(v,c(Ir,5)).concat(m(qt,I,3034174415))),(function(X){return X===""})(y(s=m(qt,B,3518522040),null)||(function(X){return X===void 0})(s)?void 0:s.substring(1))?[2,{n:v,l:-2}]:[2,{n:v,l:p(tr,w(o=m(qt,B,3518522040),null)||y(o,void 0)?void 0:o.substring(1))}]}catch{return[2,{n:v,l:-1}]}return[2]}))}))}var _5=Nn([2072691393,3531177868,682500123,140161052,2954107647,581829239],6);function R5(){var i=function(o,c){return o===c},s=(function(o){return o(navigator,3087401394)})(qt);return i(s,void 0)||i(s,null)?{s:-1,v:null}:{s:0,v:s}}function A5(){for(var i={pCQFw:"0|5|1|3|6|4|2",QPheb:function(B,C){return B(C)},cvtRQ:function(B,C){return B<C},obwRn:function(B,C,X){return B(C,X)},zLaAT:function(B,C,X,Q){return B(C,X,Q)},BBhKA:function(B,C){return B===C},dlsEs:function(B,C,X){return B(C,X)}},s=i.pCQFw.split("|"),o=0;;){switch(s[o++]){case"0":var c=window[i.QPheb(_5,0)];continue;case"1":var p=[0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10];continue;case"2":return{s:0,v:I};case"3":var m=[[9,1,7,0,65,0,253,15,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[240,67,0,0,0,12,1,10,0,252,2,3,1,1,0,0,110,26,11,161,10],[6,1,4,0,18,0,11,0,10,4,110,97,109,101,2,3,1,0,0],[8,1,6,0,65,0,192,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[7,1,5,0,208,112,26,11,0,10,4,110,97,109,101,2,3,1,0,0]];continue;case"4":for(var y=0,w=m;i.cvtRQ(y,w.length);y++){var v=w[y];I<<=1,I|=i.obwRn(qt,c,1108488788)(Uint8Array.of.apply(Uint8Array,i.zLaAT(e.fX,i.zLaAT(e.fX,[],p,!1),v,!1)))?1:0}continue;case"5":if(!(!(i.BBhKA(c,null)||i.BBhKA(c,void 0))&&i.dlsEs(qt,c,1108488788)))return{s:-1,v:null};continue;case"6":var I=0;continue}break}}function S5(){for(var i={tzfkk:"3|4|0|2|1|5",hnlPn:function(I,B){return I-B},YETaQ:function(I,B){return I*B},zzipR:function(I,B){return I>=B},QPpiL:function(I,B){return I===B},YposS:function(I,B){return I%B},FPDfz:function(I,B){return I|B}},s=i.tzfkk.split("|"),o=0;;){switch(s[o++]){case"0":var c=4096;continue;case"1":for(var p=i.hnlPn(i.YETaQ(v,c),1);i.zzipR(p,0);--p)if(i.QPpiL(i.YposS(p,c),0)){var m=Math.random();w.push(i.FPDfz(i.YETaQ(i.hnlPn(y,m),Math.pow(2,31)),0)),y=m}continue;case"2":var y=Math.random();continue;case"3":var w=[];continue;case"4":var v=6;continue;case"5":return{s:0,v:w}}break}}function ul(){var i=window.devicePixelRatio;return i==null?{s:-1,v:null}:{s:0,v:i}}function I5(){for(var i=navigator,s=["webkitPersistentStorage","connectionSpeed","xr","hid"],o=[],c=0,p=Object.getOwnPropertyNames(Object.getPrototypeOf(i));c<p.length;c++){var m=p[c];if(!s.includes(m)){var y=i[m];typeof y=="function"&&y.name!==void 0&&o.push(y.name)}}return{s:0,v:o}}function O5(){try{return objectToInspect,{s:0,v:!0}}catch{return{s:0,v:!1}}}function N5(){return typeof CSS>"u"?{s:-1,v:null}:{s:0,v:CSS.supports("backdrop-filter","blur(2px)")}}function T5(){if(typeof window.SharedArrayBuffer!="function")return{s:-2,v:null};var i=new window.SharedArrayBuffer(1);return i.byteLength===void 0?{s:-1,v:null}:{s:0,v:i.byteLength}}function x5(){if(typeof window.matchMedia!="function")return{s:-2,v:null};var i=window.matchMedia("(-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2), (min-resolution: 192dpi)");return i.matches===void 0?{s:-1,v:null}:{s:0,v:i.matches}}function L5(){try{throw"a"}catch(i){try{return i.toSource(),{s:0,v:!0}}catch{return{s:0,v:!1}}}}function C5(){return(0,e.sH)(this,void 0,void 0,(function(){return(0,e.YH)(this,(function(i){return[2,j((function(s,o){var c=o.document.createElement("div");return c.style.border=".5px dotted transparent",o.document.body.appendChild(c),{s:0,v:c.offsetHeight}}))]}))}))}function B5(){return navigator.mimeTypes===void 0?{s:-1,v:null}:navigator.mimeTypes.length===void 0?{s:-3,v:null}:{s:0,v:navigator.mimeTypes.length}}function M5(){return{s:0,v:!(!navigator.userAgentData||typeof navigator.userAgentData!="object")}}function k5(){if(navigator.plugins===void 0)return{s:-1,v:null};for(var i=navigator.plugins,s=Object.getPrototypeOf(i)===PluginArray.prototype,o=0;o<i.length;o++)s&&(s=Object.getPrototypeOf(i[o])===Plugin.prototype);return{s:0,v:s}}function U5(){return{s:0,v:[typeof SourceBuffer,typeof SourceBufferList]}}function D5(){return window.close===void 0?{s:-1,v:null}:{s:0,v:window.close.toString()}}function cl(){var i=navigator.language;return i?{s:0,v:i}:{s:-1,v:null}}function fl(){var i=navigator.languages;return i?{s:0,v:i}:{s:-1,v:null}}function P5(){var i,s,o=function(p,m,y){return p(m,y)},c=function(p,m,y){return p(m,y)};return i=e.sH,s=function(){var p,m,y,w;return(function(v,I,B){return v(I,B)})(e.YH,this,(function(v){switch(v.label){case 0:return p=navigator,m=o(qt,p,1417288500),(y=o(qt,p,2706846255))||!((function(I){return I===null})(m)||(function(I){return I===void 0})(m))&&o(qt,m,3538568711)?y?[4,Promise.race([o(to,250,void 0),new Promise((function(I){(function(B,C){return o(B,C,1291883197)})(qt,y)((function(B,C){return(function(X,Q){return(function(tt,nt){return tt(nt)})(X,Q)})(I,C)}))}))])]:[3,2]:[2,{s:-1,v:null}];case 1:if((function(I){return I!==void 0})(w=v.sent()))return[2,{s:0,v:w}];v.label=2;case 2:return!((function(I){return I===null})(m)||(function(I){return I===void 0})(m))&&c(qt,m,3538568711)?[4,Promise.race([o(to,250,void 0),c(qt,m,3538568711)().then((function(I){return(function(B,C){return o(B,C,1813778413)})(qt,I)}))])]:[3,4];case 3:if((function(I){return I!==void 0})(w=v.sent()))return[2,{s:1,v:w}];v.label=4;case 4:return[2,{s:-2,v:null}]}}))},i(this,void 0,void 0,s)}var F5=Nn([3158227384,2888664152,4084918174,3589656136,3712538156,4029405675,3656566123,3630103819,3648705019],6);function V5(){var i=function(s,o){return s===o};return(0,e.sH)(this,void 0,void 0,(function(){var s,o=function(m){return(function(y){return y()})(m)},c=function(m,y,w){return(function(v,I,B){return v(I,B)})(m,y,w)},p=function(m){return(function(y){return y()})(m)};return(function(m,y,w){return m(y,w)})(e.YH,this,(function(m){switch(m.label){case 0:return o(S)&&o(Pm)?[2,{s:-3,v:null}]:[4,Promise.race([c(to,100,null),p(H5)])];case 1:return(function(y){return i(y,null)})(s=m.sent())?[2,{s:-2,v:null}]:(function(y){return i(y,void 0)})(s)?[2,{s:-1,v:null}]:[2,{s:0,v:s}]}}))}))}function H5(){var i=function(o,c){return o(c)},s=function(o,c,p,m,y){return o(c,p,m,y)};return s(e.sH,this,void 0,void 0,(function(){var o,c=function(p,m){return i(p,m)};return(function(p,m,y){return p(m,y)})(e.YH,this,(function(p){return(o=window[(function(m,y){return i(m,y)})(F5,0)])?[2,new Promise((function(m){(function(y,w,v,I,B){s(y,w,v,I,B)})(o,0,1,(function(){return(function(y){return c(y,!0)})(m)}),(function(){return(function(y){return c(y,!1)})(m)}))}))]:[2,void 0]}))}))}function G5(){return j((function(i,s){var o=s.screen,c=function(p){var m=parseInt(p);return typeof m=="number"&&isNaN(m)?-1:m};return{s:0,v:{w:c(o.width),h:c(o.height)}}}))}var Kr=Nn([3924185679,3632893699,2980828376,2699881398,2597186493,3081479162,2868636342,4104912311,2917654778,3120294056,3186092732,3169643453,4210205690,3086875321,2867519889,3068977853,2897456556,2783771306,3033247220,4104908215,3152862458,2900426157,2868628129,2242641335],4);function j5(){try{return(function(s,o){return s(o)})(ll,!!window[i=Kr,i(0)])}catch{return(function(o){return o(!0)})(ll)}var i}function ll(i){return{s:0,v:i}}function Y5(){var i=function(c){return c()},s=function(c,p,m){return c(p,m)},o=this;return s(jn,Dn(250,{s:-3,v:null}),(function(){return c=e.sH,p=function(){var m=function(y){return i(y)};return s(e.YH,this,(function(y){return m(U)||(function(w){return i(w)})($)?[2,m(z5)]:[2,{s:-1,v:null}]}))},c(o,void 0,void 0,p);var c,p}))}function z5(){var i,s,o=function(c,p){return c(p)};return i=e.sH,s=function(){var c,p,m={BQeod:function(y,w){return o(y,w)},iOflQ:function(y,w,v){return(function(I,B,C){return I(B,C)})(y,w,v)},uZYOC:function(y,w){return o(y,w)},DssqK:function(y){return(function(w){return w()})(y)},FbFdf:function(y,w){return(function(v,I){return v(I)})(y,w)},TWEdd:function(y,w){return(function(v,I){return v instanceof I})(y,w)},NPofR:function(y,w){return(function(v,I){return v===I})(y,w)},saNhW:"4|2|0|3|1",ywkCU:function(y,w){return(function(v,I){return v(I)})(y,w)},tYhgW:function(y,w,v){return(function(I,B,C){return I(B,C)})(y,w,v)}};return(function(y,w,v){return y(w,v)})(e.YH,this,(function(y){for(var w=m.saNhW.split("|"),v=0;;){switch(w[v++]){case"0":if(!c)return[2,{s:-2,v:null}];continue;case"1":return[2,new Promise((function(B,C){try{var X=m.iOflQ(qt,c,2758837156)(p,1);X[m.BQeod(Kr,1)]=function(){(function(Q){m.BQeod(Q,{s:-5,v:null})})(B)},X[m.uZYOC(Kr,2)]=function(Q){var tt=I.Qxjcv(qt,I.Qxjcv(qt,Q,1181691900),325763347);try{return I.Qxjcv(qt,I.ehgXq(qt,tt,138212912)("-",I.zaFXk(Kr,3)),2928708052)(new window[I.zaFXk(Kr,4)]),void I.zaFXk(B,{s:0,v:""})}catch(nt){if(I.pOfaM(nt,Error))return void I.zaFXk(B,{s:0,v:I.ehgXq(qt,nt,3065852031)});I.zaFXk(C,nt)}finally{I.tUivq(qt,tt,318865860)(),I.tUivq(qt,c,3885781331)(p)}}}catch(Q){if(!m.DssqK(U))return void m.FbFdf(B,{s:-5,v:null});if(m.TWEdd(Q,Error)&&m.NPofR(Q.name,m.FbFdf(Kr,5)))return void m.uZYOC(B,{s:-4,v:null});m.FbFdf(C,Q)}}))];case"2":c=window[m.FbFdf(Kr,0)];continue;case"3":p="".concat(m.ywkCU(no,16));continue;case"4":var I={Qxjcv:function(B,C,X){return m.tYhgW(B,C,X)},ehgXq:function(B,C,X){return m.iOflQ(B,C,X)},zaFXk:function(B,C){return m.BQeod(B,C)},pOfaM:function(B,C){return m.TWEdd(B,C)},tUivq:function(B,C,X){return m.tYhgW(B,C,X)}};continue}break}}))},i(this,void 0,void 0,s)}var dl=Nn([3374490785,3473914354,2687361672,2338446584,2909720041,3983198953,2690882468,2623789291,2927482620,2452479215],4);function W5(){var i=function(p,m,y){return p(m,y)},s="test";if(!U()||(function(p){return p()})(Mm))return{s:-1,v:null};var o=window[(function(p){return p(0)})(dl)],c=window[(function(p){return p(1)})(dl)];try{(function(p){p(null,null,null,null)})(o)}catch{return{s:0,v:!0}}try{return i(qt,c,2330630162)(s,"1"),i(qt,c,588657539)(s),{s:0,v:!1}}catch{return{s:0,v:!0}}}function Z5(){var i=Object.getOwnPropertyDescriptor(document,"createElement");return i?{s:0,v:!("writeable"in i)}:{s:-1,v:null}}function K5(){return{s:0,v:!!navigator.onLine}}var xe=Nn([2051009255,196400063,2525527446,4044416111,199305624,3777599729,664183563,2527137204,2959068455,280520411,4185511866,2144517134,3586067896,2987975794,1370780368,4217690097,2128325203,3518040290,2987517477,485718477,3408514487,1624764753,2525516212,3089101692,314277853,3777352609,1742208334,3751877875,4284477294,451175574,3090727933,1792130846,3451262692,4048669481,1370783684,4184381064,1876294928,2595627001,3189040251,285179857,3022493366,635026462,3602651639,2954672238,249917143,3022514673,664183579,3685769165,2736568422,1408460740,3831682485,1926610701,2533302452,3122262854,83050709,3022493344,1087813162,3516795391,2552037231,1608872657,3309737727,1657845296,3451270903,4048663672,149384902,3682584502,1792915224,3886684381,3054101874,519391961,3027814326,1859318097,3332770295,3205678702,1609525469,4167997183,2077073694,2578913506,3122262886,1606035925,4285518270,2077593628,3636076535,3054821986,1606035911,4184396215,1826273817,3686077407,2959063593,179857115,3765358778,634502420,3701674487,4048663658,351432409,4185430450,1859625224,2527613364,2803104104,702703057,3027158186,2127950151,2612794610,3897157222,435775636,2876823478,2077880609,2164071586,2404366395,1374366102,4184381096,1708238611,3299486178,4048008302,418538178,3865484220,1754589257,3619035641,4045515640,1291156949,3543761149,1475469901,2533318580,2701786985,1609793493,2788918761,697885517,3652325360,2803688558,1319905745,4264138979,1674820120,2162778082,4048660019,166879939,2687604411,667542345,3684786157,2802770793,249917146,3307835121,1323797546,4051773653,2318390612,1608081380,4247361710,1927784984,3652585957,3055482186,1370781895,4151957233,664188427,3602649012,3171542398,1608874193,3243808511,1223786530,3952488387,2200224840,1370768608,3849242609,1708898830,3517121730,2287055992,267615126,3799571872,650165528,3517977850,4044940645,1609377769,3798129338,1791013433,3517121730,2286400632,334719126,3126236848,1874965087,3582989055,3122657147,350380760,2888419254,1754703910,3517387769,2854871653,1203007172,4068398577,1721482260,3622324710,2954424932,1607087815,4148151486,629466963,2532385188,2382416758],5);function X5(i){return(function(s,o){return s(o,2660613247)})(qt,i)||(i[(function(s){return s(0)})(xe)]={})}var q5=[[xe(1),function(i){return pl(!1,i)}],[xe(2),function(){return pl(!0)}],[xe(3),function(){return i=ao,s=xe(4),i(s);var i,s}],[xe(5),function(){var i=function(s,o){return s(o)};return i(ao,i(xe,6))}],[xe(7),function(){var i=function(s,o){return s(o)};return i(ao,i(xe,8))}],[xe(9),function(){var i=function(s,o){return s(o)};return i(ao,i(xe,10))}]];function $5(){var i=function(o,c){return o(c)},s=function(o,c){return o in c};return((function(o){return o in window})(i(xe,11))||(function(o){return o in window})(i(xe,12))||s((function(o){return o(13)})(xe),window))&&s((function(o){return o(14)})(xe),navigator)}function J5(){var i,s=function(o,c){return o(c)};return!(function(o){return o()})(S)||!(function(o){return o in document})(s(xe,15))||((function(o){return o===null})(i=document[s(xe,15)])||(function(o){return o===void 0})(i)?void 0:(function(o,c){return o(c,2256349940)})(qt,i)().includes(s(xe,16)))}function Q5(){return(function(i){return i in navigator})(xe(17))&&(function(i,s){return i in s})((function(i){return i(18)})(xe),(function(i){return i(navigator,2900309608)})(qt))}function t6(i,s,o){var c,p=function(y,w){return y!==w},m=function(y,w){return y!==w};return(function(y){return y===void 0})(s)&&(s={}),p(o,null)&&p(o,void 0)||(o=[(function(y){return y()})(vl)]),m(c=s[i],null)&&m(c,void 0)?c:s[i]=(function(y){return y(navigator,3994889901)})(qt)(i,o)}function ao(i,s,o){var c=function(p,m,y,w){return p(m,y,w)};return(function(p,m,y,w,v){return p(m,void 0,void 0,v)})(e.sH,this,0,0,(function(){var p,m,y;return(function(w,v,I){return w(v,I)})(e.YH,this,(function(w){switch(w.label){case 0:p=0,m=i,w.label=1;case 1:if(!(function(v,I){return v<I})(p,m.length))return[3,6];y=m[p],w.label=2;case 2:return w.trys.push([2,4,,5]),[4,c(t6,y,s,o)];case 3:return[2,!!w.sent()];case 4:return w.sent(),[3,5];case 5:return p++,[3,1];case 6:return[2,!1]}}))}))}var hl=xe(19);function e6(){var i=function(w,v){return w(v)},s=function(w,v){return w(v)},o=function(w,v){return w(v)},c=function(w,v,I){return w(v,I)},p=function(w,v){return w in v},m=function(w,v){return w(v)},y=function(w){return w()};return(0,e.sH)(this,void 0,void 0,(function(){var w,v,I;return c(e.YH,this,(function(B){switch(B.label){case 0:return(function(C){return C()})($)||(function(C){return C()})(ut)?[2,!1]:(w=!1,(function(C){return C()})(Q5)?(v={type:i(xe,20),audio:s(xe,21),video:o(xe,22),keySystemConfiguration:{keySystem:hl,video:o(xe,23)}},[4,c(qt,c(qt,navigator,2900309608),3516168465)(v)]):[3,2]);case 1:I=B.sent(),w=(function(C,X,Q){return C(X,Q)})(em,I,(function(C){return C(24)})(xe))&&I[(function(C){return C(24)})(xe)],B.label=2;case 2:return[2,w&&!p(m(xe,25),navigator)||!y(S)]}}))}))}function n6(i){for(var s={HkMtb:"3|2|0|4|1",pPhzD:function(m,y,w){return m(y,w)},EAQNq:function(m,y){return m(y)},cWdUy:function(m,y){return m(y)},NbRpv:function(m){return m()},dFENT:function(m,y){return m===y},npgEB:function(m,y){return m(y)}},o=s.HkMtb.split("|"),c=0;;){switch(o[c++]){case"0":s.pPhzD(qt,p,621177879)&&(s.pPhzD(qt,p,621177879)[0][s.EAQNq(xe,26)]=s.cWdUy(xe,27));continue;case"1":return p;case"2":var p=s.NbRpv(vl);continue;case"3":s.dFENT(i,void 0)&&(i=!1);continue;case"4":i&&(p[s.cWdUy(xe,28)]=s.npgEB(xe,29));continue}break}}function pl(i,s){return i===void 0&&(i=!1),o=e.sH,c=function(){var p,m=function(w){return(function(v){return v()})(w)},y=function(w,v,I,B){return(function(C,X,Q,tt){return C(X,Q,tt)})(w,v,I,B)};return(function(w,v,I){return w(v,I)})(e.YH,this,(function(w){switch(w.label){case 0:return[4,m(e6)];case 1:return w.sent()?(p=(function(v,I){return(function(B,C){return B(C)})(v,I)})(n6,i),[4,y(ao,[hl],s,[p])]):[2,!1];case 2:return[2,w.sent()]}}))},o(this,void 0,void 0,c);var o,c}function vl(){return xe(30)}function r6(i){var s=function(m,y,w){return m(y,w)},o=function(m,y,w,v,I){return m(y,w,v,I)},c=function(m,y,w){return m(y,w)},p=c(qt,i,1095199719);return o(e.sH,this,void 0,void 0,(function(){var m,y=function(Q,tt){return(function(nt,at){return nt(at)})(Q,tt)},w=function(Q,tt,nt){return s(Q,tt,nt)},v=function(Q,tt,nt,at,gt){return o(Q,tt,nt,at,gt)},I=function(Q){return(function(tt){return tt()})(Q)},B=function(Q,tt,nt){return s(Q,tt,nt)},C=function(Q,tt,nt){return s(Q,tt,nt)},X=this;return c(e.YH,this,(function(Q){return I($5)&&I(J5)?I(ut)?[2,function(){return{s:-3,v:null}}]:(m=y(X5,p),[2,B(jn,C(Dn,250,{s:-2,v:null}),(function(){var tt=function(_t,vt){return(function(bt,Vt){return(function(Ht,Wt){return Ht<Wt})(bt,Vt)})(_t,vt)},nt=function(_t,vt){return y(_t,vt)},at=function(_t,vt,bt){return w(_t,vt,bt)},gt=function(_t,vt,bt,Vt,Ht){return v(_t,vt,bt,Vt,Ht)};return v(e.sH,X,void 0,void 0,(function(){var _t,vt,bt,Vt,Ht,Wt,Tt,Dt=function(Qt,ne){return nt(Qt,ne)},Xt=this;return at(e.YH,this,(function(Qt){switch(Qt.label){case 0:return[4,Promise.all(q5.map((function(ne){var ce=function(Ee,ve){return Dt(Ee,ve)};return(function(Ee,ve,Se,Le,Ce){return gt(Ee,ve,void 0,void 0,Ce)})(e.sH,Xt,0,0,(function(){var Ee,ve,Se;return(function(Le,Ce,Ne){return(function(nn,Sn,pn){return at(nn,Sn,pn)})(Le,Ce,Ne)})(e.YH,this,(function(Le){switch(Le.label){case 0:return Ee=ne[0],ve=ne[1],Se=[Ee],[4,ce(ve,m)];case 1:return[2,Se.concat([Le.sent()])]}}))}))})))];case 1:for(_t=Qt.sent(),vt={},bt=0,Vt=_t;tt(bt,Vt.length);bt++)Ht=Vt[bt],Wt=Ht[0],Tt=Ht[1],vt[Wt]=Tt;return[2,{s:0,v:vt}]}}))}))}))]):[2,function(){return{s:-1,v:null}}]}))}))}var i6=Nn([1348463336,3803023018,4141740428,4039893696,3740108228,2696994793,2396890353,3287272953,2760289937,3639185880,3800550087,3229721822,3655845628,3956859780,3417230991,3987529206,3465536455,3286746798,3788241285,4155412936,2931392987,2279597529,2175059177,4024282809,2296682185,4202925994,3049385931,3321024229,4001931456,3270216648,2932772850,2345464011,3303269088,2766070917,4157718512],5);function o6(){for(var i,s,o={},c=0,p=i6(0);c<p.length;c++)for(var m=p[c],y=m[0],w=0,v=m[1];w<v.length;w++){var I=v[w],B=(s=(i=Object.getOwnPropertyDescriptor(window[y],I))===null||i===void 0?void 0:i.get)===null||s===void 0?void 0:s.toString();B!==void 0&&(o["".concat(y,".").concat(I)]=B)}return{s:0,v:o}}var gl=4191585516,s6=new Set([4106781067,3209949814,2612078219,2382064880,3225112721,1018714844,2899793226,2094258580,3169460974,3079760821,392195965,3461410589,3582327722,1731918890,1767246934,3419607467,1110225616,1455947556,450291099,176445009,1998723369,2961538051,3413933903,2299562828,3945560591,485550147,3336694844,3737152292,2669437517,3860417393,gl]);function a6(){for(var i=[],s=Object.getOwnPropertyNames(window),o=0;o<s.length;o++){var c=s[o],p=tr(c);if(s6.has(p)&&i.push(c),p===gl){var m=s[o+1]||"";i.push(m)}}return{s:0,v:i}}function u6(){return j((function(i,s){var o={},c=s.document.createElement("div");s.document.body.appendChild(c);for(var p,m={AccentColor:"ac",AccentColorText:"act",ActiveText:"at",ActiveBorder:"ab",ActiveCaption:"aca",AppWorkspace:"aw",Background:"b",ButtonHighlight:"bh",ButtonShadow:"bs",ButtonBorder:"bb",ButtonFace:"bf",ButtonText:"bt",FieldText:"ft",GrayText:"gt",Highlight:"h",HighlightText:"ht",InactiveBorder:"ib",InactiveCaption:"ic",InactiveCaptionText:"ict",InfoBackground:"ib",InfoText:"it",LinkText:"lt",Mark:"m",Menu:"me",Scrollbar:"s",ThreeDDarkShadow:"tdds",ThreeDFace:"tdf",ThreeDHighlight:"tdh",ThreeDLightShadow:"tdls",ThreeDShadow:"tds",VisitedText:"vt",Window:"w",WindowFrame:"wf",WindowText:"wt",Selecteditem:"si",Selecteditemtext:"sit"},y=0,w=Object.keys(m);y<w.length;y++){var v=w[y];o[m[v]]=(p=v,c.style.color=p,s.getComputedStyle(c).color)}return{s:0,v:o}}))}function c6(){return j((function(i,s){var o=s.navigator.webdriver;return o===null?{s:-1,v:null}:o===void 0?{s:-2,v:null}:{s:0,v:o}}))}function f6(){return(function(i){var s=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(i),"hardwareConcurrency");if(!s||!s.get)return{s:-1,v:null};var o=window.Function,c=window.Object,p=!1;try{p=delete window.Function&&delete window.Object}catch{p=!1}if(!p)return m(),{s:-2,v:null};try{return s.get.toString(),{s:0,v:!1}}catch{return{s:0,v:!0}}finally{m()}function m(){try{window.Function=o,window.Object=c}catch{}}})(navigator)}function ml(i,s){for(var o={},c=i.getBoundingClientRect(),p=0,m=["x","y","left","right","bottom","height","top","width"];p<m.length;p++){var y=m[p];y in c&&(o[y]=c[y])}var w=s.getComputedStyle(i,null).getPropertyValue("font-family");return o.font=w,o}function l6(){for(var i="",s=128512;s<=128591;s++){var o=String.fromCodePoint(s);i+=o}return j((function(c,p){var m=p.document.createElement("span");return m.style.whiteSpace="nowrap",m.innerHTML=i,p.document.body.append(m),{s:0,v:ml(m,p)}}))}function d6(){var i="<mrow><munderover><mmultiscripts><mo>∏</mo>";function s(y,w,v,I,B){return"<mmultiscripts><mi>".concat(y,"</mi><mi>").concat(w,"</mi><mi>").concat(v,"</mi>")+"<mprescripts></mprescripts><mi>".concat(I,"</mi><mi>").concat(B,"</mi></mmultiscripts>")}for(var o=0,c=[["𝔈","υ","τ","ρ","σ"],["𝔇","π","ο","ν","ξ"],["𝔄","δ","γ","α","β"],["𝔅","θ","η","ε","ζ"],["𝔉","ω","ψ","ϕ","χ"],["ℭ","μ","λ","ι","κ"]];o<c.length;o++){var p=c[o],m=s.apply(void 0,p);i+=m}return i+="</munderover></mrow>",j((function(y,w){var v=w.document.createElement("math");return v.style.whiteSpace="nowrap",v.innerHTML=i,w.document.body.append(v),{s:0,v:ml(v,w)}}))}var h6=Nn([1024705730,641842159,2578743392,3876471597,2070139803],6);function p6(){var i=qt(navigator,2698072953);return i?{s:0,v:(function(s,o){return s(o)})(v6,i)}:{s:-1,v:null}}function v6(i){var s=function(w,v){return w<v},o=function(w,v,I){return w(v,I)},c=function(w,v,I){return w(v,I)},p=(function(w){return w(Object,1110892003)})(qt)(i,(function(w){return w(0)})(h6));if(p&&(function(w,v){return w(v,2813370411)})(qt,p))return!0;for(var m=0;s(m,i.length);m++){var y=o(qt,Object,1110892003)(i,m);if(y&&(c(qt,y,2813370411)||o(qt,y,1651707638)))return!0}return!1}var Pe=so([855787288,642990106,254096950,926556982,87375404,1278677006,408486424,1479671850,1785924,253259062,240523559,673514752,658445118,1391164,607131925,722936367,271014668,151655183,36375323,656347974,1445350919,353197617,423242801,1160005147,1512002869,420283957,536958245,86705444,656408603,100677635,20185122,556090667,202191150,724518191,792405557,102894606,623247373,587992400,658457902,186065947,138173228,910037367,2368541,1529157659,892869409,976305177,203760670,1010441050,942083341,505880599,858547496,472786520,104733226,488840738,977151779,154821378,1044189198,942025224,606622265,960446235,537939522,1427451664,1594829109,757486355,521087014,119085350,638781191,792409347,3607069,137245730,740307761,975647282,992231996,556677182,121255207,522468654,103100716,805591826,205345105,352982566,809188375,538263045,590744875,204342828,87438137,657730594,355141642,1430208096,990394680,70993686,825163804,1060643342,419658253,86454317,808395603,960181563,1394880291,723543328,1059455265,422468123,1512636726,523643153,874654019,741018648,472326400,438382882,19791956,101085447,788741643,117637695,134556468,576544002,1817775652,828261639,390094395,253639961,1880502074,370026788,807930146,3016495,1527136534,71514660,945292548,304222e3,1580941075,2110514,203960841,321666847,858338073,408755024,134358831,521999910,104796679,1141842004,1376664580,355614474,1581667629,1510485767,671100941,1062295126,370957148,254414105,1535071780,561394448,1494427185,539892273,120535346,203499292,522594859,471863338,775098909,1597979140,907887673,758332434,655825187,758207319,419572773,2133349379,909508638,122886204,123473464,1463621412,641018151,1376126269,1462121850,472787007,725356864,341384543,206715932,20988416,404560468,236535349,136583426,654445841,943666452,840316960,1027350080,674639121,153557559,1510280726,961623300,1008474660,973157633,443359752,656934418,1461592383,472779801,238290498,1058027540,644034587,68093212,1597246981,1544182280,469976413,238374721,1174618196,1194143029,336400700,2066110510,34473564,1344553036,873275941,372524551,591344222,623860493,641412978,288168465,742072848,958995498,604449289,221971308,1495672659,723588667,355544366,808599331,459040,943462687,908866865,942887995,908264973,36774146,503972959,657396518,255140875,922816319,1426597669,724636239,873869836,422207e3,738338618,403715596,687875167,874774529,1040791559,120850268,604126999,775167011,470361864,992484109,419635991,743185,154018116,641337180,755635292,254040613,222176514,857754138,2505515,707068717,101333848,757538096,621551931,37443895,1547319336,456857894,3999031,908491345,775432019,439162173,706096427,358119961,1058025846,437977936,102439689,574895878,356259076,372648449,1142819334,742401113,1058341645,1362637919,70005800,202582592,1192122395,236594727,839523131,1750337312,207570485,590873144,123355928,22029379,67645968,269812016,638015583,757087233,657734424,1345271600,740439809,1561926978,1560608781,285688601,387387163,910180890,959256594,456272657,573188414,943880979,1029446156,1073890833,1029574938,1007884807,693115144,222574848,436674607,1174818049,1545405479,1275535655,823416647,86462535,523833608,974464036,658321980,1114075158,185861637,487922498,471600394,639451455,537999451,520699919,1079979324,236797980,168450619,393283123,456001101,186713889,1493375013,488440356,923600390,756164122,655898448,825951036,1411784533,34609698,1208103527,1128159247,253245995,940584251,573441833,19400266,993726249,18425437,139266084,137047810,190711400,1527646996,36582975,978979125,287314201,108201025,1057162756,1583308301,489622303,293476447,840836395,406279465,554701144,471161609,861221689,722419267,1360213011,1143874879,909322020,2035428162,438440025,106244122,322058780,891553820,1360617229,860762642,723856384,322969613,238895933,842924835,1879190897,52179258,453527317,643782993,169476647,858128388,1091178016,453267755,1179072280,1511742509,1364295471,894177538,1547456852,339630853,942212098,640433433,930292802,1599102517,1279285263,1160643877,829502250,1143043844,1530134532,559155459,188100392,1815413542,890521399,220333865,1042559767,520753679,1899432762,369635096,825252367,186328081,1513044992,104291868,842078054,537864570,823793936,1163282459,453314382,1632586541,1159401523,151472718,219612436,1343881243,302413385,67122704,252322835,289281282,520961808,570699029,470824736,843333652,387845450,1180440642,355535121,472254981,206261077,341444100,285219076,439879490,1158377805,188762957,457966854,420087833,2046827521,722541333,1263228164,1510343692,503979288,772677403,942886173,118822420,1074859273,339172401,203161933,353775648,386806050,1363745804,34035503,1295078920,654974826,103553585,17500434,84149518,1212816394,341192510,303115534,305863945,1314328859,136125003,239478532,1129799731,185012293,504893725,1243356169,158746440,1226710058,169542741,940646154,352652561,439419943,376860481,469959197,520567564,16778499,994532938,805575194,201332246,424232781,219809552,825559315,2019624473,285350999,201785371,1129190437,352980301,353764925,1159268906,235294021,236258823,1128289801,269945915,35194673,437005072,85329174,387714572,274102343,83897604,956964102,285213966,1079384090,117586755,995588193,739054110,33755162,289099606,292814850,388764421,575359829,254878242,892283406,674169947,873859604,690695688,556934411,1532961317,269620487,137047589,19803402,891619353,774844708,773205285,420423187,589300788,539835481,959397124,537535801,589641006,622930724,673579048,167981855,671091755,437650701,756498733,704784648,774251013,975510574,335745584,1040792358,134424354,772089349,891158532,18422329,1041391729,139998271,286612271,626670900,958605350,856111142,724383270,372644648,773794620,855909183,540223547,203108701,906494980,1040720168,807150682,571218739,219101490,371001128,137049628,705576492,808659290,705692733,791022080,538653958,671624507,739063102,809906233,639962113,637745182,744239416,236529698,811540526,626862600,788995891,606877246,842204468,573770006,638135325,892486697,791755096,842940166,218240539,974075680,1007048511,555429381,388115255,1057830682,907621664,941633087,892021814,705508445,656356372,641149279,592446271,960046629,421476140,36057648,673325652,639245336,253309464,286404120,19138609,941505862,52178751,537019707,103819782,990131740,87893776,572400132,940786999,991251806,420435997,705108243,621752107,792157219,556736060,860304940,908527152,707673142,893072223,87437101,69927728,540938258,421737780,56494849,220529437,637555989,587807551,201721412,1293836041,809393727,2165761,119747921,760221964,942670122,523578142,1023565147,1946881594,1495147345,302056256,118113602,33882179,1024137755,1462240834,138296332,33948685,202726697,185470982,1577530626,18037005,758717254,857941269,959654443,858460691,640372776,555703830,321330014,1482629131,492570962,473434659,589234776,1042363916,725122873,521305974,1495996214,824716089,120401469,1175858246,603988531,723400211,590361130,892885286,728181053,874711586,704914987,607397390,673849635,858927916,1980441910,271717152,588463451,186264864,439096898,237511981,336863746,1445603842,958933259,655710269,739654685,707734794,691939104,17112595,1479220487,17311610,1585157,253636865,792142081,858725420,892469556,975571478,794635822,554644258,218577412,974917174,219283825,219108949,320604719,839200021,358887210,1009990432,895033669,270346552,369371943,170854914,288163108,822414375,135800369,201547047,218968081,537737542,185541933,1023878402,621038898,302923324,896737594,722614578,18820911,907806763,119221853,34611475,85931888,134429956,219358233,51716651,436478992,772030467,169813541,134233615,270402344,353573131,318904915,654518079,773797416,222570033,974721590,893719153,186589236,689707610,822608991,1027559461,103755568,890844441,740165382,370948908,170874206,742132011,823276892,252001627,185024067,236004399,542196259,655377180,573518398,772752423,68573239,993141293,671090230,50540551,207364644,688129835,51264102,69160960,823668001,186531879,1721438,542523258,51782502,839058447,889528634,1058743644,909337639,855709264,691550208,1111303721,908535824,639830843,437662578,4131881,639639610,404095542,907748360,756363024,774594342,925979405,909059125,574562367,1041766962,2833664,906497055,773928241,354893625,86265618,186593554,771772968,911815229,705440282,237767514,22363698,991902554,576651358,641030188,842007853,1044645642,791428699,674312229,591608893,572594698,102513465,838863909,236594769,324688386,336408621,371011385,823482709,772604988,671293188,673386800,121376300,673579281,841623353,254488125,890642453,359400763,171709191,1077742878,1158229763,942290951,761559636,808342563,1529619006,73138759,371406637,924855586,489358620,823667740,773799490,2118792263,510668586,50463006,979182891,56492606,1308764941,205980450,855642373,121183505,674956826,605370372,67440411,1277167410,573652306,1594245935,375074050,1194403380,555890965,255144200,1194992947,136513541,875576142,1024269850,1510682155,1042688287,168629537,354423099,369503541,355479608,21052219,855835153,1345463855,1042756404,190065709,973626116,761204497,123093823,1915165206,459220566,370027800,1580407058,506730774,1025124126,1510744383,387514687,1141319970,1565204261,1359103771,185995575,35596554,84096006,672404008,857878564,3032093,207364681,555304731,488660742,557915986,861239815,1074597388,372852262,506478175,755175171,2581879,100939293,537605408,956701468,1060906552,202447182,84023075,925892957,1448158238,455885632,456995842,236397832,789581071,486539295,923009595,1632458001,772084274,288971043,504107035,184943133,825691398,1313151757,219814218,370679576,1229983007,134546550,33752117,420092230,101057883,353308952,927730989,320602150,437864198,403773963,3948554,603989776,303508501,119413321,1192230914,441860171,122042880,471431969,101403907,871429,1175061276,438371390,1050900,201330949,1079580686,1498700612,174478106,438317072,1145045533,403514955,18481974,639055628,1866663195,486674503,286853695,826998811],Va,0);function g6(){for(var i={YQAxx:"0|2|4|1|3",NxnUc:"1|2|0|3|4|5",dRZXE:function(y,w){return y!==w},arEiG:function(y,w){return y(w)},FEyAC:function(y,w){return y|w},cUIUX:function(y,w){return y&w},vaJLl:function(y,w){return y&w},osTKi:function(y,w){return y(w)},vuPdB:function(y,w){return y+w},euenK:function(y,w){return y(w)}},s=i.YQAxx.split("|"),o=0;;){switch(s[o++]){case"0":var c={nkHEv:i.NxnUc,yPbQz:function(y,w){return i.dRZXE(y,w)},cIFeZ:function(y,w){return i.arEiG(y,w)},kGvFR:function(y,w){return i.FEyAC(y,w)},eFyAy:function(y,w){return i.cUIUX(y,w)},WLFtS:function(y,w){return i.vaJLl(y,w)},uzqnn:function(y,w){return i.osTKi(y,w)},rqcBN:function(y,w){return i.vuPdB(y,w)}};continue;case"1":Object.defineProperty(p,i.osTKi(Pe,2),{value:m});continue;case"2":var p=i.euenK($o,i.arEiG(Pe,0));continue;case"3":return p;case"4":var m=function(y){for(var w=c.nkHEv.split("|"),v=0;;){switch(w[v++]){case"0":var I=this[C];continue;case"1":var B;continue;case"2":var C=c.yPbQz(B=this[c.cIFeZ(Pe,1)],null)&&c.yPbQz(B,void 0)?B:0;continue;case"3":this[C]=c.kGvFR(c.eFyAy(I,~y),c.WLFtS(~I,y));continue;case"4":this[c.uzqnn(Pe,1)]=c.rqcBN(C,1);continue;case"5":return I}break}};continue}break}}function m6(i){var s,o,c,p=function(w,v){return w(v)},m=function(w,v){return w===v},y=function(w,v){return w(v)};return o=e.sH,c=function(){var w,v,I,B,C,X,Q=function(vt,bt){return p(vt,bt)},tt=function(vt,bt){return y(vt,bt)},nt=function(vt,bt,Vt,Ht,Wt){return(function(Tt,Dt,Xt,Qt,ne){return Tt(Dt,Xt,Qt,ne)})(vt,bt,Vt,Ht,Wt)},at=function(vt,bt){return p(vt,bt)},gt=function(vt,bt){return p(vt,bt)},_t=this;return(function(vt,bt,Vt){return vt(bt,Vt)})(e.YH,this,(function(vt){switch(vt.label){case 0:return w=window[p(Pe,3)],(v=m(s=w[p(Pe,4)],null)||m(s,void 0)?void 0:s.bind(w))?(I=y(Pe,5),B=p(Pe,6),C={},[4,Promise.all(I.map((function(bt){var Vt=function(Qt,ne,ce){return(function(Ee,ve,Se){return(function(Le,Ce,Ne){return Le(Ce,Ne)})(Ee,ve,Se)})(Qt,ne,ce)},Ht=function(Qt,ne){return Q(Qt,ne)},Wt=function(Qt,ne){return tt(Qt,ne)},Tt=function(Qt,ne){return(function(ce,Ee){return(function(ve,Se){return ve<Se})(ce,Ee)})(Qt,ne)},Dt=function(Qt,ne,ce,Ee,ve){return nt(Qt,ne,ce,Ee,ve)},Xt=function(Qt,ne){return gt(Qt,ne)};return nt(e.sH,_t,void 0,void 0,(function(){var Qt,ne,ce,Ee,ve,Se,Le,Ce;return(function(Ne,nn,Sn){return(function(pn,Fn,zn){return pn(Fn,zn)})(Ne,nn,Sn)})(e.YH,this,(function(Ne){switch(Ne.label){case 0:return Ne.trys.push([0,9,,10]),[4,Vt(v,bt,B)];case 1:return[4,Ne.sent()[Ht(Pe,7)]()];case 2:Qt=Ne.sent(),ne=Qt[Wt(Pe,8)](),ce=[92,189,203],Ee=0,Ne.label=3;case 3:if(!Tt(Ee,3))return[3,8];Ne.label=4;case 4:return Ne.trys.push([4,6,,7]),ve=C,Se=Wt(tr,bt),[4,Dt(y6,Qt,ne,i,ce)];case 5:return ve[Se]=Ne.sent(),[2];case 6:if((function(nn,Sn){return at(nn,Sn)})(b6,Le=Ne.sent()))return ce=Xt(w6,i),[3,7];throw Xt(E6,ce),Le;case 7:return Ee++,[3,3];case 8:return[3,10];case 9:return Ce=Ne.sent(),X=Ce,[3,10];case 10:return[2]}}))}))})))]):[2,null];case 1:if(vt.sent(),X&&m(Object.keys(C).length,0))throw X;return[2,C]}}))},o(this,void 0,void 0,c)}function y6(i,s,o,c){var p=function(I,B){return I(B)},m=function(I,B){return I(B)},y=function(I,B){return I(B)},w=function(I,B){return I(B)},v=function(I,B){return I(B)};return new Promise((function(I,B){s[w(Pe,9)]=function(C){return p(I,{i:m(qo,c),t:p(tr,C[m(Pe,10)]),s:s[m(Pe,11)],e:s[y(Pe,12)],p:w(Qn,C[v(Pe,13)])})},i[w(Pe,14)](o),s[(function(C){return C(15)})(Pe)]((function(C){return C(16)})(Pe),c).catch(B)}))}function w6(i){for(var s={UtaFw:"4|0|1|2|3",ulOIn:function(I,B){return I-B},pxHuO:function(I,B){return I>=B},pGlZB:function(I,B){return I(B)},ooLWC:function(I,B){return I+B},buezi:function(I,B){return I<<B},btVnF:function(I,B){return I%B},wSoGJ:function(I,B){return I*B},lowup:function(I,B){return I%B},hsYMn:function(I,B){return I*B}},o=s.UtaFw.split("|"),c=0;;){switch(o[c++]){case"0":var p=v.length;continue;case"1":var m=137;continue;case"2":for(var y=s.ulOIn(i.length,1);s.pxHuO(y,0);y--){var w=i[s.pGlZB(Pe,2)](s.ooLWC(s.buezi(y,8),m));v[s.btVnF(y,p)]^=s.ooLWC(w,s.wSoGJ(v[s.btVnF(s.ooLWC(y,1),p)],17)),m=w}continue;case"3":return s.pGlZB(Ar,s.pGlZB(Qn,v).slice(0,3));case"4":var v=new Uint8Array([s.lowup(Date.now(),1024),s.hsYMn(Math.random(),65536)]);continue}break}}function E6(i){for(var s=function(w,v){return w<v},o=function(w,v){return w+v},c=function(w,v){return w%v},p=function(w,v){return w-v},m=0;s(m,i.length);m++){var y=65;i[m]=o(y,c(i[m],p(122,y)))}}function b6(i){return(function(s,o){return s(o)})(Xo,i)&&(function(s,o){return s===o})("".concat(i),(function(s){return s(17)})(Pe))}function _6(){var i=function(s,o){return s(o)};return(function(s,o,c,p,m){return s(o,void 0,void 0,m)})(e.sH,this,0,0,(function(){var s,o,c,p=function(Q,tt){return i(Q,tt)},m=function(Q){return(function(tt){return tt()})(Q)},y=function(Q,tt){return(function(nt,at){return nt in at})(Q,tt)},w=function(Q,tt){return(function(nt,at){return nt(at)})(Q,tt)},v=function(Q,tt,nt,at){return(function(gt,_t,vt,bt){return gt(_t,vt,bt)})(Q,tt,nt,at)},I=function(Q,tt){return i(Q,tt)},B=function(Q,tt,nt,at){return(function(gt,_t,vt,bt){return gt(_t,vt,bt)})(Q,tt,nt,at)},C=function(Q,tt){return(function(nt,at){return nt(at)})(Q,tt)},X=function(Q,tt){return(function(nt,at){return nt&&at})(Q,tt)};return(function(Q,tt,nt){return Q(tt,nt)})(e.YH,this,(function(Q){switch(Q.label){case 0:return m(Um)?[2,!y(p(Pe,19),window[w(Pe,20)][p(Pe,21)])]:m(km)?[4,Promise.all([v(yl,I(Pe,22),(function(){return!0}),(function(){return!1})),B(yl,C(Pe,23),(function(){return!1}),(function(tt){return(function(nt){return(function(at,gt){return at instanceof gt})(nt,Error)})(tt)&&(function(nt,at){return(function(gt,_t){return gt===_t})(nt,at)})(tt.name,p(Pe,24))}))])]:[3,2];case 1:return s=Q.sent(),o=s[0],c=s[1],[2,X(o,c)];case 2:return[2,!1]}}))}))}function yl(i,s,o){var c=function(p,m){return p(m)};return new Promise((function(p){var m=function(I,B){return c(I,B)},y=c(Ga,i),w=y[1],v=y[2];if((function(I){return I!==0})(w))return(function(I){return I(!1)})(p);v[c(Pe,25)]((function(){return(function(I,B){return(function(C,X){return C(X)})(I,B)})(p,(function(I){return(function(B){return B()})(I)})(s))}),(function(I){return m(p,m(o,I))}))}))}var R6=Nn([229858650,783927519,3141207808,1645003411,2911373879,2084179082,2213201945,422262047,444852958,2568452659,961273073,4070116913,628296898,2516094721,19227916,46464143,2382904866,572186108,3147382845,1043469467,2611845399,171192596,1251730630,2338154040,2064948222,4070131749,623646351,2180159838,1719303453],7);function A6(){var i=function(s,o,c){return s(o,c)};return i(jn,i(Dn,2e3,{s:-2,v:null}),S6)}function S6(){var i,s=function(B){return B()},o=function(B,C){return B(C)},c=function(B,C){return B(C)},p=function(B,C){return B<C},m=function(B,C){return B===C},y=function(B,C,X){return B(C,X)},w=function(B,C,X){return B(C,X)},v=function(B,C){return B(C)},I=function(B,C){return B(C)};return(function(B,C,X,Q,tt){return B(C,void 0,void 0,tt)})(e.sH,this,0,0,(function(){var B,C,X,Q,tt,nt,at,gt,_t,vt,bt,Vt,Ht;return w(e.YH,this,(function(Wt){switch(Wt.label){case 0:B=window,C=s(g6),X=o(R6,0),Wt.label=1;case 1:for(Wt.trys.push([1,2,,5]),Q="".concat(c(ja,C[0])).concat(c(ja,C[1])).concat(o(ja,C[2])),tt=X[Q],nt=Object.values(tt),at={},gt=0,_t=(Ht=Object.keys(B)).slice.apply(Ht,nt);p(gt,_t.length);gt++)vt=_t[gt],bt=m(i=y(qt,Object,1110892003)(B,vt),null)||m(i,void 0)?void 0:w(qt,i,494360628),at[o(tr,vt)]={i:!0,t:null,s:vt.slice(-3),e:12,p:v(String,bt).slice(0,50)};return[2,{s:-3,v:at}];case 2:return Wt.sent(),[4,s(_6)];case 3:return Wt.sent()?[2,{s:-4,v:null}]:[4,I(m6,C)];case 4:return(Vt=Wt.sent())?[2,{s:0,v:Vt}]:[2,{s:-1,v:null}];case 5:return[2]}}))}))}function ja(i){return"".concat(_a[(function(s){return s>>4})(i)]).concat(_a[(function(s){return s%16})(i)])}var on=Nn([2849665133,3102332852,3030028940,2360597915,3649086422,4118989755,2159729800,2492790230,3150617845,3422263962,3398214861,3000338617,2163578059,3720000219,2782764965,3422263962,3600523980,2895432685,2292567243,3617170646,3986333093,2578762955,2596645530,2227996313,2259142812,3700204490,3100285842,3422263963,3903489002,2496302258,2360989318,3615531995,4120169401,2192956830,3971720145,3000875412,2277047195,3431641814,4124477118,2273483461,3481713107,2781523129,3321219718,3599275162,4157376185,2293418634,3418993356,3067464120,3120021895,4221285085,3000403896,2260651146,2496373974,3051664885,2293418634,3735466700,2345307313,3287931573,3669330832,3151268020,2192890251,2525727716,3051664893,3382957959,3448764377,3201075897,3045840518,3837111258,2966063285,2276644252,3402212556,3201145010,3048463771,2462561764,2816128395,2359614875,3837109206,4221223093,2209732555,2594026717,2782776315,2862995355,2592912343,2781727739,3422263941,3683431633,3202123702,2359548301,3617301981,4120169381,2595804298,2496377821,3100936949,2257903002,3683432918,3117908131,2331350219,3431510730,2748951986,2294283144,3565992406,2564589462,2612190863,3687578522,2999682747,2277103530,3516773597,3220146104,2625885836,3601643978,2325387955],3);function wl(i){var s=function(c,p,m){return c(p,m)},o=qt(i,928136154);return(0,e.sH)(this,void 0,void 0,(function(){var c,p,m=function(I){return(function(B){return B()})(I)},y=function(I,B){return(function(C,X){return C===X})(I,B)},w=function(I,B,C){return s(I,B,C)},v=function(I,B,C){return(function(X,Q,tt){return X(Q,tt)})(I,B,C)};return s(e.YH,this,(function(I){switch(I.label){case 0:return c=m(If),[4,w(jn,v(Dn,300,-4),I6.bind(null,c,o))];case 1:return p=I.sent(),[2,function(){var B=(function(C){return m(C)})(p);return(function(C){return y(C,0)})(B)||(function(C){return y(C,-4)})(B)?{s:B,v:{u:c,e:[],s:[]}}:{s:B,v:null}}]}}))}))}function I6(i,s){var o=function(p,m,y){return p(m,y)},c=function(p,m,y){return p(m,y)};return(function(p,m,y,w,v){return p(m,void 0,void 0,v)})(e.sH,this,0,0,(function(){var p,m,y,w,v,I,B,C,X=function(gt,_t,vt){return o(gt,_t,vt)},Q=function(gt,_t,vt){return c(gt,_t,vt)},tt=function(gt,_t){return(function(vt,bt){return vt!==bt})(gt,_t)},nt=function(gt,_t,vt){return c(gt,_t,vt)},at=function(gt,_t,vt){return(function(bt,Vt,Ht){return bt(Vt,Ht)})(gt,_t,vt)};return(function(gt,_t,vt){return gt(_t,vt)})(e.YH,this,(function(gt){switch(gt.label){case 0:if(p=X(O6,i,s),m=X(T6,p,!0),y=Q(qt,m,453955339),w=Q(qt,m,1801730948),tt(y,0))return[2,y];v=X(B6,w,s),gt.label=1;case 1:return gt.trys.push([1,,4,5]),[4,nt(qt,v,142982734)()];case 2:return I=gt.sent(),B=Q(qt,I,453955339),C=Q(qt,I,1801730948),tt(B,0)?[2,B]:[4,at(qt,w,76151562)(C)];case 3:return gt.sent(),[2,0];case 4:return(function(_t,vt){return o(_t,vt,107910612)})(qt,v)(),[7];case 5:return[2]}}))}))}function O6(i,s){for(var o={AvCwh:"2|1|5|0|3|4",sALZI:function(w,v){return w(v)}},c=o.AvCwh.split("|"),p=0;;){switch(c[p++]){case"0":var m={};continue;case"1":y[o.sALZI(on,1)]=o.sALZI(N6,s);continue;case"2":var y=o.sALZI(on,0);continue;case"3":m[o.sALZI(on,3)]=[y];continue;case"4":return m;case"5":y[o.sALZI(on,2)]=i;continue}break}}function N6(i){var s=function(o,c){return o(c)};return s(on,4).concat((function(o,c,p){return o(c,p)})(Da,i,s(on,5)))}var El=on(6);function T6(i,s){for(var o={xqmnO:"4|3|0|2|1",SaOtC:function(w,v){return w instanceof v},xPGBK:function(w,v){return w===v},DCAVD:function(w,v){return w(v)},fgKXx:function(w,v){return w(v)}},c=o.xqmnO.split("|"),p=0;;){switch(c[p++]){case"0":var m;continue;case"1":return{s:0,v:m};case"2":try{m=new y(i)}catch(w){if(o.SaOtC(w,Error)){if(o.xPGBK(w.name,El))return{s:-6,v:null};if(o.DCAVD(L6,w))return{s:-9,v:null}}throw w}continue;case"3":if(!y)return{s:-3,v:null};continue;case"4":var y=s?window[o.fgKXx(on,7)]||window[o.DCAVD(on,8)]:window[o.DCAVD(on,7)];continue}break}}function x6(i,s){var o,c=function(p,m){return p===m};try{return c(o=(function(p,m){return p(m,34843658)})(qt,i),null)||c(o,void 0)||o.call(i,s||Math.random().toString()),0}catch(p){if((function(m){return m instanceof Error})(p)&&c(p.name,El))return-7;throw p}}function L6(i){return(function(s,o){return s===o})(i.name,(function(s){return s(9)})(on))&&(function(s,o){return s(o,3632233996)})(qt,new RegExp((function(s){return s(10)})(on)))((function(s,o){return s(o,3065852031)})(qt,i))}function uo(i){try{qt(i,318865860)()}catch{}}function C6(i,s){var o=function(c,p,m){return c(p,m)};return(function(c,p,m,y,w){return c(p,void 0,void 0,w)})(e.sH,this,0,0,(function(){var c,p;return(function(m,y,w){return m(y,w)})(e.YH,this,(function(m){switch(m.label){case 0:try{c=(function(y,w,v){return o(y,w,v)})(qt,i,882066760)(s)}catch(y){if(!(function(w,v){return(function(I,B){return I instanceof B})(w,v)})(y,Error)||!(function(w,v,I){return o(w,v,I)})(qt,new RegExp((function(w){return(function(v){return v(11)})(w)})(on),"i"),3632233996)((function(w,v,I){return o(w,v,I)})(qt,y,3065852031)))throw y;c=new Promise((function(w,v){(function(I,B){return(function(C,X,Q){return o(C,X,Q)})(I,B,882066760)})(qt,i)(w,v,s)}))}return[4,c];case 1:return(function(y){return(function(w,v){return w===v})(y,void 0)})(p=m.sent())?[2,{s:-8,v:null}]:[2,{s:0,v:p}]}}))}))}function B6(i,s){var o,c,p=function(Tt,Dt){return Tt(Dt)},m=function(Tt,Dt){return Tt===Dt},y=function(Tt,Dt,Xt){return Tt(Dt,Xt)},w=function(Tt,Dt){return Tt(Dt)},v=function(Tt,Dt){return Tt!==Dt},I=function(Tt,Dt){return Tt in Dt},B=function(Tt,Dt){return Tt in Dt},C=function(Tt){return Tt()},X=function(Tt,Dt){return Tt(Dt)},Q=function(Tt,Dt,Xt){return Tt(Dt,Xt)},tt=function(Tt,Dt,Xt){return Tt(Dt,Xt)},nt=function(Tt,Dt,Xt,Qt,ne){return Tt(Dt,Xt,Qt,ne)},at=this;function gt(Tt,Dt){return p(_t,Tt)&&m(y(qt,Tt,3920415024),400)&&y(qt,Tt,4101391790).includes(Dt)}function _t(Tt){return m(typeof Tt,w(on,12))&&v(Tt,null)&&I(p(on,13),Tt)&&B(w(on,14),Tt)}var vt=null,bt=!1;function Vt(){var Tt=function(Xt,Qt){return(function(ne,ce){return ne!==ce})(Xt,Qt)},Dt=function(Xt,Qt){return w(Xt,Qt)};return nt(e.sH,this,void 0,void 0,(function(){var Xt,Qt,ne,ce;return(function(Ee,ve,Se){return tt(Ee,ve,Se)})(e.YH,this,(function(Ee){switch(Ee.label){case 0:return Xt=(function(ve,Se){return X(ve,Se)})(x6,i),Tt(Xt,0)?[2,{s:Xt,v:null}]:[4,Dt(C6,i)];case 1:return Qt=Ee.sent(),ne=(function(ve,Se){return Q(ve,Se,453955339)})(qt,Qt),ce=(function(ve,Se){return(function(Le,Ce,Ne){return Le(Ce,Ne)})(ve,Se,1801730948)})(qt,Qt),Tt(ne,0)?[2,{s:ne,v:null}]:[2,{s:0,v:ce}]}}))}))}s&&tt(qt,i,123626528)(on(15),(function(Tt){y(gt,Tt,s)&&(vt?(C(vt),vt=null,X(uo,i)):bt=!0)}));var Ht,Wt=((o={})[Ht=on,Ht(17)]=function(){return(function(Tt,Dt){return Tt(Dt)})(uo,i)},o[(function(Tt){return Tt(18)})(on)]=function(){var Tt=function(Xt){return C(Xt)},Dt=function(Xt,Qt,ne){return(function(ce,Ee,ve){return ce(Ee,ve)})(Xt,Qt,ne)};return nt(e.sH,at,void 0,void 0,(function(){var Xt;return Dt(e.YH,this,(function(Qt){switch(Qt.label){case 0:return[4,Tt(Vt)];case 1:return Xt=Qt.sent(),(function(ne){return v(ne,0)})(Dt(qt,Xt,453955339))&&(function(ne,ce){p(ne,ce)})(uo,i),[2,Xt]}}))}))},o);return s?Q(qt,Object,1914874273)(Wt,((c={})[(function(Tt){return Tt(19)})(on)]=function(){m((function(Tt,Dt){return Tt(Dt,4184312542)})(qt,i),p(on,16))||(bt?(function(Tt,Dt){Tt(Dt)})(uo,i):vt=(function(Tt,Dt,Xt,Qt){return Tt(Dt,5e3,Qt)})(Ko,uo,0,i))},c)):Wt}var Pn=so([1158230590,352328197,922751784,234887733,1045777409,235013451,1077693209,86185296,321396490,462366,488115742,1213075980,4402479,184943903,188551425,1398147351,268897603,491523647,306988571,1261376568,269223502,570890009,34866732,470426899,403966778,253756433,304419089,491347009,508233756,403654977,421396492,1329803025,184551506,1057755406,136120322,118163754,373378420,453843998,1159464460,319444544,855642889,402851378,1191248155,151015493,219352090,67375366,17696018,1263095066,420348421,21908811,168961297,171640095,14413],y5,2);function M6(){var i=function(y,w){return y(w)},s=function(y,w){return y(w)},o=function(y,w,v){return y(w,v)},c=function(y,w){return y<w},p=function(y,w,v){return y(w,v)},m=function(y,w,v){return y(w,v)};return(function(y,w,v,I,B){return y(w,void 0,void 0,B)})(e.sH,this,0,0,(function(){var y,w,v,I,B,C,X,Q;return o(e.YH,this,(function(tt){switch(tt.label){case 0:return(function(nt){return nt()})(Dm)?[2,[-1,NaN]]:(y=new Uint8Array([0]),w=i(Pn,0),[4,navigator[i(Pn,1)](s(Pn,2),w)]);case 1:return[4,tt.sent()[s(Pn,3)]()];case 2:return v=tt.sent(),[4,o(bl,v,y)];case 3:if(I=tt.sent(),!(B=c(I,10)))return[3,5];for(C=o(sm,10,2500),X=(function(nt){return nt-1})((function(nt,at){return nt-at})(C,I)),Q=0;c(Q,X);Q++)p(U6,v,y);return[4,m(bl,v,y)];case 4:I=tt.sent(),tt.label=5;case 5:return[2,[B?1:0,I]]}}))}))}function k6(){return(function(s,o){return s==o})(typeof navigator[i=Pn,i(1)],(function(s){return s(4)})(Pn));var i}function bl(i,s){var o=function(c,p){return c(p)};return(function(c,p,m,y,w){return c(p,void 0,void 0,w)})(e.sH,this,0,0,(function(){var c,p=function(v,I){return o(v,I)},m=function(v,I){return o(v,I)},y=function(v,I){return o(v,I)},w=function(v,I){return o(v,I)};return(function(v,I,B){return v(I,B)})(e.YH,this,(function(v){switch(v.label){case 0:return[4,(c=i[p(Pn,5)]())[p(Pn,6)](m(Pn,7),s)];case 1:return v.sent(),[2,y(Number,c[w(Pn,8)])]}}))}))}function U6(i,s){var o=function(p,m){return p(m)},c=i[o(Pn,5)]();o(eo,c[o(Pn,6)]((function(p){return p(7)})(Pn),s))}function D6(){var i=function(s,o,c){return s(o,c)};return(function(s,o,c,p,m){return s(o,void 0,void 0,m)})(e.sH,this,0,0,(function(){var s=function(y){return(function(w){return w()})(y)},o=function(y,w,v){return i(y,w,v)},c=function(y,w,v){return i(y,w,v)},p=function(y,w,v){return i(y,w,v)},m=this;return(0,e.YH)(this,(function(y){var w=function(I){return s(I)},v=function(I,B){return(function(C,X){return(function(Q,tt){return Q===tt})(C,X)})(I,B)};return s(k6)?[2,c(jn,p(Dn,500,{s:-2,v:null}),(function(){var I=function(X){return w(X)},B=function(X,Q){return v(X,Q)},C=function(X,Q,tt){return(function(nt,at,gt){return o(nt,at,gt)})(X,Q,tt)};return(function(X,Q,tt,nt,at){return(function(gt,_t,vt,bt,Vt){return(function(Ht,Wt,Tt,Dt,Xt){return Ht(Wt,Tt,Dt,Xt)})(gt,_t,vt,bt,Vt)})(X,Q,void 0,void 0,at)})(e.sH,m,0,0,(function(){var X,Q=function(tt){return I(tt)};return C(e.YH,this,(function(tt){switch(tt.label){case 0:return[4,Q(M6)];case 1:return(function(nt){return B(nt,-1)})((X=tt.sent())[0])?[2,{s:-3,v:null}]:[2,{s:0,v:X}]}}))}))}))]:[2,function(){return{s:-1,v:null}}]}))}))}var as=so([89472536,67911963,202988290,386077465,1866537770,1224742518,488243476,419627011,184819487,437598027,340225859,172033032,437716482,471155211,1095068177,1092107040,419499526,423762697,100665116,490210839,1194790674,673115,85280006,1510540548,2756129,939992591,1246643516,1108281098,52370449,641031181,822350097,201595136,1447512348,1107565334,605101077,923815180,201460231,369557787,421401919,370608902,386208007,1158809130,67652933,420829977,1325996060,705104933,100734005,18485518,1079117841,520555597,117716299,441132557,117836552,454886414,1079380231,235285315,167851373,438045445,354104902,218503945,1450723136,1261309460,853525,339100932,1443038736,103498560,3566862,1175192861,252709131,16777237,1984516105,1829509143,185926151,436356353,185073670,1779174662,991969605,50610456,1275666182,419565839,202771726,1124408096,135546735,168313092,253563142,135813653,822480166,72178038,222758157,52298251,454823449,56244746,1427123716,67914571,353589766,51775754,625419022,219166498,1258491144,521093188,151601409,456523793,678234648,169481234,118557701,391005526,241568771,422784012,438716682,1309089280,806492,990010373,638390299,134885451,1481180934,17176407,655231834,2049314574,84410418,220531716,167778574,105923661,106502459,185600556,170279180,1046087172,151977997,35061763,1263338788,84282176,52366156,1544356616,420816433,50605842,1229146882,1511529224,186319630,4664589,35268139,100748290,1379942427,1174536207,322636309,208471067,373756952,7684,1481509910,69665358,440083533,1174866696,403505177,1129127711,956961098,571674714,285606663,67257606,151460637,725827670,862785030,168106503,289803037,203297033,1197361671,1327110967,169477163,84548876,1840656,1325404447,537919532,1158350651,118114894,454640143,269026054,471146315,372321280,1196229131,421140297,17891399,256321038,167983925,135074069,1379942427,1174536207,523897886,187303186,16788313,1007685120,1447054106,1193610767,121055758,235738112,118572573,1091181577,956569372,1632457991,1191843846,387122178,420174362,755830297,929124171,222888474,50727960,118447621,1229986830,202905462,51517293,1159661069,219156518,1296957445,772541034,285869946,471598093,437591628,102564608,341211207,72035854,453396244,286989059,252909895,100927823,207059041,440798984,347163,218169348,389222492,3416153,1128989210,404424777,102242906,1193875213,338048784,17827353,1077939469,33558354,973080134,923734551,118361931,390678349,407312666,756351505,606227719,1078676741,1275397643,369236248,102176796,152328767,505090338,1195966464,68884054,402849858,604117287,387586598,184555596,52366851,290079565,39467274,337061379,1044450054,822546697,1309087752,202009165,100891182,1259996933,521093188,51986689,390009692,187041819,1296385283,1528366088,1539,1194856717,20458516,188762957,374080774,100861208,604249353,906778884,134487574,1444022019,51205721,688201243,275581722,638910490,553654793,438246915,1191185666,68310648,100862061,1157897218,203233559,1296957442,1829962602,35198010,17122832,1079118092,101515597,370942795,117714965,54019863,889585674,1079385113,386672195,236790637,420024595,406539288,689707789,956765442,1198474037,1091441944,102564636,119409668,205263381,108670990,151781382,1313753605,457245696,855645709,391058950,235019008,471534109,474699863,756351517,540018203,272974679,51463965,386470914,67506497,1297423660,1224806753,520230941,878058775,289625664,571801658,289411104,88480259,1641997,388317194,1477786881,50998065,521022728,202398474,33949981,1095115776,1582986863,239750725,289150477,469830174,14416],Va,2);function _l(){return as(0)}function P6(){return(0,e.sH)(this,void 0,void 0,(function(){var i,s,o;return(function(c,p,m){return c(p,m)})(e.YH,this,(function(c){var p=function(m,y){return(function(w,v){return w(v)})(m,y)};switch(c.label){case 0:return i=(function(m){return m()})(_l),[4,Promise.all(i.map(F6))];case 1:return s=c.sent(),o={},i.forEach((function(m,y){var w=p(tr,m).toString(16);o[w]=s[y]})),[2,o]}}))}))}function F6(i){var s=function(o,c){return o(c)};return new Promise((function(o){var c=s(as,1).concat(i,s(as,2));try{var p=(function(w,v){return w(v)})(Ga,c),m=p[1],y=p[2];if((function(w){return w!==0})(m))return void(function(w,v){w(v)})(o,m);y[(function(w){return w(3)})(as)]((function(){return s(o,0)}),(function(){return(function(w){return s(w,-1)})(o)}))}catch{s(o,-2)}}))}var V6=Nn([4291220175,857170018,1001396817,1198736693],6);function Rl(){var i=function(s,o,c){return s(o,c)};return(0,e.sH)(this,void 0,void 0,(function(){var s=function(v){return(function(I){return I()})(v)},o=function(v,I){return(function(B,C){return B(C)})(v,I)},c=function(v,I,B){return(function(C,X,Q){return C(X,Q)})(v,I,B)},p=function(v,I,B,C,X){return(function(Q,tt,nt,at,gt){return Q(tt,nt,at,gt)})(v,I,B,C,X)},m=function(v,I,B){return(function(C,X,Q){return C(X,Q)})(v,I,B)},y=function(v,I,B){return i(v,I,B)},w=this;return i(e.YH,this,(function(v){var I=function(tt){return s(tt)},B=function(tt){return s(tt)},C=function(tt,nt){return o(tt,nt)},X=function(tt,nt,at){return c(tt,nt,at)},Q=function(tt,nt,at,gt,_t){return p(tt,nt,at,gt,_t)};switch(v.label){case 0:return[4,m(jn,y(Dn,500,{s:-2,v:null}),(function(){var tt=function(at){return B(at)},nt=function(at,gt){return C(at,gt)};return Q(e.sH,w,void 0,void 0,(function(){var at;return(function(gt,_t,vt){return X(gt,_t,vt)})(e.YH,this,(function(gt){switch(gt.label){case 0:return(function(_t){return I(_t)})(_l)?(function(_t){return I(_t)})(sl)?(at={s:0},[4,tt(P6)]):[2,{s:-1,v:null}]:[2,{s:-3,v:null}];case 1:return[2,(at[nt(V6,0)]=gt.sent(),at)]}}))}))}))];case 1:return[2,v.sent()]}}))}))}function H6(){return{s:0,v:"serviceWorker"in Navigator.prototype}}function Al(){return{s:0,v:!!window.isSecureContext}}var Gt=so([37637135,1447917654,1074862848,221320987,185417728,1279479069,287641348,1585126709,277761,1427768864,1124076042,2035529,455018507,23675461,120393521,1444036433,1141263183,303105822,319645969,1275726848,36457547,388709920,101924677,1077349638,303367169,135938595,1112349448,153357637,121505586,1480802129,1141246529,839976462,805901,167780891,1160643090,511382904,402929730,1381389121,68162311,1195642647,185270282,342447173,288103456,254704215,1208027939,253560323,369581389,17177344,138102537,455935783,39531596,1195379206,236466755,203181062,1581711622,523115086,3539255,286744647,1544706816,324279305,285825290,1174470656,37573638,1530878519,353133582,353131799,133385,1476726039,1511722500,1328372255,321869181,1226406481,437012226,1090917145,1258885148,253318160,1513180693,1227046965,1410678607,1342657549,425461277,474174799,340006467,1549931597,476332332,1229857560,235819533,223288402,491280640,1142379025,36132127,186666528,223027998,1427178840,1544423503,1578239775,1310394885,136860420,1547191847,408580948,1381244166,253559122,306596941,184767552,1512328723,1228555109,693174606,1108418398,425464923,1413482013,1192695620,526847309,494081918,122363912,1532891471,408493381,1430543951,889345088,292959062,342691121,223027723,1532560969,408420677,1413482012,1192629828,510070093,494081150,122364424,442325327,1011230978,101538648,373754205,140579917,24319871,239805199,1499006537,458752325,1413482015,1192564036,1466371405,691295613,39585552,1195379206,1364738631,1413750089,186471488,154737427,321591924,454109517,1281100816,554256710,268918530,1197360921,237579847,472910394,1565618756,1393893187,135923539,135938563,370036567,37573653,1228888631,100936803,17566743,391388169,120063254,436405788,291700750,388832305,436733275,135007239,340663119,1212227414,34873431,158013954,289151081,1497971729,222381907,1212243039,286081374,408027209,24710402,1115119484,1146055183,1142444618,1543655963,68837124,1073825552,1261573663,169885754,1510962778,218959899,403528705,1258684700,1108809489,523386889,1547125292,1478042459,1477265165,223304471,289954048,471666260,1466111750,1098210424,1196255759,358111311,1448625219,1380194633,1581472325,1365728331,1148542584,1162702351,374889039,1448624963,1464080457,1497585989,1348951115,1114987896,1095593487,341334351,1516061507,1159481353,470700572,1328680725,169885755,223294735,253445402,240651031,1225806923,387399942,526713163,73549612,104933442,1397696089,303759937,167860492,18698759,239013651,326172731,1581787227,353831957,973232649,939619857,1197359924,325393500,490346033,1225074764,69022230,323956569,387799296,1427984135,355216922,1512643387,876704531,1159331841,1225989126,323486805,491724040,170532189,3932708,101063192,151264268,559176543,17187847,1174929664,292243286,108600373,201600537,1141251095,1561346096,1532632579,470363986,36047110,343480890,117930573,1850605643,558522182,67846665,1565,1197629007,1178209058,286466373,1325800471,420546127,1726481,503451194,325257995,460660088,201600525,1394279936,474962699,1195659335,252321034,35195667,3934778,286339955,1142554639,290872909,151870732,1275724032,304761931,1585119520,16939096,1312359695,1532368651,185025351,1108495628,37293381,641473077,18162246,223742993,68948301,386745862,1112345356,86776901,472667701,1443637324,1899187023,420554298,1726481,151919676,1164397570,637610752,723781750,1698308129,1127431206,707465033,707802681,1265187380,388767606,1480802134,1208360513,69211931,387799325,1279479052,103685124,319425312,286075470,1515735825,102047565,285492259,1414339852,103678021,103418662,1447896833,1074862848,137762587,388974859,1277106694,36457547,472919072,454237511,1077418262,352394518,105513287,437127707,35796994,1349864483,352593984,1412828183,319886345,71958855,1276910865,1040796747,755641088,724770675,1815160102,1126186026,892276553,135933244,842599169,389943079,558069249,1848778797,1297497917,286083655,505351716,102304258,1346111802,286423055,56118039,1645594,1195642645,252321034,303696659,555752497,1480797766,1476414232,1532368671,134306119,253434892,1265180170,120982902,1313025613,56104017,251731212,1195642641,1009400376,572076350,605364487,1447917670,2015634976,572924208,373948743,1275729152,637946955,923480324,1480793698,1326521153,822482699,1192975876,1276392517,103678468,507000870,1313029974,307910968,1381646915,1447435593,1110597189,103023173,1344872752,402815001,50726918,352800835,705519370,1280658713,354687508,790907953,453146639,1611007503,34932251,185417741,1112349725,35788869,1349864483,924139332,1141250838,69207553,387799325,1279479052,103685124,488246048,436221774,1109011463,319886848,1192427847,185404933,1165052939,490340401,1444101959,1129727262,253564170,17188919,255794444,1265179924,104602998,286339955,1142554639,307650125,204101888,472386311,1161501448,388582520,101596241,1109002254,1129861130,1193230859,470502725,1265178886,372706166,105084417,1293621766,337975065,907108096,1112349452,388629317,104339975,1447917638,1075382038,85000735,105513287,739647238,36505618,808860198,285686870,56118033,135928585,1229604118,203037771,1161758474,121326712,100940869,1280722241,305463822,1191920412,1042828613,388637490,389873945,641955329,53487654,336023619,387599367,1112348168,589568581,657988149,1480791665,1192886337,1129861120,270092311,790305804,322637571,470817841,692270405],w5,0);function G6(){var i=function(s,o){return s(o)};return i(Gt,0)&&navigator[i(Gt,0)]}function j6(){var i=function(s,o){return s(o)};return document[i(Gt,1)](i(Gt,2))[i(Gt,3)](i(Gt,4))}function Y6(i,s){return o=e.sH,c=function(){var p,m,y,w,v=function(B,C){return(function(X,Q){return X(Q)})(B,C)},I=function(B,C,X,Q){return(function(tt,nt,at,gt){return tt(nt,at,gt)})(B,C,X,Q)};return(function(B,C,X){return B(C,X)})(e.YH,this,(function(B){switch(B.label){case 0:return p=Array.from((function(C){return(function(X){return X===null})(C)})(i)||(function(C){return(function(X){return X===void 0})(C)})(i)?void 0:i[v(Gt,5)].values()),[4,Promise.all([I(z6,i,p,s),v(Z6,i)])];case 1:return m=B.sent(),y=m[0],w=m[1],[2,[y,w,p]]}}))},o(this,void 0,void 0,c);var o,c}var Ei=16;function z6(i,s,o){var c=function(vt,bt){return vt(bt)},p=function(vt,bt){return vt*bt},m=function(vt,bt){return vt(bt)},y=function(vt,bt){return vt(bt)},w=function(vt,bt){return vt+bt},v=function(vt,bt){return vt(bt)},I=function(vt,bt){return vt(bt)},B=function(vt,bt){return vt(bt)},C=function(vt,bt){return vt(bt)},X=function(vt,bt){return vt(bt)},Q=function(vt,bt){return vt(bt)},tt=function(vt,bt){return vt(bt)},nt=function(vt,bt){return vt(bt)},at=function(vt,bt){return vt(bt)},gt=function(vt,bt){return vt+bt},_t=function(vt,bt){return vt+bt};return(function(vt,bt,Vt,Ht,Wt){return vt(bt,void 0,void 0,Wt)})(e.sH,this,0,0,(function(){var vt,bt,Vt,Ht,Wt,Tt,Dt,Xt,Qt,ne,ce,Ee,ve,Se,Le,Ce,Ne,nn,Sn,pn,Fn,zn,Wn,Nr,Xr,nr,fn,Mt={LIcVF:"1|3|2|0|4",CVGyL:function(Nt,xt){return c(Nt,xt)},NQGua:function(Nt,xt){return p(Nt,xt)},IxGbO:function(Nt,xt){return m(Nt,xt)},qQoQh:function(Nt,xt){return c(Nt,xt)},eRsOG:function(Nt,xt){return(function(Jt,ae){return Jt%ae})(Nt,xt)},sTGJP:function(Nt,xt){return y(Nt,xt)},bLKEM:function(Nt,xt){return(function(Jt,ae){return Jt/ae})(Nt,xt)},BfmPO:function(Nt,xt){return(function(Jt,ae){return Jt/ae})(Nt,xt)},qiUeQ:function(Nt,xt){return(function(Jt,ae){return Jt/ae})(Nt,xt)},QCXCI:function(Nt,xt){return(function(Jt,ae){return Jt*ae})(Nt,xt)},YuwoT:function(Nt,xt){return w(Nt,xt)},NzoFK:function(Nt,xt){return y(Nt,xt)},nStre:function(Nt,xt){return v(Nt,xt)},cgngL:function(Nt,xt){return I(Nt,xt)},lnSsO:function(Nt,xt){return B(Nt,xt)},LWtIu:function(Nt,xt){return I(Nt,xt)},rnbTq:function(Nt,xt){return B(Nt,xt)},vXgTw:function(Nt,xt){return(function(Jt,ae){return Jt|ae})(Nt,xt)},SGWhR:function(Nt,xt){return y(Nt,xt)},tJskz:function(Nt,xt){return v(Nt,xt)},WwBMK:function(Nt,xt){return y(Nt,xt)},XvGWM:function(Nt,xt){return I(Nt,xt)},Czazt:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)},TcuLX:function(Nt,xt){return C(Nt,xt)},qmLme:function(Nt,xt){return X(Nt,xt)},DHpBv:function(Nt,xt){return c(Nt,xt)},GXSjU:function(Nt,xt){return I(Nt,xt)},lZchU:function(Nt,xt){return(function(Jt,ae){return Jt|ae})(Nt,xt)},kdFZM:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)},fjLlD:function(Nt,xt){return Q(Nt,xt)},NZEUH:function(Nt,xt){return B(Nt,xt)},rMQcE:function(Nt,xt){return X(Nt,xt)},cmdDW:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)},fMGTS:function(Nt,xt){return v(Nt,xt)},Megnu:function(Nt,xt){return tt(Nt,xt)},dwDBV:function(Nt,xt){return(function(Jt,ae){return Jt<ae})(Nt,xt)},UStju:"16|13|12|14|1|11|3|2|15|6|5|0|7|8|4|10|9",yPtzU:function(Nt,xt){return(function(Jt,ae){return Jt===ae})(Nt,xt)},hIuvn:function(Nt,xt){return tt(Nt,xt)},LUaAI:function(Nt,xt){return nt(Nt,xt)},KBsRE:function(Nt,xt){return c(Nt,xt)},eiLib:function(Nt,xt){return p(Nt,xt)},gsIFj:function(Nt,xt){return C(Nt,xt)},ymkbA:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)},RTTay:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)},SXGAR:function(Nt,xt){return at(Nt,xt)},rLyth:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)},lnNJb:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)},HtEmG:function(Nt,xt){return p(Nt,xt)},kEERD:function(Nt,xt){return(function(Jt,ae){return Jt+ae})(Nt,xt)},lEDdr:function(Nt,xt){return gt(Nt,xt)},VfkAG:function(Nt,xt){return w(Nt,xt)},FQVYm:function(Nt,xt){return nt(Nt,xt)},rjquO:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)},zCjNE:function(Nt,xt){return at(Nt,xt)},HfSqy:function(Nt,xt){return Q(Nt,xt)},xEOfR:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)},CsGxJ:function(Nt,xt){return y(Nt,xt)},CPukW:function(Nt,xt){return m(Nt,xt)},uiTcO:function(Nt,xt){return(function(Jt,ae){return Jt*ae})(Nt,xt)},gvEcj:function(Nt,xt){return _t(Nt,xt)},qonBa:function(Nt,xt){return _t(Nt,xt)},SQuSM:function(Nt,xt){return(function(Jt,ae){return Jt+ae})(Nt,xt)},qLjkZ:function(Nt,xt){return(function(Jt,ae){return Jt*ae})(Nt,xt)},XMYnt:function(Nt,xt){return gt(Nt,xt)},YtxIQ:function(Nt,xt){return(function(Jt,ae){return Jt(ae)})(Nt,xt)}};return(function(Nt,xt,Jt){return Nt(xt,Jt)})(e.YH,this,(function(Nt){switch(Nt.label){case 0:return[4,i[Mt.sTGJP(Gt,6)]({requiredFeatures:s})];case 1:for(vt=Nt.sent(),bt=Math.PI,Vt=[[0,1,0,Mt.bLKEM(bt,7)],[1,0,0,Mt.bLKEM(bt,8)],[0,1,1,Mt.BfmPO(bt,4)],[1,2,1,Mt.qiUeQ(bt,8)]],Ht=Vt.length,Wt=new Uint8Array(Mt.QCXCI(Ht,Mt.YuwoT(Mt.YuwoT(16,Ei),8))),Tt=navigator[Mt.IxGbO(Gt,0)][Mt.NzoFK(Gt,7)](),o[Mt.nStre(Gt,8)]({device:vt,format:Tt}),Dt=vt[Mt.cgngL(Gt,9)](Mt.IxGbO(Gt,10)),Xt=vt[Mt.CVGyL(Gt,11)]({label:Mt.IxGbO(Gt,12),layout:Mt.cgngL(Gt,13),vertex:{module:Dt},fragment:{module:Dt,targets:[{format:Tt}]},primitive:Mt.lnSsO(Gt,14)}),Qt=[[255,0,0,255],[0,255,0,255],[0,0,255,255]],ne=new Uint8Array(Mt.cgngL(Array,Mt.NQGua(7,9)).fill(void 0).map((function(ae,un){return Qt[(function(Ie){return Mt.eRsOG(Ie,3)})(un)]})).flat()),ce=vt[Mt.CVGyL(Gt,15)]({label:Mt.LWtIu(Gt,16),size:[7,9],format:Mt.rnbTq(Gt,17),usage:Mt.vXgTw(window[Mt.SGWhR(Gt,18)][Mt.IxGbO(Gt,19)],window[Mt.tJskz(Gt,18)][Mt.WwBMK(Gt,20)])}),vt[Mt.LWtIu(Gt,21)][Mt.XvGWM(Gt,22)]({texture:ce},ne,{bytesPerRow:Mt.NQGua(7,4)},{width:7,height:9}),Ee=vt[Mt.SGWhR(Gt,23)](Mt.Czazt(Gt,24)),ve=vt[Mt.XvGWM(Gt,25)]({layout:Xt[Mt.TcuLX(Gt,26)](0),entries:[{binding:0,resource:Ee},{binding:1,resource:ce[Mt.qmLme(Gt,27)]()}]}),Se=Vt.map((function(ae){for(var un=Mt.LIcVF.split("|"),Ie=0;;){switch(un[Ie++]){case"0":ke[Mt.CVGyL(Gt,35)]();continue;case"1":var ke=vt[Mt.CVGyL(Gt,28)]({label:Mt.CVGyL(Gt,29),size:Mt.NQGua(4,Float32Array[Mt.IxGbO(Gt,30)]),usage:window[Mt.IxGbO(Gt,31)][Mt.CVGyL(Gt,32)],mappedAtCreation:!0});continue;case"2":We[Mt.CVGyL(Gt,34)](ae);continue;case"3":var We=new Float32Array(ke[Mt.IxGbO(Gt,33)]());continue;case"4":return vt[Mt.CVGyL(Gt,25)]({layout:Xt[Mt.qQoQh(Gt,26)](1),entries:[{binding:0,resource:{buffer:ke}}]})}break}})),Le=vt[Mt.DHpBv(Gt,36)](Mt.Czazt(Gt,37)),Ce=vt[Mt.qQoQh(Gt,28)]({size:Mt.QCXCI(Le[Mt.GXSjU(Gt,38)],8),usage:Mt.lZchU(window[Mt.kdFZM(Gt,31)][Mt.tJskz(Gt,39)],window[Mt.fjLlD(Gt,31)][Mt.qmLme(Gt,40)])}),Ne=vt[Mt.LWtIu(Gt,28)]({size:Mt.NQGua(Ce[Mt.NZEUH(Gt,41)],Ht),usage:Mt.vXgTw(window[Mt.rMQcE(Gt,31)][Mt.XvGWM(Gt,20)],window[Mt.cmdDW(Gt,31)][Mt.fMGTS(Gt,42)])}),nn={label:Mt.Megnu(Gt,43),colorAttachments:Mt.qmLme(Gt,44),timestampWrites:{querySet:Le,beginningOfPassWriteIndex:0,endOfPassWriteIndex:1}},fn=0;Mt.dwDBV(fn,Se.length);fn++)for(var xt=Mt.UStju.split("|"),Jt=0;;){switch(xt[Jt++]){case"0":Mt.yPtzU(Ne[Mt.hIuvn(Gt,58)],Mt.LUaAI(Gt,59))&&pn[Mt.KBsRE(Gt,60)](Ce,0,Ne,Mt.eiLib(fn,16),Ce[Mt.qQoQh(Gt,41)]);continue;case"1":Fn[Mt.gsIFj(Gt,51)](Xt);continue;case"2":zn=window[Mt.ymkbA(Gt,53)][Mt.qQoQh(Gt,54)]();continue;case"3":Fn[Mt.sTGJP(Gt,52)](1,Sn);continue;case"4":Nr=Mt.RTTay(W6,o[Mt.qmLme(Gt,2)]);continue;case"5":pn[Mt.cmdDW(Gt,57)](Le,0,Le[Mt.hIuvn(Gt,38)],Ce,0);continue;case"6":Fn[Mt.SXGAR(Gt,56)]();continue;case"7":Wn=pn[Mt.rLyth(Gt,61)]();continue;case"8":vt[Mt.Megnu(Gt,21)][Mt.RTTay(Gt,62)]([Wn]);continue;case"9":Wt[Mt.lnNJb(Gt,34)](new Uint8Array(new Float64Array([zn])[Mt.XvGWM(Gt,63)]),Mt.HtEmG(fn,Mt.YuwoT(Mt.kEERD(16,Ei),8)));continue;case"10":Wt[Mt.cgngL(Gt,34)](Nr,Mt.lEDdr(8,Mt.NQGua(fn,Mt.VfkAG(Mt.lEDdr(16,Ei),8))));continue;case"11":Fn[Mt.FQVYm(Gt,52)](0,ve);continue;case"12":pn=vt[Mt.SGWhR(Gt,48)](Mt.kdFZM(Gt,49));continue;case"13":nn[Mt.rjquO(Gt,45)][0][Mt.hIuvn(Gt,46)]=o[Mt.CVGyL(Gt,47)]()[Mt.zCjNE(Gt,27)]();continue;case"14":Fn=pn[Mt.FQVYm(Gt,50)](nn);continue;case"15":Fn[Mt.HfSqy(Gt,55)](48);continue;case"16":Sn=Se[fn];continue}break}return Mt.yPtzU(Ne[Mt.xEOfR(Gt,58)],Mt.CsGxJ(Gt,59))?[4,Ne[Mt.DHpBv(Gt,64)](window[Mt.WwBMK(Gt,65)][Mt.CPukW(Gt,66)])]:[3,3];case 2:for(Nt.sent(),Xr=Ne[Mt.cmdDW(Gt,33)](),nr=new Uint8Array(Xr),fn=0;Mt.dwDBV(fn,Ht);fn++)Wt[Mt.TcuLX(Gt,34)](nr[Mt.sTGJP(Gt,67)](Mt.NQGua(fn,Ei),Mt.uiTcO(Mt.gvEcj(fn,1),Ei)),Mt.qonBa(Mt.SQuSM(8,16),Mt.qLjkZ(fn,Mt.gvEcj(Mt.XMYnt(16,Ei),8))));Ne[Mt.YtxIQ(Gt,35)](),Nt.label=3;case 3:return[2,Mt.GXSjU(Qn,Wt)]}}))}))}function W6(i){var s=function(o,c){return o(c)};return s(rm,s(dn,i[s(Gt,68)]()))}function Z6(i){var s,o=function(p,m){return p!==m},c=function(p,m){return p(m)};return(function(p,m,y,w,v){return p(m,void 0,void 0,v)})(e.sH,this,0,0,(function(){var p;return(function(m,y,w){return m(y,w)})(e.YH,this,(function(m){switch(m.label){case 0:return o(s=i[c(Gt,69)],null)&&o(s,void 0)?(p=s,[3,3]):[3,1];case 1:return[4,i[c(Gt,70)]()];case 2:p=m.sent(),m.label=3;case 3:return[2,p]}}))}))}function Sl(){var i=function(o,c,p){return o(c,p)},s=this;return i(jn,Dn(1e3,{s:-2,v:null}),(function(){var o,c,p=function(v){return(function(I){return I()})(v)},m=function(v,I,B){return i(v,I,B)},y=function(v,I,B){return(function(C,X,Q){return C(X,Q)})(v,I,B)},w=function(v,I,B){return(function(C,X,Q){return C(X,Q)})(v,I,B)};return o=e.sH,c=function(){var v,I,B,C,X,Q,tt;return i(e.YH,this,(function(nt){switch(nt.label){case 0:return[4,p(K6)];case 1:return v=nt.sent(),(function(at,gt){return(function(_t,vt){return _t!==vt})(at,gt)})(m(qt,v,453955339),0)?[2,v]:(I=(function(at,gt){return i(at,gt,1801730948)})(qt,v),B=I[0],C=I[1],[4,y(Y6,B,C)]);case 2:return X=nt.sent(),Q=X[0],tt=X[1],[2,{s:0,v:{s:X[2],f:Q,v:m(qt,tt,4112659446),a:w(qt,tt,1956208378)}}]}}))},o(s,void 0,void 0,c)}))}function K6(){var i,s,o=function(p,m,y){return p(m,y)},c=function(p,m,y){return p(m,y)};return i=e.sH,s=function(){var p,m,y,w,v=function(C,X,Q){return c(C,X,Q)},I=function(C){return(function(X){return X()})(C)},B=function(C,X,Q){return c(C,X,Q)};return o(e.YH,this,(function(C){switch(C.label){case 0:if(!(p=(function(X,Q){return o(X,Q,3179935986)})(qt,navigator)))return[2,{s:-3,v:null}];m=null,C.label=1;case 1:return C.trys.push([1,3,,4]),[4,v(qt,p,1678473624)()];case 2:return m=C.sent(),[3,4];case 3:if((function(X){return(function(Q,tt){return Q instanceof tt})(X,Error)})(y=C.sent())&&I($))return[2,{s:-3,v:B(qt,y,3065852031)}];throw y;case 4:return m?I(G6)?(w=(function(X){return(function(Q){return Q()})(X)})(j6))?[2,{s:0,v:[m,w]}]:[2,{s:-5,v:null}]:[2,{s:-1,v:null}]:[2,{s:-4,v:null}]}}))},i(this,void 0,void 0,s)}function X6(){var i;return{s:0,v:(i=performance.timeOrigin)!==null&&i!==void 0?i:Date.now()-performance.now()}}var Or=Nn([1058085656,755065913,591387725,1190162267,3207354738,1862345487,1482820536,1963637024,16670991,4033829736,1867081798,1215448816,1812826169,279519816,3211723043,576614155,1881342384],5);function q6(){var i,s,o=function(c){return c()};return i=e.sH,s=function(){var c,p=function(y){return o(y)},m=function(y,w){return(function(v,I){return v(I)})(y,w)};return(function(y,w,v){return y(w,v)})(e.YH,this,(function(y){switch(y.label){case 0:return p(S)||(function(w){return o(w)})(U)?(c={s:0},[4,p($6)]):[3,2];case 1:return[2,(c[m(Or,0)]=y.sent(),c)];case 2:return[2,{s:-1,v:null}]}}))},i(this,void 0,void 0,s)}function $6(){var i={Blqbz:function(o,c){return o(c)},xZHoB:"2|1|3|0|4",dJhbP:function(o,c){return o(c)},SkSjD:function(o){return o()},KqpSs:function(o,c,p){return o(c,p)},hsbcg:function(o,c,p){return o(c,p)},QsyLE:function(o,c){return o(c)},BRhvx:function(o,c,p){return o(c,p)},FbvWI:function(o,c){return o(c)},iDelp:function(o,c){return o(c)}},s=new Promise((function(o){for(var c=i.xZHoB.split("|"),p=0;;){switch(c[p++]){case"0":window[i.Blqbz(Or,5)](window[i.dJhbP(Or,6)].debug,0,m);continue;case"1":var m;continue;case"2":var y={mXScH:function(w,v){return i.dJhbP(w,v)}};continue;case"3":i.SkSjD(S)?((m=new Error).name=" ",i.KqpSs(qt,Object,1973166116)(m,i.dJhbP(Or,1),{get:o.bind(null,!0)})):(m=i.hsbcg(qt,window[i.dJhbP(Or,2)],1297038992)(i.QsyLE(Or,3)),i.BRhvx(qt,Object,1973166116)(m,i.FbvWI(Or,4),{get:function(){y.mXScH(o,!0);var w=new Error;throw w.name="",w}}));continue;case"4":window[i.iDelp(Or,5)]((function(){i.Blqbz(o,!1)}));continue}break}}));return i.FbvWI(eo,s)}var J6=new Set([2882888216,2306836488,1040191956,1447924955]);function Q6(){return{s:0,v:im(Navigator.prototype,J6)}}var Il=Nn([337235919,2760532337,875971243,3754618647,55785531,2093468645,3611500405],7);function t8(){var i,s=(function(o,c){return o(c,3966979758)})(qt,new window[i=Il,i(0)](""));return(function(o,c){return o!==c})(typeof s,(function(o){return o(1)})(Il))?{s:-1,v:null}:{s:0,v:{isTrusted:s}}}var e8=function(){return{key:"bd",sources:{stage1:(i={},i.s94=wl,i),stage2:(s={},s.s106=z4,s.s154=r6,s.s158=c6,s.s160=c5,s.s97=Rl,s.s70=Sl,s.s152=C5,s),stage3:(o={},o.s1=B0,o.s2=M0,o.s4=k0,o.s5=U0,o.s7=D0,o.s15=P0,o.s19=F0,o.s27=V0,o.s74=H0,o.s75=G0,o.s24=rl,o.s44=$0,o.s45=Q0,o.s57=ul,o.s59=j0,o.s60=Y0,o.s61=z0,o.s62=W0,o.s63=Z0,o.s64=K0,o.s65=X0,o.s68=q0,o.s69=nl,o.s72=il,o.s82=cl,o.s83=fl,o.s99=Al,o.s101=G4,o.s103=j4,o.s104=Y4,o.s117=W4,o.s119=Z4,o.s123=K4,o.s131=X4,o.s133=q4,o.s136=$4,o.s148=J4,o.s149=Q4,o.s150=t5,o.s157=e5,o.s102=M5,o.s118=k5,o.s120=L5,o.s130=U5,o.s132=D5,o.s135=B5,o.s139=N5,o.s142=x5,o.s144=T5,o.s145=I5,o.s146=O5,o.s151=Z5,o.s153=K5,o.s155=o6,o.s156=a6,o.s159=f6,o.s162=p6,o.s163=q6,o.s165=t8,o.s166=Q6,o)}};var i,s,o};function n8(i,s,o,c,p,m){var y=c?[]:(function(C,X,Q){return(function(tt,nt){for(var at=function(Xt,Qt){return Xt<Qt},gt=function(Xt,Qt,ne){return Xt(Qt,ne)},_t=function(Xt,Qt){return Xt(Qt)},vt=[],bt=0,Vt=Array.isArray(tt)?tt:[tt];at(bt,Vt.length);bt++){var Ht=Vt[bt];if(gt(Fa,Ht,es))for(var Wt=0,Tt=nt;at(Wt,Tt.length);Wt++){var Dt=Tt[Wt];vt.push(_t(o4,Dt))}else vt.push(_t(String,Ht))}return vt})(C,X).map((function(tt){return Da(tt,{q:Q})}))})(i,s,o);if(y.length===0)return function(){return Promise.resolve({s:-1,v:null})};dr(m,(function(){return{e:6}}));var w=wf(),v=g0(w),I=Date.now(),B=_0(y,r8.bind(null,5e3,m,v),i8,Math.max(10,y.length),p);return B.then((function(){return w.resolve()}),(function(){return w.resolve()})),function(C,X,Q,tt){return(0,e.sH)(this,void 0,void 0,(function(){var nt,at;return(0,e.YH)(this,(function(gt){switch(gt.label){case 0:if(Q)return[2,{s:-1,v:null}];gt.label=1;case 1:return gt.trys.push([1,3,,4]),[4,Promise.race([B,o8(I,C,X)])];case 2:return gt.sent(),nt=(function(_t){var vt=_t.result,bt=_t.failedAttempts;if(vt!==void 0)return vt;var Vt=bt[0];if(!Vt)return{s:-3,v:null};if(Vt.level===1)return Vt.error;var Ht=Vt.error,Wt=Vt.endpoint;if(Ht instanceof Error){var Tt=Ht.name,Dt=Ht.message;switch(Tt){case"AbortError":return{s:-2,v:Dt};case"TimeoutError":return{s:-3,v:Dt};case"CSPError":return{s:-6,v:Dt};case"InvalidURLError":return{s:-7,v:"Invalid URL: ".concat(Wr(Wt,255))};case"TypeError":return{s:-4,v:Dt}}}return A0(Ht)})(B.current),dr(tt,(function(){return{e:7,result:nt}})),[2,nt];case 3:throw at=gt.sent(),dr(tt,(function(){return{e:8,error:at}})),at;case 4:return[2]}}))}))}}function r8(i,s,o,c,p,m){return oo(s,(function(){return{e:9,tryNumber:p,url:c,timeout:i}}),(function(y){var w=y.status,v=y.getHeader,I=y.body;return{e:10,tryNumber:p,status:w,retryAfter:v("retry-after"),body:I}}),(function(y){return{e:11,tryNumber:p,error:y}}),(function(){return v0({url:c,timeout:i,abort:m,container:o})}))}function i8(i){var s=i.status,o=i.body;return s===200&&/^[a-zA-Z0-9+/]{1,1022}={0,2}$/.test(o)?{result:{s:0,v:o}}:{error:{s:-5,v:Wr("".concat(s,": ").concat(o),255)}}}function o8(i,s,o){return Dn(Math.min(Math.max(s,i+1e4-Date.now()),o))}function Ol(i){for(var s="".concat(i,"="),o=0,c=document.cookie.split(";");o<c.length;o++){for(var p=c[o],m=0;p[m]===" "&&m<p.length;)++m;if(p.indexOf(s)===m)return p.slice(m+s.length)}}function Nl(i,s,o,c){var p="".concat(i,"=").concat(s),m=new Date(Date.now()+24*o*60*60*1e3),y="expires=".concat(m.toUTCString()),w=c?"domain=".concat(c):"";document.cookie=[p,"path=/",y,w,"SameSite=Lax"].join("; ")}function Tl(i){var s=location.hostname,o=$();(function(c,p){var m=c.length-(c.slice(-1)==="."?1:0);do if(m=m>0?c.lastIndexOf(".",m-1):-1,p(c.slice(m+1))===!0)return!0;while(m>=0);return!1})(s,(function(c){if(!o||!/^([^.]{1,3}\.)*[^.]+\.?$/.test(c)||c===s)return i(c)}))||i()}function xl(i){return"".concat(i,"_t")}function Ya(i){return"".concat(i,"_lr")}function Ll(i){var s,o;try{return(o=(s=localStorage==null?void 0:localStorage.getItem)===null||s===void 0?void 0:s.call(localStorage,i))!==null&&o!==void 0?o:void 0}catch{}}function za(i,s){var o;try{(o=localStorage==null?void 0:localStorage.setItem)===null||o===void 0||o.call(localStorage,i,s)}catch{}}function s8(i){var s=(function(p){return[Ol(p),Ll(p)]})(xl(i)),o=s[0],c=s[1];return o=Cl(o),c=Cl(c),o!==void 0&&c!==void 0?{s:0,v:o||c}:o!==void 0?{s:1,v:o}:c!==void 0?{s:2,v:c}:{s:-1,v:null}}function Cl(i){return i&&i.length<=1e3?i:void 0}var a8=function(){return{key:"id",sources:{stage1:(i={},i.s94=wl,i),stage2:(s={},s.s52=u5,s.s6=m4,s.s58=h5,s.s20=h4,s.s36=p4,s.s51=v4,s.s21=g4,s.s79=b5,s.s69=nl,s.s23=V5,s.s29=P5,s.s84=G5,s.s85=Y5,s.s89=m5,s.s17=S4,s.s87=u6,s.s92=d6,s.s93=l6,s.s95=D6,s.s97=Rl,s.s70=Sl,s),stage3:(o={},o.s22=A5,o.s30=R5,o.s33=r5,o.s44=$0,o.s45=Q0,o.s49=i5,o.s50=s5,o.s57=ul,o.s59=j0,o.s60=Y0,o.s61=z0,o.s62=W0,o.s63=Z0,o.s64=K0,o.s65=X0,o.s66=F4,o.s68=q0,o.s71=g5,o.s24=rl,o.s72=il,o.s1=B0,o.s2=M0,o.s3=y4,o.s4=k0,o.s5=U0,o.s7=D0,o.s9=w4,o.s10=E4,o.s11=b4,o.s12=j5,o.s13=_4,o.s14=R4,o.s15=P0,o.s16=A4,o.s19=F0,o.s27=V0,o.s28=I4,o.s32=O4,o.s37=N4,o.s41=T4,o.s39=x4,o.s42=L4,o.s38=C4,o.s43=B4,o.s40=k4,o.s46=U4,o.s80=D4,o.s81=P4,o.s82=cl,o.s83=fl,o.s86=W5,o.s91=M4,o.s96=V4,o.s98=H6,o.s99=Al,o.s200=X6,o.s201=n5,o.s202=H4,o.s74=H0,o.s75=G0,o.s76=a5,o)},tls:n8,toRequest:function(c,p){return(0,e.sH)(this,void 0,void 0,(function(){var m,y,w,v,I,B;return(0,e.YH)(this,(function(C){switch(C.label){case 0:return m=location.href,y=document.referrer,[4,Promise.all([m&&is(m,p),y&&is(y,p)])];case 1:return w=C.sent(),v=w[0],I=w[1],[2,(B={},B.url=v,B.cr=I||void 0,B.s55=s8(c),B.s48=S5(),B)]}}))}))},onResponse:function(c,p){var m,y,w;(function(v,I){var B=xl(v);I&&(function(C,X){(function(Q,tt){Tl((function(nt){(function(at,gt){Nl(at,"",-1,gt)})(Q,nt)})),Tl((function(nt){return Nl(Q,tt,365,nt),Ol(Q)===tt}))})(X,C),za(X,C)})(I,B)})(p,(w=(y=(m=c.products)===null||m===void 0?void 0:m.identification)===null||y===void 0?void 0:y.data)===null||w===void 0?void 0:w.visitorToken)}};var i,s,o},u8=function(){return{key:"si",sources:{stage2:(i={},i.s77=A6,i)}};var i},Bl=[3,7];function Wa(i){var s=Ll(i);if(!s)return[];try{var o=s?JSON.parse(s):[];return Array.isArray(o)?o:[]}catch{return[]}}function Ml(i){var s={};return new Set(i).forEach((function(o){var c=(function(m){if(!URL.prototype)return m;try{return new URL(m,window.location.origin).toString()}catch{return m}})(o),p=performance.getEntriesByName(c,"resource");s[o]=p})),s}function Za(i,s,o,c,p,m){for(var y,w=[],v=0,I=i;v<I.length;v++){var B=I[v],C=B.event;C.e!==o&&C.e!==c&&C.e!==p||C.stage===m&&((w[y=C.tryNumber]||(w[y]={}))[C.e]=B)}return w.map((function(X){var Q,tt,nt,at,gt,_t,vt=(Q=X[o])===null||Q===void 0?void 0:Q.timestamp,bt=(nt=(tt=X[c])===null||tt===void 0?void 0:tt.timestamp)!==null&&nt!==void 0?nt:(at=X[p])===null||at===void 0?void 0:at.timestamp,Vt=(gt=X[o])===null||gt===void 0?void 0:gt.event.url,Ht=(_t=X[p])===null||_t===void 0?void 0:_t.event.error;return vt&&bt&&Vt?kl(Vt,vt,bt,Ht,s[Vt]):null})).filter((function(X){return!!X}))}function kl(i,s,o,c,p){var m,y=(function(w,v,I){if(w){for(var B,C=w.length-1;C>=0;C--){var X=w[C];if(X.startTime<v-1)break;X.responseEnd<=I+1&&(B=X)}return B}})(p,s,o);return(m={}).s=hr(y?.startTime)||Math.round(s),m.e=hr(y?.responseEnd)||Math.round(o),m.u=i||null,m.er=c?String(c):null,m.ds=hr(y?.domainLookupStart),m.de=hr(y?.domainLookupEnd),m.cs=hr(y?.connectStart),m.css=hr(y?.secureConnectionStart),m.ce=hr(y?.connectEnd),m.qs=hr(y?.requestStart),m.ss=hr(y?.responseStart),m}function hr(i){return typeof i=="number"?i===0?null:Math.round(i):null}function us(i){var s,o=(s=performance.timeOrigin)!==null&&s!==void 0?s:Date.now()-performance.now();return Math.round(i.getTime()-o)}var c8=function(){var i=(function(){var o={},c=[],p=[],m=!1,y=mi(document,"visibilitychange",w);function w(){var I;p.push(((I={}).t=Math.round(performance.now()),I.s=ka()?"v":"h",I))}function v(I,B){for(var C,X,Q,tt,nt,at,gt,_t,vt,bt,Vt,Ht,Wt=(function(Jt,ae,un){var Ie=[];return Jt[ae]&&(Ie.push.apply(Ie,Jt[ae].commonEvents),un!==void 0&&Ie.push.apply(Ie,Jt[ae].getCalls[un]||[])),Ie})(o,I,B),Tt={},Dt=0,Xt=Wt;Dt<Xt.length;Dt++){var Qt=Xt[Dt];Tt[Qt.event.e]=Qt}var ne=(X=Tt[4])!==null&&X!==void 0?X:Tt[5];if(Tt[0]&&Tt[1]&&Tt[3]&&Tt[12]&&ne){var ce=Tt[0].event.options,Ee=ce.token,ve=ce.apiKey,Se=ve===void 0?Ee:ve,Le=ce.storageKey,Ce=Le===void 0?Cf:Le,Ne=ce.modules,nn=ce.ldi,Sn=ce.aggressiveOptimization,pn=Sn!==void 0&&Sn,Fn=ce.optimizeRepeatedVisits,zn=Fn!==void 0&&Fn;if(Se){var Wn,Nr,Xr=Math.min(Tt[0].timestamp,us((Q=nn?.attempts[0].startedAt)!==null&&Q!==void 0?Q:new Date("8524-04-28"))),nr=(tt=Tt[5])===null||tt===void 0?void 0:tt.event.error,fn=(nt=Tt[4])===null||nt===void 0?void 0:nt.event.result,Mt=(at=Tt[13])!==null&&at!==void 0?at:Tt[14],Nt=Ml(c),xt=((C={}).v="1",C.dt=new Date().toISOString(),C.ci=R0(),C.pi=d0(),C.ai=I,C.ri=no(12),C.c=Se,C.rid=(_t=(gt=fn?.requestId)!==null&&gt!==void 0?gt:nr?.requestId)!==null&&_t!==void 0?_t:null,C.er=(vt=nr?.message)!==null&&vt!==void 0?vt:null,C.mo=Ne.map((function(Jt){return Jt.key})).filter((function(Jt){return!!Jt})),C.sa=(Wn=(bt=nn?.attempts)!==null&&bt!==void 0?bt:[],Nr=Ml(Wn.map((function(Jt){return Jt.url})).filter((function(Jt){return!!Jt}))),Wn.map((function(Jt,ae){var un=Wn.length>1&&ae<Wn.length-1&&!("error"in Jt);return kl(Jt.url,us(Jt.startedAt),us(Jt.finishedAt),un?"Unknown":Jt.error,Nr[Jt.url])}))),C.ls=Tt[0].timestamp,C.le=Tt[1].timestamp,C.ca=Za(Wt,Nt,9,10,11),C.ss=Tt[12].timestamp,C.se=(Vt=Mt?.timestamp)!==null&&Vt!==void 0?Vt:null,C.sd=(function(Jt){var ae,un=(ae=Jt[13])===null||ae===void 0?void 0:ae.event.result;if(!un)return{};var Ie={};for(var ke in un)Ie[ke]=Math.round(un[ke].duration);return Ie})(Tt),C.gs=Tt[3].timestamp,C.ge=ne.timestamp,C.fa=Za(Wt,Nt,18,19,20,0),C.ia=Za(Wt,Nt,18,19,20,1),C.vs=(function(Jt,ae,un,Ie){for(var ke=(function(Tn,Zn){var xr,Lr;return(0,e.YH)(this,(function(pr){switch(pr.label){case 0:xr=0,Lr=0,pr.label=1;case 1:return xr<Tn.length&&Lr<Zn.length?(function(g8,m8){return g8.t<m8.t})(Tn[xr],Zn[Lr])?[4,Tn[xr]]:[3,3]:[3,6];case 2:return pr.sent(),xr++,[3,5];case 3:return[4,Zn[Lr]];case 4:pr.sent(),Lr++,pr.label=5;case 5:return[3,1];case 6:return xr<Tn.length?[4,Tn[xr]]:[3,9];case 7:pr.sent(),pr.label=8;case 8:return xr++,[3,6];case 9:return Lr<Zn.length?[4,Zn[Lr]]:[3,12];case 10:pr.sent(),pr.label=11;case 11:return Lr++,[3,9];case 12:return[2]}}))})(Jt.map((function(Tn){var Zn;return(Zn={}).t=us(Tn.time),Zn.s=Tn.state==="visible"?"v":"h",Zn})),ae),We=[],mn=void 0,Tr=function(){var Tn;We.length===0&&mn!==void 0&&We.push(((Tn={}).t=un,Tn.s=mn,Tn))};We.length<100;){var co=ke.next();if(co.done)break;var bi=co.value,_i=bi.t,fo=bi.s;if(_i>Ie)break;_i<un?mn=fo:fo!==mn&&(Tr(),We.push(bi),mn=fo)}return Tr(),We})((Ht=nn?.visibilityStates)!==null&&Ht!==void 0?Ht:[],p,Xr,ne.timestamp),C.ab=Tt[1].event.ab,C.ao=pn,C.or=zn,C);(function(Jt,ae){(function(un,Ie){var ke=Ya(Ie),We=Wa(ke)||[];We.splice(0,We.length-2);var mn=I0(Df(un),Bl,3,7);We.push([un.ri,Qn(mn)]),za(ke,JSON.stringify(We))})(Jt,ae)})(xt,Ce)}}}return w(),{addEvent:function(I){if(!m)switch((function(B){var C=B.event,X=C.agentId;if(o[X]||(o[X]={commonEvents:[],getCalls:{}}),y0(C)){var Q=C.getCallId;o[X].getCalls[Q]||(o[X].getCalls[Q]=[]),o[X].getCalls[Q].push(B)}else o[X].commonEvents.push(B)})({timestamp:Math.round(performance.now()),event:I}),I.e){case 9:case 18:c.push(I.url);break;case 4:case 5:v(I.agentId,I.getCallId)}},destroy:function(){m=!0,y()}}})(),s=new Set;return{toRequest:function(o){var c,p=(function(m){var y=Wa(Ya(m))||[],w=[];return y.forEach((function(v){try{var I=rs(Pa($o(v[1]),Bl,7));w.push(I)}catch{}})),w})(o);return s=new Set(p.map((function(m){return m.ri}))),(c={}).lr=p,c},onResponse:function(o,c){(function(p,m){var y=Ya(p);if(m.size!==0){var w=Wa(y).filter((function(v){return!m.has(v[0])}));w.length!==0?za(y,JSON.stringify(w)):(function(v){var I;try{(I=localStorage==null?void 0:localStorage.removeItem)===null||I===void 0||I.call(localStorage,v)}catch{}})(y)}})(c,s)},addEvent:i.addEvent,destroy:i.destroy}},f8=function(i){return{addEvent:Am(i)}},l8=function(i){return{addEvent:Hm(i)}},cs="API key required",fs="API key not found",ls="API key expired",Ul="Request cannot be parsed",Dl="Request failed",Pl="Request failed to process",Fl="Too many requests, rate limit exceeded",Vl="Not available for this origin",Hl="Not available with restricted header",d8=cs,h8=fs,p8=ls,v8={load:C0,defaultEndpoint:ts,defaultTlsEndpoint:es,ERROR_CLIENT_TIMEOUT:Ta,ERROR_NETWORK_CONNECTION:xa,ERROR_NETWORK_ABORT:La,ERROR_WRONG_REGION:Kf,ERROR_SUBSCRIPTION_NOT_ACTIVE:Xf,ERROR_API_KEY_MISSING:cs,ERROR_API_KEY_INVALID:fs,ERROR_API_KEY_EXPIRED:ls,ERROR_BAD_REQUEST_FORMAT:Ul,ERROR_BAD_RESPONSE_FORMAT:Ca,ERROR_GENERAL_SERVER_FAILURE:Dl,ERROR_SERVER_TIMEOUT:Pl,ERROR_RATE_LIMIT:Fl,ERROR_FORBIDDEN_ORIGIN:Vl,ERROR_FORBIDDEN_HEADER:Hl,ERROR_UNSUPPORTED_VERSION:qf,ERROR_INSTALLATION_METHOD_RESTRICTED:$f,ERROR_FORBIDDEN_ENDPOINT:Jf,ERROR_CSP_BLOCK:Ba,ERROR_INTEGRATION_FAILURE:Qf,ERROR_INVALID_ENDPOINT:Ma,ERROR_NETWORK_RESTRICTED:e0,ERROR_INVALID_PROXY_INTEGRATION_SECRET:n0,ERROR_INVALID_PROXY_INTEGRATION_HEADERS:r0,ERROR_TOKEN_MISSING:cs,ERROR_TOKEN_INVALID:fs,ERROR_TOKEN_EXPIRED:ls}},568:function(t,n,r){r.r(n),r.d(n,{componentsToDebugString:function(){return Et},default:function(){return R},getFullscreenElement:function(){return U},getScreenFrame:function(){return Ft},hashComponents:function(){return Lt},isAndroid:function(){return W},isChromium:function(){return wt},isDesktopSafari:function(){return f},isEdgeHTML:function(){return mt},isGecko:function(){return S},isTrident:function(){return lt},isWebKit:function(){return P},load:function(){return F},loadSources:function(){return At},murmurX64Hash128:function(){return O},prepareForSources:function(){return Yt},sources:function(){return ct},transformSource:function(){return st},withIframe:function(){return et}});var e=r(635),u="3.4.2";function a(A,H){return new Promise((function(G){return setTimeout(G,A,H)}))}function d(A){return!!A&&typeof A.then=="function"}function E(A,H){try{var G=A();d(G)?G.then((function(it){return H(!0,it)}),(function(it){return H(!1,it)})):H(!0,G)}catch(it){H(!1,it)}}function l(A,H,G){return G===void 0&&(G=16),(0,e.sH)(this,void 0,void 0,(function(){var it,Ct,Bt,Ut;return(0,e.YH)(this,(function(kt){switch(kt.label){case 0:it=Array(A.length),Ct=Date.now(),Bt=0,kt.label=1;case 1:return Bt<A.length?(it[Bt]=H(A[Bt],Bt),(Ut=Date.now())>=Ct+G?(Ct=Ut,[4,a(0)]):[3,3]):[3,4];case 2:kt.sent(),kt.label=3;case 3:return++Bt,[3,1];case 4:return[2,it]}}))}))}function b(A){A.then(void 0,(function(){}))}function N(A,H){A=[A[0]>>>16,65535&A[0],A[1]>>>16,65535&A[1]],H=[H[0]>>>16,65535&H[0],H[1]>>>16,65535&H[1]];var G=[0,0,0,0];return G[3]+=A[3]+H[3],G[2]+=G[3]>>>16,G[3]&=65535,G[2]+=A[2]+H[2],G[1]+=G[2]>>>16,G[2]&=65535,G[1]+=A[1]+H[1],G[0]+=G[1]>>>16,G[1]&=65535,G[0]+=A[0]+H[0],G[0]&=65535,[G[0]<<16|G[1],G[2]<<16|G[3]]}function x(A,H){A=[A[0]>>>16,65535&A[0],A[1]>>>16,65535&A[1]],H=[H[0]>>>16,65535&H[0],H[1]>>>16,65535&H[1]];var G=[0,0,0,0];return G[3]+=A[3]*H[3],G[2]+=G[3]>>>16,G[3]&=65535,G[2]+=A[2]*H[3],G[1]+=G[2]>>>16,G[2]&=65535,G[2]+=A[3]*H[2],G[1]+=G[2]>>>16,G[2]&=65535,G[1]+=A[1]*H[3],G[0]+=G[1]>>>16,G[1]&=65535,G[1]+=A[2]*H[2],G[0]+=G[1]>>>16,G[1]&=65535,G[1]+=A[3]*H[1],G[0]+=G[1]>>>16,G[1]&=65535,G[0]+=A[0]*H[3]+A[1]*H[2]+A[2]*H[1]+A[3]*H[0],G[0]&=65535,[G[0]<<16|G[1],G[2]<<16|G[3]]}function T(A,H){return(H%=64)==32?[A[1],A[0]]:H<32?[A[0]<<H|A[1]>>>32-H,A[1]<<H|A[0]>>>32-H]:(H-=32,[A[1]<<H|A[0]>>>32-H,A[0]<<H|A[1]>>>32-H])}function L(A,H){return(H%=64)==0?A:H<32?[A[0]<<H|A[1]>>>32-H,A[1]<<H]:[A[1]<<H-32,0]}function M(A,H){return[A[0]^H[0],A[1]^H[1]]}function D(A){return A=M(A,[0,A[0]>>>1]),A=M(A=x(A,[4283543511,3981806797]),[0,A[0]>>>1]),M(A=x(A,[3301882366,444984403]),[0,A[0]>>>1])}function Y(A,H){H=H||0;var G,it=(A=A||"").length%16,Ct=A.length-it,Bt=[0,H],Ut=[0,H],kt=[0,0],rt=[0,0],zt=[2277735313,289559509],pe=[1291169091,658871167];for(G=0;G<Ct;G+=16)kt=[255&A.charCodeAt(G+4)|(255&A.charCodeAt(G+5))<<8|(255&A.charCodeAt(G+6))<<16|(255&A.charCodeAt(G+7))<<24,255&A.charCodeAt(G)|(255&A.charCodeAt(G+1))<<8|(255&A.charCodeAt(G+2))<<16|(255&A.charCodeAt(G+3))<<24],rt=[255&A.charCodeAt(G+12)|(255&A.charCodeAt(G+13))<<8|(255&A.charCodeAt(G+14))<<16|(255&A.charCodeAt(G+15))<<24,255&A.charCodeAt(G+8)|(255&A.charCodeAt(G+9))<<8|(255&A.charCodeAt(G+10))<<16|(255&A.charCodeAt(G+11))<<24],kt=T(kt=x(kt,zt),31),Bt=N(Bt=T(Bt=M(Bt,kt=x(kt,pe)),27),Ut),Bt=N(x(Bt,[0,5]),[0,1390208809]),rt=T(rt=x(rt,pe),33),Ut=N(Ut=T(Ut=M(Ut,rt=x(rt,zt)),31),Bt),Ut=N(x(Ut,[0,5]),[0,944331445]);switch(kt=[0,0],rt=[0,0],it){case 15:rt=M(rt,L([0,A.charCodeAt(G+14)],48));case 14:rt=M(rt,L([0,A.charCodeAt(G+13)],40));case 13:rt=M(rt,L([0,A.charCodeAt(G+12)],32));case 12:rt=M(rt,L([0,A.charCodeAt(G+11)],24));case 11:rt=M(rt,L([0,A.charCodeAt(G+10)],16));case 10:rt=M(rt,L([0,A.charCodeAt(G+9)],8));case 9:rt=x(rt=M(rt,[0,A.charCodeAt(G+8)]),pe),Ut=M(Ut,rt=x(rt=T(rt,33),zt));case 8:kt=M(kt,L([0,A.charCodeAt(G+7)],56));case 7:kt=M(kt,L([0,A.charCodeAt(G+6)],48));case 6:kt=M(kt,L([0,A.charCodeAt(G+5)],40));case 5:kt=M(kt,L([0,A.charCodeAt(G+4)],32));case 4:kt=M(kt,L([0,A.charCodeAt(G+3)],24));case 3:kt=M(kt,L([0,A.charCodeAt(G+2)],16));case 2:kt=M(kt,L([0,A.charCodeAt(G+1)],8));case 1:kt=x(kt=M(kt,[0,A.charCodeAt(G)]),zt),Bt=M(Bt,kt=x(kt=T(kt,31),pe))}return Bt=N(Bt=M(Bt,[0,A.length]),Ut=M(Ut,[0,A.length])),Ut=N(Ut,Bt),Bt=N(Bt=D(Bt),Ut=D(Ut)),Ut=N(Ut,Bt),("00000000"+(Bt[0]>>>0).toString(16)).slice(-8)+("00000000"+(Bt[1]>>>0).toString(16)).slice(-8)+("00000000"+(Ut[0]>>>0).toString(16)).slice(-8)+("00000000"+(Ut[1]>>>0).toString(16)).slice(-8)}function z(A){return parseInt(A)}function J(A){return parseFloat(A)}function q(A,H){return typeof A=="number"&&isNaN(A)?H:A}function ot(A){return A.reduce((function(H,G){return H+(G?1:0)}),0)}function pt(A,H){if(H===void 0&&(H=1),Math.abs(H)>=1)return Math.round(A/H)*H;var G=1/H;return Math.round(A*G)/G}function ft(A){return A&&typeof A=="object"&&"message"in A?A:{message:A}}function Rt(A){return typeof A!="function"}function At(A,H,G){var it=Object.keys(A).filter((function(Bt){return!(function(Ut,kt){for(var rt=0,zt=Ut.length;rt<zt;++rt)if(Ut[rt]===kt)return!0;return!1})(G,Bt)})),Ct=l(it,(function(Bt){return(function(Ut,kt){var rt=new Promise((function(zt){var pe=Date.now();E(Ut.bind(null,kt),(function(){for(var ee=[],se=0;se<arguments.length;se++)ee[se]=arguments[se];var he=Date.now()-pe;if(!ee[0])return zt((function(){return{error:ft(ee[1]),duration:he}}));var le=ee[1];if(Rt(le))return zt((function(){return{value:le,duration:he}}));zt((function(){return new Promise((function(ue){var ze=Date.now();E(le,(function(){for(var we=[],_e=0;_e<arguments.length;_e++)we[_e]=arguments[_e];var an=he+Date.now()-ze;if(!we[0])return ue({error:ft(we[1]),duration:an});ue({value:we[1],duration:an})}))}))}))}))}));return b(rt),function(){return rt.then((function(zt){return zt()}))}})(A[Bt],H)}));return b(Ct),function(){return(0,e.sH)(this,void 0,void 0,(function(){var Bt,Ut,kt,rt;return(0,e.YH)(this,(function(zt){switch(zt.label){case 0:return[4,Ct];case 1:return[4,l(zt.sent(),(function(pe){var ee=pe();return b(ee),ee}))];case 2:return Bt=zt.sent(),[4,Promise.all(Bt)];case 3:for(Ut=zt.sent(),kt={},rt=0;rt<it.length;++rt)kt[it[rt]]=Ut[rt];return[2,kt]}}))}))}}function st(A,H){var G=function(it){return Rt(it)?H(it):function(){var Ct=it();return d(Ct)?Ct.then(H):H(Ct)}};return function(it){var Ct=A(it);return d(Ct)?Ct.then(G):G(Ct)}}function lt(){var A=window,H=navigator;return ot(["MSCSSMatrix"in A,"msSetImmediate"in A,"msIndexedDB"in A,"msMaxTouchPoints"in H,"msPointerEnabled"in H])>=4}function mt(){var A=window,H=navigator;return ot(["msWriteProfilerMark"in A,"MSStream"in A,"msLaunchUri"in H,"msSaveBlob"in H])>=3&&!lt()}function wt(){var A=window,H=navigator;return ot(["webkitPersistentStorage"in H,"webkitTemporaryStorage"in H,H.vendor.indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in A,"BatteryManager"in A,"webkitMediaStream"in A,"webkitSpeechGrammar"in A])>=5}function P(){var A=window,H=navigator;return ot(["ApplePayError"in A,"CSSPrimitiveValue"in A,"Counter"in A,H.vendor.indexOf("Apple")===0,"getStorageUpdates"in H,"WebKitMediaKeys"in A])>=4}function f(){var A=window;return ot(["safari"in A,!("DeviceMotionEvent"in A),!("ongestureend"in A),!("standalone"in navigator)])>=3}function S(){var A,H,G=window;return ot(["buildID"in navigator,"MozAppearance"in((H=(A=document.documentElement)===null||A===void 0?void 0:A.style)!==null&&H!==void 0?H:{}),"onmozfullscreenchange"in G,"mozInnerScreenX"in G,"CSSMozDocumentRule"in G,"CanvasCaptureMediaStream"in G])>=4}function U(){var A=document;return A.fullscreenElement||A.msFullscreenElement||A.mozFullScreenElement||A.webkitFullscreenElement||null}function W(){var A=wt(),H=S();if(!A&&!H)return!1;var G=window;return ot(["onorientationchange"in G,"orientation"in G,A&&!("SharedWorker"in G),H&&/android/i.test(navigator.appVersion)])>=2}function $(A){var H=new Error(A);return H.name=A,H}function et(A,H,G){var it,Ct,Bt;return G===void 0&&(G=50),(0,e.sH)(this,void 0,void 0,(function(){var Ut,kt;return(0,e.YH)(this,(function(rt){switch(rt.label){case 0:Ut=document,rt.label=1;case 1:return Ut.body?[3,3]:[4,a(G)];case 2:return rt.sent(),[3,1];case 3:kt=Ut.createElement("iframe"),rt.label=4;case 4:return rt.trys.push([4,,10,11]),[4,new Promise((function(zt,pe){var ee=!1,se=function(){ee=!0,zt()};kt.onload=se,kt.onerror=function(ue){ee=!0,pe(ue)};var he=kt.style;he.setProperty("display","block","important"),he.position="absolute",he.top="0",he.left="0",he.visibility="hidden",H&&"srcdoc"in kt?kt.srcdoc=H:kt.src="about:blank",Ut.body.appendChild(kt);var le=function(){var ue,ze;ee||(((ze=(ue=kt.contentWindow)===null||ue===void 0?void 0:ue.document)===null||ze===void 0?void 0:ze.readyState)==="complete"?se():setTimeout(le,10))};le()}))];case 5:rt.sent(),rt.label=6;case 6:return!((Ct=(it=kt.contentWindow)===null||it===void 0?void 0:it.document)===null||Ct===void 0)&&Ct.body?[3,8]:[4,a(G)];case 7:return rt.sent(),[3,6];case 8:return[4,A(kt,kt.contentWindow)];case 9:return[2,rt.sent()];case 10:return(Bt=kt.parentNode)===null||Bt===void 0||Bt.removeChild(kt),[7];case 11:return[2]}}))}))}function ut(A){for(var H=(function(zt){for(var pe,ee,se="Unexpected syntax '".concat(zt,"'"),he=/^\s*([a-z-]*)(.*)$/i.exec(zt),le=he[1]||void 0,ue={},ze=/([.:#][\w-]+|\[.+?\])/gi,we=function(De,lr){ue[De]=ue[De]||[],ue[De].push(lr)};;){var _e=ze.exec(he[2]);if(!_e)break;var an=_e[0];switch(an[0]){case".":we("class",an.slice(1));break;case"#":we("id",an.slice(1));break;case"[":var Be=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(an);if(!Be)throw new Error(se);we(Be[1],(ee=(pe=Be[4])!==null&&pe!==void 0?pe:Be[5])!==null&&ee!==void 0?ee:"");break;default:throw new Error(se)}}return[le,ue]})(A),G=H[0],it=H[1],Ct=document.createElement(G??"div"),Bt=0,Ut=Object.keys(it);Bt<Ut.length;Bt++){var kt=Ut[Bt],rt=it[kt].join(" ");kt==="style"?Z(Ct.style,rt):Ct.setAttribute(kt,rt)}return Ct}function Z(A,H){for(var G=0,it=H.split(";");G<it.length;G++){var Ct=it[G],Bt=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(Ct);if(Bt){var Ut=Bt[1],kt=Bt[2],rt=Bt[4];A.setProperty(Ut,kt,rt||"")}}}var h=["monospace","sans-serif","serif"],_=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function j(A){return A.toDataURL()}var K,ht,St=2500;function Ft(){var A=this;return(function(){if(ht===void 0){var H=function(){var G=Zt();de(G)?ht=setTimeout(H,St):(K=G,ht=void 0)};H()}})(),function(){return(0,e.sH)(A,void 0,void 0,(function(){var H;return(0,e.YH)(this,(function(G){switch(G.label){case 0:return de(H=Zt())?K?[2,(0,e.fX)([],K,!0)]:U()?[4,(it=document,(it.exitFullscreen||it.msExitFullscreen||it.mozCancelFullScreen||it.webkitExitFullscreen).call(it))]:[3,2]:[3,2];case 1:G.sent(),H=Zt(),G.label=2;case 2:return de(H)||(K=H),[2,H]}var it}))}))}}function Zt(){var A=screen;return[q(J(A.availTop),null),q(J(A.width)-J(A.availWidth)-q(J(A.availLeft),0),null),q(J(A.height)-J(A.availHeight)-q(J(A.availTop),0),null),q(J(A.availLeft),null)]}function de(A){for(var H=0;H<4;++H)if(A[H])return!1;return!0}function me(A){var H;return(0,e.sH)(this,void 0,void 0,(function(){var G,it,Ct,Bt,Ut,kt,rt;return(0,e.YH)(this,(function(zt){switch(zt.label){case 0:for(G=document,it=G.createElement("div"),Ct=new Array(A.length),Bt={},ye(it),rt=0;rt<A.length;++rt)(Ut=ut(A[rt])).tagName==="DIALOG"&&Ut.show(),ye(kt=G.createElement("div")),kt.appendChild(Ut),it.appendChild(kt),Ct[rt]=Ut;zt.label=1;case 1:return G.body?[3,3]:[4,a(50)];case 2:return zt.sent(),[3,1];case 3:G.body.appendChild(it);try{for(rt=0;rt<A.length;++rt)Ct[rt].offsetParent||(Bt[A[rt]]=!0)}finally{(H=it.parentNode)===null||H===void 0||H.removeChild(it)}return[2,Bt]}}))}))}function ye(A){A.style.setProperty("display","block","important")}function Oe(A){return matchMedia("(inverted-colors: ".concat(A,")")).matches}function Kt(A){return matchMedia("(forced-colors: ".concat(A,")")).matches}function be(A){return matchMedia("(prefers-contrast: ".concat(A,")")).matches}function Ye(A){return matchMedia("(prefers-reduced-motion: ".concat(A,")")).matches}function Te(A){return matchMedia("(dynamic-range: ".concat(A,")")).matches}var g=Math,k=function(){return 0},V={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]},ct={fonts:function(){return et((function(A,H){var G=H.document,it=G.body;it.style.fontSize="48px";var Ct=G.createElement("div"),Bt={},Ut={},kt=function(ee){var se=G.createElement("span"),he=se.style;return he.position="absolute",he.top="0",he.left="0",he.fontFamily=ee,se.textContent="mmMwWLliI0O&1",Ct.appendChild(se),se},rt=h.map(kt),zt=(function(){for(var ee={},se=function(ue){ee[ue]=h.map((function(ze){return(function(we,_e){return kt("'".concat(we,"',").concat(_e))})(ue,ze)}))},he=0,le=_;he<le.length;he++)se(le[he]);return ee})();it.appendChild(Ct);for(var pe=0;pe<h.length;pe++)Bt[h[pe]]=rt[pe].offsetWidth,Ut[h[pe]]=rt[pe].offsetHeight;return _.filter((function(ee){return se=zt[ee],h.some((function(he,le){return se[le].offsetWidth!==Bt[he]||se[le].offsetHeight!==Ut[he]}));var se}))}))},domBlockers:function(A){var H=(A===void 0?{}:A).debug;return(0,e.sH)(this,void 0,void 0,(function(){var G,it,Ct,Bt,Ut;return(0,e.YH)(this,(function(kt){switch(kt.label){case 0:return P()||W()?(rt=atob,G={abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',rt("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",rt("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",rt("LnNwb25zb3JpdA=="),".ylamainos",rt("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),rt("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",rt("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",rt("LmhlYWRlci1ibG9ja2VkLWFk"),rt("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",rt("I2FkXzMwMFgyNTA="),rt("I2Jhbm5lcmZsb2F0MjI="),rt("I2NhbXBhaWduLWJhbm5lcg=="),rt("I0FkLUNvbnRlbnQ=")],adGuardChinese:[rt("LlppX2FkX2FfSA=="),rt("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",rt("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),rt("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",rt("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",rt("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",rt("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),rt("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),rt("LmFkZ29vZ2xl"),rt("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[rt("YW1wLWF1dG8tYWRz"),rt("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",rt("I2FkX2ludmlld19hcmVh")],adGuardRussian:[rt("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),rt("LnJlY2xhbWE="),'div[id^="smi2adblock"]',rt("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[rt("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),rt("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",rt("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),rt("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),rt("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",rt("I3Jla2xhbWk="),rt("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),rt("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),rt("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[rt("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",rt("LndpZGdldF9wb19hZHNfd2lkZ2V0"),rt("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",rt("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[rt("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),rt("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",rt("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",rt("I3Jla2xhbW5pLWJveA=="),rt("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",rt("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[rt("I2FkdmVydGVudGll"),rt("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",rt("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",rt("LnNwb25zb3JsaW5rZ3J1ZW4="),rt("I3dlcmJ1bmdza3k="),rt("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),rt("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[rt("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",rt("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),rt("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),rt("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[rt("LnJla2xhbW9zX3RhcnBhcw=="),rt("LnJla2xhbW9zX251b3JvZG9z"),rt("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),rt("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),rt("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[rt("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[rt("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),rt("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",rt("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[rt("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),rt("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),rt("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",rt("LmFkX19tYWlu"),rt("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[rt("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[rt("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),rt("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[rt("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),rt("I2xpdmVyZUFkV3JhcHBlcg=="),rt("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),rt("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[rt("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",rt("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),rt("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),rt("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[rt("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),rt("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),rt("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",rt("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),rt("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),rt("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),rt("ZGl2I3NrYXBpZWNfYWQ=")],ro:[rt("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),rt("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),rt("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),rt("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[rt("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),rt("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),rt("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",rt("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),rt("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",rt("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]},it=Object.keys(G),[4,me((Ut=[]).concat.apply(Ut,it.map((function(zt){return G[zt]}))))]):[2,void 0];case 1:return Ct=kt.sent(),H&&(function(zt,pe){for(var ee="DOM blockers debug:\n```",se=0,he=Object.keys(zt);se<he.length;se++){var le=he[se];ee+=`
12
+ `.concat(le,":");for(var ue=0,ze=zt[le];ue<ze.length;ue++){var we=ze[ue];ee+=`
13
+ `.concat(pe[we]?"🚫":"➡️"," ").concat(we)}}console.log("".concat(ee,"\n```"))})(G,Ct),(Bt=it.filter((function(zt){var pe=G[zt];return ot(pe.map((function(ee){return Ct[ee]})))>.6*pe.length}))).sort(),[2,Bt]}var rt}))}))},fontPreferences:function(){return A===void 0&&(A=4e3),et((function(H,G){var it=G.document,Ct=it.body,Bt=Ct.style;Bt.width="".concat(A,"px"),Bt.webkitTextSizeAdjust=Bt.textSizeAdjust="none",wt()?Ct.style.zoom="".concat(1/G.devicePixelRatio):P()&&(Ct.style.zoom="reset");var Ut=it.createElement("div");return Ut.textContent=(0,e.fX)([],Array(A/20|0),!0).map((function(){return"word"})).join(" "),Ct.appendChild(Ut),(function(kt,rt){for(var zt={},pe={},ee=0,se=Object.keys(V);ee<se.length;ee++){var he=se[ee],le=V[he],ue=le[0],ze=ue===void 0?{}:ue,we=le[1],_e=we===void 0?"mmMwWLliI0fiflO&1":we,an=kt.createElement("span");an.textContent=_e,an.style.whiteSpace="nowrap";for(var Be=0,De=Object.keys(ze);Be<De.length;Be++){var lr=De[Be],He=ze[lr];He!==void 0&&(an.style[lr]=He)}zt[he]=an,rt.appendChild(kt.createElement("br")),rt.appendChild(an)}for(var Ve=0,Yr=Object.keys(V);Ve<Yr.length;Ve++)pe[he=Yr[Ve]]=zt[he].getBoundingClientRect().width;return pe})(it,Ct)}),'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">');var A},audio:function(){var A=window,H=A.OfflineAudioContext||A.webkitOfflineAudioContext;if(!H)return-2;if(P()&&!f()&&!(function(){var zt=window;return ot(["DOMRectList"in zt,"RTCPeerConnectionIceEvent"in zt,"SVGGeometryElement"in zt,"ontransitioncancel"in zt])>=3})())return-1;var G=new H(1,5e3,44100),it=G.createOscillator();it.type="triangle",it.frequency.value=1e4;var Ct=G.createDynamicsCompressor();Ct.threshold.value=-50,Ct.knee.value=40,Ct.ratio.value=12,Ct.attack.value=0,Ct.release.value=.25,it.connect(Ct),Ct.connect(G.destination),it.start(0);var Bt=(function(zt){var pe=function(){};return[new Promise((function(ee,se){var he=!1,le=0,ue=0;zt.oncomplete=function(_e){return ee(_e.renderedBuffer)};var ze=function(){setTimeout((function(){return se($("timeout"))}),Math.min(500,ue+5e3-Date.now()))},we=function(){try{var _e=zt.startRendering();switch(d(_e)&&b(_e),zt.state){case"running":ue=Date.now(),he&&ze();break;case"suspended":document.hidden||le++,he&&le>=3?se($("suspended")):setTimeout(we,500)}}catch(an){se(an)}};we(),pe=function(){he||(he=!0,ue>0&&ze())}})),pe]})(G),Ut=Bt[0],kt=Bt[1],rt=Ut.then((function(zt){return(function(pe){for(var ee=0,se=0;se<pe.length;++se)ee+=Math.abs(pe[se]);return ee})(zt.getChannelData(0).subarray(4500))}),(function(zt){if(zt.name==="timeout"||zt.name==="suspended")return-3;throw zt}));return b(rt),function(){return kt(),rt}},screenFrame:function(){var A=this,H=Ft();return function(){return(0,e.sH)(A,void 0,void 0,(function(){var G,it;return(0,e.YH)(this,(function(Ct){switch(Ct.label){case 0:return[4,H()];case 1:return G=Ct.sent(),[2,[(it=function(Bt){return Bt===null?null:pt(Bt,10)})(G[0]),it(G[1]),it(G[2]),it(G[3])]]}}))}))}},osCpu:function(){return navigator.oscpu},languages:function(){var A,H=navigator,G=[],it=H.language||H.userLanguage||H.browserLanguage||H.systemLanguage;if(it!==void 0&&G.push([it]),Array.isArray(H.languages))wt()&&ot([!("MediaSettingsRange"in(A=window)),"RTCEncodedAudioFrame"in A,""+A.Intl=="[object Intl]",""+A.Reflect=="[object Reflect]"])>=3||G.push(H.languages);else if(typeof H.languages=="string"){var Ct=H.languages;Ct&&G.push(Ct.split(","))}return G},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return q(J(navigator.deviceMemory),void 0)},screenResolution:function(){var A=screen,H=function(it){return q(z(it),null)},G=[H(A.width),H(A.height)];return G.sort().reverse(),G},hardwareConcurrency:function(){return q(z(navigator.hardwareConcurrency),void 0)},timezone:function(){var A,H=(A=window.Intl)===null||A===void 0?void 0:A.DateTimeFormat;if(H){var G=new H().resolvedOptions().timeZone;if(G)return G}var it,Ct=(it=new Date().getFullYear(),-Math.max(J(new Date(it,0,1).getTimezoneOffset()),J(new Date(it,6,1).getTimezoneOffset())));return"UTC".concat(Ct>=0?"+":"").concat(Math.abs(Ct))},sessionStorage:function(){try{return!!window.sessionStorage}catch{return!0}},localStorage:function(){try{return!!window.localStorage}catch{return!0}},indexedDB:function(){if(!lt()&&!mt())try{return!!window.indexedDB}catch{return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var A=navigator.platform;return A==="MacIntel"&&P()&&!f()?(function(){if(navigator.platform==="iPad")return!0;var H=screen,G=H.width/H.height;return ot(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,G>.65&&G<1.53])>=2})()?"iPad":"iPhone":A},plugins:function(){var A=navigator.plugins;if(A){for(var H=[],G=0;G<A.length;++G){var it=A[G];if(it){for(var Ct=[],Bt=0;Bt<it.length;++Bt){var Ut=it[Bt];Ct.push({type:Ut.type,suffixes:Ut.suffixes})}H.push({name:it.name,description:it.description,mimeTypes:Ct})}}return H}},canvas:function(){var A,H,G=!1,it=(function(){var kt=document.createElement("canvas");return kt.width=1,kt.height=1,[kt,kt.getContext("2d")]})(),Ct=it[0],Bt=it[1];if((function(kt,rt){return!(!rt||!kt.toDataURL)})(Ct,Bt)){G=(function(kt){return kt.rect(0,0,10,10),kt.rect(2,2,6,6),!kt.isPointInPath(5,5,"evenodd")})(Bt),(function(kt,rt){kt.width=240,kt.height=60,rt.textBaseline="alphabetic",rt.fillStyle="#f60",rt.fillRect(100,1,62,20),rt.fillStyle="#069",rt.font='11pt "Times New Roman"';var zt="Cwm fjordbank gly ".concat("😃");rt.fillText(zt,2,15),rt.fillStyle="rgba(102, 204, 0, 0.2)",rt.font="18pt Arial",rt.fillText(zt,4,45)})(Ct,Bt);var Ut=j(Ct);Ut!==j(Ct)?A=H="unstable":(H=Ut,(function(kt,rt){kt.width=122,kt.height=110,rt.globalCompositeOperation="multiply";for(var zt=0,pe=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];zt<pe.length;zt++){var ee=pe[zt],se=ee[0],he=ee[1],le=ee[2];rt.fillStyle=se,rt.beginPath(),rt.arc(he,le,40,0,2*Math.PI,!0),rt.closePath(),rt.fill()}rt.fillStyle="#f9c",rt.arc(60,60,60,0,2*Math.PI,!0),rt.arc(60,60,20,0,2*Math.PI,!0),rt.fill("evenodd")})(Ct,Bt),A=j(Ct))}else A=H="";return{winding:G,geometry:A,text:H}},touchSupport:function(){var A,H=navigator,G=0;H.maxTouchPoints!==void 0?G=z(H.maxTouchPoints):H.msMaxTouchPoints!==void 0&&(G=H.msMaxTouchPoints);try{document.createEvent("TouchEvent"),A=!0}catch{A=!1}return{maxTouchPoints:G,touchEvent:A,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var A=[],H=0,G=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];H<G.length;H++){var it=G[H],Ct=window[it];Ct&&typeof Ct=="object"&&A.push(it)}return A.sort()},cookiesEnabled:function(){var A=document;try{A.cookie="cookietest=1; SameSite=Strict;";var H=A.cookie.indexOf("cookietest=")!==-1;return A.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",H}catch{return!1}},colorGamut:function(){for(var A=0,H=["rec2020","p3","srgb"];A<H.length;A++){var G=H[A];if(matchMedia("(color-gamut: ".concat(G,")")).matches)return G}},invertedColors:function(){return!!Oe("inverted")||!Oe("none")&&void 0},forcedColors:function(){return!!Kt("active")||!Kt("none")&&void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(var A=0;A<=100;++A)if(matchMedia("(max-monochrome: ".concat(A,")")).matches)return A;throw new Error("Too high value")}},contrast:function(){return be("no-preference")?0:be("high")||be("more")?1:be("low")||be("less")?-1:be("forced")?10:void 0},reducedMotion:function(){return!!Ye("reduce")||!Ye("no-preference")&&void 0},hdr:function(){return!!Te("high")||!Te("standard")&&void 0},math:function(){var A,H=g.acos||k,G=g.acosh||k,it=g.asin||k,Ct=g.asinh||k,Bt=g.atanh||k,Ut=g.atan||k,kt=g.sin||k,rt=g.sinh||k,zt=g.cos||k,pe=g.cosh||k,ee=g.tan||k,se=g.tanh||k,he=g.exp||k,le=g.expm1||k,ue=g.log1p||k;return{acos:H(.12312423423423424),acosh:G(1e308),acoshPf:(A=1e154,g.log(A+g.sqrt(A*A-1))),asin:it(.12312423423423424),asinh:Ct(1),asinhPf:g.log(1+g.sqrt(2)),atanh:Bt(.5),atanhPf:g.log(3)/2,atan:Ut(.5),sin:kt(-1e300),sinh:rt(1),sinhPf:g.exp(1)-1/g.exp(1)/2,cos:zt(10.000000000123),cosh:pe(1),coshPf:(g.exp(1)+1/g.exp(1))/2,tan:ee(-1e300),tanh:se(1),tanhPf:(g.exp(2)-1)/(g.exp(2)+1),exp:he(1),expm1:le(1),expm1Pf:g.exp(1)-1,log1p:ue(10),log1pPf:g.log(11),powPI:g.pow(g.PI,-100)}},videoCard:function(){var A,H=document.createElement("canvas"),G=(A=H.getContext("webgl"))!==null&&A!==void 0?A:H.getContext("experimental-webgl");if(G&&"getExtension"in G){var it=G.getExtension("WEBGL_debug_renderer_info");if(it)return{vendor:(G.getParameter(it.UNMASKED_VENDOR_WEBGL)||"").toString(),renderer:(G.getParameter(it.UNMASKED_RENDERER_WEBGL)||"").toString()}}},pdfViewerEnabled:function(){return navigator.pdfViewerEnabled},architecture:function(){var A=new Float32Array(1),H=new Uint8Array(A.buffer);return A[0]=1/0,A[0]=A[0]-A[0],H[3]}},yt="$ if upgrade to Pro: https://fpjs.dev/pro";function Et(A){return JSON.stringify(A,(function(H,G){return G instanceof Error?(it=G,(0,e.Cl)({name:it.name,message:it.message,stack:(Ct=it.stack)===null||Ct===void 0?void 0:Ct.split(`
14
+ `)},it)):G;var it,Ct}),2)}function Lt(A){return Y((function(H){for(var G="",it=0,Ct=Object.keys(H).sort();it<Ct.length;it++){var Bt=Ct[it],Ut=H[Bt],kt=Ut.error?"error":JSON.stringify(Ut.value);G+="".concat(G?"|":"").concat(Bt.replace(/([:|\\])/g,"\\$1"),":").concat(kt)}return G})(A))}function Yt(A){return A===void 0&&(A=50),(function(H,G){G===void 0&&(G=1/0);var it=window.requestIdleCallback;return it?new Promise((function(Ct){return it.call(window,(function(){return Ct()}),{timeout:G})})):a(Math.min(H,G))})(A,2*A)}function te(A,H){var G=Date.now();return{get:function(it){return(0,e.sH)(this,void 0,void 0,(function(){var Ct,Bt,Ut;return(0,e.YH)(this,(function(kt){switch(kt.label){case 0:return Ct=Date.now(),[4,A()];case 1:return Bt=kt.sent(),Ut=(function(rt){var zt,pe=(function(ee){var se=(function(le){if(W())return .4;if(P())return f()?.5:.3;var ue=le.platform.value||"";return/^Win/.test(ue)?.6:/^Mac/.test(ue)?.5:.7})(ee),he=(function(le){return pt(.99+.01*le,1e-4)})(se);return{score:se,comment:yt.replace(/\$/g,"".concat(he))}})(rt);return{get visitorId(){return zt===void 0&&(zt=Lt(this.components)),zt},set visitorId(ee){zt=ee},confidence:pe,components:rt,version:u}})(Bt),(H||it?.debug)&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(Ut.version,`
15
15
  userAgent: `).concat(navigator.userAgent,`
16
16
  timeBetweenLoadAndGet: `).concat(Ct-G,`
17
17
  visitorId: `).concat(Ut.visitorId,`
18
- components: `).concat(Et(Bt),"\n```")),[2,Ut]}}))}))}}}function F(A){var H=A===void 0?{}:A,G=H.delayFallback,it=H.debug,Ct=H.monitoring,Bt=Ct===void 0||Ct;return(0,e.sH)(this,void 0,void 0,(function(){return(0,e.YH)(this,(function(Ut){switch(Ut.label){case 0:return Bt&&(function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var kt=new XMLHttpRequest;kt.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(u,"/npm-monitoring"),!0),kt.send()}catch(rt){console.error(rt)}})(),[4,zt(G)];case 1:return Ut.sent(),[2,te(At(ct,{debug:it},[]),it)]}}))}))}var R={load:F,hashComponents:Lt,componentsToDebugString:Et},O=Y},526:function(t,r){r.byteLength=function(b){var N=y(b),L=N[0],T=N[1];return 3*(L+T)/4-T},r.toByteArray=function(b){var N,L,T=y(b),x=T[0],M=T[1],D=new u((function(J,q,ot){return 3*(q+ot)/4-ot})(0,x,M)),Y=0,z=M>0?x-4:x;for(L=0;L<z;L+=4)N=e[b.charCodeAt(L)]<<18|e[b.charCodeAt(L+1)]<<12|e[b.charCodeAt(L+2)]<<6|e[b.charCodeAt(L+3)],D[Y++]=N>>16&255,D[Y++]=N>>8&255,D[Y++]=255&N;return M===2&&(N=e[b.charCodeAt(L)]<<2|e[b.charCodeAt(L+1)]>>4,D[Y++]=255&N),M===1&&(N=e[b.charCodeAt(L)]<<10|e[b.charCodeAt(L+1)]<<4|e[b.charCodeAt(L+2)]>>2,D[Y++]=N>>8&255,D[Y++]=255&N),D},r.fromByteArray=function(b){for(var N,L=b.length,T=L%3,x=[],M=16383,D=0,Y=L-T;D<Y;D+=M)x.push(l(b,D,D+M>Y?Y:D+M));return T===1?(N=b[L-1],x.push(n[N>>2]+n[N<<4&63]+"==")):T===2&&(N=(b[L-2]<<8)+b[L-1],x.push(n[N>>10]+n[N>>4&63]+n[N<<2&63]+"=")),x.join("")};for(var n=[],e=[],u=typeof Uint8Array<"u"?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=0;d<64;++d)n[d]=a[d],e[a.charCodeAt(d)]=d;function y(b){var N=b.length;if(N%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var L=b.indexOf("=");return L===-1&&(L=N),[L,L===N?0:4-L%4]}function l(b,N,L){for(var T,x,M=[],D=N;D<L;D+=3)T=(b[D]<<16&16711680)+(b[D+1]<<8&65280)+(255&b[D+2]),M.push(n[(x=T)>>18&63]+n[x>>12&63]+n[x>>6&63]+n[63&x]);return M.join("")}e[45]=62,e[95]=63},287:function(t,r,n){const e=n(526),u=n(251),a=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;r.hp=l,r.IS=50;const d=2147483647;function y(g){if(g>d)throw new RangeError('The value "'+g+'" is invalid for option "size"');const k=new Uint8Array(g);return Object.setPrototypeOf(k,l.prototype),k}function l(g,k,V){if(typeof g=="number"){if(typeof k=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return L(g)}return b(g,k,V)}function b(g,k,V){if(typeof g=="string")return(function(Et,Lt){if(typeof Lt=="string"&&Lt!==""||(Lt="utf8"),!l.isEncoding(Lt))throw new TypeError("Unknown encoding: "+Lt);const zt=0|D(Et,Lt);let te=y(zt);const F=te.write(Et,Lt);return F!==zt&&(te=te.slice(0,F)),te})(g,k);if(ArrayBuffer.isView(g))return(function(Et){if(Oe(Et,Uint8Array)){const Lt=new Uint8Array(Et);return x(Lt.buffer,Lt.byteOffset,Lt.byteLength)}return T(Et)})(g);if(g==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g);if(Oe(g,ArrayBuffer)||g&&Oe(g.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Oe(g,SharedArrayBuffer)||g&&Oe(g.buffer,SharedArrayBuffer)))return x(g,k,V);if(typeof g=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const ct=g.valueOf&&g.valueOf();if(ct!=null&&ct!==g)return l.from(ct,k,V);const yt=(function(Et){if(l.isBuffer(Et)){const Lt=0|M(Et.length),zt=y(Lt);return zt.length===0||Et.copy(zt,0,0,Lt),zt}return Et.length!==void 0?typeof Et.length!="number"||be(Et.length)?y(0):T(Et):Et.type==="Buffer"&&Array.isArray(Et.data)?T(Et.data):void 0})(g);if(yt)return yt;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof g[Symbol.toPrimitive]=="function")return l.from(g[Symbol.toPrimitive]("string"),k,V);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g)}function N(g){if(typeof g!="number")throw new TypeError('"size" argument must be of type number');if(g<0)throw new RangeError('The value "'+g+'" is invalid for option "size"')}function L(g){return N(g),y(g<0?0:0|M(g))}function T(g){const k=g.length<0?0:0|M(g.length),V=y(k);for(let ct=0;ct<k;ct+=1)V[ct]=255&g[ct];return V}function x(g,k,V){if(k<0||g.byteLength<k)throw new RangeError('"offset" is outside of buffer bounds');if(g.byteLength<k+(V||0))throw new RangeError('"length" is outside of buffer bounds');let ct;return ct=k===void 0&&V===void 0?new Uint8Array(g):V===void 0?new Uint8Array(g,k):new Uint8Array(g,k,V),Object.setPrototypeOf(ct,l.prototype),ct}function M(g){if(g>=d)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+d.toString(16)+" bytes");return 0|g}function D(g,k){if(l.isBuffer(g))return g.length;if(ArrayBuffer.isView(g)||Oe(g,ArrayBuffer))return g.byteLength;if(typeof g!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof g);const V=g.length,ct=arguments.length>2&&arguments[2]===!0;if(!ct&&V===0)return 0;let yt=!1;for(;;)switch(k){case"ascii":case"latin1":case"binary":return V;case"utf8":case"utf-8":return de(g).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*V;case"hex":return V>>>1;case"base64":return ye(g).length;default:if(yt)return ct?-1:de(g).length;k=(""+k).toLowerCase(),yt=!0}}function Y(g,k,V){let ct=!1;if((k===void 0||k<0)&&(k=0),k>this.length||((V===void 0||V>this.length)&&(V=this.length),V<=0)||(V>>>=0)<=(k>>>=0))return"";for(g||(g="utf8");;)switch(g){case"hex":return f(this,k,V);case"utf8":case"utf-8":return dt(this,k,V);case"ascii":return wt(this,k,V);case"latin1":case"binary":return P(this,k,V);case"base64":return st(this,k,V);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,k,V);default:if(ct)throw new TypeError("Unknown encoding: "+g);g=(g+"").toLowerCase(),ct=!0}}function z(g,k,V){const ct=g[k];g[k]=g[V],g[V]=ct}function J(g,k,V,ct,yt){if(g.length===0)return-1;if(typeof V=="string"?(ct=V,V=0):V>2147483647?V=2147483647:V<-2147483648&&(V=-2147483648),be(V=+V)&&(V=yt?0:g.length-1),V<0&&(V=g.length+V),V>=g.length){if(yt)return-1;V=g.length-1}else if(V<0){if(!yt)return-1;V=0}if(typeof k=="string"&&(k=l.from(k,ct)),l.isBuffer(k))return k.length===0?-1:q(g,k,V,ct,yt);if(typeof k=="number")return k&=255,typeof Uint8Array.prototype.indexOf=="function"?yt?Uint8Array.prototype.indexOf.call(g,k,V):Uint8Array.prototype.lastIndexOf.call(g,k,V):q(g,[k],V,ct,yt);throw new TypeError("val must be string, number or Buffer")}function q(g,k,V,ct,yt){let Et,Lt=1,zt=g.length,te=k.length;if(ct!==void 0&&((ct=String(ct).toLowerCase())==="ucs2"||ct==="ucs-2"||ct==="utf16le"||ct==="utf-16le")){if(g.length<2||k.length<2)return-1;Lt=2,zt/=2,te/=2,V/=2}function F(R,O){return Lt===1?R[O]:R.readUInt16BE(O*Lt)}if(yt){let R=-1;for(Et=V;Et<zt;Et++)if(F(g,Et)===F(k,R===-1?0:Et-R)){if(R===-1&&(R=Et),Et-R+1===te)return R*Lt}else R!==-1&&(Et-=Et-R),R=-1}else for(V+te>zt&&(V=zt-te),Et=V;Et>=0;Et--){let R=!0;for(let O=0;O<te;O++)if(F(g,Et+O)!==F(k,O)){R=!1;break}if(R)return Et}return-1}function ot(g,k,V,ct){V=Number(V)||0;const yt=g.length-V;ct?(ct=Number(ct))>yt&&(ct=yt):ct=yt;const Et=k.length;let Lt;for(ct>Et/2&&(ct=Et/2),Lt=0;Lt<ct;++Lt){const zt=parseInt(k.substr(2*Lt,2),16);if(be(zt))return Lt;g[V+Lt]=zt}return Lt}function pt(g,k,V,ct){return ge(de(k,g.length-V),g,V,ct)}function ft(g,k,V,ct){return ge((function(yt){const Et=[];for(let Lt=0;Lt<yt.length;++Lt)Et.push(255&yt.charCodeAt(Lt));return Et})(k),g,V,ct)}function Rt(g,k,V,ct){return ge(ye(k),g,V,ct)}function At(g,k,V,ct){return ge((function(yt,Et){let Lt,zt,te;const F=[];for(let R=0;R<yt.length&&!((Et-=2)<0);++R)Lt=yt.charCodeAt(R),zt=Lt>>8,te=Lt%256,F.push(te),F.push(zt);return F})(k,g.length-V),g,V,ct)}function st(g,k,V){return k===0&&V===g.length?e.fromByteArray(g):e.fromByteArray(g.slice(k,V))}function dt(g,k,V){V=Math.min(g.length,V);const ct=[];let yt=k;for(;yt<V;){const Et=g[yt];let Lt=null,zt=Et>239?4:Et>223?3:Et>191?2:1;if(yt+zt<=V){let te,F,R,O;switch(zt){case 1:Et<128&&(Lt=Et);break;case 2:te=g[yt+1],(192&te)==128&&(O=(31&Et)<<6|63&te,O>127&&(Lt=O));break;case 3:te=g[yt+1],F=g[yt+2],(192&te)==128&&(192&F)==128&&(O=(15&Et)<<12|(63&te)<<6|63&F,O>2047&&(O<55296||O>57343)&&(Lt=O));break;case 4:te=g[yt+1],F=g[yt+2],R=g[yt+3],(192&te)==128&&(192&F)==128&&(192&R)==128&&(O=(15&Et)<<18|(63&te)<<12|(63&F)<<6|63&R,O>65535&&O<1114112&&(Lt=O))}}Lt===null?(Lt=65533,zt=1):Lt>65535&&(Lt-=65536,ct.push(Lt>>>10&1023|55296),Lt=56320|1023&Lt),ct.push(Lt),yt+=zt}return(function(Et){const Lt=Et.length;if(Lt<=mt)return String.fromCharCode.apply(String,Et);let zt="",te=0;for(;te<Lt;)zt+=String.fromCharCode.apply(String,Et.slice(te,te+=mt));return zt})(ct)}l.TYPED_ARRAY_SUPPORT=(function(){try{const g=new Uint8Array(1),k={foo:function(){return 42}};return Object.setPrototypeOf(k,Uint8Array.prototype),Object.setPrototypeOf(g,k),g.foo()===42}catch{return!1}})(),l.TYPED_ARRAY_SUPPORT||typeof console>"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(g,k,V){return b(g,k,V)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(g,k,V){return(function(ct,yt,Et){return N(ct),ct<=0?y(ct):yt!==void 0?typeof Et=="string"?y(ct).fill(yt,Et):y(ct).fill(yt):y(ct)})(g,k,V)},l.allocUnsafe=function(g){return L(g)},l.allocUnsafeSlow=function(g){return L(g)},l.isBuffer=function(g){return g!=null&&g._isBuffer===!0&&g!==l.prototype},l.compare=function(g,k){if(Oe(g,Uint8Array)&&(g=l.from(g,g.offset,g.byteLength)),Oe(k,Uint8Array)&&(k=l.from(k,k.offset,k.byteLength)),!l.isBuffer(g)||!l.isBuffer(k))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(g===k)return 0;let V=g.length,ct=k.length;for(let yt=0,Et=Math.min(V,ct);yt<Et;++yt)if(g[yt]!==k[yt]){V=g[yt],ct=k[yt];break}return V<ct?-1:ct<V?1:0},l.isEncoding=function(g){switch(String(g).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(g,k){if(!Array.isArray(g))throw new TypeError('"list" argument must be an Array of Buffers');if(g.length===0)return l.alloc(0);let V;if(k===void 0)for(k=0,V=0;V<g.length;++V)k+=g[V].length;const ct=l.allocUnsafe(k);let yt=0;for(V=0;V<g.length;++V){let Et=g[V];if(Oe(Et,Uint8Array))yt+Et.length>ct.length?(l.isBuffer(Et)||(Et=l.from(Et)),Et.copy(ct,yt)):Uint8Array.prototype.set.call(ct,Et,yt);else{if(!l.isBuffer(Et))throw new TypeError('"list" argument must be an Array of Buffers');Et.copy(ct,yt)}yt+=Et.length}return ct},l.byteLength=D,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const g=this.length;if(g%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let k=0;k<g;k+=2)z(this,k,k+1);return this},l.prototype.swap32=function(){const g=this.length;if(g%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let k=0;k<g;k+=4)z(this,k,k+3),z(this,k+1,k+2);return this},l.prototype.swap64=function(){const g=this.length;if(g%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let k=0;k<g;k+=8)z(this,k,k+7),z(this,k+1,k+6),z(this,k+2,k+5),z(this,k+3,k+4);return this},l.prototype.toString=function(){const g=this.length;return g===0?"":arguments.length===0?dt(this,0,g):Y.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(g){if(!l.isBuffer(g))throw new TypeError("Argument must be a Buffer");return this===g||l.compare(this,g)===0},l.prototype.inspect=function(){let g="";const k=r.IS;return g=this.toString("hex",0,k).replace(/(.{2})/g,"$1 ").trim(),this.length>k&&(g+=" ... "),"<Buffer "+g+">"},a&&(l.prototype[a]=l.prototype.inspect),l.prototype.compare=function(g,k,V,ct,yt){if(Oe(g,Uint8Array)&&(g=l.from(g,g.offset,g.byteLength)),!l.isBuffer(g))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof g);if(k===void 0&&(k=0),V===void 0&&(V=g?g.length:0),ct===void 0&&(ct=0),yt===void 0&&(yt=this.length),k<0||V>g.length||ct<0||yt>this.length)throw new RangeError("out of range index");if(ct>=yt&&k>=V)return 0;if(ct>=yt)return-1;if(k>=V)return 1;if(this===g)return 0;let Et=(yt>>>=0)-(ct>>>=0),Lt=(V>>>=0)-(k>>>=0);const zt=Math.min(Et,Lt),te=this.slice(ct,yt),F=g.slice(k,V);for(let R=0;R<zt;++R)if(te[R]!==F[R]){Et=te[R],Lt=F[R];break}return Et<Lt?-1:Lt<Et?1:0},l.prototype.includes=function(g,k,V){return this.indexOf(g,k,V)!==-1},l.prototype.indexOf=function(g,k,V){return J(this,g,k,V,!0)},l.prototype.lastIndexOf=function(g,k,V){return J(this,g,k,V,!1)},l.prototype.write=function(g,k,V,ct){if(k===void 0)ct="utf8",V=this.length,k=0;else if(V===void 0&&typeof k=="string")ct=k,V=this.length,k=0;else{if(!isFinite(k))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");k>>>=0,isFinite(V)?(V>>>=0,ct===void 0&&(ct="utf8")):(ct=V,V=void 0)}const yt=this.length-k;if((V===void 0||V>yt)&&(V=yt),g.length>0&&(V<0||k<0)||k>this.length)throw new RangeError("Attempt to write outside buffer bounds");ct||(ct="utf8");let Et=!1;for(;;)switch(ct){case"hex":return ot(this,g,k,V);case"utf8":case"utf-8":return pt(this,g,k,V);case"ascii":case"latin1":case"binary":return ft(this,g,k,V);case"base64":return Rt(this,g,k,V);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return At(this,g,k,V);default:if(Et)throw new TypeError("Unknown encoding: "+ct);ct=(""+ct).toLowerCase(),Et=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const mt=4096;function wt(g,k,V){let ct="";V=Math.min(g.length,V);for(let yt=k;yt<V;++yt)ct+=String.fromCharCode(127&g[yt]);return ct}function P(g,k,V){let ct="";V=Math.min(g.length,V);for(let yt=k;yt<V;++yt)ct+=String.fromCharCode(g[yt]);return ct}function f(g,k,V){const ct=g.length;(!k||k<0)&&(k=0),(!V||V<0||V>ct)&&(V=ct);let yt="";for(let Et=k;Et<V;++Et)yt+=Yt[g[Et]];return yt}function S(g,k,V){const ct=g.slice(k,V);let yt="";for(let Et=0;Et<ct.length-1;Et+=2)yt+=String.fromCharCode(ct[Et]+256*ct[Et+1]);return yt}function U(g,k,V){if(g%1!=0||g<0)throw new RangeError("offset is not uint");if(g+k>V)throw new RangeError("Trying to access beyond buffer length")}function W(g,k,V,ct,yt,Et){if(!l.isBuffer(g))throw new TypeError('"buffer" argument must be a Buffer instance');if(k>yt||k<Et)throw new RangeError('"value" argument is out of bounds');if(V+ct>g.length)throw new RangeError("Index out of range")}function $(g,k,V,ct,yt){ht(k,ct,yt,g,V,7);let Et=Number(k&BigInt(4294967295));g[V++]=Et,Et>>=8,g[V++]=Et,Et>>=8,g[V++]=Et,Et>>=8,g[V++]=Et;let Lt=Number(k>>BigInt(32)&BigInt(4294967295));return g[V++]=Lt,Lt>>=8,g[V++]=Lt,Lt>>=8,g[V++]=Lt,Lt>>=8,g[V++]=Lt,V}function et(g,k,V,ct,yt){ht(k,ct,yt,g,V,7);let Et=Number(k&BigInt(4294967295));g[V+7]=Et,Et>>=8,g[V+6]=Et,Et>>=8,g[V+5]=Et,Et>>=8,g[V+4]=Et;let Lt=Number(k>>BigInt(32)&BigInt(4294967295));return g[V+3]=Lt,Lt>>=8,g[V+2]=Lt,Lt>>=8,g[V+1]=Lt,Lt>>=8,g[V]=Lt,V+8}function ut(g,k,V,ct,yt,Et){if(V+ct>g.length)throw new RangeError("Index out of range");if(V<0)throw new RangeError("Index out of range")}function Z(g,k,V,ct,yt){return k=+k,V>>>=0,yt||ut(g,0,V,4),u.write(g,k,V,ct,23,4),V+4}function h(g,k,V,ct,yt){return k=+k,V>>>=0,yt||ut(g,0,V,8),u.write(g,k,V,ct,52,8),V+8}l.prototype.slice=function(g,k){const V=this.length;(g=~~g)<0?(g+=V)<0&&(g=0):g>V&&(g=V),(k=k===void 0?V:~~k)<0?(k+=V)<0&&(k=0):k>V&&(k=V),k<g&&(k=g);const ct=this.subarray(g,k);return Object.setPrototypeOf(ct,l.prototype),ct},l.prototype.readUintLE=l.prototype.readUIntLE=function(g,k,V){g>>>=0,k>>>=0,V||U(g,k,this.length);let ct=this[g],yt=1,Et=0;for(;++Et<k&&(yt*=256);)ct+=this[g+Et]*yt;return ct},l.prototype.readUintBE=l.prototype.readUIntBE=function(g,k,V){g>>>=0,k>>>=0,V||U(g,k,this.length);let ct=this[g+--k],yt=1;for(;k>0&&(yt*=256);)ct+=this[g+--k]*yt;return ct},l.prototype.readUint8=l.prototype.readUInt8=function(g,k){return g>>>=0,k||U(g,1,this.length),this[g]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(g,k){return g>>>=0,k||U(g,2,this.length),this[g]|this[g+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(g,k){return g>>>=0,k||U(g,2,this.length),this[g]<<8|this[g+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(g,k){return g>>>=0,k||U(g,4,this.length),(this[g]|this[g+1]<<8|this[g+2]<<16)+16777216*this[g+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(g,k){return g>>>=0,k||U(g,4,this.length),16777216*this[g]+(this[g+1]<<16|this[g+2]<<8|this[g+3])},l.prototype.readBigUInt64LE=Ve((function(g){St(g>>>=0,"offset");const k=this[g],V=this[g+7];k!==void 0&&V!==void 0||Ft(g,this.length-8);const ct=k+256*this[++g]+65536*this[++g]+this[++g]*2**24,yt=this[++g]+256*this[++g]+65536*this[++g]+V*2**24;return BigInt(ct)+(BigInt(yt)<<BigInt(32))})),l.prototype.readBigUInt64BE=Ve((function(g){St(g>>>=0,"offset");const k=this[g],V=this[g+7];k!==void 0&&V!==void 0||Ft(g,this.length-8);const ct=k*2**24+65536*this[++g]+256*this[++g]+this[++g],yt=this[++g]*2**24+65536*this[++g]+256*this[++g]+V;return(BigInt(ct)<<BigInt(32))+BigInt(yt)})),l.prototype.readIntLE=function(g,k,V){g>>>=0,k>>>=0,V||U(g,k,this.length);let ct=this[g],yt=1,Et=0;for(;++Et<k&&(yt*=256);)ct+=this[g+Et]*yt;return yt*=128,ct>=yt&&(ct-=Math.pow(2,8*k)),ct},l.prototype.readIntBE=function(g,k,V){g>>>=0,k>>>=0,V||U(g,k,this.length);let ct=k,yt=1,Et=this[g+--ct];for(;ct>0&&(yt*=256);)Et+=this[g+--ct]*yt;return yt*=128,Et>=yt&&(Et-=Math.pow(2,8*k)),Et},l.prototype.readInt8=function(g,k){return g>>>=0,k||U(g,1,this.length),128&this[g]?-1*(255-this[g]+1):this[g]},l.prototype.readInt16LE=function(g,k){g>>>=0,k||U(g,2,this.length);const V=this[g]|this[g+1]<<8;return 32768&V?4294901760|V:V},l.prototype.readInt16BE=function(g,k){g>>>=0,k||U(g,2,this.length);const V=this[g+1]|this[g]<<8;return 32768&V?4294901760|V:V},l.prototype.readInt32LE=function(g,k){return g>>>=0,k||U(g,4,this.length),this[g]|this[g+1]<<8|this[g+2]<<16|this[g+3]<<24},l.prototype.readInt32BE=function(g,k){return g>>>=0,k||U(g,4,this.length),this[g]<<24|this[g+1]<<16|this[g+2]<<8|this[g+3]},l.prototype.readBigInt64LE=Ve((function(g){St(g>>>=0,"offset");const k=this[g],V=this[g+7];k!==void 0&&V!==void 0||Ft(g,this.length-8);const ct=this[g+4]+256*this[g+5]+65536*this[g+6]+(V<<24);return(BigInt(ct)<<BigInt(32))+BigInt(k+256*this[++g]+65536*this[++g]+this[++g]*2**24)})),l.prototype.readBigInt64BE=Ve((function(g){St(g>>>=0,"offset");const k=this[g],V=this[g+7];k!==void 0&&V!==void 0||Ft(g,this.length-8);const ct=(k<<24)+65536*this[++g]+256*this[++g]+this[++g];return(BigInt(ct)<<BigInt(32))+BigInt(this[++g]*2**24+65536*this[++g]+256*this[++g]+V)})),l.prototype.readFloatLE=function(g,k){return g>>>=0,k||U(g,4,this.length),u.read(this,g,!0,23,4)},l.prototype.readFloatBE=function(g,k){return g>>>=0,k||U(g,4,this.length),u.read(this,g,!1,23,4)},l.prototype.readDoubleLE=function(g,k){return g>>>=0,k||U(g,8,this.length),u.read(this,g,!0,52,8)},l.prototype.readDoubleBE=function(g,k){return g>>>=0,k||U(g,8,this.length),u.read(this,g,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(g,k,V,ct){g=+g,k>>>=0,V>>>=0,ct||W(this,g,k,V,Math.pow(2,8*V)-1,0);let yt=1,Et=0;for(this[k]=255&g;++Et<V&&(yt*=256);)this[k+Et]=g/yt&255;return k+V},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(g,k,V,ct){g=+g,k>>>=0,V>>>=0,ct||W(this,g,k,V,Math.pow(2,8*V)-1,0);let yt=V-1,Et=1;for(this[k+yt]=255&g;--yt>=0&&(Et*=256);)this[k+yt]=g/Et&255;return k+V},l.prototype.writeUint8=l.prototype.writeUInt8=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,1,255,0),this[k]=255&g,k+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,2,65535,0),this[k]=255&g,this[k+1]=g>>>8,k+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,2,65535,0),this[k]=g>>>8,this[k+1]=255&g,k+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,4,4294967295,0),this[k+3]=g>>>24,this[k+2]=g>>>16,this[k+1]=g>>>8,this[k]=255&g,k+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,4,4294967295,0),this[k]=g>>>24,this[k+1]=g>>>16,this[k+2]=g>>>8,this[k+3]=255&g,k+4},l.prototype.writeBigUInt64LE=Ve((function(g,k=0){return $(this,g,k,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=Ve((function(g,k=0){return et(this,g,k,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(g,k,V,ct){if(g=+g,k>>>=0,!ct){const zt=Math.pow(2,8*V-1);W(this,g,k,V,zt-1,-zt)}let yt=0,Et=1,Lt=0;for(this[k]=255&g;++yt<V&&(Et*=256);)g<0&&Lt===0&&this[k+yt-1]!==0&&(Lt=1),this[k+yt]=(g/Et|0)-Lt&255;return k+V},l.prototype.writeIntBE=function(g,k,V,ct){if(g=+g,k>>>=0,!ct){const zt=Math.pow(2,8*V-1);W(this,g,k,V,zt-1,-zt)}let yt=V-1,Et=1,Lt=0;for(this[k+yt]=255&g;--yt>=0&&(Et*=256);)g<0&&Lt===0&&this[k+yt+1]!==0&&(Lt=1),this[k+yt]=(g/Et|0)-Lt&255;return k+V},l.prototype.writeInt8=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,1,127,-128),g<0&&(g=255+g+1),this[k]=255&g,k+1},l.prototype.writeInt16LE=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,2,32767,-32768),this[k]=255&g,this[k+1]=g>>>8,k+2},l.prototype.writeInt16BE=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,2,32767,-32768),this[k]=g>>>8,this[k+1]=255&g,k+2},l.prototype.writeInt32LE=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,4,2147483647,-2147483648),this[k]=255&g,this[k+1]=g>>>8,this[k+2]=g>>>16,this[k+3]=g>>>24,k+4},l.prototype.writeInt32BE=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,4,2147483647,-2147483648),g<0&&(g=4294967295+g+1),this[k]=g>>>24,this[k+1]=g>>>16,this[k+2]=g>>>8,this[k+3]=255&g,k+4},l.prototype.writeBigInt64LE=Ve((function(g,k=0){return $(this,g,k,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=Ve((function(g,k=0){return et(this,g,k,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(g,k,V){return Z(this,g,k,!0,V)},l.prototype.writeFloatBE=function(g,k,V){return Z(this,g,k,!1,V)},l.prototype.writeDoubleLE=function(g,k,V){return h(this,g,k,!0,V)},l.prototype.writeDoubleBE=function(g,k,V){return h(this,g,k,!1,V)},l.prototype.copy=function(g,k,V,ct){if(!l.isBuffer(g))throw new TypeError("argument should be a Buffer");if(V||(V=0),ct||ct===0||(ct=this.length),k>=g.length&&(k=g.length),k||(k=0),ct>0&&ct<V&&(ct=V),ct===V||g.length===0||this.length===0)return 0;if(k<0)throw new RangeError("targetStart out of bounds");if(V<0||V>=this.length)throw new RangeError("Index out of range");if(ct<0)throw new RangeError("sourceEnd out of bounds");ct>this.length&&(ct=this.length),g.length-k<ct-V&&(ct=g.length-k+V);const yt=ct-V;return this===g&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(k,V,ct):Uint8Array.prototype.set.call(g,this.subarray(V,ct),k),yt},l.prototype.fill=function(g,k,V,ct){if(typeof g=="string"){if(typeof k=="string"?(ct=k,k=0,V=this.length):typeof V=="string"&&(ct=V,V=this.length),ct!==void 0&&typeof ct!="string")throw new TypeError("encoding must be a string");if(typeof ct=="string"&&!l.isEncoding(ct))throw new TypeError("Unknown encoding: "+ct);if(g.length===1){const Et=g.charCodeAt(0);(ct==="utf8"&&Et<128||ct==="latin1")&&(g=Et)}}else typeof g=="number"?g&=255:typeof g=="boolean"&&(g=Number(g));if(k<0||this.length<k||this.length<V)throw new RangeError("Out of range index");if(V<=k)return this;let yt;if(k>>>=0,V=V===void 0?this.length:V>>>0,g||(g=0),typeof g=="number")for(yt=k;yt<V;++yt)this[yt]=g;else{const Et=l.isBuffer(g)?g:l.from(g,ct),Lt=Et.length;if(Lt===0)throw new TypeError('The value "'+g+'" is invalid for argument "value"');for(yt=0;yt<V-k;++yt)this[yt+k]=Et[yt%Lt]}return this};const _={};function j(g,k,V){_[g]=class extends V{constructor(){super(),Object.defineProperty(this,"message",{value:k.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${g}]`,this.stack,delete this.name}get code(){return g}set code(ct){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:ct,writable:!0})}toString(){return`${this.name} [${g}]: ${this.message}`}}}function K(g){let k="",V=g.length;const ct=g[0]==="-"?1:0;for(;V>=ct+4;V-=3)k=`_${g.slice(V-3,V)}${k}`;return`${g.slice(0,V)}${k}`}function ht(g,k,V,ct,yt,Et){if(g>V||g<k){const Lt=typeof k=="bigint"?"n":"";let zt;throw zt=k===0||k===BigInt(0)?`>= 0${Lt} and < 2${Lt} ** ${8*(Et+1)}${Lt}`:`>= -(2${Lt} ** ${8*(Et+1)-1}${Lt}) and < 2 ** ${8*(Et+1)-1}${Lt}`,new _.ERR_OUT_OF_RANGE("value",zt,g)}(function(Lt,zt,te){St(zt,"offset"),Lt[zt]!==void 0&&Lt[zt+te]!==void 0||Ft(zt,Lt.length-(te+1))})(ct,yt,Et)}function St(g,k){if(typeof g!="number")throw new _.ERR_INVALID_ARG_TYPE(k,"number",g)}function Ft(g,k,V){throw Math.floor(g)!==g?(St(g,V),new _.ERR_OUT_OF_RANGE("offset","an integer",g)):k<0?new _.ERR_BUFFER_OUT_OF_BOUNDS:new _.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${k}`,g)}j("ERR_BUFFER_OUT_OF_BOUNDS",(function(g){return g?`${g} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),j("ERR_INVALID_ARG_TYPE",(function(g,k){return`The "${g}" argument must be of type number. Received type ${typeof k}`}),TypeError),j("ERR_OUT_OF_RANGE",(function(g,k,V){let ct=`The value of "${g}" is out of range.`,yt=V;return Number.isInteger(V)&&Math.abs(V)>2**32?yt=K(String(V)):typeof V=="bigint"&&(yt=String(V),(V>BigInt(2)**BigInt(32)||V<-(BigInt(2)**BigInt(32)))&&(yt=K(yt)),yt+="n"),ct+=` It must be ${k}. Received ${yt}`,ct}),RangeError);const Zt=/[^+/0-9A-Za-z-_]/g;function de(g,k){let V;k=k||1/0;const ct=g.length;let yt=null;const Et=[];for(let Lt=0;Lt<ct;++Lt){if(V=g.charCodeAt(Lt),V>55295&&V<57344){if(!yt){if(V>56319){(k-=3)>-1&&Et.push(239,191,189);continue}if(Lt+1===ct){(k-=3)>-1&&Et.push(239,191,189);continue}yt=V;continue}if(V<56320){(k-=3)>-1&&Et.push(239,191,189),yt=V;continue}V=65536+(yt-55296<<10|V-56320)}else yt&&(k-=3)>-1&&Et.push(239,191,189);if(yt=null,V<128){if((k-=1)<0)break;Et.push(V)}else if(V<2048){if((k-=2)<0)break;Et.push(V>>6|192,63&V|128)}else if(V<65536){if((k-=3)<0)break;Et.push(V>>12|224,V>>6&63|128,63&V|128)}else{if(!(V<1114112))throw new Error("Invalid code point");if((k-=4)<0)break;Et.push(V>>18|240,V>>12&63|128,V>>6&63|128,63&V|128)}}return Et}function ye(g){return e.toByteArray((function(k){if((k=(k=k.split("=")[0]).trim().replace(Zt,"")).length<2)return"";for(;k.length%4!=0;)k+="=";return k})(g))}function ge(g,k,V,ct){let yt;for(yt=0;yt<ct&&!(yt+V>=k.length||yt>=g.length);++yt)k[yt+V]=g[yt];return yt}function Oe(g,k){return g instanceof k||g!=null&&g.constructor!=null&&g.constructor.name!=null&&g.constructor.name===k.name}function be(g){return g!=g}const Yt=(function(){const g="0123456789abcdef",k=new Array(256);for(let V=0;V<16;++V){const ct=16*V;for(let yt=0;yt<16;++yt)k[ct+yt]=g[V]+g[yt]}return k})();function Ve(g){return typeof BigInt>"u"?Te:g}function Te(){throw new Error("BigInt not supported")}},527:function(t,r,n){var e=n(188),u=n(539),a=n(682);for(var d in e)e[d]=a(y(d));function y(l){return e[l]}e._api=u,t.exports=e},539:function(t){t.exports={letConst:{passes:"'use strict'; let a; const b = 2;"},letLoop:{passes:"'use strict'; for(let i in {}){}; for(let i=0;;){break}"},constLoop:{passes:"'use strict'; for(const i in {}){}; for (const i=0;;){break}"},defaultParameter:{passes:"'use strict'; function a(b=2){}"},spreadRest:{passes:"'use strict'; var a = [1,2]; +function b(...c){}(...a);"},destructuring:{passes:"'use strict'; var a = [1,2], [b,c] = a, d = {e:1,f:2}, {e:E,f} = d;"},parameterDestructuring:{passes:"'use strict'; function a({b,c}){}"},templateString:{passes:"'use strict'; var a = 1, b = `c${a}d`;"},forOf:{passes:"'use strict'; for (var a of [1]) {}"},arrow:{passes:"'use strict'; var a = () => {};"},generator:{passes:"'use strict'; function *a(){ yield; }"},conciseMethodProperty:{passes:"'use strict'; var a = 1, b = { c(){}, a };"},computedProperty:{passes:"'use strict'; var a = 1, b = { ['x'+a]: 2 };"},moduleExport:{passes:"'use strict'; export var a = 1;"},moduleImport:{passes:"'use strict'; import {a} from 'b';"},classes:{passes:"'use strict'; class Foo {}; class Bar extends Foo {};"},numericLiteral:{passes:"'use strict'; var a = 0o1, b = 0b10;"},oldOctalLiteral:{fails:"'use strict'; var a = 01;"},symbol:{passes:"'use strict'; var a = Symbol('b');"},symbolImplicitCoercion:{dependencies:["symbol"],fails:"'use strict'; var a = Symbol('a'); a + '';"},unicodeEscape:{passes:"'use strict'; var a = '\\u{20BB7}';"},unicodeIdentifier:{passes:"'use strict'; var \\u{20BB7};"},unicodeRegExp:{passes:"'use strict'; var a = /\\u{20BB7}/u;"},stickyRegExp:{passes:"'use strict'; var a = /b/y;"},letTDZ:{dependencies:["letConst"],fails:"'use strict'; a = 1; let a;"},letLoopScope:{dependencies:["letLoop","forOf"],passes:"'use strict'; var x=[],i=0;for(let i=2;i<3;i++){x.push(function(){return i})};for(let i in {3:0}){x.push(function(){return i})};for(let i of [4]){x.push(function(){return i})};if(x[0]()*x[1]()*x[2]()!=24) throw 0;"},constRedef:{dependencies:["letConst"],fails:"'use strict'; const a = 1; a = 2;"},objectProto:{passes:"'use strict'; var a = { b: 2 }, c = { __proto__: a }; if (c.b !== 2) throw 0;"},objectSuper:{passes:"'use strict'; var a = { b: 2 }, c = { d() { return super.b; } }; Object.setPrototypeOf(c,a); if (c.d() !== 2) throw 0;"},extendNatives:{dependencies:["class"],passes:"'use strict'; class Foo extends Array { }; var a = new Foo(); a.push(1,2,3); if (a.length !== 3) throw 0;"},TCO:{passes:"'use strict'; +function a(b){ if (b<6E4) return a(b+1); }(0);"},functionNameInference:{passes:"'use strict'; var a = { b: function(){} }; if (a.b.name != 'b') throw 0;"},ObjectStatics:{is:"'use strict'; return ('getOwnPropertySymbols' in Object) && ('assign' in Object) && ('is' in Object);"},ArrayStatics:{is:"'use strict'; return ('from' in Array) && ('of' in Array);"},ArrayMethods:{is:"'use strict'; return ('fill' in Array.prototype) && ('find' in Array.prototype) && ('findIndex' in Array.prototype) && ('entries' in Array.prototype) && ('keys' in Array.prototype) && ('values' in Array.prototype);"},TypedArrays:{is:"'use strict'; return ('ArrayBuffer' in global) && ('Int8Array' in global) && ('Uint8Array' in global) && ('Int32Array' in global) && ('Float64Array' in global);"},TypedArrayStatics:{dependencies:["TypedArrays"],is:"'use strict'; return ('from' in Uint32Array) && ('of' in Uint32Array);"},TypedArrayMethods:{dependencies:["TypedArrays"],is:"'use strict'; var x = new Int8Array(1); return ('slice' in x) && ('join' in x) && ('map' in x) && ('forEach' in x);"},StringMethods:{is:"'use strict'; return ('includes' in String.prototype) && ('repeat' in String.prototype);"},NumberStatics:{is:"'use strict'; return ('isNaN' in Number) && ('isInteger' in Number);"},MathStatics:{is:"'use strict'; return ('hypot' in Math) && ('acosh' in Math) && ('imul' in Math);"},collections:{is:"'use strict'; return ('Map' in global) && ('Set' in global) && ('WeakMap' in global) && ('WeakSet' in global);"},Proxy:{is:"'use strict'; return ('Proxy' in global);"},Promise:{is:"'use strict'; return ('Promise' in global);"},Reflect:{is:"'use strict'; return ('Reflect' in global);"}}},188:function(t){t.exports=new function(){this.letConst="letConst",this.letTDZ="letTDZ",this.constRedef="constRedef",this.destructuring="destructuring",this.spreadRest="spreadRest",this.forOf="forOf",this.collections="collections",this.symbol="symbol",this.Symbol=this.symbol,this.symbolImplicitCoercion="symbolImplicitCoercion",this.numericLiteral="numericLiteral",this.oldOctalLiteral="oldOctalLiteral",this.MathStatics="MathStatics",this.mathStatics=this.MathStatics,this.NumberStatics="NumberStatics",this.numberStatics=this.NumberStatics,this.StringMethods="StringMethods",this.stringMethods=this.StringMethods,this.unicodeEscape="unicodeEscape",this.unicodeIdentifier="unicodeIdentifier",this.unicodeRegExp="unicodeRegExp",this.stickyRegExp="stickyRegExp",this.templateString="templateString",this.arrow="arrow",this.defaultParameter="defaultParameter",this.parameterDestructuring="parameterDestructuring",this.functionNameInference="functionNameInference",this.TCO="TCO",this.tco=this.TCO,this.ArrayMethods="ArrayMethods",this.arrayMethods=this.ArrayMethods,this.ArrayStatics="ArrayStatics",this.arrayStatics=this.ArrayStatics,this.TypedArrayMethods="TypedArrayMethods",this.typedArrayMethods=this.TypedArrayMethods,this.TypedArrayStatics="TypedArrayStatics",this.typedArrayStatics=this.TypedArrayStatics,this.TypedArrays="TypedArrays",this.typedArrays=this.TypedArrays,this.objectProto="objectProto",this.ObjectStatics="ObjectStatics",this.objectStatics=this.ObjectStatics,this.computedProperty="computedProperty",this.conciseMethodProperty="conciseMethodProperty",this.Proxy="Proxy",this.proxy=this.Proxy,this.Reflect="Reflect",this.reflect=this.Reflect,this.generator="generator",this.Promise="Promise",this.promise=this.Promise,this.classes="classes",this.class=this.classes,this.objectSuper="objectSuper",this.extendNatives="extendNatives",this.moduleExport="moduleExport",this.moduleImport="moduleImport"}},682:function(t,r,n){var e=n(539),u={};function a(l){try{return y(l),!0}catch{return!1}}function d(l){try{return y(l)}catch{return!1}}function y(l){return new Function(l)()}u._api=e,t.exports=function l(b){if(b==="class"&&(b="classes"),u._api[b].dependencies){for(var N=0;N<u._api[b].dependencies.length;N++)if(l(u._api[b].dependencies[N])===!1)return!1}return u._api[b].passes?a(u._api[b].passes):u._api[b].fails?!a(u._api[b].fails):u._api[b].is?d(u._api[b].is):u._api[b].not?!d(u._api[b].not):void 0}},251:function(t,r){r.read=function(n,e,u,a,d){var y,l,b=8*d-a-1,N=(1<<b)-1,L=N>>1,T=-7,x=u?d-1:0,M=u?-1:1,D=n[e+x];for(x+=M,y=D&(1<<-T)-1,D>>=-T,T+=b;T>0;y=256*y+n[e+x],x+=M,T-=8);for(l=y&(1<<-T)-1,y>>=-T,T+=a;T>0;l=256*l+n[e+x],x+=M,T-=8);if(y===0)y=1-L;else{if(y===N)return l?NaN:1/0*(D?-1:1);l+=Math.pow(2,a),y-=L}return(D?-1:1)*l*Math.pow(2,y-a)},r.write=function(n,e,u,a,d,y){var l,b,N,L=8*y-d-1,T=(1<<L)-1,x=T>>1,M=d===23?Math.pow(2,-24)-Math.pow(2,-77):0,D=a?0:y-1,Y=a?1:-1,z=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(b=isNaN(e)?1:0,l=T):(l=Math.floor(Math.log(e)/Math.LN2),e*(N=Math.pow(2,-l))<1&&(l--,N*=2),(e+=l+x>=1?M/N:M*Math.pow(2,1-x))*N>=2&&(l++,N/=2),l+x>=T?(b=0,l=T):l+x>=1?(b=(e*N-1)*Math.pow(2,d),l+=x):(b=e*Math.pow(2,x-1)*Math.pow(2,d),l=0));d>=8;n[u+D]=255&b,D+=Y,b/=256,d-=8);for(l=l<<d|b,L+=d;L>0;n[u+D]=255&l,D+=Y,l/=256,L-=8);n[u+D-Y]|=128*z}},943:function(t){function r(n){this.message=n}r.prototype=new Error,r.prototype.name="InvalidCharacterError",t.exports=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(n){var e=String(n).replace(/=+$/,"");if(e.length%4==1)throw new r("'atob' failed: The string to be decoded is not correctly encoded.");for(var u,a,d=0,y=0,l="";a=e.charAt(y++);~a&&(u=d%4?64*u+a:a,d++%4)?l+=String.fromCharCode(255&u>>(-2*d&6)):0)a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a);return l}},863:function(t,r,n){var e=n(943);t.exports=function(u){var a=u.replace(/-/g,"+").replace(/_/g,"/");switch(a.length%4){case 0:break;case 2:a+="==";break;case 3:a+="=";break;default:throw"Illegal base64url string!"}try{return(function(d){return decodeURIComponent(e(d).replace(/(.)/g,(function(y,l){var b=l.charCodeAt(0).toString(16).toUpperCase();return b.length<2&&(b="0"+b),"%"+b})))})(a)}catch{return e(a)}}},127:function(t,r,n){var e=n(863);function u(a){this.message=a}u.prototype=new Error,u.prototype.name="InvalidTokenError",t.exports=function(a,d){if(typeof a!="string")throw new u("Invalid token specified");var y=(d=d||{}).header===!0?0:1;try{return JSON.parse(e(a.split(".")[y]))}catch(l){throw new u("Invalid token specified: "+l.message)}},t.exports.InvalidTokenError=u},471:function(t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);t.exports=function(e,u){var a=u||0,d=r;return[d[e[a++]],d[e[a++]],d[e[a++]],d[e[a++]],"-",d[e[a++]],d[e[a++]],"-",d[e[a++]],d[e[a++]],"-",d[e[a++]],d[e[a++]],"-",d[e[a++]],d[e[a++]],d[e[a++]],d[e[a++]],d[e[a++]],d[e[a++]]].join("")}},814:function(t){var r=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(r){var n=new Uint8Array(16);t.exports=function(){return r(n),n}}else{var e=new Array(16);t.exports=function(){for(var u,a=0;a<16;a++)3&a||(u=4294967296*Math.random()),e[a]=u>>>((3&a)<<3)&255;return e}}},550:function(t,r,n){var e=n(814),u=n(471);t.exports=function(a,d,y){var l=d&&y||0;typeof a=="string"&&(d=a==="binary"?new Array(16):null,a=null);var b=(a=a||{}).random||(a.rng||e)();if(b[6]=15&b[6]|64,b[8]=63&b[8]|128,d)for(var N=0;N<16;++N)d[l+N]=b[N];return d||u(b)}},723:function(t){t.exports={version:"1.1.92",sdkApiVersion:"1.0.0",sdkClientType:"web",headers:{sdkClientVersion:"x-nsure-sdk-client-version",sdkApiVersion:"x-nsure-sdk-api-version",sdkClientType:"x-nsure-sdk-client-type",appId:"x-nsure-app-id",sessionId:"x-nsure-session-id",partnerId:"x-nsure-partner-id",appContextId:"x-nsure-app-context-id"},serverUrl:"https://sdk-service.nsureapi.com",storageIframeUrl:"https://sdk.nsureapi.com/sdkIframe.html",coreConfigFileUrl:"https://sdk.nsureapi.com/core-config/config.json",errorServerUrl:"https://sdk-error-manager-service.nsureapi.com",type:"prod"}},616:function(t,r,n){var e=n(287).hp;t.exports={toArray:function(u,a){if(!u||u.length!==36)return u;for(var d="",y=a?"0":"1",l=0;l<36;l+=1)d+=l>=26&&l<30?y:u[l];var b=(function(T){for(var x=255,M=255,D=0,Y=T.length;Y;){var z=Y>20?20:Y;Y-=z;do M+=x+=T[D++];while(--z);x=(255&x)+(x>>8),M=(255&M)+(M>>8)}return((M=(255&M)+(M>>8))<<8|(x=(255&x)+(x>>8))).toString(16)})(e.from(d));if(b){var N="";if(b.length===4)N+=b;else if(b.length<4){for(var L=0;L<4-b.length;L+=1)N+=y;N+=b}else N+=b.slice(-4)}return d.substring(0,26)+N+d.substring(26+N.length)}}},108:function(t){function r(){this.listeners={}}r.prototype.addEventListener=function(n,e){n in this.listeners||(this.listeners[n]=[]),this.listeners[n].push(e)},r.prototype.removeEventListener=function(n,e){if(n in this.listeners){for(var u=this.listeners[n],a=0,d=u.length;a<d;a++)if(u[a]===e)return void u.splice(a,1)}},r.prototype.dispatchEvent=function(n){if(!(n.type in this.listeners))return!0;for(var e=this.listeners[n.type].slice(),u=0,a=e.length;u<a;u++)e[u].call(this,n);return!n.defaultPrevented},t.exports=r},1:function(t){var r=null,n=null,e=0;function u(a,d){return encodeURIComponent(a)+"="+encodeURIComponent(d)}t.exports={init:function(a,d){r=a.errorServerUrl+"/reportSdkMsg",n=d.appId,e=typeof d.logMessageRate=="number"?d.logMessageRate:100},send:function(a){if(r&&!(100*Math.random()>e)){var d=r;d+="?"+u("appId",n),d+="&"+u("msg",JSON.stringify(a));var y=new Image;y.onerror=function(){},y.src=d}}}},611:function(t){var r=(function(){function n(u,a){this.method=u,this.url=a,this.headers={},this.data=null,this.timeout=1e4}n.prototype.set=function(u,a){if(typeof u=="object")for(var d in u)u.hasOwnProperty(d)&&(this.headers[d]=u[d]);else this.headers[u]=a;return this},n.prototype.send=function(u){return this.data=u,this},n.prototype.timeout=function(u){return this.timeout=u,this},n.prototype.end=function(u){var a=this,d={method:this.method,headers:this.headers};function y(T,x){return{ok:!1,status:x?x.status:400,response:T instanceof Error?T.message:T}}if(this.data&&(d.body=JSON.stringify(this.data)),typeof fetch=="function"){var l,b=fetch(this.url,d).then((function(T){if(!T.ok)throw{response:T,message:T.statusText||"HTTP error "+T.status};return(function(x){var M=x.headers.get("content-type");return M&&M.includes("application/json")?x.json().then((function(D){return{ok:x.ok,status:x.status,body:D}})):x.text().then((function(D){return{ok:x.ok,status:x.status,body:D}}))})(T)}));b.catch((function(){}));var N=new Promise((function(T,x){l=setTimeout((function(){x(new Error("Request timeout"))}),a.timeout)}));Promise.race([b,N]).then((function(T){clearTimeout(l),T.ok?u(null,T):u(y(T.response,T))})).catch((function(T){clearTimeout(l),u(y(T.message,T&&T.response))}))}else{var L=new XMLHttpRequest;L.open(this.method,this.url,!0),Object.keys(this.headers).forEach((function(T){L.setRequestHeader(T,a.headers[T])})),L.timeout=this.timeout,L.onload=function(){var T={ok:L.status>=200&&L.status<300,status:L.status,body:L.responseText};try{T.body=JSON.parse(L.responseText)}catch{}T.ok?u(null,T):u(y("HTTP error "+L.status,T))},L.onerror=function(){u(y("Error",{status:400}))},L.ontimeout=function(){u(y("Timeout",{status:408}))},L.send(this.data?JSON.stringify(this.data):null)}};var e={};return["get","post","put","delete"].forEach((function(u){e[u]=function(a){return new n(u,a)}})),e})();t.exports=r},776:function(t,r,n){var e,u,a=n(611),d=n(723),y=n(884),l=d.serverUrl;function b(){e=e||{},u!==void 0&&(e[d.headers.sessionId]=u);var N={Accept:"application/json","Content-Type":"application/json"};return Object.keys(e).forEach((function(L){e[L]!==void 0&&(N[L]=e[L])})),N}t.exports={setSessionId:function(N){u=N},makeRequest:function(N,L){var T=N.path,x=N.data,M=N.method;(function D(Y){a[M](Y+"/"+T).set(b()).send(x).end((function(z,J){if(z){if(Y!==d.serverUrl)return void D(d.serverUrl);y.isFunction(L)&&L({ok:!1,status:z.status,response:z.response})}else y.isFunction(L)&&L(null,{ok:J.ok,status:J.status,response:J.body})}))})(l)},methods:{get:"get",post:"post",put:"put",delete:"delete"},getRequestHeaders:b,init:function(N,L){(function(T){e=T})(N),L.eventsReportUrl&&typeof L.eventsReportUrl=="string"&&(l=y.normalizePath(L.eventsReportUrl))}}},13:function(t,r,n){var e,u=n(723),a="getItem";function d(l,b){l&&l.contentWindow.postMessage(b,"*")}function y(l,b,N){l.removeEventListener?l.removeEventListener(b,N,!1):l.attachEvent&&l.detachEvent("on"+b,N)}t.exports={init:function(l){var b,N=(b=!1,function(){b||(b=!0,l())});(e=document.createElement("iframe")).id="storageIframe",e.width=e.height=e.frameBorder=0,e.style.display="none",e.setAttribute("src",u.storageIframeUrl),e.onload=N,e.onerror=N,document.body.appendChild(e),window.setTimeout(N,1e4)},getKey:function(l,b){var N,L,T,x,M,D;e||b(),N=window,L="message",x=function Y(z){if(z.data&&typeof z.data=="string")try{var J=JSON.parse(z.data);if(J.command===a){var q=J.response;y(window,"message",Y),b(q)}}catch{y(window,"message",Y),b()}},M=b,D=!1,window.setTimeout((function(){D||(D=!0,M())}),5e3),T=function(Y){D||(D=!0,x(Y))},N.addEventListener?N.addEventListener(L,T,!1):N.attachEvent&&N.attachEvent("on"+L,T),d(e,JSON.stringify({command:a,key:l}))},setKey:function(l,b){d(e,JSON.stringify({command:"setItem",key:l,value:b}))},cleanup:function(){e&&e.parentElement&&e.parentElement.removeChild&&(e.parentElement.removeChild(e),e=null)}}},528:function(t){var r,n={setItem:function(l,b){this[l]=b},getItem:function(l){return this[l]},removeItem:function(l){delete this[l]}};function e(){try{return localStorage.setItem("di",1),localStorage.removeItem("di"),!0}catch{return!1}}function u(){return r===void 0&&(r=e()),r?localStorage:n}function a(l,b){u().setItem(l,b)}function d(l){return u().getItem(l)}function y(l){return u().removeItem(l)}t.exports={reset:function(){throw new Error("Cannot call reset!")},setItem:a,getItem:d,getBackwardCompatabilityItem:function(l,b){var N=d(l);return!N&&b&&(N=d(b))&&(a(l,N),y(b)),N},removeItem:y,hasAccessToLocalStorage:e,getSessionItem:function(l){try{return sessionStorage.getItem(l)}catch{return n.getItem(l)}},setSessionItem:function(l,b){try{return sessionStorage.setItem(l,b)}catch{return n.setItem(l,b)}}}},884:function(t){var r="nsure-app-cid";function n(e){var u=e;return u&&u.charAt(u.length-1)==="/"&&(u=u.slice(0,-1)),u&&!/^https?:\/\//i.test(u)&&(u="https://"+u),u}t.exports={isFunction:function(e){return typeof e=="function"},loadScript:function(e,u){var a=!1,d=document.createElement("script");function y(){a||(a=!0,u())}d.onload=y,d.onreadystatechange=function(){a||d.readyState!=="complete"||y()},d.onerror=function(){a||(a=!0,u("Error loading script"))},d.src=e,document.body.appendChild(d)},loadImage:function(e){var u=document.createElement("img");u.src=e,u.style.height=0,u.style.width=0,u.style.display="none",u.style.visibility="hidden",document.body.appendChild(u)},randomInt:function(e,u){var a,d=u-e+1;return Math.floor(((a=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&window.msCrypto.getRandomValues.bind(window.msCrypto))?a(new Uint32Array(1))[0]/Math.pow(2,32):Math.random())*d+e)},isValidDate:function(e){return e instanceof Date&&!isNaN(e)},getAppContextId:function(){try{var e=sessionStorage.getItem(r);e?sessionStorage.removeItem(r):e=String(Math.floor(1e6*Math.random())),window.addEventListener("beforeunload",(u=e,function(){try{sessionStorage.setItem(r,u)}catch{}}))}catch{e=0}var u;return e},isBrowser:function(){return typeof document<"u"&&typeof navigator<"u"&&typeof document.createElement=="function"},normalizePath:n,getConfigBaseUrls:function(e,u){var a=null;if(typeof e.configBaseUrl=="string"&&e.configBaseUrl.length>0){var d=u.coreConfigFileUrl.indexOf("/core-config/"),y=d>0?u.coreConfigFileUrl.substring(d):"/core-config/config.json";a=n(e.configBaseUrl)+y}return{mainConfigBaseUrl:a||u.coreConfigFileUrl,altConfigBaseUrl:a===u.coreConfigFileUrl?null:u.coreConfigFileUrl}}}},543:function(t){var r="f8ad0f9b-",n="ns_install_reported",e=r+n,u=r+"ns_reportedFpInSession";t.exports={webType:"Web",oldInstallEventReportedKeyName:n,installEventReportedKeyName:e,fingerprintReportedInSessionKey:u,eventTriggers:{fingerPrint:"fingerprint"}}},38:function(t){t.exports={C:"c",KD:"kd",S:"s",MM:"mm",I:"i",PC:"pc",PL:"pl",DY:"dy"}},298:function(t){t.exports={activityEvent:"activity",inactivityEvent:"inactivity"}},102:function(t,r,n){var e=n(723),u=n(776),a=n(387),d=n(733),y=n(472),l=n(376),b=n(120),N=n(142),L=n(636),T=n(496),x=n(1),M=n(336);t.exports={init:function(D){var Y=D.deviceId,z=D.linkedDevices,J={};J[e.headers.appId]=D.appId,J[e.headers.partnerId]=D.partnerId,J[e.headers.sdkClientVersion]=e.version,J[e.headers.sdkApiVersion]=e.sdkApiVersion,J[e.headers.sdkClientType]=e.sdkClientType,J[e.headers.appContextId]=D.appContextId,u.init(J,D),a.addMetadataProps(D),x.init(e,D),a.reportInitEvent(Y),T.init(D),M.init(D),d.installSdk(D,(function(q){q||l.manageFingerprint(Y,!0)})),d.reportLinkDevices(Y,z),y.manageSessionId({deviceId:Y,initModuleConfig:D}),b.manageDomEvents(Y),N.manageKeepAlive({deviceId:Y}),L.reportVersionUpgrade({deviceId:Y,initModuleVersion:D.clientVersion,coreModuleVersion:e.version})}}},143:function(t,r,n){var e=n(108),u=n(23).oneMinute,a=n(298);function d(){e.call(this),this.activityEvents={mousedown:void 0,mouseup:void 0,click:void 0,mousemove:void 0,keydown:void 0,keyup:void 0}}function y(l){e.call(this),this.activityServiceId=l}d.prototype=Object.create(e.prototype),d.prototype.constructor=d,d.prototype.observe=function(){var l=this;Object.keys(this.activityEvents).forEach((function(b){document.addEventListener(b,l.activityEvents[b]=function(){l.activityHandler()})}))},d.prototype.activityHandler=function(){this.stopActivityListeners(),this.dispatchEvent(new Event(a.activityEvent))},d.prototype.stopActivityListeners=function(){var l=this;Object.keys(this.activityEvents).forEach((function(b){document.removeEventListener(b,l.activityEvents[b])}))},y.prototype=Object.create(e.prototype),y.prototype.constructor=y,y.prototype.trackInactivity=function(l){var b,N=new d,L=this,T=!1;function x(){T||(clearTimeout(b),setTimeout((function(){L.trackInactivity(l)}),u))}N.addEventListener(a.activityEvent,x),N.observe(),b=setTimeout((function(){T=!0,N.stopActivityListeners(),N.removeEventListener(a.activityEvent,x),L.dispatchEvent(new Event(a.inactivityEvent))}),l)},t.exports=y},496:function(t,r,n){var e,u=n(120),a=n(776),d=n(376),y=n(23),l=n(723),b=n(38),N=n(543),L=n(336),T=n(884),x=[],M=[],D=null,Y=6e4,z=5e3,J=null,q=T.isBrowser()?Math.floor(window.performance&&(window.performance.timeOrigin||window.performance.navigationStart)||Date.now()):Date.now(),ot=0,pt=null,ft=Date.now(),Rt=0,At=null,st=!1,dt=!1,mt=!1,wt=!1,P=[];function f(){M=x,x=[],W(),S()}function S(){D&&clearTimeout(D),D=setTimeout(f,Y)}function U(){var K={device:{id:e,type:N.webType},metadata:{clientRequestId:y.getClientRequestId()}};return J&&J.fingerprintHash&&(K.device.fingerprint=J.fingerprintHash),K}function W(K){if(M.length)if(J!==null){var ht=Object.assign(U(),{events:M});a.makeRequest({path:"bulk",data:ht,method:a.methods.post},K)}else d.getFingerprint((function(St){J=St,W(K)}))}function $(K,ht){return x.push(K),ht?new Blob([JSON.stringify(x)]).size:0}function et(){if(mt){var K=Date.now();K-ft>z&&($({i:{dr:K-ft,ac:K-ft-Rt},metadata:{type:b.I,timestamp:K}},!1),Rt=0)}}function ut(){S(),M=x,x=[],W()}function Z(K){et(),(function(){if(wt&&Math.random()<.25){for(var ht=[],St=0;St<3;St++)ht.push(String.fromCharCode(Math.floor(26*Math.random())+97));var Ft=b.DY+ht[0],Zt={metadata:{type:Ft,timestamp:Date.now()}};Zt[Ft]={sx:Math.floor(1e3*Math.random())+1,sy:Math.floor(1e3*Math.random())+1},Zt[Ft][ht.join("")]=Math.floor(1e3*Math.random())+1,$(Zt,!1)}})(),(function(ht){L.triggerEventOnEvent(ht)})(K),$(Object.assign({metadata:{type:K.eventType,timestamp:Date.now()}},K.payload),!0)>32768&&ut(),K.eventType!==b.C&&K.eventType!==b.S&&K.eventType!==b.KD&&K.eventType!==b.MM||(ft=Date.now())}function h(){st&&ut()}function _(K){return window.addEventListener(K,h,!0),function(){window.removeEventListener(K,h,!0)}}function j(K,ht){return!K||K.indexOf(ht)>-1}t.exports={init:function(K){if(!st){var ht=K.bulkEvents&&K.bulkEvents.mask;if(!Array.isArray(ht)||ht.length!==0){var St=K.bulkEvents&&typeof K.bulkEvents.pct=="number"?K.bulkEvents.pct:100;if(!(St===0||Math.random()>St/100)){var Ft=K.bulkEvents&&K.bulkEvents.appMaskInclude;if(!Array.isArray(Ft)||Ft.indexOf(K.appId)!==-1){var Zt=K.bulkEvents&&K.bulkEvents.appMaskExclude;if(!Array.isArray(Zt)||Zt.indexOf(K.appId)===-1){var de=j(ht,b.C),ye=j(ht,b.KD),ge=j(ht,b.S),Oe=j(ht,b.PC),be=j(ht,b.MM),Yt=j(ht,b.PL),Ve=j(ht,b.I),Te=j(ht,b.DY),g=Ve||Yt;e=K.deviceId,S(),de&&P.push(u.setClickListener(Z)),ye&&P.push(u.setKeyDownListener(Z)),ge&&P.push(u.setScrollListener(Z)),Oe&&P.push(u.setPageChangeListener(Z)),be&&P.push(u.setMouseMoveListener(Z)),dt=Yt,mt=Ve,wt=Te,g&&P.push((function(){function k(){if(document.hidden)pt=Date.now(),At=pt;else if(pt!==null){var V=Date.now();ot+=V-pt,pt=null,Rt+=V-At}}return document.addEventListener("visibilitychange",k),function(){document.removeEventListener("visibilitychange",k)}})()),P.push((function(){function k(){if(et(),(function(){if(dt){var Lt=Date.now(),zt=Lt-q;$({metadata:{type:b.PL,timestamp:Lt},pl:{dr:zt,ac:zt-ot}},!1)}})(),navigator.sendBeacon&&window.URLSearchParams){if(x.length>0)try{var V=a.getRequestHeaders(),ct=Object.assign(U(),{events:x}),yt=new URLSearchParams;yt.append("data",JSON.stringify(ct)),yt.append("headers",JSON.stringify(V));var Et=new Blob([yt.toString()],{type:"application/x-www-form-urlencoded"});navigator.sendBeacon(l.serverUrl+"/bulk",Et)}catch{}}else M=x,W()}return window.addEventListener("beforeunload",k),function(){window.removeEventListener("beforeunload",k)}})()),st=!0,x=[],de||P.push(_("click")),P.push(_("paste"))}}}}}},cleanup:function(){st&&(D&&clearTimeout(D),P.forEach((function(K){K()})),P=[],st=!1)},trigger:h}},120:function(t,r,n){var e=n(709),u=n(38),a=n(23);function d(){return"ontouchstart"in window}function y(l){var b={};if(l.nodeName){b.name=l.nodeName,l.className&&(b.className=String(l.className)),l.id&&(b.id=l.id);var N=l.getAttribute&&l.getAttribute("type");N&&(b.type=N),l.placeholder&&(b.placeholder=l.placeholder)}return b}t.exports={manageDomEvents:function(l){e.managePasteEvents(l)},getDomProperties:y,setClickListener:function(l){function b(L){var T={eventType:u.C,payload:{c:{d:y(L.target)}}},x=L.target.textContent||L.target.innerText||"";if(x){var M=a.transformDomNodeContent(x);T.payload[u.C].x={p:M.prefix,s:M.suffix,l:M.length}}l(T)}var N=d()?"touchend":"click";return window.addEventListener(N,b,!0),function(){window.removeEventListener(N,b,!0)}},setKeyDownListener:function(l){function b(N){l({eventType:u.KD,payload:{kd:{d:y(N.target),k:N.key||N.code||"na"}}})}return window.addEventListener("keydown",b,!0),function(){window.removeEventListener("keydown",b,!0)}},setScrollListener:function(l){var b=null,N=0,L=0,T={x:0,y:0},x=0,M=0,D=0,Y=0,z=0,J=0;function q(pt){l({eventType:u.S,payload:{s:{d:y(pt.target),di:{x:T.x,y:T.y},t:M-x,sx:D,sy:Y,ex:z,ey:J}}}),N=0,L=0,T.x=0,T.y=0,b=null,x=0,M=0}function ot(pt){var ft=pt.target.scrollingElement||pt.target;if(ft&&(ft===document&&(ft=document.documentElement),ft instanceof Element)){var Rt=ft.getBoundingClientRect(),At=-Rt.left+ft.scrollLeft,st=-Rt.top+ft.scrollTop;b?(clearTimeout(b),M=Date.now(),z=At,J=st):(x=Date.now(),M=x,z=D=At,J=Y=st),(T.x||T.y||N||L)&&(T.x+=Math.abs(At-N),T.y+=Math.abs(st-L)),N=At,L=st,b=setTimeout(q.bind(null,pt),200)}}return window.addEventListener("scroll",ot,!0),function(){b&&clearTimeout(b),window.removeEventListener("scroll",ot,!0)}},setPageChangeListener:function(l){var b,N,L,T=null,x=null,M=0;function D(q){var ot;if(window.URL){var pt=new URL(q,"http://example.com");ot=pt.pathname+pt.hash}else ot=q.indexOf("?")>-1?q.split("?")[0]:q.indexOf("#")>-1?q.split("#")[0]:q;if(ot!==T){var ft=Date.now()-L;l({eventType:u.PC,payload:{pc:{f:T,t:ot,dr:ft,ac:ft-M}}}),T=ot,L=Date.now()}}function Y(){if(document.hidden)x=Date.now();else if(x!==null){var q=Date.now();M+=q-x,x=null}}function z(q){D(q.newURL)}function J(){D(window.location.href)}return window.history?(T=window.location.pathname||"/",b=history.pushState,N=history.replaceState,L=Date.now(),window.addEventListener("hashchange",z),window.addEventListener("popstate",J),history.pushState=function(q,ot,pt){return D(pt),b.apply(history,arguments)},history.replaceState=function(q,ot,pt){return D(pt),N.apply(history,arguments)},document.addEventListener("visibilitychange",Y),function(){history.pushState=b,history.replaceState=N,window.removeEventListener("hashchange",z),window.removeEventListener("popstate",J),document.removeEventListener("visibilitychange",Y),T=null,M=0}):function(){}},setMouseMoveListener:function(l){var b=[],N=!1,L=null,T=0,x={x:0,y:0};function M(){b.length!==0&&(l({eventType:u.MM,payload:{mm:{s:b.slice(),l:N,di:x}}}),b=[])}function D(z){var J,q;z.touches&&z.touches.length>0?(J=z.touches[0].clientX,q=z.touches[0].clientY):(J=z.clientX,q=z.clientY),J!==void 0&&q!==void 0&&(b.length>0&&(x.x+=Math.abs(J-b[b.length-1][0]),x.y+=Math.abs(q-b[b.length-1][1])),b.push([J,q]),b.length>1e3&&(N=!0,(T+=2)>=1e3&&(T=2),b.splice(T,1)),L&&clearTimeout(L),L=setTimeout(M,200))}var Y=d()?"touchmove":"mousemove";return window.addEventListener(Y,D,!0),function(){L&&clearTimeout(L),window.removeEventListener(Y,D,!0)}}}},387:function(t,r,n){var e=n(776),u=n(23),a=n(287).hp,d=n(527),y=n(543),l=["storeInfo"],b={};function N(){var x={};for(var M in d)if(d.hasOwnProperty(M)){var D=M.charAt(0);D===D.toLowerCase()&&D!==D.toUpperCase()&&(x[M]=d[M])}return x}function L(x,M){var D=x.eventType,Y=x.deviceId,z=x.fingerprintProVisitorId,J=x.fingerprintProRequestId,q=x.fingerprintHash,ot=(function(mt){try{return a.from(JSON.stringify(mt)).toString("base64")}catch{return}})(x.fingerprintComponents),pt=x.deviceExtendedInfo,ft=x.payload,Rt={metadata:{type:D},device:{id:Y,fingerprint:q,rawFingerprint:ot,type:y.webType}};z&&(Rt.device.visitorId=z),J&&(Rt.device.fpRequestId=J);var At=Object.assign({},u.getClientMetadata(u.metadataType.payload),b);for(var st in At)At.hasOwnProperty(st)&&(Rt.metadata[st]=At[st]);for(var dt in ft)ft.hasOwnProperty(dt)&&(Rt[dt]=ft[dt]);pt&&(Rt.device.extendedInfo=pt),e.makeRequest({path:"events",data:Rt,method:e.methods.post},M)}function T(x){var M=x.type,D=x.deviceId,Y=x.fingerprintProVisitorId,z=x.fingerprintProRequestId,J=x.fingerprintHash,q=x.fingerprintComponents,ot=x.deviceExtendedInfo,pt=x.callback,ft={eventType:M,deviceId:D,fingerprintHash:J,fingerprintComponents:q,deviceExtendedInfo:ot};Y&&(ft.fingerprintProVisitorId=Y),z&&(ft.fingerprintProRequestId=z),L(ft,pt)}t.exports={addMetadataProps:function(x){for(var M=0;M<l.length;M+=1){var D=l[M];x.hasOwnProperty(D)&&(b[D]=x[D])}},reportEvent:L,reportAppInstallEvent:function(x,M,D,Y,z,J){T({type:"appInstall",deviceId:x,fingerprintProVisitorId:M,fingerprintProRequestId:D,fingerprintHash:Y,fingerprintComponents:z,deviceExtendedInfo:N(),callback:J})},reportFingerprintEvent:function(x,M,D,Y){T({type:"fingerprint",deviceId:x,fingerprintHash:M,fingerprintComponents:D,fingerprintProRequestId:Y})},reportInitEvent:function(x){T({type:"appInit",deviceId:x})}}},625:function(t,r,n){var e=n(269),u=n(1);t.exports={getFingerprint:function(a,d){if(e&&a)try{e.load({apiKey:"KxV6sLn9nXBGBzPtzicI",endpoint:["https://metrics.nsureapi.com",e.defaultEndpoint],modules:[e.makeIdentificationModule(),e.makeBotdModule()],scriptUrlPattern:["https://metrics.nsureapi.com/web/v<version>/<apiKey>/loader_v<loaderVersion>.js",e.defaultScriptUrlPattern],remoteControlDetection:!0}).then((function(l){return l.get()})).then((function(l){typeof d=="function"&&d(l?{fingerprintVisitorId:l.visitorId,fingerprintRequestId:l.requestId}:{})})).catch((function(){typeof d=="function"&&d({})}))}catch(l){var y={msg:"FingerprintJS.load pro error",err:JSON.stringify(l)};u.send(y),typeof d=="function"&&d({})}else d({})}}},376:function(t,r,n){var e=n(568),u=n(528),a=n(387),d=n(1),y="ns_fp_hash";function l(N,L,T,x){a.reportFingerprintEvent(T,N,L,x)}function b(N){try{e.load({monitoring:!1}).then((function(T){T.get().then((function(x){N(x?{fingerprintHash:x.visitorId,fingerprintComponents:x.components}:{})})).catch((function(){typeof N=="function"&&N({})}))})).catch((function(){typeof N=="function"&&N({})}))}catch(T){var L={msg:"FingerprintJS.load error",err:JSON.stringify(T)};d.send(L),typeof N=="function"&&N({})}}t.exports={manageFingerprint:function(N,L,T){b((function(x){var M=x.fingerprintHash,D=x.fingerprintComponents;u.getItem(y)!==M&&(L&&l(M,D,N),u.setItem(y,M)),typeof T=="function"&&T({fingerprintHash:M,fingerprintComponents:D})}))},getFingerprint:b,reportFingerprintWithProInfo:function(N,L){b((function(T){l(T.fingerprintHash,T.fingerprintComponents,N,L)}))}}},733:function(t,r,n){var e=n(528),u=n(376),a=n(625),d=n(387),y=n(142),l=n(1),b=n(543),N="linkDevices";function L(x,M,D){u.getFingerprint((function(Y){var z=Y.fingerprintHash,J=Y.fingerprintComponents;d.reportEvent({eventType:N,deviceId:x,fingerprintHash:z,fingerprintComponents:J,payload:{linkedDevices:[M,D]}})}))}function T(x,M){if(M)for(var D=0,Y=M.length;D<Y;D+=1){var z=M[D];if(z&&z.length>1){var J=z[0],q=z[1];J&&q&&J!==q&&L(x,J,q)}}}t.exports={installSdk:function(x,M){var D=x.deviceId,Y=x.loadFingerprintJsPro,z=(x.supressInstallBackwardCompatibility||[]).indexOf(x.appId)===-1,J=(function(ot,pt){var ft=pt?e.getBackwardCompatabilityItem(b.installEventReportedKeyName,b.oldInstallEventReportedKeyName):e.getItem(b.installEventReportedKeyName);return ft?(ft==="true"&&(e.setItem(b.installEventReportedKeyName,ot),ft=ot),ot===ft?{isInstalled:!0,reportedDeviceId:ot}:{isInstalled:!1,reportedDeviceId:ft}):{isInstalled:!1,reportedDeviceId:null}})(D,z);function q(ot,pt,ft){if(ft>3)M&&M(!1);else{var Rt=pt.fingerprintHash,At=pt.fingerprintComponents,st=ot.fingerprintVisitorId,dt=ot.fingerprintRequestId;d.reportAppInstallEvent(D,st,dt,Rt,At,(function(mt){if(mt){var wt={msg:"Failed sending appInstall",err:JSON.stringify(mt),deviceId:D,fingerprintHash:Rt,fingerprintRequestId:dt,numberOfRetry:ft};l.send(wt),q(ot,pt,ft+1)}else e.setItem(b.installEventReportedKeyName,D),e.setItem("ns_irts",Date.now()),y.manageKeepAlive({deviceId:D,fingerprintInfo:pt,setStartTimestamp:!0}),M&&M(!0)}))}}J.isInstalled?M&&M(!1):(J.reportedDeviceId&&J.reportedDeviceId!==D&&T(D,[[D,J.reportedDeviceId]]),a.getFingerprint(Y,(function(ot){u.manageFingerprint(D,!1,(function(pt){q(ot,pt,1)}))})))},reportLinkDevices:T}},142:function(t,r,n){var e=n(528),u=n(884),a=n(387),d=n(376),y="ns_ka_ts",l="ns_ka_step_",b=[10,30,40,60];function N(M){return l+M}function L(){var M=parseInt(e.getItem(y),10);return u.isValidDate(new Date(M))?M:null}function T(M,D){var Y=(function(){var z=L();if(!z)return null;for(var J,q=Math.floor((new Date().getTime()-z)/1e3),ot=0;ot<b.length;ot+=1){var pt=b[ot],ft=ot<b.length-1?b[ot+1]:null;if(q>=pt&&(!ft||q<ft)&&(J=pt,!e.getItem(N(J))))return{stepToReport:pt,timeToWaitInSeconds:0};if(q<pt)return{stepToReport:pt,timeToWaitInSeconds:pt-q}}return null})();Y&&(Y.timeToWaitInSeconds===0?((function(z,J,q){var ot=J.fingerprintHash,pt=J.fingerprintComponents;a.reportEvent({eventType:"keepAlive",deviceId:z,fingerprintHash:ot,fingerprintComponents:pt,payload:{keepAlive:{step:q}}}),e.setItem(N(q),!0)})(M,D,Y.stepToReport),T(M,D)):Y.timeToWaitInSeconds>0&&setTimeout((function(){T(M,D)}),1e3*Y.timeToWaitInSeconds))}var x={manageKeepAlive:function(M){var D=M.deviceId,Y=M.fingerprintInfo;M.setStartTimestamp&&!L()&&e.setItem(y,new Date().getTime()),Y?T(D,Y):d.getFingerprint((function(z){T(D,z)}))}};t.exports=x},709:function(t,r,n){var e=n(387),u=n(376),a=n(23);function d(b){var N,L=b?b.value||b.innerText:null;return{nodeContent:L,normalizedNodeContent:(N=L,a.removeWhitespaces(N))}}function y(b){var N=a.transformDomNodeContent(b),L=b||"";return N.onlyDigits=/^[0-9]+$/.test(L),N.containsWhitespace=/\s/.test(L),N.emailPattern=/^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/.test(L),N}var l={managePasteEvents:function(b){document.addEventListener("paste",(function(N){var L=d(N.target);setTimeout((function(){(function(T){var x=T.deviceId,M=T.contentBeforePaste,D=M.nodeContent,Y=M.normalizedNodeContent,z=T.domNode,J={paste:{domNode:{}}};if(z.nodeName){J.paste.domNode.name=z.nodeName,z.className&&(J.paste.domNode.className=z.className),z.id&&(J.paste.domNode.id=z.id);var q=z.getAttribute&&z.getAttribute("type");q&&(J.paste.domNode.type=q),J.paste.domNode.content={};var ot=d(z),pt=ot.nodeContent,ft=ot.normalizedNodeContent;J.paste.domNode.content.beforePaste=y(D),J.paste.domNode.content.afterPaste=y(pt),J.paste.domNode.normalizedContent={},J.paste.domNode.normalizedContent.beforePaste=y(Y),J.paste.domNode.normalizedContent.afterPaste=y(ft),z.placeholder&&(J.paste.domNode.placeholder=z.placeholder),J.paste.url=window.location.href}u.getFingerprint((function(Rt){var At=Rt.fingerprintHash;e.reportEvent({eventType:"paste",deviceId:x,fingerprintHash:At,payload:J})}))})({deviceId:b,contentBeforePaste:L,domNode:N.target})}),0)}))}};t.exports=l},472:function(t,r,n){var e=n(127),u=n(108),a=n(884),d=n(23),y=n(776),l=n(528),b=n(298).inactivityEvent,N=n(143),L=n(387),T=n(376),x="ns_sid";function M(){u.call(this),this.eventTypes={fetchComplete:"fetchComplete"}}function D(z){var J=z.deviceId,q=z.initModuleConfig,ot=z.jwtSessionId,pt=z.callback,ft=1e4;try{ft=e(ot).inactivityTimeout}catch{ft=1e4}var Rt=new N(new Date().getTime());Rt.addEventListener(b,(function At(){Rt.removeEventListener(b,At),Y({deviceId:J,initModuleConfig:q,forceRenewSessionDueToInactivity:!0,callback:pt})})),Rt.trackInactivity(ft)}function Y(z){var J,q=z.deviceId,ot=z.initModuleConfig,pt=!!z.forceRenewSessionDueToInactivity,ft=z.callback,Rt=l.getItem(x);try{J=e(Rt),y.setSessionId(Rt)}catch{J=null}pt||!J||1e3*((J||{}).exp||0)<new Date().getTime()?(function(At,st){var dt=At.deviceId,mt=(At.initModuleConfig||{}).storeInfo,wt=new M;wt.addEventListener(wt.eventTypes.fetchComplete,(function P(f){wt.removeEventListener(wt.eventTypes.fetchComplete,P),st(f.detail)})),wt.fetchSessionId(dt,mt)})({deviceId:q,initModuleConfig:ot},(function(At){Rt=At,l.setItem(x,Rt),y.setSessionId(Rt),(function(st){try{var dt=st.deviceId,mt=e(st.jwtSessionId).ets;if(!mt)return;T.getFingerprint((function(wt){var P=wt.fingerprintHash,f=wt.fingerprintComponents;L.reportEvent({eventType:"ping",deviceId:dt,fingerprintHash:P,fingerprintComponents:f,payload:{ping:{ets:mt}}})}))}catch{}})({deviceId:q,jwtSessionId:Rt}),D({deviceId:q,initModuleConfig:ot,jwtSessionId:Rt,callback:ft}),a.isFunction(ft)&&ft(Rt)})):(D({deviceId:q,initModuleConfig:ot,jwtSessionId:Rt,callback:ft}),a.isFunction(ft)&&ft(Rt))}M.prototype=Object.create(u.prototype),M.prototype.constructor=M,M.prototype.fetchSessionId=function(z,J){var q=this,ot="session?"+d.getClientMetadata(d.metadataType.queryString)+"&deviceId="+z;J&&(J.id&&(ot+="&storeId="+J.id),J.type&&(ot+="&storeType="+J.type)),(function pt(){var ft;ft=function(Rt,At){!Rt&&At&&At.ok?q.dispatchEvent(new CustomEvent(q.eventTypes.fetchComplete,{detail:At.response})):setTimeout(pt,a.randomInt(4e4,6e4))},y.makeRequest({path:ot,method:y.methods.get},ft)})()},t.exports={manageSessionId:Y,setRetrySessionTimeout:function(z){throw new Error("Cannot call setRetrySessionTimeout!")}}},336:function(t,r,n){var e=n(23),u=n(376),a=n(625),d=n(528),y=n(543).fingerprintReportedInSessionKey,l=n(543).eventTriggers,b={},N=null,L=!1,T=!1;function x(D){var Y=D||{};Object.keys(Y).forEach((function(z){z===l.fingerPrint&&T&&(d.getSessionItem(y)||(a.getFingerprint(L,(function(J){u.reportFingerprintWithProInfo(N,J.fingerprintRequestId)})),d.setSessionItem(y,!0)))}))}function M(D,Y,z){for(var J=0;J<Y.payload.length;J++){var q=Y.payload[J];q&&q.event&&q.action&&e.isSubObject(q.event,D.payload)&&(z[q.action]=!0)}}t.exports={init:function(D){if(D.eventTrigger){try{var Y=atob(D.eventTrigger),z=JSON.parse(Y);if(!z||!(b=z[D.appId]))return}catch{return}N=D.deviceId,L=D.loadFingerprintJsPro,T=!0,(function(){if(T&&b.init&&Array.isArray(b.init)){for(var J={},q=0;q<b.init.length;q++){var ot=b.init[q];ot&&ot.url&&ot.action&&new RegExp(b.init[q].url).test(window.location.href)&&(J[b.init[q].action]=!0)}x(J)}})()}},triggerEventOnEvent:function(D){if(T){var Y=b[D.eventType];if(Array.isArray(Y)){for(var z={},J=0;J<Y.length;J++){var q=Y[J];q&&q.url&&q.payload&&new RegExp(q.url).test(window.location.href)&&M(D,q,z)}x(z)}}}}},636:function(t,r,n){var e=n(528),u=n(387),a=n(376),d="ns_c_ver",y="c";function l(N){e.setItem(d,JSON.stringify(N))}function b(N,L,T,x){var M=L.fingerprintHash,D=L.fingerprintComponents;u.reportEvent({eventType:"sdkVersionUpgrade",deviceId:N,fingerprintHash:M,fingerprintComponents:D,payload:{versionUpgrade:{version:T,prevVersion:x||""}}}),l(T)}t.exports={reportVersionUpgrade:function(N){var L=N.initModuleVersion,T=N.coreModuleVersion,x={};x.i=L,x[y]=T;var M=N.deviceId,D=N.fingerprintInfo,Y=(function(){var z=e.getItem(d);if(z){try{var J=JSON.parse(z);if(typeof J=="object")return J}catch{}return{i:z}}return null})();Y&&Y.i?Y.i!==L||Y[y]&&Y[y]!==T?(Y[y]||(Y[y]=T),D?b(M,D,x,Y):a.getFingerprint((function(z){b(M,z,x,Y)}))):Y[y]||l(x):l(x)}}},23:function(t,r,n){var e=n(550),u={payload:"payload",queryString:"queryString"};function a(){return e()}function d(l,b){for(var N in l)if(l.hasOwnProperty(N)&&(!b.hasOwnProperty(N)||!y(l[N],b[N])))return!1;return!0}function y(l,b){if(l===b)return!0;if(typeof l!=typeof b)return!1;if(Array.isArray(l)&&Array.isArray(b)){if(l.length!==b.length)return!1;for(var N=0;N<l.length;N++)if(!y(l[N],b[N]))return!1;return!0}return typeof l=="object"&&l!==null&&typeof b=="object"&&b!==null&&d(l,b)}t.exports={metadataType:u,getClientMetadata:function(l){var b=new Date().getTime(),N=a();return l===u.queryString?"timestamp="+b+"&clientRequestId="+N:{timestamp:b,clientRequestId:N}},oneMinute:6e4,getClientRequestId:a,transformDomNodeContent:function(l){var b,N,L=l||"",T=L.length;return T<=1?(b="",N=""):T===2?(b=L.slice(0,1),N=""):T===3?(b=L.slice(0,1),N=L.slice(T-1)):T===4?(b=L.slice(0,2),N=L.slice(T-1)):T===5?(b=L.slice(0,2),N=L.slice(T-2)):T===6?(b=L.slice(0,3),N=L.slice(T-2)):T===7?(b=L.slice(0,3),N=L.slice(T-3)):T===8?(b=L.slice(0,4),N=L.slice(T-3)):T===9?(b=L.slice(0,5),N=L.slice(T-3)):T===10?(b=L.slice(0,5),N=L.slice(T-4)):T>10&&(b=L.slice(0,6),N=L.slice(T-4)),{length:T,prefix:b,suffix:N}},isSubObject:d,removeWhitespaces:function(l){return l&&(l instanceof String||typeof l=="string")?l.replace(/\s/g,""):l}}},651:function(t,r,n){var e,u=n(723),a=n(115),d=n(884);function y(){return a.getDeviceId()}t.exports={getDeviceId:function(){return e||(e=y()),e},getCoreModuleParams:function(l,b){var N=b||{},L=!!N.isFingerprintJsProOff,T=[];e&&e!==y()&&T.push([e,y()]);var x=d.getAppContextId(),M=N.bulkEvents||{},D=N.supressInstallBackwardCompatibility||[],Y=typeof N.logMessageRate=="number"?N.logMessageRate:100,z=N.eventTrigger||"";return Object.assign(l,{deviceId:y(),linkedDevices:T,loadFingerprintJsPro:!L,clientVersion:u.version,appContextId:x,bulkEvents:M,supressInstallBackwardCompatibility:D,logMessageRate:Y,eventTrigger:z,eventsReportUrl:N.eventsReportUrl})},parseInitParams:function(l,b){return typeof(N=l)=="string"||N instanceof String?{appId:l,partnerId:b}:l;var N},internalGetDeviceId:y}},342:function(t,r,n){var e=n(723),u=n(242),a=n(1),d=n(102),y=n(651),l=n(884),b=n(884);t.exports={version:e.version,init:l.isBrowser()?function(N,L){var T=y.parseInitParams(N,L),x=T.appId;a.init(e,{appId:x});var M=b.getConfigBaseUrls(T,e),D=M.mainConfigBaseUrl,Y=M.altConfigBaseUrl;function z(q,ot){u.getCoreModuleLoadingInfo({appId:x,url:q},(function(pt,ft){!pt&&ft||e.errorServerUrl&&a.send({msg:"Core loading error",reason:"config-file-load-fail",url:e.coreConfigFileUrl,errorDescription:pt}),ot(ft)}))}function J(q){typeof q.onPercentage=="number"&&l.randomInt(0,100)>q.onPercentage||(function(ot,pt){var ft=y.getCoreModuleParams(ot,pt);d.init(ft)})(T,q)}return z(D,(function(q){if(q)J(q);else{if(!Y)return;z(Y,(function(ot){ot&&J(ot)}))}})),y.getDeviceId()}:function(N,L){return null},getDeviceId:l.isBrowser()?function(){return y.getDeviceId()}:function(){return null}}},242:function(t,r,n){var e=n(611),u=n(528),a=n(884),d="ns_group";function y(l,b){(function(N,L){e.get(N).end((function(T,x){T?a.isFunction(L)&&L({ok:!1,errorDescription:JSON.stringify({err:T,res:x})}):a.isFunction(L)&&L(null,{ok:x.ok,status:x.status,response:x.body})}))})(l.url,(function(N,L){!N&&L&&L.response?a.isFunction(b)&&b(null,(function(T,x){var M,D=x||{},Y=D.configurations||{},z=Y[T];if(z){var J=(function(){var Rt=u.getItem(d);return Rt||(Rt=a.randomInt(1,100),u.setItem(d,Rt)),Rt})(),q=(function(Rt){var At=[],st=0;for(var dt in Rt)if(Rt.hasOwnProperty(dt)){var mt=Rt[dt],wt=st;st+=mt.percentage,At.push({from:wt,to:st,url:mt.url})}return At})(z.groups),ot=(function(Rt,At){for(var st=0,dt=Rt.length;st<dt;st++){var mt=Rt[st];if(At>mt.from&&At<=mt.to)return mt}return null})(q,J)||{};if(ot)for(M in ot)ot.hasOwnProperty(M)&&(z[M]=ot[M]);var pt=Y.default||{};for(M in pt)pt.hasOwnProperty(M)&&!z.hasOwnProperty(M)&&(z[M]=pt[M])}else z=Y.default||{};var ft={};for(M in D)D.hasOwnProperty(M)&&M!=="configurations"&&(ft[M]=D[M]);for(M in z)z.hasOwnProperty(M)&&["groups","from","to"].indexOf(M)===-1&&(ft[M]=z[M]);return ft})(l.appId,L.response)):a.isFunction(b)&&b(N.errorDescription)}))}t.exports={getCoreModuleLoadingInfo:function(l,b){var N=0;l&&l.url?y(l,(function L(T,x){T?(N+=1)<=3?y(l,L):a.isFunction(b)&&b(T):a.isFunction(b)&&b(null,x)})):a.isFunction(b)&&b("config url is not configured")}}},115:function(t,r,n){var e,u=n(550),a=n(528),d=n(13),y=n(884),l=n(616),b="ns_dev_id",N=[];function L(){var T=a.getItem(b);e||(e=T||l.toArray(u(),a.hasAccessToLocalStorage()),a.setItem(b,e))}t.exports={init:function(){d.init((function(){d.getKey(b,(function(T){T?(e=T,a.setItem(b,e),d.cleanup()):(L(),d.setKey(b,e),setTimeout(d.cleanup,2e3));for(var x=0,M=N.length;x<M;x+=1){var D=N[x];y.isFunction(D)&&D()}N=[]}))}))},addOnReadyListener:function(T){N.push(T)},getDeviceId:function(){return L(),e},reset:function(){throw new Error("Cannot call reset!")}}},635:function(t,r,n){n.d(r,{C6:function(){return u},Cl:function(){return a},Tt:function(){return d},YH:function(){return l},fX:function(){return b},sH:function(){return y}});var e=function(N,L){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,x){T.__proto__=x}||function(T,x){for(var M in x)Object.prototype.hasOwnProperty.call(x,M)&&(T[M]=x[M])},e(N,L)};function u(N,L){if(typeof L!="function"&&L!==null)throw new TypeError("Class extends value "+String(L)+" is not a constructor or null");function T(){this.constructor=N}e(N,L),N.prototype=L===null?Object.create(L):(T.prototype=L.prototype,new T)}var a=function(){return a=Object.assign||function(N){for(var L,T=1,x=arguments.length;T<x;T++)for(var M in L=arguments[T])Object.prototype.hasOwnProperty.call(L,M)&&(N[M]=L[M]);return N},a.apply(this,arguments)};function d(N,L){var T={};for(var x in N)Object.prototype.hasOwnProperty.call(N,x)&&L.indexOf(x)<0&&(T[x]=N[x]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function"){var M=0;for(x=Object.getOwnPropertySymbols(N);M<x.length;M++)L.indexOf(x[M])<0&&Object.prototype.propertyIsEnumerable.call(N,x[M])&&(T[x[M]]=N[x[M]])}return T}function y(N,L,T,x){return new(T||(T=Promise))((function(M,D){function Y(q){try{J(x.next(q))}catch(ot){D(ot)}}function z(q){try{J(x.throw(q))}catch(ot){D(ot)}}function J(q){var ot;q.done?M(q.value):(ot=q.value,ot instanceof T?ot:new T((function(pt){pt(ot)}))).then(Y,z)}J((x=x.apply(N,L||[])).next())}))}function l(N,L){var T,x,M,D,Y={label:0,sent:function(){if(1&M[0])throw M[1];return M[1]},trys:[],ops:[]};return D={next:z(0),throw:z(1),return:z(2)},typeof Symbol=="function"&&(D[Symbol.iterator]=function(){return this}),D;function z(J){return function(q){return(function(ot){if(T)throw new TypeError("Generator is already executing.");for(;D&&(D=0,ot[0]&&(Y=0)),Y;)try{if(T=1,x&&(M=2&ot[0]?x.return:ot[0]?x.throw||((M=x.return)&&M.call(x),0):x.next)&&!(M=M.call(x,ot[1])).done)return M;switch(x=0,M&&(ot=[2&ot[0],M.value]),ot[0]){case 0:case 1:M=ot;break;case 4:return Y.label++,{value:ot[1],done:!1};case 5:Y.label++,x=ot[1],ot=[0];continue;case 7:ot=Y.ops.pop(),Y.trys.pop();continue;default:if(!((M=(M=Y.trys).length>0&&M[M.length-1])||ot[0]!==6&&ot[0]!==2)){Y=0;continue}if(ot[0]===3&&(!M||ot[1]>M[0]&&ot[1]<M[3])){Y.label=ot[1];break}if(ot[0]===6&&Y.label<M[1]){Y.label=M[1],M=ot;break}if(M&&Y.label<M[2]){Y.label=M[2],Y.ops.push(ot);break}M[2]&&Y.ops.pop(),Y.trys.pop();continue}ot=L.call(N,Y)}catch(pt){ot=[6,pt],x=0}finally{T=M=0}if(5&ot[0])throw ot[1];return{value:ot[0]?ot[1]:void 0,done:!0}})([J,q])}}}function b(N,L,T){if(T||arguments.length===2)for(var x,M=0,D=L.length;M<D;M++)!x&&M in L||(x||(x=Array.prototype.slice.call(L,0,M)),x[M]=L[M]);return N.concat(x||Array.prototype.slice.call(L))}typeof SuppressedError=="function"&&SuppressedError}},qc={};function _r(t){var r=qc[t];if(r!==void 0)return r.exports;var n=qc[t]={exports:{}};return fg[t](n,n.exports,_r),n.exports}_r.d=function(t,r){for(var n in r)_r.o(r,n)&&!_r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},_r.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},_r.r=function(t){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var li={};_r.d(li,{IP:function(){return di.getDeviceId},Ts:function(){return di.init},rE:function(){return di.version}});var di=_r(342);const lg={version:di.version,init:di.init,getDeviceId:di.getDeviceId};li.Ay=lg;var la=li.Ay;li.IP,li.Ts,li.rE;function $c(){if(typeof window<"u"){const t=new URLSearchParams(window.location.search).get("deviceId");if(t)return t}return la?la.getDeviceId():null}class In{env;url;constructor(r){this.env=r??"prod",this.env==="prod"?this.url="https://api.coinflow.cash":this.env==="local"?this.url="http://localhost:5000":this.url=`https://api-${this.env}.coinflow.cash`}async getNSurePartnerId(r){return fetch(this.url+`/merchant/view/${r}`).then(n=>n.json()).then(n=>n.nSureSettings?.nSurePartnerId||n.nSurePartnerId).catch(n=>{console.error(n)})}static getCoinflowBaseUrl(r){return!r||r==="prod"?"https://coinflow.cash":r==="ngrok"?"https://coinflow.ngrok.app":r==="local"?"http://localhost:3000":`https://${r}.coinflow.cash`}static getCoinflowAppBaseUrl(r){return!r||r==="prod"?"https://app.coinflow.cash":r==="ngrok"?"https://coinflow.ngrok.app":r==="local"?"http://localhost:3003":`https://app-${r}.coinflow.cash`}static getCoinflowApiUrl(r){return!r||r==="prod"?"https://api.coinflow.cash":r==="local"?"http://localhost:5000":`https://api-${r}.coinflow.cash`}static getCoinflowUrl({walletPubkey:r,sessionKey:n,route:e,routePrefix:u,env:a,subtotal:d,customPayInFees:y,presentment:l,transaction:b,blockchain:N="solana",webhookInfo:L,email:T,loaderBackground:x,handleHeightChangeId:M,bankAccountLinkRedirect:D,additionalWallets:Y,chargebackProtectionData:z,chargebackProtectionAccountType:J,merchantCss:q,color:ot,rent:pt,lockDefaultToken:ft,tokens:Rt,planCode:At,disableApplePay:st,disableGooglePay:dt,customerInfo:mt,settlementType:wt,lockAmount:P,nativeSolToConvert:f,theme:S,usePermit:U,transactionSigner:W,authOnly:$,deviceId:et,jwtToken:ut,origins:Z,threeDsChallengePreference:h,supportEmail:_,destinationAuthKey:j,allowedPaymentMethods:K,accountFundingTransaction:ht,partialUsdcChecked:St,redemptionCheck:Ft,allowedWithdrawSpeeds:Zt,isZeroAuthorization:de,zeroAuthorizationConfig:ye,userLocation:ge,baseUrl:Oe}){const be=u?`/${u}/${N}`:`/${N}`,Yt=new URL(be+e,Oe??In.getCoinflowBaseUrl(a));if(r&&Yt.searchParams.append("pubkey",r),n&&Yt.searchParams.append("sessionKey",n),b&&Yt.searchParams.append("transaction",b),d&&("cents"in d?(Yt.searchParams.append("cents",d.cents.toString()),"currency"in d?Yt.searchParams.append("currency",d.currency.toString()):Yt.searchParams.append("currency",fa.USD)):(Yt.searchParams.append("token",d.address.toString()),Yt.searchParams.append("amount",d.amount.toString()))),y&&y.length>0&&Yt.searchParams.append("customPayInFees",encodeURIComponent(JSON.stringify(y))),l&&Yt.searchParams.append("presentment",l),L&&Yt.searchParams.append("webhookInfo",xn.compressToEncodedURIComponent(JSON.stringify(L))),S&&Yt.searchParams.append("theme",xn.compressToEncodedURIComponent(JSON.stringify(S))),mt&&Yt.searchParams.append("customerInfo",xn.compressToEncodedURIComponent(JSON.stringify(mt))),T&&Yt.searchParams.append("email",T),_&&Yt.searchParams.append("supportEmail",_),Rt&&Yt.searchParams.append("tokens",Rt.toString()),x&&Yt.searchParams.append("loaderBackground",x),M&&Yt.searchParams.append("useHeightChange",M.toString()),D&&Yt.searchParams.append("bankAccountLinkRedirect",D),Y&&Yt.searchParams.append("additionalWallets",xn.compressToEncodedURIComponent(JSON.stringify(Y))),z&&Yt.searchParams.append("chargebackProtectionData",xn.compressToEncodedURIComponent(JSON.stringify(z))),J&&Yt.searchParams.append("chargebackProtectionAccountType",J),et)Yt.searchParams.append("deviceId",et);else{const Ve=$c();Ve&&Yt.searchParams.append("deviceId",Ve)}return q&&Yt.searchParams.append("merchantCss",q),ot&&Yt.searchParams.append("color",ot),pt&&Yt.searchParams.append("rent",pt.lamports.toString()),Ft&&Yt.searchParams.append("redemptionCheck","true"),f&&Yt.searchParams.append("nativeSolToConvert",f.lamports.toString()),ft&&Yt.searchParams.append("lockDefaultToken","true"),At&&Yt.searchParams.append("planCode",At),st&&Yt.searchParams.append("disableApplePay","true"),dt&&Yt.searchParams.append("disableGooglePay","true"),wt&&Yt.searchParams.append("settlementType",wt),P&&Yt.searchParams.append("lockAmount","true"),U===!1&&Yt.searchParams.append("usePermit","false"),W&&Yt.searchParams.append("transactionSigner",W),$===!0&&Yt.searchParams.append("authOnly","true"),ye?Yt.searchParams.append("zeroAuthorizationConfig",JSON.stringify(ye)):de===!0&&Yt.searchParams.append("isZeroAuthorization","true"),St===!0&&Yt.searchParams.append("partialUsdcChecked","true"),ut&&Yt.searchParams.append("jwtToken",ut),Z&&Yt.searchParams.append("origins",xn.compressToEncodedURIComponent(JSON.stringify(Z))),K&&Yt.searchParams.append("allowedPaymentMethods",K.join(",")),h&&Yt.searchParams.append("threeDsChallengePreference",h),j&&Yt.searchParams.append("destinationAuthKey",j),ht&&Yt.searchParams.append("accountFundingTransaction",xn.compressToEncodedURIComponent(JSON.stringify(ht))),Zt&&Yt.searchParams.append("allowedWithdrawSpeeds",Zt.join(",")),ge&&(Yt.searchParams.append("lat",ge.lat.toString()),Yt.searchParams.append("lng",ge.lng.toString())),Yt.toString()}static getTransaction(r){if(r.blockchain)return this.byBlockchain(r.blockchain,{solana:()=>{if(!("transaction"in r))return;const{transaction:n}=r;if(!Vo)throw new Error("@solana/web3.js dependency is required for Solana");if(!br)throw new Error("bs58 dependency is required for Solana");if(n)return br.encode(Uint8Array.from(n.serialize({requireAllSignatures:!1,verifySignatures:!1})))},polygon:()=>{if(!("transaction"in r))return;const{transaction:n}=r;return xn.compressToEncodedURIComponent(JSON.stringify(n))},eth:()=>{if(!("transaction"in r))return;const{transaction:n}=r;return xn.compressToEncodedURIComponent(JSON.stringify(n))},base:()=>{if(!("transaction"in r))return;const{transaction:n}=r;return xn.compressToEncodedURIComponent(JSON.stringify(n))},arbitrum:()=>{if(!("transaction"in r))return;const{transaction:n}=r;return xn.compressToEncodedURIComponent(JSON.stringify(n))},stellar:()=>{if(!("transaction"in r))return;const{transaction:n}=r;if(n)return n},monad:()=>{if(!("transaction"in r))return;const{transaction:n}=r;return xn.compressToEncodedURIComponent(JSON.stringify(n))},tempo:()=>{if(!("transaction"in r))return;const{transaction:n}=r;return xn.compressToEncodedURIComponent(JSON.stringify(n))},user:()=>{}})()}static byBlockchain(r,n){switch(r){case"solana":return n.solana;case"polygon":return n.polygon;case"eth":return n.eth;case"base":return n.base;case"arbitrum":return n.arbitrum;case"stellar":return n.stellar;case"monad":return n.monad;case"tempo":return n.tempo;case"user":return n.user;default:throw new Error("blockchain not supported!")}}}function dg(t){if(!t)return;let r,n;if("name"in t&&t.name&&(r=t.name.split(" ")[0],n=t.name.split(" ").slice(1).join(" ")),"firstName"in t&&t.firstName&&(r=t.firstName),"lastName"in t&&t.lastName&&(n=t.lastName),r&&n)return{firstName:r,lastName:n}}function Ho({event:t,error:r,env:n,merchantId:e}){const u=r instanceof Error,a=u?r.message:r,d=u?r.stack:"";fetch(`${In.getCoinflowApiUrl(n)}/api/telemetry/frontend-error`,{method:"POST",body:JSON.stringify({message:a,stackTrace:d,merchantId:e,event:t}),headers:{"Content-Type":"application/json"}}).catch(()=>{})}var Go=(t=>(t.SignMessage="signMessage",t.SignTransaction="signTransaction",t.SendTransaction="sendTransaction",t.HeightChange="heightChange",t.Success="success",t.AuthDeclined="authDeclined",t.Loaded="loaded",t.AccountLinked="accountLinked",t.Redirect="redirect",t))(Go||{});function jo(t){let r;if("signer"in t&&typeof t.signer=="object"&&t.signer&&"wallet"in t.signer?r=t.signer.wallet:"wallet"in t&&t.wallet&&(r=t.wallet),!!r){if(typeof r=="string")return r;if(typeof r=="object"){if("publicKey"in r)return r.publicKey?r.publicKey.toString():void 0;if("address"in r)return r.address?r.address:void 0}return null}}function Jc(t,r,n){let e;try{if(e=JSON.parse(t),!("method"in e)||!("data"in e))return}catch(d){console.error("handleIFrameMessage JSON parse",d);return}const{data:u,method:a}=e;switch(a){case"signMessage":return r.handleSignMessage?r.handleSignMessage(u):void 0;case"signTransaction":return r.handleSignTransaction?r.handleSignTransaction(u):void 0;case"sendTransaction":return r.handleSendTransaction(u);case"heightChange:"+n:return r.handleHeightChange?r.handleHeightChange(u):void 0;case"success":if(!r.onSuccess)return;r.onSuccess(e.info);return;case"authDeclined":if(!r.onAuthDeclined)return;r.onAuthDeclined(e.info);return;case"loaded":return;case"accountLinked":return;case"redirect":window.open(u,"_blank");return}console.warn(`Didn't expect to get here, handleIFrameMessage method:${a} is not one of ${Object.values(Go)}`)}function Yo(t){let r,n;return"signer"in t&&typeof t.signer=="object"&&t.signer&&"blockchain"in t.signer&&"wallet"in t.signer?(r=t.signer.blockchain,n=t.signer.wallet):"blockchain"in t&&t.blockchain&&(r=t.blockchain,n=t.wallet),r?In.byBlockchain(r,{solana:()=>hg({wallet:n,onSuccess:t.onSuccess,onAuthDeclined:t.onAuthDeclined}),eth:()=>hi({wallet:n,onSuccess:t.onSuccess,onAuthDeclined:t.onAuthDeclined}),polygon:()=>hi({wallet:n,onSuccess:t.onSuccess,onAuthDeclined:t.onAuthDeclined}),base:()=>hi({wallet:n,onSuccess:t.onSuccess,onAuthDeclined:t.onAuthDeclined}),arbitrum:()=>hi({wallet:n,onSuccess:t.onSuccess,onAuthDeclined:t.onAuthDeclined}),stellar:()=>pg({wallet:n,onSuccess:t.onSuccess,onAuthDeclined:t.onAuthDeclined}),monad:()=>hi({wallet:n,onSuccess:t.onSuccess,onAuthDeclined:t.onAuthDeclined}),tempo:()=>hi({wallet:n,onSuccess:t.onSuccess,onAuthDeclined:t.onAuthDeclined}),user:()=>vg(t)})():{handleSendTransaction:()=>{throw new Error("handleSendTransaction Not Implemented")},handleSignMessage:()=>{throw new Error("handleSendTransaction Not Implemented")},handleSignTransaction:()=>{throw new Error("handleSendTransaction Not Implemented")},onSuccess:t.onSuccess,onAuthDeclined:t.onAuthDeclined}}function hg({wallet:t,onSuccess:r,onAuthDeclined:n}){return{handleSendTransaction:async e=>{const u=Qc(e);return await t.sendTransaction(u)},handleSignMessage:async e=>{const u=t.signMessage;if(!u)throw new Error("signMessage is not supported by this wallet");const a=await u(new TextEncoder().encode(e));if(!br)throw new Error("bs58 dependency is required");return br.encode(a)},handleSignTransaction:async e=>{const u=t.signTransaction;if(!u)throw new Error("signTransaction is not supported by this wallet");const a=Qc(e),d=await u(a);if(!br)throw new Error("bs58 dependency is required");return br.encode(Uint8Array.from(d.serialize({requireAllSignatures:!1,verifySignatures:!1})))},onSuccess:r,onAuthDeclined:n}}function Qc(t){if(!Vo)throw new Error("@solana/web3.js is not defined. Please install @solana/web3.js into your project");if(!br)throw new Error("bs58 is not defined. Please install bs58 into your project");const r=br.decode(t),n=Vo.VersionedTransaction.deserialize(r);return n.version==="legacy"?Vo.Transaction.from(r):n}function hi({wallet:t,onSuccess:r,onAuthDeclined:n}){return{handleSendTransaction:async e=>{const u=JSON.parse(Buffer.from(e,"base64").toString()),{hash:a}=await t.sendTransaction(u);return a},handleSignMessage:async e=>t.signMessage(e),onSuccess:r,onAuthDeclined:n}}function pg({wallet:t,onSuccess:r,onAuthDeclined:n}){return{handleSendTransaction:async e=>{throw new Error(`sendTransaction is not supported on stellar, error when sending: ${e}`)},handleSignMessage:async e=>{if(!t.signMessage)throw new Error("signMessage is not supported by this wallet");return await t.signMessage(e)},handleSignTransaction:async e=>{if(!t.signTransaction)throw new Error("signTransaction is not supported by this wallet");return await t.signTransaction(e)},onSuccess:r,onAuthDeclined:n}}function vg({onSuccess:t,onAuthDeclined:r}){return{handleSendTransaction:async()=>Promise.resolve(""),onSuccess:t,onAuthDeclined:r}}class gg{static on(r,n){document.addEventListener(r,n)}static dispatch(r,n){document.dispatchEvent(new CustomEvent(r,{detail:n}))}static remove(r,n){document.removeEventListener(r,n)}}const Di="tokenExCardNumber",pi="tokenExCardCvv",tf={[qr.VISA]:"visa",[qr.MASTERCARD]:"masterCard",[qr.AMEX]:"americanExpress",[qr.DISCOVER]:"discover"};async function ef(t){const{token:r,origins:n,env:e}=t;return new Promise((u,a)=>{fetch(new In(e).url+"/api/tokenize/iframe/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({origins:n,token:r,merchantId:"merchantId"in t?t.merchantId:void 0,checkoutJwt:"checkoutJwt"in t?t.checkoutJwt:void 0})}).then(async d=>{u(await d.json())}).catch(d=>a(d))})}function da({env:t,setTokenExScriptLoaded:r}){const n="tokenex-script";document.head.querySelector(`#${n}`)&&r(!0);const e=document.createElement("script");e.src=t==="prod"?"https://htp.tokenex.com/iframe/iframe-v3.min.js":"https://test-htp.tokenex.com/iframe/iframe-v3.min.js",e.id=n,document.head.appendChild(e),document.getElementById(n).addEventListener("load",()=>{console.log("Setting tokenExScriptLoaded to true!"),r(!0)})}function mg({iframe:t,setCachedToken:r,setLoaded:n}){const e=async()=>(t.tokenize(),await new Promise((u,a)=>{t.on("tokenize",d=>{r(d.token),u(d)}),t.on("validate",d=>{(!d.isValid||d.isCvvValid===!1)&&a(d)})}));return t.on("change",()=>r(void 0)),t.on("cvvChange",()=>r(void 0)),t.on("load",()=>{setTimeout(()=>n(!0),350);const u=document.querySelector("#tx_iframe_tokenExCardNumber");u&&(u.scrolling="no")}),t.on("focus",()=>{t.focus()}),t.on("cvvFocus",()=>{t.cvvFocus()}),n(!1),t.load(),{...t,tokenize:e}}async function nf(t){const{token:r,cardType:n}=t;return await ha(pi,t,{cvvOnly:!0,cvv:!0,cvvContainerID:pi,placeholder:"CVV",token:r,cardType:tf[n]})}async function rf(t){return await ha(Di,t,{cvv:!0,cvvContainerID:pi,cvvPlaceholder:"CVV"})}async function of(t){return await ha(Di,t,{cvv:!1})}async function ha(t,r,n){const{tokenExScriptLoaded:e,css:u,debug:a,font:d,setCachedToken:y,setLoaded:l}=r;if(!e&&typeof TokenEx>"u"){console.warn("Warning Unable to load TokenEx on first attempt waiting for load event from document.head.script#tokenex-script");return}const b=await ef({...r,token:n.token}),{styles:N}=yg(u),L={...b,placeholder:"0000 0000 0000 0000",enablePrettyFormat:!0,styles:N,font:d,debug:a??!1,...n},T=TokenEx.Iframe(t,L);return mg({iframe:T,setCachedToken:y,setLoaded:l})}function yg(t){const r=JSON.parse(t);return{styles:{base:Rr(r.base),focus:Rr(r.focus),error:Rr(r.error),placeholder:Rr(r.placeholder),cvv:{base:Rr(r.cvv?.base),focus:Rr(r.cvv?.focus),error:Rr(r.cvv?.error),placeholder:Rr(r?.placeholder)}}}}function Rr(t){if(!t)return"";if(typeof t=="string")return t;let r="";for(const[n,e]of Object.entries(t)){let u="";n.split("").forEach(a=>{a.toUpperCase()===a?u+="-"+a.toLowerCase():u+=a}),r+=u+":"+e+";"}return r}re.nftCartItem=void 0,(t=>{(r=>{r.NFT="nft"})(t.itemClass||(t.itemClass={})),(r=>{r.IN_GAME_PRODUCT="inGameProduct",r.GAME_OF_SKILL="gameOfSkill",r.DATA_STORAGE="dataStorage",r.COMPUTING_RESOURCES="computingResources",r.SPORTS_TICKET="sportsTicket",r.E_SPORTS_TICKET="eSportsTicket",r.MUSIC_TICKET="musicTicket",r.CONFERENCE_TICKET="conferenceTicket",r.VIRTUAL_SPORTS_TICKET="virtualSportsTicket",r.VIRTUAL_ESPORTS_TICKET="virtualESportsTicket",r.VIRTUAL_MUSIC_TICKET="virtualMusicTicket",r.VIRTUAL_CONFERENCE_TICKET="virtualConferenceTicket",r.ALCOHOL="alcohol",r.DLC="DLC",r.SUBSCRIPTION="subscription",r.FUND_ACAUSE="fundACause",r.REAL_ESTATE="realEstate",r.COMPUTING_CONTRACT="computingContract",r.DIGITAL_ART="digitalArt",r.TOP_UP="topUp",r.OWNERSHIP_CONTRACT="ownershipContract",r.IN_GAME_CURRENCY="inGameCurrency",r.MONEY_TOP_UP_CART_ITEM="moneyTopUpCartItem"})(t.productType||(t.productType={}))})(re.nftCartItem||(re.nftCartItem={}));let pa=null;async function wg({merchantId:t,env:r}){if(!pa&&typeof window<"u")try{const n=await window.Verisoul?.session();n?.session_id&&(pa=n.session_id)}catch(n){console.error(n),Ho({event:"ProtectionInit",env:r,merchantId:t,error:n})}}function Eg(){return pa}const sf="x-device-id",af="x-session-id",uf="x-coinflow-referrer";function cf(){return{[sf]:$c(),[af]:Eg()}}function bg(){try{return document.referrer||null}catch{return null}}function _g(){return{...cf(),[uf]:bg()}}const ff={prod:"9JBW2RHC7JNJN8ZQ",sandbox:"SANDBOX_CTCE4XK53ZW0R7V1"},lf={prod:"315da543-c486-435a-aa21-53844c469822",sandbox:"e9f629c4-80ee-4c6d-967e-62af47d8679e"};async function df({coinflowEnv:t,merchantId:r}){const n=t==="prod"?"prod":"sandbox";if(!(typeof window<"u"&&new URLSearchParams(window.location.search).has("deviceId"))){const u=await new In(t).getNSurePartnerId(r);if(u){const a=ff[n]??ff.sandbox;try{la.init(a,u)}catch(d){console.error("Failed to initialize nSure SDK:",d),Ho({event:"NSureInit",error:d,env:t,merchantId:r})}}}if(typeof document<"u"&&!document.querySelector("script[verisoul-project-id]")){const a=lf[n]??lf.sandbox;a&&await new Promise(d=>{const y=document.createElement("script");y.src=`https://js.v.coinflow.sh/${n}/bundle.js`,y.async=!0,y.setAttribute("verisoul-project-id",a),y.onload=()=>{wg({merchantId:r,env:t}).then(d)},y.onerror=l=>{Ho({event:"ProtectionError",error:l,env:t,merchantId:r}),d()},document.head.appendChild(y)})}}const Rg=jt.defineComponent({name:"CoinflowIFrame",props:{args:{type:Object,required:!0}},computed:{url(){return In.getCoinflowUrl(this.args)}},emits:{onMessage(t){return!0}},methods:{sendMessage(t){const r=this.$refs.iframeRef;if(!r?.contentWindow)throw new Error("Iframe not defined");r.contentWindow.postMessage(t,"*")},handleIframeMessages({data:t,origin:r}){const n=new URL(In.getCoinflowBaseUrl(this.args.env)).origin;if(r!==n)return;this.$emit("onMessage",{data:t,origin:r});const e=Jc(t,this.args,this.args.handleHeightChangeId);e&&e.then(this.sendMessage).catch(u=>{console.error(u),this.sendMessage("ERROR "+u.message)})},async listenForMessage(t){let r;return new Promise((n,e)=>{if(r=({data:u,origin:a})=>{const d=new URL(In.getCoinflowBaseUrl(this.args.env)).origin;if(a===d){if(u.startsWith("ERROR")){e(new Error(u.replace("ERROR","")));return}t(u)&&n(u)}},!window)throw new Error("Window not defined");window.addEventListener("message",r)}).finally(()=>{window.removeEventListener("message",r)})},async sendAndReceiveMessage(t,r){return this.sendMessage(t),this.listenForMessage(r)}},mounted(){if(!window)throw new Error("Window not defined");return window.addEventListener("message",this.handleIframeMessages),()=>{window.removeEventListener("message",this.handleIframeMessages)}}}),va=(t,r)=>{const n=t.__vccOpts||t;for(const[e,u]of r)n[e]=u;return n},Ag=["src","scrolling"];function Sg(t,r,n,e,u,a){return jt.openBlock(),jt.createElementBlock("iframe",{credentialless:"",style:{height:"100%",width:"100%"},ref:"iframeRef",allow:"payment;camera;clipboard-write;geolocation",title:"withdraw",frameBorder:"0",src:t.url,scrolling:t.args.handleHeightChange?"no":"yes",onLoad:r[0]||(r[0]=()=>{const d=t.$refs.iframeRef;d&&(d.style.opacity="1")})},null,40,Ag)}const zo=va(Rg,[["render",Sg]]),Ig=jt.defineComponent({name:"CoinflowWithdraw",components:{CoinflowIFrame:zo},props:{args:{type:Object,required:!0}},computed:{handleHeightChangeId(){return Math.random().toString(16).substring(2)},iframeProps(){const t=jo(this.args);return{...this.args,walletPubkey:t,route:`/withdraw/${this.args.merchantId}`,transaction:void 0}},messageHandlers(){return{...Yo(this.args),handleHeightChange:this.args.handleHeightChange}}}});function Og(t,r,n,e,u,a){const d=jt.resolveComponent("coinflow-i-frame");return jt.openBlock(),jt.createBlock(d,{args:{...t.iframeProps,...t.messageHandlers,handleHeightChangeId:t.handleHeightChangeId}},null,8,["args"])}const Ng=va(Ig,[["render",Og]]),Tg=jt.defineComponent({name:"CoinflowPurchase",components:{CoinflowIFrame:zo},props:{args:{type:Object,required:!0}},computed:{handleHeightChangeId(){return Math.random().toString(16).substring(2)},iframeProps(){const t=jo(this.args);return{...this.args,walletPubkey:t,route:`/purchase-v2/${this.args.merchantId}`,transaction:In.getTransaction(this.args)}},messageHandlers(){return{...Yo(this.args),handleHeightChange:this.args.handleHeightChange}}}});function xg(t,r,n,e,u,a){const d=jt.resolveComponent("coinflow-i-frame");return jt.openBlock(),jt.createBlock(d,{args:{...t.iframeProps,...t.messageHandlers,handleHeightChangeId:t.handleHeightChangeId}},null,8,["args"])}const Lg=va(Tg,[["render",xg]]),ga=t=>{const r=jt.ref(!1),n=jt.ref(!1),e=jt.ref(void 0),u=jt.ref(void 0);jt.onMounted(()=>{da({env:t.env,setTokenExScriptLoaded:()=>{console.log("tokenExScriptLoaded.value = true"),n.value=!0}})});const a=L=>u.value=L,d=()=>r.value=!0,y=L=>e.value=L,l=async L=>{const T=await nf({...t,...L,tokenExScriptLoaded:n.value,setCachedToken:a,setLoaded:d});return y(T),T},b=async L=>{const T=await rf({...t,...L,tokenExScriptLoaded:n.value,setCachedToken:a,setLoaded:d});return y(T),T},N=async L=>{const T=await of({...t,...L,tokenExScriptLoaded:n.value,setCachedToken:a,setLoaded:d});return y(T),T};return jt.watchEffect(L=>{e.value&&(e.value.load(),L(()=>e.value?.remove()))}),{tokenExIframe:e,initializeTokenExIframe:b,initializeCvvOnlyTokenExIframe:l,initializeTokenExCardOnlyIframe:N,loaded:r,cachedToken:u,setTokenExScriptTag:da,tokenExScriptLoaded:n}},Cg=["id"],hf=jt.defineComponent({__name:"CoinflowCardNumberInput",props:{args:{type:Object,required:!0}},setup(t,{expose:r}){const{initializeTokenExIframe:n,tokenExIframe:e}=ga(t.args);async function u(){if(!e.value)throw new Error("Unable to get token");return e.value.tokenize()}r({getToken:u});function a(){return JSON.stringify(t.args.css)}return jt.watchEffect(()=>{n({css:a(),debug:t.args.debug,origins:t.args.origins,font:t.args.font})},{}),(d,y)=>(jt.openBlock(),jt.createElementBlock("div",{id:jt.unref(Di)},null,8,Cg))}}),Bg=["id"],pf=jt.defineComponent({__name:"CoinflowCvvInput",setup(t){return(r,n)=>(jt.openBlock(),jt.createElementBlock("div",{id:jt.unref(pi)},null,8,Bg))}}),Mg=["id"],vf=jt.defineComponent({__name:"CoinflowCvvOnlyInput",props:{args:{type:Object,required:!0}},setup(t,{expose:r}){const{initializeCvvOnlyTokenExIframe:n,tokenExIframe:e}=ga(t.args);async function u(){if(!e.value)throw new Error("Unable to get token");return e.value.tokenize()}r({getToken:u});function a(){return JSON.stringify(t.args.css)}return jt.watchEffect(()=>{n({...t.args,origins:t.args.origins??[],css:a(),font:t.args.font})},{}),(d,y)=>(jt.openBlock(),jt.createElementBlock("div",{id:jt.unref(pi)},null,8,Mg))}}),kg=jt.defineComponent({__name:"CoinflowPurchaseProtection",props:{args:{type:Object,required:!0}},setup(t){return jt.onMounted(()=>{df({coinflowEnv:t.args.env,merchantId:t.args.merchantId})}),(r,n)=>null}}),Ug=["id"],gf=jt.defineComponent({__name:"CoinflowCardNumberOnlyInput",props:{args:{type:Object,required:!0}},setup(t,{expose:r}){const{tokenExIframe:n,initializeTokenExCardOnlyIframe:e}=ga(t.args);async function u(){if(!n.value)throw new Error("Unable to get token");return n.value.tokenize()}r({getToken:u});function a(){return JSON.stringify(t.args.css)}return jt.watchEffect(()=>{e({css:a(),debug:t.args.debug,origins:t.args.origins,font:t.args.font})},{}),(d,y)=>(jt.openBlock(),jt.createElementBlock("div",{id:jt.unref(Di)},null,8,Ug))}}),Dg=["src"],mf=jt.defineComponent({__name:"CoinflowCardFormV2",props:{args:{type:Object,required:!0}},setup(t,{expose:r}){const n=jt.ref(null),e=jt.ref(!1),u=jt.computed(()=>{const y=In.getCoinflowBaseUrl(t.args.env),l=new URL(`/form/v2/${t.args.variant}`,y);return l.searchParams.append("merchantId",t.args.merchantId),t.args.theme&&l.searchParams.append("theme",xn.compressToEncodedURIComponent(JSON.stringify(t.args.theme))),t.args.token&&l.searchParams.append("token",t.args.token),l.toString()});function a({data:y,origin:l}){const b=new URL(In.getCoinflowBaseUrl(t.args.env)).origin;if(l===b)try{JSON.parse(y).method===Go.Loaded&&(e.value=!0,t.args.onLoad?.())}catch{}}jt.onMounted(()=>{window.addEventListener("message",a)}),jt.onUnmounted(()=>{window.removeEventListener("message",a)});async function d(){return new Promise((y,l)=>{if(!n.value?.contentWindow){l(new Error("Card form iframe not loaded"));return}const b=({data:L,origin:T})=>{const x=new URL(In.getCoinflowBaseUrl(t.args.env)).origin;if(T===x)try{const M=JSON.parse(L);if(M.method!=="tokenize")return;if(window.removeEventListener("message",b),typeof M.data=="string"&&M.data.startsWith("ERROR")){l(new Error(M.data.replace("ERROR ","")));return}const D=typeof M.data=="string"?JSON.parse(M.data):M.data;y(D)}catch{}};window.addEventListener("message",b);const N=new URL(In.getCoinflowBaseUrl(t.args.env)).origin;n.value.contentWindow.postMessage("tokenize",N)})}return r({tokenize:d}),(y,l)=>(jt.openBlock(),jt.createElementBlock("iframe",{ref_key:"iframeRef",ref:n,src:u.value,title:"Card Form",frameBorder:"0",allow:"payment",style:jt.normalizeStyle({width:"100%",height:"60px",border:"none",opacity:e.value?1:0,transition:"opacity 300ms linear"})},null,12,Dg))}}),Pg={style:{position:"relative",height:"100%"}},Fg={style:{position:"relative",zIndex:10,height:"100%"}},yf=jt.defineComponent({__name:"MobileWalletButton",props:{args:{type:Object,required:!0},route:{type:String,required:!0},overlayDisplayOverride:{type:String,required:!1},alignItems:{type:String,required:!1}},setup(t){const{onSuccess:r}=t.args;function n(){const l=jo(t.args);return{...t.args,walletPubkey:l,transaction:void 0,routePrefix:"form",route:`/${t.route}/${t.args.merchantId}`}}function e(){return{...Yo(t.args),handleHeightChange:t.args.handleHeightChange}}const u=jt.ref(.8),a=jt.ref("flex"),d=Math.random().toString(16).substring(2);function y({data:l}){try{const b=JSON.parse(l);if("method"in b&&b.method==="loaded"&&(u.value=1,a.value="none"),"method"in b&&b.data.startsWith("ERROR"))return t.args?.onError?.(b.info),!1;if(!("method"in b)||b.method!=="getToken")return}catch{return}r?.(l)}return(l,b)=>(jt.openBlock(),jt.createElementBlock("div",Pg,[jt.createElementVNode("div",{style:jt.normalizeStyle({backgroundColor:t.args.color,display:t.overlayDisplayOverride??a.value,opacity:u.value,alignItems:t.alignItems,width:"100%",height:"40px",position:"absolute",top:0,bottom:0,left:0,zIndex:20,justifyContent:"center",pointerEvents:"none"})},[jt.renderSlot(l.$slots,"default")],4),jt.createElementVNode("div",Fg,[jt.createVNode(zo,{onOnMessage:y,args:{...n(),...e(),handleHeightChangeId:jt.unref(d)}},null,8,["args"])])]))}}),Vg={id:"svg-logo",viewBox:"0 0 35 15"},Hg={id:"svg-logo",x:"0",y:"3.85",height:"7.3",width:"35",className:"logo",viewBox:"0 0 105 43",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},Gg={stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},jg=["fill"],Yg=jt.defineComponent({__name:"ApplePayOverlay",props:{color:{type:String,required:!0}},setup(t){const r=t.color==="white"?"#000":"#FFF";return(n,e)=>(jt.openBlock(),jt.createElementBlock("svg",Vg,[(jt.openBlock(),jt.createElementBlock("svg",Hg,[e[1]||(e[1]=jt.createElementVNode("title",null,"Apple Logo",-1)),jt.createElementVNode("g",Gg,[jt.createElementVNode("g",{fill:jt.unref(r)},[...e[0]||(e[0]=[jt.createStaticVNode('<path d="M19.4028,5.5674 C20.6008,4.0684 21.4138,2.0564 21.1998,0.0004 C19.4458,0.0874 17.3058,1.1574 16.0668,2.6564 C14.9538,3.9414 13.9688,6.0374 14.2258,8.0074 C16.1948,8.1784 18.1618,7.0244 19.4028,5.5674"></path><path d="M21.1772,8.3926 C18.3182,8.2226 15.8872,10.0156 14.5212,10.0156 C13.1552,10.0156 11.0642,8.4786 8.8022,8.5196 C5.8592,8.5626 3.1282,10.2276 1.6342,12.8746 C-1.4378,18.1696 0.8232,26.0246 3.8112,30.3376 C5.2622,32.4716 7.0102,34.8206 9.3142,34.7366 C11.4912,34.6506 12.3442,33.3266 14.9902,33.3266 C17.6352,33.3266 18.4042,34.7366 20.7082,34.6936 C23.0972,34.6506 24.5922,32.5586 26.0422,30.4226 C27.7072,27.9906 28.3882,25.6426 28.4312,25.5126 C28.3882,25.4706 23.8232,23.7186 23.7812,18.4676 C23.7382,14.0706 27.3652,11.9786 27.5362,11.8496 C25.4882,8.8196 22.2872,8.4786 21.1772,8.3926"></path><path d="M85.5508,43.0381 L85.5508,39.1991 C85.8628,39.2421 86.6158,39.2871 87.0158,39.2871 C89.2138,39.2871 90.4558,38.3551 91.2108,35.9581 L91.6548,34.5371 L83.2428,11.2321 L88.4368,11.2321 L94.2958,30.1421 L94.4068,30.1421 L100.2668,11.2321 L105.3278,11.2321 L96.6048,35.7141 C94.6078,41.3291 92.3208,43.1721 87.4828,43.1721 C87.1048,43.1721 85.8838,43.1271 85.5508,43.0381"></path><path d="M42.6499,19.3555 L48.3549,19.3555 C52.6829,19.3555 55.1469,17.0255 55.1469,12.9855 C55.1469,8.9455 52.6829,6.6375 48.3769,6.6375 L42.6499,6.6375 L42.6499,19.3555 Z M49.6869,2.4425 C55.9009,2.4425 60.2289,6.7265 60.2289,12.9625 C60.2289,19.2225 55.8129,23.5285 49.5309,23.5285 L42.6499,23.5285 L42.6499,34.4705 L37.6779,34.4705 L37.6779,2.4425 L49.6869,2.4425 Z"></path><path d="M76.5547,25.7705 L76.5547,23.9715 L71.0287,24.3275 C67.9207,24.5275 66.3007,25.6815 66.3007,27.7015 C66.3007,29.6545 67.9887,30.9195 70.6287,30.9195 C74.0027,30.9195 76.5547,28.7665 76.5547,25.7705 M61.4617,27.8345 C61.4617,23.7285 64.5917,21.3755 70.3627,21.0205 L76.5547,20.6425 L76.5547,18.8675 C76.5547,16.2705 74.8457,14.8495 71.8057,14.8495 C69.2967,14.8495 67.4777,16.1375 67.0997,18.1125 L62.6167,18.1125 C62.7497,13.9615 66.6567,10.9435 71.9387,10.9435 C77.6207,10.9435 81.3267,13.9175 81.3267,18.5345 L81.3267,34.4705 L76.7327,34.4705 L76.7327,30.6305 L76.6217,30.6305 C75.3127,33.1395 72.4267,34.7145 69.2967,34.7145 C64.6807,34.7145 61.4617,31.9625 61.4617,27.8345"></path>',5)])],8,jg)])]))]))}}),zg=jt.defineComponent({__name:"CoinflowApplePayButton",props:{args:{type:Object,required:!0}},setup(t){return(r,n)=>(jt.openBlock(),jt.createBlock(yf,{route:"apple-pay",args:t.args},{default:jt.withCtx(()=>[jt.createVNode(Yg,{color:t.args.color},null,8,["color"])]),_:1},8,["args"]))}}),Wg={key:0,xmlns:"http://www.w3.org/2000/svg",width:"41",height:"17"},Zg={key:1,xmlns:"http://www.w3.org/2000/svg",width:"41",height:"17"},Kg=jt.defineComponent({__name:"GooglePayOverlay",props:{color:{type:String,required:!0}},setup(t){return(r,n)=>(jt.openBlock(),jt.createElementBlock(jt.Fragment,null,[t.color==="white"?(jt.openBlock(),jt.createElementBlock("svg",Wg,[...n[0]||(n[0]=[jt.createStaticVNode('<g fill="none" fill-rule="evenodd"><path d="M19.526 2.635v4.083h2.518c.6 0 1.096-.202 1.488-.605.403-.402.605-.882.605-1.437 0-.544-.202-1.018-.605-1.422-.392-.413-.888-.62-1.488-.62h-2.518zm0 5.52v4.736h-1.504V1.198h3.99c1.013 0 1.873.337 2.582 1.012.72.675 1.08 1.497 1.08 2.466 0 .991-.36 1.819-1.08 2.482-.697.665-1.559.996-2.583.996h-2.485v.001zm7.668 2.287c0 .392.166.718.499.98.332.26.722.391 1.168.391.633 0 1.196-.234 1.692-.701.497-.469.744-1.019.744-1.65-.469-.37-1.123-.555-1.962-.555-.61 0-1.12.148-1.528.442-.409.294-.613.657-.613 1.093m1.946-5.815c1.112 0 1.989.297 2.633.89.642.594.964 1.408.964 2.442v4.932h-1.439v-1.11h-.065c-.622.914-1.45 1.372-2.486 1.372-.882 0-1.621-.262-2.215-.784-.594-.523-.891-1.176-.891-1.96 0-.828.313-1.486.94-1.976s1.463-.735 2.51-.735c.892 0 1.629.163 2.206.49v-.344c0-.522-.207-.966-.621-1.33a2.132 2.132 0 0 0-1.455-.547c-.84 0-1.504.353-1.995 1.062l-1.324-.834c.73-1.045 1.81-1.568 3.238-1.568m11.853.262l-5.02 11.53H34.42l1.864-4.034-3.302-7.496h1.635l2.387 5.749h.032l2.322-5.75z" fill="#5F6368"></path><path d="M13.448 7.134c0-.473-.04-.93-.116-1.366H6.988v2.588h3.634a3.11 3.11 0 0 1-1.344 2.042v1.68h2.169c1.27-1.17 2.001-2.9 2.001-4.944" fill="#4285F4"></path><path d="M6.988 13.7c1.816 0 3.344-.595 4.459-1.621l-2.169-1.681c-.603.406-1.38.643-2.29.643-1.754 0-3.244-1.182-3.776-2.774H.978v1.731a6.728 6.728 0 0 0 6.01 3.703" fill="#34A853"></path><path d="M3.212 8.267a4.034 4.034 0 0 1 0-2.572V3.964H.978A6.678 6.678 0 0 0 .261 6.98c0 1.085.26 2.11.717 3.017l2.234-1.731z" fill="#FABB05"></path><path d="M6.988 2.921c.992 0 1.88.34 2.58 1.008v.001l1.92-1.918C10.324.928 8.804.262 6.989.262a6.728 6.728 0 0 0-6.01 3.702l2.234 1.731c.532-1.592 2.022-2.774 3.776-2.774" fill="#E94235"></path><path d="M0 0h41.285v18H0z"></path></g>',1)])])):jt.createCommentVNode("",!0),t.color==="black"?(jt.openBlock(),jt.createElementBlock("svg",Zg,[...n[1]||(n[1]=[jt.createStaticVNode('<g fill="none" fill-rule="evenodd"><path d="M19.526 2.635v4.083h2.518c.6 0 1.096-.202 1.488-.605.403-.402.605-.882.605-1.437 0-.544-.202-1.018-.605-1.422-.392-.413-.888-.62-1.488-.62h-2.518zm0 5.52v4.736h-1.504V1.198h3.99c1.013 0 1.873.337 2.582 1.012.72.675 1.08 1.497 1.08 2.466 0 .991-.36 1.819-1.08 2.482-.697.665-1.559.996-2.583.996h-2.485v.001zm7.668 2.287c0 .392.166.718.499.98.332.26.722.391 1.168.391.633 0 1.196-.234 1.692-.701.497-.469.744-1.019.744-1.65-.469-.37-1.123-.555-1.962-.555-.61 0-1.12.148-1.528.442-.409.294-.613.657-.613 1.093m1.946-5.815c1.112 0 1.989.297 2.633.89.642.594.964 1.408.964 2.442v4.932h-1.439v-1.11h-.065c-.622.914-1.45 1.372-2.486 1.372-.882 0-1.621-.262-2.215-.784-.594-.523-.891-1.176-.891-1.96 0-.828.313-1.486.94-1.976s1.463-.735 2.51-.735c.892 0 1.629.163 2.206.49v-.344c0-.522-.207-.966-.621-1.33a2.132 2.132 0 0 0-1.455-.547c-.84 0-1.504.353-1.995 1.062l-1.324-.834c.73-1.045 1.81-1.568 3.238-1.568m11.853.262l-5.02 11.53H34.42l1.864-4.034-3.302-7.496h1.635l2.387 5.749h.032l2.322-5.75z" fill="#FFF"></path><path d="M13.448 7.134c0-.473-.04-.93-.116-1.366H6.988v2.588h3.634a3.11 3.11 0 0 1-1.344 2.042v1.68h2.169c1.27-1.17 2.001-2.9 2.001-4.944" fill="#4285F4"></path><path d="M6.988 13.7c1.816 0 3.344-.595 4.459-1.621l-2.169-1.681c-.603.406-1.38.643-2.29.643-1.754 0-3.244-1.182-3.776-2.774H.978v1.731a6.728 6.728 0 0 0 6.01 3.703" fill="#34A853"></path><path d="M3.212 8.267a4.034 4.034 0 0 1 0-2.572V3.964H.978A6.678 6.678 0 0 0 .261 6.98c0 1.085.26 2.11.717 3.017l2.234-1.731z" fill="#FABB05"></path><path d="M6.988 2.921c.992 0 1.88.34 2.58 1.008v.001l1.92-1.918C10.324.928 8.804.262 6.989.262a6.728 6.728 0 0 0-6.01 3.702l2.234 1.731c.532-1.592 2.022-2.774 3.776-2.774" fill="#E94235"></path></g>',1)])])):jt.createCommentVNode("",!0)],64))}}),Xg=jt.defineComponent({__name:"CoinflowGooglePayButton",props:{args:{type:Object,required:!0}},setup(t){return(r,n)=>(jt.openBlock(),jt.createBlock(yf,{route:"google-pay",args:t.args,overlayDisplayOverride:"flex",alignItems:"center"},{default:jt.withCtx(()=>[jt.createVNode(Kg,{color:t.args.color},null,8,["color"])]),_:1},8,["args"]))}}),qg=mf,$g=hf,Jg=pf,Qg=vf,tm=gf;re.BankingCurrencies=Xc,re.CARD_TYPE_MAPPING=tf,re.CardType=qr,re.ChargebackProtectionAccountType=$a,re.CoinflowApplePayButton=zg,re.CoinflowCardForm=qg,re.CoinflowCardFormV2=mf,re.CoinflowCardNumberInput=hf,re.CoinflowCardNumberOnlyInput=gf,re.CoinflowCvvInput=pf,re.CoinflowCvvOnlyInput=vf,re.CoinflowGooglePayButton=Xg,re.CoinflowIframe=zo,re.CoinflowLegacyCardNumberInput=$g,re.CoinflowLegacyCardNumberOnlyInput=tm,re.CoinflowLegacyCvvInput=Jg,re.CoinflowLegacyCvvOnlyInput=Qg,re.CoinflowPurchase=Lg,re.CoinflowPurchaseProtection=kg,re.CoinflowUtils=In,re.CoinflowWithdraw=Ng,re.Currency=fa,re.CurrencyToISO4217=eg,re.DEVICE_ID_HEADER=sf,re.EventBus=gg,re.IFrameMessageMethods=Go,re.MerchantStyle=qa,re.PaymentMethods=Qa,re.REFERRER_HEADER=uf,re.RN_REDIRECT_MESSAGE_NAME=Wl,re.SESSION_ID_HEADER=af,re.SettlementType=Xa,re.ThreeDsChallengePreference=Ja,re.TokenExCardNumberIframeId=Di,re.TokenExCvvContainerID=pi,re.WithdrawCategory=Za,re.WithdrawCurrencies=Kc,re.WithdrawSpeed=Ka,re.doInitializeCvvOnlyTokenExIframe=nf,re.doInitializeTokenExCardOnlyIframe=of,re.doInitializeTokenExIframe=rf,re.getCoinflowProtectionHeaders=cf,re.getCoinflowPurchaseHeaders=_g,re.getCurrencyDecimals=ag,re.getCustomerName=dg,re.getHandlers=Yo,re.getIframeConfig=ef,re.getWalletPubkey=jo,re.handleIFrameMessage=Jc,re.initCoinflowProtection=df,re.invertRate=cg,re.isBankingCurrency=rg,re.isTypedCurrencyCents=ug,re.isWithdrawCurrency=ng,re.isZeroAuthSavedPaymentMethods=Yl,re.isZeroAuthVerifyCard=jl,re.paymentMethodLabels=zl,re.recordFrontendError=Ho,re.setTokenExScriptTag=da,Object.defineProperty(re,Symbol.toStringTag,{value:"Module"})}));
18
+ components: `).concat(Et(Bt),"\n```")),[2,Ut]}}))}))}}}function F(A){var H=A===void 0?{}:A,G=H.delayFallback,it=H.debug,Ct=H.monitoring,Bt=Ct===void 0||Ct;return(0,e.sH)(this,void 0,void 0,(function(){return(0,e.YH)(this,(function(Ut){switch(Ut.label){case 0:return Bt&&(function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var kt=new XMLHttpRequest;kt.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(u,"/npm-monitoring"),!0),kt.send()}catch(rt){console.error(rt)}})(),[4,Yt(G)];case 1:return Ut.sent(),[2,te(At(ct,{debug:it},[]),it)]}}))}))}var R={load:F,hashComponents:Lt,componentsToDebugString:Et},O=Y},526:function(t,n){n.byteLength=function(b){var N=E(b),x=N[0],T=N[1];return 3*(x+T)/4-T},n.toByteArray=function(b){var N,x,T=E(b),L=T[0],M=T[1],D=new u((function(J,q,ot){return 3*(q+ot)/4-ot})(0,L,M)),Y=0,z=M>0?L-4:L;for(x=0;x<z;x+=4)N=e[b.charCodeAt(x)]<<18|e[b.charCodeAt(x+1)]<<12|e[b.charCodeAt(x+2)]<<6|e[b.charCodeAt(x+3)],D[Y++]=N>>16&255,D[Y++]=N>>8&255,D[Y++]=255&N;return M===2&&(N=e[b.charCodeAt(x)]<<2|e[b.charCodeAt(x+1)]>>4,D[Y++]=255&N),M===1&&(N=e[b.charCodeAt(x)]<<10|e[b.charCodeAt(x+1)]<<4|e[b.charCodeAt(x+2)]>>2,D[Y++]=N>>8&255,D[Y++]=255&N),D},n.fromByteArray=function(b){for(var N,x=b.length,T=x%3,L=[],M=16383,D=0,Y=x-T;D<Y;D+=M)L.push(l(b,D,D+M>Y?Y:D+M));return T===1?(N=b[x-1],L.push(r[N>>2]+r[N<<4&63]+"==")):T===2&&(N=(b[x-2]<<8)+b[x-1],L.push(r[N>>10]+r[N>>4&63]+r[N<<2&63]+"=")),L.join("")};for(var r=[],e=[],u=typeof Uint8Array<"u"?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=0;d<64;++d)r[d]=a[d],e[a.charCodeAt(d)]=d;function E(b){var N=b.length;if(N%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var x=b.indexOf("=");return x===-1&&(x=N),[x,x===N?0:4-x%4]}function l(b,N,x){for(var T,L,M=[],D=N;D<x;D+=3)T=(b[D]<<16&16711680)+(b[D+1]<<8&65280)+(255&b[D+2]),M.push(r[(L=T)>>18&63]+r[L>>12&63]+r[L>>6&63]+r[63&L]);return M.join("")}e[45]=62,e[95]=63},287:function(t,n,r){const e=r(526),u=r(251),a=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.hp=l,n.IS=50;const d=2147483647;function E(g){if(g>d)throw new RangeError('The value "'+g+'" is invalid for option "size"');const k=new Uint8Array(g);return Object.setPrototypeOf(k,l.prototype),k}function l(g,k,V){if(typeof g=="number"){if(typeof k=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return x(g)}return b(g,k,V)}function b(g,k,V){if(typeof g=="string")return(function(Et,Lt){if(typeof Lt=="string"&&Lt!==""||(Lt="utf8"),!l.isEncoding(Lt))throw new TypeError("Unknown encoding: "+Lt);const Yt=0|D(Et,Lt);let te=E(Yt);const F=te.write(Et,Lt);return F!==Yt&&(te=te.slice(0,F)),te})(g,k);if(ArrayBuffer.isView(g))return(function(Et){if(Oe(Et,Uint8Array)){const Lt=new Uint8Array(Et);return L(Lt.buffer,Lt.byteOffset,Lt.byteLength)}return T(Et)})(g);if(g==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g);if(Oe(g,ArrayBuffer)||g&&Oe(g.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Oe(g,SharedArrayBuffer)||g&&Oe(g.buffer,SharedArrayBuffer)))return L(g,k,V);if(typeof g=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const ct=g.valueOf&&g.valueOf();if(ct!=null&&ct!==g)return l.from(ct,k,V);const yt=(function(Et){if(l.isBuffer(Et)){const Lt=0|M(Et.length),Yt=E(Lt);return Yt.length===0||Et.copy(Yt,0,0,Lt),Yt}return Et.length!==void 0?typeof Et.length!="number"||Kt(Et.length)?E(0):T(Et):Et.type==="Buffer"&&Array.isArray(Et.data)?T(Et.data):void 0})(g);if(yt)return yt;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof g[Symbol.toPrimitive]=="function")return l.from(g[Symbol.toPrimitive]("string"),k,V);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g)}function N(g){if(typeof g!="number")throw new TypeError('"size" argument must be of type number');if(g<0)throw new RangeError('The value "'+g+'" is invalid for option "size"')}function x(g){return N(g),E(g<0?0:0|M(g))}function T(g){const k=g.length<0?0:0|M(g.length),V=E(k);for(let ct=0;ct<k;ct+=1)V[ct]=255&g[ct];return V}function L(g,k,V){if(k<0||g.byteLength<k)throw new RangeError('"offset" is outside of buffer bounds');if(g.byteLength<k+(V||0))throw new RangeError('"length" is outside of buffer bounds');let ct;return ct=k===void 0&&V===void 0?new Uint8Array(g):V===void 0?new Uint8Array(g,k):new Uint8Array(g,k,V),Object.setPrototypeOf(ct,l.prototype),ct}function M(g){if(g>=d)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+d.toString(16)+" bytes");return 0|g}function D(g,k){if(l.isBuffer(g))return g.length;if(ArrayBuffer.isView(g)||Oe(g,ArrayBuffer))return g.byteLength;if(typeof g!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof g);const V=g.length,ct=arguments.length>2&&arguments[2]===!0;if(!ct&&V===0)return 0;let yt=!1;for(;;)switch(k){case"ascii":case"latin1":case"binary":return V;case"utf8":case"utf-8":return de(g).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*V;case"hex":return V>>>1;case"base64":return me(g).length;default:if(yt)return ct?-1:de(g).length;k=(""+k).toLowerCase(),yt=!0}}function Y(g,k,V){let ct=!1;if((k===void 0||k<0)&&(k=0),k>this.length||((V===void 0||V>this.length)&&(V=this.length),V<=0)||(V>>>=0)<=(k>>>=0))return"";for(g||(g="utf8");;)switch(g){case"hex":return f(this,k,V);case"utf8":case"utf-8":return lt(this,k,V);case"ascii":return wt(this,k,V);case"latin1":case"binary":return P(this,k,V);case"base64":return st(this,k,V);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,k,V);default:if(ct)throw new TypeError("Unknown encoding: "+g);g=(g+"").toLowerCase(),ct=!0}}function z(g,k,V){const ct=g[k];g[k]=g[V],g[V]=ct}function J(g,k,V,ct,yt){if(g.length===0)return-1;if(typeof V=="string"?(ct=V,V=0):V>2147483647?V=2147483647:V<-2147483648&&(V=-2147483648),Kt(V=+V)&&(V=yt?0:g.length-1),V<0&&(V=g.length+V),V>=g.length){if(yt)return-1;V=g.length-1}else if(V<0){if(!yt)return-1;V=0}if(typeof k=="string"&&(k=l.from(k,ct)),l.isBuffer(k))return k.length===0?-1:q(g,k,V,ct,yt);if(typeof k=="number")return k&=255,typeof Uint8Array.prototype.indexOf=="function"?yt?Uint8Array.prototype.indexOf.call(g,k,V):Uint8Array.prototype.lastIndexOf.call(g,k,V):q(g,[k],V,ct,yt);throw new TypeError("val must be string, number or Buffer")}function q(g,k,V,ct,yt){let Et,Lt=1,Yt=g.length,te=k.length;if(ct!==void 0&&((ct=String(ct).toLowerCase())==="ucs2"||ct==="ucs-2"||ct==="utf16le"||ct==="utf-16le")){if(g.length<2||k.length<2)return-1;Lt=2,Yt/=2,te/=2,V/=2}function F(R,O){return Lt===1?R[O]:R.readUInt16BE(O*Lt)}if(yt){let R=-1;for(Et=V;Et<Yt;Et++)if(F(g,Et)===F(k,R===-1?0:Et-R)){if(R===-1&&(R=Et),Et-R+1===te)return R*Lt}else R!==-1&&(Et-=Et-R),R=-1}else for(V+te>Yt&&(V=Yt-te),Et=V;Et>=0;Et--){let R=!0;for(let O=0;O<te;O++)if(F(g,Et+O)!==F(k,O)){R=!1;break}if(R)return Et}return-1}function ot(g,k,V,ct){V=Number(V)||0;const yt=g.length-V;ct?(ct=Number(ct))>yt&&(ct=yt):ct=yt;const Et=k.length;let Lt;for(ct>Et/2&&(ct=Et/2),Lt=0;Lt<ct;++Lt){const Yt=parseInt(k.substr(2*Lt,2),16);if(Kt(Yt))return Lt;g[V+Lt]=Yt}return Lt}function pt(g,k,V,ct){return ye(de(k,g.length-V),g,V,ct)}function ft(g,k,V,ct){return ye((function(yt){const Et=[];for(let Lt=0;Lt<yt.length;++Lt)Et.push(255&yt.charCodeAt(Lt));return Et})(k),g,V,ct)}function Rt(g,k,V,ct){return ye(me(k),g,V,ct)}function At(g,k,V,ct){return ye((function(yt,Et){let Lt,Yt,te;const F=[];for(let R=0;R<yt.length&&!((Et-=2)<0);++R)Lt=yt.charCodeAt(R),Yt=Lt>>8,te=Lt%256,F.push(te),F.push(Yt);return F})(k,g.length-V),g,V,ct)}function st(g,k,V){return k===0&&V===g.length?e.fromByteArray(g):e.fromByteArray(g.slice(k,V))}function lt(g,k,V){V=Math.min(g.length,V);const ct=[];let yt=k;for(;yt<V;){const Et=g[yt];let Lt=null,Yt=Et>239?4:Et>223?3:Et>191?2:1;if(yt+Yt<=V){let te,F,R,O;switch(Yt){case 1:Et<128&&(Lt=Et);break;case 2:te=g[yt+1],(192&te)==128&&(O=(31&Et)<<6|63&te,O>127&&(Lt=O));break;case 3:te=g[yt+1],F=g[yt+2],(192&te)==128&&(192&F)==128&&(O=(15&Et)<<12|(63&te)<<6|63&F,O>2047&&(O<55296||O>57343)&&(Lt=O));break;case 4:te=g[yt+1],F=g[yt+2],R=g[yt+3],(192&te)==128&&(192&F)==128&&(192&R)==128&&(O=(15&Et)<<18|(63&te)<<12|(63&F)<<6|63&R,O>65535&&O<1114112&&(Lt=O))}}Lt===null?(Lt=65533,Yt=1):Lt>65535&&(Lt-=65536,ct.push(Lt>>>10&1023|55296),Lt=56320|1023&Lt),ct.push(Lt),yt+=Yt}return(function(Et){const Lt=Et.length;if(Lt<=mt)return String.fromCharCode.apply(String,Et);let Yt="",te=0;for(;te<Lt;)Yt+=String.fromCharCode.apply(String,Et.slice(te,te+=mt));return Yt})(ct)}l.TYPED_ARRAY_SUPPORT=(function(){try{const g=new Uint8Array(1),k={foo:function(){return 42}};return Object.setPrototypeOf(k,Uint8Array.prototype),Object.setPrototypeOf(g,k),g.foo()===42}catch{return!1}})(),l.TYPED_ARRAY_SUPPORT||typeof console>"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(g,k,V){return b(g,k,V)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(g,k,V){return(function(ct,yt,Et){return N(ct),ct<=0?E(ct):yt!==void 0?typeof Et=="string"?E(ct).fill(yt,Et):E(ct).fill(yt):E(ct)})(g,k,V)},l.allocUnsafe=function(g){return x(g)},l.allocUnsafeSlow=function(g){return x(g)},l.isBuffer=function(g){return g!=null&&g._isBuffer===!0&&g!==l.prototype},l.compare=function(g,k){if(Oe(g,Uint8Array)&&(g=l.from(g,g.offset,g.byteLength)),Oe(k,Uint8Array)&&(k=l.from(k,k.offset,k.byteLength)),!l.isBuffer(g)||!l.isBuffer(k))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(g===k)return 0;let V=g.length,ct=k.length;for(let yt=0,Et=Math.min(V,ct);yt<Et;++yt)if(g[yt]!==k[yt]){V=g[yt],ct=k[yt];break}return V<ct?-1:ct<V?1:0},l.isEncoding=function(g){switch(String(g).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(g,k){if(!Array.isArray(g))throw new TypeError('"list" argument must be an Array of Buffers');if(g.length===0)return l.alloc(0);let V;if(k===void 0)for(k=0,V=0;V<g.length;++V)k+=g[V].length;const ct=l.allocUnsafe(k);let yt=0;for(V=0;V<g.length;++V){let Et=g[V];if(Oe(Et,Uint8Array))yt+Et.length>ct.length?(l.isBuffer(Et)||(Et=l.from(Et)),Et.copy(ct,yt)):Uint8Array.prototype.set.call(ct,Et,yt);else{if(!l.isBuffer(Et))throw new TypeError('"list" argument must be an Array of Buffers');Et.copy(ct,yt)}yt+=Et.length}return ct},l.byteLength=D,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const g=this.length;if(g%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let k=0;k<g;k+=2)z(this,k,k+1);return this},l.prototype.swap32=function(){const g=this.length;if(g%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let k=0;k<g;k+=4)z(this,k,k+3),z(this,k+1,k+2);return this},l.prototype.swap64=function(){const g=this.length;if(g%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let k=0;k<g;k+=8)z(this,k,k+7),z(this,k+1,k+6),z(this,k+2,k+5),z(this,k+3,k+4);return this},l.prototype.toString=function(){const g=this.length;return g===0?"":arguments.length===0?lt(this,0,g):Y.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(g){if(!l.isBuffer(g))throw new TypeError("Argument must be a Buffer");return this===g||l.compare(this,g)===0},l.prototype.inspect=function(){let g="";const k=n.IS;return g=this.toString("hex",0,k).replace(/(.{2})/g,"$1 ").trim(),this.length>k&&(g+=" ... "),"<Buffer "+g+">"},a&&(l.prototype[a]=l.prototype.inspect),l.prototype.compare=function(g,k,V,ct,yt){if(Oe(g,Uint8Array)&&(g=l.from(g,g.offset,g.byteLength)),!l.isBuffer(g))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof g);if(k===void 0&&(k=0),V===void 0&&(V=g?g.length:0),ct===void 0&&(ct=0),yt===void 0&&(yt=this.length),k<0||V>g.length||ct<0||yt>this.length)throw new RangeError("out of range index");if(ct>=yt&&k>=V)return 0;if(ct>=yt)return-1;if(k>=V)return 1;if(this===g)return 0;let Et=(yt>>>=0)-(ct>>>=0),Lt=(V>>>=0)-(k>>>=0);const Yt=Math.min(Et,Lt),te=this.slice(ct,yt),F=g.slice(k,V);for(let R=0;R<Yt;++R)if(te[R]!==F[R]){Et=te[R],Lt=F[R];break}return Et<Lt?-1:Lt<Et?1:0},l.prototype.includes=function(g,k,V){return this.indexOf(g,k,V)!==-1},l.prototype.indexOf=function(g,k,V){return J(this,g,k,V,!0)},l.prototype.lastIndexOf=function(g,k,V){return J(this,g,k,V,!1)},l.prototype.write=function(g,k,V,ct){if(k===void 0)ct="utf8",V=this.length,k=0;else if(V===void 0&&typeof k=="string")ct=k,V=this.length,k=0;else{if(!isFinite(k))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");k>>>=0,isFinite(V)?(V>>>=0,ct===void 0&&(ct="utf8")):(ct=V,V=void 0)}const yt=this.length-k;if((V===void 0||V>yt)&&(V=yt),g.length>0&&(V<0||k<0)||k>this.length)throw new RangeError("Attempt to write outside buffer bounds");ct||(ct="utf8");let Et=!1;for(;;)switch(ct){case"hex":return ot(this,g,k,V);case"utf8":case"utf-8":return pt(this,g,k,V);case"ascii":case"latin1":case"binary":return ft(this,g,k,V);case"base64":return Rt(this,g,k,V);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return At(this,g,k,V);default:if(Et)throw new TypeError("Unknown encoding: "+ct);ct=(""+ct).toLowerCase(),Et=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const mt=4096;function wt(g,k,V){let ct="";V=Math.min(g.length,V);for(let yt=k;yt<V;++yt)ct+=String.fromCharCode(127&g[yt]);return ct}function P(g,k,V){let ct="";V=Math.min(g.length,V);for(let yt=k;yt<V;++yt)ct+=String.fromCharCode(g[yt]);return ct}function f(g,k,V){const ct=g.length;(!k||k<0)&&(k=0),(!V||V<0||V>ct)&&(V=ct);let yt="";for(let Et=k;Et<V;++Et)yt+=be[g[Et]];return yt}function S(g,k,V){const ct=g.slice(k,V);let yt="";for(let Et=0;Et<ct.length-1;Et+=2)yt+=String.fromCharCode(ct[Et]+256*ct[Et+1]);return yt}function U(g,k,V){if(g%1!=0||g<0)throw new RangeError("offset is not uint");if(g+k>V)throw new RangeError("Trying to access beyond buffer length")}function W(g,k,V,ct,yt,Et){if(!l.isBuffer(g))throw new TypeError('"buffer" argument must be a Buffer instance');if(k>yt||k<Et)throw new RangeError('"value" argument is out of bounds');if(V+ct>g.length)throw new RangeError("Index out of range")}function $(g,k,V,ct,yt){ht(k,ct,yt,g,V,7);let Et=Number(k&BigInt(4294967295));g[V++]=Et,Et>>=8,g[V++]=Et,Et>>=8,g[V++]=Et,Et>>=8,g[V++]=Et;let Lt=Number(k>>BigInt(32)&BigInt(4294967295));return g[V++]=Lt,Lt>>=8,g[V++]=Lt,Lt>>=8,g[V++]=Lt,Lt>>=8,g[V++]=Lt,V}function et(g,k,V,ct,yt){ht(k,ct,yt,g,V,7);let Et=Number(k&BigInt(4294967295));g[V+7]=Et,Et>>=8,g[V+6]=Et,Et>>=8,g[V+5]=Et,Et>>=8,g[V+4]=Et;let Lt=Number(k>>BigInt(32)&BigInt(4294967295));return g[V+3]=Lt,Lt>>=8,g[V+2]=Lt,Lt>>=8,g[V+1]=Lt,Lt>>=8,g[V]=Lt,V+8}function ut(g,k,V,ct,yt,Et){if(V+ct>g.length)throw new RangeError("Index out of range");if(V<0)throw new RangeError("Index out of range")}function Z(g,k,V,ct,yt){return k=+k,V>>>=0,yt||ut(g,0,V,4),u.write(g,k,V,ct,23,4),V+4}function h(g,k,V,ct,yt){return k=+k,V>>>=0,yt||ut(g,0,V,8),u.write(g,k,V,ct,52,8),V+8}l.prototype.slice=function(g,k){const V=this.length;(g=~~g)<0?(g+=V)<0&&(g=0):g>V&&(g=V),(k=k===void 0?V:~~k)<0?(k+=V)<0&&(k=0):k>V&&(k=V),k<g&&(k=g);const ct=this.subarray(g,k);return Object.setPrototypeOf(ct,l.prototype),ct},l.prototype.readUintLE=l.prototype.readUIntLE=function(g,k,V){g>>>=0,k>>>=0,V||U(g,k,this.length);let ct=this[g],yt=1,Et=0;for(;++Et<k&&(yt*=256);)ct+=this[g+Et]*yt;return ct},l.prototype.readUintBE=l.prototype.readUIntBE=function(g,k,V){g>>>=0,k>>>=0,V||U(g,k,this.length);let ct=this[g+--k],yt=1;for(;k>0&&(yt*=256);)ct+=this[g+--k]*yt;return ct},l.prototype.readUint8=l.prototype.readUInt8=function(g,k){return g>>>=0,k||U(g,1,this.length),this[g]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(g,k){return g>>>=0,k||U(g,2,this.length),this[g]|this[g+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(g,k){return g>>>=0,k||U(g,2,this.length),this[g]<<8|this[g+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(g,k){return g>>>=0,k||U(g,4,this.length),(this[g]|this[g+1]<<8|this[g+2]<<16)+16777216*this[g+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(g,k){return g>>>=0,k||U(g,4,this.length),16777216*this[g]+(this[g+1]<<16|this[g+2]<<8|this[g+3])},l.prototype.readBigUInt64LE=Ye((function(g){St(g>>>=0,"offset");const k=this[g],V=this[g+7];k!==void 0&&V!==void 0||Ft(g,this.length-8);const ct=k+256*this[++g]+65536*this[++g]+this[++g]*2**24,yt=this[++g]+256*this[++g]+65536*this[++g]+V*2**24;return BigInt(ct)+(BigInt(yt)<<BigInt(32))})),l.prototype.readBigUInt64BE=Ye((function(g){St(g>>>=0,"offset");const k=this[g],V=this[g+7];k!==void 0&&V!==void 0||Ft(g,this.length-8);const ct=k*2**24+65536*this[++g]+256*this[++g]+this[++g],yt=this[++g]*2**24+65536*this[++g]+256*this[++g]+V;return(BigInt(ct)<<BigInt(32))+BigInt(yt)})),l.prototype.readIntLE=function(g,k,V){g>>>=0,k>>>=0,V||U(g,k,this.length);let ct=this[g],yt=1,Et=0;for(;++Et<k&&(yt*=256);)ct+=this[g+Et]*yt;return yt*=128,ct>=yt&&(ct-=Math.pow(2,8*k)),ct},l.prototype.readIntBE=function(g,k,V){g>>>=0,k>>>=0,V||U(g,k,this.length);let ct=k,yt=1,Et=this[g+--ct];for(;ct>0&&(yt*=256);)Et+=this[g+--ct]*yt;return yt*=128,Et>=yt&&(Et-=Math.pow(2,8*k)),Et},l.prototype.readInt8=function(g,k){return g>>>=0,k||U(g,1,this.length),128&this[g]?-1*(255-this[g]+1):this[g]},l.prototype.readInt16LE=function(g,k){g>>>=0,k||U(g,2,this.length);const V=this[g]|this[g+1]<<8;return 32768&V?4294901760|V:V},l.prototype.readInt16BE=function(g,k){g>>>=0,k||U(g,2,this.length);const V=this[g+1]|this[g]<<8;return 32768&V?4294901760|V:V},l.prototype.readInt32LE=function(g,k){return g>>>=0,k||U(g,4,this.length),this[g]|this[g+1]<<8|this[g+2]<<16|this[g+3]<<24},l.prototype.readInt32BE=function(g,k){return g>>>=0,k||U(g,4,this.length),this[g]<<24|this[g+1]<<16|this[g+2]<<8|this[g+3]},l.prototype.readBigInt64LE=Ye((function(g){St(g>>>=0,"offset");const k=this[g],V=this[g+7];k!==void 0&&V!==void 0||Ft(g,this.length-8);const ct=this[g+4]+256*this[g+5]+65536*this[g+6]+(V<<24);return(BigInt(ct)<<BigInt(32))+BigInt(k+256*this[++g]+65536*this[++g]+this[++g]*2**24)})),l.prototype.readBigInt64BE=Ye((function(g){St(g>>>=0,"offset");const k=this[g],V=this[g+7];k!==void 0&&V!==void 0||Ft(g,this.length-8);const ct=(k<<24)+65536*this[++g]+256*this[++g]+this[++g];return(BigInt(ct)<<BigInt(32))+BigInt(this[++g]*2**24+65536*this[++g]+256*this[++g]+V)})),l.prototype.readFloatLE=function(g,k){return g>>>=0,k||U(g,4,this.length),u.read(this,g,!0,23,4)},l.prototype.readFloatBE=function(g,k){return g>>>=0,k||U(g,4,this.length),u.read(this,g,!1,23,4)},l.prototype.readDoubleLE=function(g,k){return g>>>=0,k||U(g,8,this.length),u.read(this,g,!0,52,8)},l.prototype.readDoubleBE=function(g,k){return g>>>=0,k||U(g,8,this.length),u.read(this,g,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(g,k,V,ct){g=+g,k>>>=0,V>>>=0,ct||W(this,g,k,V,Math.pow(2,8*V)-1,0);let yt=1,Et=0;for(this[k]=255&g;++Et<V&&(yt*=256);)this[k+Et]=g/yt&255;return k+V},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(g,k,V,ct){g=+g,k>>>=0,V>>>=0,ct||W(this,g,k,V,Math.pow(2,8*V)-1,0);let yt=V-1,Et=1;for(this[k+yt]=255&g;--yt>=0&&(Et*=256);)this[k+yt]=g/Et&255;return k+V},l.prototype.writeUint8=l.prototype.writeUInt8=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,1,255,0),this[k]=255&g,k+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,2,65535,0),this[k]=255&g,this[k+1]=g>>>8,k+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,2,65535,0),this[k]=g>>>8,this[k+1]=255&g,k+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,4,4294967295,0),this[k+3]=g>>>24,this[k+2]=g>>>16,this[k+1]=g>>>8,this[k]=255&g,k+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,4,4294967295,0),this[k]=g>>>24,this[k+1]=g>>>16,this[k+2]=g>>>8,this[k+3]=255&g,k+4},l.prototype.writeBigUInt64LE=Ye((function(g,k=0){return $(this,g,k,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=Ye((function(g,k=0){return et(this,g,k,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(g,k,V,ct){if(g=+g,k>>>=0,!ct){const Yt=Math.pow(2,8*V-1);W(this,g,k,V,Yt-1,-Yt)}let yt=0,Et=1,Lt=0;for(this[k]=255&g;++yt<V&&(Et*=256);)g<0&&Lt===0&&this[k+yt-1]!==0&&(Lt=1),this[k+yt]=(g/Et|0)-Lt&255;return k+V},l.prototype.writeIntBE=function(g,k,V,ct){if(g=+g,k>>>=0,!ct){const Yt=Math.pow(2,8*V-1);W(this,g,k,V,Yt-1,-Yt)}let yt=V-1,Et=1,Lt=0;for(this[k+yt]=255&g;--yt>=0&&(Et*=256);)g<0&&Lt===0&&this[k+yt+1]!==0&&(Lt=1),this[k+yt]=(g/Et|0)-Lt&255;return k+V},l.prototype.writeInt8=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,1,127,-128),g<0&&(g=255+g+1),this[k]=255&g,k+1},l.prototype.writeInt16LE=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,2,32767,-32768),this[k]=255&g,this[k+1]=g>>>8,k+2},l.prototype.writeInt16BE=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,2,32767,-32768),this[k]=g>>>8,this[k+1]=255&g,k+2},l.prototype.writeInt32LE=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,4,2147483647,-2147483648),this[k]=255&g,this[k+1]=g>>>8,this[k+2]=g>>>16,this[k+3]=g>>>24,k+4},l.prototype.writeInt32BE=function(g,k,V){return g=+g,k>>>=0,V||W(this,g,k,4,2147483647,-2147483648),g<0&&(g=4294967295+g+1),this[k]=g>>>24,this[k+1]=g>>>16,this[k+2]=g>>>8,this[k+3]=255&g,k+4},l.prototype.writeBigInt64LE=Ye((function(g,k=0){return $(this,g,k,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=Ye((function(g,k=0){return et(this,g,k,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(g,k,V){return Z(this,g,k,!0,V)},l.prototype.writeFloatBE=function(g,k,V){return Z(this,g,k,!1,V)},l.prototype.writeDoubleLE=function(g,k,V){return h(this,g,k,!0,V)},l.prototype.writeDoubleBE=function(g,k,V){return h(this,g,k,!1,V)},l.prototype.copy=function(g,k,V,ct){if(!l.isBuffer(g))throw new TypeError("argument should be a Buffer");if(V||(V=0),ct||ct===0||(ct=this.length),k>=g.length&&(k=g.length),k||(k=0),ct>0&&ct<V&&(ct=V),ct===V||g.length===0||this.length===0)return 0;if(k<0)throw new RangeError("targetStart out of bounds");if(V<0||V>=this.length)throw new RangeError("Index out of range");if(ct<0)throw new RangeError("sourceEnd out of bounds");ct>this.length&&(ct=this.length),g.length-k<ct-V&&(ct=g.length-k+V);const yt=ct-V;return this===g&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(k,V,ct):Uint8Array.prototype.set.call(g,this.subarray(V,ct),k),yt},l.prototype.fill=function(g,k,V,ct){if(typeof g=="string"){if(typeof k=="string"?(ct=k,k=0,V=this.length):typeof V=="string"&&(ct=V,V=this.length),ct!==void 0&&typeof ct!="string")throw new TypeError("encoding must be a string");if(typeof ct=="string"&&!l.isEncoding(ct))throw new TypeError("Unknown encoding: "+ct);if(g.length===1){const Et=g.charCodeAt(0);(ct==="utf8"&&Et<128||ct==="latin1")&&(g=Et)}}else typeof g=="number"?g&=255:typeof g=="boolean"&&(g=Number(g));if(k<0||this.length<k||this.length<V)throw new RangeError("Out of range index");if(V<=k)return this;let yt;if(k>>>=0,V=V===void 0?this.length:V>>>0,g||(g=0),typeof g=="number")for(yt=k;yt<V;++yt)this[yt]=g;else{const Et=l.isBuffer(g)?g:l.from(g,ct),Lt=Et.length;if(Lt===0)throw new TypeError('The value "'+g+'" is invalid for argument "value"');for(yt=0;yt<V-k;++yt)this[yt+k]=Et[yt%Lt]}return this};const _={};function j(g,k,V){_[g]=class extends V{constructor(){super(),Object.defineProperty(this,"message",{value:k.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${g}]`,this.stack,delete this.name}get code(){return g}set code(ct){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:ct,writable:!0})}toString(){return`${this.name} [${g}]: ${this.message}`}}}function K(g){let k="",V=g.length;const ct=g[0]==="-"?1:0;for(;V>=ct+4;V-=3)k=`_${g.slice(V-3,V)}${k}`;return`${g.slice(0,V)}${k}`}function ht(g,k,V,ct,yt,Et){if(g>V||g<k){const Lt=typeof k=="bigint"?"n":"";let Yt;throw Yt=k===0||k===BigInt(0)?`>= 0${Lt} and < 2${Lt} ** ${8*(Et+1)}${Lt}`:`>= -(2${Lt} ** ${8*(Et+1)-1}${Lt}) and < 2 ** ${8*(Et+1)-1}${Lt}`,new _.ERR_OUT_OF_RANGE("value",Yt,g)}(function(Lt,Yt,te){St(Yt,"offset"),Lt[Yt]!==void 0&&Lt[Yt+te]!==void 0||Ft(Yt,Lt.length-(te+1))})(ct,yt,Et)}function St(g,k){if(typeof g!="number")throw new _.ERR_INVALID_ARG_TYPE(k,"number",g)}function Ft(g,k,V){throw Math.floor(g)!==g?(St(g,V),new _.ERR_OUT_OF_RANGE("offset","an integer",g)):k<0?new _.ERR_BUFFER_OUT_OF_BOUNDS:new _.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${k}`,g)}j("ERR_BUFFER_OUT_OF_BOUNDS",(function(g){return g?`${g} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),j("ERR_INVALID_ARG_TYPE",(function(g,k){return`The "${g}" argument must be of type number. Received type ${typeof k}`}),TypeError),j("ERR_OUT_OF_RANGE",(function(g,k,V){let ct=`The value of "${g}" is out of range.`,yt=V;return Number.isInteger(V)&&Math.abs(V)>2**32?yt=K(String(V)):typeof V=="bigint"&&(yt=String(V),(V>BigInt(2)**BigInt(32)||V<-(BigInt(2)**BigInt(32)))&&(yt=K(yt)),yt+="n"),ct+=` It must be ${k}. Received ${yt}`,ct}),RangeError);const Zt=/[^+/0-9A-Za-z-_]/g;function de(g,k){let V;k=k||1/0;const ct=g.length;let yt=null;const Et=[];for(let Lt=0;Lt<ct;++Lt){if(V=g.charCodeAt(Lt),V>55295&&V<57344){if(!yt){if(V>56319){(k-=3)>-1&&Et.push(239,191,189);continue}if(Lt+1===ct){(k-=3)>-1&&Et.push(239,191,189);continue}yt=V;continue}if(V<56320){(k-=3)>-1&&Et.push(239,191,189),yt=V;continue}V=65536+(yt-55296<<10|V-56320)}else yt&&(k-=3)>-1&&Et.push(239,191,189);if(yt=null,V<128){if((k-=1)<0)break;Et.push(V)}else if(V<2048){if((k-=2)<0)break;Et.push(V>>6|192,63&V|128)}else if(V<65536){if((k-=3)<0)break;Et.push(V>>12|224,V>>6&63|128,63&V|128)}else{if(!(V<1114112))throw new Error("Invalid code point");if((k-=4)<0)break;Et.push(V>>18|240,V>>12&63|128,V>>6&63|128,63&V|128)}}return Et}function me(g){return e.toByteArray((function(k){if((k=(k=k.split("=")[0]).trim().replace(Zt,"")).length<2)return"";for(;k.length%4!=0;)k+="=";return k})(g))}function ye(g,k,V,ct){let yt;for(yt=0;yt<ct&&!(yt+V>=k.length||yt>=g.length);++yt)k[yt+V]=g[yt];return yt}function Oe(g,k){return g instanceof k||g!=null&&g.constructor!=null&&g.constructor.name!=null&&g.constructor.name===k.name}function Kt(g){return g!=g}const be=(function(){const g="0123456789abcdef",k=new Array(256);for(let V=0;V<16;++V){const ct=16*V;for(let yt=0;yt<16;++yt)k[ct+yt]=g[V]+g[yt]}return k})();function Ye(g){return typeof BigInt>"u"?Te:g}function Te(){throw new Error("BigInt not supported")}},527:function(t,n,r){var e=r(188),u=r(539),a=r(682);for(var d in e)e[d]=a(E(d));function E(l){return e[l]}e._api=u,t.exports=e},539:function(t){t.exports={letConst:{passes:"'use strict'; let a; const b = 2;"},letLoop:{passes:"'use strict'; for(let i in {}){}; for(let i=0;;){break}"},constLoop:{passes:"'use strict'; for(const i in {}){}; for (const i=0;;){break}"},defaultParameter:{passes:"'use strict'; function a(b=2){}"},spreadRest:{passes:"'use strict'; var a = [1,2]; +function b(...c){}(...a);"},destructuring:{passes:"'use strict'; var a = [1,2], [b,c] = a, d = {e:1,f:2}, {e:E,f} = d;"},parameterDestructuring:{passes:"'use strict'; function a({b,c}){}"},templateString:{passes:"'use strict'; var a = 1, b = `c${a}d`;"},forOf:{passes:"'use strict'; for (var a of [1]) {}"},arrow:{passes:"'use strict'; var a = () => {};"},generator:{passes:"'use strict'; function *a(){ yield; }"},conciseMethodProperty:{passes:"'use strict'; var a = 1, b = { c(){}, a };"},computedProperty:{passes:"'use strict'; var a = 1, b = { ['x'+a]: 2 };"},moduleExport:{passes:"'use strict'; export var a = 1;"},moduleImport:{passes:"'use strict'; import {a} from 'b';"},classes:{passes:"'use strict'; class Foo {}; class Bar extends Foo {};"},numericLiteral:{passes:"'use strict'; var a = 0o1, b = 0b10;"},oldOctalLiteral:{fails:"'use strict'; var a = 01;"},symbol:{passes:"'use strict'; var a = Symbol('b');"},symbolImplicitCoercion:{dependencies:["symbol"],fails:"'use strict'; var a = Symbol('a'); a + '';"},unicodeEscape:{passes:"'use strict'; var a = '\\u{20BB7}';"},unicodeIdentifier:{passes:"'use strict'; var \\u{20BB7};"},unicodeRegExp:{passes:"'use strict'; var a = /\\u{20BB7}/u;"},stickyRegExp:{passes:"'use strict'; var a = /b/y;"},letTDZ:{dependencies:["letConst"],fails:"'use strict'; a = 1; let a;"},letLoopScope:{dependencies:["letLoop","forOf"],passes:"'use strict'; var x=[],i=0;for(let i=2;i<3;i++){x.push(function(){return i})};for(let i in {3:0}){x.push(function(){return i})};for(let i of [4]){x.push(function(){return i})};if(x[0]()*x[1]()*x[2]()!=24) throw 0;"},constRedef:{dependencies:["letConst"],fails:"'use strict'; const a = 1; a = 2;"},objectProto:{passes:"'use strict'; var a = { b: 2 }, c = { __proto__: a }; if (c.b !== 2) throw 0;"},objectSuper:{passes:"'use strict'; var a = { b: 2 }, c = { d() { return super.b; } }; Object.setPrototypeOf(c,a); if (c.d() !== 2) throw 0;"},extendNatives:{dependencies:["class"],passes:"'use strict'; class Foo extends Array { }; var a = new Foo(); a.push(1,2,3); if (a.length !== 3) throw 0;"},TCO:{passes:"'use strict'; +function a(b){ if (b<6E4) return a(b+1); }(0);"},functionNameInference:{passes:"'use strict'; var a = { b: function(){} }; if (a.b.name != 'b') throw 0;"},ObjectStatics:{is:"'use strict'; return ('getOwnPropertySymbols' in Object) && ('assign' in Object) && ('is' in Object);"},ArrayStatics:{is:"'use strict'; return ('from' in Array) && ('of' in Array);"},ArrayMethods:{is:"'use strict'; return ('fill' in Array.prototype) && ('find' in Array.prototype) && ('findIndex' in Array.prototype) && ('entries' in Array.prototype) && ('keys' in Array.prototype) && ('values' in Array.prototype);"},TypedArrays:{is:"'use strict'; return ('ArrayBuffer' in global) && ('Int8Array' in global) && ('Uint8Array' in global) && ('Int32Array' in global) && ('Float64Array' in global);"},TypedArrayStatics:{dependencies:["TypedArrays"],is:"'use strict'; return ('from' in Uint32Array) && ('of' in Uint32Array);"},TypedArrayMethods:{dependencies:["TypedArrays"],is:"'use strict'; var x = new Int8Array(1); return ('slice' in x) && ('join' in x) && ('map' in x) && ('forEach' in x);"},StringMethods:{is:"'use strict'; return ('includes' in String.prototype) && ('repeat' in String.prototype);"},NumberStatics:{is:"'use strict'; return ('isNaN' in Number) && ('isInteger' in Number);"},MathStatics:{is:"'use strict'; return ('hypot' in Math) && ('acosh' in Math) && ('imul' in Math);"},collections:{is:"'use strict'; return ('Map' in global) && ('Set' in global) && ('WeakMap' in global) && ('WeakSet' in global);"},Proxy:{is:"'use strict'; return ('Proxy' in global);"},Promise:{is:"'use strict'; return ('Promise' in global);"},Reflect:{is:"'use strict'; return ('Reflect' in global);"}}},188:function(t){t.exports=new function(){this.letConst="letConst",this.letTDZ="letTDZ",this.constRedef="constRedef",this.destructuring="destructuring",this.spreadRest="spreadRest",this.forOf="forOf",this.collections="collections",this.symbol="symbol",this.Symbol=this.symbol,this.symbolImplicitCoercion="symbolImplicitCoercion",this.numericLiteral="numericLiteral",this.oldOctalLiteral="oldOctalLiteral",this.MathStatics="MathStatics",this.mathStatics=this.MathStatics,this.NumberStatics="NumberStatics",this.numberStatics=this.NumberStatics,this.StringMethods="StringMethods",this.stringMethods=this.StringMethods,this.unicodeEscape="unicodeEscape",this.unicodeIdentifier="unicodeIdentifier",this.unicodeRegExp="unicodeRegExp",this.stickyRegExp="stickyRegExp",this.templateString="templateString",this.arrow="arrow",this.defaultParameter="defaultParameter",this.parameterDestructuring="parameterDestructuring",this.functionNameInference="functionNameInference",this.TCO="TCO",this.tco=this.TCO,this.ArrayMethods="ArrayMethods",this.arrayMethods=this.ArrayMethods,this.ArrayStatics="ArrayStatics",this.arrayStatics=this.ArrayStatics,this.TypedArrayMethods="TypedArrayMethods",this.typedArrayMethods=this.TypedArrayMethods,this.TypedArrayStatics="TypedArrayStatics",this.typedArrayStatics=this.TypedArrayStatics,this.TypedArrays="TypedArrays",this.typedArrays=this.TypedArrays,this.objectProto="objectProto",this.ObjectStatics="ObjectStatics",this.objectStatics=this.ObjectStatics,this.computedProperty="computedProperty",this.conciseMethodProperty="conciseMethodProperty",this.Proxy="Proxy",this.proxy=this.Proxy,this.Reflect="Reflect",this.reflect=this.Reflect,this.generator="generator",this.Promise="Promise",this.promise=this.Promise,this.classes="classes",this.class=this.classes,this.objectSuper="objectSuper",this.extendNatives="extendNatives",this.moduleExport="moduleExport",this.moduleImport="moduleImport"}},682:function(t,n,r){var e=r(539),u={};function a(l){try{return E(l),!0}catch{return!1}}function d(l){try{return E(l)}catch{return!1}}function E(l){return new Function(l)()}u._api=e,t.exports=function l(b){if(b==="class"&&(b="classes"),u._api[b].dependencies){for(var N=0;N<u._api[b].dependencies.length;N++)if(l(u._api[b].dependencies[N])===!1)return!1}return u._api[b].passes?a(u._api[b].passes):u._api[b].fails?!a(u._api[b].fails):u._api[b].is?d(u._api[b].is):u._api[b].not?!d(u._api[b].not):void 0}},251:function(t,n){n.read=function(r,e,u,a,d){var E,l,b=8*d-a-1,N=(1<<b)-1,x=N>>1,T=-7,L=u?d-1:0,M=u?-1:1,D=r[e+L];for(L+=M,E=D&(1<<-T)-1,D>>=-T,T+=b;T>0;E=256*E+r[e+L],L+=M,T-=8);for(l=E&(1<<-T)-1,E>>=-T,T+=a;T>0;l=256*l+r[e+L],L+=M,T-=8);if(E===0)E=1-x;else{if(E===N)return l?NaN:1/0*(D?-1:1);l+=Math.pow(2,a),E-=x}return(D?-1:1)*l*Math.pow(2,E-a)},n.write=function(r,e,u,a,d,E){var l,b,N,x=8*E-d-1,T=(1<<x)-1,L=T>>1,M=d===23?Math.pow(2,-24)-Math.pow(2,-77):0,D=a?0:E-1,Y=a?1:-1,z=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(b=isNaN(e)?1:0,l=T):(l=Math.floor(Math.log(e)/Math.LN2),e*(N=Math.pow(2,-l))<1&&(l--,N*=2),(e+=l+L>=1?M/N:M*Math.pow(2,1-L))*N>=2&&(l++,N/=2),l+L>=T?(b=0,l=T):l+L>=1?(b=(e*N-1)*Math.pow(2,d),l+=L):(b=e*Math.pow(2,L-1)*Math.pow(2,d),l=0));d>=8;r[u+D]=255&b,D+=Y,b/=256,d-=8);for(l=l<<d|b,x+=d;x>0;r[u+D]=255&l,D+=Y,l/=256,x-=8);r[u+D-Y]|=128*z}},943:function(t){function n(r){this.message=r}n.prototype=new Error,n.prototype.name="InvalidCharacterError",t.exports=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(r){var e=String(r).replace(/=+$/,"");if(e.length%4==1)throw new n("'atob' failed: The string to be decoded is not correctly encoded.");for(var u,a,d=0,E=0,l="";a=e.charAt(E++);~a&&(u=d%4?64*u+a:a,d++%4)?l+=String.fromCharCode(255&u>>(-2*d&6)):0)a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a);return l}},863:function(t,n,r){var e=r(943);t.exports=function(u){var a=u.replace(/-/g,"+").replace(/_/g,"/");switch(a.length%4){case 0:break;case 2:a+="==";break;case 3:a+="=";break;default:throw"Illegal base64url string!"}try{return(function(d){return decodeURIComponent(e(d).replace(/(.)/g,(function(E,l){var b=l.charCodeAt(0).toString(16).toUpperCase();return b.length<2&&(b="0"+b),"%"+b})))})(a)}catch{return e(a)}}},127:function(t,n,r){var e=r(863);function u(a){this.message=a}u.prototype=new Error,u.prototype.name="InvalidTokenError",t.exports=function(a,d){if(typeof a!="string")throw new u("Invalid token specified");var E=(d=d||{}).header===!0?0:1;try{return JSON.parse(e(a.split(".")[E]))}catch(l){throw new u("Invalid token specified: "+l.message)}},t.exports.InvalidTokenError=u},471:function(t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);t.exports=function(e,u){var a=u||0,d=n;return[d[e[a++]],d[e[a++]],d[e[a++]],d[e[a++]],"-",d[e[a++]],d[e[a++]],"-",d[e[a++]],d[e[a++]],"-",d[e[a++]],d[e[a++]],"-",d[e[a++]],d[e[a++]],d[e[a++]],d[e[a++]],d[e[a++]],d[e[a++]]].join("")}},814:function(t){var n=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);t.exports=function(){return n(r),r}}else{var e=new Array(16);t.exports=function(){for(var u,a=0;a<16;a++)3&a||(u=4294967296*Math.random()),e[a]=u>>>((3&a)<<3)&255;return e}}},550:function(t,n,r){var e=r(814),u=r(471);t.exports=function(a,d,E){var l=d&&E||0;typeof a=="string"&&(d=a==="binary"?new Array(16):null,a=null);var b=(a=a||{}).random||(a.rng||e)();if(b[6]=15&b[6]|64,b[8]=63&b[8]|128,d)for(var N=0;N<16;++N)d[l+N]=b[N];return d||u(b)}},723:function(t){t.exports={version:"1.1.92",sdkApiVersion:"1.0.0",sdkClientType:"web",headers:{sdkClientVersion:"x-nsure-sdk-client-version",sdkApiVersion:"x-nsure-sdk-api-version",sdkClientType:"x-nsure-sdk-client-type",appId:"x-nsure-app-id",sessionId:"x-nsure-session-id",partnerId:"x-nsure-partner-id",appContextId:"x-nsure-app-context-id"},serverUrl:"https://sdk-service.nsureapi.com",storageIframeUrl:"https://sdk.nsureapi.com/sdkIframe.html",coreConfigFileUrl:"https://sdk.nsureapi.com/core-config/config.json",errorServerUrl:"https://sdk-error-manager-service.nsureapi.com",type:"prod"}},616:function(t,n,r){var e=r(287).hp;t.exports={toArray:function(u,a){if(!u||u.length!==36)return u;for(var d="",E=a?"0":"1",l=0;l<36;l+=1)d+=l>=26&&l<30?E:u[l];var b=(function(T){for(var L=255,M=255,D=0,Y=T.length;Y;){var z=Y>20?20:Y;Y-=z;do M+=L+=T[D++];while(--z);L=(255&L)+(L>>8),M=(255&M)+(M>>8)}return((M=(255&M)+(M>>8))<<8|(L=(255&L)+(L>>8))).toString(16)})(e.from(d));if(b){var N="";if(b.length===4)N+=b;else if(b.length<4){for(var x=0;x<4-b.length;x+=1)N+=E;N+=b}else N+=b.slice(-4)}return d.substring(0,26)+N+d.substring(26+N.length)}}},108:function(t){function n(){this.listeners={}}n.prototype.addEventListener=function(r,e){r in this.listeners||(this.listeners[r]=[]),this.listeners[r].push(e)},n.prototype.removeEventListener=function(r,e){if(r in this.listeners){for(var u=this.listeners[r],a=0,d=u.length;a<d;a++)if(u[a]===e)return void u.splice(a,1)}},n.prototype.dispatchEvent=function(r){if(!(r.type in this.listeners))return!0;for(var e=this.listeners[r.type].slice(),u=0,a=e.length;u<a;u++)e[u].call(this,r);return!r.defaultPrevented},t.exports=n},1:function(t){var n=null,r=null,e=0;function u(a,d){return encodeURIComponent(a)+"="+encodeURIComponent(d)}t.exports={init:function(a,d){n=a.errorServerUrl+"/reportSdkMsg",r=d.appId,e=typeof d.logMessageRate=="number"?d.logMessageRate:100},send:function(a){if(n&&!(100*Math.random()>e)){var d=n;d+="?"+u("appId",r),d+="&"+u("msg",JSON.stringify(a));var E=new Image;E.onerror=function(){},E.src=d}}}},611:function(t){var n=(function(){function r(u,a){this.method=u,this.url=a,this.headers={},this.data=null,this.timeout=1e4}r.prototype.set=function(u,a){if(typeof u=="object")for(var d in u)u.hasOwnProperty(d)&&(this.headers[d]=u[d]);else this.headers[u]=a;return this},r.prototype.send=function(u){return this.data=u,this},r.prototype.timeout=function(u){return this.timeout=u,this},r.prototype.end=function(u){var a=this,d={method:this.method,headers:this.headers};function E(T,L){return{ok:!1,status:L?L.status:400,response:T instanceof Error?T.message:T}}if(this.data&&(d.body=JSON.stringify(this.data)),typeof fetch=="function"){var l,b=fetch(this.url,d).then((function(T){if(!T.ok)throw{response:T,message:T.statusText||"HTTP error "+T.status};return(function(L){var M=L.headers.get("content-type");return M&&M.includes("application/json")?L.json().then((function(D){return{ok:L.ok,status:L.status,body:D}})):L.text().then((function(D){return{ok:L.ok,status:L.status,body:D}}))})(T)}));b.catch((function(){}));var N=new Promise((function(T,L){l=setTimeout((function(){L(new Error("Request timeout"))}),a.timeout)}));Promise.race([b,N]).then((function(T){clearTimeout(l),T.ok?u(null,T):u(E(T.response,T))})).catch((function(T){clearTimeout(l),u(E(T.message,T&&T.response))}))}else{var x=new XMLHttpRequest;x.open(this.method,this.url,!0),Object.keys(this.headers).forEach((function(T){x.setRequestHeader(T,a.headers[T])})),x.timeout=this.timeout,x.onload=function(){var T={ok:x.status>=200&&x.status<300,status:x.status,body:x.responseText};try{T.body=JSON.parse(x.responseText)}catch{}T.ok?u(null,T):u(E("HTTP error "+x.status,T))},x.onerror=function(){u(E("Error",{status:400}))},x.ontimeout=function(){u(E("Timeout",{status:408}))},x.send(this.data?JSON.stringify(this.data):null)}};var e={};return["get","post","put","delete"].forEach((function(u){e[u]=function(a){return new r(u,a)}})),e})();t.exports=n},776:function(t,n,r){var e,u,a=r(611),d=r(723),E=r(884),l=d.serverUrl;function b(){e=e||{},u!==void 0&&(e[d.headers.sessionId]=u);var N={Accept:"application/json","Content-Type":"application/json"};return Object.keys(e).forEach((function(x){e[x]!==void 0&&(N[x]=e[x])})),N}t.exports={setSessionId:function(N){u=N},makeRequest:function(N,x){var T=N.path,L=N.data,M=N.method;(function D(Y){a[M](Y+"/"+T).set(b()).send(L).end((function(z,J){if(z){if(Y!==d.serverUrl)return void D(d.serverUrl);E.isFunction(x)&&x({ok:!1,status:z.status,response:z.response})}else E.isFunction(x)&&x(null,{ok:J.ok,status:J.status,response:J.body})}))})(l)},methods:{get:"get",post:"post",put:"put",delete:"delete"},getRequestHeaders:b,init:function(N,x){(function(T){e=T})(N),x.eventsReportUrl&&typeof x.eventsReportUrl=="string"&&(l=E.normalizePath(x.eventsReportUrl))}}},13:function(t,n,r){var e,u=r(723),a="getItem";function d(l,b){l&&l.contentWindow.postMessage(b,"*")}function E(l,b,N){l.removeEventListener?l.removeEventListener(b,N,!1):l.attachEvent&&l.detachEvent("on"+b,N)}t.exports={init:function(l){var b,N=(b=!1,function(){b||(b=!0,l())});(e=document.createElement("iframe")).id="storageIframe",e.width=e.height=e.frameBorder=0,e.style.display="none",e.setAttribute("src",u.storageIframeUrl),e.onload=N,e.onerror=N,document.body.appendChild(e),window.setTimeout(N,1e4)},getKey:function(l,b){var N,x,T,L,M,D;e||b(),N=window,x="message",L=function Y(z){if(z.data&&typeof z.data=="string")try{var J=JSON.parse(z.data);if(J.command===a){var q=J.response;E(window,"message",Y),b(q)}}catch{E(window,"message",Y),b()}},M=b,D=!1,window.setTimeout((function(){D||(D=!0,M())}),5e3),T=function(Y){D||(D=!0,L(Y))},N.addEventListener?N.addEventListener(x,T,!1):N.attachEvent&&N.attachEvent("on"+x,T),d(e,JSON.stringify({command:a,key:l}))},setKey:function(l,b){d(e,JSON.stringify({command:"setItem",key:l,value:b}))},cleanup:function(){e&&e.parentElement&&e.parentElement.removeChild&&(e.parentElement.removeChild(e),e=null)}}},528:function(t){var n,r={setItem:function(l,b){this[l]=b},getItem:function(l){return this[l]},removeItem:function(l){delete this[l]}};function e(){try{return localStorage.setItem("di",1),localStorage.removeItem("di"),!0}catch{return!1}}function u(){return n===void 0&&(n=e()),n?localStorage:r}function a(l,b){u().setItem(l,b)}function d(l){return u().getItem(l)}function E(l){return u().removeItem(l)}t.exports={reset:function(){throw new Error("Cannot call reset!")},setItem:a,getItem:d,getBackwardCompatabilityItem:function(l,b){var N=d(l);return!N&&b&&(N=d(b))&&(a(l,N),E(b)),N},removeItem:E,hasAccessToLocalStorage:e,getSessionItem:function(l){try{return sessionStorage.getItem(l)}catch{return r.getItem(l)}},setSessionItem:function(l,b){try{return sessionStorage.setItem(l,b)}catch{return r.setItem(l,b)}}}},884:function(t){var n="nsure-app-cid";function r(e){var u=e;return u&&u.charAt(u.length-1)==="/"&&(u=u.slice(0,-1)),u&&!/^https?:\/\//i.test(u)&&(u="https://"+u),u}t.exports={isFunction:function(e){return typeof e=="function"},loadScript:function(e,u){var a=!1,d=document.createElement("script");function E(){a||(a=!0,u())}d.onload=E,d.onreadystatechange=function(){a||d.readyState!=="complete"||E()},d.onerror=function(){a||(a=!0,u("Error loading script"))},d.src=e,document.body.appendChild(d)},loadImage:function(e){var u=document.createElement("img");u.src=e,u.style.height=0,u.style.width=0,u.style.display="none",u.style.visibility="hidden",document.body.appendChild(u)},randomInt:function(e,u){var a,d=u-e+1;return Math.floor(((a=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&window.msCrypto.getRandomValues.bind(window.msCrypto))?a(new Uint32Array(1))[0]/Math.pow(2,32):Math.random())*d+e)},isValidDate:function(e){return e instanceof Date&&!isNaN(e)},getAppContextId:function(){try{var e=sessionStorage.getItem(n);e?sessionStorage.removeItem(n):e=String(Math.floor(1e6*Math.random())),window.addEventListener("beforeunload",(u=e,function(){try{sessionStorage.setItem(n,u)}catch{}}))}catch{e=0}var u;return e},isBrowser:function(){return typeof document<"u"&&typeof navigator<"u"&&typeof document.createElement=="function"},normalizePath:r,getConfigBaseUrls:function(e,u){var a=null;if(typeof e.configBaseUrl=="string"&&e.configBaseUrl.length>0){var d=u.coreConfigFileUrl.indexOf("/core-config/"),E=d>0?u.coreConfigFileUrl.substring(d):"/core-config/config.json";a=r(e.configBaseUrl)+E}return{mainConfigBaseUrl:a||u.coreConfigFileUrl,altConfigBaseUrl:a===u.coreConfigFileUrl?null:u.coreConfigFileUrl}}}},543:function(t){var n="f8ad0f9b-",r="ns_install_reported",e=n+r,u=n+"ns_reportedFpInSession";t.exports={webType:"Web",oldInstallEventReportedKeyName:r,installEventReportedKeyName:e,fingerprintReportedInSessionKey:u,eventTriggers:{fingerPrint:"fingerprint"}}},38:function(t){t.exports={C:"c",KD:"kd",S:"s",MM:"mm",I:"i",PC:"pc",PL:"pl",DY:"dy"}},298:function(t){t.exports={activityEvent:"activity",inactivityEvent:"inactivity"}},102:function(t,n,r){var e=r(723),u=r(776),a=r(387),d=r(733),E=r(472),l=r(376),b=r(120),N=r(142),x=r(636),T=r(496),L=r(1),M=r(336);t.exports={init:function(D){var Y=D.deviceId,z=D.linkedDevices,J={};J[e.headers.appId]=D.appId,J[e.headers.partnerId]=D.partnerId,J[e.headers.sdkClientVersion]=e.version,J[e.headers.sdkApiVersion]=e.sdkApiVersion,J[e.headers.sdkClientType]=e.sdkClientType,J[e.headers.appContextId]=D.appContextId,u.init(J,D),a.addMetadataProps(D),L.init(e,D),a.reportInitEvent(Y),T.init(D),M.init(D),d.installSdk(D,(function(q){q||l.manageFingerprint(Y,!0)})),d.reportLinkDevices(Y,z),E.manageSessionId({deviceId:Y,initModuleConfig:D}),b.manageDomEvents(Y),N.manageKeepAlive({deviceId:Y}),x.reportVersionUpgrade({deviceId:Y,initModuleVersion:D.clientVersion,coreModuleVersion:e.version})}}},143:function(t,n,r){var e=r(108),u=r(23).oneMinute,a=r(298);function d(){e.call(this),this.activityEvents={mousedown:void 0,mouseup:void 0,click:void 0,mousemove:void 0,keydown:void 0,keyup:void 0}}function E(l){e.call(this),this.activityServiceId=l}d.prototype=Object.create(e.prototype),d.prototype.constructor=d,d.prototype.observe=function(){var l=this;Object.keys(this.activityEvents).forEach((function(b){document.addEventListener(b,l.activityEvents[b]=function(){l.activityHandler()})}))},d.prototype.activityHandler=function(){this.stopActivityListeners(),this.dispatchEvent(new Event(a.activityEvent))},d.prototype.stopActivityListeners=function(){var l=this;Object.keys(this.activityEvents).forEach((function(b){document.removeEventListener(b,l.activityEvents[b])}))},E.prototype=Object.create(e.prototype),E.prototype.constructor=E,E.prototype.trackInactivity=function(l){var b,N=new d,x=this,T=!1;function L(){T||(clearTimeout(b),setTimeout((function(){x.trackInactivity(l)}),u))}N.addEventListener(a.activityEvent,L),N.observe(),b=setTimeout((function(){T=!0,N.stopActivityListeners(),N.removeEventListener(a.activityEvent,L),x.dispatchEvent(new Event(a.inactivityEvent))}),l)},t.exports=E},496:function(t,n,r){var e,u=r(120),a=r(776),d=r(376),E=r(23),l=r(723),b=r(38),N=r(543),x=r(336),T=r(884),L=[],M=[],D=null,Y=6e4,z=5e3,J=null,q=T.isBrowser()?Math.floor(window.performance&&(window.performance.timeOrigin||window.performance.navigationStart)||Date.now()):Date.now(),ot=0,pt=null,ft=Date.now(),Rt=0,At=null,st=!1,lt=!1,mt=!1,wt=!1,P=[];function f(){M=L,L=[],W(),S()}function S(){D&&clearTimeout(D),D=setTimeout(f,Y)}function U(){var K={device:{id:e,type:N.webType},metadata:{clientRequestId:E.getClientRequestId()}};return J&&J.fingerprintHash&&(K.device.fingerprint=J.fingerprintHash),K}function W(K){if(M.length)if(J!==null){var ht=Object.assign(U(),{events:M});a.makeRequest({path:"bulk",data:ht,method:a.methods.post},K)}else d.getFingerprint((function(St){J=St,W(K)}))}function $(K,ht){return L.push(K),ht?new Blob([JSON.stringify(L)]).size:0}function et(){if(mt){var K=Date.now();K-ft>z&&($({i:{dr:K-ft,ac:K-ft-Rt},metadata:{type:b.I,timestamp:K}},!1),Rt=0)}}function ut(){S(),M=L,L=[],W()}function Z(K){et(),(function(){if(wt&&Math.random()<.25){for(var ht=[],St=0;St<3;St++)ht.push(String.fromCharCode(Math.floor(26*Math.random())+97));var Ft=b.DY+ht[0],Zt={metadata:{type:Ft,timestamp:Date.now()}};Zt[Ft]={sx:Math.floor(1e3*Math.random())+1,sy:Math.floor(1e3*Math.random())+1},Zt[Ft][ht.join("")]=Math.floor(1e3*Math.random())+1,$(Zt,!1)}})(),(function(ht){x.triggerEventOnEvent(ht)})(K),$(Object.assign({metadata:{type:K.eventType,timestamp:Date.now()}},K.payload),!0)>32768&&ut(),K.eventType!==b.C&&K.eventType!==b.S&&K.eventType!==b.KD&&K.eventType!==b.MM||(ft=Date.now())}function h(){st&&ut()}function _(K){return window.addEventListener(K,h,!0),function(){window.removeEventListener(K,h,!0)}}function j(K,ht){return!K||K.indexOf(ht)>-1}t.exports={init:function(K){if(!st){var ht=K.bulkEvents&&K.bulkEvents.mask;if(!Array.isArray(ht)||ht.length!==0){var St=K.bulkEvents&&typeof K.bulkEvents.pct=="number"?K.bulkEvents.pct:100;if(!(St===0||Math.random()>St/100)){var Ft=K.bulkEvents&&K.bulkEvents.appMaskInclude;if(!Array.isArray(Ft)||Ft.indexOf(K.appId)!==-1){var Zt=K.bulkEvents&&K.bulkEvents.appMaskExclude;if(!Array.isArray(Zt)||Zt.indexOf(K.appId)===-1){var de=j(ht,b.C),me=j(ht,b.KD),ye=j(ht,b.S),Oe=j(ht,b.PC),Kt=j(ht,b.MM),be=j(ht,b.PL),Ye=j(ht,b.I),Te=j(ht,b.DY),g=Ye||be;e=K.deviceId,S(),de&&P.push(u.setClickListener(Z)),me&&P.push(u.setKeyDownListener(Z)),ye&&P.push(u.setScrollListener(Z)),Oe&&P.push(u.setPageChangeListener(Z)),Kt&&P.push(u.setMouseMoveListener(Z)),lt=be,mt=Ye,wt=Te,g&&P.push((function(){function k(){if(document.hidden)pt=Date.now(),At=pt;else if(pt!==null){var V=Date.now();ot+=V-pt,pt=null,Rt+=V-At}}return document.addEventListener("visibilitychange",k),function(){document.removeEventListener("visibilitychange",k)}})()),P.push((function(){function k(){if(et(),(function(){if(lt){var Lt=Date.now(),Yt=Lt-q;$({metadata:{type:b.PL,timestamp:Lt},pl:{dr:Yt,ac:Yt-ot}},!1)}})(),navigator.sendBeacon&&window.URLSearchParams){if(L.length>0)try{var V=a.getRequestHeaders(),ct=Object.assign(U(),{events:L}),yt=new URLSearchParams;yt.append("data",JSON.stringify(ct)),yt.append("headers",JSON.stringify(V));var Et=new Blob([yt.toString()],{type:"application/x-www-form-urlencoded"});navigator.sendBeacon(l.serverUrl+"/bulk",Et)}catch{}}else M=L,W()}return window.addEventListener("beforeunload",k),function(){window.removeEventListener("beforeunload",k)}})()),st=!0,L=[],de||P.push(_("click")),P.push(_("paste"))}}}}}},cleanup:function(){st&&(D&&clearTimeout(D),P.forEach((function(K){K()})),P=[],st=!1)},trigger:h}},120:function(t,n,r){var e=r(709),u=r(38),a=r(23);function d(){return"ontouchstart"in window}function E(l){var b={};if(l.nodeName){b.name=l.nodeName,l.className&&(b.className=String(l.className)),l.id&&(b.id=l.id);var N=l.getAttribute&&l.getAttribute("type");N&&(b.type=N),l.placeholder&&(b.placeholder=l.placeholder)}return b}t.exports={manageDomEvents:function(l){e.managePasteEvents(l)},getDomProperties:E,setClickListener:function(l){function b(x){var T={eventType:u.C,payload:{c:{d:E(x.target)}}},L=x.target.textContent||x.target.innerText||"";if(L){var M=a.transformDomNodeContent(L);T.payload[u.C].x={p:M.prefix,s:M.suffix,l:M.length}}l(T)}var N=d()?"touchend":"click";return window.addEventListener(N,b,!0),function(){window.removeEventListener(N,b,!0)}},setKeyDownListener:function(l){function b(N){l({eventType:u.KD,payload:{kd:{d:E(N.target),k:N.key||N.code||"na"}}})}return window.addEventListener("keydown",b,!0),function(){window.removeEventListener("keydown",b,!0)}},setScrollListener:function(l){var b=null,N=0,x=0,T={x:0,y:0},L=0,M=0,D=0,Y=0,z=0,J=0;function q(pt){l({eventType:u.S,payload:{s:{d:E(pt.target),di:{x:T.x,y:T.y},t:M-L,sx:D,sy:Y,ex:z,ey:J}}}),N=0,x=0,T.x=0,T.y=0,b=null,L=0,M=0}function ot(pt){var ft=pt.target.scrollingElement||pt.target;if(ft&&(ft===document&&(ft=document.documentElement),ft instanceof Element)){var Rt=ft.getBoundingClientRect(),At=-Rt.left+ft.scrollLeft,st=-Rt.top+ft.scrollTop;b?(clearTimeout(b),M=Date.now(),z=At,J=st):(L=Date.now(),M=L,z=D=At,J=Y=st),(T.x||T.y||N||x)&&(T.x+=Math.abs(At-N),T.y+=Math.abs(st-x)),N=At,x=st,b=setTimeout(q.bind(null,pt),200)}}return window.addEventListener("scroll",ot,!0),function(){b&&clearTimeout(b),window.removeEventListener("scroll",ot,!0)}},setPageChangeListener:function(l){var b,N,x,T=null,L=null,M=0;function D(q){var ot;if(window.URL){var pt=new URL(q,"http://example.com");ot=pt.pathname+pt.hash}else ot=q.indexOf("?")>-1?q.split("?")[0]:q.indexOf("#")>-1?q.split("#")[0]:q;if(ot!==T){var ft=Date.now()-x;l({eventType:u.PC,payload:{pc:{f:T,t:ot,dr:ft,ac:ft-M}}}),T=ot,x=Date.now()}}function Y(){if(document.hidden)L=Date.now();else if(L!==null){var q=Date.now();M+=q-L,L=null}}function z(q){D(q.newURL)}function J(){D(window.location.href)}return window.history?(T=window.location.pathname||"/",b=history.pushState,N=history.replaceState,x=Date.now(),window.addEventListener("hashchange",z),window.addEventListener("popstate",J),history.pushState=function(q,ot,pt){return D(pt),b.apply(history,arguments)},history.replaceState=function(q,ot,pt){return D(pt),N.apply(history,arguments)},document.addEventListener("visibilitychange",Y),function(){history.pushState=b,history.replaceState=N,window.removeEventListener("hashchange",z),window.removeEventListener("popstate",J),document.removeEventListener("visibilitychange",Y),T=null,M=0}):function(){}},setMouseMoveListener:function(l){var b=[],N=!1,x=null,T=0,L={x:0,y:0};function M(){b.length!==0&&(l({eventType:u.MM,payload:{mm:{s:b.slice(),l:N,di:L}}}),b=[])}function D(z){var J,q;z.touches&&z.touches.length>0?(J=z.touches[0].clientX,q=z.touches[0].clientY):(J=z.clientX,q=z.clientY),J!==void 0&&q!==void 0&&(b.length>0&&(L.x+=Math.abs(J-b[b.length-1][0]),L.y+=Math.abs(q-b[b.length-1][1])),b.push([J,q]),b.length>1e3&&(N=!0,(T+=2)>=1e3&&(T=2),b.splice(T,1)),x&&clearTimeout(x),x=setTimeout(M,200))}var Y=d()?"touchmove":"mousemove";return window.addEventListener(Y,D,!0),function(){x&&clearTimeout(x),window.removeEventListener(Y,D,!0)}}}},387:function(t,n,r){var e=r(776),u=r(23),a=r(287).hp,d=r(527),E=r(543),l=["storeInfo"],b={};function N(){var L={};for(var M in d)if(d.hasOwnProperty(M)){var D=M.charAt(0);D===D.toLowerCase()&&D!==D.toUpperCase()&&(L[M]=d[M])}return L}function x(L,M){var D=L.eventType,Y=L.deviceId,z=L.fingerprintProVisitorId,J=L.fingerprintProRequestId,q=L.fingerprintHash,ot=(function(mt){try{return a.from(JSON.stringify(mt)).toString("base64")}catch{return}})(L.fingerprintComponents),pt=L.deviceExtendedInfo,ft=L.payload,Rt={metadata:{type:D},device:{id:Y,fingerprint:q,rawFingerprint:ot,type:E.webType}};z&&(Rt.device.visitorId=z),J&&(Rt.device.fpRequestId=J);var At=Object.assign({},u.getClientMetadata(u.metadataType.payload),b);for(var st in At)At.hasOwnProperty(st)&&(Rt.metadata[st]=At[st]);for(var lt in ft)ft.hasOwnProperty(lt)&&(Rt[lt]=ft[lt]);pt&&(Rt.device.extendedInfo=pt),e.makeRequest({path:"events",data:Rt,method:e.methods.post},M)}function T(L){var M=L.type,D=L.deviceId,Y=L.fingerprintProVisitorId,z=L.fingerprintProRequestId,J=L.fingerprintHash,q=L.fingerprintComponents,ot=L.deviceExtendedInfo,pt=L.callback,ft={eventType:M,deviceId:D,fingerprintHash:J,fingerprintComponents:q,deviceExtendedInfo:ot};Y&&(ft.fingerprintProVisitorId=Y),z&&(ft.fingerprintProRequestId=z),x(ft,pt)}t.exports={addMetadataProps:function(L){for(var M=0;M<l.length;M+=1){var D=l[M];L.hasOwnProperty(D)&&(b[D]=L[D])}},reportEvent:x,reportAppInstallEvent:function(L,M,D,Y,z,J){T({type:"appInstall",deviceId:L,fingerprintProVisitorId:M,fingerprintProRequestId:D,fingerprintHash:Y,fingerprintComponents:z,deviceExtendedInfo:N(),callback:J})},reportFingerprintEvent:function(L,M,D,Y){T({type:"fingerprint",deviceId:L,fingerprintHash:M,fingerprintComponents:D,fingerprintProRequestId:Y})},reportInitEvent:function(L){T({type:"appInit",deviceId:L})}}},625:function(t,n,r){var e=r(269),u=r(1);t.exports={getFingerprint:function(a,d){if(e&&a)try{e.load({apiKey:"KxV6sLn9nXBGBzPtzicI",endpoint:["https://metrics.nsureapi.com",e.defaultEndpoint],modules:[e.makeIdentificationModule(),e.makeBotdModule()],scriptUrlPattern:["https://metrics.nsureapi.com/web/v<version>/<apiKey>/loader_v<loaderVersion>.js",e.defaultScriptUrlPattern],remoteControlDetection:!0}).then((function(l){return l.get()})).then((function(l){typeof d=="function"&&d(l?{fingerprintVisitorId:l.visitorId,fingerprintRequestId:l.requestId}:{})})).catch((function(){typeof d=="function"&&d({})}))}catch(l){var E={msg:"FingerprintJS.load pro error",err:JSON.stringify(l)};u.send(E),typeof d=="function"&&d({})}else d({})}}},376:function(t,n,r){var e=r(568),u=r(528),a=r(387),d=r(1),E="ns_fp_hash";function l(N,x,T,L){a.reportFingerprintEvent(T,N,x,L)}function b(N){try{e.load({monitoring:!1}).then((function(T){T.get().then((function(L){N(L?{fingerprintHash:L.visitorId,fingerprintComponents:L.components}:{})})).catch((function(){typeof N=="function"&&N({})}))})).catch((function(){typeof N=="function"&&N({})}))}catch(T){var x={msg:"FingerprintJS.load error",err:JSON.stringify(T)};d.send(x),typeof N=="function"&&N({})}}t.exports={manageFingerprint:function(N,x,T){b((function(L){var M=L.fingerprintHash,D=L.fingerprintComponents;u.getItem(E)!==M&&(x&&l(M,D,N),u.setItem(E,M)),typeof T=="function"&&T({fingerprintHash:M,fingerprintComponents:D})}))},getFingerprint:b,reportFingerprintWithProInfo:function(N,x){b((function(T){l(T.fingerprintHash,T.fingerprintComponents,N,x)}))}}},733:function(t,n,r){var e=r(528),u=r(376),a=r(625),d=r(387),E=r(142),l=r(1),b=r(543),N="linkDevices";function x(L,M,D){u.getFingerprint((function(Y){var z=Y.fingerprintHash,J=Y.fingerprintComponents;d.reportEvent({eventType:N,deviceId:L,fingerprintHash:z,fingerprintComponents:J,payload:{linkedDevices:[M,D]}})}))}function T(L,M){if(M)for(var D=0,Y=M.length;D<Y;D+=1){var z=M[D];if(z&&z.length>1){var J=z[0],q=z[1];J&&q&&J!==q&&x(L,J,q)}}}t.exports={installSdk:function(L,M){var D=L.deviceId,Y=L.loadFingerprintJsPro,z=(L.supressInstallBackwardCompatibility||[]).indexOf(L.appId)===-1,J=(function(ot,pt){var ft=pt?e.getBackwardCompatabilityItem(b.installEventReportedKeyName,b.oldInstallEventReportedKeyName):e.getItem(b.installEventReportedKeyName);return ft?(ft==="true"&&(e.setItem(b.installEventReportedKeyName,ot),ft=ot),ot===ft?{isInstalled:!0,reportedDeviceId:ot}:{isInstalled:!1,reportedDeviceId:ft}):{isInstalled:!1,reportedDeviceId:null}})(D,z);function q(ot,pt,ft){if(ft>3)M&&M(!1);else{var Rt=pt.fingerprintHash,At=pt.fingerprintComponents,st=ot.fingerprintVisitorId,lt=ot.fingerprintRequestId;d.reportAppInstallEvent(D,st,lt,Rt,At,(function(mt){if(mt){var wt={msg:"Failed sending appInstall",err:JSON.stringify(mt),deviceId:D,fingerprintHash:Rt,fingerprintRequestId:lt,numberOfRetry:ft};l.send(wt),q(ot,pt,ft+1)}else e.setItem(b.installEventReportedKeyName,D),e.setItem("ns_irts",Date.now()),E.manageKeepAlive({deviceId:D,fingerprintInfo:pt,setStartTimestamp:!0}),M&&M(!0)}))}}J.isInstalled?M&&M(!1):(J.reportedDeviceId&&J.reportedDeviceId!==D&&T(D,[[D,J.reportedDeviceId]]),a.getFingerprint(Y,(function(ot){u.manageFingerprint(D,!1,(function(pt){q(ot,pt,1)}))})))},reportLinkDevices:T}},142:function(t,n,r){var e=r(528),u=r(884),a=r(387),d=r(376),E="ns_ka_ts",l="ns_ka_step_",b=[10,30,40,60];function N(M){return l+M}function x(){var M=parseInt(e.getItem(E),10);return u.isValidDate(new Date(M))?M:null}function T(M,D){var Y=(function(){var z=x();if(!z)return null;for(var J,q=Math.floor((new Date().getTime()-z)/1e3),ot=0;ot<b.length;ot+=1){var pt=b[ot],ft=ot<b.length-1?b[ot+1]:null;if(q>=pt&&(!ft||q<ft)&&(J=pt,!e.getItem(N(J))))return{stepToReport:pt,timeToWaitInSeconds:0};if(q<pt)return{stepToReport:pt,timeToWaitInSeconds:pt-q}}return null})();Y&&(Y.timeToWaitInSeconds===0?((function(z,J,q){var ot=J.fingerprintHash,pt=J.fingerprintComponents;a.reportEvent({eventType:"keepAlive",deviceId:z,fingerprintHash:ot,fingerprintComponents:pt,payload:{keepAlive:{step:q}}}),e.setItem(N(q),!0)})(M,D,Y.stepToReport),T(M,D)):Y.timeToWaitInSeconds>0&&setTimeout((function(){T(M,D)}),1e3*Y.timeToWaitInSeconds))}var L={manageKeepAlive:function(M){var D=M.deviceId,Y=M.fingerprintInfo;M.setStartTimestamp&&!x()&&e.setItem(E,new Date().getTime()),Y?T(D,Y):d.getFingerprint((function(z){T(D,z)}))}};t.exports=L},709:function(t,n,r){var e=r(387),u=r(376),a=r(23);function d(b){var N,x=b?b.value||b.innerText:null;return{nodeContent:x,normalizedNodeContent:(N=x,a.removeWhitespaces(N))}}function E(b){var N=a.transformDomNodeContent(b),x=b||"";return N.onlyDigits=/^[0-9]+$/.test(x),N.containsWhitespace=/\s/.test(x),N.emailPattern=/^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/.test(x),N}var l={managePasteEvents:function(b){document.addEventListener("paste",(function(N){var x=d(N.target);setTimeout((function(){(function(T){var L=T.deviceId,M=T.contentBeforePaste,D=M.nodeContent,Y=M.normalizedNodeContent,z=T.domNode,J={paste:{domNode:{}}};if(z.nodeName){J.paste.domNode.name=z.nodeName,z.className&&(J.paste.domNode.className=z.className),z.id&&(J.paste.domNode.id=z.id);var q=z.getAttribute&&z.getAttribute("type");q&&(J.paste.domNode.type=q),J.paste.domNode.content={};var ot=d(z),pt=ot.nodeContent,ft=ot.normalizedNodeContent;J.paste.domNode.content.beforePaste=E(D),J.paste.domNode.content.afterPaste=E(pt),J.paste.domNode.normalizedContent={},J.paste.domNode.normalizedContent.beforePaste=E(Y),J.paste.domNode.normalizedContent.afterPaste=E(ft),z.placeholder&&(J.paste.domNode.placeholder=z.placeholder),J.paste.url=window.location.href}u.getFingerprint((function(Rt){var At=Rt.fingerprintHash;e.reportEvent({eventType:"paste",deviceId:L,fingerprintHash:At,payload:J})}))})({deviceId:b,contentBeforePaste:x,domNode:N.target})}),0)}))}};t.exports=l},472:function(t,n,r){var e=r(127),u=r(108),a=r(884),d=r(23),E=r(776),l=r(528),b=r(298).inactivityEvent,N=r(143),x=r(387),T=r(376),L="ns_sid";function M(){u.call(this),this.eventTypes={fetchComplete:"fetchComplete"}}function D(z){var J=z.deviceId,q=z.initModuleConfig,ot=z.jwtSessionId,pt=z.callback,ft=1e4;try{ft=e(ot).inactivityTimeout}catch{ft=1e4}var Rt=new N(new Date().getTime());Rt.addEventListener(b,(function At(){Rt.removeEventListener(b,At),Y({deviceId:J,initModuleConfig:q,forceRenewSessionDueToInactivity:!0,callback:pt})})),Rt.trackInactivity(ft)}function Y(z){var J,q=z.deviceId,ot=z.initModuleConfig,pt=!!z.forceRenewSessionDueToInactivity,ft=z.callback,Rt=l.getItem(L);try{J=e(Rt),E.setSessionId(Rt)}catch{J=null}pt||!J||1e3*((J||{}).exp||0)<new Date().getTime()?(function(At,st){var lt=At.deviceId,mt=(At.initModuleConfig||{}).storeInfo,wt=new M;wt.addEventListener(wt.eventTypes.fetchComplete,(function P(f){wt.removeEventListener(wt.eventTypes.fetchComplete,P),st(f.detail)})),wt.fetchSessionId(lt,mt)})({deviceId:q,initModuleConfig:ot},(function(At){Rt=At,l.setItem(L,Rt),E.setSessionId(Rt),(function(st){try{var lt=st.deviceId,mt=e(st.jwtSessionId).ets;if(!mt)return;T.getFingerprint((function(wt){var P=wt.fingerprintHash,f=wt.fingerprintComponents;x.reportEvent({eventType:"ping",deviceId:lt,fingerprintHash:P,fingerprintComponents:f,payload:{ping:{ets:mt}}})}))}catch{}})({deviceId:q,jwtSessionId:Rt}),D({deviceId:q,initModuleConfig:ot,jwtSessionId:Rt,callback:ft}),a.isFunction(ft)&&ft(Rt)})):(D({deviceId:q,initModuleConfig:ot,jwtSessionId:Rt,callback:ft}),a.isFunction(ft)&&ft(Rt))}M.prototype=Object.create(u.prototype),M.prototype.constructor=M,M.prototype.fetchSessionId=function(z,J){var q=this,ot="session?"+d.getClientMetadata(d.metadataType.queryString)+"&deviceId="+z;J&&(J.id&&(ot+="&storeId="+J.id),J.type&&(ot+="&storeType="+J.type)),(function pt(){var ft;ft=function(Rt,At){!Rt&&At&&At.ok?q.dispatchEvent(new CustomEvent(q.eventTypes.fetchComplete,{detail:At.response})):setTimeout(pt,a.randomInt(4e4,6e4))},E.makeRequest({path:ot,method:E.methods.get},ft)})()},t.exports={manageSessionId:Y,setRetrySessionTimeout:function(z){throw new Error("Cannot call setRetrySessionTimeout!")}}},336:function(t,n,r){var e=r(23),u=r(376),a=r(625),d=r(528),E=r(543).fingerprintReportedInSessionKey,l=r(543).eventTriggers,b={},N=null,x=!1,T=!1;function L(D){var Y=D||{};Object.keys(Y).forEach((function(z){z===l.fingerPrint&&T&&(d.getSessionItem(E)||(a.getFingerprint(x,(function(J){u.reportFingerprintWithProInfo(N,J.fingerprintRequestId)})),d.setSessionItem(E,!0)))}))}function M(D,Y,z){for(var J=0;J<Y.payload.length;J++){var q=Y.payload[J];q&&q.event&&q.action&&e.isSubObject(q.event,D.payload)&&(z[q.action]=!0)}}t.exports={init:function(D){if(D.eventTrigger){try{var Y=atob(D.eventTrigger),z=JSON.parse(Y);if(!z||!(b=z[D.appId]))return}catch{return}N=D.deviceId,x=D.loadFingerprintJsPro,T=!0,(function(){if(T&&b.init&&Array.isArray(b.init)){for(var J={},q=0;q<b.init.length;q++){var ot=b.init[q];ot&&ot.url&&ot.action&&new RegExp(b.init[q].url).test(window.location.href)&&(J[b.init[q].action]=!0)}L(J)}})()}},triggerEventOnEvent:function(D){if(T){var Y=b[D.eventType];if(Array.isArray(Y)){for(var z={},J=0;J<Y.length;J++){var q=Y[J];q&&q.url&&q.payload&&new RegExp(q.url).test(window.location.href)&&M(D,q,z)}L(z)}}}}},636:function(t,n,r){var e=r(528),u=r(387),a=r(376),d="ns_c_ver",E="c";function l(N){e.setItem(d,JSON.stringify(N))}function b(N,x,T,L){var M=x.fingerprintHash,D=x.fingerprintComponents;u.reportEvent({eventType:"sdkVersionUpgrade",deviceId:N,fingerprintHash:M,fingerprintComponents:D,payload:{versionUpgrade:{version:T,prevVersion:L||""}}}),l(T)}t.exports={reportVersionUpgrade:function(N){var x=N.initModuleVersion,T=N.coreModuleVersion,L={};L.i=x,L[E]=T;var M=N.deviceId,D=N.fingerprintInfo,Y=(function(){var z=e.getItem(d);if(z){try{var J=JSON.parse(z);if(typeof J=="object")return J}catch{}return{i:z}}return null})();Y&&Y.i?Y.i!==x||Y[E]&&Y[E]!==T?(Y[E]||(Y[E]=T),D?b(M,D,L,Y):a.getFingerprint((function(z){b(M,z,L,Y)}))):Y[E]||l(L):l(L)}}},23:function(t,n,r){var e=r(550),u={payload:"payload",queryString:"queryString"};function a(){return e()}function d(l,b){for(var N in l)if(l.hasOwnProperty(N)&&(!b.hasOwnProperty(N)||!E(l[N],b[N])))return!1;return!0}function E(l,b){if(l===b)return!0;if(typeof l!=typeof b)return!1;if(Array.isArray(l)&&Array.isArray(b)){if(l.length!==b.length)return!1;for(var N=0;N<l.length;N++)if(!E(l[N],b[N]))return!1;return!0}return typeof l=="object"&&l!==null&&typeof b=="object"&&b!==null&&d(l,b)}t.exports={metadataType:u,getClientMetadata:function(l){var b=new Date().getTime(),N=a();return l===u.queryString?"timestamp="+b+"&clientRequestId="+N:{timestamp:b,clientRequestId:N}},oneMinute:6e4,getClientRequestId:a,transformDomNodeContent:function(l){var b,N,x=l||"",T=x.length;return T<=1?(b="",N=""):T===2?(b=x.slice(0,1),N=""):T===3?(b=x.slice(0,1),N=x.slice(T-1)):T===4?(b=x.slice(0,2),N=x.slice(T-1)):T===5?(b=x.slice(0,2),N=x.slice(T-2)):T===6?(b=x.slice(0,3),N=x.slice(T-2)):T===7?(b=x.slice(0,3),N=x.slice(T-3)):T===8?(b=x.slice(0,4),N=x.slice(T-3)):T===9?(b=x.slice(0,5),N=x.slice(T-3)):T===10?(b=x.slice(0,5),N=x.slice(T-4)):T>10&&(b=x.slice(0,6),N=x.slice(T-4)),{length:T,prefix:b,suffix:N}},isSubObject:d,removeWhitespaces:function(l){return l&&(l instanceof String||typeof l=="string")?l.replace(/\s/g,""):l}}},651:function(t,n,r){var e,u=r(723),a=r(115),d=r(884);function E(){return a.getDeviceId()}t.exports={getDeviceId:function(){return e||(e=E()),e},getCoreModuleParams:function(l,b){var N=b||{},x=!!N.isFingerprintJsProOff,T=[];e&&e!==E()&&T.push([e,E()]);var L=d.getAppContextId(),M=N.bulkEvents||{},D=N.supressInstallBackwardCompatibility||[],Y=typeof N.logMessageRate=="number"?N.logMessageRate:100,z=N.eventTrigger||"";return Object.assign(l,{deviceId:E(),linkedDevices:T,loadFingerprintJsPro:!x,clientVersion:u.version,appContextId:L,bulkEvents:M,supressInstallBackwardCompatibility:D,logMessageRate:Y,eventTrigger:z,eventsReportUrl:N.eventsReportUrl})},parseInitParams:function(l,b){return typeof(N=l)=="string"||N instanceof String?{appId:l,partnerId:b}:l;var N},internalGetDeviceId:E}},342:function(t,n,r){var e=r(723),u=r(242),a=r(1),d=r(102),E=r(651),l=r(884),b=r(884);t.exports={version:e.version,init:l.isBrowser()?function(N,x){var T=E.parseInitParams(N,x),L=T.appId;a.init(e,{appId:L});var M=b.getConfigBaseUrls(T,e),D=M.mainConfigBaseUrl,Y=M.altConfigBaseUrl;function z(q,ot){u.getCoreModuleLoadingInfo({appId:L,url:q},(function(pt,ft){!pt&&ft||e.errorServerUrl&&a.send({msg:"Core loading error",reason:"config-file-load-fail",url:e.coreConfigFileUrl,errorDescription:pt}),ot(ft)}))}function J(q){typeof q.onPercentage=="number"&&l.randomInt(0,100)>q.onPercentage||(function(ot,pt){var ft=E.getCoreModuleParams(ot,pt);d.init(ft)})(T,q)}return z(D,(function(q){if(q)J(q);else{if(!Y)return;z(Y,(function(ot){ot&&J(ot)}))}})),E.getDeviceId()}:function(N,x){return null},getDeviceId:l.isBrowser()?function(){return E.getDeviceId()}:function(){return null}}},242:function(t,n,r){var e=r(611),u=r(528),a=r(884),d="ns_group";function E(l,b){(function(N,x){e.get(N).end((function(T,L){T?a.isFunction(x)&&x({ok:!1,errorDescription:JSON.stringify({err:T,res:L})}):a.isFunction(x)&&x(null,{ok:L.ok,status:L.status,response:L.body})}))})(l.url,(function(N,x){!N&&x&&x.response?a.isFunction(b)&&b(null,(function(T,L){var M,D=L||{},Y=D.configurations||{},z=Y[T];if(z){var J=(function(){var Rt=u.getItem(d);return Rt||(Rt=a.randomInt(1,100),u.setItem(d,Rt)),Rt})(),q=(function(Rt){var At=[],st=0;for(var lt in Rt)if(Rt.hasOwnProperty(lt)){var mt=Rt[lt],wt=st;st+=mt.percentage,At.push({from:wt,to:st,url:mt.url})}return At})(z.groups),ot=(function(Rt,At){for(var st=0,lt=Rt.length;st<lt;st++){var mt=Rt[st];if(At>mt.from&&At<=mt.to)return mt}return null})(q,J)||{};if(ot)for(M in ot)ot.hasOwnProperty(M)&&(z[M]=ot[M]);var pt=Y.default||{};for(M in pt)pt.hasOwnProperty(M)&&!z.hasOwnProperty(M)&&(z[M]=pt[M])}else z=Y.default||{};var ft={};for(M in D)D.hasOwnProperty(M)&&M!=="configurations"&&(ft[M]=D[M]);for(M in z)z.hasOwnProperty(M)&&["groups","from","to"].indexOf(M)===-1&&(ft[M]=z[M]);return ft})(l.appId,x.response)):a.isFunction(b)&&b(N.errorDescription)}))}t.exports={getCoreModuleLoadingInfo:function(l,b){var N=0;l&&l.url?E(l,(function x(T,L){T?(N+=1)<=3?E(l,x):a.isFunction(b)&&b(T):a.isFunction(b)&&b(null,L)})):a.isFunction(b)&&b("config url is not configured")}}},115:function(t,n,r){var e,u=r(550),a=r(528),d=r(13),E=r(884),l=r(616),b="ns_dev_id",N=[];function x(){var T=a.getItem(b);e||(e=T||l.toArray(u(),a.hasAccessToLocalStorage()),a.setItem(b,e))}t.exports={init:function(){d.init((function(){d.getKey(b,(function(T){T?(e=T,a.setItem(b,e),d.cleanup()):(x(),d.setKey(b,e),setTimeout(d.cleanup,2e3));for(var L=0,M=N.length;L<M;L+=1){var D=N[L];E.isFunction(D)&&D()}N=[]}))}))},addOnReadyListener:function(T){N.push(T)},getDeviceId:function(){return x(),e},reset:function(){throw new Error("Cannot call reset!")}}},635:function(t,n,r){r.d(n,{C6:function(){return u},Cl:function(){return a},Tt:function(){return d},YH:function(){return l},fX:function(){return b},sH:function(){return E}});var e=function(N,x){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,L){T.__proto__=L}||function(T,L){for(var M in L)Object.prototype.hasOwnProperty.call(L,M)&&(T[M]=L[M])},e(N,x)};function u(N,x){if(typeof x!="function"&&x!==null)throw new TypeError("Class extends value "+String(x)+" is not a constructor or null");function T(){this.constructor=N}e(N,x),N.prototype=x===null?Object.create(x):(T.prototype=x.prototype,new T)}var a=function(){return a=Object.assign||function(N){for(var x,T=1,L=arguments.length;T<L;T++)for(var M in x=arguments[T])Object.prototype.hasOwnProperty.call(x,M)&&(N[M]=x[M]);return N},a.apply(this,arguments)};function d(N,x){var T={};for(var L in N)Object.prototype.hasOwnProperty.call(N,L)&&x.indexOf(L)<0&&(T[L]=N[L]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function"){var M=0;for(L=Object.getOwnPropertySymbols(N);M<L.length;M++)x.indexOf(L[M])<0&&Object.prototype.propertyIsEnumerable.call(N,L[M])&&(T[L[M]]=N[L[M]])}return T}function E(N,x,T,L){return new(T||(T=Promise))((function(M,D){function Y(q){try{J(L.next(q))}catch(ot){D(ot)}}function z(q){try{J(L.throw(q))}catch(ot){D(ot)}}function J(q){var ot;q.done?M(q.value):(ot=q.value,ot instanceof T?ot:new T((function(pt){pt(ot)}))).then(Y,z)}J((L=L.apply(N,x||[])).next())}))}function l(N,x){var T,L,M,D,Y={label:0,sent:function(){if(1&M[0])throw M[1];return M[1]},trys:[],ops:[]};return D={next:z(0),throw:z(1),return:z(2)},typeof Symbol=="function"&&(D[Symbol.iterator]=function(){return this}),D;function z(J){return function(q){return(function(ot){if(T)throw new TypeError("Generator is already executing.");for(;D&&(D=0,ot[0]&&(Y=0)),Y;)try{if(T=1,L&&(M=2&ot[0]?L.return:ot[0]?L.throw||((M=L.return)&&M.call(L),0):L.next)&&!(M=M.call(L,ot[1])).done)return M;switch(L=0,M&&(ot=[2&ot[0],M.value]),ot[0]){case 0:case 1:M=ot;break;case 4:return Y.label++,{value:ot[1],done:!1};case 5:Y.label++,L=ot[1],ot=[0];continue;case 7:ot=Y.ops.pop(),Y.trys.pop();continue;default:if(!((M=(M=Y.trys).length>0&&M[M.length-1])||ot[0]!==6&&ot[0]!==2)){Y=0;continue}if(ot[0]===3&&(!M||ot[1]>M[0]&&ot[1]<M[3])){Y.label=ot[1];break}if(ot[0]===6&&Y.label<M[1]){Y.label=M[1],M=ot;break}if(M&&Y.label<M[2]){Y.label=M[2],Y.ops.push(ot);break}M[2]&&Y.ops.pop(),Y.trys.pop();continue}ot=x.call(N,Y)}catch(pt){ot=[6,pt],L=0}finally{T=M=0}if(5&ot[0])throw ot[1];return{value:ot[0]?ot[1]:void 0,done:!0}})([J,q])}}}function b(N,x,T){if(T||arguments.length===2)for(var L,M=0,D=x.length;M<D;M++)!L&&M in x||(L||(L=Array.prototype.slice.call(x,0,M)),L[M]=x[M]);return N.concat(L||Array.prototype.slice.call(x))}typeof SuppressedError=="function"&&SuppressedError}},$c={};function _r(t){var n=$c[t];if(n!==void 0)return n.exports;var r=$c[t]={exports:{}};return cg[t](r,r.exports,_r),r.exports}_r.d=function(t,n){for(var r in n)_r.o(n,r)&&!_r.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},_r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},_r.r=function(t){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var li={};_r.d(li,{IP:function(){return di.getDeviceId},Ts:function(){return di.init},rE:function(){return di.version}});var di=_r(342);const fg={version:di.version,init:di.init,getDeviceId:di.getDeviceId};li.Ay=fg;var la=li.Ay;li.IP,li.Ts,li.rE;function da(){if(typeof window<"u"){const t=new URLSearchParams(window.location.search).get("deviceId");if(t)return t}return la?la.getDeviceId():null}class An{env;url;constructor(n){this.env=n??"prod",this.env==="prod"?this.url="https://api.coinflow.cash":this.env==="local"?this.url="http://localhost:5000":this.url=`https://api-${this.env}.coinflow.cash`}async getNSurePartnerId(n){return fetch(this.url+`/merchant/view/${n}`).then(r=>r.json()).then(r=>r.nSureSettings?.nSurePartnerId||r.nSurePartnerId).catch(r=>{console.error(r)})}static getCoinflowBaseUrl(n){return!n||n==="prod"?"https://coinflow.cash":n==="ngrok"?"https://coinflow.ngrok.app":n==="local"?"http://localhost:3000":`https://${n}.coinflow.cash`}static getCoinflowAppBaseUrl(n){return!n||n==="prod"?"https://app.coinflow.cash":n==="ngrok"?"https://coinflow.ngrok.app":n==="local"?"http://localhost:3003":`https://app-${n}.coinflow.cash`}static getCoinflowApiUrl(n){return!n||n==="prod"?"https://api.coinflow.cash":n==="local"?"http://localhost:5000":`https://api-${n}.coinflow.cash`}static getCoinflowUrl({walletPubkey:n,sessionKey:r,route:e,routePrefix:u,env:a,subtotal:d,presentment:E,transaction:l,blockchain:b="solana",webhookInfo:N,email:x,loaderBackground:T,handleHeightChangeId:L,bankAccountLinkRedirect:M,additionalWallets:D,chargebackProtectionData:Y,chargebackProtectionAccountType:z,merchantCss:J,color:q,rent:ot,lockDefaultToken:pt,tokens:ft,planCode:Rt,disableApplePay:At,disableGooglePay:st,customerInfo:lt,settlementType:mt,lockAmount:wt,nativeSolToConvert:P,theme:f,usePermit:S,transactionSigner:U,authOnly:W,deviceId:$,jwtToken:et,origins:ut,threeDsChallengePreference:Z,supportEmail:h,destinationAuthKey:_,allowedPaymentMethods:j,accountFundingTransaction:K,partialUsdcChecked:ht,redemptionCheck:St,allowedWithdrawSpeeds:Ft,isZeroAuthorization:Zt,zeroAuthorizationConfig:de,userLocation:me,baseUrl:ye}){const Oe=u?`/${u}/${b}`:`/${b}`,Kt=new URL(Oe+e,ye??An.getCoinflowBaseUrl(a));if(n&&Kt.searchParams.append("pubkey",n),r&&Kt.searchParams.append("sessionKey",r),l&&Kt.searchParams.append("transaction",l),d&&("cents"in d?(Kt.searchParams.append("cents",d.cents.toString()),"currency"in d?Kt.searchParams.append("currency",d.currency.toString()):Kt.searchParams.append("currency",fa.USD)):(Kt.searchParams.append("token",d.address.toString()),Kt.searchParams.append("amount",d.amount.toString()))),E&&Kt.searchParams.append("presentment",E),N&&Kt.searchParams.append("webhookInfo",Rn.compressToEncodedURIComponent(JSON.stringify(N))),f&&Kt.searchParams.append("theme",Rn.compressToEncodedURIComponent(JSON.stringify(f))),lt&&Kt.searchParams.append("customerInfo",Rn.compressToEncodedURIComponent(JSON.stringify(lt))),x&&Kt.searchParams.append("email",x),h&&Kt.searchParams.append("supportEmail",h),ft&&Kt.searchParams.append("tokens",ft.toString()),T&&Kt.searchParams.append("loaderBackground",T),L&&Kt.searchParams.append("useHeightChange",L.toString()),M&&Kt.searchParams.append("bankAccountLinkRedirect",M),D&&Kt.searchParams.append("additionalWallets",Rn.compressToEncodedURIComponent(JSON.stringify(D))),Y&&Kt.searchParams.append("chargebackProtectionData",Rn.compressToEncodedURIComponent(JSON.stringify(Y))),z&&Kt.searchParams.append("chargebackProtectionAccountType",z),$)Kt.searchParams.append("deviceId",$);else{const be=da();be&&Kt.searchParams.append("deviceId",be)}return J&&Kt.searchParams.append("merchantCss",J),q&&Kt.searchParams.append("color",q),ot&&Kt.searchParams.append("rent",ot.lamports.toString()),St&&Kt.searchParams.append("redemptionCheck","true"),P&&Kt.searchParams.append("nativeSolToConvert",P.lamports.toString()),pt&&Kt.searchParams.append("lockDefaultToken","true"),Rt&&Kt.searchParams.append("planCode",Rt),At&&Kt.searchParams.append("disableApplePay","true"),st&&Kt.searchParams.append("disableGooglePay","true"),mt&&Kt.searchParams.append("settlementType",mt),wt&&Kt.searchParams.append("lockAmount","true"),S===!1&&Kt.searchParams.append("usePermit","false"),U&&Kt.searchParams.append("transactionSigner",U),W===!0&&Kt.searchParams.append("authOnly","true"),de?Kt.searchParams.append("zeroAuthorizationConfig",JSON.stringify(de)):Zt===!0&&Kt.searchParams.append("isZeroAuthorization","true"),ht===!0&&Kt.searchParams.append("partialUsdcChecked","true"),et&&Kt.searchParams.append("jwtToken",et),ut&&Kt.searchParams.append("origins",Rn.compressToEncodedURIComponent(JSON.stringify(ut))),j&&Kt.searchParams.append("allowedPaymentMethods",j.join(",")),Z&&Kt.searchParams.append("threeDsChallengePreference",Z),_&&Kt.searchParams.append("destinationAuthKey",_),K&&Kt.searchParams.append("accountFundingTransaction",Rn.compressToEncodedURIComponent(JSON.stringify(K))),Ft&&Kt.searchParams.append("allowedWithdrawSpeeds",Ft.join(",")),me&&(Kt.searchParams.append("lat",me.lat.toString()),Kt.searchParams.append("lng",me.lng.toString())),Kt.toString()}static getCoinflowIntentsUrl({baseUrl:n,route:r,color:e,theme:u,env:a,origins:d,deviceId:E,merchantCss:l,loaderBackground:b,handleHeightChangeId:N}){const x=new URL(r,n??An.getCoinflowBaseUrl(a));if(d&&x.searchParams.append("origins",Rn.compressToEncodedURIComponent(JSON.stringify(d))),E)x.searchParams.append("deviceId",E);else{const T=da();T&&x.searchParams.append("deviceId",T)}return l&&x.searchParams.append("merchantCss",l),e&&x.searchParams.append("color",e),b&&x.searchParams.append("loaderBackground",b),N&&x.searchParams.append("useHeightChange",N.toString()),u&&x.searchParams.append("theme",Rn.compressToEncodedURIComponent(JSON.stringify(u))),x.toString()}static getTransaction(n){if(n.blockchain)return this.byBlockchain(n.blockchain,{solana:()=>{if(!("transaction"in n))return;const{transaction:r}=n;if(!Ho)throw new Error("@solana/web3.js dependency is required for Solana");if(!br)throw new Error("bs58 dependency is required for Solana");if(r)return br.encode(Uint8Array.from(r.serialize({requireAllSignatures:!1,verifySignatures:!1})))},polygon:()=>{if(!("transaction"in n))return;const{transaction:r}=n;return Rn.compressToEncodedURIComponent(JSON.stringify(r))},eth:()=>{if(!("transaction"in n))return;const{transaction:r}=n;return Rn.compressToEncodedURIComponent(JSON.stringify(r))},base:()=>{if(!("transaction"in n))return;const{transaction:r}=n;return Rn.compressToEncodedURIComponent(JSON.stringify(r))},arbitrum:()=>{if(!("transaction"in n))return;const{transaction:r}=n;return Rn.compressToEncodedURIComponent(JSON.stringify(r))},stellar:()=>{if(!("transaction"in n))return;const{transaction:r}=n;if(r)return r},monad:()=>{if(!("transaction"in n))return;const{transaction:r}=n;return Rn.compressToEncodedURIComponent(JSON.stringify(r))},tempo:()=>{if(!("transaction"in n))return;const{transaction:r}=n;return Rn.compressToEncodedURIComponent(JSON.stringify(r))},user:()=>{}})()}static byBlockchain(n,r){switch(n){case"solana":return r.solana;case"polygon":return r.polygon;case"eth":return r.eth;case"base":return r.base;case"arbitrum":return r.arbitrum;case"stellar":return r.stellar;case"monad":return r.monad;case"tempo":return r.tempo;case"user":return r.user;default:throw new Error("blockchain not supported!")}}}function lg(t){if(!t)return;let n,r;if("name"in t&&t.name&&(n=t.name.split(" ")[0],r=t.name.split(" ").slice(1).join(" ")),"firstName"in t&&t.firstName&&(n=t.firstName),"lastName"in t&&t.lastName&&(r=t.lastName),n&&r)return{firstName:n,lastName:r}}function Go({event:t,error:n,env:r,merchantId:e}){const u=n instanceof Error,a=u?n.message:n,d=u?n.stack:"";fetch(`${An.getCoinflowApiUrl(r)}/api/telemetry/frontend-error`,{method:"POST",body:JSON.stringify({message:a,stackTrace:d,merchantId:e,event:t}),headers:{"Content-Type":"application/json"}}).catch(()=>{})}var Di=(t=>(t.SignMessage="signMessage",t.SignTransaction="signTransaction",t.SendTransaction="sendTransaction",t.HeightChange="heightChange",t.Success="success",t.AuthDeclined="authDeclined",t.Loaded="loaded",t.AccountLinked="accountLinked",t.Redirect="redirect",t))(Di||{});function jo(t){let n;if("signer"in t&&typeof t.signer=="object"&&t.signer&&"wallet"in t.signer?n=t.signer.wallet:"wallet"in t&&t.wallet&&(n=t.wallet),!!n){if(typeof n=="string")return n;if(typeof n=="object"){if("publicKey"in n)return n.publicKey?n.publicKey.toString():void 0;if("address"in n)return n.address?n.address:void 0}return null}}function Jc(t,n,r){let e;try{if(e=JSON.parse(t),!("method"in e)||!("data"in e))return}catch(d){console.error("handleIFrameMessage JSON parse",d);return}const{data:u,method:a}=e;switch(a){case"signMessage":return n.handleSignMessage?n.handleSignMessage(u):void 0;case"signTransaction":return n.handleSignTransaction?n.handleSignTransaction(u):void 0;case"sendTransaction":return n.handleSendTransaction(u);case"heightChange:"+r:return n.handleHeightChange?n.handleHeightChange(u):void 0;case"success":if(!n.onSuccess)return;n.onSuccess(e.info);return;case"authDeclined":if(!n.onAuthDeclined)return;n.onAuthDeclined(e.info);return;case"loaded":return;case"accountLinked":return;case"redirect":window.open(u,"_blank");return}console.warn(`Didn't expect to get here, handleIFrameMessage method:${a} is not one of ${Object.values(Di)}`)}function Yo(t){let n,r;return"signer"in t&&typeof t.signer=="object"&&t.signer&&"blockchain"in t.signer&&"wallet"in t.signer?(n=t.signer.blockchain,r=t.signer.wallet):"blockchain"in t&&t.blockchain&&(n=t.blockchain,r=t.wallet),n?An.byBlockchain(n,{solana:()=>dg({wallet:r,onSuccess:t.onSuccess,onAuthDeclined:t.onAuthDeclined}),eth:()=>hi({wallet:r,onSuccess:t.onSuccess,onAuthDeclined:t.onAuthDeclined}),polygon:()=>hi({wallet:r,onSuccess:t.onSuccess,onAuthDeclined:t.onAuthDeclined}),base:()=>hi({wallet:r,onSuccess:t.onSuccess,onAuthDeclined:t.onAuthDeclined}),arbitrum:()=>hi({wallet:r,onSuccess:t.onSuccess,onAuthDeclined:t.onAuthDeclined}),stellar:()=>hg({wallet:r,onSuccess:t.onSuccess,onAuthDeclined:t.onAuthDeclined}),monad:()=>hi({wallet:r,onSuccess:t.onSuccess,onAuthDeclined:t.onAuthDeclined}),tempo:()=>hi({wallet:r,onSuccess:t.onSuccess,onAuthDeclined:t.onAuthDeclined}),user:()=>pg(t)})():{handleSendTransaction:()=>{throw new Error("handleSendTransaction Not Implemented")},handleSignMessage:()=>{throw new Error("handleSendTransaction Not Implemented")},handleSignTransaction:()=>{throw new Error("handleSendTransaction Not Implemented")},onSuccess:t.onSuccess,onAuthDeclined:t.onAuthDeclined}}function dg({wallet:t,onSuccess:n,onAuthDeclined:r}){return{handleSendTransaction:async e=>{const u=Qc(e);return await t.sendTransaction(u)},handleSignMessage:async e=>{const u=t.signMessage;if(!u)throw new Error("signMessage is not supported by this wallet");const a=await u(new TextEncoder().encode(e));if(!br)throw new Error("bs58 dependency is required");return br.encode(a)},handleSignTransaction:async e=>{const u=t.signTransaction;if(!u)throw new Error("signTransaction is not supported by this wallet");const a=Qc(e),d=await u(a);if(!br)throw new Error("bs58 dependency is required");return br.encode(Uint8Array.from(d.serialize({requireAllSignatures:!1,verifySignatures:!1})))},onSuccess:n,onAuthDeclined:r}}function Qc(t){if(!Ho)throw new Error("@solana/web3.js is not defined. Please install @solana/web3.js into your project");if(!br)throw new Error("bs58 is not defined. Please install bs58 into your project");const n=br.decode(t),r=Ho.VersionedTransaction.deserialize(n);return r.version==="legacy"?Ho.Transaction.from(n):r}function hi({wallet:t,onSuccess:n,onAuthDeclined:r}){return{handleSendTransaction:async e=>{const u=JSON.parse(Buffer.from(e,"base64").toString()),{hash:a}=await t.sendTransaction(u);return a},handleSignMessage:async e=>t.signMessage(e),onSuccess:n,onAuthDeclined:r}}function hg({wallet:t,onSuccess:n,onAuthDeclined:r}){return{handleSendTransaction:async e=>{throw new Error(`sendTransaction is not supported on stellar, error when sending: ${e}`)},handleSignMessage:async e=>{if(!t.signMessage)throw new Error("signMessage is not supported by this wallet");return await t.signMessage(e)},handleSignTransaction:async e=>{if(!t.signTransaction)throw new Error("signTransaction is not supported by this wallet");return await t.signTransaction(e)},onSuccess:n,onAuthDeclined:r}}function pg({onSuccess:t,onAuthDeclined:n}){return{handleSendTransaction:async()=>Promise.resolve(""),onSuccess:t,onAuthDeclined:n}}class vg{static on(n,r){document.addEventListener(n,r)}static dispatch(n,r){document.dispatchEvent(new CustomEvent(n,{detail:r}))}static remove(n,r){document.removeEventListener(n,r)}}const Pi="tokenExCardNumber",pi="tokenExCardCvv",tf={[qr.VISA]:"visa",[qr.MASTERCARD]:"masterCard",[qr.AMEX]:"americanExpress",[qr.DISCOVER]:"discover"};async function ef(t){const{token:n,origins:r,env:e}=t;return new Promise((u,a)=>{fetch(new An(e).url+"/api/tokenize/iframe/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({origins:r,token:n,merchantId:"merchantId"in t?t.merchantId:void 0,checkoutJwt:"checkoutJwt"in t?t.checkoutJwt:void 0})}).then(async d=>{u(await d.json())}).catch(d=>a(d))})}function ha({env:t,setTokenExScriptLoaded:n}){const r="tokenex-script";document.head.querySelector(`#${r}`)&&n(!0);const e=document.createElement("script");e.src=t==="prod"?"https://htp.tokenex.com/iframe/iframe-v3.min.js":"https://test-htp.tokenex.com/iframe/iframe-v3.min.js",e.id=r,document.head.appendChild(e),document.getElementById(r).addEventListener("load",()=>{console.log("Setting tokenExScriptLoaded to true!"),n(!0)})}function gg({iframe:t,setCachedToken:n,setLoaded:r}){const e=async()=>(t.tokenize(),await new Promise((u,a)=>{t.on("tokenize",d=>{n(d.token),u(d)}),t.on("validate",d=>{(!d.isValid||d.isCvvValid===!1)&&a(d)})}));return t.on("change",()=>n(void 0)),t.on("cvvChange",()=>n(void 0)),t.on("load",()=>{setTimeout(()=>r(!0),350);const u=document.querySelector("#tx_iframe_tokenExCardNumber");u&&(u.scrolling="no")}),t.on("focus",()=>{t.focus()}),t.on("cvvFocus",()=>{t.cvvFocus()}),r(!1),t.load(),{...t,tokenize:e}}async function nf(t){const{token:n,cardType:r}=t;return await pa(pi,t,{cvvOnly:!0,cvv:!0,cvvContainerID:pi,placeholder:"CVV",token:n,cardType:tf[r]})}async function rf(t){return await pa(Pi,t,{cvv:!0,cvvContainerID:pi,cvvPlaceholder:"CVV"})}async function of(t){return await pa(Pi,t,{cvv:!1})}async function pa(t,n,r){const{tokenExScriptLoaded:e,css:u,debug:a,font:d,setCachedToken:E,setLoaded:l}=n;if(!e&&typeof TokenEx>"u"){console.warn("Warning Unable to load TokenEx on first attempt waiting for load event from document.head.script#tokenex-script");return}const b=await ef({...n,token:r.token}),{styles:N}=mg(u),x={...b,placeholder:"0000 0000 0000 0000",enablePrettyFormat:!0,styles:N,font:d,debug:a??!1,...r},T=TokenEx.Iframe(t,x);return gg({iframe:T,setCachedToken:E,setLoaded:l})}function mg(t){const n=JSON.parse(t);return{styles:{base:Rr(n.base),focus:Rr(n.focus),error:Rr(n.error),placeholder:Rr(n.placeholder),cvv:{base:Rr(n.cvv?.base),focus:Rr(n.cvv?.focus),error:Rr(n.cvv?.error),placeholder:Rr(n?.placeholder)}}}}function Rr(t){if(!t)return"";if(typeof t=="string")return t;let n="";for(const[r,e]of Object.entries(t)){let u="";r.split("").forEach(a=>{a.toUpperCase()===a?u+="-"+a.toLowerCase():u+=a}),n+=u+":"+e+";"}return n}re.nftCartItem=void 0,(t=>{(n=>{n.NFT="nft"})(t.itemClass||(t.itemClass={})),(n=>{n.IN_GAME_PRODUCT="inGameProduct",n.GAME_OF_SKILL="gameOfSkill",n.DATA_STORAGE="dataStorage",n.COMPUTING_RESOURCES="computingResources",n.SPORTS_TICKET="sportsTicket",n.E_SPORTS_TICKET="eSportsTicket",n.MUSIC_TICKET="musicTicket",n.CONFERENCE_TICKET="conferenceTicket",n.VIRTUAL_SPORTS_TICKET="virtualSportsTicket",n.VIRTUAL_ESPORTS_TICKET="virtualESportsTicket",n.VIRTUAL_MUSIC_TICKET="virtualMusicTicket",n.VIRTUAL_CONFERENCE_TICKET="virtualConferenceTicket",n.ALCOHOL="alcohol",n.DLC="DLC",n.SUBSCRIPTION="subscription",n.FUND_ACAUSE="fundACause",n.REAL_ESTATE="realEstate",n.COMPUTING_CONTRACT="computingContract",n.DIGITAL_ART="digitalArt",n.TOP_UP="topUp",n.OWNERSHIP_CONTRACT="ownershipContract",n.IN_GAME_CURRENCY="inGameCurrency",n.MONEY_TOP_UP_CART_ITEM="moneyTopUpCartItem"})(t.productType||(t.productType={}))})(re.nftCartItem||(re.nftCartItem={}));let va=null;async function yg({merchantId:t,env:n}){if(!va&&typeof window<"u")try{const r=await window.Verisoul?.session();r?.session_id&&(va=r.session_id)}catch(r){console.error(r),Go({event:"ProtectionInit",env:n,merchantId:t,error:r})}}function wg(){return va}const sf="x-device-id",af="x-session-id",uf="x-coinflow-referrer";function cf(){return{[sf]:da(),[af]:wg()}}function Eg(){try{return document.referrer||null}catch{return null}}function bg(){return{...cf(),[uf]:Eg()}}const _g="9JBW2RHC7JNJN8ZQ",ff={prod:"315da543-c486-435a-aa21-53844c469822",sandbox:"e9f629c4-80ee-4c6d-967e-62af47d8679e"};async function lf({coinflowEnv:t,merchantId:n}){const r=t==="prod"?"prod":"sandbox";if(!(typeof window<"u"&&new URLSearchParams(window.location.search).has("deviceId"))){const u=await new An(t).getNSurePartnerId(n);if(u){const a=_g;try{la.init(a,u)}catch(d){console.error("Failed to initialize nSure SDK:",d),Go({event:"NSureInit",error:d,env:t,merchantId:n})}}}if(typeof document<"u"&&!document.querySelector("script[verisoul-project-id]")){const a=ff[r]??ff.sandbox;a&&await new Promise(d=>{const E=document.createElement("script");E.src=`https://js.v.coinflow.sh/${r}/bundle.js`,E.async=!0,E.setAttribute("verisoul-project-id",a),E.onload=()=>{yg({merchantId:n,env:t}).then(d)},E.onerror=l=>{Go({event:"ProtectionError",error:l,env:t,merchantId:n}),d()},document.head.appendChild(E)})}}const Rg=jt.defineComponent({name:"CoinflowIFrame",props:{args:{type:Object,required:!0}},computed:{url(){return An.getCoinflowUrl(this.args)}},emits:{onMessage(t){return!0}},methods:{sendMessage(t){const n=this.$refs.iframeRef;if(!n?.contentWindow)throw new Error("Iframe not defined");n.contentWindow.postMessage(t,"*")},handleIframeMessages({data:t,origin:n}){const r=new URL(An.getCoinflowBaseUrl(this.args.env)).origin;if(n!==r)return;this.$emit("onMessage",{data:t,origin:n});const e=Jc(t,this.args,this.args.handleHeightChangeId);e&&e.then(this.sendMessage).catch(u=>{console.error(u),this.sendMessage("ERROR "+u.message)})},async listenForMessage(t){let n;return new Promise((r,e)=>{if(n=({data:u,origin:a})=>{const d=new URL(An.getCoinflowBaseUrl(this.args.env)).origin;if(a===d){if(u.startsWith("ERROR")){e(new Error(u.replace("ERROR","")));return}t(u)&&r(u)}},!window)throw new Error("Window not defined");window.addEventListener("message",n)}).finally(()=>{window.removeEventListener("message",n)})},async sendAndReceiveMessage(t,n){return this.sendMessage(t),this.listenForMessage(n)}},mounted(){if(!window)throw new Error("Window not defined");return window.addEventListener("message",this.handleIframeMessages),()=>{window.removeEventListener("message",this.handleIframeMessages)}}}),ga=(t,n)=>{const r=t.__vccOpts||t;for(const[e,u]of n)r[e]=u;return r},Ag=["src","scrolling"];function Sg(t,n,r,e,u,a){return jt.openBlock(),jt.createElementBlock("iframe",{credentialless:"",style:{height:"100%",width:"100%"},ref:"iframeRef",allow:"payment;camera;clipboard-write;geolocation",title:"withdraw",frameBorder:"0",src:t.url,scrolling:t.args.handleHeightChange?"no":"yes",onLoad:n[0]||(n[0]=()=>{const d=t.$refs.iframeRef;d&&(d.style.opacity="1")})},null,40,Ag)}const zo=ga(Rg,[["render",Sg]]),Ig=jt.defineComponent({name:"CoinflowWithdraw",components:{CoinflowIFrame:zo},props:{args:{type:Object,required:!0}},computed:{handleHeightChangeId(){return Math.random().toString(16).substring(2)},iframeProps(){const t=jo(this.args);return{...this.args,walletPubkey:t,route:`/withdraw/${this.args.merchantId}`,transaction:void 0}},messageHandlers(){return{...Yo(this.args),handleHeightChange:this.args.handleHeightChange}}}});function Og(t,n,r,e,u,a){const d=jt.resolveComponent("coinflow-i-frame");return jt.openBlock(),jt.createBlock(d,{args:{...t.iframeProps,...t.messageHandlers,handleHeightChangeId:t.handleHeightChangeId}},null,8,["args"])}const Ng=ga(Ig,[["render",Og]]),Tg=jt.defineComponent({name:"CoinflowPurchase",components:{CoinflowIFrame:zo},props:{args:{type:Object,required:!0}},computed:{handleHeightChangeId(){return Math.random().toString(16).substring(2)},iframeProps(){const t=jo(this.args);return{...this.args,walletPubkey:t,route:`/purchase-v2/${this.args.merchantId}`,transaction:An.getTransaction(this.args)}},messageHandlers(){return{...Yo(this.args),handleHeightChange:this.args.handleHeightChange}}}});function xg(t,n,r,e,u,a){const d=jt.resolveComponent("coinflow-i-frame");return jt.openBlock(),jt.createBlock(d,{args:{...t.iframeProps,...t.messageHandlers,handleHeightChangeId:t.handleHeightChangeId}},null,8,["args"])}const Lg=ga(Tg,[["render",xg]]),ma=t=>{const n=jt.ref(!1),r=jt.ref(!1),e=jt.ref(void 0),u=jt.ref(void 0);jt.onMounted(()=>{ha({env:t.env,setTokenExScriptLoaded:()=>{console.log("tokenExScriptLoaded.value = true"),r.value=!0}})});const a=x=>u.value=x,d=()=>n.value=!0,E=x=>e.value=x,l=async x=>{const T=await nf({...t,...x,tokenExScriptLoaded:r.value,setCachedToken:a,setLoaded:d});return E(T),T},b=async x=>{const T=await rf({...t,...x,tokenExScriptLoaded:r.value,setCachedToken:a,setLoaded:d});return E(T),T},N=async x=>{const T=await of({...t,...x,tokenExScriptLoaded:r.value,setCachedToken:a,setLoaded:d});return E(T),T};return jt.watchEffect(x=>{e.value&&(e.value.load(),x(()=>e.value?.remove()))}),{tokenExIframe:e,initializeTokenExIframe:b,initializeCvvOnlyTokenExIframe:l,initializeTokenExCardOnlyIframe:N,loaded:n,cachedToken:u,setTokenExScriptTag:ha,tokenExScriptLoaded:r}},Cg=["id"],df=jt.defineComponent({__name:"CoinflowCardNumberInput",props:{args:{type:Object,required:!0}},setup(t,{expose:n}){const{initializeTokenExIframe:r,tokenExIframe:e}=ma(t.args);async function u(){if(!e.value)throw new Error("Unable to get token");return e.value.tokenize()}n({getToken:u});function a(){return JSON.stringify(t.args.css)}return jt.watchEffect(()=>{r({css:a(),debug:t.args.debug,origins:t.args.origins,font:t.args.font})},{}),(d,E)=>(jt.openBlock(),jt.createElementBlock("div",{id:jt.unref(Pi)},null,8,Cg))}}),Bg=["id"],hf=jt.defineComponent({__name:"CoinflowCvvInput",setup(t){return(n,r)=>(jt.openBlock(),jt.createElementBlock("div",{id:jt.unref(pi)},null,8,Bg))}}),Mg=["id"],pf=jt.defineComponent({__name:"CoinflowCvvOnlyInput",props:{args:{type:Object,required:!0}},setup(t,{expose:n}){const{initializeCvvOnlyTokenExIframe:r,tokenExIframe:e}=ma(t.args);async function u(){if(!e.value)throw new Error("Unable to get token");return e.value.tokenize()}n({getToken:u});function a(){return JSON.stringify(t.args.css)}return jt.watchEffect(()=>{r({...t.args,origins:t.args.origins??[],css:a(),font:t.args.font})},{}),(d,E)=>(jt.openBlock(),jt.createElementBlock("div",{id:jt.unref(pi)},null,8,Mg))}}),kg=jt.defineComponent({__name:"CoinflowPurchaseProtection",props:{args:{type:Object,required:!0}},setup(t){return jt.onMounted(()=>{lf({coinflowEnv:t.args.env,merchantId:t.args.merchantId})}),(n,r)=>null}}),Ug=["id"],vf=jt.defineComponent({__name:"CoinflowCardNumberOnlyInput",props:{args:{type:Object,required:!0}},setup(t,{expose:n}){const{tokenExIframe:r,initializeTokenExCardOnlyIframe:e}=ma(t.args);async function u(){if(!r.value)throw new Error("Unable to get token");return r.value.tokenize()}n({getToken:u});function a(){return JSON.stringify(t.args.css)}return jt.watchEffect(()=>{e({css:a(),debug:t.args.debug,origins:t.args.origins,font:t.args.font})},{}),(d,E)=>(jt.openBlock(),jt.createElementBlock("div",{id:jt.unref(Pi)},null,8,Ug))}}),Dg=["src"],gf=jt.defineComponent({__name:"CoinflowCardFormV2",props:{args:{type:Object,required:!0}},setup(t,{expose:n}){const r=jt.ref(null),e=jt.ref(!1),u=jt.ref(null),a=jt.computed(()=>{const l=An.getCoinflowBaseUrl(t.args.env),b=new URL(`/form/v2/${t.args.variant}`,l);return b.searchParams.append("merchantId",t.args.merchantId),b.searchParams.append("useHeightChange","true"),t.args.theme&&b.searchParams.append("theme",Rn.compressToEncodedURIComponent(JSON.stringify(t.args.theme))),t.args.token&&b.searchParams.append("token",t.args.token),b.toString()});function d({data:l,origin:b}){const N=new URL(An.getCoinflowBaseUrl(t.args.env)).origin;if(b===N)try{const x=JSON.parse(l);if(x.method===Di.Loaded)e.value=!0,t.args.onLoad?.();else if(x.method===Di.HeightChange){const T=Number(x.data);Number.isFinite(T)&&T>0&&(u.value=T)}}catch{}}jt.onMounted(()=>{window.addEventListener("message",d)}),jt.onUnmounted(()=>{window.removeEventListener("message",d)});async function E(){return new Promise((l,b)=>{if(!r.value?.contentWindow){b(new Error("Card form iframe not loaded"));return}const N=({data:T,origin:L})=>{const M=new URL(An.getCoinflowBaseUrl(t.args.env)).origin;if(L===M)try{const D=JSON.parse(T);if(D.method!=="tokenize")return;if(window.removeEventListener("message",N),typeof D.data=="string"&&D.data.startsWith("ERROR")){b(new Error(D.data.replace("ERROR ","")));return}const Y=typeof D.data=="string"?JSON.parse(D.data):D.data;l(Y)}catch{}};window.addEventListener("message",N);const x=new URL(An.getCoinflowBaseUrl(t.args.env)).origin;r.value.contentWindow.postMessage("tokenize",x)})}return n({tokenize:E}),(l,b)=>(jt.openBlock(),jt.createElementBlock("iframe",{ref_key:"iframeRef",ref:r,src:a.value,title:"Card Form",frameBorder:"0",allow:"payment",style:jt.normalizeStyle({width:"100%",height:u.value?`${u.value}px`:"60px",border:"none",opacity:e.value?1:0,transition:"opacity 300ms linear, height 150ms ease-out"})},null,12,Dg))}}),Pg={style:{position:"relative",height:"100%"}},Fg={style:{position:"relative",zIndex:10,height:"100%"}},mf=jt.defineComponent({__name:"MobileWalletButton",props:{args:{type:Object,required:!0},route:{type:String,required:!0},overlayDisplayOverride:{type:String,required:!1},alignItems:{type:String,required:!1}},setup(t){const{onSuccess:n}=t.args;function r(){const l=jo(t.args);return{...t.args,walletPubkey:l,transaction:void 0,routePrefix:"form",route:`/${t.route}/${t.args.merchantId}`}}function e(){return{...Yo(t.args),handleHeightChange:t.args.handleHeightChange}}const u=jt.ref(.8),a=jt.ref("flex"),d=Math.random().toString(16).substring(2);function E({data:l}){try{const b=JSON.parse(l);if("method"in b&&b.method==="loaded"&&(u.value=1,a.value="none"),"method"in b&&b.data.startsWith("ERROR"))return t.args?.onError?.(b.info),!1;if(!("method"in b)||b.method!=="getToken")return}catch{return}n?.(l)}return(l,b)=>(jt.openBlock(),jt.createElementBlock("div",Pg,[jt.createElementVNode("div",{style:jt.normalizeStyle({backgroundColor:t.args.color,display:t.overlayDisplayOverride??a.value,opacity:u.value,alignItems:t.alignItems,width:"100%",height:"40px",position:"absolute",top:0,bottom:0,left:0,zIndex:20,justifyContent:"center",pointerEvents:"none"})},[jt.renderSlot(l.$slots,"default")],4),jt.createElementVNode("div",Fg,[jt.createVNode(zo,{onOnMessage:E,args:{...r(),...e(),handleHeightChangeId:jt.unref(d)}},null,8,["args"])])]))}}),Vg={id:"svg-logo",viewBox:"0 0 35 15"},Hg={id:"svg-logo",x:"0",y:"3.85",height:"7.3",width:"35",className:"logo",viewBox:"0 0 105 43",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},Gg={stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},jg=["fill"],Yg=jt.defineComponent({__name:"ApplePayOverlay",props:{color:{type:String,required:!0}},setup(t){const n=t.color==="white"?"#000":"#FFF";return(r,e)=>(jt.openBlock(),jt.createElementBlock("svg",Vg,[(jt.openBlock(),jt.createElementBlock("svg",Hg,[e[1]||(e[1]=jt.createElementVNode("title",null,"Apple Logo",-1)),jt.createElementVNode("g",Gg,[jt.createElementVNode("g",{fill:jt.unref(n)},[...e[0]||(e[0]=[jt.createStaticVNode('<path d="M19.4028,5.5674 C20.6008,4.0684 21.4138,2.0564 21.1998,0.0004 C19.4458,0.0874 17.3058,1.1574 16.0668,2.6564 C14.9538,3.9414 13.9688,6.0374 14.2258,8.0074 C16.1948,8.1784 18.1618,7.0244 19.4028,5.5674"></path><path d="M21.1772,8.3926 C18.3182,8.2226 15.8872,10.0156 14.5212,10.0156 C13.1552,10.0156 11.0642,8.4786 8.8022,8.5196 C5.8592,8.5626 3.1282,10.2276 1.6342,12.8746 C-1.4378,18.1696 0.8232,26.0246 3.8112,30.3376 C5.2622,32.4716 7.0102,34.8206 9.3142,34.7366 C11.4912,34.6506 12.3442,33.3266 14.9902,33.3266 C17.6352,33.3266 18.4042,34.7366 20.7082,34.6936 C23.0972,34.6506 24.5922,32.5586 26.0422,30.4226 C27.7072,27.9906 28.3882,25.6426 28.4312,25.5126 C28.3882,25.4706 23.8232,23.7186 23.7812,18.4676 C23.7382,14.0706 27.3652,11.9786 27.5362,11.8496 C25.4882,8.8196 22.2872,8.4786 21.1772,8.3926"></path><path d="M85.5508,43.0381 L85.5508,39.1991 C85.8628,39.2421 86.6158,39.2871 87.0158,39.2871 C89.2138,39.2871 90.4558,38.3551 91.2108,35.9581 L91.6548,34.5371 L83.2428,11.2321 L88.4368,11.2321 L94.2958,30.1421 L94.4068,30.1421 L100.2668,11.2321 L105.3278,11.2321 L96.6048,35.7141 C94.6078,41.3291 92.3208,43.1721 87.4828,43.1721 C87.1048,43.1721 85.8838,43.1271 85.5508,43.0381"></path><path d="M42.6499,19.3555 L48.3549,19.3555 C52.6829,19.3555 55.1469,17.0255 55.1469,12.9855 C55.1469,8.9455 52.6829,6.6375 48.3769,6.6375 L42.6499,6.6375 L42.6499,19.3555 Z M49.6869,2.4425 C55.9009,2.4425 60.2289,6.7265 60.2289,12.9625 C60.2289,19.2225 55.8129,23.5285 49.5309,23.5285 L42.6499,23.5285 L42.6499,34.4705 L37.6779,34.4705 L37.6779,2.4425 L49.6869,2.4425 Z"></path><path d="M76.5547,25.7705 L76.5547,23.9715 L71.0287,24.3275 C67.9207,24.5275 66.3007,25.6815 66.3007,27.7015 C66.3007,29.6545 67.9887,30.9195 70.6287,30.9195 C74.0027,30.9195 76.5547,28.7665 76.5547,25.7705 M61.4617,27.8345 C61.4617,23.7285 64.5917,21.3755 70.3627,21.0205 L76.5547,20.6425 L76.5547,18.8675 C76.5547,16.2705 74.8457,14.8495 71.8057,14.8495 C69.2967,14.8495 67.4777,16.1375 67.0997,18.1125 L62.6167,18.1125 C62.7497,13.9615 66.6567,10.9435 71.9387,10.9435 C77.6207,10.9435 81.3267,13.9175 81.3267,18.5345 L81.3267,34.4705 L76.7327,34.4705 L76.7327,30.6305 L76.6217,30.6305 C75.3127,33.1395 72.4267,34.7145 69.2967,34.7145 C64.6807,34.7145 61.4617,31.9625 61.4617,27.8345"></path>',5)])],8,jg)])]))]))}}),zg=jt.defineComponent({__name:"CoinflowApplePayButton",props:{args:{type:Object,required:!0}},setup(t){return(n,r)=>(jt.openBlock(),jt.createBlock(mf,{route:"apple-pay",args:t.args},{default:jt.withCtx(()=>[jt.createVNode(Yg,{color:t.args.color},null,8,["color"])]),_:1},8,["args"]))}}),Wg={key:0,xmlns:"http://www.w3.org/2000/svg",width:"41",height:"17"},Zg={key:1,xmlns:"http://www.w3.org/2000/svg",width:"41",height:"17"},Kg=jt.defineComponent({__name:"GooglePayOverlay",props:{color:{type:String,required:!0}},setup(t){return(n,r)=>(jt.openBlock(),jt.createElementBlock(jt.Fragment,null,[t.color==="white"?(jt.openBlock(),jt.createElementBlock("svg",Wg,[...r[0]||(r[0]=[jt.createStaticVNode('<g fill="none" fill-rule="evenodd"><path d="M19.526 2.635v4.083h2.518c.6 0 1.096-.202 1.488-.605.403-.402.605-.882.605-1.437 0-.544-.202-1.018-.605-1.422-.392-.413-.888-.62-1.488-.62h-2.518zm0 5.52v4.736h-1.504V1.198h3.99c1.013 0 1.873.337 2.582 1.012.72.675 1.08 1.497 1.08 2.466 0 .991-.36 1.819-1.08 2.482-.697.665-1.559.996-2.583.996h-2.485v.001zm7.668 2.287c0 .392.166.718.499.98.332.26.722.391 1.168.391.633 0 1.196-.234 1.692-.701.497-.469.744-1.019.744-1.65-.469-.37-1.123-.555-1.962-.555-.61 0-1.12.148-1.528.442-.409.294-.613.657-.613 1.093m1.946-5.815c1.112 0 1.989.297 2.633.89.642.594.964 1.408.964 2.442v4.932h-1.439v-1.11h-.065c-.622.914-1.45 1.372-2.486 1.372-.882 0-1.621-.262-2.215-.784-.594-.523-.891-1.176-.891-1.96 0-.828.313-1.486.94-1.976s1.463-.735 2.51-.735c.892 0 1.629.163 2.206.49v-.344c0-.522-.207-.966-.621-1.33a2.132 2.132 0 0 0-1.455-.547c-.84 0-1.504.353-1.995 1.062l-1.324-.834c.73-1.045 1.81-1.568 3.238-1.568m11.853.262l-5.02 11.53H34.42l1.864-4.034-3.302-7.496h1.635l2.387 5.749h.032l2.322-5.75z" fill="#5F6368"></path><path d="M13.448 7.134c0-.473-.04-.93-.116-1.366H6.988v2.588h3.634a3.11 3.11 0 0 1-1.344 2.042v1.68h2.169c1.27-1.17 2.001-2.9 2.001-4.944" fill="#4285F4"></path><path d="M6.988 13.7c1.816 0 3.344-.595 4.459-1.621l-2.169-1.681c-.603.406-1.38.643-2.29.643-1.754 0-3.244-1.182-3.776-2.774H.978v1.731a6.728 6.728 0 0 0 6.01 3.703" fill="#34A853"></path><path d="M3.212 8.267a4.034 4.034 0 0 1 0-2.572V3.964H.978A6.678 6.678 0 0 0 .261 6.98c0 1.085.26 2.11.717 3.017l2.234-1.731z" fill="#FABB05"></path><path d="M6.988 2.921c.992 0 1.88.34 2.58 1.008v.001l1.92-1.918C10.324.928 8.804.262 6.989.262a6.728 6.728 0 0 0-6.01 3.702l2.234 1.731c.532-1.592 2.022-2.774 3.776-2.774" fill="#E94235"></path><path d="M0 0h41.285v18H0z"></path></g>',1)])])):jt.createCommentVNode("",!0),t.color==="black"?(jt.openBlock(),jt.createElementBlock("svg",Zg,[...r[1]||(r[1]=[jt.createStaticVNode('<g fill="none" fill-rule="evenodd"><path d="M19.526 2.635v4.083h2.518c.6 0 1.096-.202 1.488-.605.403-.402.605-.882.605-1.437 0-.544-.202-1.018-.605-1.422-.392-.413-.888-.62-1.488-.62h-2.518zm0 5.52v4.736h-1.504V1.198h3.99c1.013 0 1.873.337 2.582 1.012.72.675 1.08 1.497 1.08 2.466 0 .991-.36 1.819-1.08 2.482-.697.665-1.559.996-2.583.996h-2.485v.001zm7.668 2.287c0 .392.166.718.499.98.332.26.722.391 1.168.391.633 0 1.196-.234 1.692-.701.497-.469.744-1.019.744-1.65-.469-.37-1.123-.555-1.962-.555-.61 0-1.12.148-1.528.442-.409.294-.613.657-.613 1.093m1.946-5.815c1.112 0 1.989.297 2.633.89.642.594.964 1.408.964 2.442v4.932h-1.439v-1.11h-.065c-.622.914-1.45 1.372-2.486 1.372-.882 0-1.621-.262-2.215-.784-.594-.523-.891-1.176-.891-1.96 0-.828.313-1.486.94-1.976s1.463-.735 2.51-.735c.892 0 1.629.163 2.206.49v-.344c0-.522-.207-.966-.621-1.33a2.132 2.132 0 0 0-1.455-.547c-.84 0-1.504.353-1.995 1.062l-1.324-.834c.73-1.045 1.81-1.568 3.238-1.568m11.853.262l-5.02 11.53H34.42l1.864-4.034-3.302-7.496h1.635l2.387 5.749h.032l2.322-5.75z" fill="#FFF"></path><path d="M13.448 7.134c0-.473-.04-.93-.116-1.366H6.988v2.588h3.634a3.11 3.11 0 0 1-1.344 2.042v1.68h2.169c1.27-1.17 2.001-2.9 2.001-4.944" fill="#4285F4"></path><path d="M6.988 13.7c1.816 0 3.344-.595 4.459-1.621l-2.169-1.681c-.603.406-1.38.643-2.29.643-1.754 0-3.244-1.182-3.776-2.774H.978v1.731a6.728 6.728 0 0 0 6.01 3.703" fill="#34A853"></path><path d="M3.212 8.267a4.034 4.034 0 0 1 0-2.572V3.964H.978A6.678 6.678 0 0 0 .261 6.98c0 1.085.26 2.11.717 3.017l2.234-1.731z" fill="#FABB05"></path><path d="M6.988 2.921c.992 0 1.88.34 2.58 1.008v.001l1.92-1.918C10.324.928 8.804.262 6.989.262a6.728 6.728 0 0 0-6.01 3.702l2.234 1.731c.532-1.592 2.022-2.774 3.776-2.774" fill="#E94235"></path></g>',1)])])):jt.createCommentVNode("",!0)],64))}}),Xg=jt.defineComponent({__name:"CoinflowGooglePayButton",props:{args:{type:Object,required:!0}},setup(t){return(n,r)=>(jt.openBlock(),jt.createBlock(mf,{route:"google-pay",args:t.args,overlayDisplayOverride:"flex",alignItems:"center"},{default:jt.withCtx(()=>[jt.createVNode(Kg,{color:t.args.color},null,8,["color"])]),_:1},8,["args"]))}}),qg=gf,$g=df,Jg=hf,Qg=pf,tm=vf;re.BankingCurrencies=qc,re.CARD_TYPE_MAPPING=tf,re.CardType=qr,re.ChargebackProtectionAccountType=Ja,re.CoinflowApplePayButton=zg,re.CoinflowCardForm=qg,re.CoinflowCardFormV2=gf,re.CoinflowCardNumberInput=df,re.CoinflowCardNumberOnlyInput=vf,re.CoinflowCvvInput=hf,re.CoinflowCvvOnlyInput=pf,re.CoinflowGooglePayButton=Xg,re.CoinflowIframe=zo,re.CoinflowLegacyCardNumberInput=$g,re.CoinflowLegacyCardNumberOnlyInput=tm,re.CoinflowLegacyCvvInput=Jg,re.CoinflowLegacyCvvOnlyInput=Qg,re.CoinflowPurchase=Lg,re.CoinflowPurchaseProtection=kg,re.CoinflowUtils=An,re.CoinflowWithdraw=Ng,re.Currency=fa,re.CurrencyToISO4217=tg,re.DEVICE_ID_HEADER=sf,re.EventBus=vg,re.IFrameMessageMethods=Di,re.MerchantStyle=$a,re.PaymentMethods=tu,re.REFERRER_HEADER=uf,re.RN_REDIRECT_MESSAGE_NAME=zl,re.SESSION_ID_HEADER=af,re.SettlementType=qa,re.ThreeDsChallengePreference=Qa,re.TokenExCardNumberIframeId=Pi,re.TokenExCvvContainerID=pi,re.WithdrawCategory=Ka,re.WithdrawCurrencies=Xc,re.WithdrawSpeed=Xa,re.doInitializeCvvOnlyTokenExIframe=nf,re.doInitializeTokenExCardOnlyIframe=of,re.doInitializeTokenExIframe=rf,re.getCoinflowProtectionHeaders=cf,re.getCoinflowPurchaseHeaders=bg,re.getCurrencyDecimals=sg,re.getCustomerName=lg,re.getHandlers=Yo,re.getIframeConfig=ef,re.getWalletPubkey=jo,re.handleIFrameMessage=Jc,re.initCoinflowProtection=lf,re.invertRate=ug,re.isBankingCurrency=ng,re.isTypedCurrencyCents=ag,re.isWithdrawCurrency=eg,re.isZeroAuthSavedPaymentMethods=jl,re.isZeroAuthVerifyCard=Gl,re.paymentMethodLabels=Yl,re.recordFrontendError=Go,re.setTokenExScriptTag=ha,Object.defineProperty(re,Symbol.toStringTag,{value:"Module"})}));