@reown/appkit-cdn 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{W3MFrameProviderSingleton-CVeWBhS_.js → W3MFrameProviderSingleton-CTz2n0lO.js} +36 -15
- package/dist/{W3MFrameProviderSingleton-Djv3DKHQ.cjs → W3MFrameProviderSingleton-DQTwz0Iu.cjs} +9 -6
- package/dist/ethers.cjs +1 -1
- package/dist/ethers.js +4 -4
- package/dist/{hooks.module-BuouNsta.js → hooks.module-DqUWzNtD.js} +1 -1
- package/dist/{hooks.module-OOURZPAN.cjs → hooks.module-LKtd6ff7.cjs} +1 -1
- package/dist/{index-xU7rcaOL.js → index-B7Uy57AM.js} +2 -2
- package/dist/{index-DMnytQnR.js → index-Bmk1Ohcq.js} +2 -2
- package/dist/{index-rBKRsYhG.js → index-Bn6ujDok.js} +2 -2
- package/dist/{index-BlKzwSJU.js → index-BtFTDllB.js} +2 -2
- package/dist/{index-C2Bw1AaS.cjs → index-C7kbNRtJ.cjs} +1 -1
- package/dist/{index-YAhLOyG9.cjs → index-CBKmOjAo.cjs} +1 -1
- package/dist/{index-D1TRYSj5.cjs → index-CERtK4zq.cjs} +1 -1
- package/dist/{index-D7cCbFGa.cjs → index-ChPlSHaF.cjs} +1 -1
- package/dist/{index-D0AGxgdp.js → index-CmzUtRNr.js} +2 -2
- package/dist/{index-cIY_Y6JK.js → index-CzyxiVR0.js} +1 -1
- package/dist/{index-Cw3RgM7_.js → index-D5YBEcNb.js} +2 -2
- package/dist/{index-4gPeNAqu.cjs → index-DFW14Awr.cjs} +1 -1
- package/dist/{index-BMspmMjR.cjs → index-DSbDKpqj.cjs} +1 -1
- package/dist/{index-DP5FsK5O.cjs → index-Dq2Qc6hQ.cjs} +1 -1
- package/dist/{index-CUE8WypA.cjs → index-XWvMwQij.cjs} +1 -1
- package/dist/{index-C9Wf5FuX.js → index-uB2KGMj2.js} +2 -2
- package/dist/{index.es-DyjLX8Oj.js → index.es-Cgrh4cUP.js} +2 -2
- package/dist/{index.es-DLyLBkNx.cjs → index.es-RYrbKE7v.cjs} +2 -2
- package/dist/{metamask-sdk-DAjmhCmY.js → metamask-sdk-C0m1muMC.js} +1 -1
- package/dist/{metamask-sdk-DzX54_vv.cjs → metamask-sdk-vXyt2FVd.cjs} +1 -1
- package/dist/{native-dPjkdH1Q.js → native-C9YiZkE_.js} +1 -1
- package/dist/{native-C-0AHtVa.cjs → native-D13cmGux.cjs} +1 -1
- package/dist/{w3m-modal-DuRbCwDx.js → w3m-modal-7h2X-uBO.js} +4 -4
- package/dist/{w3m-modal-CfqGVIE5.cjs → w3m-modal-CHMPq1Um.cjs} +3 -3
- package/dist/{wagmi-CjqErQGH.js → wagmi-C7gaobmd.js} +23 -23
- package/dist/{wagmi-DYp-Wfqq.cjs → wagmi-DSpqRjMY.cjs} +4 -4
- package/dist/wagmi.cjs +1 -1
- package/dist/wagmi.js +2 -2
- package/package.json +5 -5
package/dist/ethers.js
CHANGED
|
@@ -17,8 +17,8 @@ var Fi = (r, e, t, n) => ({
|
|
|
17
17
|
return u(r, e, n);
|
|
18
18
|
}
|
|
19
19
|
}), I = (r, e, t) => (kc(r, e, "access private method"), t);
|
|
20
|
-
import { C as F, P as gt, b as ca, o as Aa, i as Bp, B as ne, s as Lp, p as dt, q as Mp, H as bu, j as On, a as Tn, r as Dp, k as He, g as Tt, h as _t, f as Au, N as Eu, l as xc, m as Up, c as Fp, A as Hp, d as Gp, n as Kp } from "./W3MFrameProviderSingleton-
|
|
21
|
-
import { j as jp, r as rd, a as sd, b as Vp } from "./hooks.module-
|
|
20
|
+
import { C as F, P as gt, b as ca, o as Aa, i as Bp, B as ne, s as Lp, p as dt, q as Mp, H as bu, j as On, a as Tn, r as Dp, k as He, g as Tt, h as _t, f as Au, N as Eu, l as xc, m as Up, c as Fp, A as Hp, d as Gp, n as Kp } from "./W3MFrameProviderSingleton-CTz2n0lO.js";
|
|
21
|
+
import { j as jp, r as rd, a as sd, b as Vp } from "./hooks.module-DqUWzNtD.js";
|
|
22
22
|
const Pc = {
|
|
23
23
|
ERROR_CODE_UNRECOGNIZED_CHAIN_ID: 4902,
|
|
24
24
|
ERROR_CODE_DEFAULT: 5e3
|
|
@@ -17352,7 +17352,7 @@ class eA {
|
|
|
17352
17352
|
var E, C, S, N, _;
|
|
17353
17353
|
const f = He.getProvider("eip155"), g = He.state.providerIds.eip155;
|
|
17354
17354
|
if ((E = this.appKit) == null || E.setClientId(null), (N = (S = (C = this.options) == null ? void 0 : C.siweConfig) == null ? void 0 : S.options) != null && N.signOutOnDisconnect) {
|
|
17355
|
-
const { SIWEController: x } = await import("./index-
|
|
17355
|
+
const { SIWEController: x } = await import("./index-D5YBEcNb.js");
|
|
17356
17356
|
await x.signOut();
|
|
17357
17357
|
}
|
|
17358
17358
|
const m = {
|
|
@@ -17785,7 +17785,7 @@ class eA {
|
|
|
17785
17785
|
}
|
|
17786
17786
|
}
|
|
17787
17787
|
}
|
|
17788
|
-
const tA = "@reown/appkit-ethers", nA = "1.0.
|
|
17788
|
+
const tA = "@reown/appkit-ethers", nA = "1.0.7", rA = "module", sA = "./dist/esm/exports/index.js", iA = "./dist/types/exports/index.d.ts", oA = [
|
|
17789
17789
|
"dist",
|
|
17790
17790
|
"!tsconfig.tsbuildinfo"
|
|
17791
17791
|
], aA = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as D, bh as Ze, bf as Yt } from "./W3MFrameProviderSingleton-
|
|
1
|
+
import { B as D, bh as Ze, bf as Yt } from "./W3MFrameProviderSingleton-CTz2n0lO.js";
|
|
2
2
|
const { Transform: xn } = Ze;
|
|
3
3
|
var $n = (t) => class tn extends xn {
|
|
4
4
|
constructor(n, _, o, i, c) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const S=require("./W3MFrameProviderSingleton-Djv3DKHQ.cjs"),{Transform:wn}=S.readableBrowserExports;var Sn=t=>class Ye extends wn{constructor(n,_,o,i,c){super(c),this._rate=n,this._capacity=_,this._delimitedSuffix=o,this._hashBitLength=i,this._options=c,this._state=new t,this._state.initialize(n,_),this._finalized=!1}_transform(n,_,o){let i=null;try{this.update(n,_)}catch(c){i=c}o(i)}_flush(n){let _=null;try{this.push(this.digest())}catch(o){_=o}n(_)}update(n,_){if(!S.Buffer.isBuffer(n)&&typeof n!="string")throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");return S.Buffer.isBuffer(n)||(n=S.Buffer.from(n,_)),this._state.absorb(n),this}digest(n){if(this._finalized)throw new Error("Digest already called");this._finalized=!0,this._delimitedSuffix&&this._state.absorbLastFewBits(this._delimitedSuffix);let _=this._state.squeeze(this._hashBitLength/8);return n!==void 0&&(_=_.toString(n)),this._resetState(),_}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){const n=new Ye(this._rate,this._capacity,this._delimitedSuffix,this._hashBitLength,this._options);return this._state.copy(n._state),n._finalized=this._finalized,n}};const{Transform:xn}=S.readableBrowserExports;var $n=t=>class Ze extends xn{constructor(n,_,o,i){super(i),this._rate=n,this._capacity=_,this._delimitedSuffix=o,this._options=i,this._state=new t,this._state.initialize(n,_),this._finalized=!1}_transform(n,_,o){let i=null;try{this.update(n,_)}catch(c){i=c}o(i)}_flush(){}_read(n){this.push(this.squeeze(n))}update(n,_){if(!S.Buffer.isBuffer(n)&&typeof n!="string")throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Squeeze already called");return S.Buffer.isBuffer(n)||(n=S.Buffer.from(n,_)),this._state.absorb(n),this}squeeze(n,_){this._finalized||(this._finalized=!0,this._state.absorbLastFewBits(this._delimitedSuffix));let o=this._state.squeeze(n);return _!==void 0&&(o=o.toString(_)),o}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){const n=new Ze(this._rate,this._capacity,this._delimitedSuffix,this._options);return this._state.copy(n._state),n._finalized=this._finalized,n}};const zn=Sn,Cn=$n;var Pn=function(t){const e=zn(t),n=Cn(t);return function(_,o){switch(typeof _=="string"?_.toLowerCase():_){case"keccak224":return new e(1152,448,null,224,o);case"keccak256":return new e(1088,512,null,256,o);case"keccak384":return new e(832,768,null,384,o);case"keccak512":return new e(576,1024,null,512,o);case"sha3-224":return new e(1152,448,6,224,o);case"sha3-256":return new e(1088,512,6,256,o);case"sha3-384":return new e(832,768,6,384,o);case"sha3-512":return new e(576,1024,6,512,o);case"shake128":return new n(1344,256,31,o);case"shake256":return new n(1088,512,31,o);default:throw new Error("Invald algorithm: "+_)}}},tn={};const Ae=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648];tn.p1600=function(t){for(let e=0;e<24;++e){const n=t[0]^t[10]^t[20]^t[30]^t[40],_=t[1]^t[11]^t[21]^t[31]^t[41],o=t[2]^t[12]^t[22]^t[32]^t[42],i=t[3]^t[13]^t[23]^t[33]^t[43],c=t[4]^t[14]^t[24]^t[34]^t[44],l=t[5]^t[15]^t[25]^t[35]^t[45],f=t[6]^t[16]^t[26]^t[36]^t[46],u=t[7]^t[17]^t[27]^t[37]^t[47],h=t[8]^t[18]^t[28]^t[38]^t[48],r=t[9]^t[19]^t[29]^t[39]^t[49];let a=h^(o<<1|i>>>31),s=r^(i<<1|o>>>31);const g=t[0]^a,k=t[1]^s,b=t[10]^a,p=t[11]^s,v=t[20]^a,C=t[21]^s,x=t[30]^a,E=t[31]^s,P=t[40]^a,L=t[41]^s;a=n^(c<<1|l>>>31),s=_^(l<<1|c>>>31);const H=t[2]^a,q=t[3]^s,w=t[12]^a,T=t[13]^s,_e=t[22]^a,oe=t[23]^s,ie=t[32]^a,re=t[33]^s,se=t[42]^a,ce=t[43]^s;a=o^(f<<1|u>>>31),s=i^(u<<1|f>>>31);const le=t[4]^a,ue=t[5]^s,ae=t[14]^a,fe=t[15]^s,he=t[24]^a,pe=t[25]^s,de=t[34]^a,ve=t[35]^s,me=t[44]^a,ye=t[45]^s;a=c^(h<<1|r>>>31),s=l^(r<<1|h>>>31);const ge=t[6]^a,be=t[7]^s,ke=t[16]^a,we=t[17]^s,Se=t[26]^a,xe=t[27]^s,$e=t[36]^a,ze=t[37]^s,Ce=t[46]^a,Pe=t[47]^s;a=f^(n<<1|_>>>31),s=u^(_<<1|n>>>31);const Ee=t[8]^a,He=t[9]^s,Te=t[18]^a,Be=t[19]^s,Ne=t[28]^a,qe=t[29]^s,De=t[38]^a,Ue=t[39]^s,Fe=t[48]^a,Le=t[49]^s,J=g,Q=k,X=p<<4|b>>>28,Y=b<<4|p>>>28,Z=v<<3|C>>>29,tt=C<<3|v>>>29,et=E<<9|x>>>23,nt=x<<9|E>>>23,_t=P<<18|L>>>14,ot=L<<18|P>>>14,it=H<<1|q>>>31,rt=q<<1|H>>>31,st=T<<12|w>>>20,ct=w<<12|T>>>20,lt=_e<<10|oe>>>22,ut=oe<<10|_e>>>22,at=re<<13|ie>>>19,ft=ie<<13|re>>>19,ht=se<<2|ce>>>30,pt=ce<<2|se>>>30,dt=ue<<30|le>>>2,vt=le<<30|ue>>>2,mt=ae<<6|fe>>>26,yt=fe<<6|ae>>>26,gt=pe<<11|he>>>21,bt=he<<11|pe>>>21,kt=de<<15|ve>>>17,wt=ve<<15|de>>>17,St=ye<<29|me>>>3,xt=me<<29|ye>>>3,$t=ge<<28|be>>>4,zt=be<<28|ge>>>4,Ct=we<<23|ke>>>9,Pt=ke<<23|we>>>9,Et=Se<<25|xe>>>7,Ht=xe<<25|Se>>>7,Tt=$e<<21|ze>>>11,Bt=ze<<21|$e>>>11,Nt=Pe<<24|Ce>>>8,qt=Ce<<24|Pe>>>8,Dt=Ee<<27|He>>>5,Ut=He<<27|Ee>>>5,Ft=Te<<20|Be>>>12,Lt=Be<<20|Te>>>12,At=qe<<7|Ne>>>25,Mt=Ne<<7|qe>>>25,Wt=De<<8|Ue>>>24,Ot=Ue<<8|De>>>24,jt=Fe<<14|Le>>>18,It=Le<<14|Fe>>>18;t[0]=J^~st>,t[1]=Q^~ct&bt,t[10]=$t^~Ft&Z,t[11]=zt^~Lt&tt,t[20]=it^~mt&Et,t[21]=rt^~yt&Ht,t[30]=Dt^~X<,t[31]=Ut^~Y&ut,t[40]=dt^~Ct&At,t[41]=vt^~Pt&Mt,t[2]=st^~gt&Tt,t[3]=ct^~bt&Bt,t[12]=Ft^~Z&at,t[13]=Lt^~tt&ft,t[22]=mt^~Et&Wt,t[23]=yt^~Ht&Ot,t[32]=X^~lt&kt,t[33]=Y^~ut&wt,t[42]=Ct^~At&et,t[43]=Pt^~Mt&nt,t[4]=gt^~Tt&jt,t[5]=bt^~Bt&It,t[14]=Z^~at&St,t[15]=tt^~ft&xt,t[24]=Et^~Wt&_t,t[25]=Ht^~Ot&ot,t[34]=lt^~kt&Nt,t[35]=ut^~wt&qt,t[44]=At^~et&ht,t[45]=Mt^~nt&pt,t[6]=Tt^~jt&J,t[7]=Bt^~It&Q,t[16]=at^~St&$t,t[17]=ft^~xt&zt,t[26]=Wt^~_t&it,t[27]=Ot^~ot&rt,t[36]=kt^~Nt&Dt,t[37]=wt^~qt&Ut,t[46]=et^~ht&dt,t[47]=nt^~pt&vt,t[8]=jt^~J&st,t[9]=It^~Q&ct,t[18]=St^~$t&Ft,t[19]=xt^~zt&Lt,t[28]=_t^~it&mt,t[29]=ot^~rt&yt,t[38]=Nt^~Dt&X,t[39]=qt^~Ut&Y,t[48]=ht^~dt&Ct,t[49]=pt^~vt&Pt,t[0]^=Ae[e*2],t[1]^=Ae[e*2+1]}};const V=tn;function F(){this.state=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.blockSize=null,this.count=0,this.squeezing=!1}F.prototype.initialize=function(t,e){for(let n=0;n<50;++n)this.state[n]=0;this.blockSize=t/8,this.count=0,this.squeezing=!1};F.prototype.absorb=function(t){for(let e=0;e<t.length;++e)this.state[~~(this.count/4)]^=t[e]<<8*(this.count%4),this.count+=1,this.count===this.blockSize&&(V.p1600(this.state),this.count=0)};F.prototype.absorbLastFewBits=function(t){this.state[~~(this.count/4)]^=t<<8*(this.count%4),t&128&&this.count===this.blockSize-1&&V.p1600(this.state),this.state[~~((this.blockSize-1)/4)]^=128<<8*((this.blockSize-1)%4),V.p1600(this.state),this.count=0,this.squeezing=!0};F.prototype.squeeze=function(t){this.squeezing||this.absorbLastFewBits(1);const e=S.Buffer.alloc(t);for(let n=0;n<t;++n)e[n]=this.state[~~(this.count/4)]>>>8*(this.count%4)&255,this.count+=1,this.count===this.blockSize&&(V.p1600(this.state),this.count=0);return e};F.prototype.copy=function(t){for(let e=0;e<50;++e)t.state[e]=this.state[e];t.blockSize=this.blockSize,t.count=this.count,t.squeezing=this.squeezing};var En=F,Hn=Pn(En);function en(t){var e,n,_="";if(typeof t=="string"||typeof t=="number")_+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=en(t[e]))&&(_&&(_+=" "),_+=n);else for(e in t)t[e]&&(_&&(_+=" "),_+=e);return _}function Me(){for(var t,e,n=0,_="";n<arguments.length;)(t=arguments[n++])&&(e=en(t))&&(_&&(_+=" "),_+=e);return _}const Tn=Object.freeze(Object.defineProperty({__proto__:null,clsx:Me,default:Me},Symbol.toStringTag,{value:"Module"})),Bn=S.getAugmentedNamespace(Tn);var O,m,nn,_n,B,We,on,Vt,Yt,Kt,Gt,rn,W={},sn=[],Nn=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,G=Array.isArray;function $(t,e){for(var n in e)t[n]=e[n];return t}function cn(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function Jt(t,e,n){var _,o,i,c={};for(i in e)i=="key"?_=e[i]:i=="ref"?o=e[i]:c[i]=e[i];if(arguments.length>2&&(c.children=arguments.length>3?O.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)c[i]===void 0&&(c[i]=t.defaultProps[i]);return A(t,c,_,o,null)}function A(t,e,n,_,o){var i={type:t,props:e,key:n,ref:_,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++nn,__i:-1,__u:0};return o==null&&m.vnode!=null&&m.vnode(i),i}function qn(){return{current:null}}function j(t){return t.children}function M(t,e){this.props=t,this.context=e}function D(t,e){if(e==null)return t.__?D(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?D(t):null}function ln(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return ln(t)}}function Qt(t){(!t.__d&&(t.__d=!0)&&B.push(t)&&!K.__r++||We!==m.debounceRendering)&&((We=m.debounceRendering)||on)(K)}function K(){var t,e,n,_,o,i,c,l;for(B.sort(Vt);t=B.shift();)t.__d&&(e=B.length,_=void 0,i=(o=(n=t).__v).__e,c=[],l=[],n.__P&&((_=$({},o)).__v=o.__v+1,m.vnode&&m.vnode(_),Zt(n.__P,_,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,c,i??D(o),!!(32&o.__u),l),_.__v=o.__v,_.__.__k[_.__i]=_,hn(c,_,l),_.__e!=i&&ln(_)),B.length>e&&B.sort(Vt));K.__r=0}function un(t,e,n,_,o,i,c,l,f,u,h){var r,a,s,g,k,b=_&&_.__k||sn,p=e.length;for(n.__d=f,Dn(n,e,b),f=n.__d,r=0;r<p;r++)(s=n.__k[r])!=null&&(a=s.__i===-1?W:b[s.__i]||W,s.__i=r,Zt(t,s,a,o,i,c,l,f,u,h),g=s.__e,s.ref&&a.ref!=s.ref&&(a.ref&&te(a.ref,null,s),h.push(s.ref,s.__c||g,s)),k==null&&g!=null&&(k=g),65536&s.__u||a.__k===s.__k?f=an(s,f,t):typeof s.type=="function"&&s.__d!==void 0?f=s.__d:g&&(f=g.nextSibling),s.__d=void 0,s.__u&=-196609);n.__d=f,n.__e=k}function Dn(t,e,n){var _,o,i,c,l,f=e.length,u=n.length,h=u,r=0;for(t.__k=[],_=0;_<f;_++)(o=e[_])!=null&&typeof o!="boolean"&&typeof o!="function"?(c=_+r,(o=t.__k[_]=typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?A(null,o,null,null,null):G(o)?A(j,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?A(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=t,o.__b=t.__b+1,i=null,(l=o.__i=Un(o,n,c,h))!==-1&&(h--,(i=n[l])&&(i.__u|=131072)),i==null||i.__v===null?(l==-1&&r--,typeof o.type!="function"&&(o.__u|=65536)):l!==c&&(l==c-1?r--:l==c+1?r++:(l>c?r--:r++,o.__u|=65536))):o=t.__k[_]=null;if(h)for(_=0;_<u;_++)(i=n[_])!=null&&!(131072&i.__u)&&(i.__e==t.__d&&(t.__d=D(i)),pn(i,i))}function an(t,e,n){var _,o;if(typeof t.type=="function"){for(_=t.__k,o=0;_&&o<_.length;o++)_[o]&&(_[o].__=t,e=an(_[o],e,n));return e}t.__e!=e&&(e&&t.type&&!n.contains(e)&&(e=D(t)),n.insertBefore(t.__e,e||null),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType===8);return e}function fn(t,e){return e=e||[],t==null||typeof t=="boolean"||(G(t)?t.some(function(n){fn(n,e)}):e.push(t)),e}function Un(t,e,n,_){var o=t.key,i=t.type,c=n-1,l=n+1,f=e[n];if(f===null||f&&o==f.key&&i===f.type&&!(131072&f.__u))return n;if(_>(f!=null&&!(131072&f.__u)?1:0))for(;c>=0||l<e.length;){if(c>=0){if((f=e[c])&&!(131072&f.__u)&&o==f.key&&i===f.type)return c;c--}if(l<e.length){if((f=e[l])&&!(131072&f.__u)&&o==f.key&&i===f.type)return l;l++}}return-1}function Oe(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||Nn.test(e)?n:n+"px"}function I(t,e,n,_,o){var i;t:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof _=="string"&&(t.style.cssText=_=""),_)for(e in _)n&&e in n||Oe(t.style,e,"");if(n)for(e in n)_&&n[e]===_[e]||Oe(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")i=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in t||e==="onFocusOut"||e==="onFocusIn"?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?_?n.u=_.u:(n.u=Yt,t.addEventListener(e,i?Gt:Kt,i)):t.removeEventListener(e,i?Gt:Kt,i);else{if(o=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in t)try{t[e]=n??"";break t}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&n==1?"":n))}}function je(t){return function(e){if(this.l){var n=this.l[e.type+t];if(e.t==null)e.t=Yt++;else if(e.t<n.u)return;return n(m.event?m.event(e):e)}}}function Zt(t,e,n,_,o,i,c,l,f,u){var h,r,a,s,g,k,b,p,v,C,x,E,P,L,H,q,w=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(f=!!(32&n.__u),i=[l=e.__e=n.__e]),(h=m.__b)&&h(e);t:if(typeof w=="function")try{if(p=e.props,v="prototype"in w&&w.prototype.render,C=(h=w.contextType)&&_[h.__c],x=h?C?C.props.value:h.__:_,n.__c?b=(r=e.__c=n.__c).__=r.__E:(v?e.__c=r=new w(p,x):(e.__c=r=new M(p,x),r.constructor=w,r.render=Ln),C&&C.sub(r),r.props=p,r.state||(r.state={}),r.context=x,r.__n=_,a=r.__d=!0,r.__h=[],r._sb=[]),v&&r.__s==null&&(r.__s=r.state),v&&w.getDerivedStateFromProps!=null&&(r.__s==r.state&&(r.__s=$({},r.__s)),$(r.__s,w.getDerivedStateFromProps(p,r.__s))),s=r.props,g=r.state,r.__v=e,a)v&&w.getDerivedStateFromProps==null&&r.componentWillMount!=null&&r.componentWillMount(),v&&r.componentDidMount!=null&&r.__h.push(r.componentDidMount);else{if(v&&w.getDerivedStateFromProps==null&&p!==s&&r.componentWillReceiveProps!=null&&r.componentWillReceiveProps(p,x),!r.__e&&(r.shouldComponentUpdate!=null&&r.shouldComponentUpdate(p,r.__s,x)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(r.props=p,r.state=r.__s,r.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.some(function(T){T&&(T.__=e)}),E=0;E<r._sb.length;E++)r.__h.push(r._sb[E]);r._sb=[],r.__h.length&&c.push(r);break t}r.componentWillUpdate!=null&&r.componentWillUpdate(p,r.__s,x),v&&r.componentDidUpdate!=null&&r.__h.push(function(){r.componentDidUpdate(s,g,k)})}if(r.context=x,r.props=p,r.__P=t,r.__e=!1,P=m.__r,L=0,v){for(r.state=r.__s,r.__d=!1,P&&P(e),h=r.render(r.props,r.state,r.context),H=0;H<r._sb.length;H++)r.__h.push(r._sb[H]);r._sb=[]}else do r.__d=!1,P&&P(e),h=r.render(r.props,r.state,r.context),r.state=r.__s;while(r.__d&&++L<25);r.state=r.__s,r.getChildContext!=null&&(_=$($({},_),r.getChildContext())),v&&!a&&r.getSnapshotBeforeUpdate!=null&&(k=r.getSnapshotBeforeUpdate(s,g)),un(t,G(q=h!=null&&h.type===j&&h.key==null?h.props.children:h)?q:[q],e,n,_,o,i,c,l,f,u),r.base=e.__e,e.__u&=-161,r.__h.length&&c.push(r),b&&(r.__E=r.__=null)}catch(T){if(e.__v=null,f||i!=null){for(e.__u|=f?160:32;l&&l.nodeType===8&&l.nextSibling;)l=l.nextSibling;i[i.indexOf(l)]=null,e.__e=l}else e.__e=n.__e,e.__k=n.__k;m.__e(T,e,n)}else i==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=Fn(n.__e,e,n,_,o,i,c,f,u);(h=m.diffed)&&h(e)}function hn(t,e,n){e.__d=void 0;for(var _=0;_<n.length;_++)te(n[_],n[++_],n[++_]);m.__c&&m.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){m.__e(i,o.__v)}})}function Fn(t,e,n,_,o,i,c,l,f){var u,h,r,a,s,g,k,b=n.props,p=e.props,v=e.type;if(v==="svg"?o="http://www.w3.org/2000/svg":v==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(u=0;u<i.length;u++)if((s=i[u])&&"setAttribute"in s==!!v&&(v?s.localName===v:s.nodeType===3)){t=s,i[u]=null;break}}if(t==null){if(v===null)return document.createTextNode(p);t=document.createElementNS(o,v,p.is&&p),l&&(m.__m&&m.__m(e,i),l=!1),i=null}if(v===null)b===p||l&&t.data===p||(t.data=p);else{if(i=i&&O.call(t.childNodes),b=n.props||W,!l&&i!=null)for(b={},u=0;u<t.attributes.length;u++)b[(s=t.attributes[u]).name]=s.value;for(u in b)if(s=b[u],u!="children"){if(u=="dangerouslySetInnerHTML")r=s;else if(!(u in p)){if(u=="value"&&"defaultValue"in p||u=="checked"&&"defaultChecked"in p)continue;I(t,u,null,s,o)}}for(u in p)s=p[u],u=="children"?a=s:u=="dangerouslySetInnerHTML"?h=s:u=="value"?g=s:u=="checked"?k=s:l&&typeof s!="function"||b[u]===s||I(t,u,s,b[u],o);if(h)l||r&&(h.__html===r.__html||h.__html===t.innerHTML)||(t.innerHTML=h.__html),e.__k=[];else if(r&&(t.innerHTML=""),un(t,G(a)?a:[a],e,n,_,v==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,c,i?i[0]:n.__k&&D(n,0),l,f),i!=null)for(u=i.length;u--;)cn(i[u]);l||(u="value",v==="progress"&&g==null?t.removeAttribute("value"):g!==void 0&&(g!==t[u]||v==="progress"&&!g||v==="option"&&g!==b[u])&&I(t,u,g,b[u],o),u="checked",k!==void 0&&k!==t[u]&&I(t,u,k,b[u],o))}return t}function te(t,e,n){try{if(typeof t=="function"){var _=typeof t.__u=="function";_&&t.__u(),_&&e==null||(t.__u=t(e))}else t.current=e}catch(o){m.__e(o,n)}}function pn(t,e,n){var _,o;if(m.unmount&&m.unmount(t),(_=t.ref)&&(_.current&&_.current!==t.__e||te(_,null,e)),(_=t.__c)!=null){if(_.componentWillUnmount)try{_.componentWillUnmount()}catch(i){m.__e(i,e)}_.base=_.__P=null}if(_=t.__k)for(o=0;o<_.length;o++)_[o]&&pn(_[o],e,n||typeof t.type!="function");n||cn(t.__e),t.__c=t.__=t.__e=t.__d=void 0}function Ln(t,e,n){return this.constructor(t,n)}function dn(t,e,n){var _,o,i,c;m.__&&m.__(t,e),o=(_=typeof n=="function")?null:n&&n.__k||e.__k,i=[],c=[],Zt(e,t=(!_&&n||e).__k=Jt(j,null,[t]),o||W,W,e.namespaceURI,!_&&n?[n]:o?null:e.firstChild?O.call(e.childNodes):null,i,!_&&n?n:o?o.__e:e.firstChild,_,c),hn(i,t,c)}function vn(t,e){dn(t,e,vn)}function An(t,e,n){var _,o,i,c,l=$({},t.props);for(i in t.type&&t.type.defaultProps&&(c=t.type.defaultProps),e)i=="key"?_=e[i]:i=="ref"?o=e[i]:l[i]=e[i]===void 0&&c!==void 0?c[i]:e[i];return arguments.length>2&&(l.children=arguments.length>3?O.call(arguments,2):n),A(t.type,l,_||t.key,o||t.ref,null)}function Mn(t,e){var n={__c:e="__cC"+rn++,__:t,Consumer:function(_,o){return _.children(o)},Provider:function(_){var o,i;return this.getChildContext||(o=[],(i={})[e]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(c){this.props.value!==c.value&&o.some(function(l){l.__e=!0,Qt(l)})},this.sub=function(c){o.push(c);var l=c.componentWillUnmount;c.componentWillUnmount=function(){o&&o.splice(o.indexOf(c),1),l&&l.call(c)}}),_.children}};return n.Provider.__=n.Consumer.contextType=n}O=sn.slice,m={__e:function(t,e,n,_){for(var o,i,c;e=e.__;)if((o=e.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(t)),c=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,_||{}),c=o.__d),c)return o.__E=o}catch(l){t=l}throw t}},nn=0,_n=function(t){return t!=null&&t.constructor==null},M.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=$({},this.state),typeof t=="function"&&(t=t($({},n),this.props)),t&&$(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),Qt(this))},M.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Qt(this))},M.prototype.render=j,B=[],on=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Vt=function(t,e){return t.__v.__b-e.__v.__b},K.__r=0,Yt=0,Kt=je(!1),Gt=je(!0),rn=0;const Wn=Object.freeze(Object.defineProperty({__proto__:null,Component:M,Fragment:j,cloneElement:An,createContext:Mn,createElement:Jt,createRef:qn,h:Jt,hydrate:vn,get isValidElement(){return _n},get options(){return m},render:dn,toChildArray:fn},Symbol.toStringTag,{value:"Module"})),On=S.getAugmentedNamespace(Wn);var z,d,Rt,Ie,U=0,mn=[],y=m,Re=y.__b,Ve=y.__r,Ke=y.diffed,Ge=y.__c,Je=y.unmount,Qe=y.__;function N(t,e){y.__h&&y.__h(d,t,U||e),U=0;var n=d.__H||(d.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function yn(t){return U=1,gn(kn,t)}function gn(t,e,n){var _=N(z++,2);if(_.t=t,!_.__c&&(_.__=[n?n(e):kn(void 0,e),function(l){var f=_.__N?_.__N[0]:_.__[0],u=_.t(f,l);f!==u&&(_.__N=[u,_.__[1]],_.__c.setState({}))}],_.__c=d,!d.u)){var o=function(l,f,u){if(!_.__c.__H)return!0;var h=_.__c.__H.__.filter(function(a){return!!a.__c});if(h.every(function(a){return!a.__N}))return!i||i.call(this,l,f,u);var r=!1;return h.forEach(function(a){if(a.__N){var s=a.__[0];a.__=a.__N,a.__N=void 0,s!==a.__[0]&&(r=!0)}}),!(!r&&_.__c.props===l)&&(!i||i.call(this,l,f,u))};d.u=!0;var i=d.shouldComponentUpdate,c=d.componentWillUpdate;d.componentWillUpdate=function(l,f,u){if(this.__e){var h=i;i=void 0,o(l,f,u),i=h}c&&c.call(this,l,f,u)},d.shouldComponentUpdate=o}return _.__N||_.__}function jn(t,e){var n=N(z++,3);!y.__s&&ne(n.__H,e)&&(n.__=t,n.i=e,d.__H.__h.push(n))}function bn(t,e){var n=N(z++,4);!y.__s&&ne(n.__H,e)&&(n.__=t,n.i=e,d.__h.push(n))}function In(t){return U=5,ee(function(){return{current:t}},[])}function Rn(t,e,n){U=6,bn(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},n==null?n:n.concat(t))}function ee(t,e){var n=N(z++,7);return ne(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function Vn(t,e){return U=8,ee(function(){return t},e)}function Kn(t){var e=d.context[t.__c],n=N(z++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(d)),e.props.value):t.__}function Gn(t,e){y.useDebugValue&&y.useDebugValue(e?e(t):t)}function Jn(t){var e=N(z++,10),n=yn();return e.__=t,d.componentDidCatch||(d.componentDidCatch=function(_,o){e.__&&e.__(_,o),n[1](_)}),[n[0],function(){n[1](void 0)}]}function Qn(){var t=N(z++,11);if(!t.__){for(var e=d.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function Xn(){for(var t;t=mn.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(R),t.__H.__h.forEach(Xt),t.__H.__h=[]}catch(e){t.__H.__h=[],y.__e(e,t.__v)}}y.__b=function(t){d=null,Re&&Re(t)},y.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),Qe&&Qe(t,e)},y.__r=function(t){Ve&&Ve(t),z=0;var e=(d=t.__c).__H;e&&(Rt===d?(e.__h=[],d.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(e.__h.forEach(R),e.__h.forEach(Xt),e.__h=[],z=0)),Rt=d},y.diffed=function(t){Ke&&Ke(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(mn.push(e)!==1&&Ie===y.requestAnimationFrame||((Ie=y.requestAnimationFrame)||Yn)(Xn)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),Rt=d=null},y.__c=function(t,e){e.some(function(n){try{n.__h.forEach(R),n.__h=n.__h.filter(function(_){return!_.__||Xt(_)})}catch(_){e.some(function(o){o.__h&&(o.__h=[])}),e=[],y.__e(_,n.__v)}}),Ge&&Ge(t,e)},y.unmount=function(t){Je&&Je(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(_){try{R(_)}catch(o){e=o}}),n.__H=void 0,e&&y.__e(e,n.__v))};var Xe=typeof requestAnimationFrame=="function";function Yn(t){var e,n=function(){clearTimeout(_),Xe&&cancelAnimationFrame(e),setTimeout(t)},_=setTimeout(n,100);Xe&&(e=requestAnimationFrame(n))}function R(t){var e=d,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),d=e}function Xt(t){var e=d;t.__c=t.__(),d=e}function ne(t,e){return!t||t.length!==e.length||e.some(function(n,_){return n!==t[_]})}function kn(t,e){return typeof e=="function"?e(t):e}const Zn=Object.freeze(Object.defineProperty({__proto__:null,useCallback:Vn,useContext:Kn,useDebugValue:Gn,useEffect:jn,useErrorBoundary:Jn,useId:Qn,useImperativeHandle:Rn,useLayoutEffect:bn,useMemo:ee,useReducer:gn,useRef:In,useState:yn},Symbol.toStringTag,{value:"Module"})),t_=S.getAugmentedNamespace(Zn);exports.js=Hn;exports.require$$0=Bn;exports.require$$1=On;exports.require$$2=t_;
|
|
1
|
+
"use strict";const S=require("./W3MFrameProviderSingleton-DQTwz0Iu.cjs"),{Transform:wn}=S.readableBrowserExports;var Sn=t=>class Ye extends wn{constructor(n,_,o,i,c){super(c),this._rate=n,this._capacity=_,this._delimitedSuffix=o,this._hashBitLength=i,this._options=c,this._state=new t,this._state.initialize(n,_),this._finalized=!1}_transform(n,_,o){let i=null;try{this.update(n,_)}catch(c){i=c}o(i)}_flush(n){let _=null;try{this.push(this.digest())}catch(o){_=o}n(_)}update(n,_){if(!S.Buffer.isBuffer(n)&&typeof n!="string")throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");return S.Buffer.isBuffer(n)||(n=S.Buffer.from(n,_)),this._state.absorb(n),this}digest(n){if(this._finalized)throw new Error("Digest already called");this._finalized=!0,this._delimitedSuffix&&this._state.absorbLastFewBits(this._delimitedSuffix);let _=this._state.squeeze(this._hashBitLength/8);return n!==void 0&&(_=_.toString(n)),this._resetState(),_}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){const n=new Ye(this._rate,this._capacity,this._delimitedSuffix,this._hashBitLength,this._options);return this._state.copy(n._state),n._finalized=this._finalized,n}};const{Transform:xn}=S.readableBrowserExports;var $n=t=>class Ze extends xn{constructor(n,_,o,i){super(i),this._rate=n,this._capacity=_,this._delimitedSuffix=o,this._options=i,this._state=new t,this._state.initialize(n,_),this._finalized=!1}_transform(n,_,o){let i=null;try{this.update(n,_)}catch(c){i=c}o(i)}_flush(){}_read(n){this.push(this.squeeze(n))}update(n,_){if(!S.Buffer.isBuffer(n)&&typeof n!="string")throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Squeeze already called");return S.Buffer.isBuffer(n)||(n=S.Buffer.from(n,_)),this._state.absorb(n),this}squeeze(n,_){this._finalized||(this._finalized=!0,this._state.absorbLastFewBits(this._delimitedSuffix));let o=this._state.squeeze(n);return _!==void 0&&(o=o.toString(_)),o}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){const n=new Ze(this._rate,this._capacity,this._delimitedSuffix,this._options);return this._state.copy(n._state),n._finalized=this._finalized,n}};const zn=Sn,Cn=$n;var Pn=function(t){const e=zn(t),n=Cn(t);return function(_,o){switch(typeof _=="string"?_.toLowerCase():_){case"keccak224":return new e(1152,448,null,224,o);case"keccak256":return new e(1088,512,null,256,o);case"keccak384":return new e(832,768,null,384,o);case"keccak512":return new e(576,1024,null,512,o);case"sha3-224":return new e(1152,448,6,224,o);case"sha3-256":return new e(1088,512,6,256,o);case"sha3-384":return new e(832,768,6,384,o);case"sha3-512":return new e(576,1024,6,512,o);case"shake128":return new n(1344,256,31,o);case"shake256":return new n(1088,512,31,o);default:throw new Error("Invald algorithm: "+_)}}},tn={};const Ae=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648];tn.p1600=function(t){for(let e=0;e<24;++e){const n=t[0]^t[10]^t[20]^t[30]^t[40],_=t[1]^t[11]^t[21]^t[31]^t[41],o=t[2]^t[12]^t[22]^t[32]^t[42],i=t[3]^t[13]^t[23]^t[33]^t[43],c=t[4]^t[14]^t[24]^t[34]^t[44],l=t[5]^t[15]^t[25]^t[35]^t[45],f=t[6]^t[16]^t[26]^t[36]^t[46],u=t[7]^t[17]^t[27]^t[37]^t[47],h=t[8]^t[18]^t[28]^t[38]^t[48],r=t[9]^t[19]^t[29]^t[39]^t[49];let a=h^(o<<1|i>>>31),s=r^(i<<1|o>>>31);const g=t[0]^a,k=t[1]^s,b=t[10]^a,p=t[11]^s,v=t[20]^a,C=t[21]^s,x=t[30]^a,E=t[31]^s,P=t[40]^a,L=t[41]^s;a=n^(c<<1|l>>>31),s=_^(l<<1|c>>>31);const H=t[2]^a,q=t[3]^s,w=t[12]^a,T=t[13]^s,_e=t[22]^a,oe=t[23]^s,ie=t[32]^a,re=t[33]^s,se=t[42]^a,ce=t[43]^s;a=o^(f<<1|u>>>31),s=i^(u<<1|f>>>31);const le=t[4]^a,ue=t[5]^s,ae=t[14]^a,fe=t[15]^s,he=t[24]^a,pe=t[25]^s,de=t[34]^a,ve=t[35]^s,me=t[44]^a,ye=t[45]^s;a=c^(h<<1|r>>>31),s=l^(r<<1|h>>>31);const ge=t[6]^a,be=t[7]^s,ke=t[16]^a,we=t[17]^s,Se=t[26]^a,xe=t[27]^s,$e=t[36]^a,ze=t[37]^s,Ce=t[46]^a,Pe=t[47]^s;a=f^(n<<1|_>>>31),s=u^(_<<1|n>>>31);const Ee=t[8]^a,He=t[9]^s,Te=t[18]^a,Be=t[19]^s,Ne=t[28]^a,qe=t[29]^s,De=t[38]^a,Ue=t[39]^s,Fe=t[48]^a,Le=t[49]^s,J=g,Q=k,X=p<<4|b>>>28,Y=b<<4|p>>>28,Z=v<<3|C>>>29,tt=C<<3|v>>>29,et=E<<9|x>>>23,nt=x<<9|E>>>23,_t=P<<18|L>>>14,ot=L<<18|P>>>14,it=H<<1|q>>>31,rt=q<<1|H>>>31,st=T<<12|w>>>20,ct=w<<12|T>>>20,lt=_e<<10|oe>>>22,ut=oe<<10|_e>>>22,at=re<<13|ie>>>19,ft=ie<<13|re>>>19,ht=se<<2|ce>>>30,pt=ce<<2|se>>>30,dt=ue<<30|le>>>2,vt=le<<30|ue>>>2,mt=ae<<6|fe>>>26,yt=fe<<6|ae>>>26,gt=pe<<11|he>>>21,bt=he<<11|pe>>>21,kt=de<<15|ve>>>17,wt=ve<<15|de>>>17,St=ye<<29|me>>>3,xt=me<<29|ye>>>3,$t=ge<<28|be>>>4,zt=be<<28|ge>>>4,Ct=we<<23|ke>>>9,Pt=ke<<23|we>>>9,Et=Se<<25|xe>>>7,Ht=xe<<25|Se>>>7,Tt=$e<<21|ze>>>11,Bt=ze<<21|$e>>>11,Nt=Pe<<24|Ce>>>8,qt=Ce<<24|Pe>>>8,Dt=Ee<<27|He>>>5,Ut=He<<27|Ee>>>5,Ft=Te<<20|Be>>>12,Lt=Be<<20|Te>>>12,At=qe<<7|Ne>>>25,Mt=Ne<<7|qe>>>25,Wt=De<<8|Ue>>>24,Ot=Ue<<8|De>>>24,jt=Fe<<14|Le>>>18,It=Le<<14|Fe>>>18;t[0]=J^~st>,t[1]=Q^~ct&bt,t[10]=$t^~Ft&Z,t[11]=zt^~Lt&tt,t[20]=it^~mt&Et,t[21]=rt^~yt&Ht,t[30]=Dt^~X<,t[31]=Ut^~Y&ut,t[40]=dt^~Ct&At,t[41]=vt^~Pt&Mt,t[2]=st^~gt&Tt,t[3]=ct^~bt&Bt,t[12]=Ft^~Z&at,t[13]=Lt^~tt&ft,t[22]=mt^~Et&Wt,t[23]=yt^~Ht&Ot,t[32]=X^~lt&kt,t[33]=Y^~ut&wt,t[42]=Ct^~At&et,t[43]=Pt^~Mt&nt,t[4]=gt^~Tt&jt,t[5]=bt^~Bt&It,t[14]=Z^~at&St,t[15]=tt^~ft&xt,t[24]=Et^~Wt&_t,t[25]=Ht^~Ot&ot,t[34]=lt^~kt&Nt,t[35]=ut^~wt&qt,t[44]=At^~et&ht,t[45]=Mt^~nt&pt,t[6]=Tt^~jt&J,t[7]=Bt^~It&Q,t[16]=at^~St&$t,t[17]=ft^~xt&zt,t[26]=Wt^~_t&it,t[27]=Ot^~ot&rt,t[36]=kt^~Nt&Dt,t[37]=wt^~qt&Ut,t[46]=et^~ht&dt,t[47]=nt^~pt&vt,t[8]=jt^~J&st,t[9]=It^~Q&ct,t[18]=St^~$t&Ft,t[19]=xt^~zt&Lt,t[28]=_t^~it&mt,t[29]=ot^~rt&yt,t[38]=Nt^~Dt&X,t[39]=qt^~Ut&Y,t[48]=ht^~dt&Ct,t[49]=pt^~vt&Pt,t[0]^=Ae[e*2],t[1]^=Ae[e*2+1]}};const V=tn;function F(){this.state=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.blockSize=null,this.count=0,this.squeezing=!1}F.prototype.initialize=function(t,e){for(let n=0;n<50;++n)this.state[n]=0;this.blockSize=t/8,this.count=0,this.squeezing=!1};F.prototype.absorb=function(t){for(let e=0;e<t.length;++e)this.state[~~(this.count/4)]^=t[e]<<8*(this.count%4),this.count+=1,this.count===this.blockSize&&(V.p1600(this.state),this.count=0)};F.prototype.absorbLastFewBits=function(t){this.state[~~(this.count/4)]^=t<<8*(this.count%4),t&128&&this.count===this.blockSize-1&&V.p1600(this.state),this.state[~~((this.blockSize-1)/4)]^=128<<8*((this.blockSize-1)%4),V.p1600(this.state),this.count=0,this.squeezing=!0};F.prototype.squeeze=function(t){this.squeezing||this.absorbLastFewBits(1);const e=S.Buffer.alloc(t);for(let n=0;n<t;++n)e[n]=this.state[~~(this.count/4)]>>>8*(this.count%4)&255,this.count+=1,this.count===this.blockSize&&(V.p1600(this.state),this.count=0);return e};F.prototype.copy=function(t){for(let e=0;e<50;++e)t.state[e]=this.state[e];t.blockSize=this.blockSize,t.count=this.count,t.squeezing=this.squeezing};var En=F,Hn=Pn(En);function en(t){var e,n,_="";if(typeof t=="string"||typeof t=="number")_+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=en(t[e]))&&(_&&(_+=" "),_+=n);else for(e in t)t[e]&&(_&&(_+=" "),_+=e);return _}function Me(){for(var t,e,n=0,_="";n<arguments.length;)(t=arguments[n++])&&(e=en(t))&&(_&&(_+=" "),_+=e);return _}const Tn=Object.freeze(Object.defineProperty({__proto__:null,clsx:Me,default:Me},Symbol.toStringTag,{value:"Module"})),Bn=S.getAugmentedNamespace(Tn);var O,m,nn,_n,B,We,on,Vt,Yt,Kt,Gt,rn,W={},sn=[],Nn=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,G=Array.isArray;function $(t,e){for(var n in e)t[n]=e[n];return t}function cn(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function Jt(t,e,n){var _,o,i,c={};for(i in e)i=="key"?_=e[i]:i=="ref"?o=e[i]:c[i]=e[i];if(arguments.length>2&&(c.children=arguments.length>3?O.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)c[i]===void 0&&(c[i]=t.defaultProps[i]);return A(t,c,_,o,null)}function A(t,e,n,_,o){var i={type:t,props:e,key:n,ref:_,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++nn,__i:-1,__u:0};return o==null&&m.vnode!=null&&m.vnode(i),i}function qn(){return{current:null}}function j(t){return t.children}function M(t,e){this.props=t,this.context=e}function D(t,e){if(e==null)return t.__?D(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?D(t):null}function ln(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return ln(t)}}function Qt(t){(!t.__d&&(t.__d=!0)&&B.push(t)&&!K.__r++||We!==m.debounceRendering)&&((We=m.debounceRendering)||on)(K)}function K(){var t,e,n,_,o,i,c,l;for(B.sort(Vt);t=B.shift();)t.__d&&(e=B.length,_=void 0,i=(o=(n=t).__v).__e,c=[],l=[],n.__P&&((_=$({},o)).__v=o.__v+1,m.vnode&&m.vnode(_),Zt(n.__P,_,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,c,i??D(o),!!(32&o.__u),l),_.__v=o.__v,_.__.__k[_.__i]=_,hn(c,_,l),_.__e!=i&&ln(_)),B.length>e&&B.sort(Vt));K.__r=0}function un(t,e,n,_,o,i,c,l,f,u,h){var r,a,s,g,k,b=_&&_.__k||sn,p=e.length;for(n.__d=f,Dn(n,e,b),f=n.__d,r=0;r<p;r++)(s=n.__k[r])!=null&&(a=s.__i===-1?W:b[s.__i]||W,s.__i=r,Zt(t,s,a,o,i,c,l,f,u,h),g=s.__e,s.ref&&a.ref!=s.ref&&(a.ref&&te(a.ref,null,s),h.push(s.ref,s.__c||g,s)),k==null&&g!=null&&(k=g),65536&s.__u||a.__k===s.__k?f=an(s,f,t):typeof s.type=="function"&&s.__d!==void 0?f=s.__d:g&&(f=g.nextSibling),s.__d=void 0,s.__u&=-196609);n.__d=f,n.__e=k}function Dn(t,e,n){var _,o,i,c,l,f=e.length,u=n.length,h=u,r=0;for(t.__k=[],_=0;_<f;_++)(o=e[_])!=null&&typeof o!="boolean"&&typeof o!="function"?(c=_+r,(o=t.__k[_]=typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?A(null,o,null,null,null):G(o)?A(j,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?A(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=t,o.__b=t.__b+1,i=null,(l=o.__i=Un(o,n,c,h))!==-1&&(h--,(i=n[l])&&(i.__u|=131072)),i==null||i.__v===null?(l==-1&&r--,typeof o.type!="function"&&(o.__u|=65536)):l!==c&&(l==c-1?r--:l==c+1?r++:(l>c?r--:r++,o.__u|=65536))):o=t.__k[_]=null;if(h)for(_=0;_<u;_++)(i=n[_])!=null&&!(131072&i.__u)&&(i.__e==t.__d&&(t.__d=D(i)),pn(i,i))}function an(t,e,n){var _,o;if(typeof t.type=="function"){for(_=t.__k,o=0;_&&o<_.length;o++)_[o]&&(_[o].__=t,e=an(_[o],e,n));return e}t.__e!=e&&(e&&t.type&&!n.contains(e)&&(e=D(t)),n.insertBefore(t.__e,e||null),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType===8);return e}function fn(t,e){return e=e||[],t==null||typeof t=="boolean"||(G(t)?t.some(function(n){fn(n,e)}):e.push(t)),e}function Un(t,e,n,_){var o=t.key,i=t.type,c=n-1,l=n+1,f=e[n];if(f===null||f&&o==f.key&&i===f.type&&!(131072&f.__u))return n;if(_>(f!=null&&!(131072&f.__u)?1:0))for(;c>=0||l<e.length;){if(c>=0){if((f=e[c])&&!(131072&f.__u)&&o==f.key&&i===f.type)return c;c--}if(l<e.length){if((f=e[l])&&!(131072&f.__u)&&o==f.key&&i===f.type)return l;l++}}return-1}function Oe(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||Nn.test(e)?n:n+"px"}function I(t,e,n,_,o){var i;t:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof _=="string"&&(t.style.cssText=_=""),_)for(e in _)n&&e in n||Oe(t.style,e,"");if(n)for(e in n)_&&n[e]===_[e]||Oe(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")i=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in t||e==="onFocusOut"||e==="onFocusIn"?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?_?n.u=_.u:(n.u=Yt,t.addEventListener(e,i?Gt:Kt,i)):t.removeEventListener(e,i?Gt:Kt,i);else{if(o=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in t)try{t[e]=n??"";break t}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&n==1?"":n))}}function je(t){return function(e){if(this.l){var n=this.l[e.type+t];if(e.t==null)e.t=Yt++;else if(e.t<n.u)return;return n(m.event?m.event(e):e)}}}function Zt(t,e,n,_,o,i,c,l,f,u){var h,r,a,s,g,k,b,p,v,C,x,E,P,L,H,q,w=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(f=!!(32&n.__u),i=[l=e.__e=n.__e]),(h=m.__b)&&h(e);t:if(typeof w=="function")try{if(p=e.props,v="prototype"in w&&w.prototype.render,C=(h=w.contextType)&&_[h.__c],x=h?C?C.props.value:h.__:_,n.__c?b=(r=e.__c=n.__c).__=r.__E:(v?e.__c=r=new w(p,x):(e.__c=r=new M(p,x),r.constructor=w,r.render=Ln),C&&C.sub(r),r.props=p,r.state||(r.state={}),r.context=x,r.__n=_,a=r.__d=!0,r.__h=[],r._sb=[]),v&&r.__s==null&&(r.__s=r.state),v&&w.getDerivedStateFromProps!=null&&(r.__s==r.state&&(r.__s=$({},r.__s)),$(r.__s,w.getDerivedStateFromProps(p,r.__s))),s=r.props,g=r.state,r.__v=e,a)v&&w.getDerivedStateFromProps==null&&r.componentWillMount!=null&&r.componentWillMount(),v&&r.componentDidMount!=null&&r.__h.push(r.componentDidMount);else{if(v&&w.getDerivedStateFromProps==null&&p!==s&&r.componentWillReceiveProps!=null&&r.componentWillReceiveProps(p,x),!r.__e&&(r.shouldComponentUpdate!=null&&r.shouldComponentUpdate(p,r.__s,x)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(r.props=p,r.state=r.__s,r.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.some(function(T){T&&(T.__=e)}),E=0;E<r._sb.length;E++)r.__h.push(r._sb[E]);r._sb=[],r.__h.length&&c.push(r);break t}r.componentWillUpdate!=null&&r.componentWillUpdate(p,r.__s,x),v&&r.componentDidUpdate!=null&&r.__h.push(function(){r.componentDidUpdate(s,g,k)})}if(r.context=x,r.props=p,r.__P=t,r.__e=!1,P=m.__r,L=0,v){for(r.state=r.__s,r.__d=!1,P&&P(e),h=r.render(r.props,r.state,r.context),H=0;H<r._sb.length;H++)r.__h.push(r._sb[H]);r._sb=[]}else do r.__d=!1,P&&P(e),h=r.render(r.props,r.state,r.context),r.state=r.__s;while(r.__d&&++L<25);r.state=r.__s,r.getChildContext!=null&&(_=$($({},_),r.getChildContext())),v&&!a&&r.getSnapshotBeforeUpdate!=null&&(k=r.getSnapshotBeforeUpdate(s,g)),un(t,G(q=h!=null&&h.type===j&&h.key==null?h.props.children:h)?q:[q],e,n,_,o,i,c,l,f,u),r.base=e.__e,e.__u&=-161,r.__h.length&&c.push(r),b&&(r.__E=r.__=null)}catch(T){if(e.__v=null,f||i!=null){for(e.__u|=f?160:32;l&&l.nodeType===8&&l.nextSibling;)l=l.nextSibling;i[i.indexOf(l)]=null,e.__e=l}else e.__e=n.__e,e.__k=n.__k;m.__e(T,e,n)}else i==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=Fn(n.__e,e,n,_,o,i,c,f,u);(h=m.diffed)&&h(e)}function hn(t,e,n){e.__d=void 0;for(var _=0;_<n.length;_++)te(n[_],n[++_],n[++_]);m.__c&&m.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){m.__e(i,o.__v)}})}function Fn(t,e,n,_,o,i,c,l,f){var u,h,r,a,s,g,k,b=n.props,p=e.props,v=e.type;if(v==="svg"?o="http://www.w3.org/2000/svg":v==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(u=0;u<i.length;u++)if((s=i[u])&&"setAttribute"in s==!!v&&(v?s.localName===v:s.nodeType===3)){t=s,i[u]=null;break}}if(t==null){if(v===null)return document.createTextNode(p);t=document.createElementNS(o,v,p.is&&p),l&&(m.__m&&m.__m(e,i),l=!1),i=null}if(v===null)b===p||l&&t.data===p||(t.data=p);else{if(i=i&&O.call(t.childNodes),b=n.props||W,!l&&i!=null)for(b={},u=0;u<t.attributes.length;u++)b[(s=t.attributes[u]).name]=s.value;for(u in b)if(s=b[u],u!="children"){if(u=="dangerouslySetInnerHTML")r=s;else if(!(u in p)){if(u=="value"&&"defaultValue"in p||u=="checked"&&"defaultChecked"in p)continue;I(t,u,null,s,o)}}for(u in p)s=p[u],u=="children"?a=s:u=="dangerouslySetInnerHTML"?h=s:u=="value"?g=s:u=="checked"?k=s:l&&typeof s!="function"||b[u]===s||I(t,u,s,b[u],o);if(h)l||r&&(h.__html===r.__html||h.__html===t.innerHTML)||(t.innerHTML=h.__html),e.__k=[];else if(r&&(t.innerHTML=""),un(t,G(a)?a:[a],e,n,_,v==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,c,i?i[0]:n.__k&&D(n,0),l,f),i!=null)for(u=i.length;u--;)cn(i[u]);l||(u="value",v==="progress"&&g==null?t.removeAttribute("value"):g!==void 0&&(g!==t[u]||v==="progress"&&!g||v==="option"&&g!==b[u])&&I(t,u,g,b[u],o),u="checked",k!==void 0&&k!==t[u]&&I(t,u,k,b[u],o))}return t}function te(t,e,n){try{if(typeof t=="function"){var _=typeof t.__u=="function";_&&t.__u(),_&&e==null||(t.__u=t(e))}else t.current=e}catch(o){m.__e(o,n)}}function pn(t,e,n){var _,o;if(m.unmount&&m.unmount(t),(_=t.ref)&&(_.current&&_.current!==t.__e||te(_,null,e)),(_=t.__c)!=null){if(_.componentWillUnmount)try{_.componentWillUnmount()}catch(i){m.__e(i,e)}_.base=_.__P=null}if(_=t.__k)for(o=0;o<_.length;o++)_[o]&&pn(_[o],e,n||typeof t.type!="function");n||cn(t.__e),t.__c=t.__=t.__e=t.__d=void 0}function Ln(t,e,n){return this.constructor(t,n)}function dn(t,e,n){var _,o,i,c;m.__&&m.__(t,e),o=(_=typeof n=="function")?null:n&&n.__k||e.__k,i=[],c=[],Zt(e,t=(!_&&n||e).__k=Jt(j,null,[t]),o||W,W,e.namespaceURI,!_&&n?[n]:o?null:e.firstChild?O.call(e.childNodes):null,i,!_&&n?n:o?o.__e:e.firstChild,_,c),hn(i,t,c)}function vn(t,e){dn(t,e,vn)}function An(t,e,n){var _,o,i,c,l=$({},t.props);for(i in t.type&&t.type.defaultProps&&(c=t.type.defaultProps),e)i=="key"?_=e[i]:i=="ref"?o=e[i]:l[i]=e[i]===void 0&&c!==void 0?c[i]:e[i];return arguments.length>2&&(l.children=arguments.length>3?O.call(arguments,2):n),A(t.type,l,_||t.key,o||t.ref,null)}function Mn(t,e){var n={__c:e="__cC"+rn++,__:t,Consumer:function(_,o){return _.children(o)},Provider:function(_){var o,i;return this.getChildContext||(o=[],(i={})[e]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(c){this.props.value!==c.value&&o.some(function(l){l.__e=!0,Qt(l)})},this.sub=function(c){o.push(c);var l=c.componentWillUnmount;c.componentWillUnmount=function(){o&&o.splice(o.indexOf(c),1),l&&l.call(c)}}),_.children}};return n.Provider.__=n.Consumer.contextType=n}O=sn.slice,m={__e:function(t,e,n,_){for(var o,i,c;e=e.__;)if((o=e.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(t)),c=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,_||{}),c=o.__d),c)return o.__E=o}catch(l){t=l}throw t}},nn=0,_n=function(t){return t!=null&&t.constructor==null},M.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=$({},this.state),typeof t=="function"&&(t=t($({},n),this.props)),t&&$(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),Qt(this))},M.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Qt(this))},M.prototype.render=j,B=[],on=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Vt=function(t,e){return t.__v.__b-e.__v.__b},K.__r=0,Yt=0,Kt=je(!1),Gt=je(!0),rn=0;const Wn=Object.freeze(Object.defineProperty({__proto__:null,Component:M,Fragment:j,cloneElement:An,createContext:Mn,createElement:Jt,createRef:qn,h:Jt,hydrate:vn,get isValidElement(){return _n},get options(){return m},render:dn,toChildArray:fn},Symbol.toStringTag,{value:"Module"})),On=S.getAugmentedNamespace(Wn);var z,d,Rt,Ie,U=0,mn=[],y=m,Re=y.__b,Ve=y.__r,Ke=y.diffed,Ge=y.__c,Je=y.unmount,Qe=y.__;function N(t,e){y.__h&&y.__h(d,t,U||e),U=0;var n=d.__H||(d.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function yn(t){return U=1,gn(kn,t)}function gn(t,e,n){var _=N(z++,2);if(_.t=t,!_.__c&&(_.__=[n?n(e):kn(void 0,e),function(l){var f=_.__N?_.__N[0]:_.__[0],u=_.t(f,l);f!==u&&(_.__N=[u,_.__[1]],_.__c.setState({}))}],_.__c=d,!d.u)){var o=function(l,f,u){if(!_.__c.__H)return!0;var h=_.__c.__H.__.filter(function(a){return!!a.__c});if(h.every(function(a){return!a.__N}))return!i||i.call(this,l,f,u);var r=!1;return h.forEach(function(a){if(a.__N){var s=a.__[0];a.__=a.__N,a.__N=void 0,s!==a.__[0]&&(r=!0)}}),!(!r&&_.__c.props===l)&&(!i||i.call(this,l,f,u))};d.u=!0;var i=d.shouldComponentUpdate,c=d.componentWillUpdate;d.componentWillUpdate=function(l,f,u){if(this.__e){var h=i;i=void 0,o(l,f,u),i=h}c&&c.call(this,l,f,u)},d.shouldComponentUpdate=o}return _.__N||_.__}function jn(t,e){var n=N(z++,3);!y.__s&&ne(n.__H,e)&&(n.__=t,n.i=e,d.__H.__h.push(n))}function bn(t,e){var n=N(z++,4);!y.__s&&ne(n.__H,e)&&(n.__=t,n.i=e,d.__h.push(n))}function In(t){return U=5,ee(function(){return{current:t}},[])}function Rn(t,e,n){U=6,bn(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},n==null?n:n.concat(t))}function ee(t,e){var n=N(z++,7);return ne(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function Vn(t,e){return U=8,ee(function(){return t},e)}function Kn(t){var e=d.context[t.__c],n=N(z++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(d)),e.props.value):t.__}function Gn(t,e){y.useDebugValue&&y.useDebugValue(e?e(t):t)}function Jn(t){var e=N(z++,10),n=yn();return e.__=t,d.componentDidCatch||(d.componentDidCatch=function(_,o){e.__&&e.__(_,o),n[1](_)}),[n[0],function(){n[1](void 0)}]}function Qn(){var t=N(z++,11);if(!t.__){for(var e=d.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function Xn(){for(var t;t=mn.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(R),t.__H.__h.forEach(Xt),t.__H.__h=[]}catch(e){t.__H.__h=[],y.__e(e,t.__v)}}y.__b=function(t){d=null,Re&&Re(t)},y.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),Qe&&Qe(t,e)},y.__r=function(t){Ve&&Ve(t),z=0;var e=(d=t.__c).__H;e&&(Rt===d?(e.__h=[],d.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(e.__h.forEach(R),e.__h.forEach(Xt),e.__h=[],z=0)),Rt=d},y.diffed=function(t){Ke&&Ke(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(mn.push(e)!==1&&Ie===y.requestAnimationFrame||((Ie=y.requestAnimationFrame)||Yn)(Xn)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),Rt=d=null},y.__c=function(t,e){e.some(function(n){try{n.__h.forEach(R),n.__h=n.__h.filter(function(_){return!_.__||Xt(_)})}catch(_){e.some(function(o){o.__h&&(o.__h=[])}),e=[],y.__e(_,n.__v)}}),Ge&&Ge(t,e)},y.unmount=function(t){Je&&Je(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(_){try{R(_)}catch(o){e=o}}),n.__H=void 0,e&&y.__e(e,n.__v))};var Xe=typeof requestAnimationFrame=="function";function Yn(t){var e,n=function(){clearTimeout(_),Xe&&cancelAnimationFrame(e),setTimeout(t)},_=setTimeout(n,100);Xe&&(e=requestAnimationFrame(n))}function R(t){var e=d,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),d=e}function Xt(t){var e=d;t.__c=t.__(),d=e}function ne(t,e){return!t||t.length!==e.length||e.some(function(n,_){return n!==t[_]})}function kn(t,e){return typeof e=="function"?e(t):e}const Zn=Object.freeze(Object.defineProperty({__proto__:null,useCallback:Vn,useContext:Kn,useDebugValue:Gn,useEffect:jn,useErrorBoundary:Jn,useId:Qn,useImperativeHandle:Rn,useLayoutEffect:bn,useMemo:ee,useReducer:gn,useRef:In,useState:yn},Symbol.toStringTag,{value:"Module"})),t_=S.getAugmentedNamespace(Zn);exports.js=Hn;exports.require$$0=Bn;exports.require$$1=On;exports.require$$2=t_;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as f, s as rn, p as L, q as sn, bc as an } from "./W3MFrameProviderSingleton-
|
|
2
|
-
import { j as on, r as _t, a as Et, b as cn } from "./hooks.module-
|
|
1
|
+
import { B as f, s as rn, p as L, q as sn, bc as an } from "./W3MFrameProviderSingleton-CTz2n0lO.js";
|
|
2
|
+
import { j as on, r as _t, a as Et, b as cn } from "./hooks.module-DqUWzNtD.js";
|
|
3
3
|
var St = {}, ne = {}, be = {};
|
|
4
4
|
Object.defineProperty(be, "__esModule", { value: !0 });
|
|
5
5
|
be.walletLogo = void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as a } from "./W3MFrameProviderSingleton-
|
|
2
|
-
import { Q as e, _ as n, Z as L, a8 as o, aE as W, a9 as l, aa as r, aT as M, aY as Z, aZ as V, ab as d, $ as p, ad as H, ac as c, ae as m, aW as _, aX as k, af as h, ag as g, ah as I, ai as b, aj as B, ak as T, al as v, b7 as w, b8 as S, a0 as f, am as x, b3 as A, an as N, a1 as U, b0 as D, ao as E, ap as P, aq as G, ar as O, aO as Q, b2 as y, b4 as z, aP as F, a$ as X, as as $, aQ as j, b5 as q, a_ as J, av as K, aR as R, a2 as Y, a3 as a1, a4 as i1, ax as s1, aw as C1, ay as u1, az as t1, aN as e1, aA as n1, b1 as L1, aU as o1, aV as W1, aS as l1, aB as r1, aC as M1, b6 as Z1, b9 as V1, a5 as d1, aD as p1, aF as H1, aH as c1, a6 as m1, aG as _1, aJ as k1, aI as h1, at as g1, au as I1, aK as b1, a7 as B1, aL as T1, aM as v1, y as w1, T as S1, U as f1, X as x1 } from "./W3MFrameProviderSingleton-
|
|
1
|
+
import { L as a } from "./W3MFrameProviderSingleton-CTz2n0lO.js";
|
|
2
|
+
import { Q as e, _ as n, Z as L, a8 as o, aE as W, a9 as l, aa as r, aT as M, aY as Z, aZ as V, ab as d, $ as p, ad as H, ac as c, ae as m, aW as _, aX as k, af as h, ag as g, ah as I, ai as b, aj as B, ak as T, al as v, b7 as w, b8 as S, a0 as f, am as x, b3 as A, an as N, a1 as U, b0 as D, ao as E, ap as P, aq as G, ar as O, aO as Q, b2 as y, b4 as z, aP as F, a$ as X, as as $, aQ as j, b5 as q, a_ as J, av as K, aR as R, a2 as Y, a3 as a1, a4 as i1, ax as s1, aw as C1, ay as u1, az as t1, aN as e1, aA as n1, b1 as L1, aU as o1, aV as W1, aS as l1, aB as r1, aC as M1, b6 as Z1, b9 as V1, a5 as d1, aD as p1, aF as H1, aH as c1, a6 as m1, aG as _1, aJ as k1, aI as h1, at as g1, au as I1, aK as b1, a7 as B1, aL as T1, aM as v1, y as w1, T as S1, U as f1, X as x1 } from "./W3MFrameProviderSingleton-CTz2n0lO.js";
|
|
3
3
|
const s = a`<svg class="input_mask" width="328" height="100" viewBox="0 0 328 100" fill="none">
|
|
4
4
|
<mask id="path-1-inside-1_18299_4189">
|
|
5
5
|
<path
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as I, bd as Rr, B, s as Ba, be as Bi, bf as Di, bg as Qe, q as Da, bc as Ha } from "./W3MFrameProviderSingleton-
|
|
2
|
-
import { a as ce, b as Ir, r as Dt, j as Ua } from "./hooks.module-
|
|
1
|
+
import { p as I, bd as Rr, B, s as Ba, be as Bi, bf as Di, bg as Qe, q as Da, bc as Ha } from "./W3MFrameProviderSingleton-CTz2n0lO.js";
|
|
2
|
+
import { a as ce, b as Ir, r as Dt, j as Ua } from "./hooks.module-DqUWzNtD.js";
|
|
3
3
|
var Hi = {}, Ft = {}, Ar = {};
|
|
4
4
|
Object.defineProperty(Ar, "__esModule", { value: !0 });
|
|
5
5
|
Ar.walletLogo = void 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as u, v as h, c0 as R } from "./W3MFrameProviderSingleton-
|
|
1
|
+
import { t as u, v as h, c0 as R } from "./W3MFrameProviderSingleton-CTz2n0lO.js";
|
|
2
2
|
const n = u({ history: ["ConnectWallet"], view: "ConnectWallet", data: void 0 }), x = { state: n, subscribe(e) {
|
|
3
3
|
return h(n, () => e(n));
|
|
4
4
|
}, push(e, t) {
|
|
@@ -230,7 +230,7 @@ class se {
|
|
|
230
230
|
}
|
|
231
231
|
async initUi() {
|
|
232
232
|
if (typeof window < "u") {
|
|
233
|
-
await import("./index-
|
|
233
|
+
await import("./index-CmzUtRNr.js");
|
|
234
234
|
const t = document.createElement("wcm-modal");
|
|
235
235
|
document.body.insertAdjacentElement("beforeend", t), c.setIsUiLoaded(!0);
|
|
236
236
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const p=require("./W3MFrameProviderSingleton-
|
|
1
|
+
"use strict";const p=require("./W3MFrameProviderSingleton-DQTwz0Iu.cjs");function _(n,a){for(var i=0;i<a.length;i++){const e=a[i];if(typeof e!="string"&&!Array.isArray(e)){for(const s in e)if(s!=="default"&&!(s in n)){const o=Object.getOwnPropertyDescriptor(e,s);o&&Object.defineProperty(n,s,o.get?o:{enumerable:!0,get:()=>e[s]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var l={},g={},f={};Object.defineProperty(f,"__esModule",{value:!0});f.getLowerCase=void 0;function w(n){return n&&n.toLowerCase()}f.getLowerCase=w;Object.defineProperty(g,"__esModule",{value:!0});g.SafeAppProvider=void 0;const m=p.eventsExports,u=f;class k extends m.EventEmitter{constructor(a,i){super(),this.submittedTxs=new Map,this.safe=a,this.sdk=i}async connect(){this.emit("connect",{chainId:this.chainId})}async disconnect(){}get chainId(){return this.safe.chainId}async request(a){const{method:i,params:e=[]}=a;switch(i){case"eth_accounts":return[this.safe.safeAddress];case"net_version":case"eth_chainId":return`0x${this.chainId.toString(16)}`;case"personal_sign":{const[t,r]=e;if(this.safe.safeAddress.toLowerCase()!==r.toLowerCase())throw new Error("The address or message hash is invalid");const h=await this.sdk.txs.signMessage(t);return("signature"in h?h.signature:void 0)||"0x"}case"eth_sign":{const[t,r]=e;if(this.safe.safeAddress.toLowerCase()!==t.toLowerCase()||!r.startsWith("0x"))throw new Error("The address or message hash is invalid");const h=await this.sdk.txs.signMessage(r);return("signature"in h?h.signature:void 0)||"0x"}case"eth_signTypedData":case"eth_signTypedData_v4":{const[t,r]=e,h=typeof r=="string"?JSON.parse(r):r;if(this.safe.safeAddress.toLowerCase()!==t.toLowerCase())throw new Error("The address is invalid");const c=await this.sdk.txs.signTypedMessage(h);return("signature"in c?c.signature:void 0)||"0x"}case"eth_sendTransaction":const s={...e[0],value:e[0].value||"0",data:e[0].data||"0x"};typeof s.gas=="string"&&s.gas.startsWith("0x")&&(s.gas=parseInt(s.gas,16));const o=await this.sdk.txs.send({txs:[s],params:{safeTxGas:s.gas}});return this.submittedTxs.set(o.safeTxHash,{from:this.safe.safeAddress,hash:o.safeTxHash,gas:0,gasPrice:"0x00",nonce:0,input:s.data,value:s.value,to:s.to,blockHash:null,blockNumber:null,transactionIndex:null}),o.safeTxHash;case"eth_blockNumber":return(await this.sdk.eth.getBlockByNumber(["latest"])).number;case"eth_getBalance":return this.sdk.eth.getBalance([(0,u.getLowerCase)(e[0]),e[1]]);case"eth_getCode":return this.sdk.eth.getCode([(0,u.getLowerCase)(e[0]),e[1]]);case"eth_getTransactionCount":return this.sdk.eth.getTransactionCount([(0,u.getLowerCase)(e[0]),e[1]]);case"eth_getStorageAt":return this.sdk.eth.getStorageAt([(0,u.getLowerCase)(e[0]),e[1],e[2]]);case"eth_getBlockByNumber":return this.sdk.eth.getBlockByNumber([e[0],e[1]]);case"eth_getBlockByHash":return this.sdk.eth.getBlockByHash([e[0],e[1]]);case"eth_getTransactionByHash":let d=e[0];try{d=(await this.sdk.txs.getBySafeTxHash(d)).txHash||d}catch{}return this.submittedTxs.has(d)?this.submittedTxs.get(d):this.sdk.eth.getTransactionByHash([d]).then(t=>(t&&(t.hash=e[0]),t));case"eth_getTransactionReceipt":{let t=e[0];try{t=(await this.sdk.txs.getBySafeTxHash(t)).txHash||t}catch{}return this.sdk.eth.getTransactionReceipt([t]).then(r=>(r&&(r.transactionHash=e[0]),r))}case"eth_estimateGas":return this.sdk.eth.getEstimateGas(e[0]);case"eth_call":return this.sdk.eth.call([e[0],e[1]]);case"eth_getLogs":return this.sdk.eth.getPastLogs([e[0]]);case"eth_gasPrice":return this.sdk.eth.getGasPrice();case"wallet_getPermissions":return this.sdk.wallet.getPermissions();case"wallet_requestPermissions":return this.sdk.wallet.requestPermissions(e[0]);case"safe_setSettings":return this.sdk.eth.setSafeSettings([e[0]]);default:throw Error(`"${a.method}" not implemented`)}}send(a,i){a||i("Undefined request"),this.request(a).then(e=>i(null,{jsonrpc:"2.0",id:a.id,result:e})).catch(e=>i(e,null))}}g.SafeAppProvider=k;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.SafeAppProvider=void 0;var a=g;Object.defineProperty(n,"SafeAppProvider",{enumerable:!0,get:function(){return a.SafeAppProvider}})})(l);const y=_({__proto__:null},[l]);exports.index=y;
|